* html .ui-autocomplete { 
	z-index: 1056; 
}
.ui-autocomplete { 
	z-index: 1056; 
}
.ui-autocomplete-category {
	font-weight: bold;
	padding: .2em .4em;
	margin: .2.5em 0 .2em;
	line-height: 1.5;
	background-color: var(--bs-border-color);
	border-bottom: 1px solid var(--bs-border-color);
}
.ui-menu-item{
	border-bottom: 1px solid var(--bs-border-color);
}
.ui-menu-item-wrapper{
	border-bottom: 1px solid var(--bs-border-color);
}
.ui-menu{
	overflow: hidden auto;
    max-height: 190px;
}
div.alert{
	border-radius: 0px;
} 
.container-response{
	max-width: 90%;
}

body{
    background: rgb(219,226,226);
}
body.ui-op{
	padding-top: 10rem;
	padding-bottom: calc(10rem - 4.5rem);
	background: #f9fafb;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-size: cover;
}
body.ui-ri{
	padding-top: 10rem;
	padding-bottom: calc(10rem - 4.5rem);
	background: #f9fafb;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-size: cover;
}	
body.ui-ad{
	background: rgb(219,226,226);
	padding-top: 10rem;
	padding-bottom: calc(10rem - 4.5rem);
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-size: cover;
}

label.bsi-field-required::after { 
	color: red;
	font-weight: bolder;
	content: " *" 
}
div.bsi-field-required::after { 
	color: red;
	font-weight: bolder;
	content: " *" 
}

/* table */
th.floatingElement{
	    text-align: center;
    font-size: 100%;
    width: auto;
    height: 33px;
    position: sticky;
    top: 0;
    min-width: 54.96px;
}
div.floatingElementHead{
	position: absolute;
    top: 0;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: start;
    background-color: white;
    padding-top: 0px;
    padding-bottom: 9px;
    border-bottom: 1px solid;

}

span.input-group-text-sm-right{
	margin-left: calc(var(--bs-border-width) * -1);
	padding: 0.375rem 0.75rem;
	background: inherit;
	border-left: none; 
	border-top-right-radius: 5px; 
	border-bottom-right-radius: 5px;
}
span.input-group-text-sm-left{
	margin-left: calc(var(--bs-border-width) * -1);
	padding: 0.375rem 0.75rem;
	background: inherit;
	border-right: none; 
	border-top-left-radius: 5px; 
	border-bottom-left-radius: 5px;
}
span.radius-right{
	border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

span.valid{
	border-color: #198754;
}
span.invalid{
	border-color: #dc3545;
}
span.valid-giustify{
    color: #d72e3e;
    font-weight: bolder;
}
span.valid-giustify-payment{
    color: #d72e3e;
    font-weight: bolder;
}
span.valid-festivity{
    color: #d72e3e;
    font-weight: bolder;
}
span.warning-festivity{
    color: #d72e3e;
    font-weight: bolder;
}
span.invalid-open-activity{
    color: #d72e3e;
    font-weight: bolder;
}


a.ReturnBack{
    margin-left: 12px;
	z-index:999;
	position:absolute;
}
img.ReturnBack{
	width: 30px;
    height: 30px;
}

img.IconSize{
	width: 30px;
    height: 30px;
}
img.icon-calendar{
	width: 25px;
    height: 25px;
}

div.title{
    background-color: #eb2d2d; 
    max-width: none;
    width: auto;
    color: white; 
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #066238;
    outline: 0;
    box-shadow: 0 0 0 0.25rem #06623830;
}
.form-select:focus {
     border-color: #066238;
    outline: 0;
    box-shadow: 0 0 0 0.25rem #06623830;
}

.form-check-input{
	border: 1px solid #198754;
}
.form-check-input:focus {
    border-color: #198754;
    outline: 0;
    box-shadow: 0 0 0 0.25rem #19875440;
}
.form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
}

/* input radio stilizzati */

/* SUCCESS */
.form-check-input-success[type=radio] {
    border-radius: 50%;
}
.form-check-input-success {
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
	border: 1px solid #198754;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
}
.form-check-input-success:focus {
    border-color: #198754;
    outline: 0;
    box-shadow: 0 0 0 0.25rem #19875440;
}
.form-check-input-success:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}
.form-check-input-success:checked {
    background-color: #198754;
    border-color: #198754;
}
/* INFO */
.form-check-input-info[type=radio] {
    border-radius: 50%;
}
.form-check-input-info{
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid #2c9bd7;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
}
.form-check-input-info:focus {
    border-color: #2c9bd7;
    outline: 0;
    box-shadow: 0 0 0 0.25rem #2c9bd740;
}
.form-check-input-info:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}
.form-check-input-info:checked {
    background-color: #2c9bd7;
    border-color: #2c9bd7;
}
/* DANGER */
.form-check-input-danger[type=radio] {
    border-radius: 50%;
}
.form-check-input-danger{
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid var(--bs-danger);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
}
.form-check-input-danger:focus {
    border-color: var(--bs-danger);
    outline: 0;
    box-shadow: 0 0 0 0.25rem #dc354554;
}
.form-check-input-danger:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}
.form-check-input-danger:checked {
    background-color: var(--bs-danger);
    border-color: var(--bs-danger);
}
/* WARNING */
.form-check-input-warning[type=radio] {
    border-radius: 50%;
}
.form-check-input-warning{
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid var(--bs-warning);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
}
.form-check-input-warning:focus {
    border-color: var(--bs-warning);
    outline: 0;
    box-shadow: 0 0 0 0.25rem #ffc10752;
}
.form-check-input-warning:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}
.form-check-input-warning:checked {
    background-color: var(--bs-warning);
    border-color: var(--bs-warning);
}
/* WARNING FESTIVITY */
.form-check-input-warning-festivity[type=radio] {
    border-radius: 50%;
}
.form-check-input-warning-festivity{
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid var(--bs-warning);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
}
.form-check-input-warning-festivity:focus {
    border-color: var(--bs-warning);
    outline: 0;
    box-shadow: 0 0 0 0.25rem #ffc10752;
}
.form-check-input-warning-festivity:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}
.form-check-input-warning-festivity:checked {
    background-color: var(--bs-warning);
    border-color: var(--bs-warning);
}

