/*
Theme Name: www.verajohn.com
Theme URI: https://www.verajohn.com
Author: Vera&John
Author URI: https://www.verajohn.com
Description: Theme for https://www.verajohn.com
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:
Tags: 
*/


/* Defaul Size */
img {
    width: auto;
    height: auto;
}

/* PAYMENT PROVIDERS */
    /* TEXT */
    .safe-payments {
        margin-bottom: 8px;
        color: #fff;
    }
        .safe-payments p {
            margin-bottom: 0;
        }
        footer .footer-icons .safe-payments a {
            display: inline-block;
            min-height: unset;
            color: #ffea00;
            text-decoration: none;
            border-bottom: 0;
        }
        .safe-payments p,
        footer .footer-icons .safe-payments a {
            font-size: 12px;
            color: #fff;
        }

        /* SF */
        html[lang="ja"] .g-payment-provider .d-flex:nth-child(1){
            display: block;
        }
        .g-payment-provider txt__primary1.txt--size3 {
            margin-bottom: 8px;
        }
    /* ICONS */
    .static-payments-footer ul {
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        list-style: none;
        padding: 0;
        justify-content: center;
    }
    .footer-icons.maxsize-container .static-payments-footer ul {
        padding-bottom: 10px;
    }
            .static-payments-footer img,
            .g-payment-provider .static-payments-footer img {
                height: 20px;
                width: auto;
                max-height: unset;
                margin: 0;
            }
        /* SF */
        html[lang="en"] .g-payment-provider .payments-footer.static-payments-footer {
            margin-top: 10px;
        }
            .g-payment-provider .static-payments-footer .payments-footer-logo {
                object-position: -99999px 99999px;
                background-color: #84d6f8;
                filter: none;
                mask: var(--background-src);
                mask-size: cover;
                -webkit-mask: var(--background-src);
                -webkit-mask-size: cover;
            }
                .g-payment-provider .static-payments-footer .payments-footer-logo:hover {
                    object-position: 0 0;
                    background-image: var(--background-src);
                }

    /* NEW PAYMENT PROVIDERS */
    .footer-gaming-provider-logos {
        --max-tile-per-row: 10;
        --gap: 10px;

        margin-top: 10px;
        margin-bottom: 10px;
    }
        .footer-gaming-provider-logos ul {
            list-style-type: none;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            margin: 0 calc(var(--gap) * -1) calc(var(--gap) * -2) 0;
        }
        /* lobby pages */
        .g-game-providers .footer-gaming-provider-logos ul{
            margin: 0 0 0;
            padding: 8px 0 0;
        }
            .footer-gaming-provider-logos li {
                /* flex: 1 1 calc((100% / var(--max-tile-per-row)) - var(--gap));*/
                /* margin: 0 var(--gap) calc(var(--gap) * 2) 0; */
                margin: 0 var(--gap) calc(var(--gap) * 2);
                display: inline-block;
            }
                .footer-gaming-provider-logos img {
                    filter: invert(75%) sepia(34%) saturate(580%) hue-rotate(166deg) brightness(101%) contrast(94%);
                    display: block;
                    height: 20px;
                    width: auto;
                    margin: 0
                }

/* BANNERS */
html[lang="ja"] body.front #home-banner-slider {
    min-height: 230px;
}

.swiper-slide img {
    height: auto;
}

/* COOKIE DISCLAIMER */
body.front #page .content #cookie-disclaimer {
    position: absolute;
    width: 100%;
    z-index: 69;
}

/* FOOTER */
html body.sitemap,
html body.sitemap #page .sitemap {
    margin: 0;
    padding: 0;
}

html body.sitemap #page .site-content .sitemap {
    padding: 20px 10px;
}
html body.sitemap #page .site-content .sitemap hr {
    max-width: inherit;
}
html body.sitemap #page .site-content .sitemap h2 {
    color: #ffea00;
}

html[lang="ja"] body.sitemap #page .sitemap li .sitemap-grid {
    width: 100%;
}
html[lang="ja"] body.sitemap #page .sitemap li.sitemap-link {
    white-space: wrap;
}

