/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi
Description: Divi child theme via FreshySites
Author: FreshySites
Author URI: https://freshysites.com/
Template:  Divi
Version: 1.2.0
*/
/* Add your own styles at the bottom */

/* -- COLORS -- */

.white, 
.white h1, .white h2, .white h3, .white h4, .white h5, .white h6, .white li, .white a,
h1.white, h2.white, h3.white, h4.white, h5.white, h6.white, li.white, a.white, p.white {
	color: #fff;
}

.black, 
.black h1, .black h2, .black h3, .black h4, .black h5, .black h6, .black li, .black a,
h1.black, h2.black, h3.black, h4.black, h5.black, h6.black, li.black, a.black, p.black {
	color: #000;
}

/* gold */
.primary, 
.primary h1, .primary h2, .primary  h3, .primary h4, .primary h5, .primary h6, .primary li, .primary a,
h1.primary, h2.primary, h3.primary, h4.primary, h5.primary, h6.primary, li.primary, a.primary, p.primary {
	color: #a29061;
}

/* mid gray gold */
.secondary, 
.secondary h1, .secondary h2, .secondary h3, .secondary h4, .secondary h5, .secondary h6, .secondary li, .secondary a,
h1.secondary, h2.secondary, h3.secondary, h4.secondary, h5.secondary, h6.secondary, li.secondary, a.secondary, p.secondary {
	color: #a39f93;
}

/* light gray gold */
.tertiary, 
.tertiary h1, .tertiary h2, .tertiary h3, .tertiary h4, .tertiary h5, .tertiary h6, .tertiary li, .tertiary a,
h1.tertiary, h2.tertiary, h3.tertiary, h4.tertiary, h5.tertiary, h6.tertiary, li.tertiary, a.tertiary, p.tertiary {
	color: #d9d0b8;
}

/* background colors */
.bg-white, a.bg-white {background-color: #fff;}
.bg-black, a.bg-black {background-color: #000;}
.bg-primary, a.bg-primary {background-color: #a29061;}
.bg-secondary, a.bg-secondary {background-color: #a39f93;}
.bg-tertiary, a.bg-tertiary {background-color: #d9d0b8;}

/* -- END COLORS -- */


/* -- TYPOGRAPHY -- */

body {
	font-weight: 400;
}

.text-lowercase, 
.text-lowercase h1, .text-lowercase h2, .text-lowercase h3, .text-lowercase h4, .text-lowercase h5, .text-lowercase h6, .text-lowercase li, .text-lowercase a {
	text-transform: lowercase !important;
}

.text-uppercase, 
.text-uppercase h1, .text-uppercase h2, .text-uppercase h3, .text-uppercase h4, .text-uppercase h5, .text-uppercase h6, .text-uppercase li, .text-uppercase a {
	text-transform: uppercase !important;
}

.text-capitalize, 
.text-capitalize h1, .text-capitalize h2, .text-capitalize h3, .text-capitalize h4, .text-capitalize h5, .text-capitalize h6, .text-capitalize li, .text-capitalize a {
	text-transform: capitalize !important;
}

.text-transform-none, 
.text-transform-none h1, .text-transform-none h2, .text-transform-none h3, .text-transform-none h4, .text-transform-none h5, .text-transform-none h6, .text-transform-none li, .text-transform-none a {
	text-transform: none !important;
}

.font-weight-bold, 
.font-weight-bold h1, .font-weight-bold h2, .font-weight-bold h3, .font-weight-bold h4, .font-weight-bold h5, .font-weight-bold h6, .font-weight-bold li, .font-weight-bold a {
	font-weight: 700;
}

.font-weight-normal, 
.font-weight-normal h1, .font-weight-normal h2, .font-weight-normal h3, .font-weight-normal h4, .font-weight-normal h5, .font-weight-normal h6, .font-weight-normal li, .font-weight-normal a {
	font-weight: 400;
}

.font-italic {font-style: italic;}

.text-underline-none, .text-underline-none a {text-decoration: none !important;}

.text-underline, .text-underline a {text-decoration: underline !important;}

.text-nowrap, .text-nowrap a {white-space: nowrap !important;}

.text-wrap-normal, .text-wrap-normal a {white-space: normal !important;}

/* -- END TYPOGRAPHY -- */


/* -- TEMPLATE -- */



/* -- END TEMPLATE -- */


/* -- HEADER -- */

body #main-header,
body #main-header.et-fixed-header {
    -webkit-box-shadow: 0 0 30px rgba(162,144,97,.2)!important;
    -moz-box-shadow: 0 0 30px rgba(162,144,97,.2)!important;
    box-shadow: 0 0 30px rgba(162,144,97,.2)!important;
}

body #et-top-navigation {
	font-weight: 400;
	padding-left: 0 !important;
}

body #et-top-navigation nav > ul > li > a {
    font-family: 'Alegreya SC',Georgia,"Times New Roman",serif;
	font-size: 20px;
	font-weight: 800;
}

#top-menu li li a {
    line-height: 1.3em;
    padding-top: 8px;
    padding-bottom: 8px;
}

body #et-top-navigation nav > ul > li {
	padding-right: 20px;
}
body #et-top-navigation nav > ul > li > a {
	font-size: 18px;
}

@media (min-width: 981px) and (max-width: 1405px) {
	body #et-top-navigation nav > ul > li {
		padding-right: 16px;
	}
	body #et-top-navigation nav > ul > li > a {
		font-size: 16px;
	}
}

@media (min-width: 981px) and (max-width: 1290px) {
	body #et-top-navigation nav > ul > li {
		padding-right: 10px;
	}
	body #et-top-navigation nav > ul > li > a {
		font-size: 14px;
	}
}

@media (min-width: 981px) and (max-width: 1140px) {
	body #logo {
		max-height: 40%;
	}
	body #et-top-navigation nav > ul > li {
		padding-right: 8px;
	}
	body #et-top-navigation nav > ul > li > a,
	body #et-top-navigation nav > ul > li a {
		font-size: 13px;
	}
	body #top-menu .menu-item-has-children > a:first-child {
		padding-right: 15px;
	}
}

/* mobile menu label for hamburger */
.mobile_nav .select_page {
    display: block;
    float: right;
    position: absolute;
    right: 40px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    margin-top: -1px;
}
/* make the mobile menu toggle techncially cover the now-visible-Menu-text next to hamburger */
.mobile_menu_bar {
    width: 90px;
    text-align: right;
}

/* helps logo to not be pixelated when scaled down */
#logo {
	-webkit-transform: none !important;
	transform: none !important;
}

/* when mobile menu is open, change hamburger icon to x icon */
#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
	content: '\4d';
}

/* makes sub sub menu icon be right arrow instead of down arrow */
#top-menu .menu-item-has-children .menu-item-has-children > a:first-child::after, 
#et-secondary-nav .menu-item-has-children .menu-item-has-children > a:first-child::after {
	content: '5';	
}

/* if parent link of child menu is a deadlink, then make it not clickable */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a[href="#0"] { 
	pointer-events: none;
}

/* - mobile menu toggling elements, injected via jQuery - */

