/*
Theme Name: flatsome-child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* .flickity-viewport{
    max-height: 400px;
    height: 350px !important;
} */
body {
    font-family: "Arial" !important;
}

.main-slogan, .itb_header_text span {
    font-family: "Arial Narrow" !important;
    font-size: 15px !important;
    letter-spacing: 2.6px;
}

.product-category .box-text p {
    font-size: 12px;
}

.product-category .header-title, .product-category .box-text p {
    text-align: left;
}

.box.box-category.has-hover.box-normal, .product-category, .box-category, .product-small.type-product {
    min-height: 315px;
    max-height: 315px;
}

.product-category .box-text p, .product-small.type-product .box-text p, .product-small .box-text .box-text {
    max-height: 73px;
    overflow: hidden;
    line-height: 15px;
}

.box-category {
    border: 1px solid #ccc;
    padding: 10px 10px 20px 10px;
}

.product-small.type-product {
    border: 1px solid #ccc;
    margin: 5px;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.product-small.type-product > .col-inner {
    padding: 25px 10px 20px 10px;
}

.subtitle_main {
    color: #9e9e9e;
    margin-bottom: 0;
}

.product-category .header-title {
    margin: 0 0 10px 0;
    color: #005f9d;
}

.box-text.text-center {
    padding: 10px 0 25px 0;
}

.product-category .box-image img, .product-small.type-product .box-image img {
    height: 115px;
    max-height: 115px;
    object-fit: contain;
}

.products.has-equal-box-heights .box-image {
    padding-top: 135px !important;
}

.nav > li > a {
    font-size: 1em;
}

.section-title-container {
    margin-bottom: 0.5em;
}

.section-title-normal span {
    border-bottom: 2px solid rgba(0, 102, 166, 1);
}

.section-title {
    margin-bottom: 0;
}

.in-product-link {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10px;
    background: #e8e8e8;
    color: #336892;
    height: 33px;
    width: 100%;
}

.product:hover > .in-product-link,
.product-category:hover .in-product-link {
    background: #336892;
    color: #e8e8e8;
}

.itb_header_text p {
    font-family: "ARIAL";
    font-style: italic;
}

.entry-content li, .col-inner li, .woocommerce-Tabs-panel li, .product-short-description li {
    list-style-type: none; /* Прячем исходные маркеры */
}

.entry-content li:before, .col-inner li:before, .woocommerce-Tabs-panel li:before, .product-short-description li:before {
    background: #b5d1e4; /* Цвет маркера */
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px; /* Расстояние от маркера до текста */
}

.widget li:before {
    display: none !important;
}

.widget-title.shop-sidebar {
    font-size: 11px;
}

.other_category h2 {
    font-size: 1.2em;
}

.widget .current-cat > a {
    color: #e91117;
}

ul.menu > li ul, .widget > ul > li ul {
    border-left: 1px solid #005490;
}

.back-to-top.active {
    transform: translateY(-50px) !important;
}

.section-title-main {
    color: rgb(0, 102, 166);
}

.how-buy p {
    margin-bottom: 0;
}

.how-buy .button {
    margin-top: 25px;
}

.shop-container .product-cats {
    display: none;
}

.nav-line-grow > li > a:before {
    top: 100%;
}

.box-category .box-image, .product-small.type-product .box-image {
    padding: 0 !important;
    height: 115px !important;
}

.modal {
    position: fixed;
    width: 460px;
    height: auto;
    padding: 15px;
    margin: 0 auto;
    max-width: 100%;
    top: 10%;
    background: #fff;
    border: 1px solid #ccc;
    left: 50%;
    margin-left: -250px;
    z-index: 100;
}

.box-excerpt.is-small {
    font-size: 12px !important;
    margin-top: 5px !important;
}

.close {
    display: inline-block;
    width: 13px;
    height: 13px;
    background-image: url(/wp-content/themes/flatsome-child/img/form-close.png);
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.small {
    font-size: 12px;
}

.modal .wpcf7-submit {
    margin: 15px auto !important;
    text-align: center;
    display: flex;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .1);
    cursor: pointer;
    display: none;
    z-index: 9;
}

a.red-btn {
    color: #e91117 !important;
    border-color: #e91117 !important;
}

.red-btn span {
    color: #e91117 !important;
    border-color: #e91117 !important;
}

a.red-btn:hover {
    background-color: #e91117 !important;
}

a.red-btn:hover span {
    color: #fff !important;
}

.product-info.summary {
    font-size: .8em;
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/


}


.title-wrapper .category, .woocommerce-result-count, .woocommerce-ordering {
    display: none;
}

.copyright-footer {
    font-size: 14px;
    line-height: 20px;
    color: #f5f5f5;
}

.menu a {
    color: #005f9d;
}

.menu .current-menu-item > a {
    color: #e91117;
}

.widget_nav_menu .widget-title {
    color: #413e3e;
    white-space: nowrap;
}

.related-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    position: relative;
    overflow: hidden;
}

.related-slider.--slider {
    display: block;
}

.related-slider .product-small.type-product {
    margin: 0;
}

.swiper-left,
.swiper-right {
    position: absolute;
    top: 0;
    height: 100%;
    width: 30px;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: none;
    transition: all 0.3s ease-in-out;
    display: flex;
    color: black;
    font-size: 20px;
    justify-content: center;
    align-items: center;
    z-index: 10;
    cursor: pointer;
    outline: none;
}

.swiper-left:hover,
.swiper-right:hover {
    background-color: white;
}

.related-slider:hover .swiper-right,
.related-slider:hover .swiper-left {
    transform: translateX(0);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.3);
}

.swiper-left {
    left: 0;
    transform: translateX(-100%);
}

.swiper-right {
    right: 0;
    transform: translateX(100%);
}

.col-inner {
    display: block;
}

.product-category .box-badge:hover .box-text {
    background-color: transparent;
}

.product-category .box-badge:hover h5,
.product-category .box-badge:hover p {
    color: #005f9d;
}

.product-title {
    color: #005f9d;
}
