/* Mobile Portrait View */
@media screen and (max-width:767px) {
*{box-sizing:border-box;}
.left, .right{ float:none; text-align:center;}
.logo{ width:auto; float:none; text-align:center; margin-bottom:5px; position:relative; padding:8px 0;}
.container { width:auto; padding:0 20px;}
.hdrrightpart{ float:none; width:100%;}
#sidebar{ width:100%; float:none;}
.content-area{ width:auto; margin:0; padding:50px 20px;}
#content_part_site{ width:auto; float:none;  padding:15px;}
.staticfrontpage h1.entry-title{ font-size:22px; margin-bottom:15px;}

/*slider css*/
#slider{ top:0; margin:0;}
.nivo-caption h2{ font-size:22px !important; line-height:22px !important; }
.nivo-directionNav a{ top:35% !important;}
.nivo-controlNav{ display:none !important;}
a.nivo-prevNav{ left:1%;}
a.nivo-nextNav{right:1%;}
.wpcf7 input[type="text"], .wpcf7 input[type="tel"], .wpcf7 input[type="email"], .wpcf7 textarea{ width:100%;}
.widget-column-1, .widget-column-2, .widget-column-3, .widget-column-4{ float:none; width:100%; margin:0 0 5px; padding:0; text-align:left;}
.footer-wrapper ul li{ margin:0;}
.footer-wrapper ul li a{ padding:5px;}
.footer-wrapper h2{ font-size:20px;}

/*about blog post*/
.blogpost_imagebx{ width:100%; float:none; margin:0 0 10px;}
.blogpost_layout .blogpost_imagebx{ width:auto; height:auto; overflow:hidden; float:none; margin:0 0 15px 0;}
.blogpost_layout .blogpost_imagebx img{ height:auto; min-height: inherit;}
.blogpost_layout{ float:none; width:100%; margin:0 0 30px 0;}
.blogpost_layout .entry-summary, .blogpost_layout .entry-content{ padding:0;}
.blogpost_date{ float:none; width: auto; margin-bottom:10px;}

}

/* Mobile Landscape View */
@media screen and (min-width: 481px) and (max-width: 767px){
*{box-sizing:border-box;}
.container{ width:440px; margin:0 auto;}
.pageinlayout{ margin:50px auto; position:relative;}
.content-area{ width:440px; margin:0 auto;}
.nivo-controlNav{ display:none !important;}
.blogpost_imagebx{ width:50%; float:left; margin:5px 20px 10px 0;}

}
/* Mobile Landscape View */
@media screen and (min-width: 300px) and (max-width: 481px){
*{box-sizing:border-box;}
.nivo-caption{ width:100%;}
.top_social_icons{ display:none;}
.nivo-directionNav{ display:none;}

}

@media screen and (min-width:768px) and (max-width: 980px){

.nivo-directionNav a{ top:40%;}

}

/* Tablet View */
@media screen and (max-width:1169px) and (min-width:768px) { 
*{box-sizing:border-box;}
.container { width:auto; padding:0 20px;}
.logo{ padding:20px 0;}
.logo h1{ font-size:28px;}
/*slider css*/
.nivo-caption h2{ font-size:42px; line-height:45px;}
.content-area{ width:auto; margin:0; padding:50px 20px;}
#sidebar{ width:30%;}
#content_part_site{ width:65%;}
}

/* Tablet View */
@media screen and (max-width:1169px) and (min-width:981px) { 
*{box-sizing:border-box;}
}

@media screen and (max-width: 980px){
.toggleMenu{display: block;}
.sitenav{float:none; margin:0; top:0; position:relative; overflow-x:hidden;}
.sitenav ul{color:#000; width:100% !important; float:none !important; margin:0; padding:0;}
.sitenav ul li{ display:block; float:none; text-align:left; border-right:none;}
.sitenav ul li a{padding:5px 10px !important; display:block; text-align:left;}
.sitenav ul li a:hover{color:#ffffff;}
.sitenav ul li ul, .sitenav ul li ul ul{ display:block !important; background: transparent !important;}
.sitenav ul li ul li{ border-top:1px #888 solid; border-bottom:0 ;}
.sitenav ul li ul li a{padding-left:20px !important;}
.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;}

.sitenav ul li:hover > ul{ background: transparent !important; width:auto !important; display:block; position: relative !important; left:0; right:0; top: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;}
.logo{ width:auto; float:none; text-align:center; margin-bottom:5px; position:relative; padding:8px 0;}
.top_social_icons{ display:none;}
.hdrrightpart, .hdrrightpart.hdrrightpart_width{ float:none; width:100%;}
}
