/* Mobile Portrait View */
@media screen and (max-width:479px) {
section, #wrapOne, #wrapTwo, section#testimonials{padding:30px 0;}
.container, .header .header-inner .nav{ padding:0 20px; width:auto;}
.header .header-inner .logo{ width:auto; text-align:center; float:none; margin:0 0 20px;}
.header-right{ float:none; margin:0 auto; display:inline-block; width:100%; overflow:hidden; text-align:center;}
.header-right .column2 {float:none;}
.header-left {float:none; text-align:center;}
.header-left .column1 {float:none; display:inline-block; margin-right:10px;}
/* .getaquote{position:relative; float:none; margin:20px auto; display:table;}*/
.header .header-inner {padding:20px 0; margin-top:10px;  position:relative; background-color:rgba(63, 76, 107, 1) !important;}
.header .header-inner .header-nav{ margin:0 auto;}
.slider-main, .innerbanner, .homeservices{top:0; margin-bottom:0;}
.slider-main{ min-height:125px;}
.nivo-controlNav{ bottom:0;}
.nivo-caption{ display:none !important;}
.one_four_page{ width:auto; margin:0 auto 10% auto; display:block; float:none; border-color:#eaeaea !important; height:auto;}
.one_four_page a {padding:8% 5%;}
.news-box{ width:auto; height:auto; margin-right:0; margin-bottom:10%; padding:30px; float:none; display:inline-block;}
.news-box .news-thumb {float:none; width:auto; height:auto; margin:0 0 20px 0;}
.news-box .news-thumb img { min-height: inherit;}
.vertical-line {display:none;}
.news-box::after, .centernewsborder {border:none !important; display:none;}

.news, #sitemain .news, .nosidebar .news{min-height:inherit;}
#sitemain .date-news, .nosidebar .date-news{width:70px;}
#sitemain .date-news .byadmin-date, .nosidebar .date-news .byadmin-date, #sitemain .date-news .byadmin-month, .nosidebar .date-news .byadmin-month{ padding:10px 15px;}
.one-page {width:auto; margin:0 0 30px 0;}
#testimonials .testimonials-home{ width:100%; float:none;}
.ourteam_col{ width:100%; margin:0 auto 15% auto; display:block; text-align:left !important;}
.ourteam_thumb::before, .ourteam_col.leftside .ourteam_thumb::before {display:none;}
.ourteam_col.leftside .ourteam_thumb, .ourteam_thumb {float:none; margin:auto auto 20px; height:auto; border:1px solid #e8e8e8 !important; width:auto;}
.team-social-icon a {float:left;}
.ourteam_content h6::after {right:auto; left:0;}
.mis-slider li.mis-slide.mis-current figcaption {width:auto; margin:10% 0 0 0;}
.mis-stage, .mis-slide {height:auto !important;}
#recent-work .container {padding:0 20px; width:auto;}
.photobooth .filter-gallery ul {padding:8px 10px;}
.photobooth .gallery ul li {margin-bottom:20px;}
.photobooth .filter-gallery ul li {margin-right:10px; padding-right:10px;}
.section-teammember{ margin-top:10%;}
.homecontact-left, .homefindus-right{ width:100%; float:none; margin:0 auto 15% auto;}
.clientlogo{ width:48.5%; margin:0 2.5% 2.5% 0;}
.clientlogo:nth-child(2n+2){ margin-right:0;}
#sitemain .clientlogo, .nosidebar .clientlogo{ width:48.5%; margin:0 2.5% 2.5% 0;}
#sitemain .clientlogo:nth-child(2n+2),.nosidebar .clientlogo:nth-child(2n+2){ margin-right:0;}
.mis-slider li a {margin-top:0 !important;}

/* Footer */
.footer ul li{ width:auto; margin-right:0; float:none;}
.cols-2 .widget-column-1, .cols-2 .widget-column-3, .cols-3 .widget-column-1, .cols-3 .widget-column-2, .cols-3 .widget-column-3, .cols-4 .widget-column-1, .cols-4 .widget-column-2, .cols-4 .widget-column-3, .cols-4 .widget-column-4{ width:auto; float:none; clear:both; min-height:inherit; margin:0 0 10% 0; }
.cols-2 .widget-column-1, .cols-3 .widget-column-2, .cols-4 .widget-column-2, .cols-4 .widget-column-3{ border:none; padding:0;}
.cols-4 .widget-column-4 {padding-top:20px;}
.copyright-txt, .design-by{ float:none; margin:0 auto;text-align:center; width:auto; display:block;}

/* Pages */
#sidebar{ width:100%; float:none;}
.sidebar-left{ float:none !important; width:100%;}
.flotRight{ float:none !important;}
.blog-post-repeat .post-thumb img{ float:none; margin-right:0; width:100%; height:100%;}
.photobooth .filter-gallery{ width:auto;}
.sitefull .photobooth .gallery ul li, .photobooth .gallery ul li{ width:100%; height:auto;}
.photobooth .gallery ul li img{ height: auto;}
#sitemain .photobooth .gallery ul li, .nosidebar .photobooth .gallery ul li{ width:100%;}
.content-area{ width:auto; margin:0; padding:20px 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:84%; margin-right:0;}
.one_four_page-wrap {width:100%;}

.ourteam_thumb a { height:auto;}
.ourteam_thumb img { min-height: inherit;}

.nivo-directionNav a.nivo-prevNav {top:37% !important;}
.nivo-directionNav a.nivo-nextNav {top:37% !important;}

}

/* Mobile Landscape View */
@media screen and (min-width:480px) and (max-width:767px){
section, #wrapOne, #wrapTwo, section#testimonials{padding:40px 0;}
.container, .content-area{padding:0 20px; width:440px;}
.header .header-inner .logo{ width:auto; text-align:center; float:none;}
.header-right{ float:none; margin:3% auto 3% auto; display:inline-block; width:100%; text-align:center; overflow:hidden;}
.header-right::before {display:none;}
.header-left {float:none; text-align:center;}
.header-left .column1 {display:inline-block; float:none;}
.header-right .column2{float:none;}
.header .header-inner .header-nav{ margin:0 auto; }
.header .header-inner {padding:20px 0;position:relative; background-color:rgba(63, 76, 107, 1) !important;}
.header .header-inner .logo {margin:0 0 20px;}
.slider-main{ min-height:200px;}
.slider-main, .innerbanner, .homeservices{top:0; margin-bottom:0;}
.nivo-caption{ width:90%; top:17%;}
.nivo-controlNav{ bottom:20px;}
.slider-main .slide_info h2{ display:table; font-size:25px; margin:auto;}
.slide_info p, .slide_info h3{ display:none;}
.slide_info a.sldbutton {margin-top:20px;}
.one_four_page{ width:auto; margin:0 auto 5% auto; display:block; float:none; height:auto;}
#sitemain .threebox i, .nosidebar .threebox i{display:inherit;}
.news-box{ width:auto; height:auto; margin-right:0; margin-bottom:10%; padding:25px; float:none; display:inline-block;}
.news-box .news-thumb { height:auto;}
.news-box .news-thumb img { min-height:145px;}
.news, #sitemain .news, .nosidebar .news{min-height:inherit;}
#sitemain .date-news, .nosidebar .date-news{width:70px;}
#sitemain .date-news .byadmin-date, .nosidebar .date-news .byadmin-date, #sitemain .date-news .byadmin-month, .nosidebar .date-news .byadmin-month{ padding:10px 15px;}
.news .read-more {margin-top:25px;}
.ourteam_thumb a {height:auto;}
.ourteam_thumb img {min-height:190px;}
.one-page {width:auto; margin:0 0 10% 0;}
.one_four_page {border-color:#eaeaea !important;}
.news-box::after, .centernewsborder, .vertical-line {display:none;}
#testimonials .testimonials-home{ width:auto; float:none; }
.section-teammember{ margin-top:10%; }
.ourteam_col{ width:auto; margin:0 auto 10% auto; float:left; text-align:left;}
.ourteam_content h6::after {left:0; right:auto;}
.ourteam_thumb::before {left:auto; right:-8px; border-right:1px solid #eeeeee; border-top:1px solid #eeeeee; border-left:0; border-bottom:0;}
.team-social-icon a {float:left;}
.ourteam_thumb{ border:solid 1px #bcbcbd !important; float:left; margin:0 8% 0 0;}
.homecontact-left{ width:100%; float:none; margin:0 auto 15% auto;}
.homefindus-right{ width:100%; float:none; margin:0 auto;}
.clientlogo{ margin:0 2% 2% 0; width:27%;}
.mis-slider li.mis-slide.mis-current figcaption {width:auto; margin:10% auto auto;}
.mis-slide, .mis-stage {height:auto !important; min-height:520px;}
.mis-slider li a {margin:0 !important;}
#recent-work .container {width:460px; padding:0 10px;}
.footer-photos img {width:30.6%; margin:0 4% 4% 0;}
/* Footer */
.footer ul li{ width:220px;}
.cols-2 .widget-column-1, .cols-2 .widget-column-3, .cols-3 .widget-column-1, .cols-3 .widget-column-2, .cols-3 .widget-column-3, .cols-4 .widget-column-1, .cols-4 .widget-column-2, .cols-4 .widget-column-3, .cols-4 .widget-column-4{ width:auto; float:none; clear:both; min-height:inherit; margin:0 0 5% 0; }
.cols-2 .widget-column-1, .cols-3 .widget-column-2, .cols-4 .widget-column-2, .cols-4 .widget-column-3{ border:none; padding:0;}
.copyright-txt, .design-by{ float:none; margin:0 auto;text-align:center; width:auto; display:block;}

/* Pages */
#sidebar{ width:100%; float:none;}
.sidebar-left{ float:none !important; width:100%;}
.flotRight{ float:none !important;}
.blog-post-repeat .post-thumb img{ float:none; margin-right:0; width:100%; height:100%;}
.photobooth .filter-gallery{ width:auto;}
.sitefull .photobooth .gallery ul li, .photobooth .gallery ul li{ width:48%; margin:4.6px;}
.photobooth .gallery ul li {height:200px;}
.photobooth .gallery ul li img {min-height:200px;}
.photobooth .filter-gallery ul li a{ padding:2px 5px;}
#sitemain .photobooth .gallery ul li, .nosidebar .photobooth .gallery ul li{ width:100%;}
.content-area{margin:0 auto; padding:20px 10px;}
.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:89%; margin-right:0;}
.one_four_page-wrap {width:100%;}

.nivo-directionNav a.nivo-prevNav {top:41% !important;}
.nivo-directionNav a.nivo-nextNav {top:41% !important;}

}

@media screen and (max-width:1023px) {
.header .header-inner {padding:20px 0;position:relative; background-color:rgba(63, 76, 107, 1) !important;}
}

/* Tablet View */
@media screen and (max-width:1170px) and (min-width:768px) { 
.container{ padding:0 20px; width:auto;}
section {padding:50px 0;}
.header .header-inner  {padding:20px 0;}
.header .header-inner .logo{height:auto; margin:10px 0 15px 0;} 
.header .header-inner .logo img{ height:auto;}
.toggle {float:right; width:50%; margin-top:10px;}
.getaquote{ float:right !important; }
#wrapOne {padding:50px 0;}
.homeservices{ top:-70px; margin-bottom:-70px; }
.slider-main{min-height:337px;}
.nivo-caption{ width:70%; top:20%;}
.slide_info p{ margin-bottom:25px;}
.nivo-controlNav{ bottom:7%;}
.nivo-caption .slide_info h2 {font-size:30px; margin-bottom:20px;}
.slide_info a.sldbutton {margin-top:20px;}
.one-page {width:27.5%; margin-right:4%;}
.one_four_page{ width:50%;}
.one_four_page a {padding:6.5%;}
.one_four_page a i {margin-right:15px;}
.one_four_page .thumb_four_page img{ width:auto; height:auto;} 
.fa-4x {font-size:3em;}
section h2.section_title, #recent-work h2 {margin-bottom:4%;}
.one_page {margin-bottom:10px;}
.one-page .read-more {margin-top:20px;}
.one-page h2.section_title {margin-bottom:10px;}
.date-news{ width:50px;}
.date-news .byadmin-date{ padding-left:0; padding-right:0;}
.news-box {min-height: inherit; height:auto;}
.news-box .news-thumb {height:160px;}
.news h4 {margin-bottom:10px; font-size:16px;}
.news .read-more {margin-top:8%;}
.one_four_page-wrap .one_four_page h4 {font-size:17px;}
.ourteam_thumb {width:42%;}
.ourteam_thumb a {height:220px;}
.ourteam_thumb img {min-height:220px;}
.centernewsborder {right:-14%;}
.section-teammember .ourteam_col h3 {margin:15px 0 5px 0;}
.ourteam_content h6 {padding-bottom:10px; margin-bottom:10px;}
.ourteam_content p {padding-bottom:5px; line-height:20px;}
.team-social-icon {margin-bottom:15px;}
.mis-slider li.mis-slide.mis-current figcaption {width:auto !important; margin:3% auto auto;}
.mis-slider li a {margin-top:0 !important;}

#contactform_main input[type="text"], #contactform_main input[type="email"], #contactform_main input[type="tel"], #contactform_main input[type="url"], .wpcf7 form input[type="text"], .wpcf7 form input[type="email"], .wpcf7 form input[type="tel"]{width:35%;}
#contactform_main textarea, .wpcf7 form textarea{ width:81.7%;}
#sitemain .clientlogo, .nosidebar .clientlogo{ margin-right:5px;}
.clientlogo{ margin-right:30px; width:16%;}
.clientlogo:last-child { margin-right:0;}

.footer i{ margin-right:10px;}
.footer ul li{ width:auto; margin-right:0; float:none;}
#some-facts .everydaytime .everytime{padding:0;}  
/* Pagees */
.content-area{ width:auto; margin:0; padding:40px 20px;}
#sitemain .threebox, .nosidebar .threebox{ text-align:center;}
#sitemain .threebox .chooseus-content, .nosidebar .threebox .chooseus-content{ width:auto;}
#sitemain .client-thumb img, .nosidebar .client-thumb img{ float:none; text-align:center; margin:0 auto; display:table;}  
#sitemain .right-thumb-content, .nosidebar .right-thumb-content{width:60%;}
#sitemain .user-comment .left, .nosidebar .user-comment .left{display:none;}
#sitemain .user-comment, .nosidebar .user-comment{ padding:5px;}
#sitemain .team-social-icon a, .nosidebar .team-social-icon a{width:25px;}

#sitemain .news a.read-more, .nosidebar .news a.read-more{ padding-left:0; padding-right:0; text-align:center; width:100%; left:0;}
#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{ margin-right:0;}
.sitefull .photobooth .gallery ul li, .photobooth .gallery ul li{ width:20%; height:158px;}
.photobooth .gallery ul li:hover a::before {margin:10px 7px 7px;}
.photobooth .gallery ul li img {min-height:158px;}
#recent-work .container {width:auto; padding:0;}
.footer-photos img {width:48%;}
.footer-photos a:nth-child(2n) img {margin-right:0 !important;}
.footer-photos a:nth-child(3n) img {margin-right:6px;}
.cols-4 .widget-column-2 {margin:0 3%;}
.cols-4 .widget-column-3 {margin-right:3%;} 
#sidebar{ width:230px;}
.site-main{ width:65%;}
#sitemain .photobooth .gallery ul li, .nosidebar .photobooth .gallery ul li{ width:20%;}

.news-box .news-thumb img { min-height:inherit;}
.nivo-directionNav a.nivo-prevNav {top:45% !important;}
.nivo-directionNav a.nivo-nextNav {top:45% !important;}

}

@media screen and (max-width:1169px) and (min-width:980px) { 
.header .header-inner {padding:0;}
.header .header-inner .logo{width:auto; margin:30px 0 15px;}
.header .header-inner .nav{ padding-left:0; width:auto;}
.header .header-inner .nav ul li:hover > ul {top:77px;}
.header .header-inner .nav ul li a {padding:25px 0 30px 30px;}
.header-right{width:auto;}
.header-right .column1{width:auto;}
.header-right .column2{width:auto; padding:0; margin:0 0 0 20px;}
.date-news{ width:70px;}
#sitemain .team-social-icon a, .nosidebar .team-social-icon a{width:35px;}
#contactform_main input[type="text"], #contactform_main input[type="email"], #contactform_main input[type="tel"], #contactform_main input[type="url"], .wpcf7 form input[type="text"], .wpcf7 form input[type="email"], .wpcf7 form input[type="tel"]{ width:37%;}

#sidebar{ width:300px;}
.footer-top .column1{ margin-right:2%; width:28.5%; min-height:60px;}
.footer i{ margin-right:10px;}

#sitemain .threebox, .nosidebar .threebox{ text-align:left;}
#sitemain .ourclasses_col, .nosidebar .ourclasses_col{ min-height:260px;}
}

@media screen and (max-width:979px){
.toggleMenu{display: block;}
.getaquote{ position:relative; margin:0 auto 5% auto; float:none; display:table;}

.header .header-inner .nav{float:none; margin:0; padding:0; position:relative; overflow-x:hidden; clear:both;}
.header .header-inner .nav ul{color:#000; width:100% !important; float:none !important; margin:0; padding:0;}
.header .header-inner .nav ul li{display:block; float:none; text-align:left; padding:0;}
.header .header-inner .nav ul li a{padding:5px 10px !important; display:block; color:#000; border-bottom:1px #cccccc solid; border-right:none; }
.header .header-inner .nav ul li a:hover{color:#ffffff;}
.header .header-inner .nav ul li ul, .header .header-inner .nav ul li ul ul{ display:block !important;}
.header .header-inner .nav ul li ul li a:before{content:"\00BB \00a0";}
.header .header-inner .nav ul li ul li a{padding-left:20px !important;}
.header .header-inner .nav ul li ul li ul li a{padding-left:30px !important;}
.header .header-inner .nav ul li ul li ul li ul li a{padding-left:40px !important;}
.header .header-inner .nav ul li:hover > ul{ background:none transparent !important; width:auto !important; display:block; position: relative !important; left:0; right:0; top:0;}
.header .header-inner .nav ul li:hover ul li ul, .header .header-inner .nav ul li:hover ul li:hover > ul, .header .header-inner .nav ul li:hover ul li:hover > ul li ul{  background: transparent !important; display:block; position:relative !important;  right:0; left:0; top:0;}
.header .header-inner .nav ul li:hover ul li:hover ul, .header .header-inner .nav ul li:hover ul li:hover ul li:hover ul{ left:0 !important;}

}
@media screen and (min-width:870px) and (max-width:1169px) {
.mis-slider li.mis-slide.mis-current figcaption {width:830px !important; margin-left:-65%;}
}
