@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lobster&display=swap");
:root {
    --cs-blue: #147196;
    --cs-blue-hover: #56b0d2;
    --cs-black: #433d38;
    --bs-body-font-size: 0.85rem;
    --bs-body-line-height: 1.5rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", sans-serif;
}
body {
    font-family: "Inter", sans-serif;
}
.spetsialisty > div.sp-dropdown {
    display: none !important;
}

.spetsialisty > a:after {
    content: "" !important;
}

/* price */
table.price-list tr > td:last-child {
    font-weight: 600;
    width: 25%;
}
.price .list-group-item.active {
    color: #fff;
    background-color: #56b0d2;
    border-color: #56b0d2;
    font-weight: 600;
}
.price .list-group-item:hover {
    color: #fff;
    background-color: #56b0d2;
    border-color: #56b0d2;
}
.price table.price-list.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: aliceblue;
}
@media (max-width: 426px) {
    table.price-list td {
        font-size: 11px;
    }

    table.price-list td.price {
        width: 50%;
    }

    .price .list-group-item {
        padding: 10px 5px;
        text-align: center;
        font-size: 9px;
    }
}
/* price */

/*------------------------------ ------------------------------*/
@media (max-width: 1200px) {
    .sp-megamenu-parent {
        display: none !important;
    }
    #offcanvas-toggler {
        display: inline-block !important;
    }
}

#offcanvas-toggler > i {
    font-size: 3em;
    margin-bottom: 5px;
    vertical-align: middle;
}

.sp-dropdown {
    z-index: 999 !important;
}

.sp-megamenu-parent > li > a {
    font-weight: normal;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.tp-bullets .bullet {
    background-color: #cccccc !important;
    background-image: none !important;
    border: 2px solid #aaaaaa;
    border-radius: 50%;
}

.tp-bullets .bullet.selected,
.tp-bullets .bullet:hover {
    background-color: #22b8f0 !important;
}

.div-pers {
    padding: 10px 20px;
    background-color: #f5f5f5;
    border: 3px solid #147196;
    border-radius: 0px 0;
    margin-bottom: 20px;
    box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.5);
}

.div-pers h3 {
    margin-top: 0px;
}

.sp-column > div.test {
    float: right;
}

img.sp-default-logo {
    max-height: 90px;
}

/*____________________________________________________________________________________________*/

.input-lg {
    height: 46px !important;
    padding: 10px 16px !important;
    font-size: 18px !important;
    line-height: 1.3333333 !important;
    border-radius: 3px !important;
}

.input-lg-textarea {
    padding: 10px 16px !important;
    font-size: 18px !important;
    line-height: 1.3333333 !important;
    height: 120px !important;
}

/*------------------------------ background-hover ------------------------------*/
.background-hover:hover {
    color: #fff;
    background: #56b0d2;
    transition: all 0.4s ease-in-out 0s !important;
}

.background-hover:hover a {
    color: #fff;
}
/*------------------------------ background-hover ------------------------------*/

.box-shadow-slider {
    box-shadow: 0px 0px 4px 3px rgba(0, 0, 0, 0.25);
}
/*____________________________________________________________________________________________*/

.service .overlay {
    background-color: #147196;
}

.service {
    width: 100%;
    display: block;
    position: relative;
    text-align: center;
}

.overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    display: block;
}

.overlay a {
    color: #ffffff;
    font-weight: bold;
}

.overlay a:hover {
    color: #00e5ff;
}

/*____________________________________________________________________________________________*/
div.blue-thumbnail .img-thumbnail {
    padding: 0px;
    line-height: 1.42857143;
    border: 1px solid #147196;
    border-radius: 0px;
}

.btn-default:hover {
    color: #fff;
    background-color: #56b0d2;
    border-color: #56b0d2;
}

.btn-default {
    color: #fff;
    background-color: #147196;
    border-color: #147196;
}

