/* Mobile Portrait View */
@media screen and (max-width:767px) {	
.header-top{ line-height:25px; padding:10px 0;}
.header-top .left, .header-top .right{ 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 10px; text-align:center;}
.header-inner { width:95%; text-align:center;}
.headerinfo{ padding:10px 0;}
.logo{ width:auto; float:none; text-align:center; padding:15px 0; margin-bottom:15px;}
.logo::after, .logo::before { position:relative;}

/*slider css*/
#slider .nivo-controlNav{ display:none;}
#slider .nivo-caption{ width:74%; left:13%; bottom:33%; padding:10px; text-align:center;}
#slider .nivo-caption p{ display:none;}
#slider .nivo-caption h2{ font-size:15px; line-height:22px; text-align:center; margin-bottom:0;}
#slider .nivo-caption a.button, #slider .nivo-caption a.buttonstyle1 { display:none;}
h2.section_title{ font-size:25px !important; width:100%; margin-bottom:10px;}
.entry-header h1.entry-title { font-size:18px; margin-bottom:0; padding:5px 10px;}
h1.page-title { font-size:18px;}
.entry-header { top:30%;}
.content-area .entry-header h1.entry-title { font-size:20px; margin-bottom:15px; padding-left:0;}
.welstrip .strip-left { top:0; text-align:center; padding-left:10px; padding-right:10px;}
.welstrip .strip-left h1 { font-size:25px; line-height:30px;}
.welstrip .strip-left h5 { font-size:15px;}
.welstrip .strip-right { text-align:center;}
.welstrip .strip-left, .welstrip .strip-right { width:auto; float:none;}
.welstrip .strip-left, .welstrip .strip-left::before, .welstrip .strip-left::after { position:relative;}

/* Section */
.whatwe p, .services p, .gallery p, .our-team p, .clientsay p { width:auto;}
.whatwe-box { width:auto; float:none; margin-right:0;}
.wel-left, .wel-right { width:auto; float:none;}
.care-right { width:80%;}
.services-box { float:none; margin-right:0; margin-top:30%; width:auto;}
.ser-content { padding-top:70px;}
.counter-box { width:auto; float:none; margin-right:0;}
.photobooth { margin-top:30px;}
.portfolio #mixitup .mix { width:auto;}
.portfolio #mixitup { text-align:center;}
.teammember-list { float:none; margin-right:0; width:auto;}
#clienttestiminials .item { padding:15px 10px;}
.premium { text-align:center;}
.pre-left, .pre-right, .pre-icon, .pre-content { float:none;}
.pre-icon { margin-right:0; margin-bottom:20px;}
.pre-content { text-align:center; margin-bottom:30px;}
.pre-content h3 { margin-bottom:15px; line-height:35px;}
.news-box{ width:auto; margin-right:0; float:none;}
.news-box .newsdesc { width:75%;}

/*footer css */
#footer-wrapper .cols-3{ width:auto; float:none; margin:0 0 10% 0;}
.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 (max-width:400px) {
.whatwe-content p { display:none;}
.whatwe-content { top:70%;}
.clientsay #clienttestiminials .tmdesc { width:70%;}
}

@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:19% !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){
.header-top{ line-height:25px; padding:10px 0; }
.header-top .left, .header-top .right{ float:none; text-align:center; width:auto;}
.header{ padding:10px 0 10px;}
.header-inner { width:95%;}
.logo{ width:auto; float:none; text-align:center; padding:15px 0; margin-bottom:15px;}
.logo::after, .logo::before { position:relative;}
.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;}
.nivoSlider .nivo-caption a.button, .nivoSlider .nivo-caption a.buttonstyle1 { display:none;}
.welstrip .strip-left h1 { font-size:25px; line-height:30px;}
.welstrip .strip-left h5 { font-size:15px;}
.whatwe p, .services p, .gallery p, .our-team p, .clientsay p { width:auto;}
.whatwe-box { width:32%; margin-right:14px;}
.whatwe-content p { display:none;}
.whatwe-content { top:65%;}
.wel-left, .wel-right { width:auto; float:none;}
.services-box { width:23.9%; margin-right:10px; margin-top:13%;}
.ser-content { padding:40px 10px 20px}
.counter-box { margin-right:20px;}
.portfolio { margin-top:20px;}
.portfolio #mixitup .mix { width:31.9%;}
.teammember-list { width:22.9%; margin-right:19px;}
.teammember-list .titledesbox h4 { font-size:14px;}
.member-social-icon a { width:30px; height:30px; line-height:30px; margin-right:5px;}
.clientsay #clienttestiminials .tmdesc { width:85%;}
.premium { text-align:center;}
.pre-left, .pre-right, .pre-icon, .pre-content { float:none;}
.pre-icon { margin-right:0; margin-bottom:20px;}
.pre-content { text-align:center; margin-bottom:30px;}
.pre-content h3 { margin-bottom:15px; line-height:35px;}
.news-box{ width:32%; margin-right:14px;}
.news-box .newsdesc { width:70%;}
.fourcol .entry{ width:243px !important;}
.cols-3 { 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; padding:10px 15px;}
.content-area .entry-header h1.entry-title { margin-bottom:25px; padding-left:0;}
.strip-left { width:52%;}
.strip-left h1 { font-size:25px; line-height:30px;}
.strip-left h5 { font-size:15px;}
.strip-right { width:31%;}
}


@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; }
.logo { padding-right:20px;}
.header-inner { width:auto; padding:0 20px;}
.sitenav ul li a { padding:30px 17px;}
.nivo-caption{ width:55%; left:10%; bottom:13%;}
#slider .nivo-caption h2 { font-size:30px; line-height:40px;}
.strip-left { width:57%;}
.strip-right { width:32%;}
.whatwe-box { width:32%; margin-right:18px;}
.whatwe-content { top:72%;}
.whatwe-content::before { height:9%;}
.we-tag { padding-bottom:5px;}
.whatwe-box:hover h6 { padding-bottom:10px;}
.whatwe-content p { padding:0 10px;}
.services-box { width:23.8%; margin-right:15px;}
.ser-content { padding-left:10px; padding-right:10px;}
.portfolio { margin-top:20px;}
.portfolio #mixitup .mix { width:32.2%;}
.teammember-list { margin-right:25px;}
.news-box { margin-right:18px; width:32%;}
.fourcol .entry{ width:337px !important}
.cols-3 { width:31.2%;}
.copyright-inner { width:95%;}
.entry-header { top:62%;}
h1.entry-title { padding:10px 15px;}
}

@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 !important; font-weight:normal;}
.sitenav ul li a:hover{color:#fc9530 !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; padding-left:10px;}
.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;}
}