html body .list-item-collapse h2.fixed-accordion-color,
html body .list-item-collapse h3.fixed-accordion-color,
html body .kyc-about--collapse-title h3.fixed-accordion-color,
html body .kyc-about--collapse-title h2.fixed-accordion-color {
    font-size: 15px; 
    color: #fff; 
    font-weight: 400;
    text-overflow: ellipsis;
    overflow: hidden;
}

html body h1.fixed-header-color {
    font-family: lucida grande; 
    color: #ffea00;
    font-weight: 300; 
    font-size: 22px; 
    line-height: 29px;
}

html body h2.fixed-header-color {
    font-family: lucida grande; 
    color: #ffea00;
    font-weight: 300; 
    font-size: 18px; 
    line-height: 23px;
}

html body .fixed-header-margin {
    margin-top: 10px;
}
html body .fixed-banner-margin {
    margin: 10px auto 20px auto;
}

html body a.fixed-anchor-color{
    color: #ffea00;
    text-decoration: none;
    border-bottom: 2px dotted #85ceef;
}

html body h2.fixed-tnc,
html body p.fixed-tnc {
    margin-top: 24px;
}
html body p.fixed-tnc a{
    color: #0076a9;
    border-bottom: 1px solid #0076a9;
}

html body .fixed-padding {
    padding-bottom: 0;
}

#seo-footer-links{
    color: #fff;
    border-radius: 8px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
#seo-footer-links .title {
    padding-bottom: 8px;
}
#seo-footer-links ul {
    margin-left: 1em;
    list-style: unset;
    padding: 0;
    margin-top: 0;
}
#seo-footer-links li {
    list-style: inherit;
    line-height: 1.4;
}
#seo-footer-links a {
    min-height: unset;
    font-size: 12px;
    color: #fff;
    border: 0;
}
footer #s-footer-icon-wrapper #seo-footer-links{
    padding: 16px;
}
body.lobby .txt--size3 {
    font-size: 12px;
}

/* Lobby Pages - Footer links */
footer#s-footer-icon-wrapper #seo-footer-links {
    padding: 16px;
}



/* Iframe with youtube - fix width in mobile */
html body .fixed-video-width {
    display: block;
    margin: auto;
}




/* JA - SITEMAP */
@media screen and (min-width: 768px) {
    html[lang="ja"] body.sitemap #page .sitemap-first-col {
        grid-area: first;
    }
    html[lang="ja"] body.sitemap #page .sitemap-second-col {
        grid-area: second;
    }

    html[lang="ja"] body.sitemap #page .sitemap > div {
        display: grid;
        grid-template-areas: 'first second';
        grid-gap: 10px;
    }
}

/* tiles - layoput shift hack */
#page .content .site-navigation.tiles {
    display: block!important;
}




/* Navigation */
html.mm-opened #navigation-header .show-menu {
    display: none !important;
}
#header-wrapper .nav-fixed {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 5;
}
#header-wrapper + .site-content {
    padding-top: 0;
}
#navigation-header {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
}
#navigation-header .container {
    position: relative;
    width: 100%;
    padding: 0;
}
#navigation-header .row {
    display: flex;
}
#navigation-header .main-menu-button {
    padding: 8px;
    width: 40px;
    margin: 0;
    width: 40px;
    height: 40px;
    box-sizing: border-box;

    background: var(--c-primary-300);
    border-radius: 6px;
}
#navigation-header button {
    min-height: inherit;
    height: 38px;
    font-size: 14px;
    line-height: 19.6px;
    padding: 0;
}
#navigation-header button a {
    color: inherit;
}
#navigation-header .left-buttons {
    display: flex;
    align-items: center;
}
#navigation-header + nav {
    background-color: var(--c-primary-300);
    overflow-x: auto;
}
#navigation-header + nav .container {
    padding: 0;
}
#navigation-header + nav .row {
    position: relative;
    z-index: 2;
    display: flex;
    min-width: 720px;
    margin: 0;
}
#navigation-header + nav .row > div {
    display: flex;
}
#navigation-header + nav .left-nav {
    justify-content: left;
}
#navigation-header + nav .right-nav {
    justify-content: right;
}
#navigation-header + nav a {
    position: relative;
    display: flex;
    grid-gap: 8px;
    word-break: keep-all;
}

