/*CSS HANDLER */
body{
    background-image:url(../img/bodyBG/bg_hub-gradient.jpg);
    background-attachment: fixed;
    background-size: cover;
    overflow: hidden;
}

#left_column {
	float: unset;
	position: unset;
	width: unset;
	height: unset;
	margin: unset;
	z-index: 0;
	top: unset;
}

#container {
    width: 100%;
    position: absolute;
    top: calc(var(--navbar-height) + var(--section-height));
    bottom: 0;
}

#right_column {
	margin-right: 1%;
	width: 16%;
	max-width: unset;
}

#right_column::-webkit-scrollbar {
	display: none;
}

#main_content {
    background: none;
    min-height: 708px !important;
    position: relative;
    margin-top: 0px !important;
    top: 0;
    /* top: calc(var(--navbar-height) + var(--section-height)); */
    /* width: calc(100% - 296px - 296px); */
    width: 100%;
    margin: auto;
    overflow-y: hidden !important;
    overflow-x: hidden;
    height: calc(91vh - var(--navbar-height) - var(--section-height));
    /* z-index: -1 !important; */
}

.scrollableWrapper{
	overflow-y: auto;
	/* width: 100%; */
	height: 99%;
	position: relative;
	overflow-x: hidden;
}

.scrollableWrapper::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background: var(--regola_gradiente3);
}

.scrollableWrapper::-webkit-scrollbar {
	width: 7px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

.scrollableWrapper::-webkit-scrollbar-thumb {
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #70652A;
}

#section_upper_block {
   height: 0px !important;
   margin-bottom: 0;
} 
   
#section_lower_block {
   position: relative;
   height: 100%;
}

#category_tabs {
   display: none;
}

#navigationProvider {
   display: none;
}

.lobbies_container {
    clear: both;
    text-align: center;
    top: 50%;
    margin: 5px;
    position: relative !important;
}

.lobbies_container .lobbies_thumbs {
    width: 100%;
    justify-content: center !important;
    table-layout: auto;
    flex-flow: wrap;
    margin-top: 15px;
    flex-wrap: wrap;
} 

.lobbies_container .lobbies_thumbs li {
    position: relative;
    padding: 0;
    margin: 5px;
    border-radius: 5px;
    box-sizing: border-box;
}

ul.lobbies_thumbs li a {
    background: var(--table_row_2);
}

.lobbies_thumbs li a {
   background-repeat: no-repeat !important;
   background-position: center !important;
   display: block;
   background-size: 86% !important;
   height: 55px;
   width: 120px;
   margin-top: -2px;
   margin-left: -2px;
   border-radius: 5px;
   position: relative;
   border: 1px solid var(--border-main);
   cursor: pointer;
}

.lobbies_thumbs li a.selectedLobby {
    border-color: var(--textColor3);
}

.lobbies_thumbs li a:hover {
    border-color: var(--textColor3);
}

.lobbies_thumbs li .title{
    display: none;
}

.enterLobby{
  position: absolute;
  top: 71%; /* Adjust based on visual location of the green field */
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--textColorWhite);
  font-size: clamp(16px, 18px, 22px);
  font-weight: bold;
  text-align: center;
  padding: 0.3em 1em;
}

.text-wrapper{
    display: block;
}

.provider-name,
.text-wrapper a.button{
  position: absolute;
  top: 61vh;
  left: 50%;
  background: none;
  transform: translate(-50%, -50%);
  color: var(--textColorWhite);
  font-size: clamp(18px, 29px, 46px);
  font-weight: bold;
  text-align: center;
  padding: 0.3em 1em;
  text-shadow: -1px -1px 12px rgba(0,0,0,0.6);
  transition: 0.5s;
  cursor: pointer;
  text-transform: uppercase;
}

.text-wrapper a.TVBet {
  pointer-events: none !important;
  cursor: default !important;
}

.text-wrapper a.provider-name.TVBet:hover {
	color: #fff !important;
}

.text-wrapper .provider-name:hover,
.text-wrapper a.button:hover{
    background: none;
    color: var(--textColor3);
}

.radeEnterLobby {
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    border: 2px solid var(--textColorWhite);
    padding: 10px;
    color: var(--textColorWhite);
    background: var(--table_row_2);
    border-radius: 5px;
}

