@font-face {
    font-family: 'Roboto, sans-serif';
    font-weight: normal;
    src: local('Roboto, sans-serif'), url('../fonts/Roboto-Regular.ttf');
}

@font-face {
    font-family: 'Roboto, sans-serif';
    font-weight: bold;
    src: local('Roboto, sans-serif'), url('../fonts/Roboto-Bold.ttf');
}

@font-face {
    font-family: 'Roboto, sans-serif';
    font-weight: 800;
    src: local('Roboto, sans-serif'), url('../fonts/Roboto-Black.ttf');
}

@keyframes blink {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

:root {
    --color-primary: #e82772;
}

body {
    font-family: 'Roboto, sans-serif';
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 0;
}

a {
    text-decoration: unset;
    color: black;
}

p {
    margin-bottom: 0;
}

hr {
    margin: 0;
}

img {
    max-width: 100%;
}

table tr:nth-child(odd) {
    background-color: #efefef;
}

th, td {
    /*border: 1px solid #333;*/
    padding: 10px;
}

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

.header > .row > .col, .header > .row > .col-lg {
    padding-top: 14px;
    padding-bottom: 14px;
}

#time {
    display: flex;
    align-items: center;
}

#time div {
    width: 7px;
    height: 7px;
    animation: blink 2s infinite;
    background-color: red;
    margin-right: 6px;
}

#time div.active {
    background-color: #61cd61;
}

.phone_icon {
    width: 48px;
    height: 48px;
}

.btn {
    color: white !important;
    padding: 10px 20px;
    border-radius: 16px;
}

.btn:not(.btn-success) {
    background-color: var(--color-primary) !important;
}

.color-black {
    color: black !important;
}

.fs-9 {
    font-size: 9px;
}

.fs-10 {
    font-size: 10px;
}

.fs-12 {
    font-size: 12px;
}

.fs-15 {
    font-size: 15px;
}

.fs-16 {
    font-size: 16px;
}

.fs-20 {
    font-size: 20px;
}

.fs-21 {
    font-size: 21px;
}

.fs-24 {
    font-size: 24px;
}

.fs-26 {
    font-size: 26px;
}

.fs-28 {
    font-size: 28px;
}

.fs-30 {
    font-size: 30px;
}

.fs-32 {
    font-size: 32px;
}

.fs-34 {
    font-size: 34px;
}

.fs-36 {
    font-size: 36px;
}

.fs-40 {
    font-size: 40px;
}

.fs-42 {
    font-size: 42px;
}

.fs-48, h2 {
    font-size: 48px;
}

.fs-60 {
    font-size: 60px;
}

.bg-1 {
    padding-bottom: 30px;
    position: relative;
}

.navbar-toggler {
    height: 48px;
    width: 48px;
    padding: 0;
    position: relative;
    padding: 9px 10px;
    margin-top: 8px;
    margin-bottom: 18px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 0px;
}

.navbar-toggler .icon-bar {
    background-color: var(--bs-body-color);
}

