/*iLottery Games screen size fix RCW 04/22/22/*/
/*NPI Infrastructure CSS fix PP 03/06/23/*/

.wp-instant-game-container {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
    /*background: rgba(0, 0, 0, 0.66);*/
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 1s; /* Firefox < 16 */
    -ms-animation: fadein 1s; /* Internet Explorer */
    -o-animation: fadein 1s; /* Opera < 12.1 */
    animation: fadein 1s;
    background-position: center top;
    /*position: absolute;*/
    display: none;
}


@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.wp-instant-game-background {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.wp-instant-game-content-container {
    position: relative;
    left: 50%;
    float: left;
}

.wp-instant-game-content-holder {
    position: relative;
    left: -50%;
    padding: 0 48px;
}


.wp-instant-game-content-game {
    background: #C8CBD4;
    width: 1024px;
    height: 720px;
    width: calc(80vw - 10px) !important;
    height: calc(80vh - 10px) !important;
}

.wp-instant-game-content-game-mobile {
    background: #C8CBD4;
    /*width: 1024px;*/
    /*height: 720px;*/
    width: calc(80vw - 20px) !important;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100) !important;
    /*height: calc(100vh - 70px) !important;*/
    /*height: calc(100vh) !important;*/
}

.wp-instant-game-close-button:focus {
    outline: 0;
}

.wp-instant-game-close-button:hover,
.wp-instant-game-close-button:focus {
    opacity: .9;
}

.wp-instant-game-close-button[disabled] {
    cursor: default;
    opacity: 0.7;
}

.wp-instant-game-footer {
    margin-top: 5px;
    padding: 5px;
    text-align: center;
    background-color: #edeced;
}

@media (min-width: 1200px) {

    .wp-instant-game-header {
        display: flex;
        justify-content: space-between;
    }

        .wp-instant-game-header > div {
            width: 100%;
            height: 65px;
            position: relative;
            overflow: hidden;
            padding: 0 30px;
            /*background-color: #edeced;*/
            text-align: center;
        }

    .wp-instant-game-header-title {
        border: 1px solid rgb(140, 140, 140);
        padding: 6px 12px;
        display: inline-block;
        line-height: 1.42857143;
        min-width: 110px;
        text-align: center;
    }

    .wp-instant-game-header-left {
        float: left;
        line-height: 65px;
    }

    .wp-instant-game-header-center {
        /*display:inline-block;*/
        /*margin:0 auto;*/
        line-height: 65px;
    }

    .wp-instant-game-header-right {
        float: right;
        line-height: 65px;
    }

    .wp-instant-game-header-center > button {
        min-width: 135px;
        /*margin-right: 10px;*/
    }

    .wp-instant-game-header-right > button {
        min-width: 135px;
        /*margin-right: 10px;*/
    }
}

@media (min-width: 481px) {

    .wp-instant-game-header {
        display: flex;
        justify-content: space-between;
    }

        .wp-instant-game-header > div {
            width: 100%;
            height: 65px;
            position: relative;
            overflow: hidden;
            padding: 0 30px;
            /*background-color: #edeced;*/
            text-align: center;
        }

    .wp-instant-game-header-title {
        border: 1px solid rgb(140, 140, 140);
        padding: 6px 12px;
        display: inline-block;
        line-height: 1.42857143;
        min-width: 110px;
        text-align: center;
    }

    .wp-instant-game-header-left {
        float: left;
        line-height: 65px;
        margin-left: -85px;
    }

    .wp-instant-game-header-center {
        /*display:inline-block;*/
        /*margin:0 auto;*/
        line-height: 65px;
    }

    .wp-instant-game-header-right {
        float: right;
        line-height: 65px;
        margin-right: -50px;
    }

    .wp-instant-game-header-center > button {
        min-width: 135px;
        /*margin-right: 10px;*/
    }

    .wp-instant-game-header-right > button {
        min-width: 135px;
        /*margin-right: 10px;*/
    }
}

@media (max-width: 480px) {

    .wp-instant-game-header {
        display: flex;
        justify-content: space-between;
    }

        .wp-instant-game-header > div {
            width: 100%;
            height: 65px;
            position: relative;
            overflow: hidden;
            padding: 0 30px;
            /*background-color: #edeced;*/
            text-align: center;
        }

    .wp-instant-game-header-title {
        border: 1px solid rgb(140, 140, 140);
        padding: 6px 12px;
        display: inline-block;
        line-height: 1.42857143;
        min-width: 110px;
        text-align: center;
    }

    .wp-instant-game-header-left {
        float: left;
        line-height: 65px;
        margin-left: -35px;
    }

    .wp-instant-game-header-center {
        /*display:inline-block;*/
        /*margin:0 auto;*/
        line-height: 65px;
    }

    .wp-instant-game-header-right {
        float: right;
        line-height: 65px;
        margin-right: -10px;
    }

    .wp-instant-game-header-center > button {
        min-width: 135px;
        margin-left: -20px;
        /*margin-right: 10px;*/
    }

    .wp-instant-game-header-right > button {
        min-width: 75px;
        margin-left: 25px;
        /*margin-right: 10px;*/
    }

    .inst-val-img {
        width: 60%;
        margin-left: -20px;
    }
}

