@font-face {
    font-family: "Montserrat-Italic";
    src: url('../fonts/Montserrat-Italic.woff2') format('woff2'),
         url('../fonts/Montserrat-Italic.woff') format('woff');
    font-weight: 400; /* Или другой вес, если это не стандартный */
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat-Medium";
    src: url('../fonts/Montserrat-Medium.woff2') format('woff2'),
         url('../fonts/Montserrat-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat-SemiBold";
    src: url('../fonts/Montserrat-SemiBold.woff2') format('woff2'),
         url('../fonts/Montserrat-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat-ExtraBold";
    src: url('../fonts/Montserrat-ExtraBold.woff2') format('woff2'),
         url('../fonts/Montserrat-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
/*@font-face {*/
/*    font-family: "Montserrat-Medium";*/
/*    src: url(../fonts/Montserrat-Medium.otf);*/
/*}*/

/*@font-face {*/
/*    font-family: "Montserrat-Semibold";*/
/*    src: url(../fonts/Montserrat-Semibold.ttf);*/
/*}*/

/*@font-face {*/
/*    font-family: "Montserrat-ExtraBold";*/
/*    src: url(../fonts/Montserrat-ExtraBold.ttf);*/
/*}*/

/*@font-face {*/
/*    font-family: "Montserrat-Italic";*/
/*    src: url(../fonts/Montserrat-Italic.ttf);*/
/*}*/


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

body {
    font-family: "Montserrat-Medium";
    font-size: 16px;
    color: #fff;
    top:0!important;
}

body.main {
    background-image: url(../img/main.jpg);
}

body.inst {
/*    background: url(../img/inst.jpg); */
/*    background: url(../img/klass-color.png); */
    background-repeat: no-repeat;
    background-size: 100%;
    background-color: #452dcf;  
 /*   background: url(../img/klass-color.jpg); */
    background-position: top center;
}

h1, .main_page_wrapper h2 {
    font-size: 30px;
    color: #fff;
    margin-bottom: 0px;
    font-family: "Montserrat-ExtraBold", sans-serif;
}

b {
    font-family: "Montserrat-ExtraBold", sans-serif;
}

.fll {
    float: left;
}

.flr {
    float: right;
}

.content-page{
    margin: 30px 0 50px;
    font-size: 15px;
}

.content-page h1 {
    margin: 10px 0 20px;
}

.content-page h2{
    margin: 10px 0 10px;
    font-family: "Montserrat", sans-serif;
}

.content-page h3{
    margin: 10px 0 10px;
    font-family: "Montserrat", sans-serif;
}

.content-page p{
    margin-bottom: 15px;
}

.text-center {
    text-align: center;
}

.hero-text {
    padding-top: 104px;
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.btn {
    background: transparent;
    height: 28px;
    line-height: 28px;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-family: "Montserrat-Medium";
    font-size: 15px;
    padding: 0 25px;
    transition: 0.2s linear;
    position: relative;
    cursor: pointer;
    position: relative;
}

.btn:hover {
    transition: 0.2s linear;
}

.btn span.bg {
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: 0.2s;
    z-index: 0;
}

.btn span.text {
    position: relative;
    z-index: 1;
}

.btn:hover span.bg {
    opacity: 1;
    transition: 0.2s;
}

.btn-invert {
    color: #000;
    background: transparent;
}

.btn-invert:hover {
    color: #fff;
}

.btn-default {
    background: linear-gradient(to right, #347684 0%, #41a7a2 100%);
    border-radius: 25px;
}

.btn-default::before, .btn-default::after {
    background: linear-gradient(to right, #f2467b 0%, #9a2ef6 100%);
}

.btn-default span.bg {
    background: linear-gradient(to right, #347684 0%, #41a7a2 100%);
    border-radius: 25px;
}

.btn-win {
/*    background: #FF773A; */
    background: #2f16be;
    /*filter: drop-shadow(12px 14px 1px black);*/
    border-radius: 43px;
    -webkit-border-radius: 43px;
    -moz-border-radius: 43px;
    height: 70px;
    line-height: 70px;
    width: 320px;
    max-width: 90%;
    text-align: center;
    font-size: 16px;
    margin-bottom: 7px;
}

.btn-win::after, .btn-win::before, .btn-win .bg {
}

.btn-win:hover {
    border: 1px solid #FF773A;
/*   background-color: #FF773A; */
    background: url(../img/icon-blue.jpg);
    color: #fff;
    border-top-left-radius: 100% 1px;
    border-bottom-right-radius: 100% 1px;
}

.btn-inst-1, .btn-service-desc {
    border-radius: 22px;
    -webkit-border-radius: 22px;
    -moz-border-radius: 22px;
}

.btn-inst-1 {
 /*   background-color: #FF773A; */
    background-color: #007bff;
}

.btn-service-desc {
  /*  background-color: #531f42; 
    background-color: #FF773A; */
    background-color: #007bff;
}

.skiptranslate {
    display: none !important;
}

#add_to_cart_form .btn-inst-1, .service_block .btn-inst-1, .service_block .btn-service-desc {
    height: 43px;
    line-height: 43px;
    width: calc(50% - 4px);
    margin: 0 2px;
    max-width: 252px;
}

#add_to_cart_form .btn-inst-1 {
    width: 95%;
}

.btn-inst-1::after, .btn-inst-1::before, .btn-inst-1 .bg {
}

.btn img {
    display: block;
    float: right;
    margin: 20px 0 0 15px;
    position: relative;
    z-index: 2;
}

input[type="text"] {
    /* iOS fix */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input {
    height: 51px;
    padding: 0 22px;
    font-family: HPM;
    font-size: 16px;
    background: transparent;
    color: #000;
    transition: 0.2s;
    margin: 0 10px;
}

input:focus {
    border-color: #fff;
    color: #fff;
    transition: 0.2s;
}

/* -- logo el -- */

.el {
    height: 30px;
    line-height: 30px;
    color: #fff;
    padding: 0 20px 0 20px;
    display: inline-block;
    background: linear-gradient(to right, #f16382 0%, #992df6 100%);
    position: relative;
    font-family: "Montserrat-Medium", sans-serif;
}

body.inst .el {
    border-radius: 50px 7px;
    background: linear-gradient(to right, #8f52b3 0%, #dc6783 100%);
    box-shadow: 5px 5px 20px 5px rgba(0, 0, 0, 0.35);
}

body.inst .el::after {
}

/* -- header -- */

.icon {
    background-repeat: no-repeat;
    background-position: center;
    float: left;
}

.icon-info {
    width: 55px;
    height: 55px;
    background-image: url(../img/icons/info.png);
    margin-right: 26px;
}

#header {
    border-bottom: #685283 solid 1px;
    height: 59px;
    font-family: "Montserrat-Medium", sans-serif;
    font-size: 13px;
}

body.inst header .navbar {
    background: transparent;
    border: none
}

#logo {
    display: block;
    margin-top: 6px;
    font-size: 15px;
    text-decoration: none;
}

#header nav {
    line-height: 60px;
}

#header nav ul {
    list-style: none;
}

#header nav ul li {
    margin: 0 0 0 80px;
    float: left;
    height: 58px;
}

#header nav ul li a {
    text-transform: uppercase;
    color: inherit;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s linear;
    position: relative;
    color: #fff;
    opacity: 0.35;
}

#header nav ul li a::after {
    display: block;
    height: 3px;
    content: "";
    width: 0px;
    position: absolute;
    bottom: 0;
    background: linear-gradient(to right, #f16382 0%, #992df6 100%);
    box-shadow: 0px -4px 8px 0px rgba(242, 60, 122, 0.34);
    transition: 0.3s linear;
}

body.inst #header nav ul li a::after {
    background: linear-gradient(to right, #ee2a7b 0%, #102af6 100%);
}

#header nav ul li a:hover, #header nav ul li a.active {
    opacity: 1;
    transition: 0.2s linear;
}

#header nav ul li a:hover::after, #header nav ul li a.active::after {
    width: 100%;
    transition: 0.3s linear;
}

/* HERO SECT*/

#hero {
    min-height: 0;
}

