/*НАСТРОЙКА BODY*/
body {
    font-family: "Montserrat", sans-serif;
    padding-right: 0px;
    overflow-x: hidden;
}

.h2, h2 {
    font-size: 1.3rem;
}

@media (min-width: 1200px) {
    .h2, h2 {
        font-size: 1.5rem;
    }
}

.logotype {
    width: 100%;
    max-width: 400px;
    min-width: 152px;
}

/*КАСТОМНАЯ ПОЛОСА ПРОКРУТКИ*/
/* Ширина */
::-webkit-scrollbar {
    width: 10px;
}

/* Дорожка */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Ручка */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Ручка при наведении */
::-webkit-scrollbar-thumb:hover {
    background: rgb(236, 113, 27);
}

/*НАСТРОЙКА ХЛЕБНЫХ КРОШЕК*/
.path-breadcrumb {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-top: 20px;
    padding-bottom: 20px;
}

.path-breadcrumb a {
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    font-weight: 700;
}

.path-breadcrumb a:hover {
    color: rgb(236, 113, 27);
}

/*НАСТРОЙКА ПАГИНАЦИИ*/
.pagination {
    margin-top: 1rem;
    flex-wrap: wrap;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    border-radius: 0px;
}

.pagination .page-link {
    color: rgb(51, 51, 51);
}

.pagination .active>.page-link {
    background-color: rgb(51, 51, 51);
    color: rgb(255, 255, 255);
    border-color: rgb(51, 51, 51);
}

.owl-carousel-hot-ctn .owl-carousel .owl-item img {
    height: 60px;
}

/*НАСТРОЙКА ОБЛАСТЕЙ ГЛАВНОЙ СТРАНИЦЫ*/
/*Блок СЕКЦИЯ 1 НА ГЛАВНОЙ СТРАНИЦЕ FLUID*/
.fluid-secone_bg {
    background-color: rgb(255, 255, 255);
    background-image: url('/wp-content/themes/stuzhka/assets/images/light_bg.webp');
    background-size: cover;
    background-position: top;
}

/*Блок СЕКЦИЯ 1 НА ГЛАВНОЙ СТРАНИЦЕ MAIN и RIGHT*/
.secone {
    padding-top: 50px;
    padding-bottom: 50px;
}

.secone-right .card {
    border-radius: 0;
    border: 0;
    margin-top: .75rem;
    margin-bottom: .75rem;
    margin-right: .5rem;
    margin-left: .5rem;
}

.secone-right .card .card-header {
    background: none;
    border-radius: 0;
    border: 0;
}

/*НАСТРОЙКА СТРАНИЦЫ 404*/
.error-404 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.error-404 h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    text-align: center;
    font-weight: 900;
    letter-spacing: 2px;
}

.error-num {
    font-size: 3.5rem;
    text-align: center;
    font-weight: 900;
    letter-spacing: 2px;
}

.error-404 .page-content {
    text-align: center;
    letter-spacing: 2px;
    margin-top: 1rem;
    font-size: 1.2rem;
}

.wp-block-table {
    overflow: auto;
}

.wp-block-table table {
    width: 100%;
}

.wp-block-table table tr,
.wp-block-table table th,
.wp-block-table table td {
    border-width: 1px;
}


.footer-devs {
    color: #ff8ea8;
    text-decoration: dotted;
}

.footer-devs:hover {
    color: #f10c40;
}

.wp-block-gallery figure.wp-block-image {
    display: flex;
    flex-direction: column;
    width: calc(33% - 15px* 2 / 3);
    flex-shrink: 0;
}

.wp-block-gallery.has-nested-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.wp-block-gallery figure.wp-block-image {
    width: calc(33% - 16px* 2 / 3);
    flex-shrink: 0;
}

.wp-block-gallery figure.wp-block-image a {
    display: block !important;
    height: 100%;
}

.wp-block-gallery figure.wp-block-image img.lazyloaded {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 900px) {
    .wp-block-gallery figure.wp-block-image {
        width: calc(50% - 16px* 1 / 2);
    }
}

@media screen and (max-width: 540px) {
    .wp-block-gallery figure.wp-block-image {
        width: 100%;
    }
}

#lightboxOverlay {
    max-width: 100%;
}

iframe {
    max-width: 100%;
}

figure.wp-caption {
    max-width: 100%;
}