/* Mobile Portrait View */
@media screen and (max-width:767px) {
*{box-sizing:border-box;}
.left, .right, .col-left, .col-right{ float:none;}
#serviceswrap{ margin-top:-20px;}
.shadowleft, .shadowright{ top:20px;}
#serviceswrap .container{ margin:0 20px; padding:20px;}
.headertop .right{ line-height:20px;}
.logo h1{ font-size:28px;}
.container { width:auto; padding:0 20px;}
.wrap_one{width:auto; text-align:center;}
.header { position:relative; background-color:#000;}
.logo{ float:none; text-align:center; margin:0 auto; padding:8px 15px; position:relative; width: auto; display:table;}

/*coloumn css*/
.welcomewrap h2{  display:block;}
.welcomebx{ width:100%;}
.fourboxservices{ width:100%; margin:0 0 25px 0; float:none;}
/*sidebar css*/
#sidebar{ width:100%; float:none;}

/* --------- Pages ------- */
.content-area{ width:auto; margin:0; padding:50px 20px;}
.site-main{ width:auto; margin:0 0 25px; padding:0; float:none;}
h2.headingtitle{ font-size:22px; line-height:26px;}
.fourboxservices .thumbbx{ height:auto;}
/*slider css*/
#slider{ margin:0;}
.nivo-directionNav a{ top:35% !important;}
.nivo-controlNav{ display:none !important;}
.nivo-caption{ width:80%; left:10%; bottom:15%; }
.slide_info h2{ font-size:18px !important; line-height:20px; text-shadow:1px 0 0 #333; margin-bottom:5px;}
.slide_info p{ padding:5px 0 !important;  font-size:14px !important; line-height:16px; }


/*footer css */
.copyrightwrap{ text-align:center;}
.foot-4-cols{ width:100% !important; display:block; float:none; margin-right:0; margin-bottom:15%;}
/*custom css*/
h2.section_title{ text-align:center;}
/*front blog post*/
.BlogPosts{ float:none; width:auto; margin:0 0 10% 0;}
.wpcf7 input[type="text"], .wpcf7 input[type="tel"], .wpcf7 input[type="email"], .wpcf7 textarea{ width:100%;}
}

/* Mobile Landscape View */
@media screen and (min-width: 481px) and (max-width: 767px){
.container, .content-area{ width:440px; margin:0 auto;}
#serviceswrap .container{ margin:0 auto;}
.nivo-caption, .nivo-controlNav{ display:block !important;}
.nivo-caption{ width:80%; left:10%; bottom:30%; }
.slide_info h2{ font-size:18px !important; line-height:24px; text-shadow:1px 0 0 #333; margin-bottom:15px;}
.slide_info h2 span{ font-size:30px !important;}
.slide_info p{ padding:5px 0 !important;  font-size:14px !important; }
.headertop .left{ font-size:16px;}

}

/* Tablet View */
@media screen and (max-width:980px) and (min-width:768px) { 
.header{ position:relative; background-color:#000;}
.logo{ float:none; text-align:center; margin:0 auto; padding:8px 15px; position:relative; width: auto; display:table;}
}

/* Tablet View */
@media screen and (max-width:1169px) and (min-width:768px) { 
*{box-sizing:border-box;}
.social-icons a{ box-sizing:content-box; margin-bottom:5px; }
.container { width:auto; padding:0 20px;}
#serviceswrap{ margin-top:-20px;}
#serviceswrap .container{ margin:0 20px; padding:20px;}
.shadowleft, .shadowright{ top:20px;}

/*slider css*/
.nivo-caption{ width:70%; left:15%;}
.slide_info h2{ font-size:24px !important; line-height:30px; }
.content-area{ width:auto; margin:0; padding:50px 20px;}
#sidebar{ width:30%;}
.site-main{ width:65%;}
.foot-4-cols h5{ font-size:16px;}
.welcomewrap img{ width:50%;}
/*custom  css*/
.services-wrap .one_third{ float:left; width:30.5%; margin:0 3.5% 0 0;}
.services-wrap .one_third h4{ font-size:28px;}

}

@media screen and (max-width:1169px) and (min-width:981px) { 
html{overflow-x:hidden; }
}

@media screen and (max-width: 980px){
.toggleMenu{display: block;}
.headnav{float:none; margin:0; position:relative; overflow-x:hidden; background-color:#fff; border-radius:0; top:0; border-bottom:none; }
.headnav ul{color:#000; width:100% !important; float:none !important; margin:0; padding:0;}
.headnav ul li{border-top:1px #cccccc solid; display:block; float:none; text-align:left; border-bottom:none !important}
.headnav ul li a{padding:5px 10px !important; display:block; color:#000; border:none;}
.headnav ul li a:hover, .headnav ul li.current_page_item a{color:#e86a35;  border:none;}
.headnav ul li ul, .headnav ul li ul ul{ display:block !important;}
.headnav ul li ul li a:before{content:"\00BB \00a0";}
.headnav ul li ul li a{padding-left:20px !important; }
.headnav ul li ul li a{ border:none;}
.headnav ul li ul li ul li a{padding-left:30px !important;}
.headnav ul li ul li ul li ul li a{padding-left:40px !important;}
.headnav ul li:hover > ul{ background:none !important; box-shadow:none;}
.headnav ul li:hover > ul{ background: transparent !important; width:auto !important; display:block; position: relative !important; left:0; right:0; top:0; padding:0;}
.headnav ul li:hover ul li ul, .headnav ul li:hover ul li:hover > ul, .headnav ul li:hover ul li:hover > ul li ul{  background: transparent !important; display:block; position:relative !important;  right:0; left:0; top:0;}
.headnav ul li:hover ul li:hover ul, .headnav ul li:hover ul li:hover ul li:hover ul{ left:0 !important;}
}
@media screen and (max-width:767px) {
#slidermain{ height:auto; min-height:180px;}
}
@media screen and (min-width:300px) and (max-width: 480px){
#slidermain{ height:auto; min-height:110px;}
}
@media screen and (max-width:1099px) and (min-width:768px) { 
#slidermain{ height:auto; min-height:280px;}
}
