/*
 Theme Name:   Club Richelieu
 Description:  Divi Child Theme
 Author:       Webtech Agency
 Author URI:   https://webtechagency.ca
 Template:     Divi
 Version:      1.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
 Text Domain:  divi-child-theme
*/

/* ==== Add your own styles below this line ====
 * -------------------------------------------- */
/*** Code to expand the drop-down menu width in Divi ***/
.sub-menu li {
	padding-left: 0px !important;
	padding-right: 0px !important;
	width: 100%;
}
.et-menu li li a {
	width: 100%!important;
}
.nav li ul {
	width: 400px;
	
}

/*** Primary Navigation ***/

header #menu-primary-menu a,
header .et_mobile_menu a {
    color: #333;
    font-size: 16px;
}

header #menu-primary-menu li a:hover,
header .et_mobile_menu li a:hover {
    opacity: .7;
}

header #menu-primary-menu li.current-menu-ancestor:not(.menu_cta)>a,
header #menu-primary-menu li.current-menu-item:not(.menu_cta)>a,
header .et_mobile_menu li.current-menu-item:not(.menu_cta)>a {
    color: #999;
}

header #menu-primary-menu .menu_cta,
header .et_mobile_menu .menu_cta {
    padding: 0;
    text-align: center;
    margin-left: 10px;
}

header #menu-primary-menu .menu_cta a,
header .et_mobile_menu .menu_cta a {
    color: #00A7DF;
	text-transform: uppercase;
	background-color: #fff;
    border-radius: 50px;
    padding: 15px!important;
    align-self: center;
    font-weight: 600;
	border: solid 2px #00A7DF;
	letter-spacing: 2px;
	font-size: 14px!important;
	text-transform: uppercase;
}

header #menu-primary-menu .menu_cta a:hover,
header .et_mobile_menu .menu_cta a:hover {
	color: #fff!important;
    background-color: #5DB7E0;
	border-color: #5DB7E0;
    opacity: 1;
}

header .et_mobile_menu .menu_cta {
    padding: 0;
    margin-top: 15px;
    margin-left: 0;
}

/*** Layout ***/

#page-container {
	overflow-x: hidden;
}

.v-align-center {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.no-margin {
	margin: 0!important;
}


    
/*** Post Content ***/

body {
	font-weight: normal;
}

sup {
	font-size: 50%;
}

.et_pb_post_content h1:not(:first-child),
.et_pb_post_content h2:not(:first-child),
.et_pb_post_content h3:not(:first-child),
.et_pb_post_content h4:not(:first-child),
.et_pb_post_content h5:not(:first-child),
.et_pb_post_content h6:not(:first-child) {
	margin-top: 1em;
}

ul.blocks-gallery-grid {
	list-style-type: none;
	padding: 0;
	margin-left: 0;
	line-height: 1em;
}

a.wp-block-button__link, a.wp-block-button__link:active, a.wp-block-button__link:focus, a.wp-block-button__link:visited {
	color: #666;
	border: solid 2px #666;
	border-radius: 50px;
	font-size: 16px;
	background-color: transparent;
	transition: all 300ms ease 0ms;
	line-height: 1.2em;
	font-weight: 600;
}

a.wp-block-button__link:hover {
	color: #fff;
	border-color: #999;
	background-color: #999;
	transition: all 300ms ease 0ms;
}



/*** Hide Google Captcha Badge ***/
.grecaptcha-badge {
	display: none;
}



/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 981px) {

}



/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {

	#no-hamburger .et_pb_menu__menu {
		display: block;
	}

	#no-hamburger .mobile_menu_bar {
		display: none;
	}

	.custom_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;
	}

	.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;
	}
	.custom_row .et_pb_column:last-child {
		margin-bottom: 30px;
	}

	.custom_row .et_pb_column:not(:last-child) {
		margin-bottom: 0px;
	}

}



/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {

}



/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {

}



/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {

}