/*
 Theme Name:     Bare bones for Divi
 Author:         Divi theme examples
 Author URI:     http://www.divithemeexamples.com
 Template:       Divi
 Version:        1.0
*/


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */

/*
	Gold: #AF7A06
	Blue: #012E4F
*/

/*------------------------------------------------*/
/*---------------[ CUSTOM HEADER ]----------------*/
/*------------------------------------------------*/

/*** INITIAL SETUP ***/
	#top-header, #main-header { display: none; }
	#et-top-navigation { height: 0px; }
	#et-main-area { padding-top: 140px !important; }
	#page-container {
		padding-top: 0px !important;
		margin-top: 0px !important; }
	#custom-header {
		position: fixed;
		z-index: 99999;
		width: 100%;
	}

/*** TOP SECTION ***/
	#custom-header .customheader_top_section {
		background-color: #012e4f !important;
		padding-top: 0px !important;
		padding-bottom: 0px !important;
		-webkit-transition: all .5s ease-in-out;
		-moz-transition: all .5s ease-in-out;
		-o-transition: all .5s ease-in-out;
		transition: all .5s ease-in-out;
	}
	#custom-header .customheader_top_section .et_pb_row {
		padding-top: 10px !important;
		padding-bottom: 0px !important;
	}

	#custom-header #customheader_logo {
		position: absolute;
		z-index: 9999999;
		filter: drop-shadow(0px 5px 5px rgba(0,0,0,.5));
		-webkit-transition: all .5s ease-in-out;
		-moz-transition: all .5s ease-in-out;
		-o-transition: all .5s ease-in-out;
		transition: all .5s ease-in-out;
	}

	#custom-header .et_pb_row { width: 1080px; }
	#custom-header .customheader_top_section .et_pb_column:nth-child(1) { width: 220px !important; height: 1px; }
	#custom-header .customheader_top_section .et_pb_column:nth-child(2) { width: 420px !important; }
	#custom-header .customheader_top_section .et_pb_column:nth-child(3) { width: 220px !important; }
	#custom-header .customheader_top_section .et_pb_column:nth-child(4) { width: 180px !important; }

/*** TOP BAR TABS ***/
	#custom-header .select_page_category i { padding-right: 5px; }
	#custom-header .select_page_category a {
		background-color: #445768 !important;
		color: #fff !important;
		font-weight: 800;
		padding: 12px 10px;
		display: inline-block;
		text-align: center;
	}
	@media (min-width: 330px) {
		#custom-header .select_page_category a:not(:last-child) { margin-right: 10px; }
	}

	/* Active Top Bar Tab */
	.parent-pageid-29424 #custom-header .select_page_category a.ch_drinkers_tab,
	.parent-pageid-29434 #custom-header .select_page_category a.ch_pubs_tab,
	.parent-pageid-30006 #custom-header .select_page_category a.ch_pubs_tab, /* Training Mega Menu */
	.parent-pageid-30149 #custom-header .select_page_category a.ch_pubs_tab, /* Online Training */
	.parent-pageid-30161 #custom-header .select_page_category a.ch_pubs_tab, /* Cellar Management */
	.parent-pageid-30149 #custom-header .select_page_category a.ch_pubs_tab, /* Other Training */
	.parent-pageid-30149 #custom-header .select_page_category a.ch_pubs_tab, /* Assessment */
	.parent-pageid-29436 #custom-header .select_page_category a.ch_news_tab {
		background-color: #fff;
		color: #012E4F;
	}

	/* Pub Count */
	#custom-header .header_count_module {
		padding-top: 8px;
		font-weight: 600;
	}

	/* Social Icons */
	#custom-header .header_social_icons { padding-top: 8px; }
	#custom-header .header_social_icons a {
		color: #fff;
		font-size: 20px;
	}
	#custom-header .header_social_icons a:not(:last-child) { padding-right: 10px; }