#hero-image {
    width: 100%;
    height: 700px;
}

#hero h1 {
    font-size: 52px;
    margin-top: -8px;
    margin-bottom: -6px;
}

#hero p {
    font-size: 15px;
    line-height: 18px;
    margin-bottom: 40px;
}

#hero .el {
    margin-bottom: 5px;
}

#hero .header-text-block {
    padding-top: 262px;
}

#hero .container-fluid {
    /*background-image: url("../img/glavnaia.jpg");*/
    background-position: right;
    background-repeat: no-repeat;
    /*padding-bottom: 192px;*/
    padding-bottom: 59px;
    /*filter: drop-shadow(20px 20px 30px blue);*/
    filter: drop-shadow(12px 14px 1px black);
}

.header-image-block {
    text-align: right;
    padding: 0;
}

.header-image-block img {
    max-width: 95%;
}

/* Предотвращение переноса текста в навигации */
.nav-link {
    white-space: nowrap !important; /* Запрещает перенос текста */
    overflow: hidden; /* Скрывает лишний текст, если он не помещается */
    text-overflow: ellipsis; /* Добавляет многоточие, если текст обрезается */
}

/* Специфично для "Мой кабинет" */
.nav-item .nav-link[href="/panel"] {
    min-width: 100px; /* Минимальная ширина для текста */
    padding: 0.5rem 1rem; /* Регулировка внутреннего отступа */
}

/* Адаптивность для маленьких экранов */
@media (max-width: 991.98px) {
    .navbar-nav .nav-item {
        width: 100%; /* Каждый элемент занимает всю ширину на мобильных */
    }
    .nav-link {
        display: block; /* Блочная модель для корректного отображения */
    }
}

/* Переопределение фона и текста навигационного меню */
.navbar {
    background-color: #452dcf !important; /* Фон меню */
}

.navbar-light .navbar-nav .nav-link {
    color: #ffffff !important; /* Цвет текста ссылок */
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: #e0e0e0 !important; /* Цвет текста при наведении */
}

.navbar-light .navbar-toggler-icon {
  /*  background-color: #ffffff !important; /* Цвет иконки бургера */
    background-color: inherit;
}

.navbar-light .navbar-toggler {
    background-color: #2f16be !important;
}

/* Переопределение цвета активного элемента */
.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: #ffffff !important; /* Цвет активной ссылки */
    background-color: #3a25b3 !important; /* Фон активной ссылки (темнее #452dcf) */
}

.nav_lank {
  display: initial;
  padding: $nav-link-padding-y $nav-link-padding-x;
  text-decoration: if($link-decoration == none, null, none);
}

.navbar-nav {
    display: flex;
    align-items: center !important;
    /*flex-direction: column;*/
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

/* Переопределение выпадающих меню */
.dropdown-menu {
    background-color: #452dcf !important; /* Фон выпадающего меню */
}

.dropdown-item {
    color: #ffffff !important; /* Цвет текста в выпадающем меню */
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #e0e0e0 !important; /* Цвет текста при наведении */
    background-color: #3a25b3 !important; /* Фон при наведении */
}

/* FEEDBACK SECT */

/*#feedbacks {*/
    /*margin-top: 140px;*/
/*    margin-top: 100px;*/
/*}*/

/*#feedbacks h2 {*/
/*    margin-bottom: 37px;*/
/*}*/

/*#feedbacks .slick-list {*/
/*    margin: 0 50px;*/
/*}*/

/*.feedback-block {*/
/*    border-radius: 29px;*/
/*    -webkit-border-radius: 29px;*/
/*    -moz-border-radius: 29px;*/
/*    margin: 0 16px;*/
/*    padding: 13px 35px 21px;*/
/*    overflow: auto;*/
/*    resize: auto;*/
/*    max-height: 500px;*/
/*}*/

/*.feedback-avatar::after {*/
/*    display: block;*/
/*    width: 28px;*/
/*    height: 28px;*/
/*    line-height: normal;*/
/*    position: absolute;*/
/*    top: 22px;*/
/*    right: 14px;*/
/*    background: #9a2df6;*/
/*    border-radius: 14px;*/
/*    font-family: HPM;*/
/*    font-size: 40px;*/
/*    box-shadow: 0px 6px 13px 0px rgba(154, 45, 246, 0.35);*/
/*}*/

/*.feedback-avatar img {*/
/*    width: 182px;*/
/*    max-width: 95%;*/
/*    vertical-align: middle;*/
/*    display: inline;*/
/*    border: 6px solid #FF773A;*/
/*    border-radius: 50%;*/
/*    -webkit-border-radius: 50%;*/
/*    -moz-border-radius: 50%;*/
/*    aspect-ratio: 1;*/
/*}*/

/*.feedback-name {*/
/*    margin: 14px 0px 20px;*/
/*    font-family: "Montserrat-Semibold", sans-serif;*/
/*    font-size: 20px;*/
/*    text-transform: uppercase;*/
/*    display: block;*/
/*    color: #fff;*/
/*}*/

/*.feedback-text {*/
/*    font-family: "Montserrat-Italic", sans-serif;*/
/*    font-size: 14px;*/
/*}*/

/*.slick-slider {*/
/*    margin: 0;*/
/*}*/

/*.slick-arrow {*/
/*    width: 36px;*/
/*    height: 66px;*/
/*    background: #ff0000;*/
/*    color: transparent;*/
/*    display: block;*/
/*    position: absolute;*/
/*    top: 170px;*/
/*    cursor: pointer;*/
    /*opacity: 0.5;*/
/*    transition: 0.2s linear;*/
/*    z-index: 25;*/
/*}*/

/*.slick-arrow:hover {*/
/*    opacity: 1;*/
/*    transition: 0.2s linear;*/
/*}*/

/*.slick-prev {*/
/*    left: 15px;*/
/*    background: url(../img/slide-left.png) no-repeat center;*/
/*}*/

/*.slick-next {*/
/*    right: 15px;*/
/*    background: url(../img/slide-right.png) no-repeat center;*/
/*}*/

/* блок с отзывами*/



/* ещё раз*/

#feedbacks {
    margin-top: 100px;
}

