/* Mobile Portrait View */
@media screen and (max-width:767px) {
*{box-sizing:border-box;}
.container { width:auto; padding:0 20px;}
.header { width:100%; padding:0;}
.header .header-inner{ width:100%; padding:15px 0 0;}
.header .header-inner .logo{ float:none; text-align:center; margin:0; padding:0;}
.header .header-inner .logo img{ max-width:90%; height:37px;}
/*coloumn css*/
.one_half, .one_third, .two_third, .one_fourth, .three_fourth, .one_fifth, .four_fifth{ float:none; width:100%; margin:0 0 5% !important;}

/*sidebar css*/
#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;}
/*gallery css */
.photobooth .filter-gallery{ width:auto;}
#sitefull .photobooth .gallery ul li, .photobooth .gallery ul li{ width:100%;}
.photobooth .gallery ul li img{ height: auto;}
/* --------- Pages ------- */
.content-area{ width:auto; margin:0; padding:50px 20px;}
.site-main{ width:auto; margin:0; padding:0; float:none;}
/*slider css*/
#slider{ top:0; margin:0;}
.nivo-directionNav a{ top:39% !important;}

/*pricing table*/
.pricing_table.pcol1 .price_col{width:100%;}
.pricing_table.pcol2 .price_col{width:100%;}
.pricing_table.pcol3 .price_col{width:100%;}
.pricing_table.pcol4 .price_col{width:100%;}
.pricing_table.pcol5 .price_col{width:100%;}
.highlight{margin-top:10px !important;}
.nivo-caption{ display:none !important;}
/**custom css*/
section#videopart{margin:0; padding:40px 0;}
.sermons-listing, .welcome-wrap, .pm-wrap{ text-align:center;}
.box_first img{ float:none; margin-right:0;}
.box_first, .box_second{ width:auto; float:none; text-align:center; margin-bottom:5px;}
.colmnleft, .colmnright{ width:auto; float:none; margin:0 0 5%}
.list_sermons img, .list_pastors img{ float:none; margin-right:0;}
.newsletter, .newsletter-form{ width:auto; float:none; padding:2%; background:transparent;}
.newsletter-form input[type="text"], .newsletter-form input[type="email"]{ width:100%; float:none; margin-bottom:2%;}

/*event list*/
section#upcoming-events, section#testimonials{ background-size:cover;}
.event_table{ text-align:center;}
.event_table .event_row{ margin-bottom:10px;}
.event_row .date, .event_row .title, .event_row .start_time, .event_row .place, .event_row .rdmore{ float:none; width:100%; line-height:25px;}
.event_row .date strong{ float:none;}
.event_row .date span{ display:inline-block; float:none;}
.event_row .place, .event_row .start_time{ border:0px !important;}
/*latest news*/
.news-box, .news-box .imbbox{ width:auto; float:none; margin:0 0 5%; text-align:center;}
#testimonials ul li{ text-align:center;}
#testimonials ul li img{ float:none;}

.teammember-list{ width:auto; float:none; margin:0 0 10%;}
.contact_left, .contact_right{ float:none; width:100%; margin-bottom:10%;}

/*footer css*/
.cols-4{ float:none; width:100% !important; display:block; margin-right:0; text-align:center;}
.copyright-txt, .design-by { text-align:center; 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:100%;}
.recent-post img{ float:none; width:auto; margin-right:0;}

}

/* Mobile Landscape View */
@media screen and (min-width: 480px) and (max-width: 767px){
.nivo-caption { width:80% !important; top:45% !important; display:block !important;}
.slide_info h2{ font-size:30px !important; padding:0px 25px !important;}
.slide_info .slide-desc{ padding:5px 25px !important;}
}

/* Tablet View */
@media screen and (max-width:1099px) and (min-width:768px) { 
*{box-sizing:border-box;}
.container { width:auto; padding:0 20px;}
.header .header-inner{ width:auto; padding:15px 0 0;}
.header .header-inner .logo{ margin:0; padding:0; float:none; text-align:center;}
/*slider css*/
.slide_info h2{ font-size:40px !important;}
.content-area{ width:auto; margin:0; padding:50px 20px;}

.quovolve-nav .nav-next a{ right:0px;}
#sitefull .photobooth .gallery ul li, .photobooth .gallery ul li{ width:24.5%;}
.photobooth .gallery ul li img{ min-height:175px;}
.cols-4{ width:20%; margin-right:5%;}
.cols-4 h5{ font-size:20px !important;}
.news-box{ width:48%;}
#sidebar{ width:30%;}
.site-main{ width:65%;}

/*pricing table*/
.pricing_table.pcol1 .price_col{width:99%;}
.pricing_table.pcol2 .price_col{width:49.5%;}
.pricing_table.pcol3 .price_col{width:33%;}
.pricing_table.pcol4 .price_col{width:24.75%;}
.pricing_table.pcol5 .price_col{width:19.75%;}
.nivo-caption { width:70% !important}
/*custom css*/
.box_first h5{ font-size:15px !important;}
.box_first img{ margin-right:30px;}
.social-links a{ width:45px; height:45px; line-height:45px; font-size:15px; margin:0 4px 7px;}
.newsletter, .newsletter-form{ width:auto; float:none; padding:2%; background:transparent;}
.newsletter-form input[type="text"], .newsletter-form input[type="email"]{ width:100%; float:none; margin-bottom:2%;}
/*event  lists*/
section#upcoming-events, section#testimonials{ background-size:cover;}
.event_table{ text-align:center;}
.event_table .event_row{ margin-bottom:10px;}
.event_row .date, .event_row .title, .event_row .start_time, .event_row .place, .event_row .rdmore{ float:none; width:100%; line-height:25px;}
.event_row .date strong{ float:none;}
.event_row .date span{ display:inline-block; float:none;}
.event_row .place, .event_row .start_time{ border:0px !important;}
.news-box .imbbox{ float:none; width:auto; margin:0 0 5px;}

}

@media screen and (max-width:1099px) and (min-width:980px) { 
html{overflow-x:hidden; }
/*pricing table*/
.pricing_table.pcol1 .price_col{width:99%;}
.pricing_table.pcol2 .price_col{width:49.5%;}
.pricing_table.pcol3 .price_col{width:33%;}
.pricing_table.pcol4 .price_col{width:24.75%;}
.pricing_table.pcol5 .price_col{width:19.75%;}

.newsletter{ float:left; width:35%; padding:2% 0 3% 3%; background:url(../images/sepretor-arrow.png) no-repeat top right ; }
.newsletter-form { float: right;width: 60%;  padding: 2.5% 3% 2.3% 0;  }
.newsletter-form input[type="text"], .newsletter-form input[type="email"]{ width:36%; float:left; margin-bottom:2%;}

}

@media screen and (max-width: 1099px){
.toggleMenu{display: block;}
.header .header-inner .nav{float:none; margin:0; position:relative; overflow-x:hidden; background-color:#a2a2a2; }
.header .header-inner .nav ul{color:#000; width:100% !important; float:none !important; margin:0; padding:0;}
.header .header-inner .nav ul li{border-top:1px #cccccc solid; display:block; float:none; text-align:left;}
.header .header-inner .nav ul li a{padding:5px 10px !important; display:block; color:#000;}
.header .header-inner .nav ul li a:hover{color:#ffffff;}
.header .header-inner .nav ul.sub-menu{ margin-left:10px;}
.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:hover > ul{ background:none !important;}

.header .header-inner .nav ul li:hover > ul{ background: 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;}