.navbar-toggler .icon-bar {
    position: absolute;
    top: 50%;
    left: 5px;
    margin-top: -1px;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.navbar-toggler .icon-bar {
    display: block;
    width: 32px;
    height: 4px;
    /*border-radius: 8px;*/
}

.navbar-toggler .icon-bar:nth-child(1) {
    margin-top: -1px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.navbar-toggler.collapsed .icon-bar:nth-child(1) {
    margin-top: -11px;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
}


.navbar-toggler:hover .icon-bar:nth-child(2) {
    margin-left: 0px;
}

.navbar-toggler .icon-bar:nth-child(2) {
    margin-top: -1px;
    opacity: 0;
}

.navbar-toggler.collapsed .icon-bar:nth-child(2) {
    opacity: 1;
}

.navbar-toggler .icon-bar:nth-child(3) {
    margin-top: -1px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.navbar-toggler.collapsed .icon-bar:nth-child(3) {
    margin-top: 9px;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
}

header ul.navbar-nav > li {
    flex: 1 1 auto !important;
    /*text-align: center;*/
}

header a.nav-link {
    padding: 19px 0;
}

.dropdown-menu {
    width: 100%;
    left: 0;
    right: 0;
    border: unset;
    border-radius: 0;
    top: 153px;
    color: var(--bs-nav-link-color);
    /*z-index: -1;*/
    opacity: 0;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: opacity 0.2s ease;
    visibility: hidden;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
}

.menu-active {
    display: block;
    width: 1320px;
    left: 0;
    right: 0;
    margin: -3px auto 0;
    height: 3px;
    background: var(--color-primary);
    position: absolute;
    /*margin-top: -3px;*/
    opacity: 0;
    -webkit-transition: all 0.3s linear(0 0%, 0 1.8%, 0.01 3.6%, 0.03 6.35%, 0.07 9.1%, 0.13 11.4%, 0.19 13.4%, 0.27 15%, 0.34 16.1%, 0.54 18.35%, 0.66 20.6%, 0.72 22.4%, 0.77 24.6%, 0.81 27.3%, 0.85 30.4%, 0.88 35.1%, 0.92 40.6%, 0.94 47.2%, 0.96 55%, 0.98 64%, 0.99 74.4%, 1 86.4%, 1 100%);
    -moz-transition: all 0.3s linear(0 0%, 0 1.8%, 0.01 3.6%, 0.03 6.35%, 0.07 9.1%, 0.13 11.4%, 0.19 13.4%, 0.27 15%, 0.34 16.1%, 0.54 18.35%, 0.66 20.6%, 0.72 22.4%, 0.77 24.6%, 0.81 27.3%, 0.85 30.4%, 0.88 35.1%, 0.92 40.6%, 0.94 47.2%, 0.96 55%, 0.98 64%, 0.99 74.4%, 1 86.4%, 1 100%);
    -ms-transition: all 0.3s linear(0 0%, 0 1.8%, 0.01 3.6%, 0.03 6.35%, 0.07 9.1%, 0.13 11.4%, 0.19 13.4%, 0.27 15%, 0.34 16.1%, 0.54 18.35%, 0.66 20.6%, 0.72 22.4%, 0.77 24.6%, 0.81 27.3%, 0.85 30.4%, 0.88 35.1%, 0.92 40.6%, 0.94 47.2%, 0.96 55%, 0.98 64%, 0.99 74.4%, 1 86.4%, 1 100%);
    -o-transition: all 0.3s linear(0 0%, 0 1.8%, 0.01 3.6%, 0.03 6.35%, 0.07 9.1%, 0.13 11.4%, 0.19 13.4%, 0.27 15%, 0.34 16.1%, 0.54 18.35%, 0.66 20.6%, 0.72 22.4%, 0.77 24.6%, 0.81 27.3%, 0.85 30.4%, 0.88 35.1%, 0.92 40.6%, 0.94 47.2%, 0.96 55%, 0.98 64%, 0.99 74.4%, 1 86.4%, 1 100%);
    transition: all 0.3s all 0.3s linear(0 0%, 0 1.8%, 0.01 3.6%, 0.03 6.35%, 0.07 9.1%, 0.13 11.4%, 0.19 13.4%, 0.27 15%, 0.34 16.1%, 0.54 18.35%, 0.66 20.6%, 0.72 22.4%, 0.77 24.6%, 0.81 27.3%, 0.85 30.4%, 0.88 35.1%, 0.92 40.6%, 0.94 47.2%, 0.96 55%, 0.98 64%, 0.99 74.4%, 1 86.4%, 1 100%);
}

#navbarNav:hover .menu-active {
    opacity: 1;
}

.dropdown_:hover .dropdown-menu {
    /*z-index: 2;*/
    opacity: 1;
    visibility: visible;
}

.dropdown-menu ul, .dropdown-menu ul > li, .dropdown-menu ul > li > a {
    padding: 0;
}

.dropdown-menu ul {
    padding-bottom: 10px;
}

.dropdown-menu ul > li {
    list-style: none !important;
    line-height: 1.7;
}

.dropdown-menu ul > li > a {
    background-color: unset !important;
    color: var(--bs-dropdown-link-color) !important;
    width: max-content;
}

.dropdown-item {
    white-space: normal !important;
}

.dropdown-item:hover, .navbar a.active, .navbar-nav a.active {
    color: var(--color-primary) !important;
}

.bg-1::before {
    content: "";
    background: url("../imgs/bg_1.jpg") right center/cover;
    opacity: 0.5;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

body > div:not(.bg-1, .bg-2:not(.stages), .pt-0), .clients, .photos, .questions, footer {
    padding-top: 90px !important;
}

body > .container > .row > .col > h2, body > .container:not(.prices) > h3, .specialists h2, .equipment > div:nth-child(2), .clients h3, .photos h3, .questions > .container > p, .prices > p, .contacts_wrap > div:nth-child(1) {
    margin-bottom: 50px !important;
}

.cards {
    padding-bottom: 65px;
}

.cards .col {
    margin-bottom: 25px;
}

.card {
    border: 1px grey solid;
    border-radius: 25px;
    text-align: center;
    height: 100%;
}

.card-body {
    flex-direction: column;
    display: flex;
    /*margin-bottom: 10px;*/
    align-items: center;
}

.card-body > div:nth-child(2) {
    height: 100%;
    display: flex;
    align-items: center;
}

.cards img {
    width: 100%;
    padding: 10px 20%;
    max-height: 312px;
}

/*
.cards img {
    width: 100%;
    padding: 10px 0;
    height: 147px;
}
*/
.card-title, .videos h3, .stages h4 {
    font-size: 20px;
}

.price {
    color: var(--color-primary);
    font-weight: bold;
    margin: 10px 0;
    font-size: 20px;
    margin-top: auto;
}

.card .btn {
    width: 100%;
    max-width: 230px;
    white-space: nowrap;
}

.card-link {
    margin-top: 15px;
}

.bg-2 {
    background-color: #f2f2f2;
}

.bg-2 .py-5 {
    padding-top: 55px !important;
    padding-bottom: 55px !important;
}

form > * {
    width: 269px!important;
}

form > * {
    border-radius: 13px !important;
    margin-bottom: 14px;
}

input.form-control {
    text-align: center;
    line-height: 3;
}

form > .btn {
    padding: 18px 10px !important;
}

.videos {
    padding-bottom: 50px;
}

.videos h3, .stages h4 {
    font-size: 20px;
}

.videos h3 {
    margin-bottom: 25px !important;
}

.videos .row:nth-child(2) > .col > div, .videos .col > form {
    /*height: 560px;*/
    margin-bottom: 40px;
}

.videos .col > div > div {
    position: relative;
    width: min-content;
    height: 350px;
    background-color: black;
    overflow: hidden;
}

.videos .spinner-border {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    width: 50px;
    height: 50px;
}

.videos img {
    height: 350px;
    cursor: pointer;
    position: absolute;
    right: 0;
    max-width: unset;
}

.play_button {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 90px;
    height: 67px;
    background: url("../imgs/youtube.svg") center/cover;
    z-index: 3;
    margin: auto;
    cursor: pointer;
}

.stages h2 {
    margin-bottom: 70px !important;
}

.stages .col {
    position: relative;
}

.stages .col > div, .stages .col > div > div {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.stages .col > div > div {
    border-style: dashed !important;
}

:root {
    --stages-margin: 44px;
}



.stages .col > div > div > div {
    margin-top: var(--stages-margin);
}

.stages img {
    width: 80px;
    position: absolute;
    right: 0;
    left: 0;
    top: -20px;
    margin: auto;
}

.stages .col > div > div > *:nth-child(2) {
    display: flex;
    height: 100%;
}

.stages h4 {
    margin-top: 3rem;
}

.specialists img {
    height: 253px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.equipment .col {
    /*margin-bottom: 10px; */
    margin-bottom: 25px;
}

.equipment .img-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    box-shadow: -2px 2px 5px #e2e2e2;
    height: 264px;
    margin-bottom: 10px;
}

.equipment img {
    max-height: 100%;
    padding: 20px;
}

.equipment > .row:last-child > div:nth-child(7) {
    width: min-content;
}

.equipment > .row:last-child > div:nth-child(7) > h3 {
    white-space: nowrap;
}

img.discount {
    width: 160px;
    position: absolute;
    top: 0;
    bottom: 36px;
    right: -135px;
    margin: auto;
}

.advantages .col-7 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.advantages img {
    width: 100px;
}

.payment {
    padding-bottom: 90px;
}

.payment .row .row, .review {
    border: 1px #c0c0c0 solid;
    border-radius: 15px;
}

.payment .row .row {
    height: 100%;
    padding: 20px 0 20px 10px;
    margin: 0;
}

.clients, .photos, .certificates {
    padding-bottom: 90px !important;
}

.clients img {
    height: 93px;
}

.review {
    height: 100%;
    padding: 20px;
    /*margin-bottom: 20px;*/
}

.stars img {
    width: 20px;
}

.review > div:nth-child(2) {
    display: flex;
    align-items: start;
}

.review > div:nth-child(2) img {
    margin-top: 10px;
    width: 150px;
}

.review > div:nth-child(2) img, .photos .col > div, .photos img {
    border-radius: 5px;
}

.review p {
    font-size: 13px;
    padding: 10px 0 0 20px;
}

.photos .col > div {
    background: white;
    padding: 20px;
    height: 100%;
}

.photos .col > div > div {
    padding: 10px 0;
}

.photos img {
    width: 100%;
}

button.btn.question {
    width: 100%;
    border: 3px solid var(--color-primary);
    background-color: unset !important;
    color: #000 !important;
}

h3.underline {
    width: 260px;
    border-bottom: 2px solid var(--color-primary);
    padding: 0 0 5px 0;
}

.certificates img {
    height: 250px;
}

.questions .row .row {
    min-height: 300px;
}

.questions p {
    font-size: 14px;
}

.questions .rounded-circle {
    background-color: var(--color-primary);
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 800;
    font-size: 20px;
}

.questions .round-bg-w {
    background: white;
    border-radius: 25px;
    padding: 30px 0;
}

.all_questions {
    cursor: pointer;
}

.btn.btn-outline {
    background-color: unset !important;
    border: 3px solid red !important;
    border-radius: 25px !important;
}

.fw-bolder {
    font-weight: 800 !important;
}

#contacts > .col {
    position: relative;
    min-height: 100px;
}

#contacts div.col > svg, #contacts .icon {
    color: #0071BC;
    font-size: 45px;
    line-height: 33px;
    position: absolute;
    width: 34px;
    left: -28px;
    top: -7px;
}

#contacts .col > .row a > img {
    width: 31px;
    margin-bottom: 10px;
}

footer .navbar-nav > li > span {
    padding: 0.5rem 0;
}

footer h5 {
    font-size: 16px;
    line-height: 1.5;
    padding: 0.5rem 0;
}

.modal-content {
    /*border-top: 6px solid #e92772;*/
}

.modal-header .btn-close {
    position: absolute;
    right: 23px;
    top: 23px;
}

.modal input.form-control {
    display: inline;
}

@media (min-width: 576px) {
    .fs-sm-12 {
        font-size: 12px !important;
    }

    .fs-sm-14 {
        font-size: 14px !important;
    }

    .fs-sm-20 {
        font-size: 20px !important;
    }

    .fs-sm-24 {
        font-size: 24px !important;
    }

    .fs-sm-26 {
        font-size: 26px !important;
    }

    .fs-sm-30 {
        font-size: 30px !important;
    }

    .fs-sm-32 {
        font-size: 32px !important;
    }

    .fs-sm-36 {
        font-size: 36px !important;
    }

    .fs-sm-48 {
        font-size: 48px !important;
    }

    .fs-sm-60 {
        font-size: 60px !important;
    }

    .btn {
        padding: 10px 28px;
        font-size: 14px;
    }

    .cards:not(.hydrodynamics) {
        padding-bottom: 65px;
    }

    .cards.hydrodynamics {
        margin-bottom: -20px;
        padding-bottom: 0;
    }

}

@media (min-width: 768px) {
    .fs-md-13 {
        font-size: 13px!important;
    }

    .fs-md-19 {
        font-size: 19px!important;
    }

    .fs-md-32 {
        font-size: 32px!important;
    }

    .fs-md-36 {
        font-size: 36px!important;
    }

    .fs-md-38 {
        font-size: 38px!important;
    }

    td:first-child {
        padding-right: 100px;
    }

    td:last-child {
        padding-right: 15px;
    }
    .advantages .col-7 {
        min-height: 145px;
    }
    .advantages .pb-5 {
        padding-bottom: 2rem!important;
    }
}

@media (min-width: 992px) {
    .fs-lg-14 {
        font-size: 14px!important;
    }

    .fs-lg-22 {
        font-size: 22px!important;
    }

    .fs-lg-42 {
        font-size: 42px!important;
    }

    .fs-lg-60 {
        font-size: 60px!important;
    }

    div#logo {
        max-width: min-content;
    }

    .dropdown-menu {
        display: block;
    }

    .bg-1 {
        height: 647px;
    }

    .bg-1 .round-bg-w {
        margin-top: 5rem !important;
    }

    .round-bg-w {
        background: white;
        border-radius: 25px;
        padding: 30px 0 30px 20px;
    }

    .round-bg-w .btn {
        min-width: 245px;
        min-height: 65px;
    }
    .advantages .col-7 {
        min-height: unset;
    }
    .advantages .pb-5 {
        padding-bottom: 5rem!important;
    }
}