/*------------------------trans------------------------*/
.trans {
    padding: 0px;
    transition: all 0.4s ease-in-out 0s;
    color: #ffffff !important;
}

.trans1 {
    padding: 0px;
    transition: all 0.4s ease-in-out 0s;
    color: #147196 !important;
}

.trans a {
    color: #fff;
}

.trans div.trans-cl1 a:hover {
    color: #000;
}

.trans1 div.trans-cl2 a:hover {
    color: #fff;
}

.trans div.trans-cl1 {
    background: #147196;
}

.trans1 div.trans-cl2 {
    background: #fff;
}

.trans div.trans-cl1:hover {
    color: #5e6772;
    background: #fff;
    transition: all 0.4s ease-in-out 0s;
}

.trans1 div.trans-cl2:hover {
    color: #fff;
    background: #56b0d2;
    transition: all 0.4s ease-in-out 0s;
}

/*------------------------trans------------------------*/

/*------------------------top1-top2------------------------*/
.contacts {
    font-size: 18px;
}

.social {
    font-size: 18px;
}
/*------------------------top1-top2------------------------*/

.block-blue p {
    color: #fff;
    font-size: 16px;
}

.block-blue a {
    color: #fff;
    font-size: 20px;
}

.block-blue a:hover {
    color: #56b0d2;
}

.block-blue .btn {
    background-color: #d4d5db;
    color: #147196;
}

.block-blue .btn:hover {
    background-color: #fff;
    color: #56b0d2;
}

.img-thumbnail {
    padding: 4px;
    line-height: 1.42857143;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0px;
}

div.mrg .col-md-4 {
    padding-left: 0px;
    padding-right: 0px;
}

.box-shadow-row {
    box-shadow: 0px 0px 4px 3px rgba(0, 0, 0, 0.25);
}

div.mrg h3 {
    /* color:#1FA0D4;
    font-size:30px; */

    color: #fff;
    font-size: 30px;
    background-color: #147196;
    margin-bottom: 0px;
    padding-bottom: 5px;
    margin-top: 0px;
}

.map {
    padding: 20px;
}

div.padusl .col-md-3 {
    padding-bottom: 15px;
}

/*--BANNER--*/
.banner {
    background-image: url("/images/callimg1.jpg");
    background-color: #ecedf2;
    background-size: cover;
    background-position-x: right;
    min-height: 300px;
    text-align: center;
    padding: 50px 0;
}
.banner p {
    color: #147196;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
}
.banner p.lead {
    font-size: 30px;
    font-weight: 600;
}
@media (max-width: 768px) {
    .banner {
        background-image: none;
    }
}

/*--MOBILE RIBBON--*/
.restee-mobile-footer {
    position: fixed;
    bottom: 0px;
    width: 100%;
    background-color: rgba(230, 230, 230, 0.85);
    border-top: 2px solid rgba(230, 230, 230, 0.85);
    z-index: 99;
}
.btn-restee {
    display: block;
    text-align: center;
    margin: 15px 0;
    font-size: 6vw;
}

.title {
    text-align: center;
    font-weight: 400;
    margin-bottom: 20px;
}

.title-l {
    font-size: 34px;
    line-height: 38px;
    font-weight: 600;
}

.title-m {
    font-size: 26px;
    line-height: 28px;
}

/*-------------вопросы и ответы--------------*/
.faq .block .question {
    background-color: #9ba0b4;
    padding: 10px 15px;
    color: #fff;
    position: relative;
}

.faq .block .question p {
    font-size: 18px;
}

.faq .block .question:after {
    left: 35px;
    position: absolute;
    bottom: -35px;
    display: block;
    border-width: 0px 35px 35px 0px;
    width: 0px;
    height: 0;
    content: "";
    border-style: solid;
    border-color: rgba(255, 255, 255, 0);
    border-right-color: inherit;
    color: #9ba0b4;
}

