/*
Theme Name: Divi Child Glenbrook
Theme URI: 
Description: Divi child theme for Glenbrook
Author: Formada
Author URI: https://formadasocial.com
Template: Divi
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: 
Text Domain: 
*/

.et_pb_post {
    margin-bottom: 20px;
    word-wrap: break-word;
}

Note that some details may need to be updated to a specific site, such as colors
/****************************************/
/** Start H Styles **/

/** Prevents multi-column layouts reducing h1 size **/
h1,
.et_pb_column_1_3 h1,
.et_pb_column_1_4 h1,
.et_pb_column_1_5 h1,
.et_pb_column_1_6 h1,
.et_pb_column_2_5 h1 {
	font-size: 48px;
}

/** Prevents multi-column layouts reducing h1 size **/
h2,
.et_pb_column_1_3 h2,
.et_pb_column_1_4 h2,
.et_pb_column_1_5 h2,
.et_pb_column_1_6 h2,
.et_pb_column_2_5 h2 {
	font-size: 38px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	line-height: 1.3em;
}

.entry-content h5,
.entry-content h6 {
	line-height: 1.8em;
}

/* Resize h1 and h2 on mobile views */
@media all and (max-width: 980px) {
	/* Mobile h1 sizes */
	h1,
	.et_pb_column_1_3 h1,
	.et_pb_column_1_4 h1,
	.et_pb_column_1_5 h1,
	.et_pb_column_1_6 h1,
	.et_pb_column_2_5 h1 {
		font-size: 36px;
	}

	/* Mobile h2 sizes */
	h2,
	.et_pb_column_1_3 h2,
	.et_pb_column_1_4 h2,
	.et_pb_column_1_5 h2,
	.et_pb_column_1_6 h2,
	.et_pb_column_2_5 h2 {
		font-size: 30px;
	}
}
/** End H Styles **/
/****************************************/

/****************************************/
/** Common Module Styles **/

/* Ordered Row Styles */
@media all and (max-width: 980px) {
	/* wrap row in a flex box */
	.ordered-row {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-wrap: wrap; /* Safari 6.1+ */
		flex-wrap: wrap;
	}
 
	/* custom classes that will designate the order of columns in the flex box row */
	.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;
	}
	
	/* add margin to last column */
	.ordered-row:last-child .et_pb_column:last-child {
		margin-bottom: 30px;
	}
}

/* Centered Columns */
/* Must check "equal column height" on Row module */
.flex-col-center {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
/** End Common Module Styles **/
/****************************************/

/****************************************/
/* GRAVITY FORMS STYLES */
/* Field Styles */
input[type=text],
textarea{
	background: none;
	border: 1px solid #ccc;
	border-radius: 0;
	color: black !important;
	font-family: Montserrat, sans-serif !important;
	margin: 0;
	padding: 15px !important;
}

/* Remove Extra Margins */
.ginput_container, .ginput_container input {
	margin: 0 0 5px 0 !important;
}

.gform_wrapper {
	margin: 0;
}

.gform_wrapper ul.gform_fields li.gfield {
	padding-right: 0;
}

/* Remove Top Margin on Contact Form */
#field_1_1 {
	margin-top: 0;
}

/* Button Styles */
.gform_wrapper .gform_footer input.button {
	border: none;
	border-radius: 0px;
	color: #fff;
	cursor: pointer;
	font-family: Montserrat, sans-serif;
	font-weight: bold;
	padding: 12px 24px;
	transition: all 0.2s linear;
}

.gform_wrapper .gform_footer input.button {
	background: #C41520;
	width: 100%;
}
.gform_wrapper .gform_footer input.button:hover {
	background: #9c1019 !important;
}

#gform_wrapper_2 > div > h2,
#gform_wrapper_7 > div > h2 {
	font-family: Lora !important;
	color: #C51521;
}

.gform_wrapper.gravity-theme .gfield_label {
    font-family: 'Montserrat';
	color: #C41520;
}



/* Button Hover Styles */
.gform_wrapper .gform_footer input.button:hover {
	background: #8e6f3a;
	color: #fff;
}
/* END GRAVITY FORMS STYLES */
/****************************************/


/** theme builder menu overflow for menu dropdowns  **/
header.et-l.et-l--header {
    z-index: 99999;
    position: relative;
}
.et_pb_section_1_tb_header {
    overflow-x: visible !important; 
    overflow-y: visible !important
}

/** mobile/tablet header padding bottom  **/

@media (max-width: 980px){
.et_pb_column {
    width: 100%;
    margin-bottom: 0!important; 
}}



/** mobile menu scroll**/

