/*!
Theme Name: Advantage Driving
Theme URI: https://www.advantagedriversed.com/
Author: Boom Visibility
Author URI: https://www.boomvisibility.com/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: advantage-driving
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Advantage Driving is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: 600;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

body .gform_wrapper.gravity-theme input[type=color], 
body .gform_wrapper.gravity-theme input[type=date], 
body .gform_wrapper.gravity-theme input[type=datetime-local], 
body .gform_wrapper.gravity-theme input[type=datetime], 
body .gform_wrapper.gravity-theme input[type=email], 
body .gform_wrapper.gravity-theme input[type=month], 
body .gform_wrapper.gravity-theme input[type=number], 
body .gform_wrapper.gravity-theme input[type=password], 
body .gform_wrapper.gravity-theme input[type=search], 
body .gform_wrapper.gravity-theme input[type=tel], 
body .gform_wrapper.gravity-theme input[type=text], 
body .gform_wrapper.gravity-theme input[type=time], 
body .gform_wrapper.gravity-theme input[type=url], 
body .gform_wrapper.gravity-theme input[type=week], 
body .gform_wrapper.gravity-theme select, 
body .gform_wrapper.gravity-theme textarea {
    font-size: 16px;
    margin-bottom: 0;
    margin-top: 0;
    padding: 15px;
}
p.gform_required_legend {display: none;}
body .gform_wrapper.gravity-theme .gfield_label {font-weight: 500;}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #203C60;
	font-family: 'Kanit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 1.2;
	font-weight: 600;
	margin: 0 0 0.5em 0;
}

h1 {font-size: clamp(30px, 3vw, 50px);}
h1.entry-title, h2.section-title {font-size: clamp(25px, 3vw, 40px);}
h2 {font-size: clamp(22px, 2.5vw, 34px);}
h2.title {margin-bottom: 1.5em;}
h3 {font-size: clamp(18px, 2vw, 30px);}

p, ul, ol {
	font-size: clamp(16px, 1.5vw, 18px);
	font-weight: 300;
}
p {
	margin-bottom: 1.5em;
}

.entry-content p, .entry-content ul, .entry-content ol {
	margin: 1em 0;
	line-height: 1.3;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #EFEFEF;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 0;
}

ul {
	list-style: none;
}
main ul li {position: relative;}
main ul li:before {
	font-family: dashicons;
    content: "\f344";
    margin-right: 0.5em;
    display: inline-block;
    font-size: 16px;
    position: absolute;
    top: 3px;
    left: -25px;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

@media(min-width: 767px){
	ul.four-col, ul.two-col {
		column-count: 2;
		column-gap: 35px;
	}
}
@media(min-width: 1025px){
	ul.four-col {
		column-count: 4;
	}
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

/* Table Styles */

table {
	margin: 0 0 1.5em;
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #014194;
}
table.packages, .table-wrapper {
    margin-top: clamp(40px, 5vw, 60px);
}
table.packages:first-of-type {margin-top: 0;}
table.packages.align-top td{vertical-align: top;}
.table-wrapper {
	overflow-x: auto;
}
th {
	background: #014194;
	color: #fff;
	font-size: clamp(18px, 2vw, 24px);
	letter-spacing: 1px;
	text-transform: uppercase;
	font-weight: 600;
}
tr ~ tr {
	border-top: 1px solid #014194;
}
td {
    padding: clamp(20px, 3vw, 35px);
    font-size: clamp(16px, 1.5vw, 18px);
}
td:nth-child(odd) {
	background: #fff;
}

/* Links
--------------------------------------------- */
a {
	color: #014194;
	text-decoration: none;
	transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
}

a:hover,
a:focus,
a:active {
	color: #203C60;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

.entry-content a, section.default a:not(.button) {
	text-decoration: underline;
}
.entry-content a.link {
	text-decoration: none;
}
/* Forms
--------------------------------------------- */
button,
a.button,
.entry-content a.button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background: #014194;
	color: #fff;
	line-height: 1;
	padding: 13px 20px;
	font-weight: 600;
    font-size: clamp(17px, 2vw, 20px);
    display: inline-flex;
	border: 0px solid transparent;
	text-decoration:none;
}

.entry-content .button {
	background: transparent;
	border: 2px solid #1F3C60;
	color: #1F3C60;
}
.entry-content table a.button {
	padding: 8px 3px 8px 10px;
}
a.button.clear-button {
    background: transparent;
    border: 2px solid #fff;
	padding: 12px 25px;
}
a.button:after{
	content: "\f345";
	font-family: dashicons;
	transition: margin-left 0.3s ease-in-out;
	-webkit-transition: margin-left 0.3s ease-in-out;
	-o-transition: margin-left 0.3s ease-in-out;
	-moz-transition: margin-left 0.3s ease-in-out;
	margin-left: 5px;
}

