﻿
/*
"Sitka Small",
"Tempus Sans ITC",
"Microsoft Sans Serif Normale"
"Reem Kufi",
"Poor Richard",
"Parchment",
"Old English Text MT",

*/
body {
	font-family: "Segoe UI Variable","Segoe UI","Ebrima","Arial";
} 

.list-group-item:hover {
	background-color: #FFE4C4;
}

.italia-map svg {
	width: 90%;
	height: auto;
	overflow: visible;
}

.btn-menu {
	min-width: 190px;
	/*width: 100%; */
	height: 40px;
}

legend {
	font-weight: bold;
	margin-bottom: 20px;
}

[data-bs-theme="dark"] legend {
	color: #fff;
	font-weight: bold;
	margin-bottom: 20px;
}

.custom-style {
	color: #800000;
	font-weight: bold;
}
/* ------------------------------------------------------ */
ul li code a {
	color: #800000;
	text-decoration: none;
}
.customtree, .customtree ul, .customtree li {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.customtree {
	margin: 0 0 0em;
	padding-bottom: 1px;
	text-align: center;
}

.customtree, .customtree ul {
	display: table;
}

.customtree ul {
	width: 100%;
}

.customtree li {
	display: table-cell;
	padding: .5em 0;
	vertical-align: top;
}
/* _________ */
.customtree li:before {
	outline: solid 1px #808080;
	content: "";
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.customtree li:first-child:before {
	left: 50%;
}

.customtree li:last-child:before {
	right: 50%;
}

.customtree code, .customtree span {
	border: solid .1em #808080;
	border-radius: .2em;
	display: inline-block;
	margin: 0 .2em .5em;
	padding: .2em .5em;
	position: relative;
	color: #000;
}
/* If the tree represents DOM structure */
.customtree code {
	font-family: monaco, Consolas, 'Lucida Console', monospace;
}

/* | */
.customtree ul:before,
.customtree code:before,
.customtree span:before {
	outline: solid 1px #808080;
	content: "";
	height: .5em;
	left: 50%;
	position: absolute;
}

.customtree ul:before {
	top: -.5em;
}

.customtree code:before,
.customtree span:before {
	top: -.55em;
}

/* The root node doesn't connect upwards */
.customtree > li {
	margin-top: 0;
}

.customtree > li:before,
.customtree > li:after,
.customtree > li > code:before,
.customtree > li > span:before {
	outline: none;
}

/* ------------------------------------------------------ */

.table-success {
	background-color: #7FFFD4 !important;
	color: #000 !important;
}

.btn-primary {
	background-color: #325d88; /* #800000 */
	font-weight: bold;
}
.btn-secondary {
	background-color: #D0D0D0; /* 606060 */
	color: #000;
	border: 1px solid #808080; /*#d6d8db*/;
}

.btn-success {
	background-color: #93c54b;
	color: #fff;
	border: 1px solid #d6d8db;
}

.btn-danger {
	background-color: #d9534f;
	color: #fff;
	border: 1px solid #d6d8db;
}

.btn-info {
	background-color: #29abe0;
	color: #fff;
	border: 1px solid #d6d8db;
}

.btn-warning {
	background-color: #f47c3c;
	color: #fff;
	border: 1px solid #d6d8db;
}

/*.btn-primary[disabled] {
	background-color: #300000;
}*/

.btn-custom1 {
	background-color: #8B4513;
	color: #fff;
	font-weight: bold;
}

#pannello_footer {
	background-color: #f0f0f0 !important;
}

[data-bs-theme="dark"] #pannello_footer {
	background-color: #606060;
}

/*[data-bs-theme="dark"] .btn-secondary {
	color: #fff;
}*/

[data-bs-theme="dark"] .input-group-text {
	background-color: #606060;
	color: #fff;
}

[data-bs-theme="dark"] .btn-outline-success {
	color: #fff;
}

.btn-success {
	color: #000;
	background-color: #8FBC8F;
	font-weight: bold;
}

.btn-info {
	background-color: #005050;
	color: #fff;
	font-weight: bold;
}

