/* Responsive CSS
 * Author : MAQK
 * Author URI : www.aivahthemes.com
======================================================================== */


/* Mobile Menu
======================================================================== */

@media only screen and (max-width : 959px ) {

	.front-boxes .vc_column-inner,
	.front-boxes .vc_column_container { margin-top: 0px !important; margin-bottom: 0px !important; }
	.entry-content-wrapper .bcallout { margin-top: 0 !important; }

	/* MiniCart Hidden */
	.minicart-wrap{ display: none!important; }

	.iva-mobile-dropdown {
		display: block;
		margin: 20px 0;
	}

}


/* Regular Desktop Resolution
======================================================================== */

@media only screen and (min-width : 1025px) and (max-width : 1169px) {

	img { width:auto; max-width:100%; height:auto;}
	figure img { width: auto; max-width: 100%; height: auto; }

	.inner,
	.pagemid > .inner,
	.section_inner,
	.videoslider,
	.header .header-area,
	.subheader-inner,
	.iva_bk_inner {  width: 1000px !important; }

	#boxed #wrapper {
		width: auto !important;
		margin:0 auto;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}

}

/* Small Desktop Resolution and iPad Landscape
======================================================================== */
@media only screen and (min-width : 960px) and (max-width : 1024px) {

	img { width:auto; max-width:100%; height:auto;}
	figure img { width: auto; max-width: 100%; height: auto; }

	.vc_column_container { margin-top: 0px !important; }

	.fixed-header { position: relative !important; }
	#boxed #wrapper {
		width: auto !important;
		margin:0 auto;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}

	.inner,
	.pagemid > .inner,
	.section_inner,
	.videoslider,
	.page_content,
	.iva_mmenu,
	.subheader-inner {  width: 940px !important;  }

	.header .menu-dropdown {  display: block; right: 0px !important; float: right; }

	.callOutBox .callout_text { float: none;}
	.callout_text .fancyheading { text-align: center; }
	.callOutBox .callout_btn { float: none; margin: 0 auto; display: table; }

    /* @since 3.3.0 */
	.header-area { width: 100%; }

	.header-style2 #atp_menu,
	#atp_menu { display: none; }
	.iva-mobile-dropdown { display:block; }
	#iva-mobile-nav-icon { margin: 30px auto;}
	.iva-mobile-menu { margin: 0 auto;  }

	.header-area .icn_wrap { display: none;}
	.header-area .logo { padding-left: 40px;}

	.header-style3 .logo,
	.header-style2 .logo { display: table-cell; padding: 0 20px;}

	.header-style3 .iva-mobile-dropdown,
	.header-style2 .iva-mobile-dropdown {
		display: block;
	    position: absolute !important;
	    top: 50%;
	    right: 15px;
	    margin-top: -10px !important;
	}

}


/* iPad Portrait
======================================================================== */
@media only screen and (min-width: 768px) and (max-width: 959px) {

	img { width:auto; max-width:100%; height:auto;}
	figure img { width: auto; max-width: 100%; height: auto; }

	.wpb_column { margin-bottom:15px; }

	.fixed-header { position:relative; }

	.callOutBox .callout_btn { float: left !important; margin-left: 10px; margin-top: 10px; }

	#boxed #wrapper {
		width: auto !important;
		margin:0 auto;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}

	.inner,
	.pagemid > .inner,
	.videoslider,
	.page_content,
	.section_inner,
	.subheader-inner {  width: 90% !important;  }

	.header-style2 .menu-inner { width: auto !important; }
	.header-style2 .primarymenu { border: none; display: table-cell; padding: 0; position: relative; vertical-align: middle; }
	.header-style2 .logo { display: table-cell; }
	.header-style3 .iva-mobile-dropdown { margin: 10px 0 10px auto; }
	.header-style4 { position: relative; }

	.leftsidebar .content-area,
	.rightsidebar .content-area {
		float: none;
		width: auto;
		padding-left:0;
		padding-right:0;
		border: none;
	}

	/* Footer 2 Columns */
	.one_fourth { width: 48%; }
	.one_fourth:nth-child(even) { margin-right: 0;}

	.rightsidebar #sidebar,
	.leftsidebar #sidebar { float:left; width:100%; }

	.rightsidebar #sidebar .content { padding-left:0; border:none; }
	.leftsidebar #sidebar .content { padding-right:0; border:none; }
	.section_bg { background-image: none !important;}
	.header-style4 .search-box { display:none !important; }
	.check-wrap { margin-left: 0; display: inline-block; }

	.partial_section_image { display: block; width: 100%; }
	.partial_section_content { display: block; width: 100%; }

	.sf-menu,
	.dcjq-mega-menu{ display:none !important; }
	.services-box { margin-top: 0 !important; }

    /* @since 3.3.0 */
	.header-area { width: 100%; }
	#atp_menu { display: none; }
	.iva-mobile-dropdown { display:block; }
	#iva-mobile-nav-icon { margin: 30px auto;}

	.header-style4 .icn_wrap_align { float: none; display:none !important; }
	.iva-mobile-menu { margin: 0 auto;  }
	.header-style4 .menuwrap { float: none; }
	.iva-mobile-dropdown {
		display: block;
		margin: 20px 0;
	}
	.header-area .icn_wrap { display: none;}
	.header-area .logo { padding-left: 40px;}

	#iva-bk-form .one_third { width: 100%; margin-right: 0; }
	#iva-bk-form .iva-date-ui.ui-datepicker { max-width: 100%; }

}


