:root {
    --bg-gradient-first: rgba(1, 11, 50, 1);
    --bg-gradient-second: rgba(1, 13, 50, 0);
}

/* .site-local_casinobernie_com,
.ite-local_casinobernie_com,
.site-staging-casinobernie_trafficlab_dev {
    --bg-gradient-first: rgba(1,13,50,0);
    --bg-gradient-second: rgb(1,11,50,1);
} */

.lp-casinotheme-usa {
    --bg-gradient-first: rgb(146 195 191);
    --bg-gradient-second: rgb(146 195 191 / 0%);
}

body.block-editor-page,
html.wp-toolbar {
    color: #444;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 13px;
    line-height: 1.4em;
}

html.wp-toolbar {
    padding-top: initial;
}

.editor-styles-wrapper {
    font-family: 'Source Sans Pro', 'Arial', sans-serif !important;
}

.htmlwrap,
.site {
    margin-top: 0 !important;
}

.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before {
    border: 2px solid #b59b3e !important;
}

.block-editor-block-list__layout .block-editor-block-list__block.is-selected {
    max-height: max-content !important;
    line-height: 1.3;
}

/* .block-editor-block-list__layout .block-editor-block-list__block.is-selected:before {
    border: 2px solid #b59b3e !important;
} */

.block-editor-block-list__layout .wp-block {
    width: 100%;
    max-width: 1200px;
    margin: 28px auto;
}

.wp-block-cover {
    background-color: #010a32;
    height: auto;
}

.landing__page-wrapper--ct .wp-block-cover {
    background-color: var(--color-lpbg);
    height: auto;
}

.ct-leadgen-bg {
    background-color: var(--color-lpbg);
}

.editor-styles-wrapper .leadgen-el-p {
    font-size: 1rem;
}

@media (min-width: 992px) {
    .editor-styles-wrapper .leadgen-el-p {
        font-size: 24px;
    }
}

.is-style-landing-cover {
    position: relative;
    background-repeat: no-repeat;
    background-position: top center;
    min-height: 100vh;
    align-items: start;
    background-size: 100% auto;
    background-size: cover;
}

.is-style-landing-cover .is-style-landing-logo {
    margin-top: 50px;
}

.is-style-landing-cover:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: inherit;
    opacity: .5;
    z-index: 1;
}

#editor .is-style-landing-cover:before {
    display: none;
}

.is-style-landing-cover .wp-block-cover__inner-container {
    display: grid;
    grid-template-columns: 1fr;
}

.wp-block-cover .wp-block-cover__inner-container {
    align-self: center;
    align-content: center;
    display: grid;
}

.is-style-landing-cover .wp-block-cover__inner-container p {
    font-family: var(--main-font);
    font-weight: bold;
}

.editor-styles-wrapper .is-style-landing-logo img,
.editor-styles-wrapper .is-style-logo-shadow-dark img,
.editor-styles-wrapper .is-style-logo-shadow-light img,
.editor-styles-wrapper .is-style-logo-shadow-inherit img {
    object-fit: contain;
}

.is-style-landing-logo-image,
.is-style-logo-shadow-dark,
.is-style-logo-shadow-light,
.is-style-logo-shadow-inherit {
    text-align: center;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-gap: 10px;
    /* max-width: fit-content; */
    margin: auto;
    align-items: center;
}

.is-style-landing-logo img,
.is-style-logo-shadow-dark img,
.is-style-logo-shadow-light img,
.is-style-logo-shadow-inherit img {
    object-fit: contain;
}

.is-style-landing-logo-image figcaption,
.is-style-logo-shadow-dark figcaption,
.is-style-logo-shadow-light figcaption,
.is-style-logo-shadow-inherit figcaption {
    font-family: var(--main-font);
    font-weight: bold;
    font-size: 1.7rem;
    margin: 0 auto;
}

