/* Mobile Portrait View */
@media screen and (max-width:767px) {
*{box-sizing:border-box;}
.toggle a{margin-top:-30px;}
.left, .right, .copyright-txt, .design-by,.headertop .left, .headertop .right{ float:none; margin:0 auto; text-align:center;}
.center{width:auto;}
.container { width:auto; padding:0 20px;}
.footer{ padding-top:40px;  padding-bottom:30px;}
.wrap_one{width:auto; text-align:center;}
.header { width:100%; padding:0; height:150px;position: relative !important; top: 0;}
.header .container{height:54px;}
.logo{ float:none; text-align:center; margin:0 auto; padding:2px 15px; position:relative; width: auto; display:table;}
.logo h2{font-size:16px;}
.headertop{ text-align:center;}
.headertop .left{ font-size:13px;}
.headertop .left span{ padding-left:30px; margin-left:15px;}
/*coloumn css*/
.welcomewrap img{ margin: 0 0 15px; float:none; width:100%;}
/*sidebar css*/
#sidebar{ width:100%; float:none;}
.headertop .header-inner, .widget-left, .topright{ width:auto; padding:0; float:none;}
.topbar-container{ float:none;}
.widget-right{ width:280px; margin:0 auto; float:none; padding:15px 0; display:table; text-align:center;}
.widget-right ul li{ border:none;}
.welcomewrap{ width:auto;}
.header-social-icons a{ width:20px;}
.widget-column-2{ padding:0; border:0;}
.nivo-caption {width:80%;}
.nivoSlider img {position:absolute;top:0px; max-width: none; height: auto;}
	
.nivo-caption {
	position:absolute;
	left:0;	
	right:0;
	margin: 0 auto;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	color:#fff;
	z-index:8;	
	top:0;
	height:auto;		
}
.slide_info h2{font-size:20px;   }
.slide_more {    padding: 10px 40px;}
.nivo-controlNav {display:none;}

/* --------- Pages ------- */
.content-area{ width:auto; margin:0; padding:50px 20px;}
.site-main{ width:auto; margin:0; padding:0 0 20px; float:none;}
/*slider css*/
#slider{ top:0;     }
.nivo-directionNav a{ top:70% !important;}
.nivo-caption, .nivo-controlNav{}
/*footer css */
.copyright-wrapper{ text-align:center;}
.cols-3{ width:100% !important; display:block; 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%;}
.headertop .social-icons a{ display:inline-block;}
.threebox{ float:none; width:auto; margin:0 0 30px 0;}
.slider-wrapper{min-height:120px;}
.head-info-area .left .phntp{border-left:none; border-right:none; padding: 16px 5px;}
.head-info-area .left .emltp{border-right:none; padding: 16px 8px;}
.social-icons a{border:none !important;}
.squarebox{width:49%; min-height:150px;}
.blocksbox{width:92%;}
}
@media screen and (min-width: 300px) and (max-width: 480px){
.post-thumb{ width:100%; float:none;}
}

