.w-16 { width: 16.66%; }    
.w-68 { width: 68%; }
.w-84 { width: 84%; }
.color-fff{ color:var(--bs-white) !important }
.content-structures .content-types .badge {
	background: transparent !important;
	border: 1px solid var(--ic-light-blue);
	border-radius: 40px;
	color: var(--ic-light-blue);
}
.static-content form input[type="text"],
.static-content form input[type="number"],
.static-content form input[type="email"],
.static-content form input[type="password"],
.static-content form input[type="number"],
.static-content form input[type="tel"],
.static-content form input[type="date"],
.static-content form input[type="file"],
.static-content form select,
.static-content form textarea {
	background-color: #ffffff;
	border-radius: 25px;
	border: 1px solid var(--ic-violet);
	color:var(--black);
	padding:8px 30px;
	width:100%;
	position:relative;
}

.tournament-panel {
	background: var(--ic-violet-light);
	border-radius: 15px;
	overflow: hidden;
	padding: 15px;
}
	.tournament-panel .tournament-panel-header {
		background: var(--ic-violet);
		margin: -15px -15px 0 -15px;
		padding: 15px;
	}
	.tournament-panel .tournament-panel-header h3 {
		color: var(--ic-violet);
		margin: 0;
	}

.detail-tournament .ic-wrap-classification .card{
	background-color: var(--ic-violet-light);
    border-radius: 15px;
	border-bottom: 0;
}
	.detail-tournament .ic-wrap-classification .ic-wrap-single-ranking .ic-col, .detail-tournament .ic-wrap-classification .ic-wrap-single-ranking .ic-header .ic-col{
		border-bottom-color: var(--f3f5fb);
		color: var(--ic-blue-text);
	}
	.detail-tournament .ic-wrap-classification .ic-wrap-single-ranking .ic-ranking-row{
		transition: transform 0.4s ease;
		will-change: transform;
	}
	.detail-tournament .ic-wrap-classification .ic-wrap-team{
		font-size: .85rem;
		line-height: 1.5rem;
		border-right: 1px solid var(--f3f5fb);
		padding: .25rem 1rem;
	}
	.detail-tournament .ic-wrap-classification .fl-cell.ic-wrap-point, .detail-tournament .ic-wrap-classification .ic-wrap-position{
		width: 50px;
		text-align: center;
		border-right: 1px solid var(--f3f5fb);
		padding: .25rem;
	}
	.detail-tournament .ic-wrap-classification .ic-wrap-position.text-small{
		width: 40px;
		font-size: .85rem;
		line-height: 1.5rem;
	}
