@charset "UTF-8";
/* CSS Document */

/*############################ HOME / GIOCHI #############################*/

.content.home,
.content.giochi {
	background-color: var(--color_bg_main);
}
.home_logo {
	width: 212px;
	height: 68px;
	background-image: url(images/logo_ricostituente.svg);
	background-size: contain;
	margin: 30px auto;
}
.titolo.logo {
	font-size: 60px;
	color: #000000;
	font-weight: 500;
	margin-top: 20px;
}
.logo_ri { color: black; }
.logo_- { color: white; }
.logo_co { color: var(--color_main); }
.sottotitolo {
	font-size: 24px;
	text-transform: uppercase;
	color: black;
}
.sottotesto_container {
	max-width: 500px;
	margin: 20px auto;
}
.home_sopragiochi {
	display: block;
	margin: 30px auto 0;
	font-size: 20px;
	font-weight: 500;
}
.home_sottogiochi {
	margin: 10px auto;
	font-size: 14px;
	font-weight: 400;
}

/*############################ GIOCO #############################*/

.gioco_header_center {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.titolo.nav.logo {
	display: block;
	width: 100%;
	text-align: center;
	font-size: 35px;
	color: #000000;
	font-weight: 500;
}
.sottotitolo.nav {
	text-align: center;
	font-size: 14px;
	text-transform: uppercase;
	color: black;
}
.btn_gioco_elenco {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.btn_gioco {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
	width: 130px;
	height: 130px;
	margin: 10px;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 500;
}
.btn_gioco_img {
	max-width: 80px;
}
.btn_gioco.nav {
	width: 90px;
	height: 90px;
}
.btn_gioco.nav .btn_gioco_img {
	max-width: 50px;
}
.gioco_container {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	height: 100%;
}
.gioco_content {
	height: calc(100% - 40px);
	padding: 0 0 40px 0;
	max-width: 400px;
	margin: 0 auto;
}
.gioco_cards {
	position: relative;
	display: flex;
	height: 600px;
}

.content.gioco.homegioco {
	position: relative !important;
}
.gioco_content.home_gioco {
	margin: 0px auto 0;
}
.gioco_content_sx {
	position: absolute;
	top: 0;
	left: 0;
	/* height: 100%; */
	z-index: 101;
	/* background-color: blueviolet; */
}
.gioco_content_center {
	display: flex;
	flex-direction: column;
    align-items: center;
	text-align: center;
}
.gioco_card_center.start {
	display: block;
	position: relative;
	flex-grow: 2;
	border-radius: 0px;
	text-align: center;
	background-color: transparent;
}	
.gioco_card_center {
	/* position: relative; */
	flex-grow: 2;
	display: flex;
	justify-content: center;
	overflow-y: scroll;
	/* height: calc(100% - 50px); */
}
.gioco_card_sx {
	position: absolute;
    top: 0;
    right: calc(100% - 15px);
    width: calc(100% - 45px);
    height: calc(100% - 30px);
    margin: 0px 15px;
    /* border-radius: 15px; */
    /* background: linear-gradient(-90deg, rgba(176, 176, 182, 0.6) 0%, rgba(176, 176, 182, 0) 57.22%); */
	/* background: #D6D8DB; */
	/* box-shadow: 4px 1px 4px rgba(0, 0, 0, 0.25); */
	z-index: 100;
	/* background-image: url(images/Shadow.png);
	background-position: right -18px top -10px;
	background-repeat: no-repeat;
	background-color: transparent;
	overflow: visible; */
	overflow-y: clip;
}
.gioco_card_sx_img {
	position: absolute;
	top: -35px;
	right: -23px;
	height: 140%;
}
.gioco_card_content {
	position: relative;
	display: inline-table;
	height: calc(100% - 55px);
	width: 300px;
	/* max-width: 350px; */
	padding: 10px;
	background-color: #EBEBED;
	margin: 15px 15px 0 15px;
	text-align: center;
	border-radius: 15px;
	overflow: hidden;
	box-sizing: border-box;
}
.gioco_card_dx {
	position: absolute;
	top: 0;
	left: calc(100% - 15px);
	width: calc(100% - 30px);
	height: calc(100% - 100px);
	margin: 30px 15px;
	border-radius: 15px;
	background: linear-gradient(90deg, rgba(176, 176, 182, 0.6) 0%, rgba(176, 176, 182, 0) 57.22%);
}
.gioco_card_content.next {
	position: relative;
	animation-name: slide_left;
  	animation-duration: 1s;
	animation-fill-mode: forwards;
}
@keyframes slide_left {
	from { left: 0px; }
	to { left: -100%; }
}
.gioco_card_dx.next {
	position: absolute;
	animation-name: slide_left_dx;
  	animation-duration: 1s;
	animation-fill-mode: forwards;
}
@keyframes slide_left_dx {
	from { 
		left: calc(100% - 15px); 
		background: linear-gradient(90deg, rgba(176, 176, 182, 0.6) 0%, rgba(176, 176, 182, 0) 57.22%); 
	}
	to { 
		left: 0px; 
		background: #EBEBED;  
		/* background-image: url(images/clessidra.svg); 
		background-repeat: no-repeat; 
		background-size: 150%;  */
		height: calc(100% - 60px); 
		margin: 15px; 
	}
}
.gioco_card_dx2 {
	position: absolute;
	opacity: 0;
	top: 0;
	left: 200%;
	width: calc(100% - 30px);
	height: calc(100% - 100px);
	margin: 30px 15px;
	border-radius: 15px;
	background: linear-gradient(90deg, rgba(176, 176, 182, 0.6) 0%, rgba(176, 176, 182, 0) 57.22%);
}
.gioco_card_dx2.next {
	position: absolute;
	animation-name: slide_left_dx2;
  	animation-duration: 1s;
	animation-fill-mode: forwards;
}
@keyframes slide_left_dx2 {
	from { left: 200%; opacity: 0; }
	to { left: calc(100% - 15px); opacity: 1; }
}
.gioco_img_main {
	max-width: 300px;
	width: 70%;
}
.gioco_header.start {
	/* position: inherit; */
	box-shadow: none;
}
.gioco_header {
	position: relative;
	z-index: 100;
	display: block;
	width: 100%;
	margin: 0 0 20px 0;
}
.gioco_header_sx {
	position: absolute;
	top: 0px;
	left: 0px;
}
.gioco_header_dx {
	position: absolute;
	top: 20px;
	right: 20px;
	display: flex;
	align-items: center;
}

.gioco_card_testo {
	font-size: 22px;
	padding: 20px;
}

.gioco_evento_sino_container {
	display: flex;
	justify-content: space-around;
}
.gioco_evento_sino_sx,
.gioco_evento_sino_dx {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.btnImg {
	width: 70px;
	height: 70px;
	cursor: pointer;
}
.btnImg.no {
	background-image: url(images/gioco_evento_no.svg);
}
.btnImg.si {
	background-image: url(images/gioco_evento_si.svg);
}
.gioco_evento_sino_img {
	margin: 0 0 20px 0;
}
.mostraPunti_container {
	display: flex;
	align-items: center;
	justify-content: center;
}
.mostraPunti_container.vert {
	flex-direction: column;
}
.mostraPunti_content {
	display: flex;
	align-items: center;
}
.mostraPunti_ball {
	border-radius: 50%;
	min-width: 5px;
	min-height: 5px;
	margin: 10px;
}
.mostraPunti_img {
	max-width: 30px;
	max-height: 30px;
}

.gioco_footer {
	position: fixed;
	width: 100%;
	bottom: 0;
	left: 0;
	height: 40px;
	box-shadow: 0px -6px 10px rgba(0, 0, 0, 0.25);
	z-index: 101;
}
.footer_stat_container {
	height: 100%;
	width: 100%;
	display: flex;
    align-items: center;
}
.footer_stat_content {
	display: flex;
	height: 100%;
	width: 100%;
	align-items: center;
}
.footer_stat_perc {
	display: flex;
	justify-content: flex-end;
    align-items: center;
	height: 25px;
	background-color: white;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}
.perc_txt {
	color: white;
	font-weight: 500;
	font-size: 16px;
	padding: 0 10px;
}
.btn_footerstat {
	margin: 3px 12px 0px;
}
.btn_footerstat_debug {
	cursor: pointer;
	margin: 3px 12px 0px 0px;
}





.gioco_iconsx_main {
	position: relative;
	top: 0px;
	left: 15px;
	z-index: 10;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 45px;
	height: 40px;
	border-radius: 12px;
	margin: 10px 0 0 0;
}
.gioco_iconsx_main_icon {
	max-width: 25px;
}
.gioco_iconsx_main_txt {
	position: absolute;
	top: 43px;
	font-size: 12px;
	font-weight: 500;
	color: #626161;
	white-space: nowrap;
}
.gioco_iconsx_dx1,
.gioco_iconsx_dx2,
.gioco_iconsx_sx1 {
	position: absolute;
    bottom: 0px;
	width: 35px;
    border-radius: 12px;
	background-color: #C4C4C4;
}
.gioco_iconsx_sx1 {
	left: 3px;
	height: 35px;
}
.gioco_iconsx_dx1 {
	left: 37px;
	height: 35px;
	z-index: 5;
}
.gioco_iconsx_dx2 {
	left: 48px;
	height: 32px;
}
.gioco_iconsx_dx_icon {
	position: absolute;
	top: 4px;
	right: 1px;
}
.gioco_iconsx_sx_icon {
	position: absolute;
	top: 4px;
	left: 1px;
}

/*STATS*/
.gioco_stats {
	display: flex;
	justify-content: space-around;
	width: 100%;
	max-width: 400px;
	margin: 30px auto !important;
}
.gioco_stat {
	display: flex;
	align-items: center;
}

.gioco_stat_icon {
	height: 48px;
}
.gioco_stat_perc_container {
	position: relative;
	display: flex;
	align-items: flex-end;
	height: 100%;
	width: 12px;
	border-radius: 12px;
	margin: 0 0 0 4px;
}
.gioco_stat_perc_container.ko {
	border-color: #F58546 !important;
}
.gioco_stat_perc.aumento,
.gioco_stat_perc.dim {
	animation: anim_stat_flicker .5s 6;
}
.stat_aumento {
	position: absolute;
	top: -25px;
	left: -6px;
	width: 25px;
	height: 25px;
	/* background-image: url(images/stat_aumento.svg); */
	animation: anim_stat_flicker .5s 6 forwards;
}
.stat_dim {
	position: absolute;
	top: -25px;
	left: -6px;
	width: 25px;
	height: 25px;
	/* background-image: url(images/stat_dim2.svg); */
	animation: anim_stat_flicker .5s 6 forwards;
}
@keyframes anim_stat_flicker {
	0%   { opacity:0; }
	50%  { opacity:1; }
	100% { opacity:0; }
}
.gioco_stat_perc.ko {
	background-color: #E44D43 !important;
}
.stat_teschio {
	position: absolute;
	top: -25px;
	left: -12px;
	width: 37px;
	height: 21px;
	background-image: url(images/teschio.svg);
}
.gioco_stat_perc {
	width: 100%;
}


/*############## VENOBOX ##############*/

.vbox-inline {
	width: 100% !important;
	max-width: 400px !important;
	border-radius: 20px;
	padding: 0 0 20px 0 !important;
}