:root {
    --accent-1: #49A996;
    
    --accent-2: #047968;
    --accent-2-contrast-1: #FFFFFF;
    
    --accent-3: #004C3E;
    
    --accent-4: #FF0000;
    --accent-4-contrast-1: #FFFFFFAB;
    --accent-4-contrast-2: #FFFFFF;
    
    --accent-5: #F1CF00;
    --accent-5-contrast-1: #000000DE;
    
    --base-1: #12121A;
    --base-1-contrast-1: #FFFFFFDE;
    --base-1-contrast-2: #FFFFFF7A;
    --base-1-contrast-3: #49A996;
    --base-1-contrast-4: #047968;
    --base-1-contrast-5: #FFFFFF2E;
    
    --base-2: #282833;
    --base-2-contrast-1: #FFFFFFDE;
    --base-2-contrast-2: #FFFFFFAB;
    --base-2-contrast-3: #49A996;
    --base-2-contrast-4: #383847;
    
    --base-3: #1E1E26;
    --base-3-contrast-1: #FFFFFFDE;
    --base-3-contrast-2: #FFFFFF7A;
    --base-3-contrast-3: #49A996;
    --base-3-contrast-4: #FFFFFF;
    --base-3-contrast-5: #FFFFFFAB;
    --base-3-contrast-6: #383847;
    --base-3-contrast-7: #FFFFFF1F;
    
    --base-4: #383847;
    --base-4-contrast-1: #FFFFFFAB;
    --base-4-contrast-2: #282833;
    
    --bottom-navbar: #282833;
    --bottom-navbar-contrast-1: #FFFFFFAB;
    --bottom-navbar-selected: #F1CF00;
    
    --odd: #383847;
    --odd-border: #FFFFFF1F;
    --odd-contrast-1: #FFFFFFDE;
    --odd-selected: #F1CF00;
    --odd-selected-border: #FFFFFF1F;
    --odd-selected-contrast-1: #1E1E26;
    
    --base-4: #32353B;
    --contrast-1: #FFFFFFAB;
    --contrast-2: #0504041f;
    --contrast-3: #FFFFFFDE;
    --contrast-4: #FFFFFF2E;
    --contrast-5: #FFFFFF7A;
    --contrast-6: #FFFFFF;
    --contrast-7: #383847;
    --contrast-8: #000000DE;
    --h2h-away: #EF8A00;
    --h2h-draw: #FFCE05;
    --h2h-home: #559B9A;
    --h2h-lost: #E65853;
    --h2h-won: #26AD60;
    
    --shadow: #00000066;
    --shadow-2: rgb(0 0 0 / 15%) 2.4px 2.4px 3.2px;
    --shadow-contrast-1: #FFFFFF;
    --shadow-start: #000;
    --shadow-end: #00000088;
    
    --navbar-height: 3rem;
}

#root {
    background: var(--base-1);
}

@tailwind base;
/* @tailwind components; */
@tailwind utilities;

.embla {
    overflow: hidden;
}
.embla__container {
    display: flex;
}
.embla__slide {
    flex: 0 0 100%;
}

#xs_mobile {
    background: var(--cs7);
}

.xs-cols-layout-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
.xs-cols-layout-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.xs-cols-layout-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xs-font-icon {
    font-size: large;
}

.xs-box-shadow {
    box-shadow: var(--shadow-2);
}