.detail-tournament .ic-wrap-matches{
	border-radius: 15px;
	border-bottom: 0;
	box-shadow: 0px 5px 3px 0px rgba(55, 52, 139, .30);
	min-height:fit-content;
}
	.detail-tournament .ic-wrap-matches .card-body{
		padding: 0;
		color: var(--ic-blue-text);
	}
		.detail-tournament .ic-wrap-matches .card-body.waiting .ic-header{
			border-bottom: 1px solid gold;
		}
		.detail-tournament .ic-wrap-matches .card-body.run .ic-header{
			border-bottom: 1px solid var(--ic-green);
		}
		.detail-tournament .ic-wrap-matches .card-body.finished .ic-header{
			border-bottom: 1px solid var(--ic-violet-light);
		}
			.detail-tournament .ic-wrap-matches .card-body.waiting .ic-header .ic-round-run, .detail-tournament .ic-wrap-matches .card-body.waiting .ic-header .ic-round .ic-num-round{
				background-color: gold;
			}
			.detail-tournament .ic-wrap-matches .card-body.run .ic-header .ic-round-run, .detail-tournament .ic-wrap-matches .card-body.run .ic-header .ic-round .ic-num-round{
				background-color: var(--ic-green);
			}
			.detail-tournament .ic-wrap-matches .card-body.run .ic-header .ic-round-run i{
				animation: bounce .8s infinite ease-in-out;
			}
			.detail-tournament .ic-wrap-matches .card-body.finished .ic-header .ic-round-run, .detail-tournament .ic-wrap-matches .card-body.finished .ic-header .ic-round .ic-num-round{
				background-color: var(--ic-violet-light);
			}
			.detail-tournament .ic-wrap-matches .card-body .ic-header .ic-round .ic-num-round{
				color: var(--bs-white);
				width: 56px;
				display: inline-block;
				text-align: center;
				border-top-left-radius: 15px;
				padding: 5px 20px;
			}
			.detail-tournament .ic-wrap-matches .card-body .ic-header .ic-round-run{
				color: var(--bs-white);
				width: 56px;
				text-align: center;
				border-top-right-radius: 15px;
				padding: 5px 20px;
			}
		.detail-tournament .ic-wrap-matches .card-body .ic-body .ic-team:first-child{
			border-bottom: 1px solid rgba(55, 52, 139, .30);
		}
			.detail-tournament .ic-wrap-matches .card-body .ic-body .ic-team{
				font-size:.85rem;
				height:35px;
				position: relative;
				overflow: hidden;
			}
			.detail-tournament .ic-wrap-matches .card-body .ic-body .ic-team:last-child{
				border-bottom-left-radius: 15px;
			}
			.detail-tournament .ic-wrap-matches .card-body .ic-body .ic-team::before{
				bottom: 0;
				content: "";
				left: 0;
				position: absolute;
				top: 0;
				transition: background .2s;
				width: 5px;
				background: transparent;
			}
			.detail-tournament .ic-wrap-matches .card-body .ic-body .ic-team.win{
				font-weight: 600;
			}
			.detail-tournament .ic-wrap-matches .card-body .ic-body .ic-team.win::before{
				background: var(--ic-violet);
			}
				.detail-tournament .ic-wrap-matches .card-body.waiting .ic-body .ic-team .score{
					border-left: 1px solid gold;
				}
				.detail-tournament .ic-wrap-matches .card-body.run .ic-body .ic-team .score{
					border-left: 1px solid var(--ic-green);
				}
				.detail-tournament .ic-wrap-matches .card-body.finished .ic-body .ic-team .score{
					border-left: 1px solid var(--ic-violet-light);
				}
				.detail-tournament .ic-wrap-matches .card-body .ic-body .ic-team .score{
					width:56px;
					text-align: center;
				}

@keyframes bounce {
	0%, 100% {
		transform: translateY(3px);
	}
	50% {
		transform: translateY(-3px);
	}
}