.radeEnterLobby:hover{
    border-color: var(--textColor);
    color: var(--textColor);
}

#hero-container{
	overflow-y:hidden;
	width: 100%;
}

.hero-image-wrapper {
	position: absolute;
	top: 45%;
	left: 50%;
	width: 100%;
	transform: translate(-50%, -50%);
	height: 100%;
	background-size: 190vh;
	background-repeat: no-repeat;
	background-position: center;
	z-index: 0;
	background-image: var(--liveCasinoImg);
}

.backgroundImg {
    width: 100%;
    background-size: 20%;
    height: 100%;
    opacity: 0.3;
    background-image: url("../img/backgroundImg/grid_background 1.svg") !important;
    z-index: -11;
    top: calc(var(--navbar-height) + var(--section-height));
    position: absolute;
}

.radeEnterLobby .enterArr:hover {
    background: #ffffff1f;
    -webkit-mask-image: url(/res/Client/img/arrows/arr_up.svg);
    mask-image: url(/res/Client/img/arrows/arr_up.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.enterArr {
    animation: upDown 1s infinite ease-in-out;
}

#game_category_nav_tab {
    display: none !important;
}

#thumbs_container_new .hcasino {
    display: none;
}

#thumbs_container_new .Live_Casino ul a.button,
#thumbs_container_new .LiveCasino ul a.button{
    display: none !important;
}

#thumbs_container_new {
    display: flex;
    margin-top: 130px;
    position: relative;
    top: 63vh;
}

#thumbs_container_new .games_categories {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#thumbs_container_new .category {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#thumbs_container_new .games_thumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* make the UL a responsive 4×4 grid */
#thumbs_container_new ul.games_thumbs {
  /* display: grid; */
  /* grid-template-columns: repeat(4, 15%); */
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  margin-bottom: 10px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  width: 49%;
  margin: auto;
	margin-bottom: 1%;
}

#thumbs_container_new ul.games_thumbs>div{
	width: 180px;
	overflow: hidden;
	position: relative;
}

#thumbs_container_new ul.games_thumbs li {
	position: relative;
	width: 100%;
}

#thumbs_container_new ul div img{
	border-radius: 5px;
	border: 1px solid #ffffff1f;
	width: 100%;
	height: 180px;
	z-index: -1;
	object-fit: cover;
	position: relative;
}

.games_thumbs .wrapper_title {
    margin-top: -45px;
    background-color: #0000008f !important;
    padding: 5px;
    height: 45px;
    border-radius:  0 0 5px 5px;
    width: 100%;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between
}

.games_thumbs span.title {
    display: block !important;
    color: var(--textColorWhite);
    text-align: center;
    vertical-align: middle;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0em;
    text-align: left;
    padding-left: 10px;
    position: relative;
    width: 6rem;
    word-break: break-word;     /* Break long words to fit */
    overflow-wrap: break-word;  /* Older/alternative support */
    hyphens: auto;
}

body.unlogged #thumbs_container_new ul.games_thumbs .for_logged {
	display: none;
}

/* hide the “Gioca” links and overlay spans */
#thumbs_container_new ul.games_thumbs .for_logged {
  background-image: url(../img/play/Play.svg);
  position: absolute;
  transition: 0.3s ease-in-out;
  padding: 15px;
  width: 5rem;
  height: 1.5rem;
  background-repeat: no-repeat;
  right: 0;
  bottom: 7px;
  right: 5px;
}

#thumbs_container_new ul.games_thumbs .for_logged:hover {
	color: var(--textColor);
}

#thumbs_container_new ul.games_thumbs .preferred,
#thumbs_container_new ul.games_thumbs .new{
	display: none;

}

div#user_navigation .wrapper,
#girocontoFloat #navbarNavG {
	top: -69px !important;
}

@media (max-width: 1500px) {
	.provider-name, .text-wrapper a.button {
	    top: 63.2vh !important;
	}
}

@media (max-width: 1440px) {
	#thumbs_container_new ul.games_thumbs .for_logged {
		padding: 5px;
		min-width: 4rem;
		width: 3rem;
	}
}

@media (max-width: 1200px) {
	#right_column {
		width: 22%;
	}
	#transfer_money .form_content fieldset label {
		margin-left: 7px !important;
		font-size: 10.5px !important;
	}
	.form_content fieldset label span {
		margin-right: unset !important;
	}
	#transferForm {
		margin-top: 7dvh;
	}
}