/* ----------- iPhone 4 and 4S ----------- */
/* Portrait and Landscape */
@media only screen and (min-width: 320px) and (max-width: 480px) {

	img { width:auto; max-width:100%; height:auto;}
	figure img { width: auto; max-width: 100%; height: auto; }

	.fixed-header { position:relative; }
	.wpb_column { margin-bottom:15px;}
	.callOutBox .callout_btn { float: left !important; margin-left: 10px; margin-top: 10px; }
	#boxed #wrapper {
		width: auto !important;
		margin:0 auto;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}

	.leftsidebar .content-area { float:none; width: auto; padding-left:0; border: none; }
	.rightsidebar .content-area { float:none; width: auto; padding-right:0; border: none; }

	.sermon-thumb,
	.iva-location-image { display: block !important; float: none !important; width: auto !important; margin-right:0 !important; }

	.iva-location-indetails,
	.iva-location-details { display: block !important; width: auto !important; }

	.inner,
	.pagemid > .inner,
	.section_inner,
	.videoslider,
	.subheader-inner,
	.menu-inner,
	.iva_mmenu,
	.page_content {  width: 90%;  }

	.rightsidebar #sidebar,
	.leftsidebar #sidebar { float:left; width:100%; }

	.rightsidebar #sidebar .content {padding-left:0; border:none;}
	.leftsidebar #sidebar .content {padding-right:0; border:none;}

	.header-style2 .logo { display: block; }

	.one_half,
	.one_third,
	.two_third,
	.one_fourth,
	.one_fifth,
	.four_fifth,
	.one_sixth,
	.five_sixth,
	.two_fifth,
	.three_fifth,
	.three_fourth { width: 100%;  margin-right:0; }

	.section_bg { background-image: none !important;}

	.copyright_left,
	.copyright_right { width:100%; float:none; text-align:center; }

	.pricetable .column { float: none; width: 100%; border-width:1px; margin-bottom: 20px; }
	.post-metadata { display: none; }

	.subdesc,
	.breadcrumbs { float: none !important; display: block !important; }

	.iva_one_half, .iva_one_third  { width:100%;}
	.iva-testimonial { display:block; border-width:0 0 1px 0; }

	.vertabs .tabs { float: none; width:100%; }
	.vertabs .tabs li { border-width:1px 1px 0; }
	.vertabs .tabs li:last-child { border-width:1px 1px 1px 1px; }

	.iva-np-title { display:none;}
	.iva-np-allitems,
	.iva-np-navs { width: 160px;}

	/* .flex-caption { display:none !important; } */

	.tc-details { float: none; margin-bottom: 15px; }
	.header-style2 .menu-dropdown { margin-top: 30px;}

	/* New Fixes */
	.fancyheading .xlarge { font-size: 30px !important; }
	.fancyheading .large { font-size: 26px !important; }
	.vertabs .tabs li, .hortabs .tabs li { width: 100%; float: none; }

	blockquote.alignright,
	blockquote.alignleft,
	blockquote.aligncenter { width: 100% !important; margin-right:0 !important; margin-left:0 !important;}

	.fixed-header .header-area { height: auto; }

    .header-area { width: 100%; }
	#atp_menu { display: none; }
	.iva-mobile-dropdown { display:block; }
	#iva-mobile-nav-icon { margin: 20px auto;}

	.header-style4 .topbar,
	.header-style4 .icn_wrap_align { display:none !important; }
	.iva-mobile-menu { margin: 0 auto;  }
	.header-style4 .menuwrap { float: none; }
	.iva-mobile-dropdown {
		display: block;
		margin: 20px 0;
	}

}

