/* Mobile Portrait View */
@media screen and (max-width:767px) {
.header-top{ text-align:center; line-height:25px; padding:15px 0;}
.left, .right{ float:none !important; text-align:center !important; display:inline-block;}
.header-top .left { padding-bottom:10px;}
.header-top .left .phone { border:none; text-align:center; padding:0; margin:0; width:100%;}
.header-top .left .fa { margin-right:10px;}
.header-top .left p { line-height:35px;}
.header-top .right { width:100%; text-align:center;}
.header-top .right .social-icons { float:none; margin-bottom:15px;}
.header-top .right .social-icons a:last-child { margin-right:0;}
.header-top .right .search-form { float:none; width:100%;}
.header-top .right input.search-field { width:100%;}
.boxlayout{ width:auto; margin:0 20px; box-sizing:border-box;}
.container { width:auto; padding:0 20px;}
.header-inner { padding:0 20px; width:auto;}
.header{ padding:20px 0; position:relative; top:0;}
.header_right{ float:none; text-align:center; width:auto; margin-top:15px; padding:0;}
a.appoint { display:none;}
.headerinfo{ padding:10px 0;}
.logo{ width:auto; float:none; text-align:center; padding:0;}
blockquote { background-position:0 top; padding-left:20px !important;}

/*slider css*/
#slider .nivo-controlNav{ display:none;}
#slider .nivo-caption{ width:75%; left:13%; bottom:20%; padding:10px;}
#slider .nivo-caption p{ display:none;}
#slider .nivo-caption h2{ font-size:15px; line-height:25px; margin-bottom:0; border-bottom:none;}
.button, .buttonsecond { display:none;}
.pagearea-inner { top:-75px; position:relative;}
.fourbox{ width:auto; float:none; margin:0; padding-left:20px; padding-right:20px; }
.fourbox h3 { margin-top:0;}
.fourbox .thumbbx { float:none;}
.fourbox .thumbbx img { width:100%; height:100%;}
.fourbox .fourbxcontent { float:none; text-align:center; width:auto;}
h2.section_title{ font-size:25px !important; width:auto; margin-bottom:10px;}
.two-column .one_half { max-width:96%;}
.services-box { width:100%; float:none; margin-right:0;}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product, .woocommerce-page[class*="columns-"] ul.products li.product, .woocommerce[class*="columns-"] ul.products li.product { width:auto; float:none !important; margin:30px 0; text-align:center;}
.woocommerce ul.products li.product a img { display:inline-block;}
.news-box{ width:auto; float:none; margin-right:0;}
.news-box.last { margin-top:0;}
.news-box .news-thumb{ width:auto; /*height:auto; visibility:visible;*/}

/*coloumn css*/ 
.one_half, .one_third, .two_third, .one_fourth, .three_fourth, .one_fifth, .four_fifth, .services-col, .services-wrap .one_third, #wrapperthree .one_half{float:none !important; width:100% !important; margin:0 0 30px !important;}
.innerbanner{ height:auto;}

/*Extra css */
.fourcol .entry{ width:auto !important;}
.tabs-wrapper ul.tabs li a{ padding:10px 14px}
.cols-3 .social-icons a{ margin-right:3px; display:inline-block;}

/*sidebar css*/
#sidebar{ width:100%; float:none;}
.sidebar-left{ float:none !important; width:100%;}
.flotRight{ float:none !important;}
#sidebar .services-col .services-content{ padding:8% 11.5%;}
#sidebar #contactform_main input[type=text], #sidebar #contactform_main input[type=email], #sidebar #contactform_main input[type=tel],#sidebar #contactform_main input[type=url], #sidebar #contactform_main textarea{width:85%; }
#sidebar .search-form input.search-submit, #sidebar .search-form input.search-field { margin-top:20px;}
.testimonials-wrap h2.section_title{ margin-bottom:10px; font-size:20px;}
.testimonials-wrap .owl-prev{ right:11%;}

/*footer css */
.cols-3{ width:100% !important; float:none; margin:20px 0 0 0;}
.contactdetail .fa { margin-right:10px;}
.copyright-txt { margin-bottom:10px;}
.copyright-txt, .designby { text-align:center; float:none;}
.copyright-menu ul li { float:none;}

/* --------- Pages ------- */
.content-area{ width:auto; margin:0; padding:20px;}
.site-main{ width:auto; margin:0; padding:0; float:none;}
h1.entry-title { font-size:25px;}
.contact_left, .contact_right{ float:none; width:100%; margin-bottom:10%;}
#contactform_main input[type="text"], #contactform_main input[type="email"], #contactform_main input[type="tel"], #contactform_main input[type="url"], #contactform_main textarea{width:90%;}

/*custom css*/
.searchbox{ width:100%; padding-left:0;}
.item{padding-left:0; width:auto;}
ol.nav-numbers{ display:none;}
#testimonials ul li .tm_description p{ text-align:left;}
#back-top { right:5px;}
}