.editor-styles-wrapper .is-style-logo-shadow-dark img,
.is-style-logo-shadow-dark img {
    filter: drop-shadow(3px 3px 8px #000);
}

.editor-styles-wrapper .is-style-logo-shadow-light img,
.is-style-logo-shadow-light img {
    filter: drop-shadow(3px 3px 3px #fff);
}

.currency-box {
    display: block;
    margin: 2rem auto;
    text-align: center;
    font-size: 1.8em;
    line-height: 1.2;
    font-family: var(--main-font);
    font-weight: bold;
}

.currency-bonus {
    color: red;
    text-shadow: 0px 2px 13px rgba(0, 0, 0, .5);
}

.currency-box h4,
.currency-box p {
    margin: 0;
}

.is-style-button-landing-pulse,
.is-style-button-landing-simple {
    position: relative;
    display: block;
    margin: 50px auto;
    max-width: 430px;
    max-width: max-content
}

.is-style-button-landing-simple .wp-block-button__link {
    margin: 20px 0;
    padding: 20px 40px;
    display: inline-block;
    border-radius: 50px;
    text-transform: uppercase;
    cursor: pointer;
    transition: .4s;
    border: none;
    position: relative;
    outline: none;
    text-align: center;
    text-decoration: none;
    overflow-wrap: break-word;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, .35) inset, 0px 2px 150px rgba(0, 0, 0, .75);
    font-weight: 700;
    text-shadow: 0px 1px 5px rgba(0, 0, 0, .5);
    font-size: 1.8em;
    mix-blend-mode: hard-light;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, .35) inset, 0px 2px 150px rgba(0, 0, 0, .75);
    font-size: 20px;
}

.is-style-button-landing-pulse .wp-block-button__link,
.is-style-button-landing-pulse {
    margin: 20px auto;
    padding: 20px 40px;
    display: block;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 0px 1px 5px rgba(0, 0, 0, .5);
    font-size: 20px;
    cursor: pointer;
    transition: .4s;
    border: none;
    position: relative;
    outline: none;
    text-align: center;
    text-decoration: none;
    overflow-wrap: break-word;
    mix-blend-mode: hard-light;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, .35) inset, 0px 2px 150px rgba(0, 0, 0, .75);
}

.is-style-button-landing-pulse .wp-block-button__link:before,
.is-style-button-landing-pulse:before {
    content: '';
    width: 100%;
    height: 100%;
    background: #97ebc6;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -2;
    transform: scale(1.2);
    border-radius: 50px;
    animation: peternivue 1.5s linear infinite;
}

#editor .is-style-button-landing-pulse .wp-block-button__link:before,
#editor .is-style-button-landing-pulse:before {
    display: none;
}

.is-style-button-landing-pulse .wp-block-button__link:after,
.is-style-button-landing-pulse:after {
    position: absolute;
    content: "";
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
    z-index: -1;
    border-radius: 50px;
    /* gradient shadow */
    /* background: linear-gradient(to bottom, transparent 0, rgba(32, 32, 33, 0.87) 100%,rgba(222, 222, 222, 0.16) 100%); */
}


.is-style-button-terms a {
    background: rgba(61, 101, 136, 0.5);
    padding: 10px 20px;
    border-radius: 40px;
    text-decoration: none;
    color: #ffffff;
    font-weight: normal;
    transition: .3s;
    animation: tc 4s forwards;
    font-family: var(--main-font);
    font-size: 0.8rem;
}

.is-style-button-terms a:hover {
    color: #597b9b;
}

.is-style-bellow-fold {
    /* background: #020b32; */
    background: var(--bellow-fold-bg);
}

.is-style-bellow-fold {
    background: #020b32;
    position: relative;
    margin: 0;
    display: grid;
}

.is-style-bellow-fold:before {
    /* background: linear-gradient(transparent, #020b32); */
    /* background: linear-gradient(transparent, var(--bellow-fold-bg)); */
    background: linear-gradient(transparent, CurrentColor);
    background: linear-gradient(transparent, #000);
    margin-top: -100px;
    content: "";
    height: 100px;
    width: 100%;
    z-index: 1;
}


#editor .is-style-bellow-fold:before {
    display: none;
}

.is-style-video-bg-section {
    height: auto;
    min-height: 750px;
    width: 100%;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    text-align: center;
    margin-top: 20px;
}

.is-style-video-background {
    height: auto;
    min-height: 750px;
    max-width: 1200px;
    width: 100%;
    overflow: hidden;
    margin: 0;
    position: relative;
}

.is-style-video-bg-section:before {
    content: "";
    background-color: inherit;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: auto;
    min-height: 750px;
    width: 100%;
    margin: auto;
    z-index: 2;
    opacity: 0.8;
}

/* 
figure.wp-block-video.is-style-video-background:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    margin: auto;
    background-color: inherit;
    z-index: 2;
} */

.is-style-video-background video {
    width: 100%;
    height: 100%;
    /* width: 177.77777778vh;
    min-width: 100%; */
    max-width: 1200px;
    /* min-height: 56.25vw; */
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 1;
}

.wp-block-video.is-style-video-background video {
    max-width: 1200px;
    height: 100%;
    object-fit: cover;
}

