/*
Theme Name: Mercury Child
Theme URI: https://mercurytheme.com/
Description: Child theme for Mercury theme
Author: MercuryTheme.com
Author URI: https://mercurytheme.com/
Template: mercury
Version: 3.9.6
*/
@import url("../mercury/style.css");

/* Header styles */
.space-mobile-menu {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.burger-toggle {
    display: none;
}

.burger-label,
.close-label {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.line {
    width: 100%;
    height: 4px;
    background: #ffffff;
    margin: 2px 0;
    transition: transform 0.3s ease;
}

.burger-toggle:checked + .burger-label .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-toggle:checked + .burger-label .line:nth-child(2) {
    opacity: 0;
}

.burger-toggle:checked + .burger-label .line:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
}

/* Показати меню, коли чекбокс активний */
.space-box:has(.burger-toggle:checked) ~ .space-mobile-menu {
    opacity: 1;
    visibility: visible;
}

/* Сховати меню, коли чекбокс неактивний */
.space-box:has(.burger-toggle:not(:checked)) ~ .space-mobile-menu {
    opacity: 0;
    visibility: hidden;
}

/* Header styles */



/* Custom styles */
.modify-date {
    font-size: 12px;
    line-height: 12px;
    color: #c40000;
    margin: 10px 0 10px;
}

.space-organizations-3-archive-item-count {
    background-color: #be2edd!important;
}
/* Custom styles */


/* Home Banner */
.banner {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-width: 100%;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.banner-content__title {
    font-family: 'CasinoFlat', sans-serif;
    font-weight: 700;
    color: #c40000;
    font-size: 40px;
    letter-spacing: 2px;
    line-height: 53px;
    max-width: 601px;
    margin: 30px 0 30px auto;
}

.banner-content__btn {
    display: block;
    width: max-content;
    border: 1px solid #c40000;
    border-radius: 10px;
    padding: 14px 24px;
    background-color: white;
    color: #c40000;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 70px;
    margin-left: auto;
}

.banner-content__btn:hover {
    display: block;
    width: max-content;
    border: 1px solid #c40000;
    border-radius: 10px;
    padding: 14px 24px;
    background-color: #c40000;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 70px;
}

@media screen and (max-width: 998px) {
    .banner-content__title {
        font-weight: 700;
        color: #c40000;
        font-size: 32px;
    }
}

@media screen and (max-width: 768px) {
    .banner {
        background-position: right;
    }
    .banner-content__title {
        font-weight: 700;
        font-size: 32px;
        margin: 0px auto 30px auto;
        text-align: center;
    }

    .banner-content__btn {
        margin: 0 auto 50px;
    }
}

@media screen and (max-width: 540px) {
    .banner-content__title {
        font-weight: 700;
        font-size: 28px;
        letter-spacing: 1px;
    }
}

/* Home Banner */


/* FAQ */
.schema-faq {
    padding-top: 10px;
}

.schema-faq-question {
    display: block;
    padding: 20px 45px 20px 60px;
    color: #ffffff;
    background-color: #c40000;
    border: 1px solid #ededed;
    font-size: 18px;
    position: relative;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s;
}

.schema-faq-question:before {    
    content: "?";
    text-align: center;
    color: #b10202;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-color: #fff;
    position: absolute;
    border-radius: 20px;
    left: 20px;
    top: 50%;
    margin-top: -12px;
    background-size: 13px;
    background-position: center center;
    transition: all 0.3s;
}

.schema-faq-section__active .schema-faq-question:before {
    background-color: #ffffff;
}

.schema-faq-question:after {
    content: "➤";
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    position: absolute;
    border-radius: 20px;
    right: 20px;
    top: 50%;
    margin-top: -12px;
    background-size: 100%;
    background-position: center center;
    transform: rotate(180deg);
    transition: all 0.3s;
}

.schema-faq-section__active .schema-faq-question:after {
    transform: rotate(90deg);
}

.schema-faq-section {
    overflow: hidden;
    margin-bottom: 20px;
}

.schema-faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    will-change: max-height;
    transition: all 0.25s ease-out;
    color: #151515;
    opacity: 0;
}

.schema-faq-section__active .schema-faq-question {
    background-color: #c40000;
    color: #ffffff;
    border-color: #fff;
}

.schema-faq-section__active .schema-faq-answer {
    padding: 20px;
    opacity: 1;
}
/* FAQ */

/* Footer Top */
.space-footer-copy {
    background-color:#c40000;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #b2b2b2;
    width: 100%;
    color: white;
}

.footer-top__company {
    width: 30%;
}

.footer-top__company-social {
    display: flex;
    margin-top: 20px;
    margin-bottom: 30px;
}

.footer-top__company-social-link {
    display: block;
    width: 36px;
    height: 36px;
    margin-right: 10px;
}

.footer-top__company-social-link img {
    width: 100%;
    height: 100%;
}

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

.footer-top__menus {
    display: flex;
    justify-content: space-between;
    width: 68%;
}

.footer-top__menus-item-title {
    color: white;
    font-size: 18px;
    margin-bottom: 30px;
}

.footer-top__menus ul a {
    color: white;
    text-decoration: none;
}

.footer-top__menus ul li {
    margin-bottom: 10px;
}

.footer-top__menus ul a:hover {
    text-decoration: underline;
}


@media screen and (max-width: 998px) {
    .footer-top {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .footer-top__company {
        width: auto;
    }

    .footer-top__company-logo {
        max-width: 325px;
    }

    .footer-top__company-social {
        justify-content: center;
    }

    .footer-top__company-logo-link {
        display: flex;
        justify-content: center;
    }

    .footer-top__company-copyright {
        margin-bottom: 30px;
    }

    .footer-top__menus {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .footer-top__menus {
        flex-wrap: wrap;
    }
    .footer-top__menus-item {
        width: 50%;
        margin-bottom: 20px;
    }

    .footer-top__menus-item-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .footer-top__menus ul a {
        font-size: 14px;
    }

}

@media screen and (max-width: 540px) {
    .footer-top__menus {
        flex-wrap: wrap;
    }
    .footer-top__menus-item {
        width: 100%;
        margin-bottom: 30px;
    }

    .footer-top__menus-item-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .footer-top__menus ul a {
        font-size: 14px;
    }
}

.footer-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-center__content {
    display: flex;
    align-items: center;
    width: 50%;
}

.footer-center__content-img {
    max-width: 50px;
    max-height: 50px;
    margin-right: 10px;
}

.footer-center__content-img img {
    width: 100%;
    height: 100%;
}

.footer-center__content-text {
    font-size: 14px;
    color: #ffffff;
    line-height: 14px;
}

.footer-center__images {
    width: 50%;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .footer-center {
        flex-direction: column-reverse;
    }

    .footer-center__content {
        font-size: 12px;
        width: 100%;
    }

    .footer-center__images {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-center__content-text {
        color: #ffffff;
    }

}
/* Footer Top */

/* 404 */
.error__body {
    text-align: center;
}

.error__media_img {
    max-width: 300px;
}

.error__bottom {
    text-align: center;
    padding-top: 30px;
}

.error .error__bottom-url {
    display: inline-block;
    background-color: #c40000;
    padding: 10px 20px;
    border-radius: 4px;
    color: #ffffff;
    text-decoration: none;
    min-width: 200px;
    text-align: center;
    transition: all 0.3s;
}

.error .error__bottom-url:hover {
    box-shadow: 0px 0px 15px 0px rgb(196, 0, 0);
    color: #ffffff;
}

.error__media {
    padding: 20px 0;
}

.error .error__title {
    color: #c40000;
    display: block;
    font-size: 70px;
}
/* 404 */


/* Public */
.public {
    width: 100%;
    padding: 15px 0;
    font-size: 14px;
    border-top: 1px solid rgb(127 140 141 / 37%);
    color: #7f8c8d;
}

.public__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    padding: 0 15px;
}

.public__item {
    margin-left: 20px;
}

.public__author_link {
    color: #7f8c8d;
    transition: all 0.3s;
}

.public__author_link:hover {
    color: #000000;
}

.white {
    border-top: 1px solid rgb(178 190 195 / 37%);
    color: #b2bec3;
    z-index: 1;
}

.public-sidebar {
    padding-top: 20px;
    font-size: 14px;
    border-top: 1px solid rgb(127 140 141 / 37%);
    color: #7f8c8d;
}

.public-sidebar-margin {
    margin: 30px -30px 0;
}

.public-sidebar-full {
    margin-top: 30px;
    text-align: center;
}

.public-sidebar__item {
    margin-bottom: 15px;
}

.public-sidebar__date-update {
    margin-bottom: 0;
}

.public-bottom {
    padding-bottom: 20px;
}

.public-block {
    flex-wrap: wrap;
}

.public-for-title {
    border-top: none;
    margin: 20px 0;
}

.public__author {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.public__author_url-img {
    margin: 0 12px;
}

.public__author_photo {
    display: block;
    width: 32px;
    border-radius: 50%;
    border: 3px solid rgb(127 140 141 / 37%);
    transition: all 0.3s;
}
/* Public */

/* Search Block Start */

.space-header-search {
    top: 30px;
    bottom: 0;
    right: 15px;
    margin: 0;
    color: #151515;
    font-size: 1.333em;
    line-height: 1em;
    height: 1em;
    cursor: pointer;
}
.space-header-2-top-search .space-header-search {
    top: 35px;
    right: 0;
    color: #95a5a6;
}
.desktop-search-close-button .to-right,
.desktop-search-close-button .to-left {
    background-color: #7f8c8d;
}
.space-header-search-block {
    height: 110px;
    width: 100%;
    padding: 0;
    margin: 0;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background-color: #f5f6fa;
    opacity: 0;
    visibility: hidden;
    z-index: 100000;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.space-header-search-block.active {
    opacity: 1;
    visibility: visible;
}
.space-header-search-block-ins {
    max-width: 1170px;
    height: 100px;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.desktop-search-close-button {
    top: 20px;
    right: 45px;
}
.space-header-search-block input[type="search"] {
    width: 100%;
    float: none;
    background: transparent;
    font-family: 'Roboto', sans-serif;
    border: 0;
    border-bottom: 1px solid #e9edf0;
    border-radius: 0;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.2em;
    color: #2d3436;
    padding: 35px 30px;
    height: 100%;
}
.search-results .space-single-aces-breadcrumbs {
    padding: 0;
}
.search-results .space-single-aces-breadcrumbs .space-breadcrumbs {
    margin-left: 0;
    margin-right: 0;
}

/* Search Block End */