/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/


/** General */
.flex { display: flex; }
.clearfloat { clear: both; font-size: 1px; height: 0; line-height: 0; }
.asl-hide { display: none; }
.asl-shadow { box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important; border-radius: 4px!important;     padding: 24px; margin: 16px 0;}
.asl-shadow-no-marign-top { box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important; border-radius: 4px!important; padding: 24px; margin-bottom: 16px;}
.asl-grid-shadow { box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important; border-radius: 4px!important;  margin: 16px 0;}
.asl_warningbox { border: 1px solid #ed6307; padding: 1.25rem; border-left-width: 0.4rem; border-radius: 0.25rem; margin-bottom: 2em; width: 350px; width: 100%; width: fit-content; }
.asl_warningbox i { position: absolute; background: #fff; top: -1.9rem; color: #ed6307; }
.asl_warningbox>div:first-child { position: relative; }
.asl_infobox { border: 1px solid #d9dadb; padding: 1.25rem; background-color: white; border-left-width: 0.4rem;margin: 0 0 1rem; border-radius: 0.25rem; margin-bottom: 2em; width: 100%; position: relative; }
.asl_infobox > div:first-child { position: absolute; padding-left: 2px; background: #fff; width: 2rem; top: -0.9rem;}


/* Bandi */
.bando-sate { padding: 0.2rem 0.5rem; border-radius: 0.3rem; color: #fff; font-size: 16px; font-weight: 600; text-transform: uppercase; display: inline-block; }
.bando-dati{ margin-bottom: 0.4rem; }
.bando-dati-label {	margin-right: 8px; font-size: 16px; font-weight: 550; }
.bando-title{ color: #435a70;	font-weight: 600; margin-bottom: 1rem; }
.bando-date{ font-size: 16px; }
.bando-link{ text-decoration: underline; font-weight: 600; }



/** CookieYes - hide modal ADV */
.cky-modal .cky-footer-wrapper .cky-prefrence-btn-wrapper + div,
.cky-consent-container .cky-footer-wrapper .cky-prefrence-btn-wrapper + div { display: none !important; }

/** CookieYes - vertical scroll-bar  */
.cky-preference::-webkit-scrollbar { position: absolute; width: 8px; }
.cky-preference::-webkit-scrollbar-thumb { background: #e2e6ec;}
.cky-preference::-webkit-scrollbar-track { background: #222; }

/** Header - search icon hover */
.no-touch .l-subheader.at_middle a.w-search-open:hover { color: #f5f5f5; }

/** Mobile < 768px */
@media (max-width: 768px) {
	
	.l-canvas { overflow-x: hidden !important; overflow-y:auto!important;}
	/** General */
	.flex { flex-direction: column; }

	/** Menu - header logo */
	.logo-header { margin-right: 5px !important; }
	
	/** Menu - header icon */
	.w-nav-control { padding: 0 0 0 0.8rem; }
	
	/** Search - search icon */
	#page-header .w-search-open i { line-height: 50px; }
	
	/** Header - search icon hover */
	.no-touch .l-subheader.at_middle a.w-search-open:hover { color: #008542; }
	
	/** Template Bandi e Conscorsi */
	.cols_2>.attach-list>.w-grid-item { width: 100%; padding: .1rem 1.5rem; }	
	
	/** Reusable block - Condividi */
	.share-casing { justify-content: flex-start !important; }
	
	/** Template Medico e Pediatra */
	.mdf_warningbox { width: 100% !important; }
	
	/* bottoni dell'header */
	.w-btn.us-btn-style_8.ush_btn_1.icon_atleft {
        display: flex;
        align-items: center;
				height: 45px; /* Imposta l'altezza del tag <a> a 45px */
    }
    .w-btn.us-btn-style_8.ush_btn_1.icon_atleft i {
        margin-right: 0; /* Rimuove il margine destro dall'icona */
    }

    .w-btn.us-btn-style_8.ush_btn_1.icon_atleft::before {
        content: none; /* Rimuove il contenuto testuale del link */
    }

    .w-btn.us-btn-style_8.ush_btn_1.icon_atleft span {
        display: none; /* Nasconde il testo all'interno di uno span */
    }
		.title-top-bar::before{
			content: "Portale MMG e PLS";
		}
}


/** Desktop > 600px */
@media (min-width: 768px) {
	/** Template Luogo VD */
	.luogo-child { min-height: 130px; }
	
	/** Template Bandi e Conscorsi */
	.attach-child { min-height: 130px; }
	.w-btn.us-btn-style_8.ush_btn_1.icon_atleft {
				height: 48px;
    }
		
	.title-top-bar::before{
			content: "Portale medici di famiglia e pediatri di libera scelta";
		}
}


/** Template Bandi e Conscorsi */
.attach-child {  flex-direction: row;}
.attach-child svg { margin-right: 1rem; }
.attach-child .attach-child-body {  max-width: calc(100% - 32px - 1em); word-break: break-word; }
.attach-child .attach-child-body a { font-weight: 700; }
/* Timeline */
.asl-timeline { display: flex; flex-direction: row; justify-content: center; }
.asl-timeline .asl-timeline-aside { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0.5rem 1rem; color: #008666; border-right: 1px solid; border-color: #008666; }
.asl-timeline .asl-timeline-aside:after { content: ""; position: absolute; width: 9px; height: 9px; top: 50%; right: -5px; transform: translateY(-5px); border-radius: 50%;  background-color: #008666; }
.asl-timeline .asl-timeline-date { flex: 1; font-size: 2.75rem; line-height: 1.1; }
.asl-timeline .asl-timeline-month { flex: 1; font-size: 1rem; text-transform: uppercase; }
.asl-timeline .asl-timeline-content { flex: 1; margin-left: 2em; align-self: center; }
.asl-timeline .asl-timeline-teaser { padding: 0.8em; border-left: 5px solid #f5f6f7; width: 100%; display: inline-flex; flex-direction: row; align-items: flex-start; border: none; margin-right: -6px; box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important; border-radius: 4px!important; min-width: 0; word-wrap: break-word;  background-color: #fff; background-clip: border-box; }
.asl-timeline .asl-timeline-body { padding: 0; flex: auto; font-weight: 700; }
.asl-timeline .asl-timeline-title { margin: 0 0 1rem!important; line-height: 1em; }
/* Status */
.asl-status { display: inline-flex; flex-direction: row; align-items: flex-start; width: 20em;  margin-bottom: 1em; text-transform: uppercase; padding: 16px!important; box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important; min-width: 0; word-wrap: break-word; background-color: #fff; background-clip: border-box; }
.asl-status.status-actv { border-left: 5px solid #008053; }
.asl-status.status-crs { border-left: 5px solid #221bb3; }
.asl-status.status-scdt { border-left: 5px solid #5b6f82; }
.asl-status-body { padding: 0; flex: auto; word-wrap: break-word; }
.asl-status-text { font-size: .8888888889rem; margin: 0; word-wrap: break-word; }
.asl-status-text svg { padding-right: 10px; vertical-align: middle; margin-right: 8px!important; overflow: hidden; }
.asl-status.status-actv .asl-status-text svg{ fill: #008053;  }
.asl-status.status-crs .asl-status-text svg{ fill: #221bb3;  }
.asl-status.status-scdt .asl-status-text svg{ fill: #5b6f82;  }

/* bando banner child */
.asl-status-short.status-actv { background-color: #008053;  }
.asl-status-short.status-crs { background-color: #221bb3; }
.asl-status-short.status-scdt { background-color: #5b6f82; }

/** Template Medici LP */
.mlp-prestazioni-table .mlp-prestazione { width: 85%; padding: 0.6rem 1rem; }
.mlp-prestazioni-table .mlp-tariffa { width: 85%; padding: 0.6rem 1rem; }

/** Template Medici di Medicina Generale/Pediatri */
.mdf-studio { margin-top: 80px; }
.mdf-studio ~ div { padding-bottom: 2rem; }
.mdf-studio .mdf-orario { margin-top:16px; }
.mdf-studio .mdf-box {max-width: 400px; }
.mdf-studio h2 { margin-bottom: 10px; }
.box-allegati { width: 400px; }


/** List Medici LP */
#mlp-list .hide-nome,
#mlp-list .hide-disciplina,
#mlp-list .hide-luogo { transition: opacity 400ms ease-in-out, display 400ms ease-in-out; display: none  !important; opacity: 0; }


/** List Medici di Famiglia */
#mdf-list .hide-nome,
#mdf-list .hide-indirizzo { transition: opacity 400ms ease-in-out, display 400ms ease-in-out; display: none  !important; opacity: 0; }


/** Block Votazione */
#votazione-pagina { box-shadow: inset 0 1rem 1rem -1rem rgba(51,51,51,0.30)!important; }
#votazione-pagina .yes-hover-button { background: #005437; border-color: #005437; color: #ffffff !important; }
#votazione-pagina .no-hover-button{	 background: #b9233a;  border-color: #b9233a; color: #ffffff !important; }
#votazione-pagina .alert-success { display: flex; align-items: center; justify-content: flex-start; gap: 1rem; position: relative; margin-bottom: 1rem; border: 1px solid #b1b1b3; border-left: 8px solid #008758; padding: 1rem 1rem 1rem 4em; }
#contact-module .for_radio { display: none; }


/** Block Share */
#share-block { padding-top: 0.8rem; }
#share-block .div-share { position: relative; display: inline!important;  }
#share-block .btn-share { display: flex; align-items: center; flex-direction: row; background-color: transparent; }
#share-block .btn-share small { font-size: 16px; color: var(--color-content-link); }
#share-block .btn-share:hover small { color: var(--color-content-link-hover); }
#share-block .dropdown-share { position: absolute; inset: 0px auto auto 0px; transform: translate(0px, 32px); animation: dropdownFadeIn .3s forwards; display: none; top: 100%; left: -100px; z-index: 1000; float: left; min-width: 10rem; padding: 0.5rem 0; margin: 0.125rem 0 0; font-size: 1rem; text-align: left; list-style: none; background-color: #fff; background-clip: padding-box; box-shadow: 0 20px 30px 5px rgba(0,0,0,.05); border-radius: 0 0 4px 4px; }
#share-block .list-share { padding: 0; list-style-type: none; margin-left: auto; }
#share-block .item-share { display: flex; align-items: center; margin-bottom: 0.9rem; line-height: 1.4rem; font-size: .889em; padding: 0 24px; position: relative; text-decoration: none;  color:  var(--color-content-link); background-color: transparent; cursor: pointer; }
#share-block svg.icon { width: auto; display: inline-block; margin: 8px 5px 8px 0; height: 32px; vertical-align: middle; overflow: hidden; }
#share-block .list-share li a:hover .icon { fill: var(--color-content-link-hover); }
#share-block .list-share li a:hover { border-bottom: 0 !important; }
#share-block .list-share li a { border-bottom: 0 !important; }

/** Box Link */
.box-link { display: flex; flex-direction: row; justify-content: space-between; column-gap: 2rem; }
.box-link .w-post-elm.color_link_inherit a { color: var(--color-content-link); border-bottom: 0; }
.box-link svg { width: auto; height: auto; fill: initial;}




/********************************************************************* MMG AUSL MO **********************************************************************************/
/** Deleghe */
.divform {  margin-top: 20px; margin-left: 50px; display: flex; flex-wrap: wrap;}
.boxform { color: blue; width: 100%; padding: 12px 20px; margin: 8px 0; display: inline-block; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box;}


/*
.vc_col-sm-7 { width: 58.3333%; }
.vc_col-sm-5 { width: 41.6666%; }*/

.div-racchiude-tutto { margin-top: 80px; }

form input[type="text"],
form input[type="email"],
form input[type="date"],
form textarea {
  margin: 8px 0;
}

.align_items_custom {
	align-items: center;
}


/* login box*/

.login-box{
	padding: 2rem;
	max-width: 600px;
}

.logo-spid-agid { max-width: 300px; margin-top: 20px; }
.field-error { border: 1px solid red !important; }
.form-message { color: red; margin-bottom: 0; }
.welcome-msg { display: flex; align-items: flex-end; column-gap: 10px; }
.table-deleghe tr{ border-bottom: 2px solid #fff;}
.dd { color: #721c24; background-color: #f8d7da; border-color: #f5c6cb; }
.dv { color: #155724; background-color: #d4edda; border-color: #c3e6cb; }
.do { color: #383d41; background-color: #e2e3e5; border-color: #d6d8db; }
.btn-service a { cursor: pointer; }

/* PROVA AGGIUNTA */

.alert-danger {
    --bs-alert-color: #842029!important;
    --bs-alert-bg: #f8d7da!important;
    --bs-alert-border-color: #f5c2c7!important;
}

.alert-dismissible {
    padding-right: 3rem;
}

.alert {
    --bs-alert-bg: transparent;
    --bs-alert-padding-x: 1rem;
    --bs-alert-padding-y: 1rem;
    --bs-alert-margin-bottom: 1rem;
    --bs-alert-color: inherit;
    --bs-alert-border-color: transparent;
    --bs-alert-border: 1px solid var(--bs-alert-border-color);
    --bs-alert-border-radius: 0.375rem;
    position: relative;
    padding: var(--bs-alert-padding-y) var(--bs-alert-padding-x);
    margin-bottom: var(--bs-alert-margin-bottom);
    color: var(--bs-alert-color);
    background-color: var(--bs-alert-bg);
    border: var(--bs-alert-border);
    border-radius: var(--bs-alert-border-radius);
}

.fade {
    transition: opacity .15s linear;
}

.spinner {
	display: flex;
	position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Regola l'opacità da 0 a 1 */
  z-index: 9999; /* Assicurati che l'overlay sia sopra tutti gli altri elementi */
  justify-content: center;
  align-items: center;
}

.spinner-hide {
	display: none!important;
}