body {
  width: 1024px;
  height: 880px;
  position: absolute;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

#altri_giochi {
  height: 100% !important;
}

.box_footer {
  top: 850px !important;
}

#footer_div {
  position: absolute;
  left: 0;
  bottom: 0px;
  top: unset !important;
  top: 0px !important;
  height: 30px !important;
  width: 100%;
}

#slot_container {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -512px;
  width: 1024px;
  height: 880px;
  background-color: lime;
  overflow: hidden;
}

#demo_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: none;
}

#velina_demo_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  display: none;
}

/* inizio parte forse comune */

#sfondo_container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* VECCHI PREMI
#logo_slot {
  position: absolute;
  top: 28px;
  left: 50%;
  width: 200px;
  transform: translateX(-50%);
  z-index: 3;
} */

#logo_slot {
  position: absolute;
  top: 2px;
  left: 50%;
  width: 210px;
  transform: translateX(-50%);
  z-index: 999;
}

#contenitore_rulli {
  position: absolute;
  /* VECCHI PREMI
  top: -3px; */
  top: 150px;
  left: 50%;
  width: 940px;
  margin-left: -470px;
}

/*
VECCHI PREMI
#rulli_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
} */

#rulli_bg {
  position: absolute;
  width: 520px;
  top: 0%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 357px));
}

.rulli {
  position: absolute;
  width: 342px;
  top: -59px;
  height: 390px;
  clip-path: polygon(0 83px, 100% 83px, 100% 307px, 0 307px);
}

#rulloA {
  left: -2px;
}

#rulloB {
  left: 244px;
}

#contenitore_premi {
  position: absolute;
  top: 105px;
  left: 40px;
  width: 942px;
  height: 380px;
}

.box_premio {
  position: absolute;
  left: -75px;
  width: 252px;
  height: 30px;
  display: flex;
  justify-content: flex-end;
}

#box_premio1 {
  top: 60px;
}

#box_premio2 {
  top: 105px;
}

#box_premio3 {
  top: 149px;
}

#box_premio4 {
  top: 194px;
}

#box_premio5 {
  top: 238px;
}

#box_premio6 {
  top: 283px;
}

#box_premio7 {
  top: 326px;
}

#box_premio8 {
  top: 372px;
}

#box_premio9 {
  top: 414px;
}

#box_premio10 {
  top: 461px;
}

#box_premio11 {
  top: 504px;
}

#box_premio12 {
  top: 549px;
}

#box_premio13 {
  top: 594px;
}

#box_premio14 {
  top: 638px;
}

#box_premio15 {
  top: 681px;
}

.box_premio > img {
  float: left;
  height: 100%;
}

#spin {
  position: absolute;
  top: 615px;
  left: 50%;
  width: 204px;
  margin-left: -80px;
}

#pulsantiera {
  position: absolute;
  top: 22px;
  left: 0;
  width: 100%;
}

#box_credito {
  position: absolute;
  top: 620px;
  left: 9px;
  width: 219px;
}

#box_credito > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

#valore_credito {
  position: absolute;
  top: 63px;
  left: 0;
  width: 100%;
  height: 45px;
  display: flex;
  justify-content: center;
  z-index: 1;
}

#valore_credito > img {
  float: left;
  height: 100%;
}

#box_bet {
  position: absolute;
  top: 748px;
  left: 695px;
  width: 161px;
  height: 49px;
}

#bet_less,
#bet_more,
#cash_less,
#cash_more {
  position: absolute;
  z-index: 2;
  width: 26px;
  height: 50px;
  border-radius: 0;
  cursor: pointer;
  opacity: 0;
}

#bet_less {
  top: 0;
  left: 0;
}

#bet_more {
  top: 0;
  right: 0;
}

#cash_less {
  top: 1px;
  left: 0px;
}

#cash_more {
  top: 1px;
  right: 0px;
}

#valore_bet {
  position: absolute;
  top: 16px;
  left: 0px;
  width: 100%;
  height: 30px;
  display: flex;
  justify-content: center;
  z-index: 1;
}

#valore_bet > img {
  float: left;
  height: 100%;
}

#incassa_tutto {
  position: absolute;
  z-index: 1;
  top: 715px;
  left: 360px;
  width: 89px;
  height: 89px;
  cursor: pointer;
  border-radius: 50%;
  border: none;
  background-color: transparent;
}