.btn-info:disabled {
	background-color: #003030;
	color: #fff;
}

.btn-anagrafica {
	background-color: #AFAA9D; /* FFFACD */
	color: #000;
	border-color: #808080;
	font-weight: bold;
}

.btn-menu-preventivi {
	width: 300px;
	height: 150px;
	margin-bottom: 6px;
	margin-left: 2px;
}

.btn-custom-menu {
	max-width: 380px;
	width: 100%;
	height: 170px;
}

.seleziona_icona {
	cursor: pointer;
}

button.form-select {
	height: 2.4em;
	line-height: inherit;
}

.questionario-item {
	color: #404040;
	cursor: pointer;
}

[data-bs-theme="dark"] .questionario-item {
	color: #f0f0f0;
	cursor: pointer;
}

.btn-badge {
	width: 100%;
	max-width: 300px;
}

.badge {
	font-size: 1.3em;
}

.btn-badge {
	height: 70px;
}

.form-check-label {
	font-weight: bold;
}

#main_spinner {
	position: fixed; /* Fissa il blocco rispetto alla finestra del browser */
	top: 40%; /* Posiziona verticalmente al centro */
	left: 50%; /* Posiziona orizzontalmente al centro */
	transform: translate(-40%, -50%); /* Centra esattamente il contenuto */
	z-index: 10000; /* Mantieni il livello sopra gli altri elementi */
	display: flex; /* Per centrare il contenuto interno, se necessario */
	align-items: center;
	justify-content: center;
	color: #808080; /* ad esempio, bianco */
}

.card-menu {
	border-radius: 16px;
	background-color: #F0F0F0;
	color: #404040;
	border: 1px solid #808080;
	width: 100%;
}

.card-menu .card-body {
	padding: 6px;
}

[data-bs-theme="dark"] .card-menu {
	border-radius: 16px;
	background-color: #606060;
	color: #fff;
	border: 1px solid #fff;
}

.rounded-pill {
	height: 2.2em;
	width: 2.2em;
	text-align: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	font-size: 1.5em;
}

[data-bs-theme="dark"] small {
	color: #fff;
	font-weight: bold;
}

td.totale-proposta {
	background-color: #F0FFF0;
	color: #000;
	font-size: 1.5em;
}

.table-hover {
	cursor: pointer;
}

.table-primary {
	background-color: #0096C8 !important;
	color: #fff !important;
}

.table-danger {
    background-color: #AF4500 !important;
    color: #fff !important;
}

.table-warning {
	background-color: #FFD700 !important;
	color: #000 !important;
}

.table-panel-footer {
    background-color: #f0f0f0 !important;
    --bs-table-bg: #f0f0f0 !important;
	border-bottom: 1px solid #808080;
}

[data-bs-theme="dark"] .table-panel-footer {
	background-color: #606060 !important;
	--bs-table-bg: #606060 !important;
	border-bottom: 1px solid #fff;
}

[data-bs-theme="dark"] #pannello_footer {
	background-color: #606060 !important; /* à606060 */
}

[data-bs-theme="dark"] .navbar-custom {
	background-color: #C0C0C0 !important;
	color: #fff;
	border: 1px solid #c0c0c0;
}

[data-bs-theme="dark"] .nav-link {
	color: #000;
	font-weight: bold;
}

.chat-sede {
	background-color: bisque;
	color: #000;
}

h1.importo_contratto {
	color: #a00000 !important;
	font-weight: bold;
	font-family: arial;
}

[data-bs-theme="dark"] h1.importo_contratto {
	color: #fff !important;
	font-weight: bold;
	font-family: arial;
}

.chat-office {
	background-color: darkcyan;
	color: white;
}

.card-analisi-necessita {
	border: 1px solid #000;
	background-color: #F0F0F0;
	color: #000;
}

[data-bs-theme="dark"] .card-analisi-necessita {
	border: 1px solid #fff;
	background-color: #D0D0D0;
	color: #000;
}

[data-bs-theme="dark"] .card-analisi-necessita hr {
	border-color: #000 !important;
}