/* ORANGE */
.form-check-input-orange[type=radio] {
    border-radius: 50%;
}
.form-check-input-orange{
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid var(--bs-orange);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
}
.form-check-input-orange:focus {
    border-color: var(--bs-orange);
    outline: 0;
    box-shadow: 0 0 0 0.25rem #ffc10752;
}
.form-check-input-orange:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}
.form-check-input-orange:checked {
    background-color: var(--bs-orange);
    border-color: var(--bs-orange);
}


/* invalid (rosso scuro) */
.form-check-input-invalid[type=radio] {
    border-radius: 50%;
}
.form-check-input-invalid{
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid #955050;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
}
.form-check-input-invalid:focus {
    border-color: #955050;
    outline: 0;
    box-shadow: 0 0 0 0.25rem #d72c2c40;
}
.form-check-input-invalid:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}
.form-check-input-invalid:checked {
    background-color: #955050;
    border-color: #955050;
}
/* valid-giustify-payment (verde) */
.form-check-input-valid[type=radio] {
    border-radius: 50%;
}
.form-check-input-valid {
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
	border: 1px solid #198754;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
}
.form-check-input-valid:focus {
    border-color: #198754;
    outline: 0;
    box-shadow: 0 0 0 0.25rem #19875440;
}
.form-check-input-valid:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}
.form-check-input-valid:checked {
    background-color: #198754;
    border-color: #198754;
}
/* valid-giustify-payment (verde) */
.form-check-input-valid-giustify-payment[type=radio] {
    border-radius: 50%;
}
.form-check-input-valid-giustify-payment {
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
	border: 1px solid #198754;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
}
.form-check-input-valid-giustify-payment:focus {
    border-color: #198754;
    outline: 0;
    box-shadow: 0 0 0 0.25rem #19875440;
}
.form-check-input-valid-giustify-payment:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}
.form-check-input-valid-giustify-payment:checked {
    background-color: #198754;
    border-color: #198754;
}
/* valid-giustify (arancione) */
.form-check-input-valid-giustify[type=radio] {
    border-radius: 50%;
}
.form-check-input-valid-giustify {
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
	border: 1px solid #e59d1e;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
}
.form-check-input-valid-giustify:focus {
    border-color: #e59d1e;
    outline: 0;
    box-shadow: 0 0 0 0.25rem #dfb3658a;
}
.form-check-input-valid-giustify:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}
.form-check-input-valid-giustify:checked {
    background-color: #e59d1e;
    border-color: #e59d1e;
}
 /* festivity (rosso) */
.form-check-input-valid-festivity[type=radio] {
    border-radius: 50%;
}
.form-check-input-valid-festivity{
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid var(--bs-danger);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
}
.form-check-input-valid-festivity:focus {
    border-color: var(--bs-danger);
    outline: 0;
    box-shadow: 0 0 0 0.25rem #dc354554;
}
.form-check-input-valid-festivity:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}
.form-check-input-valid-festivity:checked {
    background-color: var(--bs-danger);
    border-color: var(--bs-danger);
}

/* Fine input RADIO/CHECK stilizzati */

.form-switch .form-check-input:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(25,135,84,0.52)'/%3e%3c/svg%3e");
}
.form-switch .form-check-input:checked {
    background-position: right center;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}
.row-form{
    background: white;
    border-radius:30px;
}
/*Campi Inserimento Form*/
.form-control.is-alert{
    border-color: #f99009;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='orange' class='bi bi-exclamation-triangle-fill' viewBox='0 0 16 16'%3E%3Cpath d='M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.form-control.is-alert:focus{
    border-color: #f99009;
    box-shadow: 0 0 0 0.25rem #f990094f;;
}
.alert-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: .875em;
    color: #f99009;
}

