@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

body {
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    color: #000;
    width: 100%;
    overflow-x: hidden;

}

a,
a:hover {
    color: inherit;
    text-decoration: none;
}

* {
    outline: none;
}

/* Основные стили для заголовка */
.page-header {
    background-color: #f8f9fa;
    padding: 10px 0;
}

.textwidget.custom-html-widget {
    color: #192645;
    font-size: 14px;
}

a {
    color: #192645;
    text-decoration: none;
}

a:hover {
    color: #c53217;
    text-decoration: underline;
}

.button {
    background-color: #192645;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.button:hover {
    background-color: #c53217;
}

/* Логотип */
.container.header-logo-area {
    padding: 10px;
}

.logo img {
    max-width: 100%;
    height: auto;
    width: 220px;
}

.herotext h2 {
    text-transform: uppercase;
    font-size: 16px;
    margin-top: 7px;
    font-weight: 800;
}

.tel-img img {
    max-width: 100%;
    width: 38px;
    margin-top: 15px;
    float: right;
}

.tel-area .textwidget a {
    font-size: 22px;
    display: block;
    font-weight: 800;
    margin-top: 6px;
}

.callmeplease {
    margin-left: -10px;
    font-size: 14px;
    text-align: left;
}
.callmeplease a{
    color: #c53217;
}
.col-lg-6.herotext {
    margin-top: 14px;
}

/* Навигационное меню */
.nav {
    font-size: 14px;
}

.nav li {
    display: inline;
    margin: 0 15px;
}

.nav a {
    transition: color 0.3s;
}

.nav a:hover {
    color: #c53217;
}

ul#menu-verhnee-menyu {
    display: flex;
    justify-content: flex-end;
}

.mainmenuarea {
    background: #f8f9fa;
    padding: 10px 0;
}

.top-header-area-scrollable {
    background: #fff;
}
.page-header p{
    font-size: 14px;
    display: contents;
}

/* slider */
.slider {
    position: relative;
    height: 55vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: white;
    text-align: left;
    padding-left: 20px;
}

.background-video {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50vw;
    height: 100%;
    object-fit: cover;
    transform: translateX(-50%);
    z-index: -1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.slides {
    position: relative;
    z-index: 1;
    width: 100%;
}

.slide {
    display: none;
}

.slide.active {
    display: block;
}

.slide h1 {
    font-size: 65px;
    text-transform: uppercase;
    font-weight: 800;
}
li#mega-menu-item-448 a {
    font-weight: 400 !important;
}
/* читать дальше */
.read-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #192645;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.3s;
}

.read-more:hover {
    background-color: #2a3b6d; /* Цвет фона при наведении */
    transform: translateY(-2px);
    color: white;
}

.read-more:active {
    transform: translateY(0);
}
/* таблицы */
table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin: 0 auto;
    overflow-x: auto;
}

table th, table td {
    padding: 8px 16px;
    text-align: left;
    word-wrap: break-word;
}

table th select {
    width: 100%;
}

.table-container {
    max-width: 100%;
    overflow-x: auto;
    margin-top: 50px;
}

/* Ограничиваем ширину заголовков и колонок */
table th, table td {
    max-width: 200px;
}
/* Общий стиль для таблиц */
#converted-tables table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

/* Стиль для заголовков таблицы */
#converted-tables th {
    background-color: #192645;
    color: #ffffff;
    padding: 10px;
    text-align: left;
    border: 1px solid #ccc;
}

/* Стиль для ячеек таблицы */
#converted-tables td {
    padding: 10px;
    border: 1px solid #ccc;
}