.et_mobile_menu {
overflow: scroll !important;
max-height: 84vh; /*edit this to match your view height*/
box-shadow: 0px 0px 30px rgba(0,0,0,0.3) /*just some box shadow for nicer menu, you can skip this*/
}

@media (max-width: 569px) {
.mobile_contact_buttons_call2 a, .mobile_contact_buttons_email2 a {

    padding-top: 15px!important;
	}}

/** FEEDZY RSS **/
.feedzy-rss .rss_item .title a{
    font-weight: bold;
    color: #C41520;
}

/** Divi megamenu dropdown **/
.et_pb_menu li.mega-menu ul {
	border-radius: 8px;
}
.et_pb_menu li.mega-menu > ul > li > a:first-child {
	font-weight: normal;
	line-height: 1.1em;
	margin-bottom: 10px;
}

/** make dropdown menu below menu bar**/
.et_pb_menu .et_pb_menu__menu>nav>ul>li>ul {
    top: calc(120% - 1px);
}


/******** Prevent mega-menu drop down from collapsing immediately ******/
/***********************************************************************/
/* Make Mega-Menu not disappear immediately */
@media  (min-width: 981px) {
  .et-dropdown-removing > ul {    
    display: block!important;
  }
  .et-dropdown-removing > ul ul {    
      display: block!important;
    }
  #top-menu li.mega-menu:hover li ul {
    visibility: visible;
    opacity:1;
  }
  #top-menu li.mega-menu li ul {
    display: block;
    visibility: hidden;
    opacity:0;
  }
  .nav li ul {
      transition: all 0.4s 0.2s ease-out !important;
  }
}


/***********************************************************/
/***** Divi mobile menu - collapsible - styling ****/

/*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: #C41520;
	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: 0px;
	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;
}

/****************************/
/***** ENDS Divi mobile menu - collapsible - styling ****/


/*******************************************/
/********** Sidebar blog posts **************/
/*set the image width*/
.pa-blog-sidebar-list .entry-featured-image-url {
	width: 100px;
	float: left;
	margin-bottom: 0!important;
}
/*set the text width*/
.pa-blog-sidebar-list .entry-title,
.pa-blog-sidebar-list .post-meta {
	width: calc(100% - 100px);
	float: left;
	padding-left: 20px;
}
/*make the image square*/
.pa-blog-sidebar-list .entry-featured-image-url {
	padding-top: 100px;
	display: block;
}
.pa-blog-sidebar-list .entry-featured-image-url img {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover;
}
/*adjust the spacing and add a border between the posts*/
.pa-blog-sidebar-list .et_pb_post:not(:last-child) {
	border-bottom: 1px solid #dddddd!important;

}




/***** Product styling *****/
/******************************/

/** product price ***/

.woocommerce div.product p.price {
	color: #C41520;
} 

/************ Ticket Price ******************/
.woocommerce .ticket-event-price p.price{
	color: white !important;
}

/******* Products page Add to cart button styling ***/
.woocommerce ul.products li.product .button {
    margin-top: 1em;
    background-color: #C41520;
    width: 100%;
    text-align: center;
    color: white !important;
    border: 1px;
    font-family: 'Montserrat';
}

/****************Temporarily remove Return to Shop button on cart page*****************************/

.woocommerce .return-to-shop {
	display: none;
}


/********** Boxoffice ticket section on Product page *************/
/******************************************************************/