/* Upload */
.uploadBox {
    width: 100%;
    height: 200px;
    /* position: absolute; */
    border: 4px dashed #000;
	/* quadrato + */
	/* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-plus-square' viewBox='0 0 16 16'%3E%3Cpath d='M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z'/%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E"); */
	/* cerchio tratteggiato + */
	/* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-plus-circle-dotted' viewBox='0 0 16 16'%3E%3Cpath d='M8 0c-.176 0-.35.006-.523.017l.064.998a7.117 7.117 0 0 1 .918 0l.064-.998A8.113 8.113 0 0 0 8 0zM6.44.152c-.346.069-.684.16-1.012.27l.321.948c.287-.098.582-.177.884-.237L6.44.153zm4.132.271a7.946 7.946 0 0 0-1.011-.27l-.194.98c.302.06.597.14.884.237l.321-.947zm1.873.925a8 8 0 0 0-.906-.524l-.443.896c.275.136.54.29.793.459l.556-.831zM4.46.824c-.314.155-.616.33-.905.524l.556.83a7.07 7.07 0 0 1 .793-.458L4.46.824zM2.725 1.985c-.262.23-.51.478-.74.74l.752.66c.202-.23.418-.446.648-.648l-.66-.752zm11.29.74a8.058 8.058 0 0 0-.74-.74l-.66.752c.23.202.447.418.648.648l.752-.66zm1.161 1.735a7.98 7.98 0 0 0-.524-.905l-.83.556c.169.253.322.518.458.793l.896-.443zM1.348 3.555c-.194.289-.37.591-.524.906l.896.443c.136-.275.29-.54.459-.793l-.831-.556zM.423 5.428a7.945 7.945 0 0 0-.27 1.011l.98.194c.06-.302.14-.597.237-.884l-.947-.321zM15.848 6.44a7.943 7.943 0 0 0-.27-1.012l-.948.321c.098.287.177.582.237.884l.98-.194zM.017 7.477a8.113 8.113 0 0 0 0 1.046l.998-.064a7.117 7.117 0 0 1 0-.918l-.998-.064zM16 8a8.1 8.1 0 0 0-.017-.523l-.998.064a7.11 7.11 0 0 1 0 .918l.998.064A8.1 8.1 0 0 0 16 8zM.152 9.56c.069.346.16.684.27 1.012l.948-.321a6.944 6.944 0 0 1-.237-.884l-.98.194zm15.425 1.012c.112-.328.202-.666.27-1.011l-.98-.194c-.06.302-.14.597-.237.884l.947.321zM.824 11.54a8 8 0 0 0 .524.905l.83-.556a6.999 6.999 0 0 1-.458-.793l-.896.443zm13.828.905c.194-.289.37-.591.524-.906l-.896-.443c-.136.275-.29.54-.459.793l.831.556zm-12.667.83c.23.262.478.51.74.74l.66-.752a7.047 7.047 0 0 1-.648-.648l-.752.66zm11.29.74c.262-.23.51-.478.74-.74l-.752-.66c-.201.23-.418.447-.648.648l.66.752zm-1.735 1.161c.314-.155.616-.33.905-.524l-.556-.83a7.07 7.07 0 0 1-.793.458l.443.896zm-7.985-.524c.289.194.591.37.906.524l.443-.896a6.998 6.998 0 0 1-.793-.459l-.556.831zm1.873.925c.328.112.666.202 1.011.27l.194-.98a6.953 6.953 0 0 1-.884-.237l-.321.947zm4.132.271a7.944 7.944 0 0 0 1.012-.27l-.321-.948a6.954 6.954 0 0 1-.884.237l.194.98zm-2.083.135a8.1 8.1 0 0 0 1.046 0l-.064-.998a7.11 7.11 0 0 1-.918 0l-.064.998zM8.5 4.5a.5.5 0 0 0-1 0v3h-3a.5.5 0 0 0 0 1h3v3a.5.5 0 0 0 1 0v-3h3a.5.5 0 0 0 0-1h-3v-3z'/%3E%3C/svg%3E"); */
	/* cerchio + */
	/* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-plus-circle' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E"); */
	/* nuvola + */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-cloud-plus' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 5.5a.5.5 0 0 1 .5.5v1.5H10a.5.5 0 0 1 0 1H8.5V10a.5.5 0 0 1-1 0V8.5H6a.5.5 0 0 1 0-1h1.5V6a.5.5 0 0 1 .5-.5z'/%3E%3Cpath d='M4.406 3.342A5.53 5.53 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773 16 11.569 14.502 13 12.687 13H3.781C1.708 13 0 11.366 0 9.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383zm.653.757c-.757.653-1.153 1.44-1.153 2.056v.448l-.445.049C2.064 6.805 1 7.952 1 9.318 1 10.785 2.23 12 3.781 12h8.906C13.98 12 15 10.988 15 9.773c0-1.216-1.02-2.228-2.313-2.228h-.5v-.5C12.188 4.825 10.328 3 8 3a4.53 4.53 0 0 0-2.941 1.1z'/%3E%3C/svg%3E");
	background-position: center;
    background-repeat: no-repeat;
    background-size: 64px 64px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    filter: alpha(opacity=50);
    -khtml-opacity: 0.5;
    -moz-opacity: 0.5;
    opacity: 0.5;
    text-align: center;
}

.uploadBox input {
    /* width: 400%; */
    opacity: 0;
    width: 100%;
    height: 100%;
    /* margin-left: -300%; */
	margin-bottom: -10%;
    border: none;
    cursor: pointer;
}

.uploadBox input:focus {
    outline: none;
}

.uploadBox .spinner {
    display: none;
    margin-top: 50%;
}

.uploadBox:hover,
.uploadBox.dragging,
.uploadBox.uploading {
    filter: alpha(opacity=100);
    -khtml-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
}

.uploadBox.uploading {
	/* cerchio check */
	/* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-check-circle' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='M10.97 4.97a.235.235 0 0 0-.02.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-1.071-1.05z'/%3E%3C/svg%3E"); */
	/* nuvola check */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-cloud-check' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M10.354 6.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7 8.793l2.646-2.647a.5.5 0 0 1 .708 0z'/%3E%3Cpath d='M4.406 3.342A5.53 5.53 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773 16 11.569 14.502 13 12.687 13H3.781C1.708 13 0 11.366 0 9.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383zm.653.757c-.757.653-1.153 1.44-1.153 2.056v.448l-.445.049C2.064 6.805 1 7.952 1 9.318 1 10.785 2.23 12 3.781 12h8.906C13.98 12 15 10.988 15 9.773c0-1.216-1.02-2.228-2.313-2.228h-.5v-.5C12.188 4.825 10.328 3 8 3a4.53 4.53 0 0 0-2.941 1.1z'/%3E%3C/svg%3E");
	/* quadrato check */
	/* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-check-square' viewBox='0 0 16 16'%3E%3Cpath d='M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z'/%3E%3Cpath d='M10.97 4.97a.75.75 0 0 1 1.071 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.235.235 0 0 1 .02-.022z'/%3E%3C/svg%3E"); */
	/* quadroto check outline */
	/* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-check2-square' viewBox='0 0 16 16'%3E%3Cpath d='M3 14.5A1.5 1.5 0 0 1 1.5 13V3A1.5 1.5 0 0 1 3 1.5h8a.5.5 0 0 1 0 1H3a.5.5 0 0 0-.5.5v10a.5.5 0 0 0 .5.5h10a.5.5 0 0 0 .5-.5V8a.5.5 0 0 1 1 0v5a1.5 1.5 0 0 1-1.5 1.5H3z'/%3E%3Cpath d='m8.354 10.354 7-7a.5.5 0 0 0-.708-.708L8 9.293 5.354 6.646a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0z'/%3E%3C/svg%3E"); */
	
	background-position: center;
    background-repeat: no-repeat;
    background-size: 64px 64px;
	
}
/* Fine Upload */
thead{
	border-bottom: black;
}
.row-table{
    background: white;
    border-radius:30px;
}
.tfoot{
	border-bottom-color: transparent; 
	border-left-color: transparent; 
	border-right-color: transparent; 
	border-top-color: #dee2e6; 
	border-style: solid; 
	border-width: 0.5px;
	padding: 0.5rem 0.5rem 0.5rem
}

/*per celle che contengono troppe informazioni*/
td.text-inline{
	max-width: 150px;
}
span.td-cell{
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
	display: inline-block;
	max-width: 200px;
}

