/* 
 Theme Name:     IHC Website (Divi child theme)
 Theme URI:      http://www.websiteministries.com
 Description:    A custom designed child-theme for IHC
 Author:         Website Ministries LLC
 Author URI:     https://www.websiteministries.com
 Template:       Divi
 Version:        1.1.0
*/ 

@import url("../Divi/style.css"); 
/* Pull in Google Fonts */


.spamfilter {display:none !important;}


/* =Theme customization starts here 
------------------------------------------------------- */ 

/* Add Text to Mobile Menu (requires javascript to make it clickable */
.et_mobile_nav_menu:before {
    content: 'MENU';
    font-size: 24px;
    position: relative !important;
    top: -9px;
    color: #FFFFFF;
	font-weight: 700 !important;
	cursor:pointer;
}

/* Add space to the left and right of the menu */
.et_pb_menu__logo {margin-left:10px;}
.et_mobile_nav_menu {padding-right:10px;}

/* Center-align moble menu items */
.et_mobile_menu li > a {
/*text-align:center !important;*/
font-weight:700;
}
  
.et_mobile_menu li li, .et_mobile_menu li ul {
padding-left:0px !important;
}
/* Change hamburger menu to X when open */
.mobile_nav.opened .mobile_menu_bar:before {
content: "\4d";
}

/* Make mobile menu fullwidth */
.container.et_menu_container { width:95%;}

/*change hamburger icon to x when mobile menu is open*/
#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before,
.et_pb_module.et_pb_menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
	content: '\4d';
}

/*adjust the new toggle element which is added via jQuery*/
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
ul.et_mobile_menu li.page_item_has_children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.page_item_has_children .mobile-toggle {
	width: 44px;
	height: 100%;
	padding: 0px !important;
	max-height: 44px;
	border: none;
	position: absolute;
	right: 0px;
	top: 0px;
	z-index: 999;
	background-color: transparent;
}

/*some code to keep everyting positioned properly*/
ul.et_mobile_menu>li.menu-item-has-children,
ul.et_mobile_menu>li.page_item_has_children,
ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.page_item_has_children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children {
	position: relative;
}

/*remove default background color from menu items that have children*/
.et_mobile_menu .menu-item-has-children>a,
.et-db #et-boc .et-l .et_mobile_menu .menu-item-has-children>a {
	background-color: transparent;
}

/*hide the submenu by default*/
ul.et_mobile_menu .menu-item-has-children .sub-menu,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu {
	display: none !important;
	visibility: hidden !important;
}

/*show the submenu when toggled open*/
ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible {
	display: block !important;
	visibility: visible !important;
}

/*adjust the toggle icon position and transparency*/
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle {
	text-align: center;
	opacity: 1;
}

/*submenu toggle icon when closed*/
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after {
	top: 10px;
	position: relative;
	font-family: "ETModules";
	content: '\33';
	color: #AF2C30;
	/*background: #f0f3f6;*/
	border-radius: 50%;
	padding: 3px;
}

/*submenu toggle icon when open*/
ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after {
	content: '\32';
}

/*add point on top of the menu submenu dropdown*/
.et_pb_menu_0.et_pb_menu .et_mobile_menu:after {
	position: absolute;
	right: 5%;
	margin-left: -20px;
	top: -14px;
	width: 0;
	height: 0;
	content: '';
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-bottom: 20px solid #ffffff;
}

/*adjust the position of the hamburger menu*/
.mobile_menu_bar {
	position: relative;
	display: block;
	bottom: 10px;
	line-height: 0;
}

/*force the background color and add a rounded border*/
.et_pb_menu_0.et_pb_menu .et_mobile_menu,
.et_pb_menu_0.et_pb_menu .et_mobile_menu ul {
	background-color: #ffffff!important;
	border-radius: 10px;
}

/*Make the parent menu clickable to expand submenu*/
.et_mobile_menu .menu-item-has-children .sub-menu{
display: none !important;
}

.pa-block{
display: block !important;
height: fit-content !important;
padding-top: 0 !important;
margin-top: 0 !important;
padding: 5% !important;
margin-bottom: 0 !important;
margin-top: 0 !important;
}

.et_mobile_menu .menu-item-has-children .pa-submenu{
display: block !important;
}

.opened .et_mobile_menu{
height: fit-content !important;
padding: 5% !important;
}

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle, .et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle{
	text-align: right;
	width: 100%;
    }	
	
/* Format the elements in submenus */
.sub-menu a {text-transform:none !important;  font-size:20px !important; font-weight:normal !important;}

/* Add border radius and move it up a little */
.ihc-main-menu .sub-menu {
	-webkit-border-radius: 11px;
	-moz-border-radius: 11px;
	border-radius: 11px;
	margin-top:-10px;
	}

/* Add triangle arrow to the dropdown */
.ihc-main-menu ul.nav > li > ul.sub-menu:before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #AF2C30 transparent;
    position: absolute;
    top: -10px;
    left: 30px;
}
/* Move the arrow to the center 
.ihc-main-menu ul.nav > li > ul.sub-menu:before {
    left: 50%;
    transform: translateX(-50%);
}
*/

