@charset "UTF-8";
/*
Theme Name: thegreshamflyers.com
Theme URI: https://thegreshamflyers.com
Author: thegreshamflyers.com
Author URI: https://thegreshamflyers.com
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://thegreshamflyers.com
Text Domain: thegreshamflyers.com
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;
}


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: #0d0c2a;
    color: #ffffff;
}

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


/**/
.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;
}

.menu-wrapper {
    background-color: #0d0c2a;
    width: 100%;
    min-height: 45px;
    display: none;
    align-items: center;
    border-bottom: 1px solid #403f57;
}

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


/**/
.top__fi__head__appar {
    display: flex;
    position: relative;
    background-color: #1e1e5d;
    min-height: 80px;
    z-index: 9;
}


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

.top__h__fi__logo img {
    width: 100%;
}


@media (min-width: 480px) {

}

@media (min-width: 1200px) {
    .top__h__fi__logo {
        margin: 0 auto;
    }
}

/**/

.navbar {
    margin: 0 0 0 auto;
}

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

.mobi__fi__menu__appar.show  ~ .site .mobi__fi__appar__nav__toggle .icon-bar:nth-of-type(2) {
    transform: rotate(-45deg) translate(-2px, 7px);
}
.mobi__fi__menu__appar.show  ~ .site .mobi__fi__appar__nav__toggle .icon-bar:nth-of-type(4) {
    transform: rotate(45deg) translate(0, -5px);
}
.mobi__fi__menu__appar.show  ~ .site .mobi__fi__appar__nav__toggle .icon-bar:nth-of-type(3) {
    display: none;
}

@media (min-width: 1200px) {
    .mobi__fi__appar__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;
}

.mobi__fi__appar__nav__toggle .icon-bar {
    display: block;
    width: 37px;
    height: 2px;
    background-color: #ffffff;
    transition: all .3s;
    will-change: transform;
}

.mobi__fi__appar__nav__toggle .icon-bar + .icon-bar {
    margin-top: 8px;
}

.mobi__fi__menu__appar.show  ~ .site .mobi__fi__appar__nav__toggle .icon-bar:nth-of-type(2),
.mobi__fi__menu__appar.show  ~ .site .mobi__fi__appar__nav__toggle .icon-bar:nth-of-type(4) {
    width: 35px;
}

