/* Mobile Portrait View */
@media screen and (max-width:767px) {	
.header-top{ line-height:25px; padding:10px 0;}
.header-top .left{ float:none; text-align:center;}
.header-top span { padding:0; display:block;}
.header-top span::after { border:none;}
.boxlayout{ width:auto; margin:0 20px; box-sizing:border-box;}
.container { width:auto; padding:0 20px;}
.header{ padding:10px 0 20px; position:relative; text-align:center; background-color:#131313 !important;}
.header-inner { width:95%; text-align:center;}
.headerinfo{ padding:10px 0;}
.logo{ width:auto; float:none; text-align:center; padding:0 0 20px;}

/*slider css*/
#slider .nivo-controlNav{ display:none;}
#slider .nivo-caption{ width:74%; left:13%; bottom:41%; padding:10px; text-align:center;}
#slider .nivo-caption p{ display:none;}
#slider .nivo-caption h2{ font-size:16px; line-height:18px; text-align:center; margin-bottom:0;}
#slider .nivo-caption a.button, #slider .nivo-caption a.buttonabout { display:none;}
h2.section_title{ font-size:25px !important; width:100%; margin-bottom:10px;}
.entry-header h1.entry-title { font-size:20px; margin-bottom:0;}
h1.page-title { font-size:20px;}
.entry-header { top:32%;}
section#pagearea .container { padding:0;}
.fourbox { width:auto; float:none; margin-bottom:0;}
.welcome-left, .welcome-right { float:none; width:auto;}
.welcome-left { margin-bottom:30px;}
ul#flexiselDemo3 li .featured-thumb img { max-width:100%;}
.features p { width:auto;}
.feature-flex .nbs-flexisel-nav-right { right:0;}
.feature-flex .nbs-flexisel-nav-left { left:0;}
.schedule-details, .schedule-box .join { width:auto; float:none; text-align:center;}
.schedule-details { text-align:center; padding-left:0;}
.schedule-box .join a { border-bottom-left-radius:5px; border-top-right-radius:0;}
.services-box { float:none; margin-right:0; width:auto;}
.services-box:hover, .fourbox:hover { transform:none;}
.teammember-list { float:none; margin-right:0; width:auto;}
#clienttestiminials .item { padding:15px 10px;}
.news-box{ width:auto; margin-right:0; margin-bottom:0; float:none;}

/*footer css */
#footer-wrapper .cols-3{ width:auto; float:none; margin:0 0 10% 0;}
.cols-3 ul li { width:auto;}
.cols-3 .social-icons a { margin-right:7px;}
.contactdetail .fa { margin-right:10px;}
.copyright-inner { width:95%;}
.copyright-txt { margin-bottom:10px;}
.copyright-txt, .designby { text-align:center; float:none;}
#footer-wrapper .cols-3.widget-column-3 { margin-bottom:0;}

/*coloumn css*/ 
.one_half, .one_third, .two_third, .one_fourth, .three_fourth, .one_fifth, .four_fifth, #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; width:35px; height:35px; line-height:35px;}

/*sidebar css*/
#sidebar{ width:100%; float:none;}
.sidebar-left{ float:none !important; width:100%;}
.flotRight{ float:none !important;}
#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%;}

/* --------- Pages ------- */
.content-area{ width:auto; margin:0; padding:20px;}
.site-main{ width:auto; margin:0; padding:0; float:none;}
.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; z-index:99;}
}

@media screen and (min-width:480px) {
.teammember-list .teamdesig { bottom:16%;}	
}

@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{ 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;}
}