button:hover,
a.button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: #EC293B;
}
.entry-content .button:hover {
	background: #1F3C60;
	color: #fff;
}
@media(max-width: 767px){
	a.button ~ a.button {
		margin-top: 5px;
	}
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	font-size: clamp(16px, 1.5vw, 18px);
	font-weight: 300;
    margin-bottom: 0;
    margin-top: 0;
    padding: 15px;
	border-radius: 0;
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}
form.search-form {
    display: flex;
}

.textalign-center {
	text-align: center;
}
.medium-ft {
	font-weight: 500;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

.container {
	margin: 0 auto;
	max-width: 90%;
}
.d-none {display: none;}
.video-wrapper {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;}
.video-wrapper iframe, .video-wrapper object, .video-wrapper embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.flex-container {
	display: flex;
	flex-wrap: wrap; }
.flex-center {align-items: center;}
.flex-top {align-items: flex-start;}
.flex-between, .justify-center {justify-content: center;}
.flex-container.flex-2 > *, .flex-container.flex-3 > *, .flex-container.flex-4 > *, .flex-container.flex-5 > * {flex-basis: 100%;}
@media(min-width: 767px){
	.flex-around {justify-content: space-around;}
	.flex-between {justify-content: space-between;}
	.flex-container.flex-4 > * {flex-basis: 48%;}
	.flex-container.flex-4.flex-flush > * {flex-basis: 50%;}
}
@media(min-width: 1025px) {
	.flex-container.flex-2 > * {flex-basis: 48%;}
	.flex-container.flex-3 > * {flex-basis: 32%;}
	.flex-container.flex-4 > * {flex-basis: 24%;}
	.flex-container.flex-5 > * {flex-basis: 19%;}
	.flex-container.flex-2.flex-flush > * {flex-basis: 50%;}
	.flex-container.flex-3.flex-flush > * {flex-basis: 33.33333%;}
	.flex-container.flex-4.flex-flush > * {flex-basis: 25%;}
	.flex-reverse {flex-direction: row-reverse;}
}
@media(min-width: 1250px) {
	.container {max-width: 1200px;}
	.container.small {max-width: 1000px;}
}

/* Front Page */
#page {position: relative;}
#page:before {
	content: '';
    width: 100%;
    height: 0;
    background-image: url(images/cityscape.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    position: absolute;
    top: 70px;
    left: 0;
    padding: 0 0 49% 0;
    z-index: -1;
    opacity: 0.74;}
.hero {padding: clamp(50px, 5vw, 100px) 0;position: relative;}
.hero .container {
    position: relative;
    z-index: 99;
}
.hero:after {
	content: '';
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="1400" height="1168.445" viewBox="0 0 1400 1168.445"><path id="Path_1" data-name="Path 1" d="m 1400 328.212 s -361.56 255.62 -1400 328.821 h 1400 z" transform="translate(18 -328.212)" fill="%23aa1b28"/></svg>');
	position: absolute;
    bottom: 0;
    background-size: cover;
    width: 100%;
	height: 23.2vw;
}
.hero h1.headline {
	font-size: clamp(30px, 3vw, 50px);
	line-height: 1.1;
    margin: 0 0 15px 0;}
.hero p.hero-text {
	font-size: clamp(18px, 2vw, 26px);
	line-height: 1.2;
    font-weight: 300;
	margin: 0;}
.hero-content {margin-bottom: clamp(25px, 3.5vw, 50px);text-align: center;}
.link-section {background-color: #aa1b28;}
.link-section.extended {padding-bottom: clamp(50px, 5vw, 100px);}
.link-button {
	background: #EC293B;
	color: #fff;
	padding: 15px 20px;
	font-size: clamp(17px, 1.7vw, 21px);
	line-height: 1.2;
	font-weight: 500;
	display: flex;
	align-items: center;
	text-decoration: none;
	margin: 10px 0;
}
.link-button:hover {
	background: #014194;
	color: #fff;
}
.link-button img{margin-right: 25px;}
.welcome-section {
    background-color: #aa1b28;
    color: #fff;
    padding: clamp(50px, 7vw, 100px) 0 0 0;
	position: relative;
}
.welcome-section:after {
	content: '';
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="943.15" height="251.475" viewBox="0 0 943.15 251.475"><path id="Path_317" data-name="Path 317" d="m 0 328.212 s 243.031 171.821 943.15 221.024 c 0 14.185 0 10 0 10 h -943.15 z" transform="translate(0 -328.212)" fill="%23ec293b"/></svg>');
	position: absolute;
    bottom: 0;
    background-size: cover;
    width: 100%;
    height: 15vw;
}
.welcome-content {
	margin: 0 0 clamp(50px, 7vw, 100px) 0;
	position: relative;
	z-index: 99;
}
.welcome-image {
    line-height: 0;
	text-align: center;
}
.reasons {
	background-color: #203C60;
	color: #fff;
	padding: clamp(35px, 4.5vw, 50px) 0;
}
.reason {
    display: flex;
    align-items: center;
	margin-bottom: 2%;
}
.reason img{
	margin-right: 20px;
    padding: 10px;
    background-color: #014194;
    border-radius: 50%;
    max-width: 65px;
}
p.reason-title {font-weight: 500; font-size: clamp(17px, 1.7vw, 21px);margin: 0;line-height: 1.2;}
.lessons-section {background-color: #F7F7F7; }
.drivers-ed-section {background-color: #203C60; color: #fff; }
.drivers-ed {margin-bottom: 25px;}
.lessons-section, .drivers-ed-section {
	padding: clamp(50px, 5vw, 100px) 0;
}
h3.lesson-title, h3.drivers-ed-title {
    font-size: clamp(17px, 1.7vw, 21px);
    font-weight: 500;
}
h3.lesson-title a {
	color: #203C60;
}
h3.drivers-ed-title a {
	color: #fff;
}
a.lesson-link, a.drivers-ed-link {
    display: inline-block;
    background: #fff;
    padding: clamp(20px, 3.5vw, 40px);
    margin-bottom: 20px;
	position: relative;
}
a.lesson-link {
	border-radius: 50%;
	padding: clamp(20px, 3.5vw, 40px);
	width: 217px;
    height: 217px;}
.lesson-link img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);}
a.drivers-ed-link {
	width: 165px;
	height: 197px;
	border-radius: 22px 0 0 22px;
	padding: clamp(20px, 3.5vw, 40px) 10px;}
a.lesson-link:hover,a.drivers-ed-link:hover {
	background: #eaeaee;
}
span.lesson-arrow, span.drivers-ed-arrow {
    position: absolute;
    padding: 15px;
    color: #fff;
	border-radius: 50%;
	bottom: 20px;
    line-height: 1;
	transform: scale(1);
	transition: transform 0.3s ease-in-out;
	-moz-transition: transform 0.3s ease-in-out;
	-webkit-transition: transform 0.3s ease-in-out;
	-o-transition: transform 0.3s ease-in-out;
}
span.lesson-arrow {
	background: #203C60;
	right: 10px;
}
span.drivers-ed-arrow {
	background: #EC293B;
	right: -10px;
	bottom: 10px;
	}
a.lesson-link:hover span.lesson-arrow {
	background: #014194;
	transform: scale(1.2);
}
a.drivers-ed-link:hover span.drivers-ed-arrow {
	background: #014194;
	transform: scale(1.2);
}
section.service-area .service-area-content, section.service-area .intro{
	padding: clamp(35px, 5vw, 85px);}
section.service-area .text-container p {margin: 0;}
section.service-area  .service-area-map {
	background-repeat: no-repeat;
    background-position: center right;
	height: 0;
	padding-bottom: 65%;
	background-size: cover;
}
section.service-area .location p {margin: 0 0 10px 0;}
section.service-area .location p.phone a, .entry-container .location p.phone a {color: #203C60;}
section.service-area .location p.phone a:hover, .entry-container .location p.phone a:hover {color: #EC293B;}
.featured-section {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	position: relative;
}
.featured-section:after {
	content: '';
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="925.15" height="251.475" viewBox="0 0 925.15 251.475"><path id="Path_329" data-name="Path 329" d="m 925.151 328.212 s -243.031 171.82 -943.151 221.024 c 0.251 14.185 0 10.45 0 10.45 h 943.15 z" transform="translate(0 -328.211)" fill="%23004294"/></svg>');
	position: absolute;
    bottom: 0;
	right: 0;
    background-size: cover;
    width: 100%;
    height: 15vw;
}
.featured-flex .featured-content {
	margin: clamp(25px, 4vw, 50px) 0;
	padding: clamp(50px, 5vw, 75px);
	background: #203C60dd;
	color: #fff;
	position: relative;
    z-index: 99;
}
.why-choose {
	background-color: #AA1B28;
	color: #fff;
	padding: clamp(50px, 5vw, 100px) 0;
}
.why-choose-reason {margin: 5% 0;}
.reason-icon {
    display: inline-block;
    background: #EC293B;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
	position: relative;
}
.reason-icon img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
p.reason-title strong {
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 500;
}
.testimonials {
	background: #F7F7F7;
	padding: clamp(50px, 5vw, 100px) 0;
}
.testimonials h2.section-title {flex-basis: 100%;text-align: center;}
.testimonials .testimonial-slider {
	flex-basis: 100%;
}
.testimonials .bx-wrapper {
	margin: 0;
	padding: clamp(18px, 3vw, 50px) clamp(35px, 5vw, 100px);
	flex-basis: 100%;}
.testimonial .rpi .testimonial-text p {
	font-family: 'Kanit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: clamp(18px, 1.75vw, 21px) !important;
	font-weight: 300 !important;
	line-height: 1.3; }
.testimonial .rpi .testimonial-text p:not(.testimonial-author) {
	margin-bottom: 1.5em !important;
}
.testimonial .rpi .testimonial-text p.testimonial-author {
	font-size: clamp(15px, 1.5vw, 18px) !important;
	font-weight: 500 !important;}
.testimonial .rpi .rpi-more-toggle {
	transition: all 0.3s ease-in-out !important;
	-webkit-transition: all 0.3s ease-in-out !important;
	-o-transition: all 0.3s ease-in-out !important;
	-moz-transition: all 0.3s ease-in-out !important;
	color: rgba(255,255,255,0.6) !important;
}
.testimonial .rpi .rpi-more-toggle:hover {
	color: rgba(255,255,255,1) !important;
}
.testimonial .rpi .rplg-more-toggle {display: none;}
@media(min-width: 767px){
	#page:before {top: 0;}
	.drivers-ed {margin-bottom: 0px;}
	.lessons-section .flex-container.flex-3 > *, .drivers-ed-section .flex-container.flex-3 > * {flex-basis: 32%;}
	.link-section .flex-container.flex-3 > * {flex-basis: 32%;}
	.flex-container.flex-3 > .why-choose-reason {flex-basis: 28%;}
}
@media(min-width:1025px){
	section.service-area .service-area-content{flex-basis: 40%;position: relative;}
	section.service-area  .service-area-map {flex-basis: 60%;height: 45vw; padding-bottom: 0;}
	.reason {margin-bottom: 0%;}
	.hero .flex-container.flex-2 .hero-content {flex-basis: 35%;}
	.hero .flex-container.flex-2 .hero-image {flex-basis: 60%;}
	.hero-content {margin-bottom: 0;text-align: left;}
	.link-section .flex-container.flex-3 > * {flex-basis: 28%;}
	.link-button {margin-bottom: 0;}
	.testimonials h2.section-title {
		margin: 0;
		flex-basis: 18%;
		text-align: right;
	}
	.testimonials .testimonial-slider {
		flex-basis: 70%;
	}
}
@media(min-width: 1250px){
	.service-area-content {
		margin-left: calc(50% - 600px);
		margin-right: -50%;
	}
}

/* Default Pages */
article .entry-content {
	background: #f7f7f7;
	padding: clamp(45px, 5vw, 70px) 0;
}
article .entry-content ~ .entry-content {
	padding-top: 0;
}
.intro {align-self: center;}
.inline-resources {margin: clamp(45px, 5vw, 70px) 0 0 0;}
article .entry-content ~ .entry-content .inline-resources {margin: 0;}
.red-box {
    background: #EC293B;
    color: #fff;
    padding: 10px;
    margin-bottom: clamp(10px, 2vw, 25px);
}
.red-box a{
	color: #eaeaea;
}
@media(min-width: 767px){
	article .entry-content .content-box{
		flex-basis: 50%;
	}
	article .entry-content .entry-image{
		flex-basis: 45%;
		background: linear-gradient(to right, rgba(31,60,96,0) 0%,rgba(31,60,96,0) 10%,rgba(31,60,96,1) 10%,rgba(31,60,96,1) 90%,rgba(31,60,96,0) 90%,rgba(31,60,96,0) 100%);
		margin-top: clamp(-105px, -10vw, -45px);
        position: relative;
        padding-top: clamp(45px, 11vw, 125px);
		padding-bottom: 45px;
	}
}

/* Blog Page */
.entry-content.blog-content {
	background: #f7f7f7;
}
.entry-content.blog-content article {
	padding: clamp(45px, 5vw, 70px) 0;
}
.entry-content.blog-content article:nth-child(even) {
	background: #fff;
}

@media(min-width: 767px) {
	.entry-summary {flex-basis: 65%;}
	.entry-image {flex-basis: 30%;}
	.entry-content.blog-content article:nth-child(even) .flex-container {
		flex-direction: row-reverse;
	}
}

/* Single Post */
.post-title {margin: 0 0 10px 0;}
.entry-meta {
	position: relative;
	z-index: 9;
}
.entry-meta #breadcrumbs {
	font-size: clamp(14px, 1.5vw, 16px);
	font-weight: 300;
}
.comment-section {
    background: #fff;
    padding: clamp(45px, 7vw, 85px) 0;
}
ol.comment-list {
	padding: 0;
	list-style: none;
}
ol.comment-list li{
    background: #f7f7f7;
    padding: 20px 50px;
    margin: 10px 0;
}
ol.children {
    padding: 20px 0px;
}
ol.children li {
    background: #fff;
    padding: 20px;
    margin: 10px 0;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Header */
#masthead {
    position: sticky;
    top: 0;
    z-index: 999;
	background-color: transparent;
    transition: background-color 0.3s ease-in-out;
	-webkit-transition: background-color 0.3s ease-in-out;
	-o-transition: background-color 0.3s ease-in-out;
	-moz-transition: background-color 0.3s ease-in-out;
}
#masthead.smaller {
	background-color: #fff;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.membership-image {
	max-width: 175px;
    margin: 15px 5px;
}
.header-flex.flex-between {justify-content: space-between;}
.info.flex-container.flex-center {
	display: none;
    justify-content: center;
    width: 100%;
}
.site-branding {
    max-width: 250px;
	line-height: 0;
}
.login-button {display: none;}
#login-trigger, .main-navigation .info .phone a {
    padding: 5px 20px;
}
.main-navigation .info .phone a {
	background-color: #ec293b;
	color: #fff;
	font-weight: 500;
}
.main-navigation .info a.button {
    display: inline-flex;
	padding: 10px 20px;
    width: 100%;
}
header.entry-header {
    padding: clamp(75px, 10vw, 150px) 0;
	position: relative;
}
header.entry-header:after {
	content: '';
	background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="943.15" height="251.475" viewBox="0 0 943.15 251.475"><path id="Path_317" data-name="Path 317" d="m 925.151 328.212 s -243.031 171.82 -943.151 221.024 c 0.251 14.185 0 30.45 0 30.45 h 943.15 z" transform="translate(18 -328.212)" fill="%23aa1b28"/></svg>');
	background-size: cover;
    background-position: top right;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 12vw;
}
header.entry-header h1.entry-title {
	margin: 0 0 20px 0;
}
header.entry-header p {
	font-size: clamp(18px, 1.6vw, 22px);
	font-weight: 300;
	margin: 0;
}
@media(min-width: 767px){
	.header-flex {max-width: 92%;padding-top: 15px;}
}
@media(min-width: 1025px){
	#masthead {
		position: relative;
		background-color: transparent;}
	#masthead.smaller {
		background-color: transparent;
		box-shadow: 0px 0px 0px rgba(0,0,0,0.0);}
	#masthead .phone a, .main-navigation .info .phone a{
		color: #203C60;
		font-size: clamp(22px, 2.5vw, 32px);
		line-height: 1;
		font-weight: 500;}
	.cta-button {margin-left: 25px;}
	#masthead a#login-trigger {
		color: #203C60;
		display: inline-flex;
		font-size: clamp(14px, 1.6vw, 18px);
		font-weight: 500;
	}
	#masthead .phone a:hover, #masthead a#login-trigger:hover {
		color: #EC293B;
	}
	#login-trigger, .phone a {
		padding: 0px;
	}
	#masthead a#login-trigger:after {
		content: "\f344";
		font-family: dashicons;
		margin-left: 5px;
	}
	.menu-flex {
		padding: clamp(15px, 2vw, 25px) 0;
		border-top: 1px solid #203C60;}
	.header-flex {max-width: 100%;}
	.login-button {display: block;}
	.info.flex-container.flex-center {
		display: flex;
		justify-content: flex-end;
		width: auto;
	}
}