/*** SUBMENU SECTION ***/
	#custom-header .customheader_submenu_section {}
	#custom-header #customheader_submenu_logo {
		z-index: -1;
		opacity: 0;
		position: absolute;
		left: calc( calc(100% - 1080px) / 2.5 ) !important;
		dtop: 10px;
		margin-top: 16px;
		dheight: 180px;
		max-height: 500px;
		width: 240px;
		-webkit-transition: all .25s ease-in-out;
		-moz-transition: all .25s ease-in-out;
		-o-transition: all .25s ease-in-out;
		transition: all .25s ease-in-out;
	}
	#custom-header .customheader_drinkers_menu {}


/*** SCROLLED FIXED HEADER ADJUSTMENTS ***/
	#custom-header.mp-fixed-header .customheader_top_section {
		opacity: 1;
		margin-top: -58px; }
	#custom-header.mp-fixed-header #customheader_logo {
		margin-top: -300px; }
	#custom-header.mp-fixed-header #customheader_submenu_logo {
		z-index: 9999999;
		opacity: 1;
		-webkit-transition: all 1.25s ease-in-out;
		-moz-transition: all 1.25s ease-in-out;
		-o-transition: all 1.25s ease-in-out;
		transition: all 1.25s ease-in-out;
	}
	#custom-header.mp-fixed-header .customheader_submenu_section {
		background-color: rgba(255,255,255, .85) !important; }
	#custom-header.mp-fixed-header .et_pb_fullwidth_menu {
		background-color: transparent !important; }


/*** SUBMENU ***/
	.customheader_drinkers_menu,
	.customheader_pubs_menu,
	.customheader_news_menu {
		display: none;
	}

/*** DRINKERS SUBMENU ***/
	.parent-pageid-29424 .customheader_drinkers_menu { display: initial; }
	.parent-pageid-29424 .customheader_main_menu { display: none; }

/*** PUBS SUBMENU ***/
	.parent-pageid-29434 .customheader_pubs_menu { display: initial; }
	.parent-pageid-29434 .customheader_main_menu { display: none; }

	/* Training Mega Menu */
	.parent-pageid-30006 .customheader_pubs_menu { display: initial; }
	.parent-pageid-30006 .customheader_main_menu { display: none; }

	/* Online Training */
	.parent-pageid-30149 .customheader_pubs_menu { display: initial; }
	.parent-pageid-30149 .customheader_main_menu { display: none; }

	/* Cellar Management */
	.parent-pageid-30161 .customheader_pubs_menu { display: initial; }
	.parent-pageid-30161 .customheader_main_menu { display: none; }

	/* Other Training */
	.parent-pageid-30149 .customheader_pubs_menu { display: initial; }
	.parent-pageid-30149 .customheader_main_menu { display: none; }

	/* Assessment */
	.parent-pageid-30149 .customheader_pubs_menu { display: initial; }
	.parent-pageid-30149 .customheader_main_menu { display: none; }


/*** NEWS SUBMENU ***/
	.parent-pageid-29436 .customheader_news_menu { display: initial; }
	.parent-pageid-29436 .customheader_main_menu { display: none; }


/*** MEGA MENU ***/
	@media (min-width: 981px) {
		.mega-menu > .sub-menu {
			margin-top: 5px;
			width: calc(100% - 250px) !important;
			margin-right: 0px !important;
			margin-left: 250px !important;
		}
	}