.xs-sport-icon {
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.margine-giu {
    margin-bottom: 1rem;
}

.margine-giu-2x {
    margin-bottom: 2rem;
}

.margine-giu-mezzo {
    margin-bottom: 0.5rem;
}

.margine-su {
    margin-top: 2rem;
}

.margine-su-1x {
    margin-top: 1rem;
}

.margine-su-mezzo {
    margin-top: 0.5rem;
}

.margine-sx-mezzo {
    margin-left: 0.5rem;
}

.margine-sinistra,
.margine-sx {
    margin-left: 1rem;
}

.margine-dx,
.margine-destra {
    margin-right: 1rem;
}

.margine-dx-mezzo {
    margin-right: 0.5rem;
}

.margine-orizzontale {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.margine-verticale {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.no-margin {
    margin: 0 !important;
}

.customPopup {
    position: fixed;
    z-index: 99999;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    left: 0;
}

.customPopup__content {
    position: fixed;
    z-index: 999999;
    width: 80%;
    max-width: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.customPopup__content hr {
    margin: 6px 0;
    border-top: 1px solid var(--cs13);
}

.customPopup__content button {
    border: none;
    outline: none;
    background-color: transparent;
    height: 32px;
}

.customPopup__content > * {
    padding: 6px 12px;
    font-size: 12px;
}

.customPopup__content > *:first-child {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.customPopup__content > *:last-child {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.customPopup__content__header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    background-color: var(--cs13);
    color: white;
    font-weight: 500;
    text-transform: uppercase;
}

.customPopup__content__header__closeButton {
    position: absolute;
    right: 10px;
    top: 10px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.customPopup__content__body {
    background-color: white;
    text-transform: uppercase;
    font-weight: 500;
}

.customPopup__content__body__clickable {
    font-weight: 500;
}

.customPopup__content__body__clickable--success {
    color: green;
}

.customPopup__content__body p {
    color: black;
}

/* calcolatrice */

a.apri-calc {
    display: flex;
    align-items: center;
    padding: 0.35rem;
}

.riga-calc {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
    margin-bottom: 0.25rem;
}

.calcSingola-keys button,
.calcMultipla-keys button {
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    max-width: unset !important;
    margin-bottom: 0.5rem;
    border-radius: 4px !important;
    color: #666;
    margin-right: 0.25rem;
    margin-bottom: 0;
    width: 100%;
}

.riga-calc button:last-child {
    margin-right: 0;
}

.input-calc {
    /* background: transparent !important; */
    background: var(--cs7) !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    max-width: unset !important;
    margin-bottom: 0.5rem;
    padding: 0.75rem 0.75rem !important;
    border-radius: 4px !important;
    color: var(--cs6);
    width: 0;
    flex: 0 0 50%;
}

.bottoni-calc {
    display: flex;
    justify-content: space-around;
}

.bottoni-calc input {
    appearance: unset;
    background: var(--cs7);
    box-shadow: unset;
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 0.35rem;
    border-radius: 4px;
    width: 100%;
    color: var(--cs6);
    margin-right: 2px;
}

.inserimento-puntata {
    padding: 0.5rem;
}

.bottoni-calc input:last-child {
    margin-right: 0;
}

/*  fine calcolatrice */

/* Odds variation animation */
@keyframes xs-incr-arrow-keyframe {
    0% {
        top: 100%;
        background-image: url('icons/arrow-white.svg');
    }
    
    100% {
        top: 0%;
        background-image: url('icons/arrow-green.svg');
    }
}

@keyframes xs-decr-arrow-keyframe {
    0% {
        bottom: 100%;
        background-image: url('icons/arrow-white.svg');
    }
    
    100% {
        bottom: 0%;
        background-image: url('icons/arrow-red.svg');
    }
}

.xs-incr {
    overflow: hidden;
    position: relative;
}

.xs-incr::after {
    content: "";
    background-repeat: no-repeat;
    background-size: cover;
    width: 8px;
    height: 8px;
    position: absolute;
    color: white;
    z-index: 1;
    left: 0px;
    animation-duration: 1.5s;
    animation-timing-function: ease-in;
    animation-direction: normal;
    animation-fill-mode: forwards;
    animation-iteration-count: 3;
    animation-name: xs-incr-arrow-keyframe;
    top: 0px;
}

.xs-decr {
    overflow: hidden;
    position: relative;
}

.xs-decr::after {
    content: "";
    background-repeat: no-repeat;
    background-size: cover;
    width: 8px;
    height: 8px;
    position: absolute;
    color: white;
    z-index: 1;
    left: 0px;
    animation-duration: 1.5s;
    animation-timing-function: ease-in;
    animation-direction: normal;
    animation-fill-mode: forwards;
    animation-iteration-count: 3;
    animation-name: xs-decr-arrow-keyframe;
    transform: rotate(180deg);
    bottom: 0px;
}
/* End odds variation animation */

#radar-streaming-container-player,
.arena-live-stream-video,
.genius-iframe-live-streaming {
    min-height: 200px;
    height: fit-content;
}

:root {
    --altezza-header-contogioco: 44px;
    --altezza-footer-contogioco: 58px;
}

#cg_exa-mobileSportAppContainer {
    padding-top: 0 !important;
    position: absolute;
    top: var(--altezza-header-contogioco);
    bottom: var(--altezza-footer-contogioco);
    width: 100%;
}

body {
    position: relative;
}

body #xs-modal-container > .absolute {
    position: fixed;
    overflow-y: auto;
    /* z-index: 100000; */
    z-index:999; 
}

/* Legenda */
:root {
    --colore-giocab-1: blue;
    --colore-giocab-2: green;
    --colore-giocab-3: yellow;
    --colore-giocab-4: red;
    --colore-giocab-5: orange;
}

.blocco-giocab::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 2px;
    position: absolute;
    left: 4px;
    top: 4px;
}
.blocco-giocab--1::before {
    background-color: var(--colore-giocab-1);
}
.blocco-giocab--2::before {
    background-color: var(--colore-giocab-2);
}
.blocco-giocab--3::before {
    background-color: var(--colore-giocab-3);
}
.blocco-giocab--4::before {
    background-color: var(--colore-giocab-4);
}
.blocco-giocab--5::before {
    background-color: var(--colore-giocab-5);
}

.legenda-giocab {
    color: var(--nav-text-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.legenda-giocab > * {
    margin-right: 0.75rem;
}
.legenda-giocab {
    background: var(--cc2) !important;
    border-color: transparent !important;
    color: var(--cs1) !important;
}

.legenda-giocab p {
    color: var(--cs1) !important;
}
.legenda-giocab__gruppi-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 1rem;
}
.legenda-giocab__gruppo-legenda {
    display: flex;
    align-items: center;
}
.legenda-giocab__icona-giocab {
    content: " ";
    width: 12px;
    height: 12px;
    border-radius: 4px;
    margin-right: 0.25rem;
}
.legenda-giocab__icona-giocab--1 {
    background-color: var(--colore-giocab-1);
}
.legenda-giocab__icona-giocab--2 {
    background-color: var(--colore-giocab-2);
}
.legenda-giocab__icona-giocab--3 {
    background-color: var(--colore-giocab-3);
}
.legenda-giocab__icona-giocab--4 {
    background-color: var(--colore-giocab-4);
}
.legenda-giocab__icona-giocab--5 {
    background-color: var(--colore-giocab-5);
}
/* Legenda */

input[type=checkbox]:disabled + span {
    border-color: transparent !important;
}
input[type=checkbox]:disabled + span::after {
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background-color: red;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='16' width='16' viewBox='0 0 512 512'%3E%3Cpath d='M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='16' width='16' viewBox='0 0 512 512'%3E%3Cpath d='M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z'/%3E%3C/svg%3E");
}

.cashoutVariationToggleContainer{
	width: 100%;
    display: flex;
    align-items: center;
    margin-top:5%;
    margin-bottom:5%;
    justify-content:center;
    border-style: solid;
    border-width: 1px;
    border-radius: 6px;
    height: 35px;
    border-color: #d9d9d9;
}

.cashoutVariationToggleContainer > span {
	margin-left:5%;
}

.customPopup.cashout{
	left: 0;
}
.customPopup__content__body.cashout{
	text-align: center;
	text-transform: none;
    font-weight: unset;
}



.custom-switch-2 {
    margin: 0;
    position: relative;
    display: inline-block;
    height: 16px;
    width: min-content;
    padding-right: 28px;
    display: flex;
    align-items: baseline;
}

.custom-switch-2>*:not(:last-child) {
    margin-right: 0.5rem;
}

.custom-switch-2 .custom-switch-2-text {
    line-height: 16px;
    font-weight: bold;
    color: #ccc;
}

.custom-switch-2 input {
    opacity: 0;
    width: 0;
    height: 0;
    display: none;
}

.custom-switch-2 input:checked~.custom-slider-2 {
    background-color: #ff6600;
}

.custom-switch-2 input:checked~.custom-slider-2::before {
    -webkit-transform: translate(12px, -50%);
    -ms-transform: translate(12px, -50%);
    transform: translate(12px, -50%);
}

.custom-switch-2 input:checked~.custom-switch-2-text {
    color: #ff6600;
}

.custom-switch-2 input:focus~.custom-slider-2 {
    box-shadow: 0 0 1px #ff6600;
}

.custom-switch-2 .custom-slider-2 {
    position: absolute;
    cursor: pointer;
    width: 28px;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.custom-switch-2 .custom-slider-2::before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 2px;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    top: 50%;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.custom-switch-2 .custom-slider-2.round {
    border-radius: 16px;
}

.custom-switch-2 .custom-slider-2.round::before {
    border-radius: 50%;
}

.live-scores-disclaimer {
    margin: 10px;
    padding: 10px 6px;
    background-color: red;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
}
