/*

Theme Name: X – Child Theme
Theme URI: https://theme.co/x/
Author: Themeco
Author URI: https://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x

*/

:root {
    --wr-site-max-width: 1920px;
	--wr-color-primary: #212121;
	--wr-color-primary-highlight: #fb9638;
	--wr-color-secondary: #0d0d0d;
	--wr-headline-color: #fff;
	--wr-text-color: #fff;
    --wr-text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.7);
}

body {
	font-size: 24px;
	line-height: 1.2em;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  margin: 0 0 0.2em 0;
  text-shadow: var(--wr-text-shadow);
}

h1,
h1.entry-title {
	font-size: 48px;
	text-transform: uppercase;
}

h2 {
	font-size: 32px;
	text-transform: uppercase;
}

h3 {
	font-size: 28px;
	text-transform: uppercase;
}

h4 {
	font-size: 24px;
	text-transform: uppercase;
}

p {
	line-height: 1.2em;
    text-shadow: var(--wr-text-shadow);
}

.wr-white-text h1,
.wr-white-text h2,
.wr-white-text h3,
.wr-white-text h4,
.wr-white-text h5,
.wr-white-text h6,
.wr-white-text h1 a,
.wr-white-text h2 a,
.wr-white-text h3 a,
.wr-white-text h4 a,
.wr-white-text h5 a,
.wr-white-text h6 a,
.wr-white-text p,
.wr-white-text ul {
	color: #fff;
}

.wr-white-text h1 a:hover,
.wr-white-text h2 a:hover,
.wr-white-text h3 a:hover,
.wr-white-text h4 a:hover,
.wr-white-text h5 a:hover,
.wr-white-text h6 a:hover {
	color: #fff;
	text-decoration: underline;
}


@media (max-width: 1024px) {
	h1,
	h1.entry-title {
	font-size: 30px;
	}

	h2 {
		font-size: 28px;
	}

	h3 {
		font-size: 26px;
	}

	h4 {
		font-size: 22px;
	}

	body, p, ul, ol {
		font-size: 16px;
	}
}

@media (max-width: 500px) {
	h1,
	h1.entry-title {
	font-size: 28px;
	}

	h2 {
		font-size: 26px;
	}

	h3 {
		font-size: 22px;
	}

	h4 {
		font-size: 18px;
	}

	body, p, ul, ol {
		font-size: 16px;
	}
}

.wr-row {
	display: flex;
	flex-flow: row nowrap;
}

@media (max-width: 768px) {
	.wr-row {
		flex-flow: column nowrap;
	}
}

.wr-stretch-section {
	margin-left: calc(50% - 50vw) !important;
	width: 100vw !important;
	/*width: calc(100% + 40px);
	left: -20px;*/
}

.wr-stretch-row {
	width: calc(100% + 40px) !important;
	left: -20px;
}

.wr-standard-button {
	display: block;
	width: 250px;
	max-width: 100%;
	background-color: var(--wr-color-primary);
	font-size: 18px;
	text-align: center;
	text-transform: uppercase;
	line-height: 1.2rem;
	padding: 10px 15px;
	color: #fff;
	border: 0;
	
}

	.wr-standard-button:hover {
		background-color: var(--wr-color-primary-highlight);
		color: var(--wr-text-color);
	}

	.wr-standard-button > div {
		border: 1px solid #fff;
		padding: 5px 15px;
	}

.wr-standard-button.wr-standard-button-fullwidth {
	width: 100%;
}

.wr-header-top {
	display: flex;
	flex-flow: column nowrap;
	background-color: var(--wr-color-secondary);
	color: #fff;
	font-size: 16px;
    min-height: 50px;
}

.wr-header-top a {
	color: #fff;
}

	.wr-header-top a:hover {
		color: #fff;
		text-decoration: underline;
	}

.wr-header-top-row {
	display: flex;
	flex: 1;
	flex-flow: row nowrap;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	padding: 0;
	/*gap: 10px;*/
}

.wr-header-top-column {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	flex: 0 0 auto;
}

.wr-header-top-column:first-of-type {
	padding-left: 20px;
}

.wr-header-top-column:last-of-type {
	justify-content: flex-end;
    padding-right: 20px;
}

.wr-header-top-phone {
	margin: 0 5px;
}

@media (max-width: 768px) {
	.wr-header-top-row {
		flex-flow: column nowrap;
	}

    .wr-header-top-row:first-of-type {
        align-items: flex-start;
        justify-content: center;
        gap: 5px;
    }

    .wr-header-top-column:first-of-type {
        padding: 0 0 0 10px;
    }

    .wr-header-top-column:last-of-type {
        padding: 0 0 0 5px;
    }
}