@media screen and (min-width:300px) and (max-width: 480px){
.say_thumb{ float:none; position:inherit; left:0; display:table; margin:0 auto; width:auto;}
.blog-post-repeat .post-thumb img{ float:none; margin-right:0; width:100%; height:100%;}
.slider-main{ min-height:110px; height:auto;}
.nivo-directionNav a{ top:30%;}
.fivecol .entry{ width:auto !important}

}
@media screen and (min-width:481px) and (max-width: 767px){
.container, .content-area, #ourservices .container{ width:400px; margin:0 auto;}
.slider-main{ height:auto; min-height:200px;}
.nivo-caption{ left:12%;}
}
@media screen and (min-width:420px) and (max-width: 480px){
.nivo-caption h2{ font-size:26px !important; line-height:32px !important;}
.fourcol .entry{ left:6% !important;}
ul.portfoliofilter li a{ font-size:12px !important; padding:7px 12px !important;}
}


/* Mobile Landscape View */
@media screen and (min-width:481px) and (max-width: 767px){	
.headertop .left{ float:left;}
.headertop .right{ float:right;}
.headertop{ padding-bottom:0;}
/*slider css*/
.nivo-caption{ width:75%; left:13%; bottom:16%;}
.nivo-caption h2{ font-size:30px !important; line-height:35px !important; margin-bottom:10px !important; } 
.nivo-caption p{ display:block !important; line-height:18px;}
.nivo-caption, .nivo-controlNav{ display:block !important;}
h2.section_title{font-size:30px !important}	
}
@media screen and (min-width:481px) and (max-width: 615px){
.nivo-caption{ width:70%; bottom:10%; left:15%;}
.nivo-caption h2{ font-size:24px !important;}
}

/* Tablet View */
@media screen and (max-width:1169px) and (min-width:768px) { 
.container { width:auto; padding:0 20px;}
.boxlayout{ width:auto; margin:0 20px; box-sizing:border-box;}
.content-area{ width:auto; margin:0; padding:20px 20px;}
.testimonials-wrap .owl-prev{ right:4.5%;}
.cols-3 h5{ font-size:16px !important;}
#sidebar{ width:30%;}
.site-main{ width:65%;}
.slider-main{ min-height:260px; height:auto;}
.innerbanner{ height:auto;}
/*custom  css*/
.BlogPost{ min-height:250px;}
.recent-post h6{ padding-top:7px;}
ol.nav-numbers{ bottom:10%;}
.sidebar-left{ float:left !important; width:30%;}
.sidebar-left #sidebar{ width:100%;}

}