/* ----------- iPhone 5 and 5S ----------- */
/* Portrait and Landscape */
@media only screen and (min-width: 320px) and (max-width: 568px) {

	img { width:auto; max-width:100%; height:auto;}
	figure img { width: auto; max-width: 100%; height: auto; }

	.fixed-header { position:relative; }

	.wpb_column { margin-bottom:15px;}
	.callOutBox .callout_btn { float: left !important; margin-left: 10px; margin-top: 10px; }
	#boxed #wrapper {
		width: auto !important;
		margin:0 auto;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}

	.inner,
	.pagemid > .inner,
	.section_inner,
	.videoslider,
	.subheader-inner,
	.menu-inner,
	.iva_mmenu,
	.page_content { width: 90% !important; }

	.header-style2 .primarymenu { border: none; display: table-cell; padding: 0; position: relative; vertical-align: middle; }
	.header-style2 .logo { display: table-cell;}
	.header-style3 .iva-mobile-dropdown { margin: 0; }

	.rightsidebar #sidebar,
	.leftsidebar #sidebar { float:left; width:100%; }

	.leftsidebar .content-area { float:none; width: auto; padding-left:0; border: none; }
	.rightsidebar .content-area { float:none; width: auto; padding-right:0; border: none; }

	.rightsidebar #sidebar .content {padding-left:0; border:none;}
	.leftsidebar #sidebar .content {padding-right:0; border:none;}

	.subdesc,
	.breadcrumbs { float: none !important; display: block !important; }

	.one_half,
	.one_third,
	.two_third,
	.one_fourth,
	.one_fifth,
	.four_fifth,
	.one_sixth,
	.five_sixth,
	.two_fifth,
	.three_fifth,
	.three_fourth { width: 100%; float: none;  margin-right:0; }

	.section_bg { background-image: none !important;}

	.copyright_left,
	.copyright_right { width:100%; float:none; text-align:center; }

	.pricetable .column { float: none; width: 100%; border-width:1px; margin-bottom: 20px; }
	.post-metadata { display: none; }
	.iva_one_half, .iva_one_third { width:100%;}
	.iva-testimonial { display:block; border-width:0 0 1px 0; }

	.vertabs .tabs { float: none; width:100%; }
	.vertabs .tabs li { border-width:1px 1px 0; }
	.vertabs .tabs li:last-child { border-width:1px 1px 1px 1px; }

	.iva-np-title { display:none;}
	.iva-np-allitems,
	.iva-np-navs { width: 160px;}

	/* .flex-caption { display:none !important; } */

	.tc-details { float: none; margin-bottom: 15px; }
	.header-style2 .menu-dropdown { margin-top: 30px;}

	/* New Fixes */
	.fancyheading .xlarge { font-size: 30px !important; }
	.fancyheading .large { font-size: 26px !important; }
	.vertabs .tabs li, .hortabs .tabs li { width: 100%; float: none; }

	blockquote.alignright,
	blockquote.alignleft,
	blockquote.aligncenter { width: 100% !important; margin-right:0 !important; margin-left:0 !important;}

	.fixed-header .header-area { height: auto; }

    .header-area { width: 100%; }
	#atp_menu { display: none; }
	.iva-mobile-dropdown { display:block; }
	#iva-mobile-nav-icon { margin: 20px auto;}

	.header-style4 .topbar,
	.header-style4 .icn_wrap_align { display:none !important; }
	.iva-mobile-menu { margin: 0 auto;  }
	.header-style4 .menuwrap { float: none; }
	.iva-mobile-dropdown {
		display: block;
		margin: 20px 0;
	}

	.topbar { text-align: center; }
	.topbar .one_half { display: inline; }
	ul.atpsocials { display: table; margin: auto;}

}

/* ----------- iPhone 6 ----------- */
/* Portrait */
@media only screen and (min-width: 375px) and (max-width: 667px) and (orientation: portrait) {

    .header-area { width: 100%; }
	#atp_menu { display: none; }
	.iva-mobile-dropdown { display:block; }
	#iva-mobile-nav-icon { margin: 20px auto;}

	.header-style4 .topbar,
	.header-style4 .icn_wrap_align { display:none !important; }
	.iva-mobile-menu { margin: 0 auto;  }
	.header-style4 .menuwrap { float: none; }
	.iva-mobile-dropdown {
		display: block;
		margin: 20px 0;
	}
	.header-area .icn_wrap { display: none; }
	.header-area .logo { padding-left: 20px; }
}