@media (min-width: 1200px) {

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

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

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

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

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

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

.mobi__fi__menu__appar__inner {
    background-color: #101030;
    width: 300px;
    margin: 0;
    padding-left: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
}

.mobi__fi__menu__appar__inner .sub-menu {
    background-color: #262643;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobi__fi__menu__appar__inner .sub-menu .menu-item {
    position: relative;
    display: flex;
    align-items: center;
}

.mobi__fi__menu__appar .navbar__list .sub-menu .menu-item a {
    color: #ffffff;
}

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


.mobi__fi__menu__appar .navbar {
    display: block;
    margin: 60px 0 0;
}

.mobi__fi__menu__appar .top__h__fi__logo {
    height: 90px;
}

.mobi__fi__menu__appar .top__h__fi__logo img {
    width: 220px;
    padding-left: 15px;
}


/**/
.header {
    height: 630px;
    background-image: url(image/banner-flyers.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
}

.header::after {
    content: "";
    background-image: linear-gradient(transparent 50%, #0d0c2a 80%);
    width: 100%;
    height: 100%;
    position: absolute;
}

.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) {

}

.header .container {
    display: flex;
    position: relative;
}

.button {
    background-color: #8be3ff;
    background-repeat: no-repeat;
    background-size: contain;
    color: #0d0c2a;
    text-decoration: none;
    width: 200px;
    height: 50px;
    font-size: 1rem;
    font-family: "MontserratMedium";
    border: none;
    cursor: pointer;
    text-align: center;
    transition: background .2s ease-out;
}


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

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


form {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}


/**/

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


.navbar__list .menu-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f9f9f9;
    text-decoration: none;
    height: 100%;
    width: 100%;
    font-size: 14px;
    font-family: "MontserratMedium";
    padding: 0 20px;
}
.navbar__list li:hover .sub-menu { display: block; }

.mobi__fi__menu__appar .navbar__list {
    justify-content: flex-start;
    height: 400px;
    margin-top: 60px;
}

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

.mobi__fi__menu__appar .navbar__list .menu-item.menu-item-has-children {
    height: auto;
    padding-top: 15px;
    margin-bottom: 15px;
}

.mobi__fi__menu__appar .navbar__list .menu-item.menu-item-has-children a {
    height: 50px;
}

.mobi__fi__menu__appar .navbar__list .menu-item a {
    font-size: inherit;
    align-items: center;
    justify-content: center;
}

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

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

.navbar__list .sub-menu > .menu-item a {
    line-height: 3;
    padding: 0;
    color: #a4a4a4;
}

.navbar__list .sub-menu > .menu-item a:hover,
.navbar__list .sub-menu > .menu-item.current-menu-item a {
    background-color: transparent;
    text-decoration: underline;
}

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

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

.top__fi__head__appar .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) {
    .menu-wrapper {
        display: flex;
    }

    .sub-menu {
        position: absolute;
        left: -25px;
        margin-top: 1px;
        padding: 5px 10px;
        display: none;
        z-index: 10;
        max-height: 230px;
        min-width: 135px;
        background-color: #262643;
        border-radius: 0 0 12px 12px;
        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);
        list-style: none;
    }

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

    .mobi__nav-toggle {
        display: none;
    }

    .navbar__list > .menu-item.current_page_parent > a,
    .navbar__list > .menu-item.current-menu-item > a {
        color: #8be3ff;
    }

    .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;
    }

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

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

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

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

    .navbar__list .sub-menu > .menu-item a {
        color: #ffffff;
    }

    .navbar__list .sub-menu > .menu-item a:hover,
    .navbar__list .sub-menu > .menu-item a.current-menu-item {
        background-color: transparent;
    }

    .navbar__list > .menu-item:not(:last-child) {
        margin-right: 40px;
    }
}


@media (min-width: 1200px) {

}


/**/
.main__appar {
    line-height: 1.4;
    flex: 1 0 0;
}

.main__appar a {
    color: #9d9da9;
}

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

.content-area {
    flex: 1 0 0;
    margin-top: 30px;
}

.content-area a {
    color: #9d9da9;
}

.content-image {
    float: left;
    margin: 0 20px 20px 0;
}

.content-image img:first-child {
    width: 100%;
    max-height: 280px;
    max-width: 400px;
    object-fit: cover;
}

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

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

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

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

/*
 * Игровые автоматы
 */
.ga__appar {
    display: flex;
    flex-direction: column;
}

h1 {
    font-size: 1.5rem;
    font-family: 'MontserratBold';
}

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

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

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

.entry-title,
.entry-content h2,
.entry-content .wp-block-image {
    text-align: center;
    color: #ffffff;
}

.ga__appar__list {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 20px;
}

.ga__appar__item {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: #3b3a52;
    overflow: hidden;
    margin: auto;
    transition: all .3s linear;
    will-change: transform;
}


.more__button {
    color: #51e1ff;
}

.main__appar__page h1  {
    margin: 25px 0 5px;
}


@media (min-width: 480px) {

}

.ga__appar__image {
    display: block;
    text-align: center;
    width: 100%;
    text-decoration: none;
    max-width: 315px;
    max-height: 225px;
}

.ga__appar__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ga__appar__placeholder {
    display: flex;
    text-align: left;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    color: #9d9da9;
    font-size: .9rem;
    font-family: "MontserratMedium";
    padding: 25px 15px;
    transition: all .3s linear;
    will-change: background-color;
}

a.ga__appar__placeholder__title {
    font-size: 1.2rem;
    color: #ffffff;
    text-decoration: none;
    font-family: "MontserratBold";
}

.ga__appar__placeholder__title:hover {
    color: #8be3ff;
}

.paginate__appar {
    text-align: center;
    margin: 0 auto 25px;
}

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