/* make menu list item be relative, to be able to position toggle within this item */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children {
	position: relative;	
}
/* the new toggle element, which is added via jQuery */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle {
	position: absolute;
	background-color: rgba(0,0,0,0.03);
	z-index: 1;
	width: 36px;
	height: 36px;
	line-height: 36px;
	border-radius: 50%;
	top: 4px;
	right: 4px;
	cursor: pointer;
	text-align: center;
}
/* the new toggle element when popped */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped {
	background-color: rgba(0,0,0,0.1);
}
/* toggle icon */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle::before {
	font-family: "ETmodules" !important;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 36px;
	font-size: 24px;
	text-transform: none;
	speak: none;
	content: '\33';
}
/* toggle icon when triggered */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped::before {
	content: '\32';
}
/* hide sub menus by default */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle ~ ul.sub-menu {
	display: none !important;
	padding-left: 0;
}
/* show sub menu when triggered via jQuery toggle, and add slight bg color */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu {
	display: block !important;
	background-color: rgba(0,0,0,0.03);
}
/* remove sub menu list item left padding, since padding will be on anchors */
#main-header #mobile_menu.et_mobile_menu li li {
	padding-left: 0;
}

/* adjust mobile menu anchors side paddings */
#main-header #mobile_menu.et_mobile_menu li a {
	padding-left: 20px;
	padding-right: 20px;
}
/* indent sub menu */
#main-header #mobile_menu.et_mobile_menu li li a {
	padding-left: 40px;
	padding-right: 20px;
}
/* indent sub sub menus further */
#main-header #mobile_menu.et_mobile_menu li li li a {
	padding-left: 60px;
	padding-right: 20px;
}
/* if mobile menu anchor has toggle, make room for it to fit next to the link */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children .sub-menu-toggle + a {
	padding-right: 44px;
}

/* - end mobile menu toggling elements - */

/* undo Divi's default styling of mobile menu links that have children */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a {
	background-color: transparent;
	font-weight: inherit;
}

/* make the current page's mobile menu link be different */
#main-header #mobile_menu.et_mobile_menu li.current-menu-item > a {
	font-weight: bolder;
}

/* -- END HEADER -- */


/* -- FOOTER -- */

@media (min-width: 981px) {
	body #main-footer .footer-widget:first-child {
		width: 100%;
		margin: 0;
		float: none;
	}
}

/* footer ad image */
#main-footer #footer-widgets {
	margin: 0 !important;
	padding-top: 3% !important;
	padding-bottom: 3% !important;
}

#main-footer #footer-widgets .footer-widget {
	margin-bottom: 0;
	text-align: center;
}

#main-footer #footer-widgets .footer-widget:first-child,
#main-footer #footer-widgets .footer-widget:only-child {
	margin: 0 !important;
	width: 100% !important;
	text-align: center;
	line-height: 0;
	float: none;
}
#main-footer #footer-widgets .footer-widget .et_pb_widget {
	float: none;
}
#main-footer #footer-widgets .footer-widget:only-child .et_pb_widget:only-child .ad-row > div:only-child {
	margin-bottom: 0;
}
#main-footer #footer-widgets .footer-widget:first-child .et_pb_widget:only-child .ad-row {
	display: block;
}

#main-footer #footer-widgets .footer-widget:nth-child(2),
#main-footer #footer-widgets .footer-widget:nth-child(3) {
	width: 40%;
	margin: 0 5%;
}

/* footer widget social bullets */
#footer-widgets .footer-widget ul.fs-footer-widget-socials li {
	display: inline-block;
	padding-left: 0;
	margin-bottom: 0;
}
#footer-widgets .footer-widget ul.fs-footer-widget-socials li::before {
	display: none;
}
#footer-widgets .footer-widget ul.fs-footer-widget-socials li a {
	position: relative;
    text-indent: 110%;
    white-space: nowrap;
    overflow: hidden;
    width: 36px;
	height: 36px;
    display: block;
	background-color: rgba(0,0,0,0.1);
	border-radius: 50%;
	transition: all 0.5s ease;
}
#footer-widgets .footer-widget ul.fs-footer-widget-socials li a::before {
	font-family: 'FontAwesome';
	text-indent: 0;
    content: '\f058';
    width: 36px;
	height: 36px;
	line-height: 36px;
    margin: 0;
    display: block;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    color: #a29061;
    /* set font size helps make icon sharper */
    font-size: 20px;
	font-weight: normal;
	transition: all 0.5s ease;
}
#footer-widgets .footer-widget ul.fs-footer-widget-socials li a:hover {
	background-color: rgba(0,0,0,0.5);
}
#footer-widgets .footer-widget ul.fs-footer-widget-socials li a:hover::before {
	color: white;
}
#footer-widgets .footer-widget ul.fs-footer-widget-socials li a[href*="facebook.com"]::before {
	content: '\f09a';
}
#footer-widgets .footer-widget ul.fs-footer-widget-socials li a[href*="twitter.com"]::before {
	content: '\f099';
}

@media (max-width: 767px) {
	#footer-widgets .footer-widget:not(:last-child) {
		margin-bottom: 15px !important;
	}
	#footer-widgets .footer-widget:last-child {
		margin-bottom: 0 !important;
	}
}

/* copyright */

#freshy_copyright span {
	display: inline-block;
	line-height: 1.5em;
}

/* vertical pipe divider */
#freshy_copyright span.copyright_via {
	width: 33.33333%;
	height: 1px;
	overflow: hidden;
	white-space: nowrap;
	text-indent: 100%;
	background: rgba(255,255,255,0.25);
	vertical-align: middle;
	margin: 10px auto 15px;
	display: block;
}

#freshy_copyright a.copyright_fs {
	display: block;
	vertical-align: middle;
	width: 45px;
	height: 20px;
	background-image: url("/wp-content/uploads/freshysites-logo-white.svg");
	background-repeat: no-repeat;
	background-size: 45px 20px;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	margin: 0 auto;
}

/* fix if using Impreza to remove underline */
#freshy_copyright a:hover {
	border: 0 !important;
}

@media (min-width: 600px) {
	/* vertical pipe divider */
	#freshy_copyright span.copyright_via {
		width: 1px;
		height: 20px;
		margin: 0 10px;
		display: inline-block;
	}
	#freshy_copyright a.copyright_fs {
		display: inline-block;
	}
}

@media (max-width: 980px) {
	#footer-bottom .et-social-icons li:first-child {
		margin-left: 0;
	}
}

/* -- END FOOTER -- */


/* -- RESPONSIVE -- */

/* do for mobile */
@media screen and (max-width: 767px) {
	/* hide on mobile */
	.hide-mobile {
		display: none;
	}
}

/* do for desktop */
@media screen and (min-width: 768px) {
	/* hide on desktop */
	.hide-desktop {
		display: none;
	}
}

/* -- END RESPONSIVE -- */


/* -- CHECKLIST -- */

.checklist ul {
    margin: 0;
	padding: 0 !important;
    list-style: none;
}

.checklist ul li {
    position: relative;
    padding-left: 30px;
    margin: 0 0 10px !important;
	line-height: 1.3em;
}

.checklist-columns-2 ul li,
.checklist-columns-3 ul li,
.checklist-columns-4 ul li {
	margin-bottom: 30px !important;
}

@media (max-width: 638px) {
	.checklist-columns-2 ul li,
	.checklist-columns-3 ul li,
	.checklist-columns-4 ul li {
		margin-bottom: 20px !important;
	}
	.checklist-columns-2 ul li:last-child,
	.checklist-columns-3 ul li:last-child,
	.checklist-columns-4 ul li:last-child {
		margin-bottom: 0 !important;
	}
}