@media screen and (min-width:768px) and (max-width: 980px){
.header-top .right { width:auto;}
.header{ padding:0; position:relative; top:0;}
.header-inner { padding:0 20px; width:auto;}
a.appoint { display:none;}
.logo{ float:left; text-align:left; width:35%;}
.header_right{ float:right; width:60%; padding:20px 0 0 0;}
.headerinfo{ padding-bottom:10px;}
.header_right .contact { display:none;}
.nivo-caption{ width:60% ; left:20%; bottom:20%;}
.nivoSlider .nivo-caption h2 { font-size:20px; line-height:30px; margin-bottom:10px; padding-bottom:10px;}
.nivo-caption p { margin-bottom:10px;}
.nivo-controlNav{ bottom:0;}
.pagearea-inner { top:-90px; position:relative;}
section#pagearea { height:310px;}
.fourbox{ width:33.3%; padding-left:15px; padding-right:15px;}
.fourbox h3 { font-size:18px;}
.fourbox .thumbbx img { width:auto; min-height:auto;}
.two-column .one_half { margin-right:5.5%;}
.services-box { width:32%; margin-right:14px;}
.woocommerce ul.products li.product h3 { font-size:15px;}
.news-box{ width:32%; margin-right:14px;}
.news-box .news-thumb { width:auto; height:200px;}
.news-box .news-thumb img {height:200px; width:auto;}
.news-box .newsdesc { padding:15px 10px 30px;}
.news-box h6 { font-size:14px;}
.news-box .PostMeta { font-size:11px;}

.one_column{ width:100%;}
.two_column{ width:50%;}
.four_column { width:25%;}
.four_column h3 { font-size:18px;}
.five_column{ width:20%;}
.five_column h3 { font-size:14px;}
.six_column{ width:15.5%;}
.fourbox.last_column { margin-right:0;}

.fourcol .entry{ width:243px !important;}
.cols-3 { font-size:12px; width:48%; margin:0 4% 2% 0;}
.cols-3.widget-column-2, .cols-3.widget-column-4 { margin-right:0;}
.copyright-inner { padding:15px 0;}
.copyright-txt, .designby { width:auto; display:inline-block; margin:5px 0;}
h2.section_title { margin-bottom:20px;}
.accordion-box h2 { font-size:12px !important;}

}

@media screen and (min-width:768px) and (max-width: 868px){
.nivo-caption{ width:80%; left:10%;}

}

@media screen and (max-width:1169px) and (min-width:980px) { 
html{overflow-x:hidden; }
.header-top .right { width:auto;}
.header-inner { padding:0 20px; width:auto;}
.header_right{ width:76%}
a.appoint { padding:10px 6px; font-size:11px; margin-left:0; margin-top:25px;}
.sitenav ul li a { padding-left:13px; padding-right:13px;}
.logo{ float:left; width:24%}
.nivo-caption{ width:55%; !important}
section#pagearea { height:265px;}
.pagearea-inner { position:relative;}
.fourbox { padding:30px 20px;}
.one_column{ width:100%;}
.two_column{ width:50%;}
.four_column { width:25%;}
.five_column{ width:20%;}
.six_column{ width:15.5%;}
.fourbox.last_column { margin-right:0;}

.services-box { width:32%; margin-right:14px;}
.woocommerce ul.products li.product h3 { font-size:18px;}
.news-box{ width:32%; margin-right:18px;}
.news-box .news-thumb { width:auto; height:200px;}
.news-box .news-thumb img {height:200px; width:100%;}
.fourcol .entry{ width:337px !important}
.cols-3 { margin-right:26px;}
.cols-3.widget-column-4 { margin-right:0;}
.cols-3 h5{ font-size:24px !important;}
.cols-3 .social-icons a { display:inline-block;}


}

@media screen and (max-width: 980px){	
section{ padding:40px 0;}
.nav-inner { width:95%; position:relative;}
.toggleMenu{display: block;}
.sitenav{float:none; margin:0; top:0; position:relative; overflow-x:hidden;}
.sitenav ul{color:#ffffff; background-color:#424e4c; width:100% !important; float:none !important; margin:0; padding:0; font-size:12px !important;}
.sitenav ul li{border-top:1px #9b9b9b solid; display:block; float:none; text-align:left; border-right:none;}
.sitenav ul li.menu-item-29 { border-top:none;}
.sitenav ul li a{padding:5px 10px !important; display:block; color:#ffffff !important; text-align:left;}
.sitenav ul li a:hover, .sitenav ul li.current_page_item a, .sitenav ul li:hover a.parent{ color:#22aa86 !important; background:none !important;}
.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{ border-bottom:1px solid transparent!important; border-right:none;}
.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 img{ height:auto;}
.innerbanner{ height:auto;}

}