.wp-open-instant-game-number {
    width: 130px;
}

.wp-replay-instant-game-number {
    width: 130px;
}

.wp-replay-instant-game-id {
    width: 160px;
}

.game-tile .game-tile__details {
    position: relative;
}

.game-title-details {
    padding: 10px;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
}

/***********************************************/
/* BEGIN - GAME FILTER BUTTONS STYLING         */
/***********************************************/

/* Clear/Apply Filter Buttons - Desktop Styles */
@media only screen and (min-width: 1000px) {

    .btn-game-filter {
        color: #007730;
        background-color: #FFFFFF;
        border: 3px solid #007730;
        border-radius: 50px;
        text-transform: uppercase;
        font-size: 17px;
        font-weight: 510;
        text-shadow: none;
        outline: none;
        height: 36px;
        width: 206px;
        margin: 7px 6px;
        padding-top: 3px;
        user-select: none;
        -webkit-user-select: none;
    }

    #btn-filter-span-spacer {
        height: 10px;
    }

    #btn-filter-span {
        text-align: center;
        vertical-align: middle;
/*        background-color: #12824A;
*/        display: inline-block;
        width: 100%;
        padding: 5px;
    }

    .btn-clear-filter {
        color: #007730;
        background-color: #FFFFFF;
        border: 3px solid #007730;
        border-radius: 50px;
        text-transform: uppercase;
        font-size: 13px;
        font-weight: 510;
        text-shadow: none;
        outline: none;
        height: 36px;
        width: 126px;
        margin: 7px 6px;
        -webkit-transition: background-color 0.35s, color 0.35s;
        transition: background-color 0.35s, color 0.35s;
    }

    .btn-apply-filter {
        color: #FFFFFF;
        background-color: #007730;
        border: 3px solid #007730;
        border-radius: 50px;
        text-transform: uppercase;
        font-size: 13px;
        font-weight: 510;
        text-shadow: none;
        outline: none;
        height: 36px;
        width: 126px;
        margin: 7px 6px;
        -webkit-transition: background-color 0.35s, color 0.35s;
        transition: background-color 0.35s, color 0.35s;
    }
}

/* Game Filter Buttons - Mobile Styles */
@media only screen and (max-width: 1000px) {

    .btn-game-filter {
        color: #007730;
        background-color: #FFFFFF;
        border: 3px solid #007730;
        border-radius: 50px;
        text-transform: uppercase;
        font-size: 25px;
        font-weight: 510;
        text-shadow: none;
        outline: none;
        height: 52px;
        width: 260px;
        margin: 7px 6px;
        padding-top: 5px;
        user-select: none;
        -webkit-user-select: none;
    }

    #btn-filter-span-spacer {
        height: 20px;
    }

    #btn-filter-span {
        text-align: center;
        vertical-align: middle;
        background-color: #12824A;
        display: inline-block;
        width: 100%;
        padding: 5px;
    }

    .btn-clear-filter {
        color: #FFFFFF;
        background-color: #12824A;
        border: 3px solid #FFFFFF;
        border-radius: 50px;
        text-transform: uppercase;
        font-size: 18px;
        font-weight: 510;
        text-shadow: none;
        outline: none;
        height: 54px;
        width: 153px;
        margin: 7px 6px;
        -webkit-transition: background-color 0.35s, color 0.35s;
        transition: background-color 0.35s, color 0.35s;
    }

    .btn-apply-filter {
        color: #007730;
        background-color: #FFFFFF;
        border: 3px solid #FFFFFF;
        border-radius: 50px;
        text-transform: uppercase;
        font-size: 18px;
        font-weight: 510;
        text-shadow: none;
        outline: none;
        height: 54px;
        width: 153px;
        margin: 7px 6px;
        -webkit-transition: background-color 0.35s, color 0.35s;
        transition: background-color 0.35s, color 0.35s;
    }
}

/* Game Filter Buttons - General Styles */
/*
.btn-game-filter:hover {
    color: #FFFFFF;
    background-color: #12824A;
}
*/

.btn-clear-filter:hover,
.btn-apply-filter:hover {
    background-color: #007730;
    color: #FFFFFF;
}

.btn-game-filter input[type="checkbox"] {
    display: none;
}

/***********************************************/
/* END - GAME FILTER BUTTONS STYLING           */
/***********************************************/