/* Footer */
.footer-cta {
	background-size: cover;
	background-position: center;
}
.footer-cta .cta-text {
    background-color: rgba(24, 45, 72, 0.8);
	color: #fff;
    padding: clamp(20px, 3vw, 40px);
    position: relative;
    margin-bottom: 15vw;
	text-align: center;
}
.footer-cta .cta-text h3{
	font-weight: 300;
	font-size: clamp(25px, 4vw, 44px);}
.footer-cta .cta-text h3 strong{font-weight: 600;}
.cta-button-container .button {
	font-weight: 600;
	font-size: clamp(17px, 2vw, 20px);
	margin: 0 auto 15px auto;
	max-width: 210px;
    width: 100%;
}
.cta-button-container .button.blue-button{
	border: 2px solid #fff;
}
.cta-button-container .button.blue-button:after{
	content: "";
	margin: 0;
}
.cta-button-container .button.red-button{
	background: #EC293B;
	border: 2px solid #EC293B;
	color: #fff;
}
.cta-button-container .button.red-button:hover{
	background: #fff;
	color: #EC293B;
}
.locations-section {
	background-color: #182D48;
	color: #fff;
	padding: clamp(50px, 5vw, 100px) 0;
}
.location {
    padding-left: clamp(10px, 1vw, 15px);
    border-left: 2px solid #EC293B;
	margin-bottom: 4%;
}
.location-flex.flex-container.flex-5 > .locations-header{margin: 0 0 25px 0;}
.locations-header h2 {
	margin: 0;
    font-size: clamp(25px, 3vw, 40px);
    line-height: 1.1;}