/* create columns of list items with this class */
@media (min-width: 639px) {
	.checklist-columns-2 ul::after,
	.checklist-columns-3 ul::after,
	.checklist-columns-4 ul::after {
		content: '';
		clear: both;
		display: table;
	}
	.checklist-columns-2 ul li,
	.checklist-columns-3 ul li,
	.checklist-columns-4 ul li {
		float: left;
		width: 50%;
      	padding-right: 30px;
	}
	.checklist-columns-2 ul li:nth-child(odd),
	.checklist-columns-3 ul li:nth-child(odd),
	.checklist-columns-4 ul li:nth-child(odd){
		clear: both;	
	}
	.checklist-columns-2-alt > ul,
	.checklist-columns-3-alt > ul,
	.checklist-columns-4-alt > ul {
		-moz-column-count: 2;
		-moz-column-gap: 8px;
		-webkit-column-count: 2;
		-webkit-column-gap: 8px;
		column-count: 2;
		column-gap: 20px;
	}
	.checklist-columns-2-alt ul li,
	.checklist-columns-3-alt ul li,
	.checklist-columns-4-alt ul li {
		break-inside: avoid-column;
	}
}
@media (min-width: 981px) {
	.checklist-columns-3 ul li,
	.checklist-columns-4 ul li {
		float: left;
		width: 33.333333%;
	}
	.checklist-columns-3 ul li:nth-child(odd),
	.checklist-columns-4 ul li:nth-child(odd) {
		clear: none;	
	}
	.checklist-columns-3 ul li:nth-child(3n+1),
	.checklist-columns-4 ul li:nth-child(3n+1) {
		clear: both;	
	}
	.checklist-columns-3-alt ul,
	.checklist-columns-4-alt ul {
		-moz-column-count: 3;
		-webkit-column-count: 3;
		column-count: 3;
	}
}
@media (min-width: 1199px) {
	.checklist-columns-4 ul li {
		float: left;
		width: 25%;
	}
	.checklist-columns-4 ul li:nth-child(odd) {
		clear: none;	
	}
	.checklist-columns-4 ul li:nth-child(3n+1) {
		clear: none;	
	}
	.checklist-columns-4 ul li:nth-child(4n+1) {
		clear: both;	
	}
	.checklist-columns-4-alt ul {
		-moz-column-count: 4;
		-webkit-column-count: 4;
		column-count: 4;
	}
}

.checklist ul li::before {
    font-family: 'FontAwesome';
    content: '\f058';
    width: 20px;
    margin: 0;
    display: inline-block;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    color: #a29061;
    /* set font size helps make icon sharper */
    font-size: 22px;
	font-weight: normal;
}

.pluslist ul li::before {
    content: '\f055';
}
.infolist ul li::before {
    content: '\f05a';
}
.eventlist ul li::before {
    content: '\f274';
}
.locationlist ul li::before {
    content: '\f041';
}
.externallist ul li::before {
	content: '\f08e';	
}
.pdflist ul li::before {
    content: '\f1c1';
	color: red;
}
.userlist ul li::before {
	content: '\f2c0';
}

/* -- END CHECKLIST -- */


/* -- DIVI HACKS -- */

/* make parallax image be centered at the start */
.et_parallax_bg {
	background-position: center center;	
}

/* Divi was turning off bottom padding on last paragraphs, when it should be only if it's the last child */
p:last-of-type {
	padding-bottom: 1em;
}
p:last-child {
	padding-bottom: 0;
}

/* if there are more than one paragraphin the Fullwidth Header module, they should have padding */
.et_pb_fullwidth_header p:not(:last-child) {
	padding-bottom: 1em;
}

/* make iframes be block */
.et_pb_code_inner iframe {
	display: block;
}

/* -- END DIVI HACKS -- */


/* -- TESTIMONIALS PLUGIN -- */

/* flip quote so it's an opening quote icon for grid and slider versions */
.b3_archive_testimonials_grid article .b3_quote.grid_quote::before,
.et_pb_module.et_pb_testimonial_slider .et_pb_slides_testi::before {
	-moz-transform: scale(-1,-1);
	-o-transform: scale(-1,-1);
	-webkit-transform: scale(-1,-1);
	transform: scale(-1,-1);
}

/* -- END TESTIMONIALS PLUGIN -- */


/* -- GRAVITY FORMS & ADVERT INPUTS -- */

body .gform_wrapper .gfield_description {
	line-height: 1.5em;
}

body .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_description.validation_message {
	padding-top: 8px;
}

body .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_description.validation_message::before {
	font-family: 'FontAwesome';
    content: '\f139\00a0';
	font-weight: normal;
}

body .gform_confirmation_wrapper .gform_confirmation_message {
	display: inline-block;
    background-color: rgba(217, 208, 184, 0.25);
    border: 2px solid #a29061;
    padding: 20px;
}

body .gform_wrapper label.gfield_label,
body .gform_wrapper .gfield_error label.gfield_label {
	color: #403b30;
}

body .gform_wrapper label.gfield_label .gfield_required {
	font-weight: normal;
}

body .gform_wrapper .validation_message {
	font-weight: 500;
}

body .gform_wrapper .gform_footer {
	margin-top: 0;
	padding-top: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

body .adverts-search .advert-input input[type=text],
body .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), 
body .gform_wrapper textarea.textarea, 
body div.form_saved_message div.form_saved_message_emailform form input[type=text],
body .adverts-form input[type="text"], 
body .adverts-form input[type="password"], 
body .adverts-form input[type="email"], 
body .adverts-form input[type="url"], 
body .adverts-form input[type="date"], 
body .adverts-form input[type="month"], 
body .adverts-form input[type="time"], 
body .adverts-form input[type="datetime"], 
body .adverts-form input[type="datetime-local"], 
body .adverts-form input[type="week"], 
body .adverts-form input[type="number"], 
body .adverts-form input[type="search"], 
body .adverts-form input[type="tel"], 
body .adverts-form input[type="color"], 
body .adverts-form select, 
body .adverts-form textarea {
	border: 0;
	border-bottom: 2px solid #a29061;
	color: #403b30;
	background-color: rgba(217, 208, 184, 0.25);
	transition: all 0.4s ease;
}
body .adverts-search .advert-input input[type=text],
body .adverts-form input[type="text"], 
body .adverts-form input[type="password"], 
body .adverts-form input[type="email"], 
body .adverts-form input[type="url"], 
body .adverts-form input[type="date"], 
body .adverts-form input[type="month"], 
body .adverts-form input[type="time"], 
body .adverts-form input[type="datetime"], 
body .adverts-form input[type="datetime-local"], 
body .adverts-form input[type="week"], 
body .adverts-form input[type="number"], 
body .adverts-form input[type="search"], 
body .adverts-form input[type="tel"], 
body .adverts-form input[type="color"], 
body .adverts-form select, 
body .adverts-form textarea {
	padding: 16px;
	font-size: 14px;
}