#incassa_ultimo {
  position: absolute;
  z-index: 1;
  top: 719px;
  left: 577px;
  width: 89px;
  height: 85px;
  cursor: pointer;
  border-radius: 50%;
  border: none;
  background-color: transparent;
}

#incassa_tutto[disabled],
#incassa_ultimo[disabled] {
  background: rgb(0, 0, 0);
  background: -moz-linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  background: -webkit-linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#000000", GradientType=1);
  cursor: default;
}

#incassa_ultimo[disabled] {
  transform: rotate(180deg);
}

#box_cash {
  position: absolute;
  top: 748px;
  left: 170px;
  width: 161px;
  height: 49px;
}

#valore_cash {
  position: absolute;
  top: 16px;
  left: 0px;
  width: 100%;
  height: 30px;
  display: flex;
  justify-content: center;
  z-index: 1;
}

#valore_cash > img {
  float: left;
  height: 100%;
}

#wrap_esiti_giochi {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
  display: none;
}

#box_esito_vittoria {
  position: absolute;
  top: 249px;
  left: 50%;
  width: 920px;
  margin-left: -460px;
  display: none;
}

#box_esito_vittoria > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

#valore_esito_vittoria {
  position: absolute;
  top: 212px;
  left: 156px;
  width: 610px;
  height: 124px;
  text-align: center;
  z-index: 1;
  color: #fff;
  font-size: 100px;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: bold;
  line-height: 124px;
}

#valore_esito_vittoria > img {
  float: left;
  height: 100%;
}

#esito_gico_finito {
  position: absolute;
  top: 250px;
  left: 50%;
  width: 920px;
  margin-left: -460px;
  display: none;
}

#box_esito_mg {
  position: absolute;
  top: 249px;
  left: 50%;
  width: 920px;
  margin-left: -460px;
}

#box_esito_mg > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

#valore_esito_mg {
  position: absolute;
  top: 294px;
  left: 156px;
  width: 610px;
  height: 44px;
  text-align: center;
  z-index: 1;
  color: #fff;
  font-size: 70px;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: bold;
  line-height: 44px;
}

#valore_esito_mg > img {
  float: left;
  height: 100%;
}

#overlay_magicgame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: none;
}

#overlay_magicgame > img {
  position: absolute;
  top: 212px;
  left: 50%;
  margin-left: -500px;
  width: 1000px;
}

#wrap_magicgame,
#wrap_slide_pagamenti {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 11;
}

#wrap_magicgame,
#wrap_slide_pagamenti {
  display: none;
}

#wrap_slide_pagamenti .sfondo,
#wrap_magicgame .sfondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#sotto_contenitore_rulli {
  overflow: hidden;
  position: absolute;
  /* VECCHI PREMI
  top: 186px;
  left: 166px; */
  top: 209px;
  left: 177px;
  width: 590px;
  height: 266px;
}

