@import "button.css";

/* --- Media styles --- */

.contactFixed,
.wrapMobileMine,
.wrapHiddenMenu {
    display: none;
}

@media screen and (min-width:1200px) {}

@media screen and (max-width:1199px) {
    .kruzh-list,
    .itemsBM {
        grid-template-columns: repeat(2, calc((100% / 2) - 5px));
        grid-gap: 10px;
    }
    .photogallery-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer {
        flex-wrap: wrap;
    }
    .footerMenu li {
        margin-right: 15px;
    }
    .footerMenu li a {
        font-size: 14px;
    }
    .footerContact {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 15px;
    }
    .footerContact .phone {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-bottom: 0;
        justify-content: space-around;
    }
    .footerContact .phone a {
        margin-right: 40px;
    }
    .HeadMenuAndButton ul>li a {
        font-size: 16px;
    }
    .HeadMenuAndButton ul>li::after {
        margin: 0px 10px;
    }
}

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

@media screen and (max-width:991px) {
    .wrapContent .leftColumn .citatNedeli,
    .wrapContent .leftColumn .photoLeft,
    .wrapContent .leftColumn .LeftMenu {
        display: none;
    }
    .wrapContent {
        grid-template-columns: 100%;
    }
    .wrapContent .centerColumn,
    .wrapContent .leftColumn {
        padding: 20px 0 20px;
        background: none;
    }
    .wrapContent .leftColumn {
        grid-row-start: 2;
    }
    .AllMerop,
    .AllLN {
        margin-bottom: 20px;
    }
    .buttonOcenKach {
        margin-bottom: 0;
    }
    .HeadMenuAndButton .buttonSlabVid {
        position: fixed;
        right: -130px;
        padding: 10px;
        border-radius: 5px;
        z-index: 100;
    }
    header {
        padding-top: 15px;
        background-size: auto 65%;
        height: 350px;
        margin-bottom: 40px;
    }
    header .container {
        height: 100%;
    }
    .contactHead .phone,
    .contactHead .adress,
    .contactHead .mail {
        display: none;
    }
    .contactHead {
        margin-bottom: -50px;
    }
    .contactHead .social a img {
        width: 40px;
        height: 40px;
    }
    .wrapHead {
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
        height: 100%;
    }
    .menuHead {
        position: fixed;
        height: 100vh;
        top: 0;
        left: 0;
        z-index: 100;
        width: 100vw;
        transform: translateY(100%);
        transition: .4s;
        align-items: flex-start;
        padding-top: 25px;
    }
    .menuHead.active {
        transform: translateY(0);
    }
    .HeadMenuAndButton {
        height: auto;
    }
    .HeadMenuAndButton .buttonSlabVid {
        display: none;
    }
    .HeadMenuAndButton .wrapMenu {
        width: 100%;
        flex-direction: column;
    }
    .HeadMenuAndButton ul,
    .wrapHiddenMenu {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .wrapHiddenMenu .titleLM {
        display: none;
    }
    .HeadMenuAndButton ul>li {
        margin-bottom: 10px;
    }
    .HeadMenuAndButton ul>li::after {
        display: none;
    }
    .HeadMenuAndButton ul>li a {
        font-size: 16px;
    }
    /* mobileMenu */
    .wrapMobileMine {
        display: block;
        height: 50px;
    }
    .MobileMine {
        display: grid;
        grid-template-columns: repeat(4, 25%);
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 1000;
        width: 100%;
        background: #b53131;
    }
    .wrapMobileMine .itemMobileMine {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }
    .wrapMobileMine .itemMobileMine::before {
        height: 70%;
        top: 15%;
        content: "";
        width: 1px;
        background: #fff;
        right: 0;
        position: absolute;
    }
    .wrapMobileMine .itemMobileMine:last-child::before {
        display: none;
    }
    .wrapMobileMine .itemMobileMine a {
        color: #fff;
        text-align: center;
        font-size: 24px;
        line-height: 1;
        position: relative;
        padding: 0 15px;
        text-decoration: none;
    }
    .wrapMobileMine .itemMobileMine a:hover {
        text-decoration: none;
    }
    .wrapMobileMine .itemMobileMine a .far {
        padding-top: 7px;
    }
    .wrapMobileMine .itemMobileMine a .title {
        font-size: 12px;
        margin-bottom: 8px;
        font-weight: normal;
    }
    /* mobileMenu */
    /* выезжающий блок "контакты" */
    .contactFixed {
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        width: 100vw;
        background: rgb(255, 240, 201);
        background: linear-gradient(180deg, rgba(255, 240, 201, 1) 0%, rgba(225, 187, 92, 1) 100%);
        z-index: 100;
        padding: 25px;
        transform: translateY(-100%);
        transition: 0.4s;
    }
    .contactFixed .phone {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 25px;
    }
    .contactFixed .phone a {
        font-size: 22px;
        color: #5a2b1c;
        text-decoration: none;
        line-height: 26px;
        transition: .2s;
    }
    .contactFixed .phone a:hover {
        color: #fc4444;
    }
    .contactFixed .phone a span {
        font-weight: 900;
    }
    .contactFixed .adress {
        color: #000;
        font-size: 15px;
        line-height: 17px;
        margin-bottom: 25px;
    }
    .contactFixed .adress span {
        font-weight: 900;
        font-size: 17px;
    }
    .contactFixed .mail {
        margin-bottom: 25px;
    }
    .contactFixed .mail a {
        color: #ad2f2f;
        font-size: 19px;
    }
    .contactFixed .mail a:hover {
        color: #fc4444;
    }
    .contactFixed .social a {
        margin-left: 5px;
    }
    .contactFixed .social a img {
        width: 40px;
        height: 40px;
    }
    /* конец выезжающий блок "контакты" */
    .contactFixed.active {
        transform: translateY(0);
    }
    .insidepage .wrapContent .leftColumn {
        display: none;
    }
    .footerContact,
    .footerMenu {
        display: none;
    }
    .footerMenuAndSocial .social a img {
        width: 40px;
        height: 40px;
    }
    .footer {
        align-items: center;
    }
    .copyright {
        height: auto;
        flex-direction: column;
        padding: 10px;
    }
    .wrapCopyright p {
        margin-bottom: 10px;
        text-align: center;
    }
    .wrapGallery {
        grid-template-columns: repeat(3, 1fr);
    }
    .itemBM .wrapTextAndButton {
        flex-direction: column-reverse;
    }
}

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

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

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

@media screen and (max-width:600px) {
    .news-item {
        flex-direction: column;
        align-items: center;
    }
    .news-item .wImg {
        width: auto;
        margin-bottom: 15px;
    }
    .news-item .text-news-item {
        width: 100%;
        padding-left: 0;
    }
    .news-item .data-news-item {
        justify-content: center;
    }
    .kruzh-list,
    .itemsBM {
        grid-template-columns: 100%;
        grid-gap: 10px;
    }
    .photogallery-list {
        grid-template-columns: 100%;
    }
    .wrapGallery {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 15px;
    }
    .wrapCaptchaAndButton {
        flex-direction: column;
        width: 100%;
    }
    .vote-form-captcha,
    .wrapCaptcha {
        flex-direction: column;
    }
    .vote-form-box-button {
        display: none;
    }
    .rightCaptcha,
    .leftCaptcha {
        margin: 0;
        margin-bottom: 20px;
    }
}

@media screen and (max-width:485px) {
    .footer {
        flex-direction: column;
        align-items: center;
    }
    .footer .logo {
        margin-bottom: 10px;
    }
    iframe {
        width: auto !important;
        height: auto !important;
    }
}

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

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

@media screen and (max-width:370px) {
    #eventsCalendarTooltip {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    #eventsCalendarTooltip .arrow {
        display: none;
    }
}