.si-body {
	position: relative;
	display: flex;
    justify-content: center;
    align-items: center;
    /*height: 100vh;*/
    min-width: fit-content;
    /*background-color: #f0f0f0;*/
}

.si-grid-container {
	display: flex;
    flex-direction: column !important;
    gap: 10px;
    margin: auto;
}

.si-container {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-self: self-end;
	height: 220px;
	box-sizing: border-box;
	margin: 10px 0;
	min-width: 240px;
}

.container-secondo-turno {
	position: relative;
	display: flex;
	height: calc(25% + 110px);
	box-sizing: border-box;
	margin: 10px 0;
}

.container-terzo-turno {
	position: relative;
	display: flex;
	height: calc(75% - 150px);
	box-sizing: border-box;
}

.si-left-column {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	z-index: 2;
	min-width: 200px;
}

.si-middle-column {
	position: relative;
	/*flex: 1;*/
	width: 4rem;
	min-width: 50%;
}

.si-box {
	position: relative;
	width: 100%;
	height: 100px;
	background-color: #FFFFFF;
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
	font-weight: bold;
	z-index: 1000;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
	border-radius: 8px;
}

.si-vs-text {
    width: 1.75rem;
    height: auto;
    position: absolute;
    top: 4%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 0.9rem;
    color: #e74c3c;
    text-align: center;
    background-color: white;
    border-radius: 25px;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
}

.si-box-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 0 6px;
}

.si-box-content .si-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0px;
	background-color: #f3f3f3;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
	border-radius: 4px;
	color: white;
	margin: 4px;
	min-width: 70px;
	min-height: 80px;
}

.si-box-content img {
	width: 50px;
	height: 50px;
}

.si-image-cover {
	width: 100%;
	height: 42px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 4px;
	margin: 6px 0;
}

.si-logo-text {
	color: #616161;
	font-weight: bold;
	font-size: 0.6rem;
    text-decoration: none;
	line-height: 0.6rem;
	margin: 0 2px;
}

.si-connector {
	position: absolute;
	background-color: #a8a8ad;
}

.si-left-connector-1,
.si-left-connector-2 {
	right: 60%;
	width: 50%;
	height: 2px;
}

.si-left-connector-1 {
	top: 50px;
}

.si-left-connector-2 {
	bottom: 50px;
}

.si-vertical-connector {
	left: 40%;
	width: 2px;
	height: calc(100% - 100px);
	top: 50px;
	transform: translateX(-50%);
}

.si-central-connector {
	left: 40%;
	top: 50%;
	width: 50%;
	height: 2px;
	transform: translateY(-50%);
}

.si-center-box-container {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.si-row-headers {
/* 	font-size: large;
    font-style: italic;
    font-weight: bold;
	color: #a8a8ad; */
	margin: 0 0 0 -2rem;
}

.si-row-header-mobile {
	display: none !important;
}

.si-row {
	display: flex;
	flex-direction: row;
	gap: 10px; /* spazio tra le colonne */
}

.si-col {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
	margin: 0 10px;
}

/* mobile */
@media screen and (max-width: 768px) {
	.si-row-header-mobile{
		flex: 1;
        display: flex !important;
        margin: 25px 0px 15px 0;
	}
	
	.si-row {
		flex-direction: column;
	}

	.si-left-column {
		gap: 20px;
	}
	
	.si-image-cover {
		width: 100%;
		height: 50px !important;
		margin: 2px 0;
		min-width: 126px;
	}
	
	.si-row-headers,
	.si-middle-column {
		display: none;
	}

	.si-container,
	.container-secondo-turno,
	.container-terzo-turno {
    	justify-content: center;
		align-self: center;
		max-height: 200px;
	}
}

/* tablet */
@media screen and (max-width: 1024px) {
	
	.container-secondo-turno {
		height: calc(25% + 100px);
	}
	
	.container-terzo-turno {
    
	}
	
	.si-box-content .si-col {
		min-width: 60px;
	}
	
	.si-logo-text {
		font-size: 0.6rem;
	}
	
	.si-left-column {
		width: auto;
		min-width: 164px;
	}
	
	.si-image-cover {
		height: 26px;
	}
	
	.si-middle-column {
		width: 3rem;
	}
}

.si-col:nth-child(1) { flex: 1; }
.si-col:nth-child(2) { flex: 1; }
.si-col:nth-child(3) { flex: 1; }
.si-col:nth-child(4) { flex: 1; }

.si-empty-message {
    text-align: center;
    padding: 20px;
    background-color: #E6E8EA;
    border-radius: 4px;
    margin: 10px 0;
    color: #e74c3c;
    font-weight: bold;
}