/* VECCHI PREMI #tavolette_importi {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0px;
  top: 7px;
}

#tavolette_importi .tavoletta {
  width: 189px;
  height: 38px;
  color: white;
  position: relative;
  top: 0;
  left: 0;
}

#tavolette_importi .tavoletta:nth-child(2),
#tavolette_importi .tavoletta:nth-child(4),
#tavolette_importi .tavoletta:nth-child(6),
#tavolette_importi .tavoletta:nth-child(8),
#tavolette_importi .tavoletta:nth-child(10),
#tavolette_importi .tavoletta:nth-child(12),
#tavolette_importi .tavoletta:nth-child(14) {
  left: 731px;
  top: -30px;
  margin-bottom: -31px;
}

#tavolette_importi .tavoletta:nth-child(3),
#tavolette_importi .tavoletta:nth-child(5),
#tavolette_importi .tavoletta:nth-child(7),
#tavolette_importi .tavoletta:nth-child(9),
#tavolette_importi .tavoletta:nth-child(11),
#tavolette_importi .tavoletta:nth-child(13),
#tavolette_importi .tavoletta:nth-child(15) {
  left: 3px;
  top: 8px;
}

#tavolette_importi .tavoletta:nth-child(1) {
  width: 286px;
  left: 652px;
  text-align: center;
  line-height: 49px;
  height: 53px;
  top: -3px;
}

#tavolette_importi .tavoletta:nth-child(2) {
  top: 12px;
}

#tavolette_importi .tavoletta:nth-child(4) {
  top: 13px;
}

#tavolette_importi .tavoletta:nth-child(6) {
  top: 13px;
}

#tavolette_importi .tavoletta:nth-child(8) {
  top: 14px;
}

#tavolette_importi .tavoletta:nth-child(10) {
  top: 14px;
}

#tavolette_importi .tavoletta:nth-child(12) {
  top: 15px;
}

#tavolette_importi .tavoletta:nth-child(14) {
  top: 16px;
}

#tavolette_importi .tavoletta:nth-child(2) .tavoletta_num,
#tavolette_importi .tavoletta:nth-child(4) .tavoletta_num,
#tavolette_importi .tavoletta:nth-child(6) .tavoletta_num,
#tavolette_importi .tavoletta:nth-child(8) .tavoletta_num,
#tavolette_importi .tavoletta:nth-child(10) .tavoletta_num,
#tavolette_importi .tavoletta:nth-child(12) .tavoletta_num,
#tavolette_importi .tavoletta:nth-child(14) .tavoletta_num {
  padding-left: 16px;
  transform-origin: 0% 50%;
  transform: scale(0.9);
}
#tavolette_importi .tavoletta:nth-child(2) .tavoletta_num {
  padding-left: 19px;
}

#tavolette_importi .tavoletta:nth-child(3) {
  top: 5px;
}

#tavolette_importi .tavoletta:nth-child(5) {
  top: 6px;
}

#tavolette_importi .tavoletta:nth-child(7) {
  top: 6px;
}

#tavolette_importi .tavoletta:nth-child(9) {
  top: 8px;
}

#tavolette_importi .tavoletta:nth-child(11) {
  top: 7px;
}

#tavolette_importi .tavoletta:nth-child(13) {
  top: 9px;
}

#tavolette_importi .tavoletta:nth-child(15) {
  top: 9px;
}

#tavolette_importi .tavoletta:nth-child(3) .tavoletta_num,
#tavolette_importi .tavoletta:nth-child(5) .tavoletta_num,
#tavolette_importi .tavoletta:nth-child(7) .tavoletta_num,
#tavolette_importi .tavoletta:nth-child(9) .tavoletta_num,
#tavolette_importi .tavoletta:nth-child(11) .tavoletta_num,
#tavolette_importi .tavoletta:nth-child(13) .tavoletta_num,
#tavolette_importi .tavoletta:nth-child(15) .tavoletta_num {
  text-align: right;
  padding-right: 18px;
  transform-origin: 100% 50%;
  transform: scale(0.9);
}
#tavolette_importi .tavoletta:nth-child(3) .tavoletta_num {
  padding-right: 20px;
} 

#tavolette_importi .tavoletta:nth-child(1) .tavoletta_num {
  font-size: 25px;
}

*/

/* #tavolette_importi .tavoletta:nth-child(14) .tavoletta_num, #tavolette_importi .tavoletta:nth-child(15) .tavoletta_num {
    font-size: 18px;
}
#tavolette_importi .tavoletta:nth-child(12) .tavoletta_num, #tavolette_importi .tavoletta:nth-child(13) .tavoletta_num {
    font-size: 19px;
}
#tavolette_importi .tavoletta:nth-child(10) .tavoletta_num, #tavolette_importi .tavoletta:nth-child(11) .tavoletta_num {
    font-size: 20px;
}
#tavolette_importi .tavoletta:nth-child(8) .tavoletta_num, #tavolette_importi .tavoletta:nth-child(9) .tavoletta_num {
    font-size: 23px;
}
#tavolette_importi .tavoletta:nth-child(6) .tavoletta_num, #tavolette_importi .tavoletta:nth-child(7) .tavoletta_num {
    font-size: 24px;
} */

.tavoletta_num {
  /* font-size: 17px; */
}




#slide_pagamenti_1 {
  background-image: url("../img/tabella1.png");
}

#slide_pagamenti_2 {
  background-image: url("../img/tabella2.png");
}

#slide_pagamenti_3 {
  background-image: url("../img/tabella3.png");
}