/* Change the default dropdown animation */
.ihc-main-menu ul.nav > li > ul.sub-menu {
    transform:translateY(10px);
    transition: all .3s ease-in-out;
}
.ihc-main-menu ul.nav > li:hover > ul.sub-menu {
    transform:translateY(0);
}



/* Increase width of drop-down menus on desktop 
@media screen and (min-width: 981px) {
	.nav .sub-menu { min-width: 300px !important;}
	ul.sub-menu a { 
		width: 260px !important;
		font-size:16px !important;
		font-weight:bold !important;
		/* Extra - Reduce padding on list items * /
		padding: 4px 12px;
		}
		.sub-menu li a  {padding-left:10px !important;}
}
*/

/*set the Divi menu dropdown auto width*/
@media only screen and (min-width: 981px) {
	.nav li ul {
		width: fit-content !important;
		display: flex;
		flex-direction: column;
	}

	.nav li li {
		white-space: nowrap;
	}

	.nav li li a {
		width: auto !important;
		font-size:16px !important;
		font-weight:bold !important;
		
	}
}

/*.ihc-main-menu .et_pb_menu__menu > nav > ul > li > a {padding-top: 5px !important; padding-bottom: 5px !important;}*/
.ihc-cta-btn a {
  background-color: #AF2C30;
  margin:3px 0 5px 7px !important;
  padding: 15px 25px !important;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight:bold;
  color: #fff !important;
  text-align: center;
  transition: all 0.5s ease-in;
}

.ihc-cta-btn { padding: 15px 25px !important;}