/* Landscape */
@media only screen and (min-width: 375px) and (max-width: 667px) and (orientation: landscape) {

    .header-area { width: 100%; }
	#atp_menu { display: none; }
	.iva-mobile-dropdown { display:block; }
	#iva-mobile-nav-icon { margin: 20px auto;}

	.header-style4 .topbar,
	.header-style4 .icn_wrap_align { display:none !important; }
	.iva-mobile-menu { margin: 0 auto;  }
	.header-style4 .menuwrap { float: none; }
	.iva-mobile-dropdown {
		display: block;
		margin: 20px 0;
	}

	.header-area .icn_wrap { display: none; }
	.header-area .logo { padding-left: 20px; }

}

/* ----------- iPhone 6+ ----------- */

/* Portrait */
@media only screen and (min-width: 412px) and (max-width: 736px) and ( orientation: portrait) {
    /* @since 3.3.0 */
	#atp_menu { display: none; }
	.iva-mobile-dropdown { display:block; }
	#iva-mobile-nav-icon { margin: 20px auto;}

	.header-style4 .topbar,
	.header-style4 .icn_wrap_align { display:none !important; }
	.iva-mobile-menu { margin: 0 auto;  }
	.header-style4 .menuwrap { float: none; }
	.iva-mobile-dropdown {
		display: block;
		margin: 20px 0;
	}
	.header-area .icn_wrap { display: none; }
	.header-area .logo { padding-left: 20px; }
}

/* Landscape */
@media only screen and (min-width: 412px) and (max-width: 736px) and ( orientation: landscape) {
    /* @since 3.3.0 */
	#atp_menu { display: none; }
	.iva-mobile-dropdown { display:block; }
	#iva-mobile-nav-icon { margin: 20px auto;}

	.header-style4 .topbar,
	.header-style4 .icn_wrap_align { display:none !important; }
	.iva-mobile-menu { margin: 0 auto;  }
	.header-style4 .menuwrap { float: none; }
	.iva-mobile-dropdown {
		display: block;
		margin: 20px 0;
	}

	.header-area .icn_wrap { display: none; }
	.header-area .logo { padding-left: 20px; }

}