body .adverts-search .advert-input input[type=text]:focus,
body .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):focus, 
body .gform_wrapper textarea.textarea:focus, 
body div.form_saved_message div.form_saved_message_emailform form input[type=text]:focus,
body .adverts-form input[type="text"]:focus, 
body .adverts-form input[type="password"]:focus, 
body .adverts-form input[type="email"]:focus, 
body .adverts-form input[type="url"]:focus, 
body .adverts-form input[type="date"]:focus, 
body .adverts-form input[type="month"]:focus, 
body .adverts-form input[type="time"]:focus, 
body .adverts-form input[type="datetime"]:focus, 
body .adverts-form input[type="datetime-local"]:focus, 
body .adverts-form input[type="week"]:focus, 
body .adverts-form input[type="number"]:focus, 
body .adverts-form input[type="search"]:focus, 
body .adverts-form input[type="tel"]:focus, 
body .adverts-form input[type="color"]:focus, 
body .adverts-form select:focus, 
body .adverts-form textarea:focus {
	border-color: #403b30;
	background-color: rgba(217, 208, 184, 0.5);
}

body .gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), 
body .gform_wrapper li.gfield_error textarea {
    border: none;
	border-bottom: 2px solid #790000;
}

/* polls */

/* remove excess top and bottom margin */
.gform_wrapper.gpoll_enabled_wrapper.gpoll_wrapper {
	margin: 0;
}
/* if there is only one form field, dont make a bottom margin */
.gpoll_container .gpoll_field:only-child {
	margin-bottom: 0;
}
/* no excess top margin on first form input */
body .gform_wrapper.gpoll_enabled_wrapper.gpoll_wrapper ul li.gfield:first-of-type {
	margin-top: 0;
}
/* lets try not to have padding right on these fields, since they wont be side by side */
body .gform_wrapper.gpoll_enabled_wrapper.gpoll_wrapper ul li.gfield {
	padding-right: 0;
}
/* since inputs no longer have right padding, we fix body wrapper to not use calc */
body .gform_wrapper.gpoll_enabled_wrapper.gpoll_wrapper .gform_body {
	width: 100%;
}
/* tweak styling of result bar */
.gpoll_wrapper .gpoll_bar {
	-webkit-border-radius: 0 8px 8px 0;
	border-radius: 0 8px 8px 0;
}
/* reduce poll button size */
body .gform_wrapper.gpoll_enabled_wrapper.gpoll_wrapper .gform_footer input.button {
    font-size: 18px;
    padding: 0px 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* reduce Results link size */
body .gpoll_button {
    font-size: 13px;
}
/* make confirmation be fill width */
body .gform_wrapper.gpoll_enabled_wrapper.gpoll_wrapper .gform_confirmation_message {
    width: 100%;
}

/* slight tweak to radio button on Chrome poll questions */
body .gform_wrapper.gpoll_enabled_wrapper.gpoll_wrapper.gf_browser_chrome .gfield_radio li input[type=radio] {
    margin-top: 2px;
}
/* slight tweak to radio button on IE poll questions */
body .gform_wrapper.gpoll_enabled_wrapper.gpoll_wrapper.gf_browser_ie .gfield_radio li input[type=radio] {
	margin-top: 5px;
}

/* remove error top message for polls */
body .gform_wrapper.gpoll_enabled_wrapper.gpoll_wrapper .validation_error {
	display: none;
}

/* partially due to Surbma's restyling of the form, 
there now apepars to be excess margin above fields at certain screen sizes,
when two or more inputs have errors side by side (hence the + in the CSS),
so let's remove that top gap */
@media only screen and (max-width: 761px), (max-device-width: 1023px) and (min-device-width: 768px) {
	.gform_wrapper form .gform_body ul.gform_fields li.gfield.gfield_error+li.gfield.gfield_error {
		margin-top: 0;
	}
}

/* we swap out form ajax spinner via PHP Function, and add spinning if its PNG */
img.gform_ajax_spinner[src$=".png"] {
	-webkit-animation: lime-spin 1.5s linear infinite;
	-moz-animation: lime-spin 1.5s linear infinite;
	animation: lime-spin 1.5s linear infinite;
	padding: 0;
	margin-left: 10px;
}
@-moz-keyframes lime-spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes lime-spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes lime-spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

/* fix for when Date Picker is used */
#ui-datepicker-div:empty {
	margin-top: 0;	
}

/* -- END GRAVITY FORMS -- */


/* -- HELPERS -- */

/* use the "fullwidth-section" class on a SECTION to make a "standard" SECTION truly be fullwidth 
(NOTE: the ROW module settings needs to be set to fullwidth, and the SECTION needs THIS class) */
.fullwidth-section.et_pb_section {
	padding: 0;
}
.fullwidth-section.et_pb_section > .et_pb_row.et_pb_row_fullwidth {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0;
}

/* use the "fullwidth-row" class on a SECTION to make a "full width" ROW truly be fullwidth 
(NOTE: the ROW module settings needs to be set to fullwidth, with no gutters, and the SECTION needs THIS class,
and unlike the class above, THIS class will auto-add padding to the columns) */
.fullwidth-row.et_pb_section {
	padding: 0;	
}
.fullwidth-row.et_pb_section .et_pb_row.et_pb_row_fullwidth {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}
/* helps add padding to each column */
.fullwidth-row.et_pb_section .et_pb_row.et_pb_row_fullwidth > .et_pb_column {
	padding: 50px 10%;
}
@media (min-width: 767px) {
	.fullwidth-row.et_pb_section .et_pb_row.et_pb_row_fullwidth > .et_pb_column {
		padding: 80px 6%;
	}
}
/* for some reason Divi removes bottom margin from modules if in column with no gutters, 
so we need to add margins back */
.fullwidth-row.et_pb_section .et_pb_row.et_pb_row_fullwidth.et_pb_gutters1 > .et_pb_column .et_pb_module:not(:last-child) {
	margin-bottom: 30px;
}
@media (min-width: 981px) {
	.fullwidth-row.et_pb_section .et_pb_row.et_pb_row_fullwidth.et_pb_gutters1 > .et_pb_column_2_3 .et_pb_module:not(:last-child) {
		margin-bottom: 4.242%;
	}
	.fullwidth-row.et_pb_section .et_pb_row.et_pb_row_fullwidth.et_pb_gutters1 > .et_pb_column_1_3 .et_pb_module:not(:last-child) {
		margin-bottom: 9.27%;
	}	
}
/* reduce gap between toggles if in fullwidth row */
.fullwidth-row.et_pb_section .et_pb_row.et_pb_row_fullwidth.et_pb_gutters1 > .et_pb_column .et_pb_module.et_pb_toggle:not(:last-child) {
	margin-bottom: 3px;
}

/* if a COLUMN has this class, it will try to vertically center the modules in it 
 * Also requires the ROW to have equal height columns set */
.flex-center-y {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;


}
.flex-center-y > .et_pb_module {
	width: 100%;
    -webkit-flex-basis: 100%;
    flex-basis: 100%;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}

/* when stacked, change the stack order of flex columns with this class */
@media (max-width: 980px) {
	/* this keeps the item as flex row even on mobile */
	.fullwidth-row.et_pb_section .et_pb_row.et_pb_row_fullwidth {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		direction: ltr;
		flex-direction: column;
		-webkit-flex-direction: column;
	}
	.mobile-order-top {
		order: -1;
	}
}

/* -- END HELPERS -- */


/* -- HOME HEADER -- */