tr.valid{
	background : #e8ffde;
	border-color: #609748;
	color: #446236;
}
tr.valid-giustify{
	/* background-color: #ff96063b; */
	background-color: #ff96065c;
	color: #8d6620;
	border-color: #dfb365;
}
tr.valid-giustify-payment{
	background : #e8ffde;
	border-color: #609748;
	color: #446236;
}
tr.valid-festivity{
	/*background-color: #e8ffde;*/
	background-color: #424040;
	color:#ffffff;
}
tr.warning {
	background-color: #ffc10754;
    color: #625735;
    border-color: #a18f57;
}
tr.warning-festivity {
	background-color: #ffc10754;
    color: #625735;
    border-color: #a18f57;
}
tr.open-activity{
	background : #00a6ff33;
	border-color: #2c9bd7;
	color: #1c4f6a;
}
tr.invalid{
	background-color: #ff06063b;
	color: #720707;
	border-color: #c97878;
}
tr.invalid-worktime{ /* per indicare casella con attivita non considerata lavorativa (Acquisti,Spostamenti)*/
	background-color: #ffc10754;
	color: #625735;
	border-color: #a18f57;
}
span.invalid-worktime{ /* per indicare casella con attivita non considerata lavorativa (Acquisti,Spostamenti)*/
	font-weight: bold;
    color: red;
}

tr.promemoria_attivo{
	background : #00a6ff33;
	border-color: #2c9bd7;
	color: #1c4f6a;
}
tr.promemoria_completato{
	background : #e8ffde;
	border-color: #609748;
	color: #446236;
}

/* NAVBAR PRINCIPALE */
nav.main-navbar{
	background-color: #ec1c24;
	box-shadow: -2px 1px 15px -2px grey;
	--bs-navbar-color: var(--bs-green);
	/* max-height: 58.5px; */
}
/* toogle */
nav.main-navbar .navbar-toggler {
    color: rgba(0 130 72 / 38%);
}
/* link */
nav.main-navbar .navbar-nav .nav-link {
    color: #0082489c;
}
nav.main-navbar .navbar-nav .nav-link:focus, .main-navbar .navbar-nav .nav-link:hover {
    color: #00cb70;
}
/* dropdown menu */
nav.main-navbar .navbar-nav .dropdown-menu {
	background-color: #ec1c24;
	box-shadow: 16px 11px 20px 1px #80808059;
}
nav.main-navbar .navbar-nav .dropdown-item {
    display: block;
    width: 100%;
    padding: .25rem 1rem;
    clear: both;
    font-weight: 400;
    color: #0082489c;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}
nav.main-navbar .navbar-nav .dropdown-item:focus, .main-navbar .navbar-nav .dropdown-item:hover {
    color: #00cb70;
    background-color: #cb0303;
}
/* logo */
span.logo-navbar{
	width: 180px;
    max-width: 180px;
}
img.logo-navbar{
	width: 100%;
	max-width: 180px;
}

nav.navbar-search{
	top: 57px;
    z-index: 1000;
	flex-direction: column;
    overflow: auto;
	box-shadow: -2px 1px 15px -2px grey;
	max-height:86px;
}
/* transizione in x */
nav.navbar-search-new-show{
	height: 90px;
    /* width: 352px; */
    position: fixed;
    /* z-index: 1; */
    top: 0;
    /* left: 70%; */
    overflow-x: hidden;
    /* padding-top: 50px; */
    transition: 0.5s;
    width: 100%;
    /* right: -540px; */
    left: auto;
}
nav.navbar-search-new-hide{
	height: 90px;
    /* width: 352px; */
    position: fixed;
    z-index: 1;
    top: 0;
    /* left: 70%; */
    overflow-x: hidden;
    /* padding-top: 50px; */
    transition: 0.5s;
    width: 500px;
    right: -540px;
    left: auto;
}
/* transizione in y */
nav.navbar-search.show{
	/* height: 90px; */
    /* width: 352px; */
    position: fixed;
    z-index: 1000;
    top: 57px;
    /* left: 70%; */
    /* padding-top: 50px; */
    transition: 0.5s;
    width: 100%;
    /* top: -540px; */
    left: auto;
}
nav.navbar-search.hide{
	/* height: 90px; */
    /* width: 352px; */
    position: fixed;
    z-index: 1;
    /* top: 0; */
    /* left: 70%; */
    /* padding-top: 50px; */
    transition: 0.5s;
    /* height: 500px; */
    top: -27px;
    bottom: auto;
}
#cerca{
	margin-top: 31px;
}
#div-toogle-navbar-search{
	position: fixed;
    z-index: 1000;
	transition: 0.5s;
	display: flex;
}
#div-toogle-navbar-search.show{
	top: 140px;
}
#div-toogle-navbar-search.hide{
	top: 55px;
}
#toogle-navbar-search{
	width: 10%; 
	border-bottom-left-radius: 2rem; 
	border-bottom-right-radius: 2rem;
	box-shadow: 0px 13px 20px -8px grey;
	/* aggiunta per pulsante che insegue */
	left: 0;
    position: sticky;
}
#toogle-navbar-search.show{
	width: 10%; 
	border-bottom-left-radius: 2rem; 
	border-bottom-right-radius: 2rem;
	box-shadow: 0px 13px 20px -8px grey;
	left: calc(50% - (10% / 2))!important;
	transition: 0.5s;
}
#toogle-navbar-search.hide{
	width: 37px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    box-shadow: 0px 13px 20px -8px grey;
    left: 100%;
    position: sticky;
    padding-bottom: 2px;
}
#hidden-space{
	margin-top:77px;
}
#hidden-space.search-show{
	margin-top:170px;
	transition: 0.5s;
}
#hidden-space.search-hide{
	margin-top:86px;
	transition: 0.5s;
}

