

/* 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;
}

#header {
background-size: auto 100%;
background-position: 8% center;
position: relative;
}
#main {
overflow: hidden;
}
.floatRight {
    float: right;
    width: 100%;
}

/* navigation open / close
---------------------------------------*/
#header,
#navigation,
.slider,
#body,
#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(-5vw);
-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 .slider,
html.nav-open #main .subfooter,
html.nav-open #main #footer {
transform: translateX(-200px);
}
html.nav-open #main #body {
transform: translateX(-200px) translateY(-5vw);
-webkit-transition: all 1s;
-moz-transition: all 1s;
-ms-transition: all 1s;
-o-transition: all 1s;
}
#main::before {
content: "";
width: 200px;
background: #333;
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(http://cms.pm/uploads/files/jkylecleaning-prem.seesite.biz_--_74661445.png) center no-repeat #fff;
background-size: 40%;
top: 50%;
right: 10px;
transform: translateY(-50%);
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
overflow: visible;
}
#nav {
width: 200px;
margin: 0;
padding: 0;
background-color: #333;
background-image: none;
right: -210px;
top: 0px;
display: block;
}
#nav li {
width: 100%;
display: block;
font-size: 1vw;
}
#nav li.navArrow > a {
padding-left: 30px;
padding-right: 30px;
}
#main #nav a {
width: 80%;
margin: 0;
color: #fff;
border: none;
font-size: 1.5vw;
line-height: 2vw;
}
#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);
}

/* subfooter top
--------------------------------------*/
.subfooter_boxt:nth-child(2),
.subfooter_boxt:nth-child(3),
.subfooter_boxt:nth-child(4),
.subfooter_boxt:nth-child(5),
.subfooter_boxt:nth-child(6),
.subfooter_boxt:nth-child(7) {
    height: auto;
    background: #000;
}

.subfooter_boxt:nth-child(2),
.subfooter_boxt:nth-child(3),
.subfooter_boxt:nth-child(4),
.subfooter_boxt:nth-child(5),
.subfooter_boxt:nth-child(6) {
    height: auto;
    background: #000;
    margin-bottom: 12px!important ;
}

.subfooter_boxt:nth-child(2) img,
.subfooter_boxt:nth-child(3) img,
.subfooter_boxt:nth-child(4) img,
.subfooter_boxt:nth-child(5) img,
.subfooter_boxt:nth-child(6) img,
.subfooter_boxt:nth-child(7) img {
    margin-top: 0;
}

.subfooter_boxt:nth-child(1) {
width: 90%;
padding:1% 5%;
padding-top: 20px;
padding-bottom: 30px;
margin-right:0;
}
.subfooter_boxt:nth-child(4),
.subfooter_boxt:nth-child(7) {
width: 22.666666666%;
padding:1% 5%;
padding-top: 20px;
padding-bottom: 30px;
margin: 0;
}
.subfooter_boxt:nth-child(2),
.subfooter_boxt:nth-child(3),
.subfooter_boxt:nth-child(5),
.subfooter_boxt:nth-child(6) {
width: 22.666666666%;
padding:1% 5%;
padding-top: 20px;
padding-bottom: 30px;
margin:0 1% 0% 0;
}

#home .slider, .slider { height: auto; }

/* subfooter bottom
--------------------------------------*/
.subfooter_boxt,
.subfooter_box {
background: #fff;
width: 22.666666666%;
padding:1% 5%;
padding-top: 20px;
padding-bottom: 30px;
margin:0;
text-align: center;
position: relative;
overflow: hidden;
z-index: 2;
left: 0;
opacity: 1;
}
.subfooter_boxt img,
.subfooter_box img {
height: 100%;
margin-top: 10px;
margin-bottom: 10px;
border: 1px solid #;
border: 0;
position: absolute;
top: 0;
left: 0;
z-index: 0;
}
.subfooter_boxt h5,
.subfooter_boxt p,
.subfooter_box h5,
.subfooter_box p {
position: relative;
z-index: 2;
}
.subfooter_box:nth-child(2),
.subfooter_box:nth-child(3),
.subfooter_box:nth-child(4),
.subfooter_box:nth-child(7) {
color: #fff;
font-size: 2vw;
line-height: 2.5vw;
margin:0;
padding:1% 5%;
}
.subfooter_box:nth-child(1),
.subfooter_box:nth-child(5),
.subfooter_box:nth-child(6),
.subfooter_box:nth-child(7) {
width: 90%;
padding:1% 5%;
padding-top: 20px;
padding-bottom: 30px;
margin:0;
}
.subfooter_boxt:nth-child(2) h5 a,
.subfooter_boxt:nth-child(3) h5 a,
.subfooter_boxt:nth-child(4) h5 a,
.subfooter_boxt:nth-child(5) h5 a,
.subfooter_boxt:nth-child(6) h5 a,
.subfooter_boxt:nth-child(7) h5 a {
font-size: 1.5vw;
border: solid 2px #FFF;
padding: 10px 5px;
background-color: rgba(255,255,255,.15);
}
.subfooter_box:nth-child(2) h5, .subfooter_box:nth-child(3) h5, .subfooter_box:nth-child(4) h5, .subfooter_box:nth-child(7) h5, .subfooter_box:nth-child(2) h5 a, .subfooter_box:nth-child(3) h5 a, .subfooter_box:nth-child(4) h5 a, .subfooter_box:nth-child(7) h5 a {
font-size: 3vw;
margin-top: 1vw;
}
.subfooter_box:nth-child(1),
.subfooter_box:nth-child(6) {
background: #ececec;
}
.subfooter_box:nth-child(2) {
width: 90%;
height: 175px;
padding-top: 5%;
padding-bottom: 5%;
}
.subfooter_box:nth-child(3),
.subfooter_box:nth-child(4) {
height: 220px;
width: 39%;
padding: 3% 5%;
}
.subfooter_box:nth-child(3) img,
.subfooter_box:nth-child(4) img {
margin-left: 12px;
}
.subfooter_box:nth-child(4) {
margin-left: 6px;
}
.subfooter_box:nth-child(2) img,
.subfooter_box:nth-child(3) img,
.subfooter_box:nth-child(4) img {
width: auto;
height: auto;
min-width: 100%;
min-height: 100%;
}
.subfooter_box:nth-child(7) {
background: none;
height: 500px;
margin-bottom: 75px;
}
.subfooter_box p {
margin-top: 0;
}

#footer {
height: 625px;
}




@media screen and (max-width: 1024px) and (min-width: 549px) {
#faceb {
float: right;
    text-align: center;
    margin: 0 0 5px 20px;
}
}

@media screen and (max-width: 548px) and (min-width: 320px) {
#faceb {
    float: none;
    text-align: center;
    margin: 0 0 0 10px;
}
}
}