#feedbacks h2 {
    margin-bottom: 37px;
}

/*#feedbacks .carousel-inner {*/
/*    margin: 0 50px;*/
/*}*/

.feedback-block {
    border-radius: 29px;
    -webkit-border-radius: 29px;
    -moz-border-radius: 29px;
  /*  margin: 0 8px; /* Уменьшен отступ для трёх колонок */
    padding: 13px 35px 21px;
    max-height: 500px;
    margin: 3px;
   /* background-color: #fff; /* Фон для контраста */
   background-color: #2f16be;
}

.feedback-avatar::after {
    display: block;
    /*width: 28px;*/
    height: 28px;
    line-height: normal;
    position: absolute;
    top: 22px;
    right: 14px;
    background: #9a2df6;
    border-radius: 14px;
    font-family: HPM;
    font-size: 40px;
    box-shadow: 0px 6px 13px 0px rgba(154, 45, 246, 0.35);
    content: "";
}

.feedback-avatar img {
    width: 100px;
    height: 100px;
    vertical-align: middle;
    border: 6px solid #FF773A;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    aspect-ratio: 1;
}

.feedback-name {
    margin: 14px 0px 20px;
    font-family: "Montserrat-Semibold", sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    display: block;
    color: #000; /* Изменил на чёрный для контраста с белым фоном */
}

.feedback-text {
    font-family: "Montserrat-Italic", sans-serif;
    font-size: 14px;
    color: #000; /* Изменил на чёрный для контраста */
}

.carousel_pok {
    display: flex;
    flex-wrap: nowrap;
}

/* Стили для стрелок carousel */
.carousel-control-prev,
.carousel-control-next {
    width: 36px;
    height: 66px;
    background: #ff0000;
    color: transparent;
    position: absolute;
    top: 170px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s linear;
    z-index: 25;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    transition: opacity 0.2s linear;
}

.carousel-control-prev {
    left: 15px;
    background: url(../img/slide-left.png) no-repeat center;
}

.carousel-control-next {
    right: 15px;
    background: url(../img/slide-right.png) no-repeat center;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
}

/* Адаптивность для трёх колонок */
@media (max-width: 767px) {
    .feedback-block {
        margin-bottom: 20px;
    }
    .carousel-item .row {
        flex-direction: column;
    }
    .col-sm-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* PAY SECT */
.pay-section h2,
.main_page_wrapper .category_services .pay-section h3 {
    max-width: 600px;
    /*margin: 40px auto;*/
    margin: 20px auto;
    padding: 12px;
    border: 2px solid white;
}

.pay-section h3 {
    font-family: "Montserrat-ExtraBold";
}

.pay-row {
    padding: 0 100px;
}

.service_block {
    padding: 0 27px;
    display: inline-block;
    vertical-align: top;
    margin-right: -3px;
    float: none;
}

.block {
    padding: 12px 37px 14px;
    text-align: center;
 /*   background: #30001E; */
/*    background: url(../img/icon-blue.jpg); */
    background:#2f16be;
    filter: drop-shadow(12px 14px 1px black);
    border-radius: 25px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    margin-bottom: 30px;
}

.block-sale {
    background: rgba(0, 0, 0, 0.25);
    background-size: 100% 100%;
    border: 0;
    position: relative;
    padding-bottom: 20px;
}

.block-sale::before {
    display: block;
    content: "ÃƒÆ’Ã‚ÂÃƒâ€šÃ‚Â¡ÃƒÆ’Ã‚ÂÃƒâ€šÃ‚ÂºÃƒÆ’Ã‚ÂÃƒâ€šÃ‚Â¸ÃƒÆ’Ã‚ÂÃƒâ€šÃ‚Â´ÃƒÆ’Ã‚ÂÃƒâ€šÃ‚ÂºÃƒÆ’Ã‚ÂÃƒâ€šÃ‚Â°";
    font-family: "Montserrat-Medium", sans-serif;
    font-size: 15px;
    color: #ea286a;
    position: absolute;
    top: 6px;
    right: 12px;
}

.pay-count {
    font-family: "Montserrat-Semibold";
    font-size: 15px;
    margin-bottom: 25px;
}

.pay-name {
    font-size: 13px;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 15px;
}

.pay-price {
    font-family: "Montserrat-Medium", sans-serif;
    font-size: 50px;
    margin: 0 0;
}

.pay-price sup {
    font-size: 34px;
    margin-left: 5px;
}

.pay-info {
    margin: 50px 0;
}

.pay-description {
    color: #d3d3d3;
    font-size: 14px;
    padding: 0 35px 30px 35px;
    min-height: 60px;
}

.info-str {
    color: #d3d3d3;
}

#first-section .nav-tabs {
    text-align: center;
    border: none;
}

#first-section .nav-tabs li {
    float: none;
    display: inline-block;
}

#first-section .nav-tabs li a, .cat_wrapper .category_icon {
    color: white;
    border: none;
/*    background-color: #30001E; */
    background-color: #2f16be;
    /*background-color: #FF773A;*/
    text-align: center;
    min-width: 40px;
    min-height: 40px;
    line-height: 40px;
    padding: 0;
    margin-right: 17px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
}