.slide_pagamenti {
  width: 990px;
  height: 848px;
  background-size: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.slide_button {
  width: 102px;
  height: 62px;
  position: absolute;
  top: 735px;
  border-radius: 10px;
  opacity: 0;
  cursor: pointer;
}

.slide_button_1 {
  left: 268px;
}

.slide_button_2 {
  left: 401px;
  width: 188px;
  height: 63px;
}

.slide_button_3 {
  left: 620px;
}

/* maschera fondi */

#fondi_block {
  z-index: 999;
  position: absolute !important;
  width: 100%;
  height: 100%;
}

.mascheraScura {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

#clipFondi {
  position: absolute;
  left: 50%;
  margin-left: -190px;
  width: 380px;
  height: 330px;
  display: block;
  top: 100px;
}

.titoloSuPoPup {
  position: absolute;
  left: 1px;
  top: 1px;
  width: calc(100% - 2px);
  height: 80px;
  line-height: 80px;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  color: white;
}

#messaggio_di_informazione_saldo {
  position: absolute;
  left: 0;
  top: 65px;
  width: 100%;
  height: 60px;
  line-height: 30px;
  font-size: 25px;
  text-align: center;
  color: white;
}

#messsaggio_di_richiesta_importo {
  position: absolute;
  left: 0;
  top: 110px;
  width: 100%;
  height: 30px;
  line-height: 20px;
  font-size: 20px;
  text-align: center;
  color: white;
}

#valore_fondi_aggiunti {
  position: absolute;
  left: 15%;
  width: 70%;
  top: 170px;
  height: 40px;
  font-size: 20px;
  text-align: center;
}

#pulsante_uscita_fondi {
  position: absolute;
  width: 150px;
  height: 50px;
  bottom: 30px;
  left: 20px;
  line-height: 50px;
  text-align: center;
  font-size: 20px;
  background-color: #a0a0a0;
  text-shadow: none;
}

#pulsante_aggiungta_fondi {
  cursor: pointer;
  position: absolute;
  bottom: 30px;
  right: 20px;
  width: 150px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 20px;
  text-shadow: none;
}

.angoliArrotondati14 {
  -webkit-box-shadow: 0 0 17px 0 rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0 0 17px 0 rgba(0, 0, 0, 0.75);
  box-shadow: 0 0 17px 0 rgba(0, 0, 0, 0.75);
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  border-radius: 14px;
}

.angoliArrotondati10 {
  -webkit-box-shadow: 0 0 17px 0 rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0 0 17px 0 rgba(0, 0, 0, 0.75);
  box-shadow: 0 0 17px 0 rgba(0, 0, 0, 0.75);
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  border-radius: 14px;
}

.angoliArrotondati10NoOmbra {
  -webkit-box-shadow: 0 0 17px 0 rgba(0, 0, 0, 0);
  -moz-box-shadow: 0 0 17px 0 rgba(0, 0, 0, 0);
  box-shadow: 0 0 17px 0 rgba(0, 0, 0, 0);
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  border-radius: 14px;
  text-align: center;
}

#maschera_dei_fondi {
  height: 881px;
  box-shadow: 0px 0px 1000px 1000px rgb(0, 0, 0, 0.5);
}

#loader_gif_fondi {
  display: none;
  margin-top: 150px;
}

#scelta_racchetta {
  left: 50%;
  top: 50%;
  margin-top: -440px;
  margin-left: -512px;
  width: 1024px;
  height: 880px;
  z-index: 2;
}

#scelta_racchetta__container {
  margin-top: -20px;
}

#scelta_racchetta__sfondo_e_rachette {
  margin-bottom: 20px;
}

#scelta_racchetta__sfondo {
  width: 800px;
}

#contenitore_superiore {
  transform: translateY(-800px);
}

#contenitore_inferiore {
  transform: translateY(350px);
}

#tavolette_importi {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + -100px));
  background-image: url('../img/display_premi.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  width: 430px;
  height: 270px;
  gap: 6px 4px;
  padding: 22px 23px;
}

#webview_frame {
  height: calc(100% - 30px);
}

.chiudiBtn {
  position: absolute;
  top: -2px;
  right: unset;
  width: 22px;
  height: 22px;
  cursor: pointer;
}

.headerWebview, .webviewMobile, .chiudiWebview {
  position: absolute !important;
}