/* we moved the header via jQuery, so we need to get rid of the
excess padding and margin that the theme thinks it still needs,
even though the header isn't fixed anymore */
body.home.desktop #page-container {
	padding-top: 0 !important;
	margin-top: 0 !important;
}
/* if browser works with JS, then it's probably safe to hide the header until its moved to below the section */
html.js body.home.desktop #main-header {
    opacity: 0;
	display: none;
}
html.js body.home.desktop #main-content #main-header {
	opacity: 1;
	display: block;
}
/* we don't want fixed header since it needs to stay below the hero at all times */
body.home.desktop #main-header {
	position: relative !important;
}
/* remove the top padding that containers normally get, when inside the page content */
body.home.desktop #main-content #main-header .container {
	padding-top: 0 !important;
}
/* hide the vertical line that Divi tries to add thinking the sidebar is present */
body.home.desktop #main-content #main-header .container::before {
	display: none;
}
body.home.desktop #main-content #main-header .container ul {
	list-style-type: none;
}
body.home.desktop #main-content #main-header .container ul#top-menu {
	padding: 0;
}
/* moved header gets different bg color and no shadow (unless it is stuck to top via jQuery class) */
body.home.desktop #main-header:not(.stucked) {
	background-color: #f6f4f0;
	-webkit-box-shadow: none!important;
	-moz-box-shadow: none!important;
	box-shadow: none !important;
}
@media (min-width: 981px) {
	/* even when fixed, let's keep same padding as normal header (which comes from theme settings based on height) */
	body.home.desktop #main-header.et-fixed-header #et-top-navigation {
		padding-top: 45px;
	}
	body.home.desktop #main-header.et-fixed-header #et-top-navigation nav > ul > li > a {
		padding-bottom: 45px;
	}
	/* but if it has our new stucked class via jQuery, then do these actually */
	body.home.desktop #main-header.stucked {
		position:fixed !important;
		top:0 !important;
	}
	body.home.desktop #main-header.stucked #et-top-navigation {
		padding-top: 20px !important;
	}
	body.home.desktop #main-header.stucked #et-top-navigation nav > ul > li > a {
		padding-bottom: 20px !important;
	}
	/* add more padding (height of header) to next section to make up for the height of the header that basically came out of the flow */
	body.home.desktop #main-header.stucked + .et_pb_section {
		padding-top: calc(4% + 54px); 
	}
}

/* we need to fix the dropdown menus on the desktop header 
 * since they get cut off at the bottom of the viewport.
 * But lets only do it when the header is NOT scrolled/fixed, or stuck, yet.
 */
@media (min-width: 981px) {
	/* if not fixed or not scolled, then move the dropdown menus above the header */
	body.home.desktop #main-header:not(.et-fixed-header):not(.stucked) #et-top-navigation ul#top-menu > li > ul {
		border-top: 0;
		border-bottom: 3px solid #a29061;
		top: auto;
		bottom: 100%;
	}
	/* but we also need to ensure there is top padding on the parent links 
	 * to ensure the dropdown menu stays active while the mouse moves up to it 
	 * So we add the same amount of padding to the top as it has on the bottom
	 */
	body.home.desktop #main-header:not(.et-fixed-header):not(.stucked) #et-top-navigation ul#top-menu > li > a {
		padding-top: 45px;
	}
	/* and now remove the top padding that is added to the parent menu wrapper */
	body.home.desktop #main-header:not(.et-fixed-header):not(.stucked) #et-top-navigation {
		padding-top: 0;
	}
	/* we messed with the top padding, so the link arrows moved, so we fix them */
	body.home.desktop #main-header:not(.et-fixed-header):not(.stucked) #et-top-navigation ul#top-menu > li.menu-item-has-children > a:first-child::after {
		top: 50%;
		-webkit-transform: translateY(-50%) rotate(180deg);
		transform: translateY(-50%) rotate(180deg);
	}
}


/* -- END HOME HEADER -- */

/* -- HOME SLIDER -- */

body.home .et_pb_slides {
	overflow: hidden;
}

/* make the main homepage slide be at least full height
 * while also trying to show the moved bottom header too 
 * INITIAL HEIGHT (tablet and mobile widths)
 */
body.home .et_pb_slides .et_pb_container {
	min-height: 100vh;
	min-height: calc(100vh - 79px);
}
/* Override slider height for DESKTOP width */
@media (min-width: 981px) {
	body.home .et_pb_slides .et_pb_container {
		min-height: calc(100vh - 104px);
	}
}
/* Override slider height for MOBILE due to address bar height on phones */
@media (max-width: 980px) {
	body.home.et_mobile_device .et_pb_slides .et_pb_container {
		min-height: calc(100vh - 79px - 56px);
	}
}

.home-slider .slider-scroll-down {
	position: absolute;
	bottom: 10px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	width: 40px;
	height: 40px;
	display: block;
	z-index: 99;
}
.home-slider .slider-scroll-down > a {
	display: block;
	width: 100%;
	height: 100%;
	color: white;
	position: relative;
}
.home-slider .slider-scroll-down > a::before {
	display: block;
	height: 100%;
	text-align: center;
	font-size: 40px;
	line-height: 40px;
	font-family: 'FontAwesome';
	content: '\f103';
	font-weight: normal;
	position: absolute;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	left: 50%;
	animation: scroll-down-bounce 2.2s ease-out infinite;
	text-shadow: 0em 0em 0.3em rgba(0,0,0,0.4);
}
@-webkit-keyframes scroll-down-bounce {
    0% {
        -webkit-transform: translate(-50%, 0%);
    }
    12.5% {
        -webkit-transform: translate(-50%, 20%);
    }
    25% {
        -webkit-transform: translate(-50%, 0%);
    }
    37.5% {
        -webkit-transform: translate(-50%, 20%);
    }
    50% {
        -webkit-transform: translate(-50%, 0%);
    }
}
@keyframes scroll-down-bounce {
    0% {
        transform: translate(-50%, 0%);
    }
    12.5% {
        transform: translate(-50%, 20%);
    }
    25% {
        transform: translate(-50%, 0%);
    }
    37.5% {
        transform: translate(-50%, 20%);
    }
    50% {
        transform: translate(-50%, 0%);
    }
}
.home-slider .slider-scroll-down .scroll-down {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.home-slider .et_pb_slide_description {
    padding: 20px 0 60px;
}
.home-slider .et-pb-controllers {
	bottom: 20px;
}

.home-slider .et_pb_slide_description::before {
	content: '';
	width: 100%;
	height: 50vh;
	min-height: 150px;
	max-height: 300px;
	display: block;
	margin: 0 auto 10px;
	background-image: url(/wp-content/uploads/seal-white-with-shadow.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}
@media (max-height: 824px) {
	.home-slider .et_pb_slide_description::before {
		height: 33vh;
	}
}
@media (max-width: 980px) {
	.home-slider .et_pb_slide_description::before {
		max-height: 240px;
		min-height: 75px;
	}
}
@media (max-width: 638px) {
	.home-slider .et_pb_slide_description::before {
		max-height: 200px;
	}
}
@media (max-width: 479px) {
	.home-slider .et_pb_slide_description::before {
		max-height: 150px;
	}
}
@media (max-height: 480px) {
	.home-slider .et_pb_slide_description::before {
		max-height: 100px;
	}
}
@media (max-height: 360px) {
	.home-slider .et_pb_slide_description::before {
		max-height: 75px;
	}
	.home-slider .et_pb_slide_description .et_pb_slide_title {
		font-size: 18px !important;
	}
}

.home-slider .et_pb_slide_description .et_pb_slide_title {
	font-weight: 600!important;
	padding-bottom: 0;
	line-height: 1em;
}

.home-slider .et_pb_slides .et_parallax_bg.et_pb_parallax_css {
	-webkit-filter: blur(5px);
	filter: blur(5px);
	transition: all 0.4s ease;
}
.home-slider .et_pb_slides .et_pb_slide:hover .et_parallax_bg.et_pb_parallax_css {
	-webkit-filter: blur(0);
	filter: blur(0);
}
.home-slider .et_pb_slides .et_parallax_bg.et_pb_parallax_css::before {
	content: '';
	position: absolute;
	left: 0;
	width: 100%;
	top: 0;
	height: 100%;
	background-color: rgba(64, 59, 48,0.25);
}

/* -- END HOME SLIDER -- */


/* -- TITLEBAR -- */

#titlebar {
	overflow: hidden;
}

#titlebar .et_pb_post_title {
	padding-top: 40px;
	padding-bottom: 40px;
}

