

/* 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,
#navigation,
#navigation2 {
height:80px;
}
.mains {
border-bottom: none;
}
#nav {
margin-top: 80px;
background: rgba(0, 0, 0, 0.8);
}

#navigation, #navigation2 {
    background: url(https://cms.pm/uploads/prem01.seesites.biz_--_839997548.png) center no-repeat #fff;
}

.subfooter_box h5 a, .subfooter_boxt h5 a {
    font-size: 25px !important;
}

.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: 520px!important;
    text-align: center!important;
}

/* Basic Banner
-----------------------*/
.slider {
    padding-top: 80px;
}
.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;
}

.subfooter_boxt {
width: 46%;
padding: 0 1%;
margin: 0 1%;
padding-top: 20px;
padding-bottom: 40px;
}
.subfooter_boxt:nth-child(1) {
width:98%;
margin-left: 0;
margin-right: 0;
padding-left: 1%;
padding-right: 1%;
}
.subfooter_boxt:nth-child(2) {
margin-left: 1%;
}
.subfooter_box h5 a,
.subfooter_boxt h5 a {
font-size: 1.2em;
}
.subfooter_boxt:nth-child(1) h5 {
line-height: 30px;
}
#body_text {
width: 96%;
}

.subfooter_box:nth-child(1), .subfooter_box:nth-child(2), .subfooter_box:nth-child(3), .subfooter_box:nth-child(4) {
    height: 340px !important;
}

/* tablet site - responsive slideshow gallery fix
-----------------------------------------------*/
.ad-gallery .ad-image-wrapper {
    height: 61vw !important;
}
.ad-image {
    width: 100% !important;
    left: 0% !important;
}

.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: 550px;
}
}


/* Tablet (landscape)
--------------------------------------------------
------------------------------------------------*/
@media only screen and (min-device-width : 481px) and (max-device-width : 1024px) and (orientation : landscape) {

#header {
background-size: auto 80%;
}
.mains,
#navigation,
#navigation2 {
height:80px;
}
#nav {
margin-top: 80px;
background: rgba(0, 0, 0, 0.8);
}
.subfooter_boxt {
width: 20.5%;
padding: 0 1%;
margin: 0 1%;
padding-top: 20px;
padding-bottom: 40px;
}
.subfooter_boxt:nth-child(1) {
width:98%;
margin-left: 0;
margin-right: 0;
padding-left: 1%;
padding-right: 1%;
font-size: 20px !important;
}
.subfooter_boxt:nth-child(2) {
margin-left:2%;
}

#body_text {
width: 96%;
}

.subfooter_box:nth-child(1),
.subfooter_box:nth-child(6) {
margin-left: 1%;
}
/*.subfooter_box:nth-child(6),
.subfooter_box:nth-child(7),
.subfooter_box:nth-child(8),
.subfooter_box:nth-child(9) {
width: 21%;
padding: 1%;
margin: 1%;
}*/
.subfooter_box h5 a,
.subfooter_boxt h5 a {
font-size: 1.2em;
}
.subfooter_boxt:nth-child(1) h5 {
line-height: 30px;
}
}