.navbar-show-item {
  opacity: 1;
  transition: opacity 0.3s linear;
}
.navbar-hide-item {
  opacity: 0;
  transition: opacity 0.3s linear;
}
#toogle_hide_element{
	background-color:#f8f9fa;
	border-radius:4px;
	/* box-shadow: 6px 0px 7px -4px grey; */
}
.navbar-dropleft{
	box-shadow: -6px 0px 7px -4px grey;
}
.navbar-dropleft:after{
	margin-inline: 2px;
	display: inline-block;
    content: "";
    border-top: 0.5em solid transparent;
    border-right: 0.5em solid;
    border-bottom: 0.5em solid transparent;
    border-left: 0;
}
.navbar-dropright{
	box-shadow: 6px 0px 7px -4px grey;
}
.navbar-dropright:after{
	margin-inline: 2px;
	display: inline-block;
    content: "";
    border-top: 0.5em solid transparent;
    border-right: 0;
    border-bottom: 0.5em solid transparent;
    border-left: 0.5em solid;
}


.pagination {
    --bs-pagination-padding-x: 0.75rem;
    --bs-pagination-padding-y: 0.375rem;
    --bs-pagination-font-size: 1rem;
    --bs-pagination-color: #ab212e;
    --bs-pagination-bg: #fff;
    --bs-pagination-border-width: 1px;
    --bs-pagination-border-color: #ab212e;
    --bs-pagination-border-radius: 0.375rem;
    --bs-pagination-hover-color: #ab212e;
    --bs-pagination-hover-bg: #eac7cb;
    --bs-pagination-hover-border-color: #ab212e;
    --bs-pagination-focus-color: #ab212e;
    --bs-pagination-focus-bg: #eac7cb;
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgb(171 33 46 / 25%);
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: #ab212e;
    --bs-pagination-active-border-color: #ab212e;
    --bs-pagination-disabled-color: #6c757d;
    --bs-pagination-disabled-bg: #fff;
    --bs-pagination-disabled-border-color: #dee2e6;
    display: flex;
    padding-left: 0;
    list-style: none;
}


.link-form{
    color: #008248;
}
.link-form:hover{
    color: #02cb71;
}
.link-form-dump{
    color: #b72533;
}
.link-form-dump:hover{
    color: #eb0d22;
}

div.preview_photo{
	/* col-4 */
	flex: 0 0 auto;
    width: 33.33333333%;
	
	padding: 5px;
}
button.btn-img-preview{
	border : 0 ;
	padding : 0;
	width: 100%;
    aspect-ratio: 1 / 1;
	border-radius: 13px;
}
img.img-button{
	width: 100%;
    aspect-ratio: 1/1;
	border-radius: 13px;
}
iframe.modal-preview{
	width:100%; 
	aspect-ratio: 1/1;
	border-radius: 0px 0px var(--bs-modal-inner-border-radius) var(--bs-modal-inner-border-radius);
}

.btn-restyle {
	--bs-btn-padding-x: 0.75rem;
	--bs-btn-padding-y: 0.375rem;
	--bs-btn-font-family: ;
	--bs-btn-font-size: 1rem;
	--bs-btn-font-weight: 400;
	--bs-btn-line-height: 1.5;
	--bs-btn-color: #212529;
	--bs-btn-bg: transparent;
	--bs-btn-border-width: 1px;
	--bs-btn-border-color: transparent;
	--bs-btn-border-radius: 0.375rem;
	--bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15),0 1px 1px rgba(0, 0, 0, 0.075);
	--bs-btn-disabled-opacity: 0.65;
	--bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
	display: inline-block;
	padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
	font-family: var(--bs-btn-font-family);
	font-size: var(--bs-btn-font-size);
	font-weight: var(--bs-btn-font-weight);
	line-height: var(--bs-btn-line-height);
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	user-select: none;
	border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
	border-radius: var(--bs-btn-border-radius);
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-success-large {
    color: #fff;
    background-color: #198754;
    border-color: #198754;
    margin: 5px;
    padding: 30px;
	width: -webkit-fill-available;
}

/* azzurro */
.btn-sky{
    border: none;
    outline: none;
    height: 50px;
    width: 100%;
    background-color: #0dcaf0;
    color: white;
    border-radius:4px;
    font-weight: bold; 
}
.btn-sky:hover{
    color: white;
	background-color: #12b3d3; 
    border-color: none;
}
.btn-sky:focus,.btn-sky:active{
    color: white;
	background-color: #12b3d3; 
    border-color: #12b3d3;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(18 179 211 / 50%);
}

.btn-red{
    border: none;
    outline: none;
    height: 50px;
    width: 100%;
    background-color: #ab212e;
    color: white;
    border-radius:4px;
    font-weight: bold; 
}
.btn-red:hover{
    color: white;
	background-color: #991d28; 
    border-color: var(--bs-btn-hover-border-color);
}
.btn-red:focus{
    color: white;
	background-color: #991d28;
    border-color: #991d28;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(171 33 46 / 50%);
}
.btn-red:active{
    color: white;
	background-color: #991d28;
    border-color: #991d28;
	box-shadow: 0 0 0 0.25rem rgb(171 33 46 / 50%);
}
.btn-red:focus:active{
    color: white;
	background-color: #991d28;
    border-color: #991d28;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(171 33 46 / 50%);
}
.btn-red[disabled]{
    color: white;
	background-color: #ab212eb8;
    border-color: #ab212eb8;
    outline: 0;
}
.btn-red:active[disabled]{
    color: white;
	background-color: #ab212eb8;
    border-color: #ab212eb8;
    outline: 0;
	box-shadow:none
}

.btn-red-small{
	border-color: #ab212e;;
    background-color: #ab212e;
    color: white;
}
.btn-red-small:hover{
    color: white;
	background-color: #991d28; 
    border-color: var(--bs-btn-hover-border-color);
}
.btn-red-small:focus{
    color: white;
	background-color: #991d28;
    border-color: #991d28;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(171 33 46 / 50%);
}
.btn-red-small:active{
    color: white;
	background-color: #991d28;
    border-color: #991d28;
	box-shadow: 0 0 0 0.25rem rgb(171 33 46 / 50%);
}
.btn-red-small:focus:active{
    color: white;
	background-color: #991d28;
    border-color: #991d28;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(171 33 46 / 50%);
}

