/*
Theme Name: zulu
Version: 1.1
*/

@import url('https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400;0,500;1,500&display=swap');
* {
    font-family: 'Alegreya', serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    margin-block-start: 0;
    margin-block-end: 0;
}
/*нужно, так как p иногда берется из админки - класс не добавить*/
p {
    font-size: 14px;
    margin-bottom: 16px;
    color: #010101;
}

p:last-of-type {
    margin-bottom: 0;
}

/*font*/

.g-title {
    font-size: 24px;
}

.g-desc {
    font-size: 18px;
}

.g-post-title {
    font-size: 22px;
}

.g-subtitle {
    font-size: 16px;
}

.g-text {
    font-size: 14px;
}

.g-center-text {
    text-align: center;
}

.g-bold {
    font-weight: 600;
}

.g-italic {
    font-style: italic;
}

.g-uppercase {
    text-transform: uppercase;
}

.g-decor-none {
    text-decoration: none;
}

.g-link--non-decor {
    display: block;
    text-decoration: none;
}

.g-decor {
    text-decoration: underline;
}

.g-display-mobile {
    display: none;
}

/*color*/

.g-color-main-text {
    color: #010101;
}

.g-color-main {
    color: #ffef5a;
}

.g-color-second {
    color: #ffffff;
}

.g-color-subtitle {
    color: #9e8575;
}

.g-color-subtitle-second {
    color: #7c4c00;
}

/*display*/

.g-row {
    display: flex;
}

.g-block {
    display: block;
}

.g-center-block {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/*margin*/

.mt-20 {
    margin-top: 20px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-12 {
    margin-top: 12px;
}

.mt-8 {
    margin-top: 8px;
}

.mt-4 {
    margin-top: 4px;
}

.mb-0 {
    margin-bottom: 0;
}

.g-logout {
    width: 30px;
    height: 30px;
    background-image: url(./image/exit-icon.svg);
    margin-left: 10px;
}

.g-scroll-top {
    position: fixed;
    right: 50px;
    bottom: 50px;
    width: 50px;
    height: 50px;
    display: none;
    cursor: pointer;
}

.anr_captcha_field {
    margin-bottom: 20px;
}

.anr_captcha_field .anr_captcha_field_div div:nth-child(1) {
    margin: auto;
}

@media (max-width: 1023px) {
    .g-display-mobile {
        display: block;
    }
    .g-media-wrap {
        flex-wrap: wrap;
    }
    .g-zulu__desktop {
        display: none;
    }
    .g-title {
        font-size: 20px;
    }
    .g-post-title {
        font-size: 18px;
    }
    .g-desc {
        font-size: 16px;
    }
    
    .g-subtitle {
        font-size: 18px;
    }
    
    .g-text {
        font-size: 14px;
    }
    p {
        font-size: 14px;
        margin-bottom: 10px;
        color: #010101;
    }
    .g-scroll-top {
        right: 10px;
        z-index: 20;
    }
}