/* Gestione CSS per fasi finali del torneo */
.content-structures .card .badge.hour-match{
	float:right;
	margin-top:7px;
	border:0;
	background-color:RGBA(var(--bs-warning-rgb),var(--bs-bg-opacity,1))!important;
	color:var(--ic-violet);
}
.ic-wrap-finals .ic-wrap-tournament{
	display:flex;
	transition:transform .5s;
	width:100%;
	will-change:transform,height;
}
	.ic-wrap-finals .ic-wrap-tournament::-webkit-scrollbar {
		width: 2px;
		height: 2px;
	}
	.ic-wrap-finals .ic-wrap-tournament::-webkit-scrollbar-track {
		background: rgba(207, 215, 245, 0.9);
	}
	.ic-wrap-finals .ic-wrap-tournament::-webkit-scrollbar-thumb {
		background-color: #5BAE88;
		border-radius: 1px;
	}
	/* Firefox */
	.ic-wrap-finals .ic-wrap-tournament {
		scrollbar-width: thin;
		scrollbar-color: #5BAE88 rgba(207, 215, 245, 0.9);
	}
	.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card{
		flex:0 0 368px;
		position:relative;
		width:auto;
	}
	.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card + .ic-wrap-finals .ic-wrap-tournament .ic-tournament-card{
		margin-left:20px
	}
		/*.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card .ic-tournament-card-head{
			background:#1a3150;border-radius:8px 8px 0 0;color:#fff;font-size:13px;font-weight:500;line-height:36px;text-align:center;text-transform:uppercase;width:100%
		}*/
		.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card .ic-tournament-card-body{
			border-radius:0 0 8px 8px;display:flex;flex-flow:column nowrap;height:100%;justify-content:space-around;padding:0 12px
		}
	.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card.no-matches .ic-tournament-card-body{
		justify-content:flex-start;position:relative
	}
	.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card.no-matches .ic-tournament-card-body:after, .ic-wrap-finals .ic-wrap-tournament .ic-tournament-card.tournament-card.no-matches .ic-tournament-card-body:before{
		bottom:0;content:"";position:absolute;right:100%;top:0
	}
	.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card.no-matches .ic-tournament-card-body:before{
		background:#fff;width:20px
	}
	.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card.no-matches .ic-tournament-card-body:after{
		background:var(--ic-violet);margin-right:20px;width:12px
	}
	@media(max-width:767px){
		.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card{
			flex:0 0 335px;
			padding:0;
		}
		.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card + .ic-wrap-finals .ic-wrap-tournament .ic-tournament-card{
			margin-left:40px
		}
			.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card .ic-tournament-card-body{
				background:#0000;padding:0
			}
		.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card.no-matches .ic-tournament-card-body:after{
			display:none
		}
		.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card.no-matches .ic-tournament-card-body:before{
			background:var(--ic-violet);width:40px
		}
	}
	.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card:first-child .ic-wrap-matches:before, 
	.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card:last-child .ic-wrap-matches:after, 
	.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card:first-child .ic-tournament-match-line{
		display:none
	}
	.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card .ic-wrap-matches{
		margin:6px 0;
		position:relative;
		width:296px;
	}
	.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card .ic-wrap-matches:before{
		background:rgba(55, 52, 139, .30);
		content:"";
		height:1px;
		position:absolute;
		right:100%;
		top:66%;
		width:35px
	}
	.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card:first-child .ic-wrap-matches:before{
		display:none
	}
	.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card .ic-wrap-matches:after{
		background:rgba(55, 52, 139, .30);
		content:"";
		height:1px;
		left:100%;
		position:absolute;
		top:69px;
		width:36px
	}
	.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card:last-child .ic-wrap-matches:after{
		display:none
	}

	.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card .ic-tournament-match-line{
		background:rgba(55, 52, 139, .30);
		height:calc(100% + 25px);
		margin-right:35px;
		position:absolute;
		right:100%;
		top:4px;
		/*transform:translateY(-50%);*/
		transition:height .5s;
		width:1px
	}
	.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card .ic-tournament-match-line.semifinali.from-height{
		height:calc(200% + 49px);
		top:calc(-50% - 7px);
	}
	.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card .ic-tournament-match-line.finale.from-height{
		height: calc(400% + 97px);
    	top: calc(-180%);
	}
	.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card .ic-tournament-match-line.finale.from-four{
		height:calc(200% + 49px);
		top:calc(-50% - 7px);
	}
	@media(max-width:767px){
		.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card .ic-tournament-match-line{
			margin-right: 19px;
		}
		.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card .ic-wrap-matches:before, .ic-wrap-finals .ic-wrap-tournament .ic-tournament-card .ic-wrap-matches:after{
			width:19px
		}
	}

	@media only screen and (min-width:1400px){
		.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card{
			flex:0 0 488px;
		}
		.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card .ic-wrap-matches{
			width:416px;
		}
	}
	@media only screen and (min-width:1200px) and (max-width:1399px){
		.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card{
			flex:0 0 428px;
		}
		.ic-wrap-finals .ic-wrap-tournament .ic-tournament-card .ic-wrap-matches{
			width:356px;
		}
	}