.btn-icon{
	border-color: #ced4da;
	color: #000;
	border-left: 0px;
}
.btn-icon:hover{
	border-color: #ced4da;
	box-shadow: inset 0px 0px 1rem 0px rgb(206 212 218)
}
.btn-icon:focus{
	box-shadow: inset 0px 0px 1rem 0px rgb(90 98 106);
	border-color: #ced4da;
}
.btn-icon.is-invalid{
	border-color: var(--bs-danger);
	color: #000;
	border-left: 0px;
}
.btn-icon.is-valid{
	border-color: var(--bs-success);
	color: #000;
	border-left: 0px;
}

.checked_icon{
	background-color: rgb(213 213 201);
	box-shadow: 3px -1px 5px #0a0000;
	border-radius: 3px;
	width: 27px;
	height: 27;
}

div.pill{
	width: 46px;
    height: 38px;
	border-radius: 30px;
}
div.dinamic-pill{
	min-width: 38px;
	min-height: 38px;
	max-width: 58px;
    max-height: 38px;
	border-radius: 30px;
}
/*Scelta giorni settimana*/
div.pillWeekday{
	min-width: 46px;
	min-height: 38px;
	max-width: 64px;
    max-height: 38px;
	border-radius: 30px;
	font-size: 1.5rem!important;
	text-align: center!important;
}
div.pillWeekday:hover{
	background-color: #cb5e5e;
	color: white;
}
div.pillWeekday-checked{
	min-width: 46px;
	min-height: 38px;
	max-width: 64px;
    max-height: 38px;
	border-radius: 30px;
	background-color: #c33136;
    color: white;
	font-size: 1.5rem!important;
	text-align: center!important;
}
div.pillWeekday-checked:hover {
    background-color: #991d28;
    color: white;
}
/*input data validita dell'orario*/
input.pillInputDateFormat{
	border-radius: 30px;
	/*form-control*/
	display: block;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.5;
    color: #ffffff;
    background-color: #27875d;
    background-clip: padding-box;
    border: none;
    appearance: none;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
input.pillInputDateFormat:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem #27875d52;
}
input.pillInputDateFormat-invalid{
	border-radius: 30px;
	/*form-control*/
	display: block;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.5;
    color: #ffffff;
    background-color: #dc3545;;
    background-clip: padding-box;
    border: none;
    appearance: none;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
input.pillInputDateFormat-invalid:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(220 53 69 / 25%);
}
/*input orari giorni settimana*/
input.pillInputDate{
	width: 38px;
    height: 38px;
	min-width: 38px;
	min-height: 38px;
	max-width: 65.2px;
    max-height: 38px;
	border-radius: 30px;
	margin-inline: 4px;
	/*form-control*/
	display: block;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.5;
    color: #ffffff;
    background-color: #27875d;
    background-clip: padding-box;
    border: none;
    appearance: none;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
input.pillInputDate:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem #27875d52;
}
input.pillInputDate[disabled]{
    border: none;
	color: #ffffff;
    background-color: #ffffff;
}
input.pillInputDate-invalid{
	width: 38px;
    height: 38px;
	min-width: 38px;
	min-height: 38px;
	max-width: 65.2px;
    max-height: 38px;
	border-radius: 30px;
	margin-inline: 4px;
	/*form-control*/
	display: block;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.5;
    color: #ffffff;
    background-color: #dc3545;;
    background-clip: padding-box;
    border: none;
    appearance: none;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
input.pillInputDate-invalid:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(220 53 69 / 25%);
}
input.pillInputDate-invalid[disabled]{
    border: none;
	color: #ffffff;
    background-color: #ffffff;
}


input.input-hide,input.input-hide:focus-visible{
	text-align: center!important;
	font-size: 150%; 
	font-weight: bold; 
	border : none;
	outline : none;
}

.tooltip-black {
	z-index:5000;
}
.tooltip-green {
	z-index:5000;
	--bs-tooltip-bg: #198754;
	--bs-tooltip-opacity: 1.9;
}
.tooltip-warning { /*Giallo*/
	z-index:5000;
	--bs-tooltip-bg: var(--bs-warning);
	--bs-tooltip-opacity: 1.9;
}
.tooltip-info{ /*Azzurro*/
	z-index:5000;
	--bs-tooltip-bg: var(--bs-info);
	--bs-tooltip-opacity: 1.9;
}
.tooltip-blu{ /*Blu*/
	z-index:5000;
	--bs-tooltip-bg: var(--bs-blue);
	--bs-tooltip-opacity: 1.9;
}
.tooltip-danger{ /*Rosso*/
	z-index:5000;
	--bs-tooltip-bg: var(--bs-danger);
	--bs-tooltip-opacity: 1.9;
}
.tooltip-success{ /*Verde*/
	z-index:5000;
	--bs-tooltip-bg: var(--bs-success);
	--bs-tooltip-opacity: 1.9;
}
.tooltip-orange{ /*Arancione*/
	z-index:5000;
	--bs-tooltip-bg: var(--bs-orange);
	--bs-tooltip-opacity: 1.9;
}

/* POPOVER CLASS*/
.popover-success{
	--bs-popover-max-width: 350px;
	--bs-popover-border-color: var(--bs-success);
	--bs-popover-header-bg: var(--bs-success);
	--bs-popover-header-color: var(--bs-white);
	--bs-popover-body-padding-x: 1rem;
	--bs-popover-body-padding-y: .5rem;
}
.popover-info{
	--bs-popover-max-width: 350px;
	--bs-popover-border-color: var(--bs-info);
	--bs-popover-header-bg: var(--bs-info);
	--bs-popover-header-color: var(--bs-white);
	--bs-popover-body-padding-x: 1rem;
	--bs-popover-body-padding-y: .5rem;
}
.popover-danger{
	--bs-popover-max-width: 350px;
	--bs-popover-border-color: var(--bs-danger);
	--bs-popover-header-bg: var(--bs-danger);
	--bs-popover-header-color: var(--bs-white);
	--bs-popover-body-padding-x: 1rem;
	--bs-popover-body-padding-y: .5rem;
}
.popover-warning{
	--bs-popover-max-width: 350px;
	--bs-popover-border-color: var(--bs-warning);
	--bs-popover-header-bg: var(--bs-warning);
	--bs-popover-header-color: var(--bs-white);
	--bs-popover-body-padding-x: 1rem;
	--bs-popover-body-padding-y: .5rem;
}
.popover-orange{
	--bs-popover-max-width: 350px;
	--bs-popover-border-color: var(--bs-orange);
	--bs-popover-header-bg: var(--bs-orange);
	--bs-popover-header-color: var(--bs-white);
	--bs-popover-body-padding-x: 1rem;
	--bs-popover-body-padding-y: .5rem;
}