/* Mobile Landscape View */
@media screen and (min-width:481px) and (max-width: 767px){	
.nivo-caption{ width:75%; left:13%; bottom:10% !important;}
.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){
.left{ float:none; text-align:center; width:auto;}
.header{ position:relative; background-color:#131313 !important; padding:10px 0 20px;}
.header-inner { width:95%;}
.logo{ float:none; text-align:center; width:100%;}
.headerinfo{ padding-bottom:10px;}
.nivo-caption{ bottom:20%;}
.nivo-controlNav{ bottom:0;}
.nivoSlider .nivo-caption h2 { font-size:25px; margin-bottom:10px; line-height:35px;}
.nivoSlider .nivo-caption p { margin-bottom:5px;}
section#pagearea .container { padding:0;}
.features p { width:auto;}
.feature-flex .nbs-flexisel-nav-left, .feature-flex .nbs-flexisel-nav-right { top:100px !important;}
.feature-flex .nbs-flexisel-item { margin-right:0;}
.feature-flex .nbs-flexisel-nav-right { right:0;}
.featured-desc span { font-size:15px;}
.schedule-details { width:18.8%; font-size:12px;}
.join { font-size:13px; width:13.4%;}
.join a { padding:20px 0;}
.services-box { width:24.8%; margin-right:26px;}
.services-box:hover, .fourbox:hover { transform:none;}
.teammember-list { width:22.9%; margin-right:19px;}
.teammember-list .titledesbox { bottom:28%;}
.teammember-list .teamdesig { bottom:10%;}
.news-box{ width:32%; margin-right:14px;}
.news-box h6 { font-size:14px; line-height:20px;}
.fourcol .entry{ width:243px !important;}
.cols-3 { font-size:12px; width:31.5%; margin-right:19px;}
.cols-3.widget-column-3 { margin-right:0;}
.cols-3 .social-icons a { width:28px; height:28px; line-height:28px; margin-right:5px; display:inline-block;}
.copyright-inner { width:95%;}
h2.section_title { margin-bottom:20px;}
.entry-header { top:38%;}
.entry-header h1.entry-title { margin-bottom:0;}
}

@media screen and (min-width:768px) and (max-width: 868px){
.nivo-caption{ width:60%; left:10%;}
}

@media screen and (min-width: 1280px){
.teammember-list .titledesbox { bottom:28%;}	
}

@media screen and (max-width:1169px) and (min-width:980px) { 
html{overflow-x:hidden; }
.header-inner { width:auto; padding:0 20px;}
.sitenav ul li a { padding:30px 17px;}
.nivo-caption{ width:55%; left:10%; bottom:21%;}
section#pagearea .container { padding:0;}
.features p { width:auto;}
.feature-flex .nbs-flexisel-item { margin-right:0;}
.feature-flex .nbs-flexisel-nav-right { right:0;}
.services-box { width:27%;}
.services-box:hover, .fourbox:hover { transform:none;}
.schedule-details { width:19.5%;}
.teammember-list { margin-right:25px;}
.teammember-list .titledesbox { bottom:28%;}
.teammember-list .teamdesig { bottom:14%;}
.news-box { margin-right:18px; width:32%;}
.fourcol .entry{ width:337px !important}
.cols-3 { width:31.2%;}
.copyright-inner { width:95%;}
}

@media screen and (max-width: 980px){	
section{ padding:40px 0;}
.toggleMenu{display: block;}
.sitenav{float:none; margin:0; top:0; position:relative; overflow-x:hidden; width:100%;}
.sitenav ul{color:#ffffff; font-size:13px !important; width:100% !important; float:none !important; margin:0; background-color:#131313; overflow:hidden;}
.sitenav ul li{ display:block; float:none; text-align:left;}
.sitenav ul li a{ display:block; text-align:left; padding:5px 15px; color:#ffffff;}
.sitenav ul li a:hover{color:#e25050 !important;}
.sitenav ul li ul, .sitenav ul li ul ul{ display:block !important; padding:0;}
.sitenav ul li ul li a:before{content:"\00BB \00a0"; top:5px;}
.sitenav ul li ul li{ border-bottom:1px solid transparent!important; border-right: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;}
.sitenav ul li:hover > ul{ background: transparent !important; width:auto !important; display:block; position: relative !important; left:0; right:0; top:0; padding-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;}
.sitenav ul li a::after { background:none !important;}
.sitenav ul li.current_page_item a { border:none; color:#ffffff;}
.logo img{ height:auto;}
.innerbanner{ height:auto;}
}