

/* Tablet
--------------------------------------------------
------------------------------------------------*/
@media screen and (min-width : 481px) and (max-width : 1024px) {


body {
font-size: 1.2em;
line-height: 1.4em;
}
.subfooter_box h5,
.subfooter_boxt h5,
#body h1,
#body h4,
h1, h2, h3, h4, h5, h6 {
font-size: 1.8em;
line-height: 1.8em;
}
.subfooter_box h5 a,
.subfooter_boxt h5 a {
font-size: 1.8em;
}

.button {
width: auto;
font-size: 1.8em;
margin: 2% 0;
padding: 2%;
}

#menu {
display: none;
}

/* slider
--------------------------------*/
.header_banner img,
.nivoSlider,
#slider {
height: 400px;
}

/* navigation
--------------------------------*/
#navigation,
#navigation2 {
width: 100px;
height: 80px;
margin:0;
padding:0;
background: url(/uploads/prem01.seesites.biz_--_839997548.png) center no-repeat #fff;
background-size: 60%;
position: absolute;
top:0;
right: 0;
z-index: 9999;
}
#nav {
width: 300px;
display: none;
margin-top: 80px;
float: right;
position: relative;
z-index: 9999;
}
#nav li {
float: none;
margin: 0;
}
#nav a {
padding: 5% 15%;
font-size: 1.4em;
text-align: center;
}
#nav ul {
width: 295px;
position: static;
z-index: 9999;
}
.nav-open {
display: block !important;
}

/* header
--------------------------------*/
#header {
width: 100%;
height: 80px;
position: absolute;
padding: 0;
z-index: 9999;
background-size: 50% auto;
background-position: 4% center;
}
#header h5 {
width: 100%;
height: 60px;
padding: 10px 0;
margin: 0;
position: fixed;
bottom: 0;
left:0;
background: #eee;
z-index: 999;
line-height: 1em;
font-size: 2.8em;
text-align:center;
}
#header h6 {
display: none;
}
#header form {
display: none;
}

/* subfooter top - bottom
--------------------------------*/
.subfooter_box,
.subfooter_boxt {
width:42%;
margin: 2%;
padding: 2%;
line-height: 1.4em;
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
-ms-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
}

/* content
------------------------------*/
#body {
line-height: 1.4em;
}
#body_text {
width: 100%;
margin: 0;
}
#body_text_inner {
padding: 4%;
}

/* footer
-------------------------------*/
#footer {
font-size: 0.6em;
line-height: 1.2em;
background-image: none;
}
#footer_inner {
width: 100%;
margin: 0;
text-align: center;
}

#toTop,
.seo-pin {
display: none !important;
}
body {
font-size: 100%;
}
#main #body_text fieldset form .button, 
#main #body_text #feedback .button, 
#main #body_text .products .button, 
#menu_box .button, 
.subfooter_boxt .button, 
.subfooter_box .button {
font-size: 1.2em;
line-height: 1em;
padding: 1.8vw 2.3vw;
}
#body h1 {
font-size: 2em;
}
#body_text h2,
#body_text h3,
#body_text h4,
#body_text h5,
#body_text h6,
.subfooter_box h5,
.subfooter_box:first-child h5 {
font-size: 1.5em;
}
.subfooter_box h5 a, 
.subfooter_boxt h5 a {
font-size: 1em;
}
#main {
width: 100%;
overflow: hidden;
}

/* header
-----------------------------------*/
#main #header {
width: 100%;
margin: 2em 0 0;
background-size: auto 85%;
position: relative;
z-index: initial;
}
#header::before {
display: none;
}
#main #header h6,
#main #header h5 {
width: 100%;
height: 1.666em;
padding: 0;
display: block;
position: absolute;
top: 0;
left: 0;
background: #212121;
font-size: 1.2em;
line-height: 1.666em;
text-align: center;
transform: translateY(-1.666em);
visibility: visible;
background: #F5742A;
}
#main #header h6 {
left: 50%;
}
#header h5 a::before,
#header h6 a::before {
width: 1.2em;
height: 1.2em;
background-size: 70%;
top: 0.2em;
left: unset;
transform: translateX(-1.7em);
}
.social_media_header {
display: block;
position: absolute;
right: -200px;
width: 200px;
top: -10px;
left: auto;
text-align: center;
transform: translateY(-50%);
}
.social_media_inner_header img {
width: 30px;
}

/* navigation open / close
---------------------------------------*/
#header,
#navigation,
.header_banner,
.slider,
#body,
.subfooter,
#footer {
transform: translateX(0);
-webkit-transition: all 1s;
-moz-transition: all 1s;
-ms-transition: all 1s;
-o-transition: all 1s;
}
#body {
transform: translateX(0) translateY(0);
-webkit-transition: all 1s;
-moz-transition: all 1s;
-ms-transition: all 1s;
-o-transition: all 1s;
}
html.nav-open #main #header,
html.nav-open #main #navigation,
html.nav-open #main .header_banner,
html.nav-open #main .slider,
html.nav-open #main .subfooter,
html.nav-open #main #footer {
transform: translateX(-200px);
}
html.nav-open #main #body {
transform: translateX(-200px) translateY(0);
-webkit-transition: all 1s;
-moz-transition: all 1s;
-ms-transition: all 1s;
-o-transition: all 1s;
}
#main::before {
content: "";
width: 200px;
background: #1b1b1b;
position: absolute;
top: 0;
right: 0;
bottom: 0;
transform: translateX(200px);
-webkit-transition: all 1s;
-moz-transition: all 1s;
-ms-transition: all 1s;
-o-transition: all 1s;
}
html.nav-open #main::before {
transform: translateX(0);
}