/* Small Mobile Devices
======================================================================== */
@media only screen and (min-width: 240px) and (max-width: 320px) {

	img { width:auto; max-width:100%; height:auto;}
	figure img { width: auto; max-width: 100%; height: auto; }

	.fixed-header { position:relative; }

	.wpb_column { margin-bottom:15px;}
	.callOutBox .callout_btn { float: left !important; margin-left: 10px; margin-top: 10px; }
	#boxed #wrapper { width: auto !important; margin:0 auto; -webkit-box-shadow: none; box-shadow: none; }

	.inner,
	.pagemid > .inner,
	.section_inner,
	.videoslider,
	.subheader-inner,
	.iva_mmenu,
	.menu-inner,
	.iva_bk_inner ,
	.leftsidebar .content-area,
	.rightsidebar .content-area,
	.page_content {  width: 90% !important; margin: 0 auto; }

	.leftsidebar .content-area { width: auto; padding-left:0; border: none; }
	.rightsidebar .content-area { width: auto; padding-right:0; border: none; }

	.iva-location-image { float: none !important; width: auto !important; margin-right:0 !important; }

	.iva-location-indetails,
	.iva-location-details { width: auto !important; }

	.rightsidebar #sidebar,
	.leftsidebar #sidebar { float:left; width:100%; }

	.rightsidebar #sidebar .content { padding-left:0; }
	.leftsidebar #sidebar .content { padding-right:0; }

	.one_half,
	.one_third,
	.two_third,
	.one_fourth,
	.one_fifth,
	.four_fifth,
	.one_sixth,
	.five_sixth,
	.two_fifth,
	.three_fifth,
	.three_fourth { width: 100%;  margin:0 auto; float:none;}

	.section_bg { background-image: none !important;}

	.topbar * { text-align:center !important; }

	.copyright_left,
	.copyright_right { width:100%; float:none; text-align:center; }

	.pricetable .column { float: none; width: 100%; border-width:1px; margin-bottom: 20px; }

	.post-metadata { display: none; }

	.subdesc,
	.breadcrumbs { float: none !important; display: block !important; }

	.iva_one_half, .iva_one_third { width:100%;}
	.iva-testimonial { display:block; border-width:0 0 1px 0; }

	.vertabs .tabs { float: none; width:100%; }
	.vertabs .tabs li { border-width:1px 1px 0; }
	.vertabs .tabs li:last-child { border-width:1px 1px 1px 1px; }

	.iva-np-title { display:none;}
	.iva-np-allitems,
	.iva-np-navs { width: 160px;}

	.header-style4 .search-box { display:none !important; }

	.tc-details { float: none; margin-bottom: 15px; }
	.header-style2 .menu-dropdown { margin-top: 30px;}

	/* New Fixes */
	.fancyheading .xlarge { font-size: 30px !important; }
	.fancyheading .large { font-size: 26px !important; }
	.vertabs .tabs li, .hortabs .tabs li { width: 100%; float: none; }

	blockquote.alignright,
	blockquote.alignleft,
	blockquote.aligncenter { width: 100% !important; margin-right:0 !important; margin-left:0 !important;}

	.fixed-header .header-area { height: auto; }

    .header-area { width: 100%; }
	.header-area .icn_wrap { display: none; }
	.header-area .logo { padding-left: 20px; }

    /* @since 3.3.0 */
	#atp_menu { display: none; }
	#iva-mobile-nav-icon { margin: 20px auto;}

	.header-style4 .topbar,
	.header-style4 .icn_wrap_align { display:none !important; }
	.iva-mobile-menu { margin: 0 auto;  }
	.header-style4 .menuwrap { float: none; }
	.iva-mobile-dropdown {
		display: block;
		margin: 20px 0;
	}

	.header-style3 .logo,
	.header-style2 .logo { display: table-cell; padding: 0 20px;}
	.header-style3 .iva-mobile-dropdown,
	.header-style2 .iva-mobile-dropdown {
		display: block;
	    position: absolute !important;
	    top: 50%;
	    right: 15px;
	    margin-top: -10px !important;
	}
	.topbar { text-align: center; }
	.topbar .one_half { display: inline; }
	ul.atpsocials { display: table; margin: auto;}

}


/* Responsive Header
======================================================================== */
@media only screen and (max-width : 767px ) {

	img { width:auto; max-width:100%; height:auto;}
	figure img { width: auto; max-width: 100%; height: auto; }

	.fixed-header { position:relative; }

	/* Header */
	#fixedheader .menuwrap { display: block; position: absolute; top: 50%;  right: 10px; margin-top: -18px; }

	.nomargin.one_half,	.nomargin.one_third, .nomargin.two_third,
	.nomargin.one_fourth, .nomargin.one_fifth, .nomargin.four_fifth,
	.nomargin.one_sixth, .nomargin.five_sixth, .nomargin.two_fifth,
	.nomargin.three_fifth, .nomargin.three_fourth {
		margin-bottom: 20px;
		float: none;
		width: 100%;
	}

	.partial_section_image { display: block; width: 100%; }
	.partial_section_content { display: block; width: 100%; }
	.iva-bookings { margin: 0 0 10px 0 !important; }

	.header-s3-right { display: none; }
	.sf-menu,
	.dcjq-mega-menu{ display:none !important; }

	.topbar-right .atpsocials { float: none; margin: 5px 0; }
	.offers-content { padding: 30px 0; }
	.special_offers_item { padding: 0; }

	.fixed-header .header-area { height: auto; }

    /* @since 3.3.0 */
	#atp_menu { display: none; }
	#iva-mobile-nav-icon { margin: 30px auto;}

	.header-style4 .topbar,
	.header-style4 .icn_wrap_align { display:none !important; }
	.iva-mobile-menu { margin: 0 auto;  }
	.header-style4 .menuwrap { float: none; }
	.header-style4 { position: relative; }
	.iva-mobile-dropdown {
		display: block;
		margin: 20px 0;
	}

	.header-area .icn_wrap { display: none; }
	.header-area .logo { padding-left: 20px; }

	.header-style3 .logo,
	.header-style2 .logo { display: table-cell; padding: 0 20px;}
	.header-style3 .iva-mobile-dropdown,
	.header-style2 .iva-mobile-dropdown {
		display: block;
	    position: absolute !important;
	    top: 50%;
	    right: 15px;
	    margin-top: -10px !important;
	}

	#footer .textright { text-align: left; }
}