.location p {margin: 0 0 15px 0;line-height: 1.2;}
.location p.phone {margin-bottom: 0;}
.location p.phone a, .locations-section a {color: #fff;}
.location p.phone a:hover {color: rgba(255,255,255,0.5);}
img.phone-icon {
    margin-right: 10px;
}
.site-info {
	background: #0F2238;
	padding: 25px 0;}
.memberships h3 {
	color: #fff;
	margin: 0;
}
.memberships.flex-container h3 {
	width: 100%;
	text-align: center;}
.footer-menu ul {
    display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
	padding: 0;
	font-size: clamp(12px, 1.2vw, 15px);
}
.footer-menu ul li {
    margin: 0 0 0 15px;
    border-left: 1px solid #fff;
    padding: 0 0 0 15px;
	line-height: 1;
}
.footer-menu ul li:first-of-type {
	margin: 0;
	padding: 0;
	border-left: 0px solid transparent;}
.footer-menu ul li a {
	color: #fff;
	line-height: 1;}
.footer-menu ul li a:hover {
	color: rgba(255,255,255,0.5);
}
.memberships.flex-container {
	justify-content: center;
}
.memberships.flex-container h3 {
	font-size: 18px;}
.memberships.flex-container.flex-2 > *{
	flex-basis: auto;
}
.memberships img {
	background: #fff;
    border-radius: 22px;
    padding: 10px 20px;
}
.copyright {text-align: center;}
.copyright p {
	color: #fff;
	font-size: clamp(12px, 1.2vw, 15px);
	margin: 0;}
@media(min-width: 767px) {
	.footer-cta .flex-container.flex-2 > .spacer {flex-basis: 35%;}
	.footer-cta .flex-container.flex-2 > .cta-text {flex-basis: 65%;text-align: right;}
	.cta-button-container .button.blue-button{
		margin-right: 25px;
	}
	.location-flex.flex-container.flex-5 > .location {
		flex-basis: 48%;
	}
	.cta-button-container {
		position: absolute;
		left: 0;
		width: 100%;
		display: flex;
		justify-content: center;
		bottom: -20px;
		text-align: initial;
	}
	.cta-button-container .button {
		margin: 0;
		max-width: 100%;
		width: auto;
	}
	.flex-container.flex-2 > .copyright {
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.footer-menu ul li:first-of-type {
		margin: 0 0 0 15px;
		border-left: 1px solid #fff;
		padding: 0 0 0 15px;}
}
@media(min-width: 1025px) {
	.location-flex.flex-container.flex-5 > .location {flex-basis: 17%;margin-bottom: 0%;align-self: start;}
	.location-flex.flex-container.flex-5 > .locations-header {text-align: right;flex-basis: 15%;margin: 0;}
	.flex-container.flex-2 > .memberships,
	.flex-container.flex-2 > .copyright {
		flex-basis: 100%;}
	.copyright-container, .footer-menu {
		display: inline-block;
		vertical-align: middle;
	}
}
@media(min-width: 1250px) {
	.footer-cta .flex-container.flex-2 > .spacer,
	.footer-cta .flex-container.flex-2 > .cta-text {flex-basis: 50%;}
	.flex-container.flex-2 > .memberships {flex-basis: 45%;}
	.flex-container.flex-2 > .copyright {
		flex-basis: 55%;
		display: inline-block;
        text-align: right;}
	.memberships.flex-container h3 {margin-right: 15px;width: auto;}
}

/* Accordion, FAQ */

.faq, .accordion {
    margin-bottom: 10px;
}
.faq:last-of-type, .accordion:last-of-type {
	margin-bottom: 0;
}

.answer-text {
    padding: clamp(10px, 2vw, 20px) clamp(25px, 3vw, 50px);
    background: #f7f7f7;
}
.faq-page, .accordion-page {
    margin: 0 0 clamp(25px, 3vw, 50px) 0;
	border-bottom: 1px solid #eaeaea;
}
.question {
    padding: 10px 20px;
    background: #fff;
}
.question h3 {
    margin: 0;
    font-size: clamp(20px, 4vw, 27px);
    font-weight: normal;
	color: #203C60;
}
.accordion.open .question {
	background: #203C60; }
.accordion.open .question h3 a, .accordion.open .question span.caret{
	color: #fff;
}
.question h3 a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.question h3 a:focus {outline: none;}
.question a:hover {
	color: #203C60;
}
.entry-content .faq.open h2 a:focus {outline: none;}
span.caret {
    line-height: 25px;
    border-radius: 50%;
    font-size: 28px;
    margin-left: 10px;
    color: #014194;
    height: 28px;
    width: 28px;
	transform: rotateZ(0deg);
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
span.caret.open, .open span.caret {
	transform: rotateZ(45deg);
}

/* Section - Two Column */
p.section-header {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    color: #EC293B;
}

/* Section - Columns */
.column-flex.flex-container .intro {
    align-self: start;
	position: relative;
    z-index: 9;
}

/* Section - Instructors */
section.instructor {
    padding: clamp(35px, 6vw, 85px) 0 0 0;
}

@media(min-width: 767px) {
	.instructor-image {
		flex-basis: 30%;
	}
	.instructor-bio {
		flex-basis: 65%;
	}
}

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}
.menu-main-nav-container {
    position: absolute;
	left: 0;
    width: 100%;
    z-index: 99;
	top: 0;
    background-color: #fff;
	overflow: scroll;
}
.main-navigation ul {
	list-style: none;
}
.main-navigation .menu-main-nav-container > ul {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-navigation ul.menu > li.button-style a {
	display: inline-flex;
    background: #203C60;
	width: 100%;
}
.main-navigation ul.menu > li.button-style a:after {
	content: "\f345";
	font-family: dashicons;
	margin-left: 5px;
}
.main-navigation ul.menu > li > a {
    padding: 5px 20px;
    font-size: clamp(16px, 1.5vw, 20px);
}
.main-navigation ul.menu > li > a:hover, .main-navigation ul.menu > li.current-menu-item > a {
	color: #AA1B28;
}
.main-navigation ul ul {
	margin-left: 0;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}
.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	background: #fff;
	padding: 5px 20px;
	font-size: clamp(14px, 1.25vw, 16px);
}
.main-navigation ul ul a:hover {
	background:#203C60;
	color: #fff;
}
.main-navigation ul#primary-menu > li:first-of-type{
	border-top: 1px solid #2E2E2E42;
}
.main-navigation ul#primary-menu > li {
	border-bottom: 1px solid #2E2E2E42;
}
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation .phone-button {display: none;}
.main-navigation a {
	display: block;
	text-decoration: none;
}
.main-navigation a.button {display: inline-block;}
.menu-item-has-children a span.plus {
    display: inline-block;
    margin-left: 10px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    background: #014194;
    text-align: center;
    color: #fff;
    transform: rotate(0deg);
    -webkit-transition: transform .4s;
    -o-transition: transform .4s;
    transition: transform .4s;
    font-size: 21px;
    line-height: 1;
}
.menu-item-has-children a span.plus.open {
	transform: rotate(45deg);
}
/* Small menu. */
.menu-toggle {
	display: block;
}
.phone-button {
	margin: 0;
	text-align: center;
}
nav#site-navigation .menu-toggle {
    position: absolute;
    width: 54px;
    height: 39px;
    padding: .65em;
    border: 0px solid transparent;
    box-shadow: inset 400px 0 0 0 #014194;
    top: clamp(18px, 4vw, 30px);
    right: clamp(10px, 2.5vw, 25px);
    z-index: 999;
}
.menu-toggle .menu-bar {
	display: block;
	left: 18px;
	width: 18px;
	height: 0.25em;
	margin-top: 0.188em;
	background-color: #fff;
	position: absolute;
	-webkit-border-radius: 1px;
	-moz-border-radius: 1px;
	border-radius: 1px;
	-webkit-transition: transform .4s;
	-o-transition: transform .4s;
	transition: transform .4s;}