.faq .block .question .sign {
    position: absolute;
    left: 80px;
    bottom: -35px;
    color: #9ba0b4;
    font-weight: 600;
    font-style: italic;
}

.faq .block .answer {
    background-color: #f4fafd;
    padding: 10px 15px;
    color: #333333;
    position: relative;
    margin-top: 3.5em;
    font-weight: 400;
}

.faq .block .answer p {
    font-size: 18px;
}

.faq .block .answer:after {
    right: 35px;
    position: absolute;
    bottom: -35px;
    display: block;
    border-width: 0px 0px 35px 35px;
    width: 0px;
    height: 0;
    content: "";
    border-style: solid;
    border-color: rgba(255, 255, 255, 0);
    border-left-color: inherit;
    color: #f4fafd;
}

.faq .block .answer .sign {
    position: absolute;
    right: 80px;
    bottom: -50px;
    color: #333333;
    font-weight: 600;
    font-style: italic;
    line-height: 20px;
}

.faq .block {
    margin-bottom: 5em;
}

/*-------------вопросы и ответы--------------*/

.row > div {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}
@media (min-width: 1200px) {
    .h3,
    h3 {
        font-size: 1.4rem;
    }
}
@media (max-width: 1200px) {
    .lead {
        font-size: calc(1rem + 0.6vw);
    }
}

.row-buttons {
    justify-content: space-around;
}

/*-------forms-----*/

button.rsform-submit-button.rsform-thankyou-button {
    width: 20rem;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
}

div#system-message-container {
    display: none;
}

.form-group.col-md-8.d-flex > button {
    width: 50%;
}

/*-------forms-----*/

section#sp-main-body {
    padding: 0;
}
.pull-left {
    float: left;
}
.content-category {
    margin-top: 2rem;
}
.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
    font-size: 1rem;
    line-height: 22px;
}
/*  */
.article-list .row.row-1.cols-2 {
    row-gap: 1rem;
}

.article-list .article {
    height: 100%;
    position: relative;
}

.article-list .article .readmore a {
    border-color: #87cfde;
    background-color: #87cfde;
    color: #fff;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.15rem;
}
.article-list .article .readmore a:hover {
    color: #fff;
    border-color: #1e2428;
    background-color: #1e2428;
}
.article-list .article .readmore {
    position: absolute;
    bottom: 10px;
    right: 10px;
}
/*  */

/* result */
.result {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
}
.result .result__item {
    position: relative;
    row-gap: 1rem;
}
.result .result__item:after {
    content: "";
    width: 100%;
    height: 2px;
    position: absolute;
    background: #147196;
    bottom: -1rem;
}
.result .result__item .result__descr {
    position: relative;
    overflow: hidden;
    background: #8ab0c7;
    z-index: -1;
    padding: 20px 15px;
    border-radius: 0.3rem;
}
.result .result__item .result__descr.fas:before {
    content: "\f10d";
    position: absolute;
    z-index: -1;
    bottom: -7%;
    right: -7%;
    font-size: 12rem;
    rotate: 145deg;
    opacity: 0.5;
    color: #147196;
}

.result .result__item .result__descr p {
    font-weight: 500;
}
.result .result__item .result__img {
    border: 1px solid #29a4d6;
    padding: 3px;
    border-radius: 0.3rem;
}
.result .result__item .result__img * {
    height: 100%;
    object-fit: cover;
}
.result .result__item .result__img img {
    border-radius: 0.3rem;
    filter: blur(10px);
    transition: filter 0.2s ease-in-out, scale 0.2s ease-in-out;
    position: relative;
    z-index: 1;
}
.result .result__item .result__img.noblur img {
    filter: none;
}
.result .result__item .result__img img:hover {
    filter: none;
}

/*  */
.article-list {
    padding: 50px 0 50px;
}
.rgap-2 {
    row-gap: 2rem;
}
.article-list .rgap-2 .article .readmore {
    right: 50%;
    transform: translateX(50%);
    width: 40%;
}

