/*
 Theme Name:  Madison County Chamber
 Theme URI:    https://divilife.com
 Description:  Child Theme for Divi
 Author:       Tim Strifler
 Author URI:   https://divilife.com
 Template:     Divi
 Version:      1.0.0
*/

/*****Add any custom CSS below this line*****/

/* Gallery */

.pgcsimplygalleryblock-slider-item-wrap {
	height: 200px;
}

.pgcsimplygalleryblock-slider-item-wrap img {
	width: 100% !important;
	height: unset !important;
	left: 0 !important;
	position: absolute;
	top: 50% !important;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

/* Type */

h6 {
	color: #3C3C3C !important;
	font-size: 25px !important;
	font-weight: 400 !important;
	line-height: 36px;
	margin-top: 20px
}

h3,
h2 {
	font-weight: 500 !important;
}

.et_pb_text,
.et_pb_text ul {
	font-weight: 400;
	font-size: 16px;
}

.membership-boxes h5 {
	margin-bottom: 20px;
	color: #587185;
}

/* Benefit lists */

ul.checkmark li {
	font-size: 16px;
	margin-bottom: 1em;
	list-style-type: none;
	padding: 0.25em 0 0 2.5em;
	position: relative;
}

ul.checkmark li:before {
	content: " ";
	display: block;
	border: solid 1px #D44434;
	border-radius: 2em;
	height: 32px;
	width: 32px;
	position: absolute;
	left: -1em;
	top: 25%;
	margin-top: -0.45em;
}

ul.checkmark li:after {
	content: " ";
	display: block;
	width: 0.3em;
	height: 0.6em;
	border: solid #0C3455;
	border-width: 0 0.15em 0.15em 0;
	position: absolute;
	left: -.15em;
	top: 25%;
	margin-top: .175em;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}

/* Membership lists */

.membership-boxes ul li {
	font-size: 16px;
	margin-bottom: 1em;
	list-style-type: none;
	padding: 0.25em 0 0 2.5em;
	position: relative;
}

.membership-boxes ul li:before {
	content: " ";
	display: block;
	border: solid 0 #D44434;
	border-radius: 2em;
	height: 32px;
	width: 32px;
	position: absolute;
	left: -1em;
	top: 25%;
	margin-top: -0.45em;
}

.membership-boxes ul li:after {
	content: " ";
	display: block;
	width: 0.3em;
	height: 0.6em;
	border: solid #0C3455;
	border-width: 0 0.15em 0.15em 0;
	position: absolute;
	left: -.15em;
	top: 25%;
	margin-top: .175em;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}

/* Header */

#et-info-phone:before {
	display: none;
}

/* Columns */

.et_pb_equal_columns>.et_pb_column {
	margin-top: auto;
	Margin-bottom: auto;
}

/* Main Navigation */

.nav li ul {
	padding: 20px 0;
}

#top-menu li li a {
	padding: 9px 10px;
	line-height: 24px;
}

/* Blog Module */

.recent-blog-module article {
	margin-bottom: 20px;
}

.recent-blog-module article h2 span {
	margin-top: 10px;
	display: block;
}

.recent-blog-module article h2 {
	line-height: 25px;
}

/* Fixed Navigation */

.et-fixed-header #top-menu .sub-menu li.current-menu-item>a,
.et-fixed-header #top-menu .sub-menu li.current_page_item>a {
	color: #ffffff !important;
}

.et-fixed-header #top-menu li li a {
	color: #ffffff !important;
}

.et-fixed-header #top-menu li.current-menu-item>a,
.et-fixed-header #top-menu li.current_page_item>a {
	color: #ffffff;
}

/* Footer */

#footer-info {
	text-align: center;
	color: #ffffff;
	width: 100%;
}

footer a {
	color: #ffffff;
}

footer .et_pb_button_module_wrapper.et_pb_button_0_wrapper.et_pb_button_alignment_center.et_pb_module a {
	border: 2px solid #ffffff;
	color: #fff;
}

.mcc-footer .wpcf7-submit {
	background-color: #D44434;
	color: #ffffff;
	line-height: 0;
	margin: 0 auto;
	text-transform: uppercase;
	font-size: 22px;
	border-radius: 5px;
	font-weight: 600;
}

.mcc-footer .wpcf7-submit:hover {
	background-color: #FF523F;
	color: #ffffff;
}

.mcc-footer .wpcf7-submit,
.mcc-footer .wpcf7-submit:hover {
	padding: 25px !important;
	border: 0 !important;
	margin-top: 15px;
}

.mcc-footer .wpcf7-email {
	width: 70% !important;
}

.wpcf7-spinner {
	display: none;
}