#first-section .nav-tabs li a:before {
    content: "";
    position: absolute;
    top: -40px;
    left: 50%;
    width: 2px;
    height: 32px;
    background-color: white;
}

#first-section .nav-tabs li a:after {
    content: "";
    position: absolute;
    top: -13px;
    left: calc(50% - 2px);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    background-color: white;
}

#first-section .nav-tabs li.active a,
#first-section .nav-tabs li a:focus,
#first-section .nav-tabs li a:hover,
.category_item:hover .cat_wrapper .category_icon,
.cat_wrapper .category_icon:focus {
 /*   background-color: #FF7D3C; */
    background: url(../img/icon-blue.jpg);
}

#first-section .category_title {
    margin: 21px 0 53px;
}

.goods-row .slick-arrow {
    top: 50%;
    margin-top: -21px;
}

.goods-row .slick-prev {
    background-image: url(../img/good-left.png);
}

.goods-row .slick-next {
    background-image: url(../img/good-right.png);
}

/* Category page */
.breadcrumbs {
    font-size: 13px;
    margin: 20px 0;
}

.breadcrumbs a, .breadcrumbs span {
    color: #fff;
}

.services_title {
    padding-top: 15px;
}

.category_services .nav-tabs {
    display: flex;
    flex-wrap: wrap;
    border: none;
    row-gap: 15px;
}

.category_services #services_block h2,
.main_page_wrapper .category_services #services_block h3 {
    border: none;
    font-size: 18px;
    margin-top: 5px;
}

.category_services #services_block h2 a,
.main_page_wrapper .category_services #services_block h3 a {
    text-decoration: none;
    color: #fff;
}

ul li { 
    margin-right: 15px;
 /* margin-left: -10px;  */
}

.category_item {
    filter: drop-shadow(12px 14px 1px black);
    background-color: #4226e2;
    outline: #2F16BE solid;
    margin-bottom: 10px;
}

.cat_wrapper, .category_services .category-name {
    padding-top: 25px;
    text-align: center;
}

.cat_wrapper .category_icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    margin: 0;
}

.cat_wrapper .category_icon i {
    font-size: 30px;
    line-height: 80px;
}

.category_services {
    margin-top: 80px;
}

.category_description {
    /*margin-bottom: 40px;*/
    margin: 40px;
    background: #2f16be;
    filter: drop-shadow(12px 14px 1px black);
    padding: 10px;
    list-style-position: inside;
    color: #E0E0E0;
}

/* END Category page */
.subcategories-grid {
    margin: 20px 0;
}

.subcategory-card {
    display: block;
    padding: 20px;
    background: #2f16be;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    filter: drop-shadow(12px 14px 1px black);
}

.subcategory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.subcat-icon {
    font-size: 32px;
    margin-bottom: 10px;
    color: #007bff;
}

.subcat-name {
    font-size: 16px;
    margin: 0;
    color: #fff;
    font-weight: 500;
}

/* Footer sect */

#footer {
    height: 59px;
    line-height: 59px;
    font-family: HPM;
    color: #fff;
    font-size: 16px;
    text-align: center;
    position: relative;
}

#footer a, #footer span{
    color:#fff;
    padding: 0 10px;
}

body.inst #footer {
}

#fksbtn {
    height: 31px;
}

.fancybox-skin {
    border-radius: 7px;
}

.custom-table {
    padding: 10px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
}
.custom-table table{
    border-collapse: collapse;
    color: #c4c4c4;
}
.custom-table th {
    padding-bottom: 10px;
    border-bottom: 1px solid white;
    font-size: 16px;
}

.custom-table tfoot td {
    border-top: 1px solid white;
    font-size: 16px;
}

.custom-table td {
    padding: 10px 15px;
    vertical-align: text-top;
    font-size: 14px;
}

.custom-table td a:not(.remove_from_cart) {
    color: white;
    text-decoration: underline;
}

.cart .remove_from_cart {
    padding: 0 10px;
    border-radius: 4px;
    border: 1px solid white;
    color: white;
    line-height: 25px;
}

.cart .remove_from_cart:hover {
    background-color: #ff0000a8;
}

.cart td a:hover {
    text-decoration: none;
}

.cart td .title {
    font-size: 16px;
}

#services_wrapper .top_row {
    margin: 10px 0;
}

#services_wrapper .forms {
    text-align: right;
}

#services_wrapper .forms form{
    display: inline-block;
}

.search_form .btn {
    height:34px;
    line-height:34px;
}

.search_form #search_field {
    color: #000;
}

.payment_result {
    text-align: center;
    margin: 40px 0;
}

.payment_title {
    display: inline-block;
    margin-left: 10px;
}

#payform .personal_info input {
    width: 35%;
    display: inline-block;
}

#payform .personal_info button {
    border-radius: 50px 7px;
    background: linear-gradient(to right, #8f52b3 0%, #dc6783 100%);
    box-shadow: 5px 5px 20px 5px rgba(0, 0, 0, 0.35);
    padding: 7px 75px;
    height: 40px;
    font-size: 16px;
    float: right;
}

#payform .personal_info input {
    margin-right: 2%;
    color: white;
}

#payform .personal_info label {
    display: block;
}

#payform, #add_to_cart_form, .service_popup {
    max-width: 360px;
    padding: 10px;
}

.cart #payform {
    max-width: 100%;
}

.pay-heading {
    font-family: "Montserrat-Medium", sans-serif;
    font-size: 18px;
    margin-bottom: 10px;
}

.pay-desc {
    font-size: 14px;
    margin-bottom: 23px;
    text-align: left;
}

#payform input, #add_to_cart_form input {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #d5dae0;
    padding: 10px 15px;
    margin: 0 0 20px 0;
    height: 40px;
}

#add_to_cart_form input:focus {
    color: #000;
}

#add_to_cart_form .slidecontainer {
    min-width: 350px;
    max-width: 100%;
}

#payform input[type="radio"] {
    width: 25px;
    margin: 0;
    vertical-align: middle;
}

#payform .payment_methods {
    margin: 25px 0;
}

#payform .payment_methods label {
    font-weight: normal;
    width: calc(100% - 30px);
}

#payform .payment_methods .input-group label span {
    display: inline-block;
    vertical-align: middle;
}

#payform .payment_methods .input-group label span.pm_image {
    min-width: 220px;
}

#payform .payment_methods .input-group label span:not(.pm_image) {
    width: calc(100% - 280px);
    margin-left: 30px;
    font-size: 12px;
}