#header-wrapper .details {
    display: flex;
    grid-gap: 8px;
    justify-content: right;
    flex-grow: 1;
    align-items: center;
}

.new-nav .nav-link{
    position: relative;
}
    .new-nav .nav-link.new::after{
            content: 'NEW';
            position: absolute;
            background: #F50093;
            color: #fff;
            display: flex;
            line-height: 1;
            font-size: .7em;
            right: 0;
            top: 2px;
            padding: 1px 2px;
            text-align: center;
            justify-content: center;
            align-items: center;
            font-family: Helvetica;
            border-radius: 1px;
    }
    html[lang="ja"] .new-nav .nav-link.new::after{
        content: 'æ–°';
    }



/* media queries */
@media only screen and (min-width: 280px) { 
    #header-wrapper {
        min-height: 104px;
    }
    #navigation-header .header-logo img {
        position: relative;
        width: 100%;
        max-width: 70px;
        top: 50%;
        transform: translate(0, -50%);
        padding: 0 5px;
    }
    #navigation-header button a {
        padding: 12px 5px;
    }
    #navigation-header + nav {
        height: 42px;
    }
    #navigation-header + nav a {
        padding: 10px 16px;
    }
    #navigation-header + nav .row {
        justify-content: center;
    }


    #navigation-header {
        height: 62px !important;
    }
    #navigation-header .row {
        margin-left: 12px;
        margin-right: 12px;
    }
    #navigation-header .header-logo img {
        width: 70px;
        top: -8px;
        left: 70px;
        position: absolute;
        max-width: none;
        transform: translate(0, 0);
        padding: 0;
    }

    #navigation-header + nav .container,
    #navigation-header + nav .row {
        padding: 0;
        margin: 0 auto;
    }
    .nav-link img {
        display: none;
    }
}

@media only screen and (min-width: 576px) {
    #navigation-header .row {
        margin-left: 16px;
        margin-right: 16px;
    }
    #navigation-header .row {
        justify-content: space-between;
    }
}

@media only screen and (min-width: 1440px) {
    #header-wrapper .nav-link img {
        display: block;
    }
}



@media screen and (min-width: 1024px) { 
    #header-wrapper {
        min-height: 116px;
    }
    #navigation-header {
        padding: 0 10px;
        height: 70px !important;
    }
    #navigation-header .header-logo img {
        width: 90px;
        top: -25px;
        left: 90px;
    }
    #navigation-header + nav {
        height: 46px;
    }
    #navigation-header + nav a {
        padding: 12px 16px;
    }
    #navigation-header + nav .row > div {
        flex-grow: 1;
    }



    html[lang="ja"] body.sitemap #page .sitemap > div {
        display: flex;
        flex-wrap: nowrap;
    }
    html[lang="ja"] body.sitemap #page .sitemap-first-col {
        display: flex;
    }
    html[lang="ja"] body.sitemap #page .sitemap-first-col > div {
        flex-basis: 50%;
        flex-grow: 1;
    }
    html[lang="ja"] body.sitemap #page .sitemap-first-col {
        flex-basis: 67%;
        flex-grow: 1;
    }
    html[lang="ja"] body.sitemap #page .sitemap-second-col {
        flex-basis: 33%;
        flex-grow: 1;
    }
}

/* required for Lighthouse Accesibility */
@media only screen and (max-width:490px){
    #seo-footer-links a {
        font-size: 1.2em;
        line-height: 1.5;
        padding: 5px 0;
    }
}

@media screen and (max-width: 768px) {
    html body .fixed-video-width {
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .gff-game-carousel__arrow--left{
        left: 0;
    }
    .gff-game-carousel__arrow--right{
        right: 0;
    }
}

@media only screen and (max-width: 1024px) {
    #navigation-header + nav .row > div {
        white-space: nowrap;
    }

    #navigation-header + nav .row {
        width: max-content;
    }

    #navigation-header + .new-nav > .container {
        width: auto;
    }
}

body footer .footer-social .follow-button.twitter {
    background: url(/built/stuff/DSGN-5267-X-footericon-24x24.svg) center center/24px 24px;
    background-repeat: no-repeat;
}

* {
    outline: none;
}