.wp-block-cover.is-style-video-background.has-background-dim:before,
.landing__page-wrapper .is-style-video-background:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    min-height: 430px;
    width: 15%;
    opacity: 1;
    display: block;
    background: linear-gradient(-90deg, var(--bg-gradient-second) 0%, var(--bg-gradient-first) 100%);
    z-index: 3;
}

.wp-block-cover.is-style-video-background.has-background-dim:after,
.landing__page-wrapper .is-style-video-background:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    min-height: 430px;
    width: 15%;
    opacity: 1;
    display: block;
    background: linear-gradient(-90deg, var(--bg-gradient-first) 0%, var(--bg-gradient-second) 100%);
    z-index: 3;
}


/* The styles how it looks in the editor */
.is-style-button-landing-pulse .editor-rich-text__editable,
.is-style-button-landing-simple .editor-rich-text__editable {
    font-size: 20px;
}

.editor-plain-text.input-control {
    color: #000;
}

.editor-block-list__block-edit.block-editor-block-list__block-edit .is-style-video-background {
    height: 300px;
}

.editor-block-list__block-edit.block-editor-block-list__block-edit .is-style-video-bg-section {
    background: #333;
}

.block-editor-block-list__block-edit .wp-block-group.is-style-video-bg-section:before {
    content: "(video background section)";
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
}

.block-editor-block-list__block-edit .is-style-video-background:before {
    content: "(background video)" !important;
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
}

.is-style-landing-logo {
    display: block;
    margin: 30px auto;
    text-align: center;
}

.is-style-game-logo {
    display: block;
    margin: 10px auto;
    text-align: center;
}

.is-style-game-logo img {
    object-fit: contain;
}

.editor-block-list__block-edit.block-editor-block-list__block-edit video {
    object-fit: contain;
    min-height: 100px;
    height: 100%;
}

.gameprovider-wrapper button.components-button.image-button,
.gameprovider-wrapper button.components-button.image-button img {
    max-height: 100px;
    max-width: 150px;
}

.game-casino-logo {
    margin: 10px 0 10px auto;
}

@media (min-width: 600px) {
    .is-style-landing-logo {
        margin: 80px 0 30px auto;
    }

    .game-casino-logo {
        margin: 10px 0 20px auto;
    }

    .is-style-game-logo {
        margin: 20px 0 20px auto;
    }
}

.block-editor-block-preview__container.editor-styles-wrapper {
    height: 50px !important;
}

/* COVER IMAGE WITH GRADIENT */

.editor-block-list__block-edit .is-style-landing-cover-gradient {
    background-size: auto 100%;
}

.is-style-landing-cover-gradient {
    position: relative;
    background-repeat: no-repeat;
    /* background-position: top center; */
    align-items: start;
    text-align: center;
    background-size: cover;
    height: 100%;
    /* min-height: 100vh; */
    min-height: auto;
    background-position: inherit;
}

.is-style-landing-cover-gradient:before {
    display: none;
}

#editor .is-style-landing-cover-gradient:before {
    display: none;
}

.is-style-landing-cover-gradient .is-style-landing-logo {
    /* display: flex;
    flex-direction: column;
    justify-content: center; */
    /* display: block; */
    text-align: center;
    margin: 80px auto 30px
}

/* .is-style-landing-cover-gradient .is-style-landing-logo img {
    height: 100px;
} */

.is-style-background-with-shadow {
    position: relative;
    background-repeat: no-repeat;
    align-items: start;
    text-align: center;
    background-size: auto 100%;
    max-width: 1200px;
    margin: auto;
    height: auto;
    min-height: 430px;
}

.wp-block-landing-lp-form-hidden::before,
.wp-block-landing-lp-form-hidden::after,
.wp-block-landing-lp-form-visible::after,
.wp-block-landing-lp-form-visible::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 10%;
    width: 100%;
    opacity: 1;
    display: block;
    background: linear-gradient(0deg, var(--bg-gradient-second) 0, var(--bg-gradient-first) 100%);
    z-index: 3;
}

.wp-block-landing-lp-form-hidden::after,
.wp-block-landing-lp-form-visible::after {
    content: "";
    position: absolute;
    top: auto;
    bottom: 0;
    background: linear-gradient(180deg, var(--bg-gradient-second) 0, var(--bg-gradient-first) 100%);
    z-index: 0;
}

.block-editor-block-list__block .wp-block-landing-lp-form-hidden::before,
.block-editor-block-list__block .wp-block-landing-lp-form-hidden::after,
.block-editor-block-list__block .wp-block-landing-lp-form-visible::after,
.block-editor-block-list__block .wp-block-landing-lp-form-visible::before {
    display: none;
}

