body {
    font-family: "Open Sans";
}

.game-c-black {
    color: #212121
}

.game-bg-black {
    background-color: #212121
}

.game-c-gold {
    color: #bd974d;
}

.game-bg-gold {
    background-color: #bd974d;
}

/* game footer ----------------------------------------------------------------------- */

.game-footer{
    margin: 65px auto ;
    text-align: center;
}

.game-footer-logo{
    margin-bottom: 55px;
}

.game-footer-item{
    margin-bottom: 25px;
}
.game-footer .game-url{
    font-weight: bold;
}

/* game menu ----------------------------------------------------------------------- */

.game-menu {
    font-family: 'Montserrat';
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    padding: 60px 0 50px 0;
}

.game-menu-urls {
    display: flex;
    /*column-gap: 60px;*/
}

.game-menu-urls a {
    color: #212121;
    text-decoration: none;
    padding: 0 30px 0 0;
}

.game-menu-urls a:hover {
    text-decoration: underline;
}

a.game-url {
    color: #bd974d;
    text-decoration: none;
}

a.game-url:hover {
    text-decoration: underline;
}

.game-menu-mobile {
    font-family: 'Montserrat';
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    padding: 60px 0 50px 0;
    /*position: fixed;*/
    /*width: 100vw;*/
    /*height: 100vh;*/
    /*background-color: #fff;*/
    /*z-index: 100;*/
    /*padding: 15px;*/
    /*    display: none !important;*/
}

.game-menu-mobile .game-menu-urls {
    flex-direction: column;
    row-gap: 20px;
    align-items: center;
    justify-content: flex-start;
    position: fixed;
    background-color: #fff;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 140;
    padding: 15px 20px;
    display: none;
}

.game-menu-mobile .game-menu-urls a {
    padding: 0;
    width: 100%;
}

body.show-menu .game-menu-mobile .game-menu-urls {
    display: flex;
}

@media (max-width: 999px) {
    .game-menu {
        display: none !important;
    }
}

@media (min-width: 1000px) {
    .game-menu-mobile {
        display: none !important;
    }
}

.hamburger {
    width: 30px;
    height: 30px;
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    margin-left: auto;
    background: 0 0;
    border: none;
}

.hamburger .hamburgerLine2,
.hamburger .hamburgerLine3,
.hamburger .hamburgerLine1 {
    width: 100%;
    height: 2px;
    background-color: #420b9d;
    position: relative;
    transition: .2s;
}

body.show-menu .game-menu-mobile .hamburger {
    right: 20px;
    top: 20px;
}

body.show-menu .hamburgerLine1 {
    transform: rotate(45deg);
    position: absolute;
    z-index: 10;
}

body.show-menu .hamburgerLine2 {
    display: none;
    transform: rotate(90deg);
    z-index: 10;
}

body.show-menu .hamburgerLine3 {
    transform: rotate(-45deg);
    position: absolute;
    z-index: 10;
}

/* game-prizes-mobile --------------------------------------------------------- */

.game-prizes-mobile {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 15px;
    top: -45px;
}

.game-prize {
    position: relative;
    width: 100%;
    max-width: 440px;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 11px 21px 0.04px rgba(0, 0, 0, 0.3);
    padding: 20px 20px 30px 20px;
    text-align: center;
}

.game-prize-number {
    font-size: 14px;
    color: #212121;
    /*font-family: 'Open Sans';*/
    margin-left: 10px;
}

.game-prize-info {
    margin-top: 20px;
    text-align: center;
    color: #bd974e;
    /*font-family: 'Open Sans';*/
    font-size: 18px;
    line-height: 18px;
    font-weight: bold;
}

.game-prize-info--big {
    font-size: 34px;
}

/* game-card -----------------------------------------------------------------------*/

.game-card-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.game-card-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    column-gap: 60px;
    row-gap: 60px;
    align-items: center;
    position: relative;
    padding: 15px 15px;
}

.game-card {
    position: relative;
    /*height: 300px;*/
    width: 100%;
    max-width: 440px;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 11px 21px 0.04px rgba(0, 0, 0, 0.3);
    padding: 20px 20px 30px 20px;
}

.game-card-number {
    font-size: 30px;
    color: #bd974e;
    font-family: 'Montserrat';
    margin-left: 10px;
}

.game-card-image {
    text-align: center;
}