.article-list .rgap-2 .article .readmore a {
    display: block;
    width: 100%;
    text-align: center;
}
.article-details {
    margin: 2rem 0;
}
.article-details .custom_stati {
    float: right;
    width: 50%;
    padding: 0 0 10px 10px;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .article-details .custom_stati {
        float: right;
        width: 100%;
        padding: 0 0 0 0;
        margin-bottom: 2rem;
    }
}
/*  */

@media (min-width: 768px) {
    .result .result__item > .col-md-4 {
        width: 32.5%;
    }
    .result .result__item .result__descr p {
        font-size: 1.4rem;
    }
    .result .result__item .result__img {
        padding: 0;
    }
    .result .result__item {
        gap: 1rem;
    }
}

/* new style */

a {
    color: var(--cs-blue);
    text-decoration: none;
    transition: all 400ms ease-in-out;
}
a:hover {
    color: var(--cs-blue-hover);
}
div#sp-top1 {
    width: 100%;
}

div#sp-top1 .sp-module {
    width: 100%;
    margin: 0;
}
div#sp-top2 {
    display: none;
}

header#sp-header {
    background: #f1edea;
    box-shadow: none;
}
.back {
    background: linear-gradient(315deg, rgba(146, 195, 212, 1) 0%, rgba(168, 207, 222, 1) 60%) !important;
    position: relative;
}

.back:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 23rem;
    background-color: #ffffffa6;
    z-index: 0;
    height: 3rem;
    width: 20rem;
}
.back:after {
    content: "";
    position: absolute;
    bottom: 3rem;
    left: 30rem;
    background-color: #ffffffa6;
    z-index: 0;
    width: 6rem;
    height: 7rem;
}
.back1 {
    background: linear-gradient(315deg, rgba(146, 195, 212, 1) 0%, rgba(168, 207, 222, 1) 60%) !important;
}
.sp-page-title {
    background: linear-gradient(315deg, rgba(146, 195, 212, 1) 0%, rgba(168, 207, 222, 1) 60%) !important;
}
.back2 {
    background-color: #f7fafb !important;
}
.back3 {
    background-size: cover;
    background-image: url(/images/home/back3.jpg);
    background-position: center;
    position: relative;
    overflow: hidden;
}
.back3:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #00000080;
}
.back4 {
    background-size: cover;
    background-image: url(/images/home/back1.jpg);
    background-position: center;
    position: relative;
    overflow: hidden;
    padding: 50px 0;
}
.back5 {
    background-size: cover;
    background-image: url(/images/home/back4.jpg);
    background-position: center;
    position: relative;
    overflow: hidden;
}
.back5:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #00000080;
}
h2.subtitle {
    height: 100%;
    text-align: center;
    text-transform: uppercase;
}
.text-blue {
    color: #87cfde;
    font-size: 1.6rem;
    line-height: 1.2;
}
.custom__font {
    font-family: "Lobster", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* custom_top */

#sp-top-bar {
    background: #e4e0dd;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0;
}

.custom_top__group {
    display: flex;
    justify-content: flex-end;
}
.custom_top__group .custom_top__item {
    color: var(--cs-black) !important;
    padding: 14px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 16px;
}
.custom_top__group .custom_top__item a {
    color: var(--cs-black) !important;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 16px;
}
.custom_top__group .custom_top__item.social a:hover {
    color: var(--cs-blue-hover) !important;
}

/* custom_top */

/* Slide */

.custom__slide {
    position: relative;
    z-index: 1;
}
div#homeSlide img {
    height: 98vh;
    object-fit: cover;
}

div#homeSlide .carousel-indicators {
    top: 40%;
    right: 25%;
    left: auto;
    bottom: auto;
    width: fit-content;
    height: fit-content;
    transform: translate(50%, -50%);
    display: flex;
    flex-direction: column;
    margin: 0;
    align-items: center;
    gap: 1rem;
}

