@charset "UTF-8";
/*
Theme Name: dawnoftears.org
Theme URI: https://dawnoftears.org
Author: dawnoftears.org
Author URI: https://dawnoftears.org
Description: Description
Requires at least: 0.1
Requires PHP: 5.2.4
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://dawnoftears.org
Text Domain: dawnoftears.org
Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready

--------------------------------------------------------------*/
@font-face {
    font-family: "MontserratRegular";
    src: url("./fonts/Montserrat-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "MontserratBold";
    src: url("./fonts/Montserrat-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "MontserratMedium";
    src: url("./fonts/Montserrat-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "Montserrat-ThinItalic";
    src: url("./fonts/Montserrat-ThinItalic.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

*, *:after, *:before {
    box-sizing: border-box;
}

html, body, .site {
    height: 100%;
}


body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background-color: #f1f1f1;
    color: #3b3b3b;
}


/**/
.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}

@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

.container-relative {
    position: relative;
}

.navbar,
.navbar > div,
.navbar__list,
.navbar__list > .menu-item {
    height: 100%;
}


/**/
.top__he_dawn {
    display: flex;
    flex: 0 0 0;
    position: relative;
    background-color: #54c154;
    min-height: 70px;
    z-index: 9;
    box-shadow: 0 1px 2px rgba(0,0,0,0.07),
    0 2px 4px rgba(0,0,0,0.07),
    0 4px 8px rgba(0,0,0,0.07),
    0 8px 16px rgba(0,0,0,0.07);
}


.top__he_dawn__logo {
    height: 100%;
    display: flex;
    align-items: center;
    margin: 0 auto 0 0;
}

.top__he_dawn__logo img {
    width: 100%;
}

.top__he_dawn__logo a {
    text-decoration: none;
    text-transform: uppercase;
    color: #363636;
}


@media (min-width: 480px) {

}

@media (min-width: 1200px) {

}

/**/

.navbar {
    margin: 0 0 0 auto;
}

.mob_dawn__nav__toggle {
    width: 45px;
    height: 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    cursor: pointer;
    border-radius: 12px;
    position: absolute;
    right: 15px;
}

.mob__m__dawn.show  ~ .site .mob_dawn__nav__toggle .icon-bar:nth-of-type(2) {
    transform: rotate(-45deg) translateY(9px);
}
.mob__m__dawn.show  ~ .site .mob_dawn__nav__toggle .icon-bar:nth-of-type(4) {
    transform: rotate(45deg) translate(1px, -8px);
}
.mob__m__dawn.show  ~ .site .mob_dawn__nav__toggle .icon-bar:nth-of-type(3) {
    display: none;
}

@media (min-width: 1200px) {
    .mob_dawn__nav__toggle {
        display: none;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.mob_dawn__nav__toggle .icon-bar {
    display: block;
    width: 42px;
    height: 2px;
    border-radius: 6px;
    background-color: #ffffff;
    transition: all .3s;
    will-change: transform;
}

.mob_dawn__nav__toggle .icon-bar + .icon-bar {
    margin-top: 9px;
}

@media (min-width: 1200px) {

    .mob_dawn__nav__toggle.active .icon-bar {
        height: 5px;
    }

    .mob_dawn__nav__toggle.active .icon-bar:nth-of-type(2) {
        transform: rotate(-45deg) translate(-3px, 4px);
    }

    .mob_dawn__nav__toggle.active .icon-bar:nth-of-type(3) {
        transform: rotate(45deg) translate(-4px, -5px);
    }

    .mob_dawn__nav__toggle.active .icon-bar:last-child {
        display: none;
    }
}

.mob__m__dawn {
    display: none;
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
}

.mob__m__dawn__backdrop {
    width: 100vw;
    height: 100vh;
}

.mob__m__dawn__inner {
    background-color: #3b3b3b;
    width: 190px;
    margin: 0;
    padding-left: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
}


@media (min-width: 1200px) {
    .mob__m__dawn {
        display: none;
    }
}


.mob__m__dawn .navbar {
    display: block;
    margin: 140px 0 0;
}


/**/

.wrap__menu {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-left: 30px;
}


img[align="left"] {
    margin-right: 25px;
}

img[align="right"] {
    margin-left: 25px;
}

@media (min-width: 992px) {

}


.button__dawn {
    align-items: center;
    justify-content: center;
    background-color: #54c154;
    color: #ffffff;
    text-decoration: none;
    width: 200px;
    height: 50px;
    font-size: 1rem;
    font-family: "MontserratMedium";
    border: none;
    cursor: pointer;
    text-align: center;
    border-radius: 12px;
    position: absolute;
    transition: background .2s ease-out;
}


.button__dawn:hover {
    filter: brightness(110%);
}

.button__dawn:active {
    filter: brightness(110%);
}


form {
    display: flex;
    justify-content: center;
    margin: 45px 0;
}


/**/

.navbar__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
.navbar__list li:hover .sub-menu { display: block; }


.navbar__list .menu-item a {
    display: flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    height: 100%;
    width: 100%;
    font-size: 14px;
    font-family: "MontserratMedium";
}

.mob__m__dawn .navbar__list {
    justify-content: flex-start;
    height: 350px;
}

.mob__m__dawn .navbar__list .menu-item {
    height: 45px;
    width: 100%;
    padding: 0;
}

.mob__m__dawn .navbar__list .menu-item.menu-item-has-children {
    height: auto;
}

.mob__m__dawn .navbar__list .menu-item a {
    color: #ffffff;
    font-size: inherit;
    align-items: center;
    justify-content: center;
}

.mob__m__dawn .navbar__list .menu-item.menu-item-has-children > a {
    height: 45px;
}

.mob__m__dawn .navbar__list .menu-item.current-menu-item a {
    color: #54c154;
}

.mob__m__dawn .sub-menu {
    padding: 5px 0;
    font-size: .9rem;
    background-color: #4f4f4f;
}

.mob__m__dawn .navbar__list .menu-item .sub-menu .menu-item {
    height: 40px;
}

.mob__m__dawn .navbar__list .menu-item .sub-menu .menu-item a {
    color: #c7c7c7;
}

.mob__m__dawn .navbar__list .menu-item .sub-menu .menu-item.current-menu-item a {
    color: #54c154;
}

/**/
.submenu-expand {
    display: none;
    fill: #ffffff;
    position: relative;
    background-color: transparent;
    border: 0;
    top: 4px;
}

.submenu-expand svg {
    height: 22px;
    width: 22px;
}

.sub-menu {
    padding: 0 10px;
    list-style: none;
}

.navbar__list .sub-menu > .menu-item a {
    display: flex;
    background-image: none;
    line-height: 19px;
    background-color: transparent;
    text-decoration: none;
    color: #3b3b3b;
}

.navbar__list .sub-menu > .menu-item a:hover,
.navbar__list .sub-menu > .menu-item.current-menu-item a {
    color: #54c154;
}

.mobile-parent-nav-menu-item {
    display: none;
}

.navbar__list .menu-item.menu-item-has-children {
    position: relative;
}

.navbar__list > .menu-item.current-menu-item > a {
    text-decoration: none;
    justify-content: center;
}

.top__he_dawn .navbar__list > .menu-item.current-menu-item a {
    border-radius: 12px;
}

.navbar__list > .menu-item:not(.current-menu-item) a:hover {
    text-decoration: underline;
    text-underline-position: under;
}


@media (min-width: 1200px) {

    .mob__navbar-toggle {
        display: none;
    }

    .navbar > div {
        width: 100%;
    }

    /**/
    .submenu-expand {
        position: absolute;
        right: 0;
        fill: #c22524;
        background-color: transparent;
        border: 0;
        transform: rotate(-90deg);
        height: 40px;
        outline: none;
        pointer-events: none;
    }

    .navbar__list > .menu-item > a {
        padding: 0 15px;
    }

    .navbar__list > .menu-item:first-child > a {
        padding-left: 0;
    }

    .navbar__list > .menu-item.current-menu-item > a {
        text-decoration: underline;
        text-underline-position: under;
    }



    .menu-item:hover .submenu-expand,
    .current-menu-item .submenu-expand {
        fill: #ffffff;
    }

    .submenu-expand svg {
        height: 33px;
        width: 33px;
    }

    .sub-menu {
        position: absolute;
        left: -30px;
        padding: 10px;
        display: none;
        max-height: 260px;
        list-style: none;
        z-index: 2;
        width: 130px;
        border-radius: 12px;
        background-color: #ffffff;
        box-shadow: 0 1px 2px rgba(0,0,0,0.07),
        0 2px 4px rgba(0,0,0,0.07),
        0 4px 8px rgba(0,0,0,0.07),
        0 8px 16px rgba(0,0,0,0.07);
    }

    .sub-menu:before {
        content: "";
        width: 0;
        height: 0;
        border-width: 0 12px 15px 12px;
        border-color: transparent transparent #ffffff transparent;
        border-style: solid;
        position: absolute;
        top: -15px;
        left: 0;
        right: 0;
        margin: auto;
    }

    .menu-item-object-page:hover .sub-menu {
        display: block;
    }

    .navbar__list .sub-menu .menu-item {
        padding: 0;
        height: 35px;
    }

    .navbar__list .sub-menu > .menu-item a:hover,
    .navbar__list .sub-menu > .menu-item a.current-menu-item {
        color: #54c154;
        text-decoration: none;
    }
}


@media (min-width: 1200px) {

}


/**/
.main__dawn {
    display: flex;
    flex-direction: column;
    flex: 1 0 0;
    line-height: 1.4;
}

.category__wrapper {
    background-color: #ffffff;
    padding: 20px 0 60px;
}

.main__dawn__page h1,
h2 {
    text-align: center;
    position: relative;
    color: #544e4e;
}

.main__dawn__page h1::before,
.category__wrapper h2::before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #54c154;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.main__dawn__page h1 span,
h2 span {
    position: relative;
    background-color: #f1f1f1;
    padding: 0 12px;
}

h2 span {
    background-color: #ffffff;
}

.cat__wrap ul {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 55px;
    padding: 0;
    margin: 0;
    list-style: none;
}

@media (min-width: 992px) {
    .cat__wrap ul {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cat__wrap .cat-item {
    background-color: #f1f1f1;
    border-radius: 10px;
    border: 1px solid transparent;
    box-shadow: 0 6px 14px #cfd7cf;
}

.cat__wrap .cat-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.5rem;
    position: relative;
    color: #544e4e;
    font-family: "MontserratBold";
    text-decoration: none;
    padding-bottom: 15px;
}

.cat__wrap .cat-item:hover {
    border-color: #54c154;
}

.cat__wrap .cat-item:hover a {
    color: #54c154;
}

.cat__wrap .cat-item a::before {
    content: "";
    width: 100%;
    height: 255px;
    background-size: cover;
    display: block;
    margin-bottom: 15px;
    border-radius: 10px 10px 0 0;
}

.cat__wrap .cat-item:nth-of-type(1) a::before {
    background-image: url("./image/categories/cat-1.png");
}

.cat__wrap .cat-item:nth-of-type(2) a::before {
    background-image: url("./image/categories/cat-2.png");
}

.cat__wrap .cat-item:nth-of-type(3) a::before {
    background-image: url("./image/categories/cat-3.png");
}

.content-area {
    display: flex;
    flex-direction: column;
    flex: 1 0 0;
}

.content-area h1 {
    text-align: left;
}

.inner__image-wrap {
    float: left;
    margin: 0 20px 20px 0;
    max-width: 390px;
    max-height: 245px;
    width: 100%;
    height: 100%;
}

.inner__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main__dawn a {
    color: #196bc9;
}

.main__dawn img {
    max-width: 100%;
    height: auto;
}

.content-area a {
    color: #196bc9;
}

.text-wrap {
    max-width: 400px;
}

.site {
    display: flex;
    flex-direction: column;
}

.entry-content ul {
    list-style: none;
    padding: 0;
}

.entry-content ul li::before {
    content: "•";
    color: #c4e538;
    margin-right: 15px;
}

.entry-content p:last-child {
    margin-bottom: 0;
}

header .container {
    height: 100%;
    align-items: center;
    justify-content: center;
}

.breadcrumbs {
    display: flex;
    color: #9f9c9c;
    margin: 15px 0;
}

.breadcrumbs span {
    margin: 0 4px;
}

.breadcrumbs span:first-child {
    margin-left: 0;
}

.breadcrumbs span.active {
    color: #292828;
}

/*
 * Игровые автоматы
 */
.ga_dawn_games {
    margin-bottom: 35px;
}

h1 {
    font-size: 1.5rem;
    color: #54c154;
}

.ga_dawn_games__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
    width: 100%;
}

.ga_dawn_games__header a {
    color: #3a69af;
    text-decoration: none;
}

.ga_dawn_games__header a:hover {
    color: #3a69af;
    text-decoration: underline;
}

.entry-title,
.entry-content h2,
.entry-content .wp-block-image {
    color: #54c154;
}

.ga_dawn_games__list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 25px;
    margin: 0;
    padding: 0;
}

@media (min-width: 992px) {

}

.ga_dawn_games__item {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 225px;
    height: 100%;
    border-radius: 10px;
    margin: auto;
    position: relative;
    border: 1px solid transparent;
    background-color: #ffffff;
    transition: all .3s linear;
    will-change: transform;
}

@media (min-width: 480px) {

}

.ga_dawn_games__image {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 330px;
    text-decoration: none;
    min-height: 150px;
    position: relative;
}

.ga_dawn_games__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 0 0 8px;
}

.ga_dawn_games__image:empty {
    display: none;
}

.ga_dawn_games__placeholder {
    width: 100%;
    padding: 15px 25px;
    color: #544e4e;
}

a.ga_dawn_placeholder__title {
    font-size: 1.2rem;
    text-decoration: none;
    color: #544e4e;
    font-family: "MontserratBold";
}

.ga_dawn_games__item:hover  {
    border-color: #54c154;
}

a.ga_dawn_placeholder__title:hover  {
    color: #54c154;
}

.paginate-dawn {
    text-align: center;
    margin: 25px auto;
}

.paginate-dawn * {
    margin: 7.5px;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #3b3b3b;
    transition: all .3s linear;
}

.paginate-dawn a {
    color: #3b3b3b;
}

.paginate-dawn a:hover {
    background-color: hsla(26, 11%, 25%,  .1);
}
.paginate-dawn .current {
    color: #ffffff;
    background-color: #54c154;
    cursor: default;
}

.paginate-dawn span {
    margin: 7.5px;
}

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

.nav-links a {
    color: #4ca342;
}

@media (min-width: 480px) {

}

/**/
.footer_dawn {
    flex: 0 0 0;
    text-align: center;
    padding: 20px 0;
    background-color: #3b3b3b;
}


.footer_dawn-nav {
    margin-bottom: 10px;
}

.footer_dawn__logo {
    width: 275px;
    margin: 0 auto;
}

/**/

.footer_dawn__text {
    color: #9d9d9d;
    font-size: 13px;
    margin-top: 5px;
    text-align: center;
}


/**/

.footer-menu {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.footer-menu .menu-item {
    padding: 10px 10px 10px 20px;
    display: block;
}


@media (min-width: 768px) {

    .footer-menu .menu-item {
        display: inline-block;
        width: auto;
    }
}

.footer-menu .menu-item a {
    color: #afafaf;
    text-decoration: none;
    text-underline-position: under;
}

.footer-menu .menu-item a,
.footer-menu .menu-item.current-menu-item a {
    color: #676969;
}

.footer-menu .menu-item a:hover,
.footer-menu .menu-item.current-menu-item a{
    text-decoration: underline;
    color: #303030;
}

.mob__m__dawn .footer-menu {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 15px;
}

.mob__m__dawn .footer-menu .menu-item.current-menu-item a{
    color: #c4e538;
    text-decoration: none;
}


/**/
.show {
    display: block;
}

@media (min-width: 1200px) {
    .show {
        display: none;
    }
}


.simplebar-track.simplebar-vertical {
    width: 10px;
    background-color: #0a3545;
    border-radius: 5px;
    opacity: 70%;
}

article .entry-footer {
    display: none;
}

@media (min-width: 320px) {

    .top__he_dawn .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
}

@media (min-width: 768px) {
}
@media (min-width: 992px) {

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

}

@media (max-width: 1199px) {

    .navbar__list {
        flex-wrap: wrap;
    }

    .top__he_dawn .navbar {
        display: none;
    }

    .navbar__list > .menu-item.current-menu-item {
        background-color: transparent;
    }

    .navbar__list > .menu-item a {
        flex-direction: column;
    }

    .navbar__list .menu-item {
        padding: 10px 15px;
    }

    .navbar__list .menu-item {
        height: 85px;
    }

    .ga_dawn_games__header h1 {
        margin: 0 auto;
    }
    .ga_dawn_games__header a {
        display: none;
    }
}

@media (max-width: 992px) {
    .navbar__list {
        justify-content: flex-start;
        max-width: 480px;
        margin: 0 auto;
    }


    .navbar__list {
        max-width: 320px;
        justify-content: center;
    }

    .ga_dawn_games__list {
        grid-gap: 10px;
    }


    a.ga_dawn_placeholder__title {
        font-size: 1rem;
    }

    .ga_dawn_games__image {
        max-width: 216px;
        height: 155px;
        min-height: 155px;
    }

    .ga_dawn_games__placeholder {
        padding: 15px;
    }

    .content-area > img {
        max-width: 100%;
    }
}
@media (max-width: 767px) {
    .top__he_dawn .container {
        width: 100%;
    }

    .inner__image-wrap {
        max-width: 100%;
    }

    .top__he_dawn__logo img {
        width: 170px;
    }

    .footer-menu {
        flex-direction: column;
    }

    .footer-menu .menu-item {
        margin-bottom: 15px;
    }
}

@media (max-width: 599px) {
    .navbar__list {
        max-width: 320px;
    }

    a.ga_dawn_placeholder__title {
        font-size: .9rem;
        display: block;
    }

    .ga_dawn_games__placeholder {
        padding: 7px;
    }

    .ga_dawn_games__placeholder p {
        display: none;
    }
}

@media (max-width: 479px) {
    .top__he_dawn {
        min-height: 70px;
    }

    .main__dawn__page h1 {
        font-size: 1.5rem;
    }

    .ga_dawn_games__image {
        max-width: 165px;
        height: 120px;
        min-height: 120px;
    }

    .footer_dawn__logo {
        width: 235px;
        margin: 0 auto;
    }

    .footer_dawn__logo img {
        width: 100%;
    }

    .ga_dawn_games__list {
        padding: 0;
    }


    .footer-nav .container {
        padding: 0;
    }

    .footer-menu .menu-item {
        padding: 5px 10px;
    }

    .footer-menu .menu-item a,
    .footer-menu .menu-item.current-menu-item a {
        font-size: 13px;
    }

}

@media (max-width: 375px) {
    .navbar__list .menu-item {
        width: 145px;
    }

    a.ga_dawn_placeholder__title {
        font-size: .8rem;
    }

    .ga_dawn_games__image {
        max-width: 120px;
        height: 100px;
        min-height: 100px;
    }

}