#editor .wp-block-cover:focus:after {
    width: auto;
    z-index: 0;
}

.is-style-full-width-noshadow {
    position: relative;
    background-repeat: no-repeat;
    background-position: top center;
    align-items: start;
    text-align: center;
    background-size: cover;
    height: 100%;
    min-height: 100vh;
}

#editor .is-style-full-width-noshadow {
    height: auto;
    min-height: 100vh;
}

.is-style-full-width-noshadow::before {
    opacity: 0;
}

.nobrand-landingpage {
    height: 100vh !important;
    overflow: hidden;
}

.nobrand-landingpage .wp-block-landing-lp-form-hidden:before,
.nobrand-landingpage .wp-block-landing-lp-form-hidden:after,
.nobrand-landingpage .wp-block-landing-lp-form-visible:after,
.nobrand-landingpage .wp-block-landing-lp-form-visible:before {
    display: none;
}

.is-style-headline-main {
    font-size: 50px;
    margin: 0;
    line-height: 1.2;
}

.is-style-headline-shadow {
    font-size: 50px;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: 3px 3px 10px #232323;
}

.is-style-paragraph-main {
    font-size: 30px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.2;
    text-transform: uppercase;
}

.editor-block-list__block-edit .wp-block-gutenberg-landing-email-shortcode,
.editor-block-list__block-edit .wp-block-gutenberg-landing-email-shortcode-hidden,
.wp-block .wp-block-gutenberg-landing-email-shortcode-hidden {
    text-align: center;
    border: 1px solid #fff;
    background: #000;
    padding: 0px 5px;
    text-align: center;
}

.is-style-paragraph-shadow {
    text-align: center;
    font-size: 30px;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: 3px 3px 10px #232323;
}

.is-style-paragraph-shadow-strong {
    text-align: center;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: 4px 2px 3px #232323;
    font-weight: 600;
}

.is-style-paragraph-offer-lowercase {
    text-align: center;
    margin: 0;
    line-height: 1.2;
    text-shadow: 4px 2px 3px #232323;
    font-weight: 600;
}

.is-style-paragraph-bold {
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 auto;
    text-align: center;
}

.is-style-bonus-columns {
    max-width: 800px;
    margin: auto;
}

.is-style-bonus-columns .wp-block-column {
    align-self: center;
}

.is-style-bonus-columns .wp-block-paragraph,
.is-style-bonus-columns .is-style-paragraph-shadow {
    text-align: left;
}

.is-style-bonus-columns .editor-inner-blocks {
    width: 100%;
}

.is-style-bonus-columns .wp-block-paragraph {
    margin: 0 !important;
    line-height: 1;
    font-weight: 600;
    display: inline-block;
}

.is-style-bonus-columns p.is-selected {
    text-align: left;
}

.is-style-bonus-columns .wp-block-column:not(:first-child) {
    margin-left: 0;
}

.wp-block-columns.is-style-bonus-columns .wp-block-column p {
    line-height: 1.1;
}

/* 
.editor-rich-text.block-editor-rich-text {
    margin: auto;
    text-align: center;
} */

.wp-block-landing-signup-block,
.wp-block-landing-signup-block-btn {
    margin: 20px 0;
    padding: 20px 40px;
    display: inline-block;
    border-radius: 50px;
    text-transform: uppercase;
    cursor: pointer;
    transition: .4s;
    border: none;
    position: relative;
    outline: none;
    text-align: center;
    text-decoration: none;
    overflow-wrap: break-word;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, .35) inset, 0px 2px 150px rgba(0, 0, 0, .75);
    font-weight: 700;
    text-shadow: 0px 1px 5px rgba(0, 0, 0, .5);
    font-size: 1.8em;
    mix-blend-mode: hard-light;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, .35) inset, 0px 2px 150px rgba(0, 0, 0, .75);
    font-size: 20px;
}

.signup-btn {
    display: block;
    margin: auto;
    max-width: 320px;
    max-width: max-content;
}

.active-mailform .signup-btn {
    display: none !important;
}

#editor .wp-block-cover-image:after,
#editor .wp-block-cover:after {
    display: none;
}

#editor .edit-post-visual-editor .block-editor-writing-flow__click-redirect {
    min-height: auto;
}

.games-columns {
    margin: 5rem 0 0;
}

/* .gameproviderval {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

.rtpval,
.block-editor-rich-text__editable.rtpval {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
} */

.gametype-wrapper {
    text-align: center;
}