@media (min-width: 1200px) {
    .fs-xl-12 {
        font-size: 12px !important;
    }

    .fs-xl-14 {
        font-size: 14px !important;
    }

    .fs-xl-16 {
        font-size: 16px !important;
    }

    .fs-xl-20 {
        font-size: 20px !important;
    }

    .fs-xl-26 {
        font-size: 26px !important;
    }

    .fs-xl-36 {
        font-size: 36px !important;
    }

    .fs-xl-40 {
        font-size: 40px !important;
    }

    .fs-xl-48 {
        font-size: 48px !important;
    }

    .fs-xl-52 {
        font-size: 52px !important;
    }

    .btn {
        padding: 10px 39px;
        font-size: 16px;
    }
}

@media (min-width: 1400px) {
    .fs-xxl-48 {
        font-size: 48px !important
    }

    .fs-xxl-60 {
        font-size: 60px !important
    }
}

@media (max-width: 1199px) {
    .phone_icon {
        width: 38px;
        height: 38px;
    }

    img.discount {
        display: none;
    }

    .clients {
        padding: 40px 0!important;
    }

    .clients > .row, .certificates {
        overflow-x: scroll;
    }

    .clients > .row > div {
        width: 235px;
        padding-bottom: 50px;
    }
    /*
    .photos .col > div {
        height: 100%;
    }
    */
    .certificates > div > img {
        padding: 0 10px;
    }

    .questions .row .row {
        min-height: auto;
        margin-bottom: 60px;
    }

}