#payform .payment_methods img {
    height: 43px;
    margin-left: 10px;
}

#payform .payment_methods .input-group {
    margin-top: 10px;
}

#payform input:focus,

/* , */
#add_to_cart_form input:focus {
    border-color: #000;
    color: #000;
}

#payform input.error,

/* , */
#add_to_cart_form input.error {
    border-color: #f24f7d;
    color: #f24f7d;
}

.payform-price {
    color: #000;
    font-family: "Montserrat-Medium", sans-serif;
}

/* Adaptive */

/*img {*/
/*    vertical-align: middle;*/
/*    filter: drop-shadow(20px 20px 30px blue);*/
/*}*/

/*.navbar {*/
/*    width: 100%;*/
/*    font-family: "Montserrat-Medium", sans-serif;*/
/*    font-size: 13px;*/
/*    margin-bottom: 0;*/
/*}*/

/*.navbar-brand {*/
/*    padding: 0*/
/*}*/

/*a:hover, a:focus {*/
/*    color: #fff;*/
/*    text-decoration: none;*/
/*}*/

/*.navbar-nav > li {*/
/*    margin: 5px 0 0 0px;*/
/*}*/

/*.navbar-default .navbar-nav > li > a {*/
/*    padding: 0 11px;*/
/*    text-transform: none;*/
/*    color: inherit;*/
/*    text-decoration: none;*/
/*    display: inline-block;*/
/*    transition: 0.2s linear;*/
/*    position: relative;*/
/*    color: #fff;*/
    /*opacity: 0.75;*/
/*    line-height: 35px;*/
/*}*/

/*.navbar-default .navbar-nav > li.login > a:first-child {*/
/*    padding-right: 0;*/
/*}*/

/*.navbar-default .navbar-nav > li.login > a:last-child {*/
/*    padding-left: 0;*/
/*}*/

/*.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {*/
/*    color: #fff;*/
/*    background: none;*/
/*    background-image: url(../img/menu_hover.png); */
    /*background-color: #FF773A;*/
/*    background-color: #2f16be;*/
/*    background-repeat: no-repeat;*/
/*    background-size: 100% 100%;*/
/*    border-radius: 25px;*/
/*}*/

/*.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {*/
/*    opacity: 1;*/
/*    transition: 0.2s linear;*/
/*    color: #fff;*/
/*    background-image: url(../img/menu_hover.png); */
/*    background-color: #FF773A; */
/*    background-color: #2f16be;*/
/*    background-repeat: no-repeat;*/
/*    background-size: 100% 100%;*/
/*    border-radius: 25px;*/
/*}*/

/*.navbar-default .navbar-nav > li > a::after, .navbar-default .navbar-nav > .active > a::after {*/
/*}*/

/*.navbar-default .navbar-nav > .active > a::after {*/
/*    width: 100%;*/
/*}*/

/*.navbar-default .navbar-nav > li > a:hover::after {*/
/*    width: 100%;*/
/*    transition: 0.2s linear;*/
/*}*/

/*.navbar-nav .menu_cart {*/
/*    margin-top: 6px;*/
/*    position: relative;*/
/*}*/

/*.navbar-nav .menu_cart span {*/
/*    background-color: #FF7B3C;*/
/*    padding: 3px 7px;*/
/*    border-radius: 50%;*/
/*    position: absolute;*/
/*    top: 3px;*/
/*    right: 4px;*/
/*    line-height: normal;*/
/*}*/

/*.dropdown {*/
/*    position: relative;*/
/*}*/

/*.navbar-nav > li .dropdown-menu {*/
/*    position: absolute;*/
/*    display: none;*/
/*    margin-left: -5px;*/
/*    min-width: 160px;*/
/*    list-style: none;*/
/*    padding: 15px 0;*/
/*    background-color: #30001E; 
    background-color: #FF773A; */
/*    background: url(../img/icon-blue.jpg);*/
/*    border: 2px solid #fff;*/
/*    border-radius: 15px;*/
/*    -webkit-border-radius: 15px;*/
/*    -moz-border-radius: 15px;*/
/*}*/

/*.navbar-nav > li .dropdown-menu li > a, .navbar-nav > li .dropdown-menu li > span{*/
/*    display: block;*/
/*    padding: 0 20px;*/
/*}*/

/*.dropdown-menu .dropdown-hover:hover .dropdown-menu {*/
/*    display: block;*/
/*}*/

/*.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {*/
/*    color: inherit;*/
/*}*/

/*.dropdown.open > .dropdown-menu {*/
/*    display: block;*/
/*    z-index: 100;*/
/*}*/

/*.dropdown-menu li {*/
/*    position: relative;*/
/*}*/

/*.dropdown-menu li a, .dropdown-menu li > span {*/
/*    color: #fff;*/
/*    display: inline-block;*/
/*    margin-bottom: 5px;*/
/*    text-decoration: none;*/
/*}*/

/*.dropdown-menu li a:hover, .dropdown-menu li a:focus {*/
/*    color: #ff773a;*/
/*}*/

/*.dropdown-menu ul.dropdown-menu.subcategories {*/
/*    left: calc(100% + 5px);*/
/*    top: -17px;*/
/*    right: auto;*/
/*    min-width: 203px;*/
/*}*/

/*.dropdown-menu .show_submenu {*/
/*    position: absolute;*/
/*    top: 0px;*/
/*    right: 10px;*/
/*}*/

/* Стили для навигации бутстрап 4 */

/* Адаптивность и общие стили */
img {
    vertical-align: middle;
    filter: drop-shadow(20px 20px 30px blue);
}

.navbar {
    width: 100%;
    font-family: "Montserrat-Medium", sans-serif;
    font-size: 13px;
    margin-bottom: 0;
}

.navbar-brand {
    padding: 0;
}

a:hover, a:focus {
    color: #fff;
    text-decoration: none;
}

/* Стили для навигации Bootstrap 4 */
.navbar-light .navbar-nav .nav-item {
    margin: 5px 0 0 0;
}

.navbar-light .navbar-nav .nav-link {
    padding: 0 11px;
    text-transform: none;
    color: inherit;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s linear;
    position: relative;
    color: #fff;
    line-height: 35px;
}

.navbar-light .navbar-nav .nav-item.login .nav-link:first-child {
    padding-right: 0;
}

.navbar-light .navbar-nav .nav-item.login .nav-link:last-child {
    padding-left: 0;
}