.menu-toggle .menu-bar:first-of-type {top: 7px;}
.menu-toggle .menu-bar:nth-child(2) {top: 14px;}
.menu-toggle .menu-bar:nth-child(3) {top: 21px;}
.toggled .menu-toggle .menu-bar:nth-child(1) {
	top: 14px;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
	-webkit-transition: transform .4s;
	-o-transition: transform .4s;
	transition: transform .4s;}
.toggled .menu-toggle .menu-bar:nth-child(2) {
	opacity: 0;
	-webkit-transition: opacity .3s;
	-o-transition: opacity .3s;
	transition: opacity .3s;}
.toggled .menu-toggle .menu-bar:nth-child(3) {
	top: 14px;
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
	-webkit-transition: transform .4s;
	-o-transition: transform .4s;
	transition: transform .4s;}

@media screen and (min-width: 1025px) {

	.menu-toggle {
		display: none;
	}
	.main-navigation {
		display: inline-block;
        width: 80%;}
	.menu-main-nav-container {
		position: relative;
		background-color: transparent;
		overflow: visible;}
	.main-navigation .phone-button {
		display: block;
		position: absolute;
		top: -30px;
		right: 40px;
		margin: 0;
	}
	.main-navigation .menu-main-nav-container > ul {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.main-navigation ul#primary-menu > li,
	.main-navigation ul#primary-menu > li:first-of-type {
		border: 0px solid transparent;
	}
	.main-navigation ul.menu > li > a {
		color: #203C60;
		font-weight: 500;
		padding: 10px 0;
		font-size: clamp(14px, 1.6vw, 18px);
	}
	.main-navigation ul#primary-menu > li.button {
		border-radius: 26px;
		background-color: #203C60; }
	.main-navigation ul#primary-menu > li.button > a {font-weight: 700;}
	.main-navigation .menu-main-nav-container > ul > li > a {
		line-height: 1;
	}
	.menu-item-has-children a span.plus {
		display: none;
	}
	.main-navigation ul li > .sub-menu {
		box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
		border: 2px solid #fff;
		margin: 0;
		padding: 0;
		position: absolute;
		top: 100%;
		z-index: 99999;
		left: -999em;
		transform: translateY(30px);
		opacity: 0;
		-webkit-transition: all 0.2s ease-in-out;
		-moz-transition: all 0.2s ease-in-out;
		-ms-transition: all 0.2s ease-in-out;
		-o-transition: all 0.2s ease-in-out;
		transition: all 0.2s ease-in-out;}
	.main-navigation ul li:hover > ul.sub-menu {
		left: auto;
    	transform: translateY(0px);
    	opacity: 1;}
	header#masthead.smaller .main-navigation ul.menu > li.button-style a {
		background: #203C60;
	}	
}