#titlebar .et_pb_title_container {
	display: -webkit-flex;
	display: flex;
    -webkit-flex-flow: row;
    flex-flow: row;
    -webkit-justify-content: center;
    justify-content: center;
	padding-top: 0;
	padding-bottom: 0;
	-webkit-align-items: center;
	align-items: center;
	padding-left: 0;
    padding-right: 50px;
}
#titlebar .et_pb_title_container::before {
	content: '';
	background-image: url(/wp-content/uploads/titlebar-seal.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	width: 100px;
	height: 100px;
	display: block;
}
#titlebar .et_pb_title_container .entry-title {
	padding-top: 0;
	padding-bottom: 0;
	margin-left: -50px;
	line-height: 1em;
}

@media (min-width: 640px) {
	#titlebar .et_pb_post_title {
		padding-top: 60px;
		padding-bottom: 60px;
	}
}

@media (min-width: 981px) {
	#titlebar .et_pb_post_title {
		padding-top: 60px;
		padding-bottom: 60px;
	}
}

/* -- END TITLEBAR -- */

/* -- SPARKS -- */

/* we add spark class via jQuery, so we style each individual spark element */
.fs-sparks .spark {
    background-color: #ffeacf;
    font-family: sans-serif;
    visibility: hidden;
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 30%;
    box-shadow: 0 0 5px #f2a449;
	pointer-events: none;
	z-index: 9;
}

/* -- END SPARKS -- */


/* -- BLURB -- */

.et_pb_main_blurb_image {
	margin-bottom: 15px;
}

/* -- END BLURBS -- */


/* -- SIDEBAR -- */

@media (min-width: 981px) {
	#main-content .container:before {
		width: 5px;
		background-color: #d9d0b8;
		opacity: 0.5;
	}
}

.et_pb_widget h4.widgettitle {
	position: relative;
	line-height: 1em;
	padding-top: 0.5em;
	padding-bottom: 1em;
}

/* recent entries */
.widget_recent_entries ul li {
	line-height: 1.3em;
	margin-bottom: 1em;
	position: relative;
}
.widget_recent_entries ul li a {
	position: relative;
}
.widget_recent_entries ul li a::before {
	content: '\f105\00a0';
    font-family: 'FontAwesome';
    color: #403b30;
    font-weight: normal;
    margin-right: 0.25em;
    transition: all 0.4s ease;
	position: absolute;
	left: -0.75em;
}
.widget_recent_entries ul li a:hover::before {
	opacity: 0;
	left: 0;
}
/* recent entries date */
.widget_recent_entries ul li .post-date {
	margin-top: 0.25em;
	font-size: 12px;
	display: table;
	background-color: rgba(217, 208, 184, 0.25);
	color: #403b30;
	opacity: 1;
	padding: 3px 6px;
	border-radius: 3px;
	line-height: 1.2em;
	transition: all 0.4s ease;
}
.widget_recent_entries ul li a:hover + .post-date {
	background-color: rgba(217, 208, 184, 0.5);
}

/* widget select */
.et_pb_widget select {
    width: 100%;
	transition: all 0.4s ease;
	border-radius: 0;
	border: 0;
	border-bottom: 2px solid #a29061;
	background-color: rgba(217, 208, 184, 0.25);
	height: 36px;
    padding: 0 8px;
}
.et_pb_widget select:hover {
	border-color: #403b30;
	background-color: rgba(217, 208, 184, 0.5);
}
.et_pb_widget select:focus {
	border-color: #403b30;
	background-color: rgba(217, 208, 184, 0.5);
}


/* -- SIDEBAR -- */


/* -- BLOG -- */

/* make the various links in the blog areas be the desired color */
#left-area .post-meta a,
#sidebar .et_pb_widget a {
	color: #a29061;
}

#left-area > article.et_pb_post:not(:last-of-type) {
	border-bottom: 5px solid #a29061;
	padding-bottom: 40px;
	margin-bottom: 40px;
}

@media (max-width: 980px) {
	#left-area > article.et_pb_post:last-of-type {
		border-bottom: 5px solid #a29061;
		padding-bottom: 40px;
		margin-bottom: 40px;
	}
}

/* -- END BLOG -- */


/* -- COUNTERS -- */

/* reduce gap between number and title */
.et_pb_number_counter.et_pb_with_title .percent {
    margin-bottom: 10px;
}
/* prevent number from wrapping, especially if it has the plus symbol after it */
.et_pb_number_counter .percent-value {
	white-space: nowrap;
}
/* add plus symbol if it has this class */
.counter-plus.et_pb_number_counter .percent-value::after {
	content: '+';
	font-weight: lighter;
}

/* -- END COUNTERS -- */


/* -- ACCORDION & TOGGLES -- */

body .et_pb_toggle_title::before {
	font-size: 21px;
}
/* if the toggle is closed, dont add the shadow if it had one */
body .et_pb_module.et_pb_toggle.et_pb_toggle_close {
    box-shadow: none !important;
	transition: all 0.2s ease;
}

body .et_pb_module.et_pb_toggle:not(:last-of-type) {
    margin-bottom: -2px;
}
/* -- END ACCORDION & TOGGLES -- */


/* -- GALLERY -- */

.mfp-gallery .mfp-bottom-bar .mfp-title {
	display: none;
}
.et_pb_column .et_pb_gallery .et_pb_gallery_items {
    width: 100%;
    background: #d9d0b8;
    padding: 6px 2px 8px 8px !important;
}
.et_pb_column .et_pb_gallery .et_pb_gallery_pagination {
	margin-top: 10px;
    border-top: 2px solid #d9d0b8;
}
/* make gallery items be close, and overlap the borders of each one */
/* make two wide even on mobile */
.et_pb_column .et_pb_gallery.et_pb_gallery_grid .et_pb_grid_item {
	float: left !important;
    width: 50% !important;
    margin: 0 -1px -2px -1px !important;
	clear: none !important;
}
@media (min-width: 480px) {
	.et_pb_column .et_pb_gallery.et_pb_gallery_grid .et_pb_grid_item {
		width: 33.33333% !important;
	}
}

/* -- END GALLERY -- */


/* -- HOMEPAGE ADS -- */

#home-ads {
	padding: 18px 9px 0px 9px;
}
#home-ads .ad-row > div {
	margin-bottom: 18px;
}

#home-ads .ad-row > div {
    margin-left: 4px;
    margin-right: 4px;
}

/* -- END HOMEPAGE ADS -- */


/* -- DIRECTORY -- */