@media (max-width: 1024px) {
	#thumbs_container_new .games_thumbs {
	    width: 75%;
	}
}

/* drop to 3 columns on smaller screens */
@media (max-width: 992px) {
  #thumbs_container_new ul.games_thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 2 columns on tablets/large phones */
@media (max-width: 768px) {
    #thumbs_container_new ul.games_thumbs {
        display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
    }
}

/* single column on narrow phones */
@media (max-width: 576px) {
  #thumbs_container_new ul.games_thumbs {
    gap: 10px;
  }
}

@media (max-width: 400px) {
    #thumbs_container_new ul.games_thumbs {
        display: grid;
		grid-template-columns: repeat(1, 1fr);
		width: 59%;
    }
	#thumbs_container_new ul.games_thumbs>div {
		width: 230px;
	}
	#thumbs_container_new ul div img {
		height: 210px;
	}
}

input#amnTransfer {
    background: #E8F0FE! important;
    width: 100px;
    height: 26px;
    border: none;
    padding: 0;
    color: black !important;
    font-size: 12px;
    font-weight: bold;
    line-height: 12px;
    letter-spacing: 0em;
    text-align: center;
    cursor: pointer;
    margin-top: 1px;
    border-radius: 7px 0 0 7px;
    border:  1px solid white;
}

input#amnTransfer::placeholder {
	color: black;
}


#amountCont {
    display: flex;
    padding: 0 !important;
    justify-content: center;
    width: 100%;
    height: 26px;
    border-radius: 6px;
    position: relative;
}

#amountCont::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 6px;
    padding: 1px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -2;
    width: 266px;
    height: 26px;
}

#btnRefresh {
    background: transparent;
    width: 22px;
    height: 22px;
    border: none !important;
    border-radius: 3px;
    float: right;
    margin: 0;
    margin-right: 47%;
    margin-top: -20px;
    position: relative;
    overflow: hidden;
}

#btnRefresh::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 3px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -2;
}

#btnRefresh::after {
    content: "";
    position: absolute;
    width: 70%;
    height: 70%;
    background-image: url(../img/arrows/refresh.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease-in-out;
}

#btnRefresh:hover::after {
    transform: translate(-50%, -50%) rotate(180deg);
}

#btnTranfer {
    font-size: 11px !important;
    font-weight: bold;
    background: var(--textColor3);
    color: black;
}

#btnTranfer:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

#btnTranfer:hover {
    background: var(--textColor3);
    color: black;
}

#imgMoney {
    display: none;
    float: right;
    margin-right: 8%;
    margin-top: -44px;
    width: 60px;
}

#popUpBtn {
	display: flex;
	cursor: pointer;
	color: white;
	margin: 25px 15% 0 15%;
	justify-content: center;
	padding: 10px;
	border: 1px solid #ffffff1f;
	border-radius: 6px;
	background: var(--table_row);
	transition: all 0.3s ease-in-out;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
	letter-spacing: 1px;
}

#popUpBtn:hover {
    color: black;
    background: var(--textColor3);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

#transfer_money {
    background: var(--table_row_2);
    backdrop-filter: blur(10px);
    margin: 0;
    padding: 0 !important;
    width: 100%;
    right: 17vh;
    top: 12.5vh;
    height: 220px;
    border-radius: 10px;
    border: 1px solid var(--border-main);
    z-index: 1;
}

@media (max-width: 1400px) {
	#transfer_money .form_content fieldset label {
	    margin-left: 5px !important;
		font-size: 10px !important;
	}
	#right_column {
		width: 20% !important;
	}
}

#transfer_money .form_content fieldset label {
    font-size: 12.5px;
    font-weight: 200;
    letter-spacing: 0em;
    text-align: left;
	display: flex;
	justify-content: center;
}

#transfer_money .form_content fieldset label[for="amnTransfer"] {
	margin-left: unset !important;
}

/* #transfer_money::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 100%), linear-gradient(139.4deg, #ffffff 8.21%, rgba(198, 198, 198, 0) 95.38%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -2;
} */

/* Money */
#transferForm {
    margin-top: 5dvh;
}