@media(max-width: 1025px){
	.main-navigation ul li > .sub-menu {display: none;padding-left: 20px;}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */

.aligncenter, .alignright, .alignleft {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

@media(min-width: 480px){
	.alignleft {

		/*rtl:ignore*/
		float: left;
	
		/*rtl:ignore*/
		margin-right: 1.5em;
		margin-bottom: 1.5em;
	}
	
	.alignright {
	
		/*rtl:ignore*/
		float: right;
	
		/*rtl:ignore*/
		margin-left: 1.5em;
		margin-bottom: 1.5em;
	}
}

/** VARIABLES
===================================*/
/** RESET AND LAYOUT
===================================*/
.bx-wrapper {
	position: relative;
	margin-bottom: 60px;
	padding: 0;
	-ms-touch-action: pan-y;
	touch-action: pan-y;
  }
  .bx-wrapper img {
	max-width: 100%;
	display: block;
  }
  .bxslider {
	margin: 0;
	padding: 0;
  }
  ul.bxslider {
	list-style: none;
  }
  .bx-viewport {
	/* fix other elements on the page moving (in Chrome) */
	-webkit-transform: translateZ(0);
  }
  /** THEME
  ===================================*/
  .bx-wrapper {
	background: #203C60;
	color: #fff;
  }
  .bx-wrapper .bx-pager,
  .bx-wrapper .bx-controls-auto {
	position: absolute;
	bottom: -30px;
	width: 100%;
  }
  /* LOADER */
  .bx-wrapper .bx-loading {
	min-height: 50px;
	background: url('images/bx_loader.gif') center center no-repeat #ffffff;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2000;
  }
  /* PAGER */
  .bx-wrapper .bx-pager {
	text-align: center;
	font-size: .85em;
	font-family: Arial;
	font-weight: bold;
	color: #666;
	padding-top: 20px;
  }
  .bx-wrapper .bx-pager.bx-default-pager a {
	background: #666;
	text-indent: -9999px;
	display: block;
	width: 10px;
	height: 10px;
	margin: 0 5px;
	outline: 0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
  }
  .bx-wrapper .bx-pager.bx-default-pager a:hover,
  .bx-wrapper .bx-pager.bx-default-pager a.active,
  .bx-wrapper .bx-pager.bx-default-pager a:focus {
	background: #000;
  }
  .bx-wrapper .bx-pager-item,
  .bx-wrapper .bx-controls-auto .bx-controls-auto-item {
	display: inline-block;
	vertical-align: bottom;
  }
  .bx-wrapper .bx-pager-item {
	font-size: 0;
	line-height: 0;
  }
  /* DIRECTION CONTROLS (NEXT / PREV) */
  .bx-wrapper .bx-prev {
	left: 0;
  }
  .bx-wrapper .bx-prev:hover,
  .bx-wrapper .bx-prev:focus {
	left: clamp(-10px, -1.05vw, -5px);
  }
  .bx-wrapper .bx-next {
	right: 0;
  }
  .bx-wrapper .bx-next:hover,
  .bx-wrapper .bx-next:focus {
	right: clamp(-10px, -1.05vw, -5px);
  }
  .bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	outline: 0;
	width: clamp(32px, 4vw, 50px);
	height: clamp(32px, 4vw, 50px);
	z-index: 9999;
  }
  .bx-wrapper .bx-controls-direction a.bx-next:before,
  .bx-wrapper .bx-controls-direction a.bx-prev:before {
    font-family: dashicons;
    color: #fff;
    text-align: center;
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(20px, 3vw, 32px);
  }
  .bx-wrapper .bx-controls-direction a.bx-prev:before{content: "\f341";}
  .bx-wrapper .bx-controls-direction a.bx-next:before{content: "\f345";}
  .bx-wrapper .bx-controls-direction a.disabled {
	display: none;
  }
  /* AUTO CONTROLS (START / STOP) */
  .bx-wrapper .bx-controls-auto {
	text-align: center;
  }
  .bx-wrapper .bx-controls-auto .bx-start {
	display: block;
	text-indent: -9999px;
	width: 10px;
	height: 11px;
	outline: 0;
	background: url('images/controls.png') -86px -11px no-repeat;
	margin: 0 3px;
  }
  .bx-wrapper .bx-controls-auto .bx-start:hover,
  .bx-wrapper .bx-controls-auto .bx-start.active,
  .bx-wrapper .bx-controls-auto .bx-start:focus {
	background-position: -86px 0;
  }
  .bx-wrapper .bx-controls-auto .bx-stop {
	display: block;
	text-indent: -9999px;
	width: 9px;
	height: 11px;
	outline: 0;
	background: url('images/controls.png') -86px -44px no-repeat;
	margin: 0 3px;
  }
  .bx-wrapper .bx-controls-auto .bx-stop:hover,
  .bx-wrapper .bx-controls-auto .bx-stop.active,
  .bx-wrapper .bx-controls-auto .bx-stop:focus {
	background-position: -86px -33px;
  }
  /* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
  .bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
	text-align: left;
	width: 80%;
  }
  .bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
	right: 0;
	width: 35px;
  }
  /* IMAGE CAPTIONS */
  .bx-wrapper .bx-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	background: #666;
	background: rgba(80, 80, 80, 0.75);
	width: 100%;
  }
  .bx-wrapper .bx-caption span {
	color: #fff;
	font-family: Arial;
	display: block;
	font-size: .85em;
	padding: 10px;
  }
  