.mcc-main-contact .wpcf7-submit {
	border: 3px solid #0C3455 !important;
	border-radius: 5px;
	font-size: 20px;
	text-transform: uppercase;
	font-weight: 600;
	color: #0C3455;
}

.mcc-main-contact .wpcf7-submit,
.mcc-main-contact .wpcf7-submit:hover {
	padding: 10px 25px !important;
}

.mcc-main-contact .wpcf7-submit:hover {
	background-color: #0C3455;
	color: #ffffff;
}

/* Panels */

.dark-panel .et_pb_button_module_wrapper.et_pb_button_0_wrapper.et_pb_button_alignment_center.et_pb_module a {
	border: 2px solid #fff;
	color: #ffffff;
	background-color: transparent !important;
	cursor: pointer;
}

.dark-panel .et_pb_bg_layout_light.et_pb_button:hover {
	border: 3px solid #fff !important;
	background-color: #A03838 !important;
}

.panel-mod p {
	margin-bottom: 23px;
}

.panel-mod h2 {
	margin-bottom: 7px;
}

/* Panel Buttons */

.panel-mod .et_pb_button_module_wrapper.et_pb_button_0_wrapper.et_pb_button_alignment_center.et_pb_module a {
	padding: 0.3em 1em;
}

/* Events Row */

.events-row h5 {
	line-height: 25px;
	margin-bottom: 10px;
}

.events-row h5 span {
	color: #87A3B9 !important;
}

.events-row h2 {
	margin-bottom: 15px;
}

@media (max-width: 980px) {

	.et_non_fixed_nav.et_transparent_nav #main-header,
	.et_non_fixed_nav.et_transparent_nav #top-header,
	.et_fixed_nav #main-header,
	.et_fixed_nav #top-header {
		position: fixed;
	}
}

.et_mobile_menu {
	overflow: scroll !important;
	max-height: 83vh;
}

.et-social-facebook a.icon:before {
	content: " " !important;
	background: url('/wp-content/uploads/2022/12/facebook.png') !important;
	background-size: 17px 17px !important;
	background-repeat: no-repeat !important;
	display: block;
	height: 18px;
	width: 18px;
	position: absolute;
	top: -14px !important;
}

#top-header .et-social-icons li {
	margin-left: 0;
}

.wpcf7-text,
.wpcf7-textarea,
.wpcf7-captchar,
.wpcf7-quiz {
	background-color: #eee !important;
	border: none !important;
	width: 100% !important;
	-moz-border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
	border-radius: 3px !important;
	font-size: 14px;
	color: #999 !important;
	padding: 16px !important;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.wpcf7-submit {
	border: 3px solid #D44434 !important;
	cursor: pointer;
}

.wpcf7-submit:hover {
	background-color: #eee;
	border-color: #eee;
	padding: 6px 20px !important;
}

.mcc-footer a {
	color: #ffffff !important;
}

.gz-pagetitle {
	background-color: #0C3455;
	color: #ffffff !important;
	padding: 45px 50px 35px 50px;

}

.gz-pagetitle h1 {
	color: #ffffff !important;
	font-family: 'Rubik', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 29px !important;
}

@media (min-width:768px) {
	.gz-pagetitle h1 {
		font-size: 48px !important;
	}

	.gz-pagetitle {
		background-color: #0C3455;
		color: #ffffff !important;
		padding: 45px 50px 35px 68px;

	}
}

#gzns .gz-pagetitle-dealsbuttons {
	margin-top: -100px;
}

#gzns .container-fluid {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.gz-subcats.gz-subcats-wsubs,
.row.gz-cards.gz-results-cards,
.gz-cards.gz-events-cards,
#gzns {
	font-family: 'Rubik', Helvetica, Arial, Lucida, sans-serif !important;
}

#top-menu .menu-item-has-children>a:first-child:after,
#et-secondary-nav .menu-item-has-children>a:first-child:after {
	position: relative;

	content: "";
	display: inline-block;
	/* By using an em scale, the arrows will size with the font */
	width: 0.3em;
	height: 0.3em;
	border-right: 0.15em solid black;
	border-top: 0.15em solid black;
	transform: rotate(135deg);
	margin-left: 0.5em;
	margin-right: 0 !important;
	top: -3px;
}

.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-has-children {
	padding-right: 0 !important;
}

.mobile_menu_bar:before {
    content: "☰";
    font-size: 32px;
    position: relative;
    left: 0;
    top: 0;
    cursor: pointer;
}

.gz-fa-stack {
    display: inline-block;
    height: 2em;
    line-height: 2em;
    position: relative;
    vertical-align: middle;
    width: 2em !important;
}