/*.spinner-border{
	display: inline-block;
	width: 2rem;
	height: 2rem;
	vertical-align: -0.125em;
	border: 2rem solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	-webkit-animation: .75s linear infinite spinner-border;
	animation: .75s linear infinite spinner-border;
}*/
.spinner-GreenDark {
    --bs-spinner-width: 12rem;
    --bs-spinner-height: 12rem;
    --bs-spinner-vertical-align: -0.125em;
    --bs-spinner-border-width: 10px;
    --bs-spinner-animation-speed: 1.50s;
    --bs-spinner-animation-name: spinner-border;
    border: var(--bs-spinner-border-width) solid currentcolor;
    border-right-color: transparent;
	color: #016237;
}


.modal-inherit {
    --bs-modal-zindex: 1055;
    --bs-modal-width: 500px;
    --bs-modal-padding: 1rem;
    --bs-modal-margin: 0.5rem;
    --bs-modal-color: ;
    --bs-modal-bg: rgb(0 0 0 / 0%);
    --bs-modal-border-color: rgb(0 0 0 / 0%);
    --bs-modal-border-width: 1px;
    --bs-modal-border-radius: 0.5rem;
    --bs-modal-box-shadow: 0 0.125rem 0.25remrgba(0, 0, 0, 0.075);
    --bs-modal-inner-border-radius: calc(0.5rem - 1px);
    --bs-modal-header-padding-x: 1rem;
    --bs-modal-header-padding-y: 1rem;
    --bs-modal-header-padding: 1rem 1rem;
    --bs-modal-header-border-color: #dee2e600;
    --bs-modal-header-border-width: 1px;
    --bs-modal-title-line-height: 1.5;
    --bs-modal-footer-gap: 0.5rem;
    --bs-modal-footer-bg: ;
	--bs-modal-footer-border-color: #dee2e600;
    --bs-modal-footer-border-width: 1px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--bs-modal-zindex);
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

div.card{
	box-shadow: 12px 12px 22px grey;
}
img.card-img-top{
	max-height: 175px;
}
/* TEXT COLOR*/
.text-GreenDark{
	color: #016237;
}


/*Calendar*/
#calendar-container{
    max-width: none;
    width: auto;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
}
#calendar-container .td-hidden{
	visibility: hidden;
	display: none;
}
#calendar-container .now{
	color : white;
	background-color: #f7a8a2;
}
#calendar-container{
	height: auto;
	padding: 0;
}
#month{
	padding-top: 0.5rem;
	font-size: 100%;
}
a.dayWeek{
	color:black;
}
a.dayWeekWeekend{
	color:#ec1c24;
}
a.itemList{
	color:black;
}
/*Testata*/
th.CalendarHeadGridIndex{
	border-right: 1px solid; 
	font-size: 100%; 
	text-align: center;
	width: 12%;
}
th.CalendarHeadGrid{
	text-align: center;
	font-size: 100%;
	width: 40px;
    height: 57px;
	position: sticky;
	top:0;
	min-width: 54.96px;
}
div.CalendarHeadGrid{
	position:absolute;
	top: 0;
	margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
	background-color:white;
	padding-top: 9px;
	border-bottom: 1px solid;
}
/*Griglia*/
div.CalendarGrid{
	max-height: 400px;
	overflow:auto;
}
td.dayGrid{
	text-align: center;
	vertical-align: middle;
	border-right-width: 1px;
	border-left-width: 1px;
}
td.dayGrid:hover{
	background-color: white;
}
td.dayGrid-invalid{
	text-align: center;
	vertical-align: middle;
	/*font-weight: bold;*/
	color: white;
	background-color: #dc3545;
	border-right-width: 1px;
	border-left-width: 1px;
	cursor: pointer;
}
td.dayGrid-valid{
	text-align: center;
	vertical-align: middle;
	/*font-weight: bold;*/
	color: white;
	background-color: #199f61;
	border-right-width: 1px;
	border-left-width: 1px;
	cursor: pointer;
}
td.dayGrid-warning{
	text-align: center;
	vertical-align: middle;
	/*font-weight: bold;*/
	color: white;
	background-color: #e3c911;
	border-right-width: 1px;
	border-left-width: 1px;
	cursor: pointer;
}
td.dayGrid-warning-festivity{
	text-align: center;
	vertical-align: middle;
	/*font-weight: bold;*/
	color: white;
	background-color: #e3c911;
	border-right-width: 1px;
	border-left-width: 1px;
	cursor: pointer;
}
td.dayGrid-valid-giustify{
	text-align: center;
	vertical-align: middle;
	/*font-weight: bold;*/
	color: white;
	background-color: #e39411;
	border-right-width: 1px;
	border-left-width: 1px;
	cursor: pointer;
}
td.dayGrid-valid-giustify-payment{
	text-align: center;
	vertical-align: middle;
	/*font-weight: bold;*/
	color: white;
	background-color: #199f61;
	border-right-width: 1px;
	border-left-width: 1px;
	cursor: pointer;
}
td.dayGrid-free{
	text-align: center;
	vertical-align: middle;
	color: #ffffff;
	background-color: #80808099;
	border-right-width: 1px;
	border-left-width: 1px;
}
td.dayGrid-disabled{
	text-align: center;
	vertical-align: middle;
	color: #ffffff;
	background-color: #8080801c;
	border-right-width: 1px;
	border-left-width: 1px;
}
td.dayGrid-valid-festivity{
	text-align: center;
	vertical-align: middle;
	color: #ffffff;
	background-color: #424040;
	border-right-width: 1px;
	border-left-width: 1px;
	cursor: pointer;
}
td.dayGrid-invalid-open-activity{
	text-align: center;
	vertical-align: middle;
	color: #ffffff;
	background-color: #35a2dc;
	border-right-width: 1px;
	border-left-width: 1px;
	cursor: pointer;
}
td.dayGrid-invalid-worktime{ /* per indicare casella calendario che non ha raggiunto l'orario*/
	text-align: center;
	vertical-align: middle;
	/*font-weight: bold;*/
	color: white;
	background-color: #d3c806;
	border-right-width: 1px;
	border-left-width: 1px;
	cursor: pointer;
}
/* Day grid NOW*/
td.dayGrid.now{
	text-align: center;
	vertical-align: middle;
	color: #ffffff;
	background-color: #f7a8a2;
	border-right-width: 1px;
	border-left-width: 1px;
	cursor: pointer;
}
td.dayGrid-now{
	text-align: center;
	vertical-align: middle;
	color: #ffffff;
	background-color: #f7a8a2;
	border-right-width: 1px;
	border-left-width: 1px;
	cursor: pointer;
}
td.dayGrid-invalid-now{
	text-align: center;
	vertical-align: middle;
	color: #ffffff;
	background-color: #f7a8a2;
	border-right-width: 1px;
	border-left-width: 1px;
	cursor: pointer;
}
td.dayGrid-valid-now{
	text-align: center;
	vertical-align: middle;
	color: #ffffff;
	background-color: #f7a8a2;
	border-right-width: 1px;
	border-left-width: 1px;
	cursor: pointer;
}
td.dayGrid-valid-giustify-now{
	text-align: center;
	vertical-align: middle;
	color: #ffffff;
	background-color: #f7a8a2;
	border-right-width: 1px;
	border-left-width: 1px;
	cursor: pointer;
}
td.dayGrid-valid-giustify-payment-now{
	text-align: center;
	vertical-align: middle;
	color: #ffffff;
	background-color: #f7a8a2;
	border-right-width: 1px;
	border-left-width: 1px;
	cursor: pointer;
}
td.dayGrid-free-now{
	text-align: center;
	vertical-align: middle;
	color: #ffffff;
	background-color: #f7a8a2;
	border-right-width: 1px;
	border-left-width: 1px;
	cursor: pointer;
}
td.dayGrid-disabled-now{
	text-align: center;
	vertical-align: middle;
	color: #ffffff;
	background-color: #dbc1be;
	border-right-width: 1px;
	border-left-width: 1px;
	/* cursor: pointer; */
}
td.dayGrid-valid-festivity-now{
	text-align: center;
	vertical-align: middle;
	color: #ffffff;
	background-color: #424040;
	border-right-width: 1px;
	border-left-width: 1px;
	cursor: pointer;
}
td.dayGrid-invalid-open-activity-now{
	text-align: center;
	vertical-align: middle;
	color: #ffffff;
	background-color: #35a2dc;
	border-right-width: 1px;
	border-left-width: 1px;
	cursor: pointer;
}
td.dayGrid-invalid-worktime-now{
	text-align: center;
	vertical-align: middle;
	color: #ffffff;
	background-color: #d3c806;
	border-right-width: 1px;
	border-left-width: 1px;
	cursor: pointer;
}