.w2dc-content h1, .w2dc-content h2, .w2dc-content h3, .w2dc-content h4, .w2dc-content h5, .w2dc-content h6, .w2dc-content .w2dc-h1, .w2dc-content .w2dc-h2, .w2dc-content .w2dc-h3, .w2dc-content .w2dc-h4, .w2dc-content .w2dc-h5, .w2dc-content .w2dc-h6 {
    font-family: 'Alegreya SC',Georgia,"Times New Roman",serif;
}
header.w2dc-listing-header h2 {
	font-weight: 600;
	font-size: 28px;
	color: #403b30;
}
.w2dc-fields-group-caption,
.w2dc-field-name {
	color: #403b30;
}
ul.w2dc-listing-tabs.w2dc-nav {
    padding-bottom: 0;
}

.w2dc-listings-block .w2dc-listing {
    margin-bottom: 18px;
    border: 1px solid #d9d0b8;
	padding: 0 18px;
	-webkit-box-shadow: 0 0 30px rgba(162,144,97,.2)!important;
    -moz-box-shadow: 0 0 30px rgba(162,144,97,.2)!important;
    box-shadow: 0 0 30px rgba(162,144,97,.2)!important;
}

.w2dc-content.w2dc-categories-table.w2dc-terms-menu.w2dc-terms-depth-1 {
	margin-bottom: 18px;
}

div.w2dc-content.w2dc-terms-menu .w2dc-categories-root a {
	 border: 1px solid #d9d0b8;
	-webkit-box-shadow: 0 0 30px rgba(162,144,97,.2)!important;
    -moz-box-shadow: 0 0 30px rgba(162,144,97,.2)!important;
    box-shadow: 0 0 30px rgba(162,144,97,.2)!important;
}

/* -- END DIRECTORY -- */


/* -- ADVERTS (CLASSIFIEDS) -- */

/* hide ability to create account, if logged out */
/* hide price input */
body:not(.logged-in) .adverts-control-group.adverts-field-account,
body .adverts-control-group.adverts-field-name-adverts_price {
	display: none;
}

body .adverts-form .adverts-form-required {
	font-weight: normal;
}
@media only screen and (min-width: 481px) {
	body .adverts-form-aligned .adverts-control-group > label {
		width: 30%;
		margin-right: 2%;
	}
	body .adverts-form.adverts-form-aligned .adverts-control-group.adverts-field-text label,
	body .adverts-form.adverts-form-aligned .adverts-control-group.adverts-field-select > label {
		float: left;
		padding-top: 12px;
	}
	body .adverts-form.adverts-form-aligned .adverts-control-group > div {
		width: 68%;
		padding-left: 0;
	}
	body .adverts-form.adverts-form-aligned .adverts-control-group.adverts-field-select > label + div.adverts-multiselect-holder,
	body .adverts-form.adverts-form-aligned .adverts-control-group.adverts-field-text label + input[type="text"], 
	body .adverts-form.adverts-form-aligned .adverts-control-group.adverts-field-text label + input[type="password"], 
	body .adverts-form.adverts-form-aligned .adverts-control-group.adverts-field-text label + input[type="email"], 
	body .adverts-form.adverts-form-aligned .adverts-control-group.adverts-field-text label + input[type="url"], 
	body .adverts-form.adverts-form-aligned .adverts-control-group.adverts-field-text label + input[type="date"], 
	body .adverts-form.adverts-form-aligned .adverts-control-group.adverts-field-text label + input[type="month"], 
	body .adverts-form.adverts-form-aligned .adverts-control-group.adverts-field-text label + input[type="time"], 
	body .adverts-form.adverts-form-aligned .adverts-control-group.adverts-field-text label + input[type="datetime"], 
	body .adverts-form.adverts-form-aligned .adverts-control-group.adverts-field-text label + input[type="datetime-local"], 
	body .adverts-form.adverts-form-aligned .adverts-control-group.adverts-field-text label + input[type="week"], 
	body .adverts-form.adverts-form-aligned .adverts-control-group.adverts-field-text label + input[type="number"], 
	body .adverts-form.adverts-form-aligned .adverts-control-group.adverts-field-text label + input[type="search"], 
	body .adverts-form.adverts-form-aligned .adverts-control-group.adverts-field-text label + input[type="tel"], 
	body .adverts-form.adverts-form-aligned .adverts-control-group.adverts-field-text label + input[type="color"], 
	body .adverts-form.adverts-form-aligned .adverts-control-group.adverts-field-text label + select, 
	body .adverts-form.adverts-form-aligned .adverts-control-group.adverts-field-text label + textarea {
		width: 68%;
	}
}

body .adverts-form input[type="file"] {
	cursor: pointer;
}

body .adverts-form .adverts-control-group > div.adverts-field-header {
	width: 100%;
	border-bottom: 5px solid rgba(217, 208, 184, 0.5);
}

/* adjust borders */
body .adverts-grid.adverts-grid-closed-top,
body .adverts-form .adverts-control-group.adverts-field-actions {
	border-top: 5px solid rgba(217, 208, 184, 0.5);
}
body .advert-item.advert-item-col-1,
body .adverts-grid .adverts-grid-row {
	border-bottom: 5px solid rgba(217, 208, 184, 0.5);
}
body .adverts-contact-box + hr {
	border: 0;
	padding: 0;
	margin: 2em 0;
	height: 5px;
	background-color: rgba(217, 208, 184, 0.5);
}

/* error wrapper of inputs */
body .adverts-form .adverts-field-error {
	background-color: rgba(255, 0, 0, 0.02);
	padding-top: 0.75em;
    padding-bottom: 0.5em;
}

body .adverts-form input[type="submit"],
body .adverts-content ~ form input[type="submit"] {
	-moz-transition: all .2s;
	-webkit-transition: all .2s;
	transition: all .2s;
	padding: 6px 20px;
	border: 2px solid;
	font-weight: 500;
	line-height: 1.7em;
	background-color: rgba(255,255,255,0);
	color: #a29061;
	border-width: 2px;
	border-color: #a29061;
	border-radius: 0px;
	font-family: 'Alegreya', Georgia, "Times New Roman", serif;
	font-size: 20px;
	cursor: pointer;
}
body .adverts-form input[type="submit"]:hover,
body .adverts-content ~ form input[type="submit"]:hover {
	background-color: #d9d0b8;
	color: #a29061;
	border-color: rgba(162,144,97,0);
}
/* hide post date of advert */
body.single-advert .entry-title + .post-meta {
	display: none;
}
/* advert taxonomy */
body.archive.tax-advert_category #main-content > article > .entry-content {
	margin: 60px auto !important;
	max-width: 1140px;
	width: 80%;
}

/* advert list block */
body .advert-item span.advert-link .advert-link-text {
	color: #a29061;
}
body .advert-item.advert-item-col-1 {
	padding-top: 20px;
	padding-bottom: 20px;
}
body .adverts-bg-hover .advert-item-col-1:hover {
	background-color: rgba(217, 208, 184, 0.1);
}
@media (max-width: 640px) {
	body .advert-item.advert-item-col-1 span.advert-link {
		font-size: 13px;
	}
}