/* navigation
----------------------------------*/
#navigation,
#navigation2 {
width: 60px;
height: 60px;
background: url(https://cms.pm/uploads/prem02-v2.seesite.biz_--_612353780.png) center no-repeat rgba(0, 0, 0, 0.9);
background-size: 50%;
top: 40px;
right: 10px;
overflow: visible;
cursor: pointer;
border-top: none;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
}
#nav {
width: 200px;
margin: 0;
padding: 0;
background-color: #1b1b1b;
background-image: none;
right: -210px;
top: 0px;
display: block;
}
#nav li {
width: 100%;
display: block;
padding: 0;
}
#nav li.navArrow > a {
padding-left: 30px;
padding-right: 30px;
}
#main #nav a {
width: 100%;
margin: 0;
color: #fff;
border: none;
text-shadow: none;
}
#nav ul {
width: 100%;
padding: 5px;
transform: translateX(0);
}
#main #nav ul a {
color: #333;
}
#nav a,
#nav .current a,
#nav li:hover > a {
background: none;
}
#nav .current a::before,
#nav li:hover > a::before,
#navigation2::before {
display: none;
}
#main #nav .current a,
#main #nav li:hover > a {
border: none;
}
.navArrow.white:after {
top: 22px;
}
#header.scroll-down #navigation2 {
right: 10px;
transform: translateY(20px);
}

/* Basic Banner
-----------------------*/
#main .slider {
width: 100%;
margin: 0;
}
#main .slider .slide img {
position: relative;
width: 150%;
left: 50%;
transform: translateX(-50%);
}
#main .slider, .header_banner img {
width: auto;
}
.header_banner img {
height: 300px !important;
}
#main .slide .slide-inner-text {
padding: 20px 10%;
}
#main .slide .slide-inner-text .slide-text {
font-size: 1em;
line-height: 1.2em;
}
#main .slide .slide-inner-text .slide-header h1 {
font-size: 2.5em;
}
#main .slide a .slide-inner-text .slide-text-button::before {
font-size: 1em;
line-height: 1em;
padding: 1.5vw 2vw;
}

.header_banner::after {
width: 75%;
}

/* sidebar
-------------------------------------------------*/
#menu {
display: none;
flex-direction: row;
flex-wrap: wrap;
padding: 40px;
width: calc(100% - 40px);
margin: 0 auto 20px;
}
#menu_box {
padding: 0;
width: 48%;
float: none;
height: auto;
margin: 0;
}
#menu_box:nth-child(odd) {
margin-right: 2%;
}
#menu_box:nth-child(even) {
margin-left: 2%;
}

/* Subfooter
-------------------------------------------------*/
.subfootert {
width: calc(100% - 40px);
margin: 0 auto;
background: transparent;
}
.subfooter_innert {
padding: 0;
}

.subfooter_boxt {
width: 50%;
margin: 10px 0;
border: 10px solid #fff;
}
.subfooter_boxt:nth-child(3) {
display: none;
}
.subfooter_boxt p {
margin: 15px 5px;
}
.subfooter_boxt .button {
position: relative;
bottom: auto;
}

/* content
-------------------------------------------------*/
#body {
width: 100%;
margin: 0;
padding: 0;
}
#homepage #body {
margin: 0;
}

#body_text {
padding: 0 40px 20px;
width: calc(100% - 40px);
margin: 20px auto;
}

#body_text_inner {
padding: 0;
}


/* Area Page
-----------------------------------------------*/
#areasmap {
display: flex;
flex-direction: column-reverse;
}
#map {
    height: 500px;
}
#areas, #map {
float: none;
width: 100%;
}


/* Gallery
----------------------------------------*/
.ad-gallery .ad-image-wrapper {
height: 40vw;
}

/* Testimonials
----------------------------------------*/
.reviews span {
line-height: 1.5em !important;
}

/* News
----------------------------------------*/
#main #body_text #feedback {
padding: 20px !important;
}

/* bottom subfooter
----------------------------------------*/
.subfooter_inner {
width: 100%;
padding: 0 40px 20px;
}
.subfooter_box {
width: 48%;
padding: 0;
margin: 1%;
}

.subfooter_box:nth-child(1) {
width: 100%;
}
.subfooter_box .gal_thumb {
width: calc(16.666% - 10px);
padding-bottom: calc(16.666% - 10px);
}

.address-inner {
    width: 100%;
}

#main > div.subfooter > div > div:nth-child(1) > iframe {
    height: 500px;
}

/* footer
----------------------------------------*/
#footer {
font-size: 0.8em;
line-height: 2em;
}
#footer_inner {
padding: 40px 20px;
text-align: center;
}

@media screen and (max-width: 570px) and (min-width: 481px) {
.subfooter_box {
    width: 100%;
}
}
}