.et_mobile_menu .ihc-cta-btn li a, .ihc-main-menu .et_mobile_menu li.ihc-cta-btn a {color: #fff !important;}
.et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu .ihc-cta-btn a {color: #fff !important;}

.et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu .ihc-cta-btn a:hover {
	background-color: #252525 !important; 
	color: #fff !important;
	opacity: 1 !important;
	}

.ihc-cta-btn a:hover, .ihc-main-menu .et_mobile_menu li.ihc-cta-btn a:hover {
	background-color: #252525; 
	transition: transition: all 0.3s ease-in; 
	opacity: .84;
	}
/* Make sure that the alignment in the menu is correct */
.et_pb_menu .et_pb_menu__menu>nav>ul>li {
    align-items: center;
}

/* Add Underline when hovering under navigational items in top slim nav row */
.link-underline-offwhite a {
  display: inline-block !important;
  padding-bottom:2px !important;
  background-image: linear-gradient(#cccccc 0 0)!important;
  background-position: 0 100% !important; /*OR bottom left*/
  background-size: 0% 2px !important;
  background-repeat: no-repeat!important;
  transition:
    background-size 0.3s,
    background-position 0s 0.3s !important; /*change after the size immediately*/
}

.link-underline-offwhite a:hover {
  background-position: 100% 100%!important; /*OR bottom right*/
  background-size: 100% 2px !important;
}

/* Add Arrow to sub-navigation rows */
.subnav-arrow-black:after {
    content:'';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 0;
    height: 0;
    border-top: solid 18px #000;
    border-left: solid 85px transparent;
    border-right: solid 85px transparent;
	z-index:1;
}

/* Set Sub Nav menu to be be 4 and 2 columns on tablet and mobile */


.wp-block-search__button {width:85px !important;}

/* Add class to vertically align column content */
.vert-align {margin: auto;}


/* Read more blog button */

.more-link {
    background-color: #AF2C30;
    display: inline-block !important;
    color: #fff;
    padding: 10px 20px;
    margin-top: 15px;
    text-transform: uppercase;
	text-align:center;
}


#ihc-product-search-results  .more-link {
    background-color: #AF2C30;
    display: block !important;
    color: #fff;
    padding: 10px 20px;
    margin-top: 15px;
    text-transform: uppercase;
	text-align:center;
}

.archive .convention-herald-feed  .post-content a.more-link {
    background-color: #AF2C30;
	text-align:center;
    display: inline-block !important;
    color: #fff !important;
    padding: 10px 20px;
    margin-top: 15px;
    text-transform: uppercase;
	text-align:center;
}


.addtoany_shortcode { text-align:center; }
.addtoany_shortcode .a2a_kit_size_42 a {padding-left:25px; padding-right:25px;}

/* WP Forms Submit Button styles */
div.wpforms-container-full .wpforms-form input[type=submit], 
div.wpforms-container-full .wpforms-form button[type=submit] {
    padding-top: 14px !important;
	padding-bottom: 14px !important; /* Increase distance between text and border */
   background-color: #507A7C !important;
    color: #fff; /* White text */
	width:100%;
}
/* WP Forms Submit Button Hover styles */

div.wpforms-container-full .wpforms-form input[type=submit]:hover, 
div.wpforms-container-full .wpforms-form input[type=submit]:active, 
div.wpforms-container-full .wpforms-form button[type=submit]:hover, 
div.wpforms-container-full .wpforms-form button[type=submit]:active, 
div.wpforms-container-full .wpforms-form .wpforms-page-button:hover, 
div.wpforms-container-full .wpforms-form .wpforms-page-button:active { 
    background-color:#667E7F;
}
/* WP Forms Submit Center */
.wpforms-submit-container {/*text-align:center;*/}





/* >>>>>>>>>>>>>>>>>>>>>>>>>>>> Posts Customizations (Convention Herald) <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/


.convention-herald-bg {backdrop-filter: blur(16px) !important;}

.archive .convention-herald-feed article  {padding-bottom:50px;}






/* >>>>>>>>>>>>>>>>>>>>>>>>>>>> WooCommerce Customizationn Styles <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
#pa_delivery {font-size:18px; text-color #383838 !important;}

.woocommerce-variation-price .woocommerce-Price-amount.amount{
	color:#AF2C30; 
	font-size:22px !important; 
	}

.woocommerce-variation-add-to-cart {margin-top:12px !important;}

li.product a.button { width:100% !important; text-align:center !important;}
/*.ihc-woo-cat .add_to_cart_button {border: 0 !important; background-color: #AF2C30 !important;}*/

/* Display cart quantity in circle in menu */
.et_pb_menu__cart-count {
    background-color: #ffffff;
    border-radius: 50%;
    border:2px solid #AF2C30;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -21px;
    margin-top: -21px;
    z-index:9;
}
/* Add extra space left of cart icon in desktop menu */
@media (min-width: 981px) {
.et_pb_menu__icon.et_pb_menu__cart-button {
    margin-left:22px
}
}

/* Adjust Return to Shop button */
#page-container .et_pb_section .et_pb_wc_cart_notice_0_tb_body .return-to-shop .wc-backward {
	background-color: #AF2C30 !important; color:#ffffff !important;
	}
	
/* Adjust size of quantity field in cart */
.input-text.qty.text {width:100% !important;}


/* >>>>>>>>>>>>>>>>>>>>>>>>>>>> Event Customization Styles <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
.single-tribe_events #page-container .et_pb_row.ihc-top-bar {width:100% !important;}



/* >>>>>>>>>>>>>>>>>>>>>>>>>>>> FiboSearch Customization Styles <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
#dgwt-wcas-search-input-1 {border:1px solid #252525 !important;}






/*--------------------------------------------------------------
Convention Herald Magazine List Formatting
--------------------------------------------------------------*/
.magazine-list-container { width:996px; max-width:95%; margin:0 auto; padding-top:10px; }
	
.magazine-container { 
	float:left; 
	width:300px; 
	min-height:795px;	
	margin:2px 15px 25px 15px;
	}
	
.magazine-box {
	min-height:650px;
	box-sizing: content-box;
	padding:10px 10px 25px 10px;
	background:#ebebeb;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}


.magazine-title,
.magazine-title a,
.magazine-title a:active,
.magazine-title a:visited
		{ width:100%; margin:5px 0; font-size:16px; text-align:center; text-decoration:none; color:#000; }

.magazine-title a:hover {text-decoration:underline; color: #5F1C63;}

.magazine-posts {padding:5px 0;}
.magazine-posts a,
.magazine-posts a:active,
.magazine-posts a:visited {
	width:100%; 
	font-size:17px; 
	font-weight:400; 
	text-align:center; 
	text-decoration:none; 
	color:#AF2C30; 
	}






@media only screen and ( max-width: 1200px) {
 .magazine-list-container { width:670px;}

	 
}



@media only screen and ( max-width: 981px) {
/* >>>>>>>>>>>>>>>>>>>>>>>>>>>> ADJUST STACKING ORDER <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
	/*** wrap row in a flex box ***/
	.stack-order {
	  display: -webkit-box;
	  display: -moz-box;
	  display: -ms-flexbox;
	  display: -webkit-flex;
	  display: flex;
		-webkit-flex-wrap: wrap; /* Safari 6.1+ */
		flex-wrap: wrap;
	}
	.first-on-mobile {-webkit-order: 1;order: 1;}
	.second-on-mobile {-webkit-order: 2;order: 2;}
	.third-on-mobile {-webkit-order: 3;order: 3;}
	.fourth-on-mobile {-webkit-order: 4;order: 4;}


.ihc-single-event-banner  .row .col-md-12 {max-width:100% !important; padding-left:0px; padding-right:0px !important;}
.ihc-single-event-banner { width:100% !important;max-width:100% !important; margin-right:-15px !important;}
.archive .convention-herald-feed  .post-content a.more-link {display: block !important; width:200px; margin: 15px auto;}

.magazine-list-container { width:350px; }	
.magazine-container { float:none; width:95%; min-height:300px; margin:40px auto;  }
.magazine-box { min-height:300px;}


}
@media only screen and ( max-width:  500px) {
/* Set WooCommerce to single column on mobile */
	.et-db #et-boc .et-l .et_pb_shop ul.products.columns-4 li.product {width: 100% !important; border: }
	.addtoany_shortcode .a2a_kit_size_42 a {padding-left:15px; padding-right:15px;}
	 
}


