/*
 * AWC blocks and block styles (front end and editor).
 */

/* AWC Section */
.awc-section { clear: both; }
.awc-section::after { content: ""; display: table; clear: both; }
.awc-pt-none { padding-top: 0; }
.awc-pt-small { padding-top: 15px; }
.awc-pt-medium { padding-top: 30px; }
.awc-pt-large { padding-top: 60px; }
.awc-pb-none { padding-bottom: 0; }
.awc-pb-small { padding-bottom: 15px; }
.awc-pb-medium { padding-bottom: 30px; }
.awc-pb-large { padding-bottom: 60px; }
.awc-bg-gray {
	background: #f6f7fb;
	border-top: 1px solid #e6e8ee;
	border-bottom: 1px solid #e6e8ee;
}

/* AWC Columns */
.awc-row::after { content: ""; display: table; clear: both; }

/* AWC Slider / Banner / Map / Photo strip */
.awc-slider-block { overflow: hidden; }
.awc-banner-wrap, .awc-map-wrap { padding: 0; }
.awc-photo-strip img { max-width: 24%; height: auto; }

/* Core blocks inside AWC pages */
.awc-canvas .wp-block-heading { margin-top: 25px; }
.awc-canvas h1.wp-block-heading { margin-top: 20px; }
.awc-canvas figure { margin: 0 0 15px; }

/* Block style: AWC body text (= the original .p-lg) */
p.is-style-awc-large, .p-lg {
	color: #666;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	margin-top: 5px;
	line-height: 180%;
}

/* Block style: AWC gray callout (= the original .well box) */
p.is-style-awc-callout {
	color: #666;
	font-size: 16px;
	line-height: 180%;
	text-align: center;
	min-height: 20px;
	padding: 19px;
	margin: 20px 0;
	background-color: #f5f5f5;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}

/* Block style: AWC green checkmarks */
ul.is-style-awc-checklist, ul.awc-checklist { list-style: none; padding-left: 0; }
ul.is-style-awc-checklist li, ul.awc-checklist li { margin-left: 20px; }
ul.is-style-awc-checklist li::before, ul.awc-checklist li::before {
	font-family: 'IcoMoon';
	content: "\e03e";
	color: green;
	margin-right: 6px;
}

/* Block style: AWC framed photo (= the original .img-thumbnail) */
.wp-block-image.is-style-awc-thumb img,
.wp-block-image.is-style-awc-wide-crop img {
	padding: 4px;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	max-width: 100%;
	height: auto;
}

/* Block style: AWC wide crop */
.wp-block-image.is-style-awc-wide-crop img {
	display: block;
	width: 100%;
	height: 300px;
	object-fit: cover;
	object-position: center 30%;
}

@media (max-width: 767px) {
	.awc-photo-strip img { max-width: 48%; }
	.wp-block-image.is-style-awc-wide-crop img { height: 200px; }
	.awc-canvas .alignleft, .awc-canvas .alignright { float: none; margin-left: 0; margin-right: 0; }
}

/* Block editor alignment classes (the original stylesheet justifies every <p>). */
.has-text-align-center { text-align: center !important; }
.has-text-align-left { text-align: left !important; }
.has-text-align-right { text-align: right !important; }
.awc-canvas .alignright { float: right; margin: 0 0 15px 20px; }
.awc-canvas .alignleft { float: left; margin: 0 20px 15px 0; }
.awc-canvas .aligncenter { display: table; margin-left: auto; margin-right: auto; }
p.awc-text-center, .awc-text-center { text-align: center; }

/* ACF sections */
.awc-section-content .awc-content > *:first-child { margin-top: 0; }
.awc-section-image-text h2 { margin-top: 0; }
.awc-it-img { max-width: 100%; height: auto; }
.awc-cta { padding: 40px 0; }
.awc-cta-blue { background: #2b5797; background-image: linear-gradient(180deg, #2f62a8 0%, #234a82 100%); color: #fff; }
.awc-cta-blue .awc-cta-heading, .awc-cta-blue .awc-cta-text { color: #fff; }
.awc-cta-gray { background: #f6f7fb; border-top: 1px solid #e6e8ee; border-bottom: 1px solid #e6e8ee; }
.awc-cta-heading { margin: 0 0 10px; font-size: 28px; font-weight: 300; }
.awc-cta-text { font-size: 16px; line-height: 170%; }
.awc-cta.text-center p { text-align: center; }
.awc-cta.text-left p { text-align: left; }
.awc-cta-button { background: #005cca; color: #fff; border: 0; border-radius: 3px; padding: 10px 28px; }
.awc-cta-blue .awc-cta-button { background: #fff; color: #005cca; }
.awc-cta-button:hover, .awc-cta-button:focus { background: #011995; color: #fff; text-decoration: none; }
@media (max-width: 767px) { .awc-it-img.pull-left, .awc-it-img.pull-right { float: none !important; display: block; margin: 0 auto 15px; } }

/* Elementor pages */
.awc-canvas .elementor-section.awc-el-full > .elementor-container { max-width: none; }
.awc-canvas .awc-el-full .elementor-widget-wrap { padding: 0 !important; }
.awc-canvas .awc-el-full .elementor-widget:not(:last-child) { margin-bottom: 0; }
.awc-el-thumb img { padding: 4px; background-color: #fff; border: 1px solid #ddd; border-radius: 4px; max-width: 100%; height: auto; }
.awc-canvas .elementor-widget-text-editor h1.awc-heading { margin-top: 0; }
@media (max-width: 767px) { .awc-el-thumb { text-align: center !important; } }