.game-card-info {
    margin-top: 30px;
    text-align: center;
    color: #212121;
    /*font-family: 'Open Sans';*/
    font-size: 14px;
    line-height: 18px;
}

.game-take-part-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 20px;
    overflow-x: clip;
}

button.game-take-part-button,
a.game-take-part-button {
    /*font-family: 'Open Sans';*/
    font-weight: bold;
    font-size: 30px;
    line-height: 30px;
    background-color: #df0000;
    color: #fff;
    padding: 30px 0;
    border-radius: 12px;
    display: block;
    text-decoration: none;
    width: calc(100% - 20px);
    max-width: 420px;
    box-shadow: 0 11px 21px 0.04px rgba(0, 0, 0, 0.3);
    border: 0;
}

button.game-take-part-button:hover,
a.game-take-part-button:hover {
    opacity: 0.8;
    color: #fff;
}

button.game-take-part-button--small,
a.game-take-part-button--small{
    font-size: 16px;
    padding: 16px 0;
}

.game-take-part-info {
    position: relative;
    /*font-family: 'Open Sans';*/
    font-size: 15px;
    margin-top: 67px;
    line-height: 40px;
}

.game-take-part-info:before {
    content: url('../images/monety_lewo.png');
    position: absolute;
    z-index: 10;
    left: -420px;
    top: -32px;
}

.game-take-part-info:after {
    content: url('../images/monety_prawo.png');
    position: absolute;
    z-index: 10;
    right: -375px;
    top: -40px;
}

.game-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    text-align: center;
}

.game-title-line {
    width: 100px;
    border-top: 4px solid #bd974e;
    margin-bottom: 10px;
}

.game-title-content {
    /*font-family: "Open Sans";*/
    font-size: 30px;
    font-weight: bold;
    color: #bd974e;
}

.game-prizes-box {
    position: relative;
    /*top: -210px;*/
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 16px;

    /*display: flex;*/
    display: none;
}

.game-prizes-info-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 100px;
}

.game-prizes-info-card {

}

.game-prizes-info-card-title {
    /*font-family: "Open Sans";*/
    font-size: 16px;
    color: #fff;
    text-align: center;
}

.game-prizes-info-card-subtitle {
    /*font-family: "Open Sans";*/
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    text-shadow: 0 11px 21px rgba(0, 0, 0, 0.3);
}

.game-prizes-info-card-subtitle--big {
    font-size: 34px;
}

.game-prizes-subinfo {
    border: 2px solid #dddd;
    border-radius: 12px;
    padding: 10px 20px;
    color: #fff;
    /*font-family: 'Open Sans';*/
    font-size: 12px;
}

.game-how-to-win .game-title {
    margin-bottom: 10px;
}

/* register form */

#register_form {
    padding: 30px 30px;
    background-color: #420b9d; /* For browsers that do not support gradients */
    background-image: radial-gradient(circle at center 40%, #ffffff82, #420b9d);
    border-radius: 12px;
    color: #fff;

}

#register_form .form-control {
    font-size: 12px;
}

#register_form .form-check-label {
    font-size: 12px;
}

#register_form a {
    color: #bd974e;
    text-decoration: none;
}

#register_form a:hover {
    text-decoration: underline;
}

#register_form .form-control {
    border-radius: 8px;
    padding: 26px 30px;
}

#register_form label:not(.form-check-label) {
    color: transparent;
    line-height: 0;
    font-size: 0;
    /*display: none;*/
}

#register_form label:not(.form-check-label) .invalid-feedback {
    font-size: 12px;
}

#register_form .calendar-before {
    position: relative;
}

#register_form .calendar-before label:before {
    content: url('../images/icon_calendar.png');
    position: absolute;
    z-index: 10;
    left: 20px;
    bottom: 16px
}

#register_form .calendar-before input {
    padding-left: 70px;
    background-color: #fff;
}
#register_form .upload-before{
    padding-top: 24px;
}
#register_form .upload-before label:before {
    content: url('../images/icon_upload.png');
    position: absolute;
    z-index: 10;
    left: 20px;
    top: 16px
}

#register_form .upload-before label {
    width: 100%;
    background-color: #fff;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 30px 20px 80px;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;

    position: relative;

    min-height: 78px;
    font-size: 12px;
    line-height: initial;
}

#register_form .upload-before label span {
    font-size: 10px;
    color: #818181;
}

#register_form .upload-before .custom-file {
    /*display: none;*/
}
#register_form .upload-before .custom-file-input {
    display: none;
}