.bundle_form .bundled_product.product {
    overflow: visible;
    background-color: #F9F9F9;
    padding: 35px;
    border-radius: 5px;
	border-top: 3px #C41520 solid;
	background-image: url(https://glenbrook.com/wp-content/uploads/corner-red.png);
    background-repeat: no-repeat;
    background-position: right top;
}

.woocommerce div.wc-box-office-ticket-form {
    margin: 3.5em 0;
    background-color: #F9F9F9 !important;
    padding: 35px !important;
    border-radius: 5px !important;
	border: 1px solid #C41520;
}

.woocommerce div.wc-box-office-ticket-form .form-row input{
	color: #333333 !important;
}



/********** Cart page styling *NOT* cross sell section *************/
/******************************************************************/
.woocommerce .cart-collaterals .cross-sells, .woocommerce-page .cart-collaterals .cross-sells {
    display: none;
}

.gb-og-cart button.button:hover, .woocommerce button.button:hover, .woocommerce-page button.button:hover {
	color: #C41520;
}

.gb-og-cart a.button.alt, .woocommerce a.button.alt, .woocommerce-page a.button.alt {
    border-color: #C41520;
}

.gb-og-cart a.button.alt:hover, .woocommerce a.button.alt:hover, .woocommerce-page a.button.alt:hover {
    color: #C41520;
}

/******** Cart Cross Sells styling ******************/
/***************************************************/
.gb-cross-sells li.product {
	background: #f9f9f9;
	border-radius: 5px;
	padding: 35px !important;
	border-top: 3px solid #C41520;

	background-image: url('https://glenbrookv2dev.wpengine.com/wp-content/uploads/corner-red.png');
	background-repeat: no-repeat;
	background-position: right top;
}

.gb-cross-sells li.product a span.et_shop_image {
	display: none;
}

/****** Waitlist styling   *******/
/**********************************/

.wcwl_elements {
	/**background-color: #D5767C; pink**/
	/**background-color: #E53538; bright red**/
	background-color: #F5f5f5;
    border-top: 1px solid white;
	text-align: center;
	padding: 20px 0;
}

.wcwl_elements .wcwl_intro{
	color: #C41520;
	font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif!important;
	font-size: 24px;
	font-weight: 400px;
}

.wcwl_elements button.woocommerce_waitlist {
	color: white !important;
	background: #C41520;
	font-size: 22px;
	font-weight: 400;
	border: white 1px solid;
}

.wcwl_elements button.woocommerce_waitlist:hover {
	color: white !important;
	background: #b0121c;
}

.wcwl_elements input.text, .wcwl_elements input.title, .wcwl_elements input[type=email], .wcwl_elements input[type=password], .wcwl_elements input[type=tel], .wcwl_elements input[type=text] {
    background-color: #fff;
    border: 0;
    padding: 15px;
    color: #4e4e4e;
    margin-top: 10px;
    width: 40%;
    font-family: 'Montserrat';
}



/*************** Bootcamp, Advanced Workshops Agenda list styling *******************/
.finance-resource-agenda li{
	list-style-type: "\2611";
	color: #C41520;
	font-size: 18px;
	line-height: 2em;
	font-family: "Montserrat";
	padding-left: 10px;
	margin-left: 20px;
}

.finance-resource-agenda li::marker{
	font-size: 30px;
}

/************************** Navigation menu add to cart icon  *******************************/
.et_pb_menu_0_tb_header .et_pb_menu__icon.et_pb_menu__cart-button {
    color: #ffffff;
    padding-left: 15px;
}

/*********************************************************************/
/****************** Advanced Workshops category page "No Results Found" message styling ***********/

.upcoming-advanced-workshops1 div.et_pb_module_inner .et_pb_bg_layout_light div.entry{
	color: white !important;
	font-size: 2em;
	font-weight: 400;
}



/*************** Product Quantity text styling ************/
.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart .button, .et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart div.quantity {
    float: none!important;
    display: inline-block;
    vertical-align: middle;
    font-family: 'Montserrat';
    font-size: 18px;
    color: #333333;
}

/**********************************************/
/************ My Account page styling *****************/
.custom-account-style .woocommerce-Button.button, .custom-account-style .woocommerce .woocommerce-form-login .woocommerce-form-login__submit, .custom-account-style #wpa-submit {
    color: #ffffff!important;
    background-color: #C41520;
    border-color: #C41520;
	font-family: 'Montserrat';
	font-size: 16px;
	padding: 10px 20px;
	text-transform: capitalize;
}
.custom-account-style .woocommerce-Button.button:hover, .custom-account-style #wpa-submit:hover {
    background-color: #3f214f;
}
 
.custom-account-style .woocommerce .woocommerce-error, .custom-account-style .woocommerce .woocommerce-info, .custom-account-style .woocommerce .woocommerce-message {
   background-color: #3f214f;
}

.custom-account-style .woocommerce-Input {
	background-color: #f9f9f9 !important;
}

.custom-account-style #user_email_username {
	background-color: #f9f9f9 !important;
	width: 100% !important;
	margin-top: 10px !important;
    border-radius: 2px !important;
	border: 0;
	padding: 25px !important;
	font-size: 14px !important;
}

/**** PV blog image on the left side styling ****/
@media only screen and (min-width: 1080px) {
    .recent-blog .et_pb_post.has-post-thumbnail .post-media .entry-featured-image-url{
        float: left !important;
        width: 30% !important;
        margin-right: 4% !important;
    }
	.recent-blog .et_pb_post.has-post-thumbnail .post-media {
        overflow: visible !important;
    }
    .recent-blog .et_pb_post.has-post-thumbnail:not(.format-gallery) > .post-content {
        text-align: justify;
    }
}



/************* Bulk Book Order Form **************************/
/*************************************************************/
.subscribe-bulletins-form .ginput_product_price_wrapper {
	display: none !important;
}


