

/* 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 {
height:80px;
}
#header h5 {
    background: url(http://cms.pm/uploads/files/dowlingcivilengineering-prem.seesite.biz_--_929551225.jpg) #5c5c5c;
}
#header h5 a {
font-size: 43px;
}
.subfeed h6 {
    font-size: 20px;
    color: #614237!important;
    margin-bottom: 19px;
}


/* navigation
---------------------------------*/
#nav {
background-color: rgba(255, 255, 255, 0.8);
}
#nav li {
display: block !important;
}
#nav a {
display: block !important;
}

#navigation, #navigation2{
    background: url(https://cms.pm/uploads/files/dowlingcivilengineering.com_--_113689521.png) no-repeat;
    background-size: auto 100%;
}

/*----------Body----------*/
#body h1{
    padding: 0.2% 2% 1% 7%;
    background-size: 6%;
    background-position-y: 23%;
}
#body h4 {
    font-size: 3.2vw;
}
#body_text {
    margin-top: 2%;
}
/* slider
------------------------------------*/
.slider {
height: 44vw;
}

/* subfooter top
---------------------------------*/
.subfooter_boxt:nth-child(1),
.subfooter_boxt:nth-child(2),
.subfooter_boxt:nth-child(3),
.subfooter_boxt:nth-child(4) {
    width:44%;
    min-height: 380px;
    margin: 1%;
}
.subfooter_boxt:nth-child(5) {
width: 82%;
padding:3% 9%;
margin: 0;
}
.subfooter_boxt:nth-child(6),
.subfooter_boxt:nth-child(7) {
    width:44%;
    min-height: 344px;
    margin: 1%;
}
@media screen and (max-width: 491px) and (min-width: 481px) {
.subfooter_boxt:nth-child(6), 
.subfooter_boxt:nth-child(7) {
width: 94%;
}
}
.gal_thumb {
    width: calc(33% - 6px);
    padding-bottom: 17%;
}


/* subfooter bottom
-----------------------------------*/
.subfooter_box {
margin: 1%!important;
    padding: 2.9%;
height: 518px;
}
.subfooter_box:nth-child(1) {
margin: 1%;
}
.subfooter_box:nth-child(3) {
clear:left;
}
.subfooter_box h5 a {
font-size: inherit;
}

/* footer
-------------------------------*/
#footer  {
margin-bottom: 80px;
}

#toTop {
bottom: 90px;
}

}

/* Tablet (landscape)
--------------------------------------------------
------------------------------------------------*/
@media only screen and (min-device-width : 481px) and (max-device-width : 1024px) and (orientation : landscape) {

#header {
height:80px;
background-size: auto 50% !important;
}

/* navigation
---------------------------------*/
#nav {
background-color: rgba(255, 255, 255, 0.8);
}
#nav li {
display: block !important;
}
#nav a {
display: block !important;
}

/* subfooter top
---------------------------------*/
.subfooter_boxt:nth-child(1),
.subfooter_boxt:nth-child(2),
.subfooter_boxt:nth-child(3),
.subfooter_boxt:nth-child(4) {
width:21%;
margin: 1%;
padding: 1%;
padding-bottom: 2.5vw;
}
.subfooter_boxt:nth-child(5) {
width: 82%;
padding:3% 9%;
margin: 0;
}
.subfooter_boxt:nth-child(6),
.subfooter_boxt:nth-child(7) {
width:46%;
margin: 1%;
padding: 1%;
}

/* subfooter bottom
-----------------------------------*/
.subfooter_box:nth-child(1) {
margin: 1%;
}
.subfooter_box:nth-child(3) {
clear:left;
}
.subfooter_box h5 a {
font-size: inherit;
}

/* footer
-------------------------------*/
#footer  {
margin-bottom: 80px;
}

#toTop {
bottom: 90px;
}
}