@media (max-width: 500px) {
	.wr-header-top-phone {
		font-size: 14px;
	}
}

@media (max-width: 400px) {
	.wr-header-top {
		font-size: 12px;
	}
}

@media (max-width: 350px) {
	.wr-header-top-phone {
		font-size: 12px;
	}
}

.wr-header {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	position: relative;
	width: 100%;
	padding: 15px;
	z-index: 50;
	background-color: #191919;
    background-image: url('images/footer-bg-tile.png');
    background-repeat: repeat;
}

body.home .wr-header {
    background-color: transparent;
    background-image: none;
}

.wr-header-column {
	flex: 0 0 auto;
}

.wr-header-column-logo {
	flex: 0 1 350px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.wr-header-column-desktop {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wr-main-nav-wrap {
    width: 100%;
    max-width: 1300px;
}

.wr-header-buttons {
    display: flex;
    flex-flow: row nowrap;
    gap: 30px;
    justify-content: space-evenly;
    align-items: center;
    padding-right: 30px;
}

.wr-header-button {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 1 350px;
    min-height: 65px;
    padding: 10px 15px;
    background-color: var(--wr-color-primary-highlight);
    color: #000;
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 700;
    border: 1px solid #000;
    cursor: pointer;
    text-align: center;
    transform: skewX(-20deg);
}

    .wr-header-button:hover {
        background-color: var(--wr-color-primary-highlight);
        color: var(--wr-text-color);
        text-decoration: none;
    }

.wr-header-button > span {
    display: block;
    transform: skewX(20deg);
}

.wr-logo {
	display: block;
    /*margin: 0 20px 0 50px;
	flex-shrink: 0;*/
}

@media (max-width: 768px) {
    body.home .wr-header {
        background-color: #191919;
        background-image: url('images/footer-bg-tile.png');
        background-repeat: repeat;
        gap: 20px;
    }

    .wr-header-column-logo {
        flex: 0 1 250px;
    }

    .wr-header-buttons {
        flex-flow: column nowrap;
        gap: 15px;
    }

    .wr-header-button {
        flex: 1 1 100%;
        width: 100%;
        max-width: 270px;
        min-height: 50px;
        font-size: 24px;
    }
}

@media (max-width: 500px) {
    .wr-header-column-logo {
        flex: 0 1 150px;
    }

    .wr-header-button {
        max-width: 200px;
        min-height: 30px;
        font-size: 18px;
    }
}

.wr-mobile-menu-button {
	width: 40px;
	height: 30px;
	margin: 0 10px;
	display: none;
}

.wr-mobile-menu-button > div {
	height: 5px;
	background-color: #fff;
	margin: 0 0 7px 0;
}

.wr-mobile-menu-button > div:last-of-type {
	margin: 0;
}

.wr-mobile-nav-wrap {
	width: 100%;
	display: none;
}

.wr-mobile-nav-wrap {
	width: 100%;
}

.wr-mobile-nav-wrap > ul {
	flex-direction: column;
	list-style: none;
	margin: 0;
}

.wr-mobile-nav-wrap > ul > li > a {
	display: block;
	width: 100%;
	padding: 10px 15px;
	color: #fff;
	background-color: var(--wr-color-primary);
	border-bottom: 1px solid #fff;
	font-size: 18px;
	text-transform: uppercase;
}

	.wr-mobile-nav-wrap > ul > li > a:hover {
		color: var(--wr-color-primary);
		background-color: var(--wr-color-primary-highlight);
		text-decoration: none;
	}

	.wr-mobile-nav-wrap > ul > li:first-of-type > a {
		border-top: 1px solid #fff;
	}

.wr-mobile-nav-wrap li .sub-menu {
	display: none;
	list-style: none;
	margin: 0;
}

.wr-mobile-nav-wrap li.wr-active > .sub-menu {
	display: block;
}

	.wr-mobile-nav-wrap .sub-menu > li > a {
		display: block;
		width: 100%;
		padding: 10px 15px 10px 30px;
		color: #fff;
		background-color: var(--wr-color-primary);
		border-bottom: 1px solid #fff;
		font-size: 14px;
		text-transform: uppercase;
	}

	.wr-mobile-nav-wrap .sub-menu > li > a:hover {
		color: var(--wr-color-primary);
		background-color: var(--wr-color-primary-highlight);
		text-decoration: none;
	}

.wr-mobile-nav-wrap > ul > li > ul.sub-menu > li > ul.sub-menu > li > a {
	padding-left: 45px;
}

.wr-mobile-nav-wrap li.menu-item-has-children > a {
	position: relative;
}

.wr-mobile-nav-wrap li.menu-item-has-children > a::after {
	content: '';
	position: absolute;
	top: 10px;
	right: 15px;
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-left: 15px solid #fff;
	border-bottom: 10px solid transparent;
	transition: transform 0.3s;
}

.wr-mobile-nav-wrap li.menu-item-has-children > a:hover::after {
	border-left-color: var(--wr-color-primary);
}

.wr-mobile-nav-wrap li.menu-item-has-children.wr-active > a::after {
	transform: rotate(90deg);
}

.wr-header-top-mobile {
	display: flex;
	justify-content: center;
	align-items: center;
}

@media (max-width: 768px) {
	.wr-header-top {
		flex-flow: row nowrap;
	}
	
	.wr-mobile-menu-button {
		display: block;
		margin-right: 20px;
	}

	.wr-mobile-nav-wrap.wr-active {
		display: block;
	}
}

.wr-footer {
	display: flex;
	flex-flow: column nowrap;
	padding: 50px;
	background-color: #191919;
    background-image: url('images/footer-bg-tile.png');
    background-repeat: repeat;
	border-top: 20px solid var(--wr-color-secondary);
}

.wr-footer-row {
	display: flex;
	flex-flow: row wrap;
	gap: 30px;
}

.wr-footer-row.wr-footer-row-logo {
	justify-content: center;
	align-items: center;
	padding: 15px 15px 75px 15px;
}

.wr-footer-column {
	flex: 1 1 calc(25% - 30px);
}

/*.wr-footer-column:first-of-type {
	flex: 1 1 40%;
}*/

.wr-footer-logos {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	gap: 25px;
}

.wr-footer-logo {
	flex: 0 1 200px;
	display: block;
}

.wr-footer-title {
	color: var(--wr-headline-color);
	font-size: 36px;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 30px 0;
}

.wr-footer-text {
	font-size: 24px;
	line-height: 1.2em;
	color: var(--wr-text-color);
	margin: 30px 0 15px 0;
}

	.wr-footer-text a {
		color: var(--wr-text-color);
	}

		.wr-footer-text a:hover {
			color: var(--wr-text-color);
			text-decoration: underline;
		}

.wr-footer-map {
	border: 1px solid #000;
	max-width: 343px;
	max-height: 240px;
}

.wr-footer-map > iframe {
	max-width: 100%;
	max-height: 100%;
}

.wr-footer-menu ul {
	list-style: none;
	margin: 0 0 2em 0;
}

.wr-footer-menu ul li {
	margin-bottom: 2px;
}

.wr-footer-menu ul li a {
	color: #fff;
	font-size: 24px;
}

.wr-footer-menu ul li a:hover {
	color: #fff;
	text-decoration: underline;
}

.wr-footer-search {
	max-width: 400px;
}

.wr-footer-search input.search-query {
	font-size: 24px;
	border: 1px solid #000;
	background-color: #fff;
	border-radius: 0;
}

.wr-footer-search input.search-query::placeholder {
	color: #333333;
	text-transform: uppercase;
}

@media (max-width: 1024px) and (min-width: 980px) {
	.wr-footer {
		padding: 50px 20px;
	}
}

@media (max-width: 1024px) and (min-width: 768px) {
	.wr-footer {
		padding: 50px 20px;
	}
	
	.wr-footer-column {
		flex: 0 0 calc(50% - 30px);
		margin: 0 0 30px 0;
	}
}

@media (max-width: 768px) {
	.wr-footer {
		flex-direction: column;
		flex-wrap: nowrap;
		padding: 20px;
	}
	
	.wr-footer-column,
	.wr-footer-column:last-of-type {
		flex: 0 0 100%;
		margin: 0 0 30px 0;
	}
}

.wr-sub-footer {
	width: 100%;
	background-color: var(--wr-color-secondary);
	padding: 5px 15px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	color: #fff;
    min-height: 50px;
}

.wr-sub-footer a {
	color: #fff;
}

	.wr-sub-footer a:hover {
		color: #fff;
		text-decoration: underline;
	}

@media (max-width: 768px) {
	.wr-sub-footer {
		flex-direction: column;
		justify-content: center;
		text-align: center;
		gap: 5px;
		font-size: 12px;
	}
}

/* Contact Form 7 Styles */

.wpcf7 form {
	margin: unset;
}

.wr-contact-form-title {
	text-align: center;
	color: #fff;
	font-size: 30px;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 20px 0;
}

.wr-contact-form {
    width: 100%;
	background-color: var(--wr-color-primary);
	padding: 20px 40px;
}

.wr-contact-form-row {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.wr-contact-form-column {
    flex-grow: 1;
}

.wr-contact-form-item-title {
	display: block;
	color: #fff;
	margin: 0 0 5px 0;
}

.wr-contact-form .wpcf7-checkbox {
	display: block;
	margin-bottom: 15px;
}

.wr-contact-form .wpcf7-list-item {
	display: block;
	margin: 0;
	padding-left: 10px;
	color: #fff;
}

.wr-contact-form .wpcf7-list-item-label {
	margin-left: 0.5em;
}

.wr-contact-form input[type=text],
.wr-contact-form input[type=email],
.wr-contact-form input[type=tel],
.wr-contact-form select
 {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 0 0 15px 0;
    background-color: #eeeeec;
    border: 0;
    border-radius: 0;
    font-size: 14px;
	color: #000;
}

.wr-contact-form select {
    color: #959595;
	text-transform: uppercase;
	padding-left: 5px;
}

.wr-contact-form select.changed {
	color: #000;
}

.wr-contact-form select.changed option:first-of-type {
	display: none;
}

.wr-contact-form select option:not(:first-of-type) {
	color: #000;
}

.wr-contact-form textarea
 {
    display: block;
    width: 100%;
    min-height: 150px;
    padding: 10px;
    margin: 0 0 15px 0;
    background-color: #eeeeec;
    border: 0;
    border-radius: 0;
    font-size: 14px;
    line-height: 14px;
	color: #000;
}

.wr-contact-form input[type=text]::placeholder,
.wr-contact-form input[type=email]::placeholder,
.wr-contact-form input[type=tel]::placeholder,
.wr-contact-form textarea::placeholder {
    color: #959595;
    text-transform: uppercase;
}

.wr-contact-form-date {
	display: flex;
	flex-flow: row nowrap;
	text-transform: uppercase;
	align-items: center;
	gap: 15px;
	margin: 0 0 15px 10px;
	color: #959595;
	font-size: 14px;
}

.wr-contact-form-date input {
	margin: 0;
}

.wr-contact-form-location {
	display: flex;
	flex-flow: row nowrap;
	text-transform: uppercase;
	align-items: center;
	gap: 15px;
	margin: 0 0 15px 10px;
	color: #959595;
	font-size: 14px;
}

.wr-contact-form-location select {
	margin: 0;
}

.wr-contact-form-submit {
    position: relative;
}

/*.wr-contact-form-submit .wpcf7-spinner {
    position: absolute;
    top: 0;
    left: 260px;
}*/

.wr-contact-form input[type=submit] {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: var(--wr-color-primary-highlight);
    text-align: center;
    font-size: 24px;
    color: #fff;
    border: 1px solid #fff;
    cursor: pointer;
    appearance: none;
	box-shadow: none;
	text-transform: uppercase;
	font-weight: 700;
	border-radius: 0;
	margin: 0 auto;
	transition: none;
}

    .wr-contact-form input[type=submit]:hover {
        background-color: var(--wr-color-primary);
    }

.wpcf7-not-valid-tip {
	color: red;
	margin: 5px 0;
}

@media screen and (max-width: 768px) {
    .wr-contact-form-row {
        flex-direction: column;
    }
}

/* -- X-Theme overrides -- */

/*x-container {
    background-color: #191919;
    background-image: url('images/footer-bg-tile.png');
    background-repeat: repeat;
	margin-top: 0;
}*/

/*body.home .x-container {
    background-color: transparent;
    background-image: none;
}*/

body:not(.home) #top {
	background-color: #191919;
    background-image: url('images/footer-bg-tile.png');
    background-repeat: repeat;
}

.entry-wrap {
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 20px;
}

.x-breadcrumb-wrap {
	padding-left: 20px;
	padding-right: 20px;
	background-color: var(--wr-color-secondary);
	border: 0;
	box-shadow: none;
}

.x-container.offset {
	margin-top: 0;
}

/* Home Page Background Image */

body.home {
    background-image: url('images/home-bg.webp');
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
}

body.home .x-container {
    margin-top: 0;
}

body.home .entry-wrap {
    background-color: transparent;
    padding-top: 0;
}

body.home .x-navbar {
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent header */
}

.wr-hero-spacer {
    aspect-ratio: 1920 / 600;
    width: 100%;
}

@media (max-width: 768px) {
    .wr-hero-spacer {
        aspect-ratio: 768 / 400;
    }
}