﻿@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";

body {
	font-family: 'Poppins', sans-serif !important;
}


.row.display-flex {
	display: flex;
	flex-wrap: wrap;
}

	.row.display-flex > [class*='col-'] {
		flex-grow: 1;
	}


.form-check label {
	margin-left: 3px !important;
}

.form-check {
	padding-left: 0px !important;
}

/*barra navigazione*/
/*.navbar-custom {
	background-color: #5890b6;
}*/
.navbar-custom {
	background-color: #2b4c81;
}
.container-custom {
	margin-top: 40px;
}

.nav-link-custom {
	color: white;
}
a, a:hover, a:focus {
	text-decoration: none;
	transition: color .3s, text-decoration-color .3s;
}


.ph-card-header {
	color: #fcfcfc !important;
	background-color: #5b86cc !important;
}

.ph-card-speciale-header {
	color: #000000 !important;
	background-color: #ffa633 !important;
}

/*breadCRumb*/
.breadcrumb {
	margin-top: 10px;
	background-color: white;
}


.check-box-custom label {
	padding-left: 5px;
}


/*ChekBox*/
.same-row {
	display: inline !important;
	width: auto !important;
}
/*intestazione*/
.custom-title-menu {
	width: 100%;
	margin-bottom: 5px;
	border-radius: 4px;
	text-align: center;
	color: black;
	font-weight: bold;
}

.about-border {
	display: block;
	width: 80px;
	height: 3px;
	/*background: #f1cd8f;*/
	background: #2483a2;
	margin: 5px auto;
}

/*errori*/
.error {
	color: red;
}

.has-error .control-label,
.has-error .help-block,
.has-error .form-control-feedback {
	color: #a94442;
}

/*pannelli*/
.w3-panel {
	padding: 0.01em 16px
}

.w3-panel {
	margin-top: 16px;
	margin-bottom: 16px
}
/*.w3-note{background-color:#f4f4f4;border-left:6px solid #337AB7}*/
.w3-note {
	border-left: 6px solid #337AB7
}

/*ChekBox toggle*/

.switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 24px;
}

	.switch input {
		opacity: 0;
	}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

	.slider:before {
		position: absolute;
		content: "";
		height: 16px;
		width: 16px;
		left: 4px;
		bottom: 4px;
		background-color: white;
		-webkit-transition: .4s;
		transition: .4s;
	}

input:checked + .slider {
	background-color: green;
}

input:focus + .slider {
	box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
	border-radius: 34px;
}

	.slider.round:before {
		border-radius: 50%;
	}


.linkage_box {
	border: 2px solid brown;
	padding: 10px 10px 10px 10px;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
}

/*.triangle {
	width: 0;
	height: 0;
}
    

.triangle .triangle-down {
	border-left: 50px solid transparent;
	border-right: 50px solid transparent;
	border-top: 100px solid #32557f;
}*/

.triangle-down {
	width: 0;
	height: 0;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-top: 40px solid #32557f;
	margin: auto;
}




/*Pagine esterne
*/

	.input-box{
  position: relative;
}

.input-box i {
  position: absolute;
  right: 13px;
  top:15px;
  color:#ced4da;

}


.text-bg-custom {
	background-color: rgb(88, 144, 182);
	color:#fff;
	
}


/*.help-overlay {
	position: absolute;
	background: rgba(0, 123, 255, 0.9);
	color: #fff;
	padding: 10px;
	border-radius: 5px;
	z-index: 10000;
	max-width: 300px;
	text-align: center;
}

	.help-overlay i {
		font-size: 24px;
		display: block;
		margin-bottom: 5px;
	}*/
.highlight-box {
    border: 3px solid yellow;
    pointer-events: none;
    box-sizing: border-box;
}


.highlight-box {
	pointer-events: none;
}

.help-overlay p {
	margin: 0 0 5px 0;
}

.help-overlay ul {
	padding-left: 20px;
	margin: 0 0 5px 0;
}

.help-overlay li {
	margin-bottom: 3px;
}

/* Allineamento verticale specifico per il campo #categoria */
#categoria + .select2-container--bootstrap-5 .select2-selection--single {
	display: flex;
	align-items: center;
	min-height: 2.5rem;
	padding: 0 0.75rem;
	border: 1px solid #ced4da;
	border-radius: 0.375rem;
}

	#categoria + .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
		flex-grow: 1;
		line-height: normal;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	#categoria + .select2-container--bootstrap-5 .select2-selection--single .select2-selection__clear {
		display: flex;
		align-items: center;
		justify-content: center;
		margin-left: auto;
		margin-right: 0.25rem;
		font-size: 1rem;
		cursor: pointer;
		color: #999;
		height: 100%;
	}
/* Override stile bootstrap solo per la tua tabella valutazioni */
.table.valutazioni td,
.table.valutazioni th {
	border-top: none !important;
	border-bottom: none !important;
}

/* Aggiunge il bordo solo dopo ogni coppia (nella seconda riga) */
.table.valutazioni .riga-note td {
	border-bottom: 2px solid #dee2e6 !important;
}
.riga-note td {
	border-top: 2px solid #dee2e6; /* bordo visibile solo sotto la seconda riga */
}

/*/* Nascondo la checkbox standard */
input[type=checkbox].toggle-btn {
	display: none;
}

	/* Stile del bottone quando la checkbox è unchecked */
	input[type=checkbox].toggle-btn + label {
		display: inline-block;
		border: 1px solid #0d6efd;
		border-radius: 0.375rem;
		color: #0d6efd;
		background-color: #fff;
		cursor: pointer;
		user-select: none;
		text-align: center;
		width: 100%;
	}

	/* Stile quando è checked */
	input[type=checkbox].toggle-btn:checked + label {
		background-color: #0d6efd;
		color: #fff;
	}



.section-vbar {
    width: .35rem;
    height: 1.1rem;
    background: var(--bs-primary);
    border-radius: .25rem
}



/*bottoni stessa larghezza*/
.btn-eq {
    white-space: nowrap;
    text-align: left;
}


/*Thumbnail prodotti*/
.prod-thumb {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: .5rem;
}