.filters ul {
    list-style: none;
    display: flex;
    padding: 75px 0 0;
}

.filters ul li {
    background-color: #0F0F0F;
    padding: 15px 25px;
    width: 278px;
}


.filters ul li + li {
    margin-left: 30px;
}

.filters ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.icon {
    shape-rendering: crispedges;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #CE0B0B;
    border-radius: 50%;
    transition: all 0.2s ease-in-out;
}


.mainPromos .row {
    padding-top: 75px;
    padding-bottom: 75px;
}

.mainPromos .row img {
    margin-bottom: 70px;
}

.mainPromos .row > .h2:first-line {
    color: #CE0B0B;
}

.mainPromos ol,
.mainPromos ul {
    counter-reset: lst;
    list-style-type: none;
    margin-top: 50px;
}

.mainPromos li {
    display: flex;
    align-items: center;
}

.mainPromos li + li {
    margin-top: 25px;
}

.mainPromos li::before {
    counter-increment: lst;
    content: counters(lst, '.');
    width: 32px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #CE0B0B;
    margin-right: 10px;
}


.promo__block {
    height: 320px;
    margin-top: 30px;
}

.promo__block--container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
}

.promo__block--image {
    position: absolute;
    width: calc(100% - 10px);
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    text-align: center;
}

.promo__block .promo__block--top {
    text-align: right;
    position: absolute;
    top: 25px;
    right: 25px;
}

.promo__block--top .promo__block--top__counter {
    background-color: #CE0B0B;
    border-radius: 20px;
    padding: 12px 11px;
}

.modal-content .promo__block--top__counter {
    background-color: #CE0B0B;
    border-radius: 20px;
    padding: 20px 42px;
    color: white;
    width: fit-content;
 }
.modal.show {
    background-color: rgba(0,0,0,0.5);
}
.modal-footer .btn {
    color: black;
    border-color: black;
}
.promo__block .promo__block--bottom {
    align-items: flex-end;
    padding: 15px 35px;
    height: 100%;
}

.promo__block .promo__block--bottom a {
    text-align: right;
}

.modal-body {
    padding: 30px 70px;
}

.modal-body a {
    color: #ce0b0b;
}

.modal-content {
    background-color: #b8c6db;
    background-image: linear-gradient(315deg, #b8c6db 0%, #f5f7fa 74%);
    color: black;
}

.modal__note {
    padding: 15px 0;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
}

.modal__note .h5 {
    margin: 0;
    width: 80%;
}

.instructions__block {
    padding: 40px;
    background-color: #fff;
}

.modal-body ol.titled {
    list-style: none;
    counter-reset: lst;
    margin: 0;
    padding: 0;
}

.modal-body ol.titled > li::before {
    counter-increment: lst;
    content: counters(lst, '.');
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #CE0B0B;
    margin-right: 10px;
    min-width: 32px;
    height: 20px;
    color: white;
}

.modal-body ol.titled > li:not(:last-of-type) {
    padding-bottom: 20px;
}

.modal-body ol.titled > li {
    display: block;
}

.modal-body ol.titled > li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

.modal-body ol.titled > li > ol {
    counter-reset: innerlist;
    list-style: none;
}

.modal-body ol.titled > li > ol {
    list-style-position: outside;
    padding: 20px 40px;
    background-color: #0f0f0f;
    margin: 0;
    margin-top: 20px;
}

.modal-body ol.titled > li > ol > li {
    display: grid;
    grid-template-columns: 1fr 20px;
    flex-direction: column;
}

.modal-body ol.titled > li > ol > li + li {
    margin-top: 20px;
}

.modal-body ol.titled > li > ol > li::before {
    counter-increment: innerlist;
    content: counter(innerlist);
    background-color: #CE0B0B;
    /*width: 100%;*/
    /*height: 20px;*/
    padding: 4px 6px;
    order: -2;
    margin-bottom: 20px;
}

.modal-footer {
    border: 0;
}

.modal-footer button {
    padding: 15px 30px;
    width: auto;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}

.modal-body ol.titled > li > ol > li::after {
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #CE0B0B;
    order: -1;
    content: '';
    margin-bottom: 20px;
}

.subnote__block {
    background-color: white;
    padding: 44px 30px;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 5fr;
}

.subnote__block .subnote__block--image {
    background-color: #CE0B0B;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    border-radius: 50%;
    align-self: center;
}

.subnote__block object {
    width: 24px;
    height: 24px;
}

form {
    padding-bottom: 25px;
    padding-top: 25px;
}

form > input {
    background: #0F0F0F;
}

form > .form-group + .form-group {
    margin-top: 15px;
}

.video--block, .video-frame {
    padding: 25px 0;
    margin: 0 auto;
    width: 100%;
    height: 450px;
}

.video--block .background {
    text-align: center;
}

.video--block .background img {
    width: 900px;
    height: 450px;
    padding-bottom: 25px;
}

.video {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

@media (max-width: 640px) {
    .filters ul {
        padding: 25px;
        flex-direction: column;
        align-items: center;
    }

    .filters ul li + li {
        margin-left: 0;
    }
    .promo__block {
        padding: 0;
    }

    .promo__block--image {
        width: 100%;
    }

    .promo__block .promo__block--bottom {
        padding: 15px;
    }

    .modal-body {
        padding: 15px;
    }

    .line-after:after {
        font-size: inherit;
    }

    .video--block, .video-frame {
        height: 250px;
    }

    .video--block .background img {
        height: 250px;
    }
  
}


.modal-footer:has(.news-button) {
  padding: 0 !important;
  margin: 0 !important;
}

.news-button {
  font-size: 1rem;
  cursor: pointer;
  padding: 0 !important;
  margin: 0 !important;
}