.navbar-light .navbar-nav .nav-item.active .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link:hover,
.navbar-light .navbar-nav .nav-item.active .nav-link:focus {
    color: #fff;
    background: none;
    background-color: #2f16be;
    border-radius: 25px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: #fff;
    background-color: #2f16be;
    border-radius: 25px;
    opacity: 1;
    transition: 0.2s linear;
}

/* Выпадающие меню */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    display: none;
    margin-left: -5px;
    min-width: 160px;
    padding: 15px 0;
    background: url(../img/icon-blue.jpg);
    border: 2px solid #fff;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
}

.dropdown-menu .dropdown-item,
.dropdown-menu .dropdown-item > span {
    display: block;
    padding: 0 20px;
    color: #fff;
    margin-bottom: 5px;
    text-decoration: none;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    color: #ff773a;
}

.dropdown-menu .subcategories {
    left: calc(100% + 5px);
    top: -17px;
    right: auto;
    min-width: 203px;
}

.dropdown-menu .show_submenu {
    position: absolute;
    top: 0px;
    right: 10px;
    display: none;
}

/* Обработка показа меню (совместимость с Bootstrap 4) */
.show > .dropdown-menu {
    display: block !important;
}

.dropdown:hover > .dropdown-menu {
    display: block;
}

.dropdown-menu .dropdown-toggle {
color: #ffffff !important; /* Белый цвет для заголовков категорий */
}


/* Открытие подменю при наведении */
.dropdown-menu .dropdown:hover > .dropdown-menu.subcategories {
    display: block !important;
}

/* Стили для корзины */
.navbar-nav .menu_cart {
    margin-top: 6px;
    position: relative;
    color: #fff;
}

.navbar-nav .menu_cart span {
    background-color: #FF7B3C;
    padding: 3px 7px;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    right: 4px;
    line-height: normal;
}

/* Контейнер для ссылок "Вход" и "Регистрация" */
.nav-link-container {
    display: flex;
    align-items: center;
    gap: 5px; /* Расстояние между словами и разделителем */
}

/* Стили для ссылок в строке */
.nav-link-inline {
    color: #ffffff !important; /* Белый цвет текста, как в вашем меню */
    text-decoration: none;
    padding: 0 5px; /* Небольшой отступ */
}

.nav-link-inline:hover,
.nav-link-inline:focus {
    color: #ff773a !important; /* Цвет при наведении */
}

.login {
    display: flex;
    align-items: center;
    padding-bottom: 5px;
    width: max-content;
    height: 35px;
}

/* Убедитесь, что li не добавляет лишние стили */
.nav-item.login {
    margin: 0;
    padding: 0;
}

/* Стили для модального окна Сбербанк */
/* Стили для модального окна Сбербанк */
.sbermodal {
    display: none;
    position: fixed;
    /*top: 50%;*/
    top: 100%;
    left: 50%;
    width: 300px;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s;
    z-index: 1000;
    /*background-color: rgba(0, 0, 0, 0.5);*/
    height: 100vh;
    justify-content: center;
    align-items: center;
}

.sbermodal.active {
    display: block;
    transform: translate(-50%, -50%) scale(1);
}

.sbermodal .sbercontent {
    background-color: #E2F0EB4D;
    padding: 20px;
    min-height: 100px;
    border-radius: 30px;
    backdrop-filter: blur(20px);
    color: #eee;
    font-family: monospace;
    transform: translate(0, 70px);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
    transition-delay: 0.2s;
}

.sbermodal.active .sbercontent {
    transform: translate(0, -70px);
    opacity: 1;
    transition-delay: 0s;
}

.sbermodal .sbercontent h1 {
    font-size: 18px;
    margin: 0 0 10px;
    font-weight: bold;
    color: #fff;
}