/* .gametypeval,
.block-editor-rich-text__editable.gametypeval {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
} */
.block-editor-rich-text__editable.gradient-title {
    background: linear-gradient(to top, #fcea82 0%, #df2c16 60%, #981f09 100%);
    text-shadow: none;
    -webkit-background-clip: text;
    -webkit-text-fill-color: #ff272700;
    -webkit-text-stroke: 0.05rem #000000c7;
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: capitalize;
    margin: 0;
    padding-bottom: 3px;
    line-height: 1.2;
}

.lp-casinotheme-casinoportugueses .wp-block-cover.leadgen-bg {
    min-height: 550px;
}

@media (min-width: 992px) {

    .wp-block-landing-lp-form-hidden::before,
    .wp-block-landing-lp-form-hidden::after,
    .wp-block-landing-lp-form-visible::after,
    .wp-block-landing-lp-form-visible::before {
        height: 20%;
    }

    .wp-block-cover.is-style-background-with-shadow.has-background-dim:before,
    .landing__page-wrapper .is-style-background-with-shadow:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        min-height: 430px;
        width: 15%;
        opacity: 1;
        display: block;
        background: linear-gradient(-90deg, var(--bg-gradient-second) 0%, var(--bg-gradient-first) 100%);
    }

    .wp-block-cover.is-style-background-with-shadow.has-background-dim:after,
    .landing__page-wrapper .is-style-background-with-shadow:after {
        content: "";
        position: absolute;
        top: 0;
        left: auto;
        right: 0;
        height: 100%;
        min-height: 430px;
        width: 25%;
        opacity: 1;
        display: block !important;
        background: linear-gradient(-90deg, var(--bg-gradient-first) 0%, var(--bg-gradient-second) 100%);
    }


    .is-style-landing-cover-gradient {
        position: relative;
        background-repeat: no-repeat;
        align-items: start;
        text-align: center;
        background-size: auto 100%;
        height: auto;
        min-height: 750px;
    }

    .lp-casinotheme-casinoportugueses .is-style-landing-cover-gradient, 
    .lp-casinotheme-casinoportugueses .wp-block-cover.leadgen-bg {
        min-height: 670px;
    }

    body:not(.wp-admin) .is-style-landing-cover-gradient {
        background-position: top center !important;
    }

    .is-style-background-with-shadow {
        min-height: 750px;
    }

    .landing__page-wrapper .is-style-background-with-shadow:before {
        min-height: 750px;
    }

    .landing__page-wrapper .is-style-background-with-shadow:after {
        min-height: 750px;
    }

}

@media (min-width: 600px) {

    .is-style-paragraph-shadow-strong {
        margin: 30px auto;
    }
}

/* Fallback for older WP*/
@media (min-width: 992px) {

    .version-5-3-6 .editor-styles-wrapper .steps-wrap .wp-block-group__inner-container,
    .version-5-4-4 .editor-styles-wrapper .steps-wrap .wp-block-group__inner-container {
        display: block;
    }

    .version-5-3-6 .editor-styles-wrapper .steps-wrap .wp-block-group__inner-container .editor-block-list__layout,
    .version-5-4-4 .editor-styles-wrapper .steps-wrap .wp-block-group__inner-container .block-editor-block-list__layout {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 0 1.5rem;
    }
}


/* editor styles end */

.wp-block-group.is-style-video-bg-section>.wp-block-group__inner-container>*:not(.is-style-video-background) {
    position: relative;
    z-index: 9;
    color: #fff;
}

.wp-block-group.is-style-video-bg-section .is-style-video-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
}

@keyframes peternivue {
    0% {
        transform: scaleX(1) scaleY(1);
        opacity: .6;
    }

    100% {
        transform: scaleX(1.2) scaleY(1.5);
        opacity: 0;
    }
}

@media (min-width: 768px) {
    .currency-box {
        font-size: 3.8em;
    }

    .editor-styles-wrapper .ct-leadgen-el {
        max-width: 700px;
        display: block;
        margin: 1rem auto;
    }

    .is-style-landing-logo-image figcaption,
    .is-style-logo-shadow-dark figcaption,
    .is-style-logo-shadow-light figcaption,
    .is-style-logo-shadow-inherit figcaption {
        font-size: 3rem;
    }

    .editor-styles-wrapper h2.ct-leadgen-el {
        font-size: 3.38rem;
        font-weight: 600;
        line-height: 1.1;
    }

    .editor-styles-wrapper p.ct-leadgen-el {
        font-size: 2rem;
        line-height: 1.1;
    }
}