* {
    box-sizing: border-box;
    font-family: 'Noto Sans', sans-serif;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    background: #000;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
}
.hidden { display: none; }

/* wrapper */
#wrapper {
    width: 100%;
    height: 100vh;
    display: block;
    overflow: hidden;
}

/* gameContent canvas */
#gameContent {
    background: none;
    width: 100%;
    height: 100%;
    z-index: 100;
    position: absolute;
    top: 0;
    left: 0;
}

/* htmlContent ui */
#htmlContent {
    width: 100%;
    height: 100%;
    z-index: 300;
    position: absolute;
    top: 0;
    left: 0;
    background: none;
}

/* cheatContent */
#cheatContent {
    position: absolute;
    right: 0;
    z-index: 400;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    background: none;
}

#cheatContent a#test-toggle {
    color: #fff;
    text-align: center;
    z-index: 900;
    cursor: pointer;
    background: #529952;
    border-radius: 8px;
    width: 24px;
    height: 24px;
    font-size: 20px;
    line-height: 18px;
    display: block;
    position: absolute;
    top: 0px;
    left: 220px;
}

#cheatContent.minimized {
    width: 40px;
    height: 40px;
    margin-right: 1px;
}

#cheatContent.minimized a#test-toggle {
    top: 0;
    left: 11px;
}
@media (orientation: portrait) {
    #cheatContent.minimized {
        right: 50px;
    }
    #cheatContent.minimized a#test-toggle {
        top: 0;
        left: 61px;
    }
}

#cheatContent.minimized .lil-gui {
    display: none;
}

#cheatContent > * {
    flex-shrink: 0;
    margin-right: 5px;
    margin-top: 5px;
}
/*freeTrial*/
#freeTrial {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 700;
    display: none;
    width: 80px;
    height: 80px;
}
/* preloaderContent */
#preloaderContent {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 200;
    background: #000000;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}

/* idle + logo */
#idle {
    margin-top: 120px;
    animation: 1.5s linear infinite rotating_anim;
}

#logo {
    display: none;
}

@keyframes rotating_anim {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* preloaderBar */
#preloaderBar {
    display: block;
    opacity: 0;
    transition: opacity 0.3s;
    position: absolute;
    z-index: 9;
    top: 125px;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 300px;
    height: 24px;
}
#preloaderBar::before,
#preloaderBar::after {
    content: '';
    display: block;
    position: absolute;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-image: linear-gradient(90deg, #0f0 0%, #0f0 25%, #fff 25%, #fff 50%, #f00 50%, #f00 75%, #fff 75%, #fff 100%);
    background-position: 0 0;
    background-repeat: repeat-x;
    -webkit-animation: movebar 5s linear infinite;
    animation: movebar 5s linear infinite;
}
#preloaderBar::before {
    box-shadow: 0 6px 10px 0 rgba(0,0,0,0.1);
}
#preloaderBar::after {
    z-index: 9;
    top: 6px;
    filter: blur(16px);
    opacity: 0.7;
}
#preloaderBar .stylization {
    position: absolute;
    z-index: 999;
    height: 4px;
    width: 90%;
    left: 5%;
    top: 6px;
    opacity: 0.3;
}
#preloaderBar .stylization::before,
#preloaderBar .stylization::after {
    content: '';
    display: block;
    position: absolute;
    height: 4px;
    top: 0;
    border-radius: 2px;
}
#preloaderBar .stylization::before {
    background: #fff;
    left: 0;
    right: 10px;
}
#preloaderBar .stylization::after {
    width: 6px;
    background: #fff;
    right: 0;
}
@-webkit-keyframes movebar {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 300px 0;
    }
}
@keyframes movebar {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 300px 0;
    }
}

/* progressBar */
#progressBar {
    color: #000;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    display: block;
    height: 20px;
    width: auto;
    z-index: 500;
    text-shadow: #fff 0px 0px 2px, #fff 0px 0px 8px;
    position: relative;
    top: 22px;
}

/* uiContent */
#uiContent {
    background: none;
    opacity: 0;
    transition: opacity 0.5s;
    width: 100%;
    height: 100%;
}

/* ui size */
#uiContent.screenSize_HD,
#uiContent.screenSize_FHD {
}

/* ui device */
#uiContent.deviceDesktop,
#uiContent.deviceLandscape,
#uiContent.devicePortrait {
}

/* ui playmode */
#uiContent.playMode_Normal,
#uiContent.playMode_Freerounds {
}

/* ui gamemode */
#uiContent.gameMode_Normal,
#uiContent.gameMode_Special,
#uiContent.gameMode_Freespin,
#uiContent.gameMode_Specialspin,
#uiContent.gameMode_Bonus {
}

/* ui jurisdiction */
#ne-slotName {
    display: none;
    color: #ffffff;
    text-shadow: 1px 1px 2px #000000,2px 2px 4px #000000, 3px 3px 6px #000000;
}
.jurisdiction_ES #ne-slotName {
    display: block;
}
.jurisdiction_ES #ne-colTurbo,  .jurisdiction_ES #ne-colTurbo2,.jurisdiction_ES #ne-colRapid,  .jurisdiction_ES #ne-colRapid2,
.jurisdiction_ES #ne-betButton500,  .jurisdiction_ES #ne-betButton700,  .jurisdiction_ES #ne-betButton1000, .jurisdiction_ES .hideOnES {
    display: none !important;
    opacity: 0;
    pointer-events: none !important;
}
.jurisdiction_MA #ne-betButton100,.jurisdiction_MA #ne-betButton500,  .jurisdiction_MA #ne-betButton700,  .jurisdiction_MA #ne-betButton1000 {
    display: none !important;
    opacity: 0;
    pointer-events: none !important;
}

/* ui IOS */
.device_IOS #ne-switchFullScreenContainer, .device_IOS .paytableFullScreenButton,
.device_NotMobile #ne-switchFullScreenContainer, .device_NotMobile .paytableFullScreenButton {
    display: none !important;
    opacity: 0;
    pointer-events: none !important;
}
/*demo mode*/
.demoMode_ON .areaStorico {
    display: none !important;
    opacity: 0;
    pointer-events: none !important;
}

/* bs modal */
.modal-backdrop {
    z-index: 250 !important;
}
.modal.fade .modal-dialog {
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

/* envModals */
.envModal_modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9000;
}

.envModal_modal {
    background-color: #191919;
    padding: 0;
    border-radius: 8px;
    text-align: center;
    color: #fff;
    font-size: 1em;
}
.envModal_modal_title {
    background: #333;
    padding: 10px;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    text-align: center;
    color: #fff;
}
.envModal_modal_body {
    padding: 20px;
}
.envModal_modal h3 {
    margin: 0;
    font-size: calc(1rem + .6vw);
}

.envModal_modal img {
    width: 220px;
    height: 220px;
}

.envModal_modal button {
    padding: 10px 20px;
    background-color: #a60000;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}

.envModal_modal button:hover {
    background-color: #da0000;
}

@media screen and (max-width: 350px) {
    #logo {
        width: 80%;
    }

    #preloaderBar {
        width: 80%;
        height: 14px;
    }

    #progressBar {
        top: 25px;
        font-size: 10px;
        height: 21px;
    }
}