/*
 Theme Name:   Evergreen Log Structures
 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 ====
 * -------------------------------------------- */


/*** 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: #ffffff;
    background-color: #999;
    border-radius: 4px;
    padding: 15px!important;
    align-self: center;
    font-weight: 600;
}

header #menu-primary-menu .menu_cta a:hover,
header .et_mobile_menu .menu_cta a:hover {
    background-color: #333;
    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, body .gform_wrapper .gform_footer input[type=submit] {
	color: #fff;
	border: solid 1px;
	border-color: #A49E7A;
	border-radius: 5px;
	letter-spacing: 1px;
	font-size: 14px;
	line-height: 1em;
	text-transform: uppercase;
	background-color: #244940;
	/*background-color: RGBA(255,255,255,0);*/
	transition: all 300ms ease 0ms;	
	padding: 20px 30px;
}

a.wp-block-button__link:after {
	font-family: ETmodules!important;
	line-height: 1em;
	content: "\35";
	opacity: 0;
	position: absolute;
	margin-left: -1em;
	-webkit-transition: all .2s;
	transition: all .2s;
	text-transform: none;
	font-weight: 400;
	display: inline-block;
	opacity: 0;
}

a.wp-block-button__link:hover, body .gform_wrapper .gform_footer input:hover[type=submit] {
	color: #49242D!important;
	border-color: #49242D!important;
	background-image: initial;
	background-color: rgba(164,158,122,0.1);
	transition: all 300ms ease 0ms;
	cursor: pointer;
}

a.wp-block-button__link:hover:after  {
	opacity: 1;
	margin-left: 0;
}

/*** Gravity Forms submit button ***/

body .gform_wrapper .gform_footer button[type="submit"].gform_button {
	color: #fff;
	border: solid 1px;
	border-color: #A49E7A;
	border-radius: 5px;
	letter-spacing: 1px;
	font-size: 14px;
	line-height: 1em;
	text-transform: uppercase;
	background-color: #244940;
	/*background-color: RGBA(255,255,255,0);*/
	transition: all 300ms ease 0ms;	
	padding: 20px 30px;
    cursor: pointer;
}

body .gform_wrapper .gform_footer button[type="submit"].gform_button:hover {
	color: #49242D!important;
	border-color: #49242D!important;
	background-image: initial;
	background-color: rgba(164,158,122,0.1);
	transition: all 300ms ease 0ms;
	cursor: pointer;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background-color: #f6f5f2;
}

.wp-block-table thead {
	color: #A49E7A;
	font-size: 1.25em;
}

.acf-custom-lightbox-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.acf-custom-lightbox-gallery a {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
	border: solid 1px #ccc;
}

.acf-custom-lightbox-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.on-sale .reg-price p {
	font-weight: 400;
	margin-right: 5px;
	text-decoration: line-through;
}

.on-sale .sale-price p:before {
	content: "$";
}

.on-sale .sale-price p:before {
	content: "$";
}

.sale-banner {
	display: block;
	width: 100%;
	background: red;
	color: #fff;
	text-align: center;
	font-weight: 600;
	padding: 10px;
	line-height: 1.2em;
	z-index: 1;
}

.monthly-payment {
	display: block;
	width: 100%;
	background: #fff;
	padding: 8px;
	color: #244940;
	text-align: right;
	font-weight: 500;
	font-size: 12px;
	line-height: 1.2em;
	border: solid 1px #244940;
}
.monthly-payment span {
	font-weight: 700;
}

.savings-amount {
	display: block;
	width: 100%;
	background: red;
	padding: 6px 8px;
	color: #fff;
	text-align: right;
	font-weight: 800;
	font-size: 12px;
	line-height: 1em;
	text-transform: uppercase;
	margin-top: -5px;
}

.financing-available {
	display: inline-block;
	background: #a49e7a;
	padding: 6px 8px;
	color: #fff;
	border-radius: 15px;
	font-size: 12px;
	line-height: 1.2em;
	font-weight: 700;
	color: #fff;
}

/*** 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) {

}