/* Зебра для строк таблицы */
#converted-tables tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* отзывы */
.testimonial-carousel {
    position: relative;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.review-slide {
    display: none;
    padding: 20px;
    text-align: center;
}

.review-slide.active-review {
    display: block;
}

.star-rating {
    width: 100px;
    margin-bottom: 15px;
}

.prev-review,
.next-review {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgb(25 38 69);
    border-radius: 4px;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.prev-review {
    left: 10px;
}

.next-review {
    right: 10px;
}

.prev-review:hover,
.next-review:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

/* страница каталога */
h1.page-title {
    color: #172449;
    font-size: 65px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 36px 0;
}
.imginpost {
    max-height: 289px;
    overflow: hidden;
}

.imginpost img {
    max-width: 100%;
    height: auto;
}

.contactsinpost img {
    width: 40px;
    margin-top: 6px;
}

.contactsinpost h3 {
    margin-left: 1px;
    color: #c53217;
    font-size: 14px;
}

.contactsinpost a {
    font-size: 22px;
    display: block;
    font-weight: 800;
    margin-top: 6px;
}
.contactsinpost a.read-more{
    font-size: 16px;
    display: block;
    width: fit-content;
    font-weight: 400;
    margin-top: 16px;
}
.dataTables_wrapper{
    margin: 50px 0;
}
/* Контейнер для списка дочерних страниц */
.child-pages-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Сетка с 5 столбцами */    gap: 20px; /* Отступы между элементами */
    padding: 0;
    list-style: none; /* Убираем маркеры списка */
}

/* Элемент списка (страница) */
.child-page {
    display: flex;
    flex-direction: column; /* Изображение над заголовком */
    align-items: center; /* Центрируем содержимое по горизонтали */
    text-align: center;
}

/* Ссылка-обертка для изображения */
.child-page a img {
    width: 100%; /* Изображения будут растягиваться на всю ширину контейнера */
    max-width: 200px; /* Ограничиваем максимальную ширину изображений */
    height: auto; /* Сохраняем пропорции */
    border-radius: 4px; /* Добавляем скругление углов (опционально) */
}

/* Стили для заголовка страницы */
.child-page a {
    text-decoration: none; /* Убираем подчеркивание */
    color: #333; /* Цвет текста */
    margin-top: 10px; /* Отступ между изображением и заголовком */
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease; /* Плавный переход цвета при наведении */
    max-height: 100px;
    overflow-y: hidden;
}

.child-page a:hover {
    color: #192645; /* Изменяем цвет заголовка при наведении */
}

/* обратн связь */
/* Общие стили для формы */
.wpcf7-form {
    width: 100%; /* Форма будет занимать всю ширину */
    max-width: 100%; /* Ограничиваем ширину формы */
    padding: 20px;
    box-sizing: border-box;
    border-radius: 5px; /* Округлые углы */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Стили для полей ввода */
.wpcf7-form-control {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.wpcf7-form-control:focus {
    border-color: #192645; /* Цвет границы при фокусе */
    outline: none; /* Убираем стандартный outline */
}

/* Стили для меток (label) */
.wpcf7-form label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

/* Контейнер для двух колонок */
.name-email-container {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Расстояние между колонками */
    margin-bottom: 15px; /* Отступ снизу */
}

/* Колонки для полей Имя и Email */
.name-email-container p {
    width: 48%; /* Каждое поле занимает 48% ширины */
    margin: 0;
}

/* Стили для текстовой области (textarea) */
.wpcf7-textarea {
    resize: vertical; /* Пользователь сможет изменять высоту текстового поля */
    height: 150px; /* Высота по умолчанию */
}

/* Стили для кнопки отправки */
.wpcf7-submit {
    display: inline-block;
    padding: 10px 20px;
    background-color: #192645; /* Цвет фона кнопки */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    text-transform: uppercase; /* Заглавные буквы */
    transition: background-color 0.3s, transform 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.wpcf7-submit:hover {
    background-color: #2a3b6d; /* Цвет фона при наведении */
    transform: translateY(-2px); /* Плавное поднятие кнопки */
}

.wpcf7-submit:active {
    transform: translateY(0); /* Сброс эффекта поднятия при нажатии */
}
span.wpcf7-spinner{
    display: none;
}



/* footer */
footer.footer {
    background: #182546;
    padding: 36px 0;
    color: #fff;
    margin-top: 50px;
}
footer.footer a,
footer.footer .textwidget.custom-html-widget {
    color: #fff;
}
ul#menu-menyu-v-futere{
    padding-left: 0px;
}
ul#menu-menyu-v-futere li{
    list-style: none;
    margin-bottom: 10px;
}
footer.footer .textwidget.custom-html-widget img{
    display: none;
}
footer.footer .textwidget.custom-html-widget{
    font-size: 16px;
    margin-bottom: 10px;
}
footer.footer .copy,
footer.footer .madeby{
    font-size: 12px;
    opacity: 0.7;
}
footer.footer .logo{
    max-width: 100%;
    margin-bottom: 20px;
    width: 210px;
}


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

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

@media screen and (max-width:1024px) {
    .herotext h2 {
        font-size: 11px;
    }
    form.search-form {
        position: relative;
        margin-top: 6px;
    }
}

@media screen and (max-width:992px) {
    .herotext,
    .tel-img{
        display: none;
    }
    form.search-form{
        margin-top: 4px;
    }
    .tel-area {
        margin-top: -12px;
    }
    header.page-header img{
        display: none;
    }
}

@media (max-width: 768px) {
    .slider {
        height: 40vh;
        padding-left: 10px;
    }

    .background-video {
        width: 100vw;
        height: 100%;
    }

    .slide h1 {
        font-size: 30px;
    }

    #menu-glavnoe-menyu .sub-menu {
        flex-direction: column;
    }
    .name-email-container {
        flex-direction: column;
    }
    .name-email-container p {
        width: 100%;
    }
    #mega-menu-wrap-primary .mega-menu-toggle{
        background: #172449;
    }
    h1.page-title{
        font-size: 30px;
    }
    .imginpost{
        display: none;
    }
}

@media (max-width: 480px) {
    .slider {
        height: 30vh;
    }
    .slide h1, h1.page-title {
        font-size: 24px;
    }
    ul#menu-verhnee-menyu {
        display: flex;
        justify-content: center;
    }
    .logo img {
        width: 120px;
        margin-top: 7px;
    }
    .tel-area .textwidget a {
        font-size: 18px;
        margin-top: 24px;
        text-align: left;
    }
}