/* Mobile Landscape View */
@media screen and (min-width: 480px) and (max-width: 767px){
.container, .content-area{width:auto; margin:0 auto;}
.nivo-caption, .nivo-controlNav{ display:block !important;}
.slide_info h2{ font-size:12px !important; line-height:22px !important; text-shadow:1px 0 0 #333; margin-bottom:8px;}
.slide_info h2 span{ font-size:30px !important;}
.slide_info p{ margin-bottom:15px; font-size:12px;}
.headertop .left{ font-size:16px;}
.post-thumb{ width:100%; float:none;}
.nivo-caption{ width:88%; bottom:-10px;}
.slide_info .slide_more{padding:4px 10px;}
.nivo-controlNav{bottom: 4%; left:35%;}
.blocksbox{width:30%; margin:0 7px;}
.center-title{padding:0px !important;}
.slide_info h2:after{padding-top:5px;}
.slide_more{font-size:12px !important;} 
}


/* Mobile Landscape View */
@media screen and (min-width: 640px) and (max-width: 767px){
.nivo-caption{ bottom:15%; width:75%;}
.nivo-controlNav{bottom:0; left:12%;}
.slide_info h2{font-size:22px !important;}
}



/* Tablet View */
@media screen and (max-width:1169px) and (min-width:768px) { 
*{box-sizing:border-box;}
.center{width:auto;}
.social-icons a{ box-sizing:content-box; margin-bottom:5px; }
.container { width:auto; padding:0 20px;}
.logo{ width:100%; float:none; position:relative; text-align:center; padding:25px 0;}
/*slider css*/
.nivo-caption{ bottom:15%; width:70%;}
.nivo-controlNav{bottom:6%; left:12%;}
.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%;}
.cols-3 h5{ font-size:22px;}
.welcomewrap img{ width:50%;}
.slider-wrapper{min-height:200px;}
.footer{ padding-top:40px;  padding-bottom:30px;}
input.search-field, .post-password-form input[type="password"]{width:62%;}
.sitenav ul li a{padding:30px 20px;}
.threebox{width:31%;}
.squarebox{width:16.2%;}
.blocksbox{width:30%;}
.center-title{padding:0;}
.slide_info h2{margin:0 0 20px;}
.slide_info h2:after{padding-top:6px;}
.slide_info p{margin-bottom:20px;}
.logo { margin:0 auto;}
.nivoSlider {    padding: 150px 0 0 0 !important; }
}

/* Mobile Landscape View */
@media screen and (min-width: 768px) and (max-width: 980px){
.threebox h3{ font-size:16px; margin-bottom:20px;}
.threebox .thumbbx{ width:87px; height:96px; margin-bottom:20px;}
.threebox .thumbbx img{ min-height:96px; }
.post-thumb{ height:auto;}

}

@media screen and (max-width:1169px) and (min-width:981px) { 
html{overflow-x:hidden; }
.logo{ width:20%; float:left;}
.headertop .header-inner{ width:auto;}
input.search-field, .post-password-form input[type="password"]{width:70%;}
}

@media screen and (max-width: 980px){
.toggleMenu{display: block;}
.sitenav{float: none;
    margin: 0;
    position: relative;
    overflow-x: hidden;
    background-color: #ffffff;
    border-radius: 5px;
    top: 0;
    border-bottom: none;}
.sitenav ul{color:#000; width:100% !important; float:none !important; margin:0; padding:0;}
.sitenav ul li{border-top:1px #c3c3c3 solid; display:block; float:none; text-align:left; border-bottom:none !important}
.sitenav ul li a{padding:5px 10px !important; display:block; color:#000000; border:none;}
.sitenav ul li a:hover, .sitenav ul li.current_page_item a{color:#000000;  border:none; border-radius:0}
.sitenav ul li ul, .sitenav ul li ul ul{ display:block !important;}
.sitenav ul li ul li a:before{content:"\00BB \00a0";}
.sitenav ul li ul li a{padding-left:20px !important; }
.sitenav ul li ul li a{ border:none;}
/*.sitenav ul li ul li ul li a{padding-left:30px !important;}*/
.sitenav ul li ul li ul li ul li a{padding-left:40px !important;}
.sitenav ul li:hover > ul{ background:none !important; box-shadow:none;}
.sitenav ul li:hover > ul{ background: transparent !important; width:auto !important; display:block; position: relative !important; left:0; right:0; top:0; padding:0;}
.sitenav ul li:hover ul li ul, .sitenav ul li:hover ul li:hover > ul, .sitenav ul li:hover ul li:hover > ul li ul{  background: transparent !important; display:block; position:relative !important;  right:0; left:0; top:0;}
.sitenav ul li:hover ul li:hover ul, .sitenav ul li:hover ul li:hover ul li:hover ul{ left:0 !important;}

.headertop{ text-align:center;}
.headertop .header-inner{ width:auto;}
.headertop .header-inner, .widget-left, .topright{ width:auto; padding:0; float:none;}
.topbar-container{ float:none;}
.welcomewrap{ width:auto;}

#wrapfirst{ padding:40px 0;}
#home_slider{ top:auto;}
.container.menuwrapper{ background:transparent !important;}
#menubar{ border-top:3px solid transparent !important;}
}