div#homeSlide .carousel-indicators [data-bs-target] {
    text-indent: -100px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: white;
    overflow: hidden;
    margin: 0;
    opacity: 1;
    border: 0;
    margin: 7.5px;
}

div#homeSlide .carousel-indicators .active,
div#homeSlide .carousel-indicators [data-bs-target]:hover {
    text-indent: 0px;
    width: 30px;
    height: 30px;
    background-color: #52525259;
    color: white;
    font-weight: 600;
    margin: 0;
}

div#homeSlide .carousel-caption {
    top: 40%;
    left: 40%;
    right: auto;
    bottom: auto;
    width: fit-content;
    height: fit-content;
    transform: translate(-50%, -50%);
    text-align: start;
}
div#homeSlide .carousel-caption h5 {
    font-size: clamp(2rem, 2vw + 1.5rem, 4rem);
}

div#homeSlide .carousel-caption p {
    font-size: clamp(1.25rem, 2vw + 0.5rem, 2.5rem);
    margin: 0;
    line-height: normal;
}
/* Slide */

/* services */

.services {
    margin-top: -15rem;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.services__item:nth-child(even) {
    background-color: aliceblue;
}
.services__item {
    padding: 3rem 1.5rem;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.services__img {
    width: 60%;
    border-radius: 50%;
    overflow: hidden;
    margin: 1rem 0 3rem;
}

.services__title h3 {
    font-size: clamp(1.125rem, 1vw + 0.75rem, 1.375rem);
    margin-bottom: 2rem;
}

.services__descr {
    text-align: center;
}

.services__text p {
    font-size: 15px;
    font-weight: 300;
    margin: 0;
}

.title_clinics {
    padding: 3rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 100%;
}

.title_clinics img {
    max-width: 300px;
    height: 100%;
}

.title_clinics h1 {
    font-size: clamp(1.5rem, 1vw + 1rem, 2.125rem);
    color: white;
}

/* services */

/* welcome */

.welcome {
    display: flex;
    flex-wrap: wrap;
}
.welcome h2.subtitle {
    text-align: start;
}
.welcome__img {
    width: 40%;
}

.welcome__descr {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 6rem 7rem 6rem;
}

.welcome__descr h2 {
    margin-bottom: 2rem;
}
.welcome__img figure {
    height: 100%;
}
.welcome__img figure img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.welcome__descr .welcome__img_group {
    display: flex;
    gap: 1rem;
}

.welcome__descr .welcome__img_group .img_group__item {
    width: 110px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* welcome */

/* works */

.works {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.works > * {
    width: 40%;
    margin: 0;
}
.works h2 {
    margin-bottom: 1rem;
}
.works a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}
.works img {
    max-width: 100px;
}
/* works */

/* services2 */

.services2 {
    padding: 5rem 0;
    position: relative;
    z-index: 4;
}
.services2 h2 {
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}
.services2 .services2__group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.services2__item img {
    width: 80px;
    padding: 1rem;
    z-index: 2;
}

.services2__item a {
    padding: 2rem 1rem;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.services2__item a:hover {
    color: white;
    background-color: rgba(135, 207, 222, 0.51);
}
.services2__item a:before {
    content: "";
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background-color: white;
    border: 5px solid #0000004d;
    border-radius: 50%;
    z-index: 1;
}

/* services2 */

/* personal */

.personal {
    display: grid;
    grid-template-columns: repeat(3, 25%);
    padding: 3rem 0;
    justify-content: center;
}

.personal__item {
    position: relative;
}
.personal__item:hover {
    box-shadow: #0000005e 0px 0px 15px 3px;
    z-index: 1;
}

.personal__img {
    position: relative;
    transition: all 700ms ease-in-out;
    max-height: 350px;
    overflow: hidden;
}
.personal__img figure img {
    height: 350px;
    object-fit: cover;
    object-position: top;
    width: 100%;
}
.personal__social {
    display: flex;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: auto;
    width: auto;
    align-items: center;
    gap: 0.5rem;
}

.personal__img:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.personal__img:hover:before {
    background: #0000008a;
    transition: background 400ms ease-in-out;
    z-index: 2;
}
.personal__img:hover .personal__social {
    transition: opacity 400ms ease-in-out;
    opacity: 1;
    z-index: 3;
}

.personal__descr {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.personal__name {
    font-size: 1.125rem;
    font-weight: 600;
}

.personal__spec {
    color: #a5a5a5;
    margin: 0;
    display: flex;
    flex-direction: column;
}
.personal__spec span {
    font-weight: 600;
}

.personal__social a {
    font-size: 1.5rem;
    color: white;
}

.personal__social a:hover {
    color: #56b0d2;
}

/* personal */

/* contact */

.contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 3rem 0;
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact__descr {
    display: flex;
    color: white;
    font-weight: 900;
    flex-direction: column;
    margin: 1rem 0 0;
    font-size: 1.6rem;
}

.contact__descr span {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 10px;
}

.contact__descr a {
    color: white;
}

.contact__item img {
    max-width: 50px;
    height: auto;
}

.contact_map {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 3rem;
    gap: 1rem;
}
.contact_map img {
    max-width: 50px;
    height: auto;
}
.contact_map .contact_map__descr {
    display: flex;
    color: white;
    font-weight: 900;
    flex-direction: column;
    margin: 0;
    font-size: 1.6rem;
}
/* contact */

/* form*/

.btn-primary,
.sppb-btn-primary {
    background-color: #87cfde;
    padding: 21px 50px 21px 50px;
    border-style: solid;
    border-color: #87cfde;
    margin: 25px 0px 0px 0px;
    font-weight: 700;
    text-transform: uppercase;
}
.btn-primary:hover,
.sppb-btn-primary:hover {
    background-color: #1e2428;
    border-style: solid;
    border-color: #1e2428;
}
.custom_form .form-control {
    line-height: 2.5;
    padding: 0.375rem 1.2rem;
    margin-bottom: 25px;
}
.btn-custom {
    background-color: #1e242800;
    font-weight: 700;
    border-color: #1e24287e;
    border-style: solid;
    border-width: 1px;
    color: rgb(78, 72, 68);
}
.btn-custom:hover {
    background-color: #87cfde;
    border-color: #87cfde;
    color: rgb(255 255 255);
}
/* form*/

/* reviews */

.custom_slide__reviews {
    padding: 5rem 0 8rem;
    position: relative;
    z-index: 2;
}
.custom_slide__reviews .carousel-caption {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: 40rem;
    min-height: 380px;
    text-align: start;
    margin: auto;
    padding: 5rem;
    background-color: rgba(135, 207, 222, 0.51);
}

.custom_slide__reviews .carousel-indicators {
    margin-bottom: -3rem;
}
.custom_slide__reviews .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.custom_slide__reviews .carousel-indicators .active {
    background-color: rgb(135 207 222);
}

.custom_slide__reviews .carousel-indicators [data-bs-target]:hover {
    background-color: rgb(135 207 222);
    opacity: 1;
}

/* reviews */

/* sale */

.sale_group {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem 2rem;
    justify-content: center;
}

h2.sale_group__title {
    width: 100%;
    text-align: center;
    margin: 1rem 0;
    color: var(--cs-black);
}

.sale_group__item {
    width: calc(33.33333% - 1.5rem);
    background: #f0f8ff;
    position: relative;
    display: flex;
    flex-direction: column;
}

.sale_item__descr {
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
    text-align: center;
    color: var(--cs-black);
}

.descr__btn {
    margin: 0;
}

.sale_item__img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.descr__subtitle {
    margin-bottom: auto;
}

.sale_group .sale_group__item:nth-child(even) {
    background: #c8d3dd;
}

.descr__price .before {
    position: relative;
    line-height: normal;
    font-size: 1.2rem;
}

.descr__price .before:before {
    position: absolute;
    content: "";
    left: -5px;
    top: 50%;
    transform: translateY(-50%) rotate(352deg);
    right: -5px;
    border-top: 4px solid #d2322d;
}

.descr__price .now {
    font-size: 2rem;
    line-height: normal;
}

.sale_group__item .disclaimer {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #c33832;
    padding: 5px;
    border-radius: 0px 0 5px 0;
    color: #fff;
    font-size: 1.25rem;
    font-weight: bold;
}

.descr__price {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.descr__subtitle h3 {
    margin: 0;
}

/* sale */

@media (max-width: 1440px) {
    .services {
        grid-template-columns: repeat(2, 1fr);
    }
    .services__item:nth-child(even) {
        background-color: white;
    }
    .services__item:nth-child(2) {
        background-color: aliceblue;
    }
    .services__item:nth-child(3) {
        background-color: aliceblue;
    }
    .sale_item__descr {
        padding: 10px 10px;
    }
    .welcome__descr {
        padding: 3rem 2rem;
    }
}
@media (max-width: 1200px) {
    #sp-header nav.sp-megamenu-wrapper #offcanvas-toggler {
        display: flex !important;
        margin: 0 !important;
        align-items: center;
        justify-content: center;
        line-height: normal;
        height: auto;
    }
    .sale_group__item {
        width: calc(50% - 1rem);
    }

    .sale_item__img img {
        height: 230px;
    }
}

@media (max-width: 1024px) {
    .custom_top__group {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .custom_top__group .custom_top__item.mail {
        border: 0;
        justify-content: flex-end;
    }
    .custom_top__group .custom_top__item {
        width: 50%;
    }
    .custom_top__group .custom_top__item.social {
        border: 0;
        justify-content: flex-end;
    }
    header#sp-header {
        height: auto;
        padding: 10px 0;
    }

    .logo-image-phone,
    .logo-image {
        height: 70px;
    }

    #sp-header .logo {
        height: 70px;
    }
    .personal {
        row-gap: 2rem;
        grid-template-columns: repeat(2, 1fr);
    }

    .services2 .services2__group {
        grid-template-columns: repeat(3, 1fr);
    }

    .works > * {
        width: 80%;
    }
}
@media (max-width: 768px) {
    .custom_top__group {
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .custom_top__group .custom_top__item {
        width: 100%;
        display: flex;
        justify-content: center !important;
        border: 0;
    }
    .services {
        margin-top: -3rem;
        grid-template-columns: repeat(1, 1fr);
    }
    .services__item:nth-child(even) {
        background-color: aliceblue;
    }
    .services__item:nth-child(3) {
        background-color: white;
    }
    .services2 .services2__group {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 1rem;
    }

    .welcome__img {
        width: 100%;
    }

    .welcome__descr {
        padding: 1rem 2rem 4rem;
        width: 100%;
    }
    .works > * {
        width: 100%;
    }
    div#homeSlide .carousel-indicators {
        right: 10%;
        top: 50%;
    }
    div#homeSlide .carousel-caption {
        top: 50%;
        left: 40%;
    }
    .back:before {
        left: 2rem;
        background-color: #dfdfdfa6;
    }

    .back:after {
        left: 9rem;
        background-color: #dfdfdfa6;
    }
    .sale_group__item {
        width: 100%;
    }
    .sale_item__img img {
        height: auto;
    }
    .custom_slide__reviews .carousel-caption {
        width: auto;
        padding: 3rem;
    }
}
@media (max-width: 550px) {
    .personal {
        grid-template-columns: repeat(1, 1fr);
        padding: 0 1rem;
    }
    .personal__img {
        max-height: 450px;
    }
    .personal__img figure img {
        height: 450px;
    }
    .custom_slide__reviews .carousel-caption {
        min-height: 435px;
    }
}