/*** SCREEN SIZE ADJUSTMENTS ***/
	@media (max-width: 1300px) {
		#custom-header .et_pb_row { width: 1080px; }
		#custom-header .customheader_top_section .et_pb_column:nth-child(1) { width: 220px !important; }
		#custom-header .customheader_top_section .et_pb_column:nth-child(2) { width: 420px !important; }
		#custom-header .customheader_top_section .et_pb_column:nth-child(3) { width: 220px !important; }
		#custom-header .customheader_top_section .et_pb_column:nth-child(4) { width: 180px !important; }
		#custom-header.mp-fixed-header #customheader_submenu_logo {
			left: calc( calc(100% - 1080px) / 2.5 ) !important;
			margin-top: 22px;
			width: 180px;
		}
	}
	@media (max-width: 1175px) {
		#custom-header .et_pb_row { width: 880px; }
		#custom-header .customheader_top_section .et_pb_column:nth-child(1) { width: 150px !important; }
		#custom-header .customheader_top_section .et_pb_column:nth-child(2) { width: 380px !important; }
		#custom-header .customheader_top_section .et_pb_column:nth-child(3) { width: 220px !important; }
		#custom-header .customheader_top_section .et_pb_column:nth-child(4) { width: 120px !important; }
		#custom-header.mp-fixed-header #customheader_submenu_logo {
			left: calc( calc(100% - 880px) / 2.5 ) !important;
			margin-top: 26px;
			width: 160px;
		}
		.customheader_submenu_section .fullwidth-menu-nav li { padding-right: 0px; }
		.customheader_submenu_section .fullwidth-menu-nav li a {
			padding-right: 10px;
			font-size: 14.5px !important;
		}
	}
	@media (max-width: 980px) {
		#et-main-area { padding-top: 0px !important; }
		#custom-header { position: relative; z-index: 99; }
		#custom-header .et_pb_row {
			overflow: visible;
			width: 660px; }
		#custom-header .customheader_top_section .et_pb_column:nth-child(3) { display: none; }
		#custom-header.mp-fixed-header #customheader_submenu_logo {
			left: calc( calc(100% - 660px) / 2.5 ) !important;
		}

		/* Mobile Menu Button */
		.mobile_menu_bar::before {
			background-color: #AF7A06;
			padding: 2px 0px 2px 2px;
			top: 24px !important;
			color: #fff !important; }
		.mobile_menu_bar::after {
			font-family: Arial;
			content: "MENU";
			position: relative;
			top: 15px;
			padding: 10px 20px 10px 5px;
			background-color: #AF7A06;
			color: #fff !important;
			cursor: pointer; }
	}
	@media (max-width: 767px) {
		#custom-header .et_pb_row { width: 550px; }
		#custom-header #customheader_logo { width: 120px; }
		#custom-header .customheader_top_section .et_pb_column:nth-child(1) { }
		#custom-header .customheader_top_section .et_pb_column:nth-child(2) { }
		#custom-header .customheader_top_section .et_pb_column:nth-child(4) { display: none; }
		#custom-header #customheader_submenu_logo { left: calc( calc(100% - 550px) / 2.5 ) !important; }
	}
	@media (max-width: 600px) {
		#custom-header .et_pb_row { width: 350px; }
		#custom-header .customheader_top_section .et_pb_column:nth-child(1) { display: none; }
		#custom-header .customheader_top_section .et_pb_column:nth-child(2) { width: 100% !important; }
		#custom-header .select_page_category a {
			padding: 12px 5px;
		}
		#custom-header #customheader_submenu_logo {
			left: calc( calc(100% - 350px) / 2.5 ) !important;
			z-index: 1;
			opacity: 1;
			width: 45%;
			max-width: 200px;
		}
		.mobile_nav { text-align: right; }
	}
	@media (max-width: 400px) {
		#custom-header .et_pb_row {
			margin: 0px 12px !important;
			width: calc(100% - 40px);
		}
		#custom-header .select_page_category a {
			font-size: 80%;
			padding: 12px 5px;
		}
		#custom-header #customheader_submenu_logo {
			left: 20px !important;
			margin-top: 24px;
			max-width: 40%;
		}
	}


/*------------------------------------------------*/
/*------------[ HOME - HERO SECTION ]-------------*/
/*------------------------------------------------*/

/*** HOME CASK FINDER APP FEATURES TABLE ***/
	table.home_app_features_table {
		margin-left: auto;
		margin-right: auto;
		width: 450px;
	}
	.home_app_features_table, .home_app_features_table td {
		border: none !important; }
	.home_app_features_table tr td:last-child {
		padding-left: 0px; }
	.aft_icon_td img {
		width: 50px; }



/*Slim Optin with 2 fields*/


/*Hide the form description area*/