.sbermodal .sbercontent .des {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.sbermodal .sbercontent .des a {
    color: #007bff;
    text-decoration: none;
}

.sbermodal .sbercontent .des a:hover {
    text-decoration: underline;
}

.sbermodal .sbercontent .confirm {
    text-align: center;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.sbermodal .sbercontent .confirm label,
.sbermodal .sbercontent .confirm button {
    display: inline-block;
    border: none;
    padding: 10px 20px;
    color: #fff;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
}

.sbermodal .sbercontent .confirm label {
    background-color: #ffffff4D;
}

.sbermodal .sbercontent .confirm button {
    background-color: #007bff;
}


/*
=================================================================
(#m05mcs) массовый заказ
=================================================================
*/
.scard {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.scard-body {
    padding: 20px;
}

.card-shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sform-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    resize: vertical;
}

/* Центрирование кнопки */
.mass-form-actions {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
    /* padding: 10px 20px; */
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.alert {
    background-color: #fff3cd;
    color: #856404;
    padding: 10px;
    border-radius: 4px;
}

.second-area {
    margin: 15px 0;
}

.box-text {
    font-size: 16px;
    color: #333;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.me-2 {
    margin-right: 0.5rem;
}

.fw-600 {
    font-weight: 600;
}

/*
=================================================================
(#m05mcs) обратная связь
=================================================================
*/
/* Glassmorphism Login Form */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap');

body.glass-bg {
    background: url('../img/hero-bg9.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
}

.glass-card {
    width: 100%;
    max-width: 538px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    color: #fff;
}

.glass-card .card-header {
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 24px;
    text-align: center;
}

.glass-card .card-header h5 {
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.glass-card .card-body {
    padding: 30px;
}

.glass-card label {
    color: #efefef;
    font-weight: 400;
}

.glass-card .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.glass-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.glass-card .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.2);
    color: #fff;
}

.glass-card .form-control,
.glass-card .form-control:focus {
    outline: none;
}

.glass-card .g-recaptcha > div {
    display: flex;
    justify-content: center;
}

.glass-card .btn-primary {
    background: #ffffff;
    color: #000;
    border: none;
    padding: 12px;
    font-weight: 600;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.glass-card .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

.glass-card hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 24px 0;
}

.glass-card .text-center a {
    color: #efefef;
    text-decoration: none;
    transition: 0.2s ease;
}

.glass-card .text-center a:hover {
    color: #fff;
    text-decoration: underline;
}

.glass-card .alert {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 0, 0, 0.2);
    color: #fff;
    backdrop-filter: blur(5px);
}

.smal_log {
    font-size: 100%;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}    

label {
    display: inline-block;
    margin-bottom: .5rem;
}

.texta_support {
    max-width: 476px;
    min-height: 100px;
}

.btn-block {
    display: block;
    width: 100%;
}

.hr_support {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

.input_support {
    margin: 0 10px 0 0;
}
/*
=================================================================
(#m05mcs) иконки в категориях услуг
=================================================================
*/
.icons {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.icons a {
    margin: 0 18px;
    text-decoration: none;
    color: #333;
    display: block;
    position: relative;
}

.icons a .layer {
    width: 75px;
    height: 75px;
    transition: transform 0.3s;
}

.icons a:hover .layer {
    transform: rotate(-35deg) skew(20deg);
}

.icons a .layer span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border: 1px solid #333;
    border-radius: 5px;
    transition: all 0.3s;
}

.icons a .layer span.fa {
    font-size: 35px;
    line-height: 75px;
    text-align: center;
}

.icons a:hover .layer span:nth-child(1) { opacity: 0.2; }
.icons a:hover .layer span:nth-child(2) {
    opacity: 0.4;
    transform: translate(5px, -5px);
}
.icons a:hover .layer span:nth-child(3) {
    opacity: 0.6;
    transform: translate(10px, -10px);
}
.icons a:hover .layer span:nth-child(4) {
    opacity: 0.8;
    transform: translate(15px, -15px);
}
.icons a:hover .layer span:nth-child(5) {
    opacity: 1;
    transform: translate(20px, -20px);
}

/* Цвета для разных категорий */
.icons a .layer span,
.icons a .text {
    /* color: #2196F3;
    border-color: #2196F3; */
    color: #fff;
    border-color: #fff;
}

.icons a:hover .layer span {
    /* box-shadow: -1px 1px 3px #2196F3; */
    box-shadow: -1px 1px 3px #FFF;
}

.icons a .text {
    position: absolute;
    left: 50%;
    bottom: -5px;
    opacity: 0;
    font-weight: 500;
    transform: translateX(-50%);
    transition: bottom 0.3s ease, opacity 0.3s ease;
    white-space: nowrap;
}

.icons a:hover .text {
    bottom: -35px;
    opacity: 1;
}

/* Адаптивность */
@media (max-width: 768px) {
    .icons {
        gap: 15px;
    }
    
    .icons a .layer {
        width: 60px;
        height: 60px;
    }
    
    .icons a .layer span.fa {
        font-size: 28px;
        line-height: 60px;
    }
}
/*
=================================================================
(#m05mcs) стили карточек с информацией об услугах
=================================================================
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

.content {
    max-width: 800px;
    width: 100%;
    /*  margin: 5px auto; */ 
}

/* .fancybox__content.no-padding {
  padding: 0 !important;
background: inherit;
} */


.content .card {
    background: #fff;
    max-width: 500px;
    width: 100%;
    text-align: center;
     padding: 15px 30px 10px 30px; 
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.content .card .top {
    max-height: 146px;
    color: #fff;
    padding: 5px 0 5px 0;
    background: #2196F3;
    /* clip-path: polygon(0 0, 100% 0, 100% 53%, 49% 100%, 0 53%); */
    margin: -15px -30px 0;
}

.content .card .top .title {
    font-size: 24px;
    font-weight: 600;
    padding: 0 20px;
}

.content .card .top .avg-time {
    font-size: 18px;
    display: block;
    margin-top: 10px;
}

.content .card .info {
    font-size: 16px;
    margin-top: 10px;
    color: #fff;
}

.content .card .details .one {
    /* margin-top: 10px; */
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 10px 0;
}

.content .card .details .one::before {
    position: absolute;
    content: "";
    width: 100%;
    background: #eee;
    height: 1px;
    left: 0;
    top: -2px;
}

.content .card .details .one i {
    color: #2db94d;
}

.content .card button.claim-btn {
    outline: none;
    border: none;
    height: 42px;
    color: #fff;
    margin-top: 5px;
    border-radius: 3px;
    font-size: 16px;
    width: 100%;
    background: #f44336;
    display: block;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 1px;
}

.content .card button.claim-btn:hover {
    background: #d32f2f;
}

.price-sec {
    padding: 5px 0 5px 0;
}

@media (max-width: 768px) {
    .content {
        padding: 15px;
    }
    
    .content .card {
        padding: 15px 20px 20px;
    }
    
    .content .card .top .title {
        font-size: 20px;
    }
}
/*
=================================================================
(#m05mcs) среднее время
=================================================================
*/
.avg-time {
    background: #2196F3;
    color: #fff;
    padding: 2px;
}
/*
=================================================================
(#m05mcs) конец стилям каторчек об информации услуг
=================================================================
*/

@media (max-width: 768px) {
    .card {
        margin: 10px;
    }
    .form-control {
        font-size: 14px;
    }
}

#cartModal, #qiwiModal {
    width: 380px;
    padding: 10px;
    overflow: hidden;
}

#cartModal .title, #qiwiModal .title {
    font-size: 18px;
}

#cartModal .footer, #qiwiModal .footer {
    margin-top: 15px;
}

#cartModal .footer .btn, #qiwiModal .footer .btn {
    width: 48%;
    height: 40px;
    font-size: 15px;
    display: inline-block;
    margin: 10px 5px 0 0;
    padding: 0;
    text-align: center;
    border: none;
    border-radius: 25px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    opacity: 0.8;
 /*   color: #444;*/
    color: #fff;
    background: linear-gradient(to right, #347684 0%, #41a7a2 100%);
}

#cartModal .footer .btn:hover, #qiwiModal .footer .btn:hover {
    opacity: 1;
}

#cartModal .footer .btn-primary, #qiwiModal .footer .btn-primary {
    background: linear-gradient(to right, #347684 0%, #41a7a2 100%);
    line-height: 40px;
    color: #fff;
}

#qiwiModal #check_payment span {
    visibility: hidden;
}

#qiwiModal #check_payment span img {
    width: 30px;
    margin: 0;
}

.pay-section .goods-row {
    margin-left: -27px;
    margin-right: -27px;
    padding: 0;
    text-align: center;
}

.goods-row > div {
    margin-bottom: 48px;
}

#text_section {
    font-family: "Montserrat-Italic", sans-serif;
    font-size: 15px;
    margin-top: 130px;
    margin-bottom: 85px;
}

#side_panel {
    position: fixed;
    top: 50px;
    left: 0;
}

#side_panel .nav-tabs {
    border: none;
    padding: 15px 0;
    background-color: #FF773A;
}

#side_panel .nav-tabs > li {
    float: none;
}

#side_panel .nav-tabs > li a {
    padding: 18px 25px;
    margin: 0;
    background-color: #FF773A;
    border: none;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    color: #000;
}

