/*
Theme Name: OnTracks
Author: Bogdan Bujor
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

* {
	box-sizing: border-box;
}

:root {
	--color-primary: #EC823A;
	--color-secondary: #125D98;
	--font-primary: "Open Sans", sans-serif;
	--font-custom: "Chakra Petch", sans-serif;
}

.bg-blue {
    background-color: var(--color-secondary);
}
.bg-white {
	background-color: #fff;
}

.text-white {
    color: #fff !important;
}

body {
	margin: 0;
	color: #333;
	font-family: var(--font-primary);
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-custom);
	font-weight: 400;
}

p,
ul {
	margin-top: 0;
	margin-bottom: 10px;
}
p:last-child,
ul:last-child {
	margin-bottom: 0;
}

a {
	color: inherit;
	text-decoration: none;
	transition: .2s;
}

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

.container {
	max-width: 1200px;
	padding: 0 15px;
	margin: 0 auto;
}

.text-left {
    text-align: left;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.text-justify {
    text-align: justify;
}

.my-30 {
	margin-top: 30px !important;
	margin-bottom: 30px !important;
}
.mt-30 {
	margin-top: 30px !important;
}
.mb-30 {
	margin-bottom: 30px !important;
}

.my-60 {
	margin-top: 60px !important;
	margin-bottom: 60px !important;
}
.mt-60 {
	margin-top: 60px !important;
}
.mb-60 {
	margin-bottom: 60px !important;
}

.py-30 {
	padding-top: 30px !important;
	padding-bottom: 30px !important;
}
.pt-30 {
	padding-top: 30px !important;
}
.pb-30 {
	padding-bottom: 30px !important;
}

.py-60 {
	padding-top: 60px !important;
	padding-bottom: 60px !important;
}
.pt-60 {
	padding-top: 60px !important;
}
.pb-60 {
	padding-bottom: 60px !important;
}

@media (max-width: 767px) {
	.hidden-phone {
		display: none !important;
	}
}
@media (min-width: 768px) {
	.hidden-desktop {
		display: none !important;
	}
}

.topbar {
    padding: 10px 0;
    background-color: var(--color-primary);
    color: #fff;
    text-align: center;
}
.home .topbar {
	display: none;
}
.header {
	background-color: var(--color-secondary);
    border-bottom: 3px solid var(--color-primary);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-logo,
.header-button {
	padding: 10px 0;
}
.header-logo {
	color: #fff;
	font-family: var(--font-custom);
	font-size: 36px;
	font-weight: 700;
}
.header-button {
	min-width: 320px;
}
@media (max-width: 767px) {
	.header-inner {
		flex-direction: column;
	}
	.header-button {
		display: none;
	}
}

.sd-button {
	display: inline-block;
	padding: 10px 20px;
	font-family: var(--font-custom);
	font-size: 24px;
	border: 2px solid var(--color-primary);
	background-color: var(--color-primary);
	color: #fff;
	border-radius: 30px;
}
.sd-button:hover {
	background-color: #fff;
	color: var(--color-primary);
}

.section-hero {
    position: relative;
    height: 750px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.hero-bg:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-content {
    position: relative;
    color: #fff;
    text-align: center;
}
.hero-headline {
    font-size: 65px;
    font-weight: 500;
	line-height: 1.25;
	margin-top: 0;
	margin-bottom: 10px;
}
.hero-headline .city-name {
	display: block;
}
.hero-bio {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 24px;
}
@media (max-width: 767px) {
	.section-hero {
		height: 450px;
	}
	.hero-headline {
		font-size: 32px;
	}
	.hero-bio {
		font-size: 20px;
	}
}

.service-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	grid-row-gap: 30px;
}
.service-item {
	width: 33.33%;
	padding: 0 15px;
	text-align: center;
}
.service-item > p {
	padding: 10px;
	background-color: var(--color-primary);
	color: #fff;
	font-family: var(--font-custom);
	font-size: 20px;
	line-height: 1.25;
}
@media (max-width: 767px) {
	.service-item {
		width: 100%;
	}
}

.service-list {
	margin-top: 30px;
	columns: 3;
	list-style: none;
	padding-left: 0;
}
.service-list li {
	margin-left: 15px;
	margin-bottom: 5px;
	padding-left: 25px;
	position: relative;
}
.service-list li:before {
	content: "\f00c";
	position: absolute;
	top: 1px;
	left: 0;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
}
@media (max-width: 767px) {
	.service-list {
		columns: 1;
	}
}

.main-title {
	color: #fff;
	font-family: var(--font-custom);
    font-size: 36px;
    font-weight: 700;
}
.section-title {
    margin-bottom: 20px;
    color: var(--color-secondary);
	font-family: var(--font-custom);
    font-size: 30px;
    font-weight: 600;
}
@media (max-width: 767px) {
	.main-title {
		font-size: 18px;
	}
	.section-title {
		font-size: 22px;
	}
}

.content-col {
	text-align: justify;
}
.content-col h2 {
	color: var(--color-secondary);
	font-weight: 600;
	text-align: left;
}

@media (min-width: 768px) {
    .content-wrap {
        display: flex;
        align-items: center;
		justify-content: center;
    }
    .content-wrap.reverse {
        flex-direction: row-reverse;
    }
    .content-col {
        width: 50%;
    }
    .content-col:first-child {
        padding-right: 15px;
    }
    .reverse .content-col:first-child {
        padding-left: 15px;
        padding-right: 0;
    }
    .content-col:last-child {
        padding-left: 15px;
    }
    .reverse .content-col:last-child {
        padding-left: 0;
        padding-right: 15px;
    }
}
@media (max-width: 767px) {
    .content-col:first-child {
        margin-bottom: 20px;
    }
}

.owl-carousel .owl-stage {
	display: flex;
	align-items: center;
}
.owl-carousel .owl-item {
	display: flex;
	flex: 1 0 auto;
	justify-content: center;
}

.logo-carousel {
	display: flex;
	flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    grid-gap: 15px 40px;
}
@media (max-width: 767px) {
	.logo-carousel {
		flex-wrap: wrap;
		justify-content: center;
	}
	.company-logo {
		max-width: calc(50% - 30px);
		padding: 0 10px;
	}
}

.block-separator {
	margin: 0 auto;
	max-width: 1170px;
	height: 1px;
	background-color: #ccc;
}

.award-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}
.award-item {
	width: 10%;
}
@media (max-width: 767px) {
	.award-wrap {
		justify-content: space-evenly;
	}
	.award-item {
		margin-top: 15px;
		width: 30%;
	}
}

.feature-wrap {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-column-gap: 30px;
	grid-row-gap: 30px;
}
.feature-item {
	padding: 0 20px;
	text-align: center;
}
.feature-title {
	margin-top: 15px;
	margin-bottom: 15px;
	color: var(--color-secondary);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.25;
}
.feature-icon {
    color: var(--color-secondary);
	font-size: 40px;
}
@media (max-width: 767px) {
	.feature-wrap {
		grid-template-columns: repeat(1, 1fr);
	}
	.feature-title {
		font-size: 20px;
	}
}

.gallery-wrap {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 30px;
	text-align: center;
}
@media (max-width: 767px) {
	.gallery-wrap {
		grid-template-columns: repeat(1, 1fr);
	}
}

.testi-wrap {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 30px;
}
.testi-item {
	background-color: #fff;
	border-radius: 10px;
}
.testi-inner {
	padding: 30px 20px;
	text-align: center;
}
.testi-photo {
	display: inline-block;
	overflow: hidden;
	margin-top: 20px;
	border-radius: 100px;
}
.testi-quote {
	margin-top: 20px;
}
.testi-name {
	margin-top: 20px;
	font-size: 24px;
	font-weight: 700;
}
@media (max-width: 767px) {
	.testi-wrap {
		grid-template-columns: repeat(1, 1fr);
	}
}

.footer-text {
	font-size: 12px;
}

.credit-title {
	margin-bottom: 15px;
	color: var(--color-secondary);
	font-size: 13px;
	font-weight: 700;
}

.subfooter {
    padding: 20px 0;
    color: #fff;
}
.subfooter-inner {
    display: flex;
    align-items: center;
	font-size: 12px;
}
.site-disclaimer {
	margin-left: auto;
}
.site-disclaimer a ~ a:before {
	content: "| ";
}
.site-social {
	margin-left: 30px;
}
.site-social a {
    margin-left: 10px;
    font-size: 24px;
    line-height: 1;
}
@media (max-width: 767px) {
	.subfooter-inner {
		flex-direction: column;
		gap: 10px;
		text-align: center;
	}
	.site-disclaimer {
		margin-right: auto;
	}
	.site-social {
		margin-left: auto;
		margin-right: auto;
	}
	.site-social a {
		margin-left: 5px;
		margin-right: 5px;
	}
}

@media (min-width: 768px) {
	.callnow {
		display: none;
	}
}
.callnow {
	padding-bottom: 55px;
}
.callnow a {
	display: block;
	position: fixed;
	z-index: 1;
	bottom: 0;
	width: 100%;
	padding: 10px 0;
	background-color: var(--color-primary);
	color: #fff;
	font-size: 24px;
	font-weight: 600;
	text-align: center;
}

.bg-main {
	position: relative;
	background-size: cover;
	background-position: center;
}
.bg-main:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, .5);
}
.bg-main .content-wrap {
	position: relative;
}

.form-wrap {
	padding: 20px;
	background-color: #fff;
	border-radius: 10px;
	border: 1px solid rgba(0, 0, 0, .1);
}
.form-wrap .section-title {
	margin-bottom: 10px;
}
.form-desc {
	font-size: 14px;
	margin-bottom: 20px;
}

.form-field {
	margin-bottom: 20px;
}
.form-field select {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	line-height: 25px;
	background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
	background-repeat: no-repeat;
	background-position: right 10px center;
}
.form-field input,
.form-field textarea,
.form-field select {
	padding: 10px 25px;
	font-family: var(--font-primary);
	font-size: 16px;
	border: 1px solid #e7e7e7;
	border-radius: 3px;
	background-color: #f8f8f8;
	color: #333;
	width: 100%;
}
.form-field input:focus-visible,
.form-field textarea:focus-visible,
.form-field select:focus-visible {
	outline: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
	color: #333;
}
.form-field textarea {
	height: 120px;
}
.button-field {
	text-align: center;
	margin-bottom: 0;
}
.button-field input {
	width: auto;
	display: inline-block;
    padding: 10px 20px;
	font-family: var(--font-custom);
    font-size: 24px;
	border: 2px solid var(--color-primary);
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 30px;
	transition: .2s;
	cursor: pointer;
}
.button-field input:hover {
    background-color: #fff;
    color: var(--color-primary);
}
.wpcf7-spinner {
	position: absolute;
}
.wpcf7 form.sent .wpcf7-response-output {
	text-align: center;
	border-color: var(--color-primary);
	background-color: var(--color-primary);
	color: #fff;
}

.hero-buttons {
	display: flex;
	justify-content: center;
	grid-gap: 20px;
}
@media (max-width: 767px) {
	.hero-buttons {
		flex-direction: column;
	}
}
.quote-button {
	border-color: #fff;
	background-color: transparent;
	color: #fff;
}
.quote-button:hover {
	color: var(--color-secondary);
}

.terms a {
	color: var(--color-primary);
}

.table {
	border-spacing: 0;
}
.table th,
.table td {
	padding: 8px;
	line-height: 20px;
	text-align: left;
	vertical-align: top;
	border-top: 1px solid #dddddd;
}
.table-bordered {
	border: 1px solid #dddddd;
	border-collapse: separate;
	*border-collapse: collapse;
	border-left: 0;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.table-bordered th,
.table-bordered td {
    border-left: 1px solid #dddddd;
}
.table-bordered caption+thead tr:first-child th, .table-bordered caption+tbody tr:first-child th, .table-bordered caption+tbody tr:first-child td, .table-bordered colgroup+thead tr:first-child th, .table-bordered colgroup+tbody tr:first-child th, .table-bordered colgroup+tbody tr:first-child td, .table-bordered thead:first-child tr:first-child th, .table-bordered tbody:first-child tr:first-child th, .table-bordered tbody:first-child tr:first-child td {
    border-top: 0;
}
.table-bordered thead:first-child tr:first-child>th:first-child, .table-bordered tbody:first-child tr:first-child>td:first-child, .table-bordered tbody:first-child tr:first-child>th:first-child {
    -webkit-border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    border-top-left-radius: 4px;
}

.terms table {
	font-size: 13px;
}
.terms table th {
	font-size: 14px;
}
.terms table ul {
    list-style: none;
    margin: 0;
	padding: 0;
}

.promo-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	text-align: center;
}
.promo-card {
	margin: 15px 0;
	border: 6px dashed var(--color-secondary);
	width: 49%;
	color: #000;
	background-color: #fff;
}
.promo-inner {
	padding-bottom: 30px;
	background-color: #fff;
}
.promo-title {
	padding: 20px 10px;
	background-color: var(--color-primary);
	color: #fff;
	font-family: var(--font-custom);
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
}
.promo-price {
	margin-top: 10px;
	margin-bottom: 10px;
	color: var(--color-secondary);
	font-family: var(--font-custom);
	font-size: 100px;
	font-weight: 700;
	line-height: 1;
}
.promo-text {
	font-size: 15px;
}
@media (max-width: 767px) {
	.promo-card {
		width: 100%;
	}
	.promo-title {
		font-size: 25px;
	}
	.promo-price {
		font-size: 60px;
	}
	.promo-text {
		font-size: 10px;
	}
}

/*@media (min-width: 768px) {
	.hidden-desktop {
		display: none;
	}
}*/