

/* 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;
}
#header {
background-size: auto 80%;
}
.mains {
height:80px;
}

#navigation,
#navigation2 {
height:80px;
background: url(http://cms.pm/uploads/prem01.seesites.biz_--_839997548.png) center no-repeat #fff;
}
.mains {
border-bottom: none;
}
#nav {
margin-top: 80px;
background: rgba(0, 0, 0, 0.8);
}

/* Basic Banner
-----------------------*/
.slider {
    padding-top: 80px;
}
.header_banner img {
    padding-top: 80px;
    width: 100%;
    height: auto;
}
.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;
}
.subfootert {
    background: none;
}
.subfooter_boxt {
width: 31.33%;
margin: 1%;
padding: 1%;
}
.subfooter_boxt:nth-child(1) {
    width: 100%;
    height: auto;
    background: #006642;
    padding: 20px 10px 10px;
}
.subfooter_box h5 a,
.subfooter_boxt h5 a {
font-size: 1.2em;
}
.subfooter_boxt:nth-child(1) h5 {
line-height: 30px;
}



/* custom home styling
----------------------------------------------*/
#home-wrap {
    display: block;
    position: relative;
    overflow: hidden;
}
#home-wrap div {
    width: 100%;
    padding: 0 32% 0 0;
}
#home-wrap div:first-child {
    width: 30%;
    position: absolute;
    right: 0;
}
#home-wrap div:last-child {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30%;
    max-height: 50%;
}
#home-wrap div div:first-child, #home-wrap div div:last-child {
    position: relative;
}
#home-wrap div img {
    max-width: 100%;
}



/* body
----------------------------------------------*/
#body_text {
width: 96%;
}
#body_text img {
max-width: 40%;
}


/* tablet site - responsive slideshow gallery fix
-----------------------------------------------*/
.ad-gallery .ad-image-wrapper {
    height: 61vw !important;
}
.ad-image {
    width: 100% !important;
    left: 0% !important;
}
#body_text .ad-gallery img {
    max-width: 100%;
}


.subfooter_box:nth-child(1),
.subfooter_box:nth-child(6) {
margin-left: 1%;
}

.subfooter_box:nth-child(1),
.subfooter_box:nth-child(2),
.subfooter_box:nth-child(3),
.subfooter_box:nth-child(4),
.subfooter_box:nth-child(6),
.subfooter_box:nth-child(7),
.subfooter_box:nth-child(8),
.subfooter_box:nth-child(9) {
height: 450px;
}
}