/*Calendario*/
td.day {
	text-align: end;
	border-right-width: 1px;
	border-left-width: 1px;
	padding-bottom: 4px;
	padding-right: 10px;
	width: 90px;
	max-width: 90px;
}
td.day:hover {
	background-color: white;
}
td.day-disabled {
	text-align: end;
	color: #6c757d91;
	background-color: #8080801c;
	border-right-width: 1px;
	border-left-width: 1px;
	padding-bottom: 4px;
	padding-right: 10px;
	width: 90px;
	max-width: 90px;
}
.prev-month:hover,.prev-month:focus{
	border-color: white;
}
.next-month:hover,.next-month:focus{
	border-color: white;
}
.activity{
	text-align: start;
	height: 69px;
}

/* tabella senza check */
/* normale */
tr.check-hidden:hover{
	background-color: #1987546b;
    color: white;
	border: white
}
tr.check-hidden:focus, tr.check-hidden.selected{
	background-color: #198754;
    color: white;
	border: white
}
tr.check-hidden.disabled{
	background-color: #2d5c46;
    color: white;
	border: white
}
/* Verde */
tr.check-hidden.green:hover{
	background-color: #1987546b;
    color: white;
	border: white
}
tr.check-hidden.green:focus, tr.check-hidden.green.selected{
	background-color: #198754;
    color: white;
	border: white
}
tr.check-hidden.green.disabled{
	background-color: #2d5c46;
    color: white;
	border: white
}
/* giallo */
tr.check-hidden.yellow:hover{
	background-color: #ffd350ba;
    color: white;
	border: white
}
tr.check-hidden.yellow:focus, tr.check-hidden.yellow.selected{
	background-color: var(--bs-yellow);
    color: white;
	border: white
}
tr.check-hidden.yellow.disabled{
	background-color: #dbb646;
    color: white;
	border: white
}
/* rosso */
tr.check-hidden.red:hover{
	background-color: #dc354585;
    color: white;
	border: white
}
tr.check-hidden.red:focus, tr.check-hidden.red.selected{
	background-color: var(--bs-red);
    color: white;
	border: white
}
tr.check-hidden.red.disabled{
	background-color: #a12d38;
    color: white;
	border: white
}

/* Classi per Dispositivi Mobili*/
@media only screen and (max-width: 1199px) {
	body {
		/* background-color: green; */
	}
	/* Navbar Ricerca */
	nav.navbar-search.show{
		top: 55px;
	}
	nav.navbar-search.hide{
		top:-35px;
	}
	#div-toogle-navbar-search.show{
		top: 138px;
	}
	#div-toogle-navbar-search.hide{
		top: 52px;
	}
	#toogle-navbar-search.show{
		width: 117px; 
		left: calc(50% - 58.5px)!important;
	}
	#toogle-navbar-search.hide{
		width: 30px;
		padding-top: 3px;
	}
	#hidden-space{
		margin-top:75px;
	}
	#hidden-space.search-show{
		margin-top:168px;
	}
	#hidden-space.search-hide{
		margin-top:84px;
	}

}