

/* 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;
}

#main {
  overflow: hidden;
}

/* header
-----------------------------------*/
#main #header {
  height: 123px;
  position: relative;
  background-color: rgba(50, 50, 50, 0.9);
  background-size: auto 50%;
}

#main #header.scroll-down {
  height: 123px;
  background-size: auto 50%;
}

#header h5 {
  height: auto;
  padding: 0 1% 0 10%;
  margin: 0;
  bottom: auto;
  left: 0;
  background: #fefefe;
  line-height: 30px;
  text-align: right;
}

#header h5,
#header h6 {
  width: 50%;
  font-size: 2.5vw;
  display: block;
}

/* navigation open / close
---------------------------------------*/
#header,
#navigation,
.slider,
#body,
.subfooter,
#footer {
  transform: translateX(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 .slider,
html.nav-open #main #body,
html.nav-open #main .subfooter,
html.nav-open #main #footer {
  transform: translateX(-200px);
}

#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: 80px;
  height: 80px;
  background: url(http://cms.pm/uploads/prem02-v2.seesite.biz_--_612353780.png) center no-repeat rgba(0, 0, 0, 0.9);
  background-size: 40%;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

#nav {
  width: 200px;
  margin: 0;
  background-color: #333;
  background-image: none;
  right: -210px;
  top: -20px;
  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: 100%;
  margin: 0;
  border: none;
}

#nav ul {
  width: 100%;
  padding: 5px;
  transform: translateX(0);
}

#nav a,
#nav .current a,
#nav li:hover>a {
  background: 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
-----------------------*/
.slider {}

#main .slide .slide-inner-text::before {
  width: 50px;
  height: 50px;
}

/* subfooter top
-----------------------------------*/
.subfooter_boxt {
  width: 100%;
  margin: 0;
}

.subfooter_boxt:nth-child(1) {
  padding-top: 60px;
}

.subfooter_boxt:nth-child(2) {
  padding-bottom: 60px;
}

.subfooter_boxt:nth-child(3) {
  width: 100%;
  padding: 30px 0;
}

.subfooter_boxt:nth-child(4) {
  background: none;
  padding: 7vw 0;
  padding-top: 80px;
}

#main .subfooter_boxt h5 a,
#main .subfooter_boxt h5 {
  font-size: 2.5vw;
}

#main .subfooter_boxt:nth-child(4) h5 {
  line-height: 4vw;
}

#main .subfooter_boxt:nth-child(4) h5 a {
  font-size: 3.5vw;
}

#main .subfooter_boxt:nth-child(4) h5::before,
#main .subfooter_boxt:nth-child(1) h5::before {
  top: -7vw;
}

#main .subfooter_boxt:nth-child(4) p {
  font-size: 2vw;
  line-height: 3vw;
}

.subfooter_boxt:nth-child(3) .button,
.subfooter_boxt:nth-child(4) .button {
  top: 0;
}

/* sidebar
-------------------------------------------------*/
#menu {
  width: 100%;
  padding: 2vw 4vw;
  display: block;
}

/* content
-------------------------------------------------*/
#body::before {
  height: 40px;
}

#body_text {
  padding: 2vw 4vw;
}

#main #body_text_inner {
  width: 100%;
}

#body_text::before {
  width: 250px;
  height: 250px;
  z-index: -1;
}

/* Gallery
-----------------------------------------------*/
.ad-gallery .ad-image-wrapper {
  height: 40vw;
}

/* products
---------------------------------------------*/
.products .button {
  font-size: 1.5vw;
}

/* testimonials
--------------------------------*/
.reviews {
  font-size: 1.5vw;
}

/* news
----------------------------------------*/
#feedback .button {
  font-size: 1.5vw;
}

/* subfooter bottom
-----------------------------------*/
.subfooter_box {
  width: 100%;
  margin: 0;
  font-size: 0;
}

.subfooter_box:nth-child(8),
.subfooter_box:nth-child(2) {
  padding: 15vw 0;
}

.subfooter_box:nth-child(3) {
  padding: 15vw 0 5vw;
}

.subfooter_box:nth-child(4),
.subfooter_box:nth-child(5),
.subfooter_box:nth-child(6),
.subfooter_box:nth-child(7) {
  width: 48%;
}

.subfooter_box:nth-child(6),
.subfooter_box:nth-child(4) {
  margin-left: 2%;
}

#main .subfooter_box h5 a,
#main .subfooter_box h5 {
  font-size: 2.5vw;
}

.subfooter_box:nth-child(2) h5::before,
.subfooter_box:nth-child(3) h5::before {
  top: -10vw;
}

.subfooter_box:nth-child(3) h5::after {
  top: calc(-10vw - -20px);
}

.subfooter_box:nth-child(3) p {
  font-size: 2.8vw;
}

.subfooter_box:nth-child(4) p,
.subfooter_box:nth-child(5) p,
.subfooter_box:nth-child(6) p,
.subfooter_box:nth-child(7) p {
  width: 80%;
  font-size: 1.8vw;
  line-height: 3vw;
}

.subfooter_box:nth-child(1) .button {
  top: 0;
}

/* footer
-----------------------------------*/
#main #footer_inner {
  padding-left: 40px;
  text-align: right;
}
}