#register_form .error-replacement{
    /*margin-bottom: -24px;*/
    font-size: 12px;
}

#register_form #register_form_recaptcha {
    margin: 20px auto;
}

#register_form .under-registration-rules {
    font-size: 12px;
    text-align: center;
}

#register_form .form-check-input[type=checkbox]{
    border-radius: 6px;
}
#register_form .form-check-input:checked[type="checkbox"]{
    background-image: url('../images/checked_small.png');
}
#register_form .form-check-input:checked{
    background-color: #fff;
    border-color: #fff;
}

#register_form .invalid-feedback{
    background-color: #ffeb3b;
    border-radius: 4px;
    padding: 2px 4px;
    margin-bottom: 0.25rem;
}

#register_form .badge{
    color: #dc3545;
}

#register_form .field-collection-item-row{
    position: relative;
}

#register_form .form-control.is-invalid, #register_form .was-validated .form-control:invalid{
    border-color: #dc3545;
    padding-right: 30px;
    background-image: url(../images/icon_rejected.png);
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 20px 20px;
}

#register_form.form-was-validated .form-control:not(.is-invalid){
    border-color: #dc3545;
    padding-right: 30px;
    background-image: url(../images/icon_checked.png);
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 20px 20px;
}

#game_check{
    text-align: center;
}

@media (min-width: 440px) {

    .game-card {
        height: 300px;
    }

    .game-card-info {
        font-size: 20px;
        line-height: 24px;
    }

    .game-card.game-card--arrow-down:after {
        content: url('../images/strzalka_down.png');
        position: absolute;
        z-index: 10;
        right: 60px;
        top: 284px;
        transform: rotate(90deg);
    }

    .game-card.game-card--arrow-up:after {
        content: url('../images/strzalka_up.png');
        position: absolute;
        z-index: 10;
        right: 290px;
        top: 284px;
        transform: rotate(90deg);
    }
}

/* cms-pages -----------------------------------------------------------------------*/

.cms-page{
    min-height: 50vh;
}

.cms-page p {
    font-size: 15px !important;
    font-weight: 400
}

.cms-page p b{
    font-size: 15px !important;
}

.cms-page a{
    font-size: 15px !important;
}

.cms-page a{
    color: #bd974d;
    text-decoration: none;
}

.cms-page a:hover {
    text-decoration: underline;
}


@media (min-width: 700px) {

    #register_form .upload-before label,
    #register_form .form-control {
        font-size: 16px;
    }

    #register_form .upload-before label::before {
        top: 12px;
    }

    #register_form .calendar-before label:before {
        bottom: 20px;
    }

    .game-prizes-mobile {
        top: -100px;
    }
}


@media (min-width: 900px) {
    .game-prizes{
        margin-bottom: -74px;
    }

    .game-card-box {
        top: -120px;
    }

    .game-how-to-win .game-title-line {
        border-color: #fff;
    }

    .game-how-to-win .game-title-content {
        color: #fff;
    }
}

@media (min-width: 1200px) {

    .game-prizes{
        margin-bottom: -100px;
    }

    .game-card-box {
        top: -106px;
    }

    .game-card-wrapper {
        flex-direction: row;
        /*top: -80px;*/
    }

    .game-card.game-card--arrow-down:after {
        right: -110px;
        top: 110px;
        z-index: 10;
        transform: rotate(0);
    }

    .game-card.game-card--arrow-up:after {
        right: -120px;
        top: 110px;
        transform: rotate(0);
    }
}


@media (min-width: 1400px) {
    .game-prizes-box {
        display: flex;
        top: -150px;
    }

    .game-prizes-mobile {
        display: none;
    }
}

@media (min-width: 1600px) {

    .game-card-box {
        top: -136px;
        margin-bottom: -136px;
    }

    .game-prizes-box {
        top: -190px;
    }

    .game-prizes-info-card-title {
        font-size: 20px;
    }

    .game-prizes-info-card-subtitle {
        font-size: 30px;
    }

    .game-prizes-info-card-subtitle--big {
        font-size: 45px;
    }

    .game-prizes-subinfo {
        font-size: 20px;
    }
}

/* flatpickr placeholder override */

/*input[type="date"]:before { content: attr(placeholder) !important; color: #000; position: absolute; }*/

input.flatpickr-mobile[type="date"]:before { content: attr(placeholder) !important; color: #000; position: absolute; }