/* top advert block of search */
body .adverts-options {
	margin-bottom: 24px;
    line-height: 1.5em;
    border: 0;
    border-bottom: 5px solid #a29061;
    padding: 0em 12px 0em 12px;
    background-color: rgba(217, 208, 184, 0);
	-webkit-box-shadow: 0 0 30px rgba(162,144,97,.2)!important;
    -moz-box-shadow: 0 0 30px rgba(162,144,97,.2)!important;
    box-shadow: 0 0 30px rgba(162,144,97,.2)!important;
}
body .adverts-options .adverts-button-small {
	-moz-transition: all .2s;
	-webkit-transition: all .2s;
	transition: all .2s;
	padding: 6px 20px;
	border: 2px solid;
	font-weight: 500;
	line-height: 1.7em !important;
	background-color: rgba(255,255,255,0);
	color: #a29061;
	border-width: 2px;
	border-color: #a29061;
	border-radius: 0px;
	font-family: 'Alegreya', Georgia, "Times New Roman", serif;
	font-size: 20px;
	cursor: pointer;
	height: auto !important;
	text-align: center;
}
body .adverts-options .adverts-button-small:hover {
	background-color: #d9d0b8;
	color: #a29061;
	border-color: rgba(162,144,97,0);
}

/* icon boxes */
body .adverts-flexbox-item {
	background-color: rgba(217, 208, 184, 0.25);
	-webkit-box-shadow: 0 0 0 rgba(162,144,97,0)!important;
	-moz-box-shadow: 0 0 0 rgba(162,144,97,0)!important;
	box-shadow: 0 0 0 rgba(162,144,97,0)!important;
	transition: all 0.4s ease;
}
body .adverts-flexbox-item:hover {
	background-color: rgba(217, 208, 184, 0);
	-webkit-box-shadow: 0 0 30px rgba(162,144,97,.2)!important;
	-moz-box-shadow: 0 0 30px rgba(162,144,97,.2)!important;
	box-shadow: 0 0 30px rgba(162,144,97,.2)!important;
}
body .adverts-flexbox-icon {
	color: #a29061;
	font-size: 36px;
    height: 40px;
    line-height: 40px;
	margin-top: 20px;
}
body .adverts-icon-folder::before {
	font-family: 'FontAwesome';
    content: '\f00b';
}
body .adverts-flexbox-icon + .adverts-flexbox-title {
	padding-bottom: 0;
	margin-bottom: 20px;
	line-height: 1.2em;
	color: #403b30;
}
body .adverts-category-link:hover {
	background-color: transparent;
}

/* -- EVENTON -- */

/* force set the eventon article to be full width instead of the 70% */
.evo_page_content.evo_se_sidarbar article {
	width: 100%;
}

/* also, our overall wrapper from Divi (of #left-area) already has padding in it, 
 * so we remove the padding on the single event wrapper of EventON */
#left-area .eventon_main_section,
#left-area #eventon_comments {
	padding: 0;
}

/* circle the featured image in the event top pieces in the list */
body .eventon_events_list .eventon_list_event .ev_ftImg {
	border-radius: 50%;
	width: 75px;
	height: 75px;
	max-height: 75px;
	background-position: center center;
}

/* adjust height of eventon list link, to make room for featured image circle */
body .eventon_events_list .eventon_list_event .desc_trig_outter > a.evcal_list_a {
	min-height: 110px;
}

/* for some reason, if the event is only one day, EventOn makes the left margin of the title in the Top piece, different.
 * We fix it. */
body #evcal_list .eventon_list_event a.sin_val.hasFtIMG .evcal_desc,
body .eventon_events_list .eventon_list_event .hasFtIMG .evcal_desc,
body .list-cal .eventon_events_list .eventon_list_event .evcal_desc {
    padding-left: 170px;
}

/* on list of Events, the month titles are too close to the cards above them */
.ajde_evcal_calendar .evcal_list_month.eventon_events_list + .evcal_month_line p {
	padding-top: 30px;
}

/* tweak the end date in the title block, so it looks better */
.evcal_cblock .evo_end {
    margin-top: 4px;
    margin-left: 3px;
}

/* force hide the sidebar on event type archive (though should rarely be found) */
body.archive.tax-event_type #sidebar {
	display: none !important;
}
/* and hide the regular header */
body.archive.tax-event_type .page-header {
	display: none !important;
}
/* and change the color */
.evo_location_card .evo_location_tax::after, 
.evotax_term_card .evotax_term_details::after {
	background-color: #b3a279 !important;
}

/* set font weight to medium for titles */
body .ajde_evcal_calendar .calendar_header p.evo_month_title,
body #evcal_list .eventon_list_event .evcal_desc span.evcal_event_title,
body .ajde_evcal_calendar .evcal_evdata_row .evcal_evdata_cell h3.evo_h3 {
	font-weight: 600;
}
/* don't uppercase the subtitle */
body .eventon_events_list .eventon_list_event .evcal_desc span.evcal_event_subtitle, 
body .evo_pop_body .evcal_desc span.evcal_event_subtitle {
	text-transform: none;
}

/* links in description should be gold */
.eventon_events_list .eventon_list_event .eventon_full_description .eventon_desc_in a {
	color: #b3a279;
}

/* fix the icon positioning */
body .eventon_events_list .eventon_list_event .evcal_desc .evcal_time::before, 
body .evo_pop_body .evcal_desc em.evcal_time::before, 
body .eventon_events_list .eventon_list_event .evcal_desc .evcal_location::before, 
body .evo_pop_body .evcal_desc em.evcal_location::before {
	top: 1px;
}

@media (max-width: 480px) {
	/* reduce featured image even more on list top */
	body .eventon_events_list .eventon_list_event .ev_ftImg {
		height: 36px;
		width: 36px;
	}
	/* pull the date block to below the featured image in the list top */
	body .eventon_events_list .eventon_list_event .hasFtIMG .evcal_cblock {
		left: 0;
		top: 60px;
	}
	/* we made room to pull the event title over more, in the list top */
	body #evcal_list .eventon_list_event a.sin_val.hasFtIMG .evcal_desc,
	body .eventon_events_list .eventon_list_event .hasFtIMG .evcal_desc,
	body .list-cal .eventon_events_list .eventon_list_event .evcal_desc {
		padding-left: 80px;
	}
	/* reduce font size of subtitle in event top */
	body .eventon_events_list .eventon_list_event .evcal_desc span.evcal_event_subtitle {
		font-size: 13px;
	}
	/* also reduce the date size */
	body .evcal_cblock .evo_start {
		font-size: 24px;
	}
	body .evcal_cblock .evo_end {
		font-size: 12px;
		margin-top: 4px;
		margin-left: 3px;
	}
}

/* remember we overrode the main content area of single pages (that had a sidebar)...
 * now that the sidebar stays to the right at a more narrow width, the content area becomes quite narrow at smaller widths too...
 * so for EventOn single items, when the content area is narrow (before the sidebar stacks), we need to fix some items to prevent
 * certain pieces from becoming too narrow */
@media (min-width: 639px) and (max-width: 767px) {
	body.et_right_sidebar #main-content .container #left-area .evorow .tb .evcal_col50 {
		float: none;
		display: block;
	}
	body.et_right_sidebar #main-content .container #left-area .event_description .evcal_col50 {
		border-right: none;
	}
	body.et_right_sidebar #main-content .container #left-area .evcal_col50 {
		width: 100%;
		border-bottom: 1px solid #cdcdcd;
	}
	body.et_right_sidebar #main-content .container #left-area .ajde_evcal_calendar .calendar_header p {
    	font-size: 26px;
	}
}

/* -- END EVENTON -- */