/* Стили, общие для всех страниц сайта (извлечены из inline <style> блоков) */

section {
    padding: 15px 0;
}
.race {
    height: 100%;
}
.trip {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}
.road {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    background: url(/assets/img/road-w.jpg);
    background-repeat: repeat-y;
    background-position: center;
    background-size: contain;
    animation: roadAnimation 10s linear infinite;
}
@keyframes roadAnimation {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}
.car {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 1s linear;
}
.car img {
    max-width: 100%;
}
.rotate {
    transform: translateX(-50%) rotate(0deg);
}
.map-container {
    position: relative;
    height: 500px;
}
.contact-info-map {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px;
    background-color: white;
    border-radius: 10px;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
#map {
    height: 500px;
}
.sert {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}
@media (max-width:767px) {
    @keyframes roadAnimation {
        0% { transform: translateY(0); }
        100% { transform: translateY(-10%); }
    }
    .contact-info-map {
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        width: 290px;
    }
}
.wpforms-container .wpforms-field-description {
    padding-top: 10px;
}
.send-btn {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.first {
    background: #fbdfcb;
    padding: 20px;
    display: table;
    width: 100%;
    border-radius: 12px;
}
.first,
.second,
.third,
.fourth {
    border-bottom: 1px solid lightgray;
    padding-bottom: 20px;
}
.promo-block {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-end;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(45deg, #ffffff, #e8f8ff);
    color: var(--color-secondary);
}
.promo-block p {
    color: var(--color-secondary);
    text-align: left;
}
.promo {
    background: #f96f59;
    padding: 15px;
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0px 3px 4px rgb(224 118 47 / 24%);
}
.promo * {
    color: black;
    font-weight: bold;
}
.topbar {
    height: auto;
}
.topbar .container-lg {
    flex-wrap: wrap;
}
div.contact-info {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

/* Стили страницы цен (kategorija-a, kategorija-b) */
.three-top { background: #dc3545 !important; }
.two-bg { background: #2196F3 !important; }
.three-bg { background: #795548 !important; }
.two-txt, .three-txt { color: white !important; }
.two-price { background: #FF5722 !important; }
.three-price { background: #dc3545 !important; }
.two-unprice, .three-unprice { color: #000000bf !important; }

#price-main {
    border-radius: 15px;
    background-color: #fff;
    position: relative;
    margin-bottom: 40px;
    margin-top: 30px;
    box-shadow: 0px -7px 0px 2px #d4d4d4;
    text-align: center;
}
.top-price-text,
#price-main > h4,
#price-main p,
.number-price,
.number-price-subtext,
.price-block .price-text,
.price-block .price-discount,
.price-block .price-credit,
.price-text-discount,
.discount-text {
    padding-left: 30px;
    padding-right: 30px;
}
.number-price,
.number-price-subtext,
#price-main p,
.price-credit,
.price-discount { color: #223d54; }
#price-main .price-block { background: rgba(0, 0, 0, 0.1); }
#price-main > h4,
.price-text,
.price-text-discount,
.discount-text { color: black; }
.form-check-input { margin-right: 0px !important; }
.top-price-text {
    background-color: #FF5722;
    position: absolute;
    top: 0px;
    padding: 7px;
    border-bottom-left-radius: 36px;
    border-bottom-right-radius: 36px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 100%;
    font-weight: 600;
    width: 90%;
    color: white;
}
#price-main > h4 {
    padding-top: 80px;
    transform: rotate(335deg);
    text-align: left;
    font-size: 21px;
    width: 270px;
}
.number-price {
    padding-top: 30px;
    font-size: 36px;
    display: inline-table;
    font-weight: 600;
    padding-bottom: 0;
    margin-bottom: -30px;
}
#price-main p { padding-top: 30px; }
.price-options p:nth-child(n+2) { padding-top: 0 !important; }
.price-block {
    padding-top: 15px;
    padding-bottom: 20px;
}
.price-text,
.price-text-discount {
    font-size: 38px;
    font-weight: 600;
}
.price-discount {
    font-size: 18px;
    text-decoration: line-through;
    font-weight: 600;
}
.price-credit {
    font-size: 18px;
    font-weight: 600;
}
.discount-text {
    padding-top: 15px;
    padding-bottom: 40px;
    font-size: 16px;
    font-weight: 600;
}
.btn-buy {
    height: 50px;
    text-align: center;
    width: 100%;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.form-check {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 100%;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding-bottom: 40px;
}
.form-switch .form-check-input {
    height: 2em;
    width: 3em;
}

/* Cookie banner preloader */
.preloader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    z-index: 9999999999;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 0, 0, 0.3);
    border-top: 5px solid red;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