.main__appar .paginate__appar > a {
    color: #868695;
}

.paginate__appar a:hover {
    background-color: #f2f2f2;
}
.paginate__appar .current {
    border: 1px solid #ffffff;
    color: #ffffff;
    cursor: default;
}

.paginate__appar span {
    margin: 7.5px;
}

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

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

/* Статьи */
.article {
}

.article__list {
    list-style: none;
    padding-left: 0;
}

.article__item {
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 30px;
    padding-right: 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05),
    0 2px 4px rgba(0,0,0,0.05),
    0 4px 8px rgba(0,0,0,0.05),
    0 8px 16px rgba(0,0,0,0.05);
}

.article__image {
    display: block;
    text-align: center;
}

@media (min-width: 480px) {
    .article__image {
        float: left;
        position: relative;
        margin-right: 20px;
    }

    .article__image img {
        display: block;
    }
}

.article__placeholder {
    display: none;
    background-color: hsla(0, 0%, 0%, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

a.btn-banner {
    background-color: #51e1ff;
    color: #1e1e1e;
    font-size: 1rem;
}

.btn-banner:hover {
    background-color: transparent;
    border-color: #51e1ff;
    color: #51e1ff;
}

.article__image:hover .article__placeholder {
    display: block;
}

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

.article__title > a {
    color: #6e6e6e;
}

.article__title > a:hover {
    color: #50fec5;
}

.article__image img {
    width: 280px;
    height: 200px;
    object-fit: cover;
}


@media (min-width: 480px) {

}

/**/
.footer__appar {
    text-align: center;
    padding: 20px 0;
    background-color: #1e1e5d;
}

.footer__appar .container {
    display: flex;
    flex-direction: column;
}

.footer__appar-nav {
    margin-bottom: 35px;
}


.icon {
    height: 50px;
    width: 485px;
    background-size: contain;
    background-repeat: no-repeat;
}


/**/

.footer__appar__text {
    color: #8c8cab;
    font-size: 13px;
    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: #676969;
    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;
}

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

.mobi__fi__menu__appar .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__fi__head__appar .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__fi__head__appar .navbar {
        display: none;
    }

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

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

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

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

    .ga__appar__header a {
        display: none;
    }

    .fi__art__list {
        flex-direction: column;
    }

    .fi__art__item:not(:last-child) {
        margin-bottom: 15px;
    }
}

@media (max-width: 992px) {
    .header {
        height: 300px;
    }

    .ga__appar__item {
        flex-direction: column;
    }

    .g__placeholder__title {
        font-size: 1.1rem;
    }

    .ga__appar__image {
        max-width: 100%;
    }

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

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

    .top__fi__head__appar + .container {
        padding: 0;
    }

    .menu-wrapper + .container {
        padding: 0;
    }

    .content-image {
        width: 100%;
        margin: auto;
    }

    .content-area  {
        margin-top: 0;
    }

    .content-area > .container:first-child {
        display: flex;
        padding: 0;
    }
    .content-image img:first-child {
        margin: 0 auto;
        display: block;
        width: 100%;
        height: 100%;
    }

    a.ga__appar__placeholder__title {
        font-size: 1rem;
        font-family: 'MontserratBold';
    }
}

@media (max-width: 599px) {


    .top__fi__head__appar {
        height: 55px;
    }

    .top__h__fi__logo img {
        max-width: 200px;
    }

    .ga__appar__item {
        flex-direction: column;
    }

    .ga__appar__image {
        max-width: 100%;
    }

}

@media (max-width: 479px) {

    .mobi__fi__menu__appar__inner {
        width: 100%;
    }

    .mobi__fi__menu__appar .navbar__list {
        max-width: 100%;
    }

    .top__fi__head__appar .top__h__fi__logo {
        width: 220px;
    }

    .fi__art__item {
        flex-direction: column;
        height: auto;
    }

    .fi__art__image img {
        width: 100%;
    }

    .fi__art__image {
        max-width: 100%;
    }

    .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;
    }

}