.form_content.radio .InsNesha {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
	flex-direction: column;
}

.form_content.radio .InsNesha label {
    white-space: nowrap;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.form_content {
    background: transparent;
	padding: unset;
}

.form_content button {
    margin: 0 !important;
    width: 100px;
    height: 26px;
    border-radius: 0px 6px 6px 0px;
    border: none;
    background: transparent;
    border-left: 1px solid #a5a8ae;
    color: #ffffff;
    margin-top: 1px !important;
    font-size: 12px;
}

.form_content button:active,
.form_content button:focus,
.form_content button:hover {
    border-left: 1px solid #a5a8ae;
    background: linear-gradient(95.02deg, #88a920 0.93%, #d8ec38 96.72%);
    color: #190a31;
}

.form_content fieldset label {
    margin: unset;
}

.form_content fieldset label input[type="radio"] {
    position: relative;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-color: transparent;
    margin-right: 5px !important;
    border-radius: 50%;
    height: 10px;
    width: 10px;
}

.form_content fieldset label input[type="radio"]:checked,
.form_content fieldset label input[type="radio"]:focus,
.form_content fieldset label input[type="radio"]:hover {
    background: var(--textColor3);
    border: 0;
}

.money_info {
    margin-top: 15px !important;
    position: absolute;
    width: 100%;
	padding-bottom: 7px;
    text-align: left;
    border-bottom: 1px solid var(--border-main);
}

.moneyAmount {
    display: flex !important;
    width: 100%;
    left: 5%;
    right: 5%;
    flex-direction: row;
    justify-content: space-around;
}

.moneyAmount span {
    margin-left: 0;
    margin-right: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0em;
    text-align: left;
    color: #ffffff !important;
}

.moneyAmount span span {
    color: var(--textColor) !important;
}

.radio1::before,
.radio2::before {
    content: "";
    position: absolute;
    height: 11.2px;
    width: 11.2px;
    border-radius: 50%;
    padding: 1px;
    background: linear-gradient(139.4deg, #ffffff 8.21%, transparent 95.38%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -2;
}

.radio1:checked::before,
.radio1:focus::before,
.radio1:hover::before,
.radio2:checked::before,
.radio2:focus::before,
.radio2:hover::before {
    content: "";
    position: absolute;
    height: 11.2px;
    width: 11.2px;
    border-radius: 50%;
    padding: 1px;
    background: linear-gradient(139.4deg, #d8ec38 8.21%, transparent 95.38%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -2;
}

.verticalLine {
    display: none !important;
    background: radial-gradient(50% 50% at 50% 50%, #d9d9d9 0%, rgba(217, 217, 217, 0) 100%);
    width: 1px;
    height: 35px;
    margin-top: -7px;
}

.insRadeFilter {
    display: none;
}

@media screen and (max-width: 991px){
		#container {
	    width: 100%;
	    position: relative;
	    bottom: 0;
		top: 0;
	}
	#left_column.lobbies_container.visibleProvidersRade{
		display:block !important;
	}
    #left_column {
		display: none;
		opacity: 0;
		transition: opacity 0.5s ease-in-out;
		position: absolute;
		background: var(--bg_color);
		height: 88vh !important;
		overflow: hidden;
	}
	#main_content {
		top: unset;
		height: calc(89vh - var(--section-height) - var(--footer-height)) !important;
		width: 100%;
		margin-bottom: 100px;
	}

	.scrollableWrapper {
		height: calc(100dvh - var(--navbar-height) - var(--footer-height));
		padding-bottom: calc(var(--footer-height) - 16px);
	}
	
	.scrollableWrapper::-webkit-scrollbar {
		display: none;
	}
	.hero-image-wrapper-TVBet {
		background-image: url("../img/heroImg/cubes.svg");
		height: 100%;
		background-size: 176vh;
		background-repeat: no-repeat;
		background-position: center;
		z-index: -1;
		position: absolute;
		width: 100%;
		bottom: 50%;
	}
	.lobbies_container .lobbies_thumbs li {
		width: 44%;
		height: 13vw !important;
	}
	.lobbies_thumbs li a {
		height: 100%;
		width: 100%;
	}
    .backgroundImg {
        margin-top: unset !important;
        width: 100%;
        height: calc(100vh - var(--navbar-height) - var(--section-height));
        background-position: center;
		background-size:contain;
    }
    .radeEnterLobby {
        text-align: center;
        font-size: 14px;
        font-weight: bold;
        width: 100px;
        border: 2px solid var(--textColorWhite);
        padding: 10px;
        color: var(--textColorWhite);
        background: var(--table_row_2);
        border-radius: 5px;
    }
	#thumbs_container_new .category {
		width: 78% !important;
	}
    .thumb_img {
	    display: block;
	    max-width: 100%;
	    height: auto;
	    background-repeat: no-repeat !important;
	    background-position: center !important;
	    background-size: 86% !important;
	    height: 43px;
	    width: 170px;
	    position: relative;
	}
	.provider-name, .text-wrapper a.button {
        top: 65vh !important;
    }
    .ios .provider-name, .ios .text-wrapper a.button {
		top: 63vh !important;
	}
	.provider-name {
		width: 400px;
	}
	div.text-wrapper .TVBet {
		top: 23vh !important;
	}
	.text-wrapper #TVBet {
		top: 19vh;
	}
	#thumbs_container_new {
		top: 0;
		margin-top: calc(18vh + 130px);
	}
    .enterLobby {
        top: 61vh;
        width: 100%;
    }
    .ios .enterLobby {
		top: 59vh;
	}
    .enterLobby .enterArr {
        width: 28px;
        top: 6px;
        position: relative;
    }
    #transfer_money {
        position: fixed !important;
        width: 100% !important;
        height: calc(100% - 56px - 65px) !important;
        top: 56px !important;
        right: 0 !important;
        background: var(--bg_color) !important;
        border-right: none !important;
        z-index: 2222;
    }
    #transfer_money{
        margin: 0 !important;
        padding: 3% !important;
        border: unset;
        z-index: 1 !important;
    }
    #transfer_money::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 0;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 100%), linear-gradient(139.4deg, #FFFFFF 8.21%, rgba(198, 198, 198, 0) 95.38%);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
        z-index: -2;
    }
    #transfer_money .form_content fieldset label {
        font-size: 16px !important;
        margin-left: 0px !important;
	   width: 100%;
	   justify-content: center;
    }
    .moneyAmount {
        width: 100% !important;
    }
    .moneyAmount span {
        font-size: 16px !important;
    }
    .money_info {
        width: 94% !important
    }
    #btnRefresh {
        width: 30px !important;
        height: 30px !important;
        margin-right: 48% !important;
        margin-top: -24px !important;
    }
    #popUpBtn {
        display: none;
        text-align: center;
		margin: auto;
    }
    .form_content.radio {
        display: flex !important;
        align-items: center !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        padding: 0px !important;
    }
    #amountCont {
        flex-direction: row !important;        
    }
    .form_content.radio fieldset label[for="toSport"] {
        margin-top: 7px !important;
        margin-bottom: 7px !important;
    }
    #transferForm {
        margin-top: 70px;
    }
	.hero-image-wrapper {
        top: 40vh;
    }
    .ios .hero-image-wrapper {
        top: 38vh;
    }
	.insRadeFilter{
        display: block !important;
    }
    #searchIconProv {
        z-index: 0 !important;
    }
    .insRadeInputGroup input {
        margin-top: 5px !important;
        margin-bottom: 10px !important;
        margin-left: 3% !important;
        width: 93% !important;
    }
    .insRadeInputGroup i {
        line-height: 0px !important;
        right: 40px !important;
    }
    #closeIconProv {
        display: none;
        cursor: pointer;
    }
}

.insRadeInputGroupTitle {
    margin-bottom: 5px;
    font-weight: bold;
}

.insRadeInputGroup {
    margin-bottom: 15px;
}

.insRadeInputGroup i {
    z-index: 100 !important;
    position: absolute;
    color: gray;
    float: right;
    line-height: 10px;
    font-size: 16px;
    right: 34px;
    top: 66px;
}

.insRadeInputGroup input {
    color: var(--textColor);
    position: relative;
    background-image: none !important;
    height: 35px;
    margin: 10px 7px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ffffff1f !important;
    border-radius: 5px;
    z-index: 9;
    width: 93%;
    float: left;
}

@media (max-width: 576px) {
	#thumbs_container_new .category {
		width: 100% !important;
	}
}