/****** Make products responsive for mobile ************************/
/**************************************************************/
@media (max-width: 980px){
.et-db #et-boc .et-l .et_pb_shop ul.products.columns-1 li.product, .et-db #et-boc .et-l .gb-responsive-product ul.products.columns-2 li.product, .et-db #et-boc .et-l .et_pb_shop ul.products.columns-3 li.product, .et-db #et-boc .et-l .et_pb_shop ul.products.columns-4 li.product, .et-db #et-boc .et-l .et_pb_shop ul.products.columns-5 li.product, .et-db #et-boc .et-l .et_pb_shop ul.products.columns-6 li.product {
	width: 100%!important; 		
	margin-right: 4%!important;
	} 			
}


/****** Extended WP Search Bar styling ************************/
/**************************************************************/
form#wpes-form-27490 input.search-field, form#wpes-form-27491 input.search-field, form#wpes-form-27492 input.search-field, form#wpes-form-41707 input.search-field  {
    width: 70%;
    padding: 15px;
    border: 0;
    font-family: 'Montserrat';
}

form#wpes-form-27490 input.search-submit, form#wpes-form-27491 input.search-submit, form#wpes-form-27492 input.search-submit, form#wpes-form-41707 input.search-submit   {
    padding: 15px;
    border: 0;
    background: #C41520;
    color: white;
    font-family: 'Montserrat';

}

/***** gravity forms subscribe page  *****/
/********************************************/

/*Default styles for Gravity Forms single-column-form class*/

.subscribe-bulletins-form ul.gfield_checkbox li input[type=checkbox]:checked+label,.subscribe-bulletins-form ul.gfield_checkbox li input[type=checkbox]:not(:checked)+label {
  margin-left: 19px;
  font-weight: 400;
  font-size: 15px;
}

/*Custom subscribe box for .single-column-form class*/
.subscribe-bulletins-form [type="checkbox"]:not(:checked), .subscribe-bulletins-form [type="checkbox"]:checked {
  position: absolute!important;
  left: -9999px;
}

.subscribe-bulletins-form [type="checkbox"]:not(:checked) + label, .subscribe-bulletins-form [type="checkbox"]:checked + label {
  position: relative!important;
  padding-left: 2.0em!important;
  cursor: pointer!important;
	display: inline-block;
}

.subscribe-bulletins-form [type="checkbox"]:not(:checked) + label:before, .subscribe-bulletins-form [type="checkbox"]:checked + label:before {
  content: '';
  position: absolute;
  left: -17px;
  top: 2px;
  width: 1.30em;
  height: 1.30em;
  border: 2px solid #ccc;
  background: #fff;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.1);
  padding: 2px;
}

.subscribe-bulletins-form [type="checkbox"]:not(:checked) + label:after, .subscribe-bulletins-form [type="checkbox"]:checked + label:after {
  content: '';
  position: absolute;
  width: 19px;
  height: 19px;
  top: 6px;
  left: -13px;
  font-size: 1.3em;
  line-height: 0.8;
  background-color: #C02528;
  transition: all .2s;
}

/* checked mark aspect changes */
.subscribe-bulletins-form [type="checkbox"]:not(:checked) + label:after {
  opacity: 0;
  transform: scale(0);
}

.subscribe-bulletins-form [type="checkbox"]:checked + label:after {
  opacity: 1;
  transform: scale(1);
}

/* disabled checkbox */
.subscribe-bulletins-form [type="checkbox"]:disabled:not(:checked) + label:before,
[type="checkbox"]:disabled:checked + label:before {
  box-shadow: none;
  border-color: #bbb;
  background-color: #ddd;
}

.subscribe-bulletins-form [type="checkbox"]:disabled:checked + label:after {
  color: #999;
}

.subscribe-bulletins-form [type="checkbox"]:disabled + label {
  color: #aaa;
}

.subscribe-bulletins-form .ginput_container_checkbox, .ginput_container_consent {
	padding-left: 20px;
}

/******* Case studies archives page grid/masonry design ************/
div.case-study-grid .el-isotope-item article.et_pb_post{ 
	background-image: url(https://glenbrook.com/wp-content/uploads/corner-red.png);
    background-repeat: no-repeat;
    background-position: right top;
}

/************ PV post button ****************/
a.wp-block-button__link strong {color: white !important;}


/*************** PV post template styling *******************/

.gray-callout-box {
	background-color: #F7F7F7;
	padding: 30px;
	margin-bottom: 15px;
	font-weight: 500;
}

.amplify-text {
	font-weight: 700;
	font-size: 18px;
	font-style: italic;
}