.ds-slim-optin2 .et_pb_newsletter_description {
 display: none;
}


/*Remove label padding to properly align fields*/

.ds-slim-optin2 p {
 padding-bottom: 0;
}

@media (max-width: 980px) {
 /*Set form width for larger tablets*/
 .et_pb_column .ds-slim-optin2 .et_pb_newsletter_form {
 width: 100%;
 padding: 0;
 }
 /*Remove bottom margin*/
 .ds-vertical-align {
 margin-bottom: 0;
 }
}

@media all and (min-width: 769px) {
 /*Set the input field widths*/
 .ds-slim-optin2 .et_pb_newsletter_form p input {
 width: 30%;
 float: left;
 margin-right: 2.5%;
 }
 /*Set the button width*/
 .ds-slim-optin2 .et_pb_newsletter_button {
 width: 35%;
 float: left;
 margin-right: 0;
 }
 .ds-vertical-align {
 /*Vertically align the text*/
 display: -webkit-box;
 display: -ms-flexbox;
 display: flex;
 -webkit-box-orient: vertical;
 -webkit-box-direction: normal;
 -ms-flex-direction: column;
 flex-direction: column;
 -webkit-box-pack: center;
 -ms-flex-pack: center;
 justify-content: center;
 }
}

@media (max-width: 768px) {
 /*Center text on mobile*/
 .ds-slim-optin2 .et_pb_newsletter_form p input {
 margin-bottom: 10px;
 text-align: center;
 }
}


/*End Slim Optin with 2 fields*/


.b3_team .et_pb_team_member_description {
padding:30px;
text-align: -webkit-center;
}
.b3_team .et_pb_member_position {
text-transform: uppercase;
font-size: 13px;
font-weight: 600;
}
.b3_team .et_pb_member_position:after {
content: ' ';
display: block;
width: 20px;
margin: 5px 0 0;
border: 1px solid;
}
.b3_team:hover .et_pb_member_social_links a {
opacity:1;
transform: translate(0px, -15px);
-webkit-transform: translate(0px, -15px);
-ms-transform: translate(0px, -15px);
-webkit-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
}
.b3_team .et_pb_member_social_links a {
opacity:0;
margin-top: 20px;
-webkit-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
}
.b3_team:hover img {
-ms-transform: scale(1.00) !important;
-webkit-transform: scale(1.00) !important;
transform: scale(1.00) !important;
-webkit-transition: all 500ms cubic-bezier(0.170, 0.690, 0.470, 0.995);
-moz-transition: all 500ms cubic-bezier(0.170, 0.690, 0.470, 0.995);
-o-transition: all 500ms cubic-bezier(0.170, 0.690, 0.470, 0.995);
transition: all 500ms cubic-bezier(0.170, 0.690, 0.470, 0.995);
}
.b3_team {
border: none !important;
border-radius: 0px;
-moz-border-radius:0px;
-webkit-border-radius: 0px;
-o-border-radius: 0px;
overflow: hidden;
width: 100%;
position: relative;
z-index: 1;
-webkit-transition: all .3s ease-in-out;
-moz-transition: all .3s ease-in-out;
-ms-transition: all .3s ease-in-out;
-o-transition: all .3s ease-in-out;
box-shadow:0 20px 150px rgba(0,0,0,0.2);
-webkit-box-shadow:0 20px 150px rgba(0,0,0,0.2);
-moz-box-shadow:0 20px 150px rgba(0,0,0,0.2);
}
.b3_team img {
-webkit-transition: all .5s ease;
-moz-transition: all .5s ease;
-ms-transition: all .5s ease;
-o-transition: all .5s ease;
transition: all .5s ease;
-ms-transform: scale(1.03);
-webkit-transform: scale(1.03);
transform: scale(1.03);
-webkit-transform-origin: bottom;
-moz-transform-origin: bottom;
-ms-transform-origin: bottom;
-o-transform-origin: bottom;
transform-origin: bottom;
}



.beer-vertical-section .et_pb_column {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
} 
