/* Mobile Portrait View */
@media screen and (max-width:767px) {
.left, .right{ float:none !important; text-align:center !important; display:inline-block;}
.boxlayout{ width:auto; margin:0 20px; box-sizing:border-box;}
.container { width:auto; padding:0 20px;}
.header{ background:#ffffff !important; padding:0px; position:relative;}
.header_left, .header_right { float:none; width:auto; padding:30px 0; text-align:center;}
.header_left .icon, .header_right .icon { display:inline-block; float:none;}
.header_left .headtxt, .header_right .headtxt { display:inline-block; position:relative; top:10px; float:none;}

.headerinfo{ padding:10px 0;}
.logo{ width:auto; float:none; text-align:center; padding:0;}
blockquote { background-position:0 top; padding-left:20px !important;}
#navigation { background-color:#ffffff !important; padding:10px 0;}
/*slider css*/
#slider .nivo-controlNav{ display:none;}
#slider .nivo-caption{ width:75%; left:0; bottom:30%; padding:10px;}
#slider .nivo-caption p{ display:none;}
#slider .nivo-caption h2{ font-size:18px; line-height:25px; text-align:center; margin:0;}
#slider .nivo-caption a.button, #slider .nivo-caption img { display:none;}
h2.section_title{ font-size:25px !important; width:auto; margin-bottom:10px;}
.welcome p, .services p, .our-team p, .latestposts p { width:100%;}
.welcome-box { float:none; width:auto; margin-right:0;}
#who-we .container, #who-we .two-column { width:auto;}
#who-we .one_half, #who-we .one_half.last_column { width:auto; float:none;}
#who-we .one_half img { min-height:auto;}
#who-we .one_half.last_column { padding-left:0;}
#who-we .one_half.last_column p { margin-bottom:0;}
.services-box { width:auto; float:none; margin:30px 0;}
.services-icon { width:70px; height:70px;}
.services-icon .fa { font-size:2em;}
.appoint { padding:20px 0;}
.appoint p { width:100%;}
.teammember-list { width:auto; float:none; margin-right:0;}
#clienttestiminials p { width:100%;}
.news-box{ width:auto; float:none; margin-right:0;}
.news-box.last { margin-top:0;}
.news-box .news-thumb{ visibility:visible; width:auto; height:auto;}

/*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{ 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:0 0 10% 0;}
.contactdetail .fa { margin-right:10px;}
ul.recent-post li { margin:0 0px 15px 0;}
ul.recent-post li:nth-child(3n+3) { margin-right:0px;}

/* --------- 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%;}
.copyright-txt { margin-bottom:10px;}
.copyright-txt, .designby { text-align:center; float:none;}
.copyright-menu ul li { float:none;}
#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:38%;}
.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:0;}
}

@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;}
.thumnailbx .thumb-shape { bottom:-10px;}
}

/* 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:0; 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; width:100% !important;}
.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:0;}
.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:20px !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{ background:#ffffff !important; padding:0; position:relative; top:0;}
.header_left { width:34%;}
.logo{ width:37%;}
.header_right{ width:26%;}
.headerinfo{ padding-bottom:10px;}
.header_right .contact { display:none;}
#navigation { background-color:#ffffff !important; padding:10px 0;}
.nivo-caption{ width:60% ; left:0; bottom:12%;}
.nivo-controlNav{ bottom:0;}
.nivoSlider .nivo-caption h2 { font-size:27px;}
.nivoSlider .nivo-caption p { width:100%;}
.nivoSlider img { display:none;}
h2.section_title { margin-bottom:20px;}
.welcome p, .services p, .our-team p, .latestposts p { width:100%;}
.welcome-box { width:23%; margin-right:19px;}
#who-we .container, #who-we .two-column { width:auto;}
#who-we .one_half, #who-we .one_half.last_column { width:auto;}
#who-we .one_half.last_column { padding-left:0;}
.services-box { width:32%; margin-right:14px; margin-top:35px;}
.services-icon { width:60px; height:60px;}
.services-icon .fa { font-size:2em;}
.services-desc h3 { font-size:14px; margin-bottom:5px;}
.teammember-list { margin-right:19px; margin-top:75px;}
.titledesbox { padding-top:70px;}
.thumnailbx { width:100px; height:100px; top:-50px;}
.titledesbox h3 { font-size:17px;}
.titledesbox cite { font-size:11px;}
.member-social-icon a { width:25px; height:25px; line-height:25px; margin-right:5px; font-size:1em;}
#clienttestiminials p { width:100%;}
.news-box{ width:31%; margin-right:25px; margin-bottom:0;}
.news-box .news-thumb{ max-height:158px;}
.news-box h3 { font-size:20px;}
.news-box .PostMeta { font-size:11px;}
.news-box .PostMeta a { padding-right:5px;}
.news-box .PostMeta span { padding-left:5px;}
.fourcol .entry{ width:243px !important;}
.cols-3 { font-size:12px; margin-right:43px; width:47%;}
.cols-3.widget-column-2, .cols-3.widget-column-4 { margin-right:0;}
.cols-3 .social-icons a { width:30px; height:30px; line-height:30px; margin-right:10px; display:inline-block;}
.contactdetail .fa { margin-right:15px;}
.copyright-txt, .designby { width:auto; display:inline-block; margin:5px 0;}
}

@media screen and (min-width:768px) and (max-width: 868px){
.nivo-caption{ width:80%; left:0;}
}

@media screen and (max-width:1169px) and (min-width:980px) { 
html{overflow-x:hidden; }
.fourcol .entry{ width:337px !important}
.header_left, .header_right { width:25%;}
.logo{ width:50%;}  
.nivo-caption{ width:65%; !important; left:0; bottom:15%;}
.nivo-caption h2 { font-size:35px; margin:15px 0;}
.nivoSlider .nivo-caption p { width:100%; margin-bottom:5px;}
.welcome-box { margin-right:25px;}
.services-box { margin-right:18px;}
.services-icon { width:90px; height:90px;}
.teammember-list { margin-right:25px;}
.member-social-icon a { width:35px;}
.news-box { margin-right:18px; width:32%;}
.cols-3 { margin-right:20px; width:22.9%;}
.cols-3 h5{ font-size:24px !important;}
.cols-3 .social-icons a { display:inline-block; margin-right:4px;}

}

@media screen and (max-width: 980px){	
section{ padding:40px 0;}
.nav-inner { width:95%; position:relative;}
.toggleMenu{display: block; padding-left:10px !important; margin-top:0 !important;}
.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; background-color:#353534 !important; font-size:13px !important;}
.sitenav ul li{ display:block; float:none; text-align:left; border:none;}
.sitenav ul li a{padding:5px 10px !important; display:block; color:#000; text-align:left;}
.sitenav ul li a:hover, .sitenav ul li.current_page_item a, .sitenav ul li:hover a.parent{ color:#edbf88 !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; 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;}
}