@media (max-width: 991px) {

    .header > .row > .col-lg:nth-child(-n+2) {
        padding-bottom: 0;
    }

    #header_button {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .menu-active {
        display: none!important;
    }

    .bg-1::before {
        background-position-x: 73%!important;
    }

    .reviews > .row {
        overflow-x: scroll;
    }


    .reviews > .row > .col {
        min-width: 537px;
        padding-bottom: 25px;
    }

    .review {
        height: 100%;
    }

    .questions .row .row {
        padding-bottom: 30px;
    }
}

@media (max-width: 767px) {

    .phone_icon {
        width: 42px;
        height: 42px;
    }

    .questions .rounded-circle {
        width: 50px;
        height: 50px;
        font-size: 15px;
    }
}

@media (max-width: 575px) {

    .bg-1::before {
        background-position-x: 71%!important;
    }

    h2 {
        font-size: 27px;
    }

    .phone_icon {
        width: 20px;
        height: 20px;
    }

    .dropdown-menu {
        opacity: 1;
        visibility: visible;
    }

    body > div.container.where {
        padding-top: 45px!important;
    }

    .where > .row:nth-child(2) img {
        padding: 0;
        margin: 10px 0;
        width: auto;
    }

    .where > .row:nth-child(2) > .col:nth-child(1) img {
        height: 158px;
    }
    .where > .row:nth-child(2) > .col:nth-child(2) img {
        height: 153px;
    }
    .where > .row:nth-child(2) > .col:nth-child(3) img {
        height: 130px;
    }
    .where > .row:nth-child(2) > .col:nth-child(4) img {
        height: 140px;
    }
    .where > .row:nth-child(2) > .col:nth-child(5) img {
        height: 142px;
    }
    .where > .row:nth-child(2) > .col:nth-child(6) img {
        height: 130px;
    }
    .where > .row:nth-child(2) > .col:nth-child(8) img, .where > .row:nth-child(2) > .col:nth-child(9) img {
        height: 124px;
    }
    .where > .row:nth-child(2) > .col:nth-child(10) img {
        height: 117px;
    }
    .where > .row:nth-child(2) > .col:nth-child(11) img {
        height: 107px;
    }
    .where > .row:nth-child(2) > .col:nth-child(12) img, .where > .row:nth-child(2) > .col:nth-child(13) img {
        height: 163px;
    }

    .videos .row:nth-child(2) > .col > div {
        display: flex;
        justify-content: center;
    }

    #contacts h5 {
        font-size: 0.8rem;
    }

    #contacts {
        font-size: 0.64rem;
    }

    #contacts div.col > svg, #contacts .icon {
        font-size: 31px;
        left: -22px;
        top: -9px;
    }

    #contacts .col > .row a > img {
        width: 21px;
    }

    #mobile_footer_logo_wrap #footer_logo {
        margin-bottom: 0 !important;
    }

    #mobile_footer_logo_wrap h2 {
        font-size: 22px;
    }

    #mobile_footer_logo_wrap p {
        font-size: 12px;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .btn {
        padding: 13px 33px;
        font-size: 14px;
    }
}

@media (min-width: 992px) and (max-width: 1400px) {
    .stages h4 {
        font-size: 18px;
    }
}
