

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

.seo-pin {
    display: none;
}
iframe {
    width: 47%;
    margin: 0 0 1% 3%;
    height: 30vh;
}
.top-badge {
    bottom: 0;
    top: unset;
    right: unset;
    left: 0;
}


/* header
-------------------------*/
#header {
    margin-top: 0;
    background-color: rgba(255, 255, 255, 0.6);
    background-size: auto 80%;
}
#header .new-logo {
    float: left !important;
    height: 60px;
    margin: 10px 0 0 17px;
}
#header h5 {
    width: auto;
    height: auto;
    padding: 5px 0px 5px 60px;
    margin: 23px 100px 0 0;
    position: relative;
    bottom: inherit;
    left: inherit;
    background: url(https://cms.pm/uploads/files/zincroofingsurrey-prem.seesite.biz_--_510866019.png) left no-repeat;
    background-size: auto 100%;
    background-position: 5% center;
    z-index: 999;
    line-height: inherit;
    font-size: 26px;
    text-align: right;
}
.social_media {
    display: none;
}



/* navigation
---------------------------*/
#navigation, #navigation2 {
    width: 80px;
    height: 80px;
    margin: 0;
    padding: 0;
    background: url(https://cms.pm/uploads/files/zincroofingsurrey-prem.seesite.biz_--_143414455.png) center no-repeat;
    background-color: rgba(0, 0, 0, 0);
    background-size: auto 50%;
    position: absolute !important;
}
#nav {
padding: 0 !important;
}



/* slider
---------------------------*/
.slide .slide-outer-text {
    top: 30% !important;
    width: 70% !important;
}
.active .slide-outer-text {
    top: 30% !important;
}
.slide .slide-inner-text h1 {
    font-size: 30px !important;
}
.slide-text {
    font-size: 25px;
}

/* local search pages - tablet
------------------------------------------------*/
@media only screen and (max-width : 768px) {
#areasmap {
    display: block;
}
#areas, #map {
    float: none;
    width: 96%;
    margin: 0 2% 5%;
    padding: 1% 3%;
}
#map {
    padding-bottom: 70%;
}
}

/* subfooter top
----------------------------*/
.subfooter_boxt {
height: auto;
}
.subfooter_boxt:nth-child(2),
.subfooter_boxt:nth-child(3) {
    width: 42%;
    padding: 4%;
    margin: 0;
    height: 400px;
}
#carousel {
display:none;
}
.subfooter_boxt:nth-child(4),
.subfooter_boxt:nth-child(5),
.subfooter_boxt:nth-child(6),
.subfooter_boxt:nth-child(7) {
    width: 94%;
    padding: 4%;
    margin: 0;
    height: 100%;
}
.subfooter_boxt:nth-child(8),
.subfooter_boxt:nth-child(9),
.subfooter_boxt:nth-child(10),
.subfooter_boxt:nth-child(11),
.subfooter_boxt:nth-child(12) {
width: 42%;
padding: 4%;
margin: 0;
}
.subfooter_boxt:nth-child(8) img,
.subfooter_boxt:nth-child(9) img,
.subfooter_boxt:nth-child(10) img,
.subfooter_boxt:nth-child(11) img,
.subfooter_boxt:nth-child(12) img {
width: 100%;
height: auto;
}
.subfooter_boxt:nth-child(12) {
display: none;
}
.subfooter_boxt:nth-child(4) h5,
.subfooter_boxt:nth-child(5) h5,
.subfooter_boxt:nth-child(6) h5,
.subfooter_boxt:nth-child(7) h5 {
background-size: auto 50%;
}
.subfooter_box h5 a, .subfooter_boxt h5 a {
    font-size: 1em;
}


/* content
-----------------------------*/
#body {
    padding-top: 80px;
}
#body_text {
width: 92%;
padding: 4%;
}
.gal_thumbs {
    width: 100px;
    height: 100px;
    margin: 2px;
    border: 2px solid #516118;
}
.body-full-img, .body-img-left-sm {
    width: 35%;
}
#body_text #rainwater-systems .system img {
    order: 2;
    width: 300px;
    max-width: 100%;
}
#body_text #rainwater-systems .system .text {
    order: 1;
    width: 100%;
    margin: 15px 0;
}
/*FB Holder
------------------------------------*/
.fb-holder {
  width: 50%;
  margin: 0 0 30px 30px;
  float: right;
}

.fb-inner {
  position: relative;
  padding-bottom: 100%;
  height: 0px;
  overflow: hidden;
}

.fb-inner div {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}
/* subfooter bottom
------------------------------*/
body.home .subfooter_box:nth-child(1),
.subfooter_box:nth-child(2) {
width: 92%;
padding: 4%;
margin: 0;
}
.subfooter_box:nth-child(2) h5 {
    font-size: 5vw;
}
.subfooter_box:nth-child(3),
.subfooter_box:nth-child(4),
.subfooter_box:nth-child(5) {
width: 25.33%;
height: 260px;
padding: 4%;
margin: 0;
}
.subfooter_box:nth-child(6) {
width: 92%;
height: auto;
padding: 4%;
margin: 0;
}
.subfooter_box:nth-child(3) h5,
.subfooter_box:nth-child(4) h5,
.subfooter_box:nth-child(5) h5,
.subfooter_box:nth-child(3) h5 a,
.subfooter_box:nth-child(4) h5 a,
.subfooter_box:nth-child(5) h5 a {
font-size: 1.2em;
}
.subfooter_box:nth-child(2) img {
    width: 15%;
}
.subfooter_box .button {
width: auto;
max-width: auto;
padding: 10px 20px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}


/* footer
-------------------------------*/
#toTop {
bottom: 90px;
}





@media only screen and (max-width: 1024px) and (min-width: 481px) and (orientation: portrait) {

/* subfooter top
----------------------------*/
.subfooter_boxt:nth-child(1),
.subfooter_boxt:nth-child(2) {
    height: 500px;
}


/* subfooter bottom
------------------------------*/
.subfooter_box:nth-child(3),
.subfooter_box:nth-child(4),
.subfooter_box:nth-child(5) {
height: 330px;
}

}
}