#faq {
    /*margin-top: 128px;*/
    /*margin-bottom: 130px;*/
    margin-top: 100px;
    margin-bottom: 100px;
}

#faq .title {
    margin-bottom: 6px;
}

#faq .faqs {
    padding-top: 42px;
}

.faq-block .question {
    font-size: 22px;
    position: relative;
    padding-left: 10px;
    padding-top: 12px;
    cursor: pointer;
}

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

.faq-block .answer-block {
    position: relative;
    padding-top: 2px;
    padding-left: 34px;
    margin-top: 22px;
    margin-bottom: 9px;
}

.faq-block .answer-block:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 4px;
    background-image: url(../img/quotes.png);
    width: 20px;
    height: 15px;
}

.faq-block .answer-block:after {
    content: "";
    display: inline-block;
    vertical-align: bottom;
    background-image: url(../img/quotes.png);
    margin-left: 6px;
    width: 20px;
    height: 15px;
    transform: rotate(180deg);
}

.pre_number {
    font-family: "Montserrat-ExtraBold", sans-serif;
    font-size: 40px;
    opacity: 0.1;
    position: absolute;
    top: 0;
    left: 0;
}

#advantages {
    margin-top: 93px;
}

#advantages .title {
    margin-top: 8px;
    margin-bottom: 18px;
}

#advantages ul {
    list-style: none;
}

#advantages li {
    font-size: 22px;
    position: relative;
    padding: 11px 0 0 14px;
}

#advantages .img_block {
    text-align: center;
    margin-right: -20px;
}

#advantages .advantage {
    text-align: center;
}

#advantages .row {
	padding-top: 15px;
}

.advantage i {
    font-size: 35px;
    margin-bottom: 7px;
}

.advantage h3 {
    padding-top: 5px;
    margin-bottom: 6px;
}


.advantage p {
    font-size: 12px;
    line-height: 1.4;
}

.reviews-page--row {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    background: #FFF;
    border-radius: 10px;
    overflow: hidden;
    color: #333;
}

.reviews-page--content {
    padding: 30px 15px;
    font-size: 14px;
}

.reviews-page--photo {

}

.reviews-page--row .reviews-page--item:not(:last-of-type) {
    border-bottom: 1px solid #ddd;
}

.reviews-page--photo img {
    max-width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    width: 50%;
}

.reviews-page--login {
    margin-top: 15px;
}

.reviews-page--left {
    width: 100%;
    max-width: 200px;
    min-width: 200px;
    text-align: center;
    padding: 30px 15px;
    border-right: 1px solid #ddd;
}

.reviews-page--item {
    display: flex;
    
}

.reviews-paginate {
    display: flex;
}

.reviews-paginate .paginate {
    display: flex;
    margin-left: auto;
    border-radius: 10px;
    background: #FFF;
}

.reviews-page--paginate {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.reviews-paginate .paginate a.page-link {
    padding: 10px 15px;
    display: block;
    text-decoration: none;
    color: #333;
    border-right: 1px solid #ddd;
}

.reviews-paginate .paginate a.page-link.hidden_pages + a.page-link {
    border-right: none;
}

.reviews-paginate .paginate a.page-link.active {
    background: rgba(0,0,0,.1);
}

.reviews-paginate .paginate a.page-link.hidden_pages {

}

.reviews-paginate .paginate a.page-link.next {
    display: none;
}

.reviews-paginate .paginate a.page-link.prev {
    display: none;
}

.feedback-slider--btn {
    margin-top: 30px;
    text-align: center;
}

.feedback-slider--btn a {
    color: #FFF;
    font-size: 18px;
}

.review-page--ocenka {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 10px;
}

.reviews-page--date {
    margin-top: 10px;
    font-size: 14px;
    opacity: .6;
}

.stats-container {
    display: flex;
    flex-wrap: wrap; /* Перенос на второй ряд при нехватке места */
    gap: 20px; /* Расстояние между табличками */
    justify-content: flex-start; /* Выравнивание слева */
}

@media screen and (max-width: 1320px) {

    #hero {
        margin-top: 30px;
        margin-left: 85px;
    }

}

@media screen and (max-width: 1200px) {
    #hero .header-text-block {
        padding-top: 120px;
    }

    #hero h1 {
        font-size: 38px;
        margin-bottom: 5px;
    }

    #advantages .img_block img, #faq .img_block img {
        max-width: 90%;
    }

    #advantages .img_block img {
        margin-bottom: 40px;
    }

    #faq .img_block img {
        margin-top: 40px;
    }
}

@media screen and (max-width: 991px) {
    #advantages {
        text-align: center;
    }

    .navbar-default .navbar-nav > li > a {
        padding: 0 10px;
    }
}

@media screen and (max-width: 767px) {
    .service_block .btn-inst-1, .service_block .btn-desc {
        width: 95%;
    }
    
    .nav-tabs > li {
        width: 48%;
        margin-right: 5px;
    }

    #services_wrapper .search_form {
        width: 100%;
    }

    #services_wrapper .search_form input {
        margin:10px 0;
    }

    #services_wrapper .custom-table th {
        display: none;
    }

    #services_wrapper .custom-table td {
        display: block;
    }

    #services_wrapper .custom-table tr td:last-child {
        border-bottom: 1px solid #fff;
    }

    #first-section .nav-tabs li a {
        min-width: 50px;
        min-height: 50px;
        line-height: 50px;
    }

    #first-section .nav-tabs li a:before, #first-section .nav-tabs li a:after {
        display: none;
    }

    #hero {
        margin: 0;
    }

    #hero .header-text-block {
        padding-top: 60px;
        text-align: center;
    }

    #side_panel {
        display: none;
    }

    #hero .container-fluid {
        background: transparent;
        padding-bottom: 0px;
    }

    header .navbar-nav > li {
        text-align: center;
    }

    .navbar-toggle {
        float: right;
        margin-top: 5px;
    }

    #faq .img_block {
        text-align: center;
    }

    .slick-slider {
        margin: 0 0 0 12px;
        padding: 0;
    }

    #feedbacks .slick-list {
        margin: 0;
    }

    #payform input[type="radio"] {
        vertical-align: top;
    }

    #payform .payment_methods .input-group label span {
        display: block;
        margin-top: 20px;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .reviews-page--left {
        min-width: 150px;
        max-width: 150px;
    }
    
    .reviews-page--paginate {
        flex-direction: column;
    }
    
    .nav-tabs > li {
        width: 48%;
        margin-right: 5px;
    }
}