/*
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; }
.asl_warningbox i { position: absolute; background: #fff; top: -9px; color: #ed6307; }
.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;}


/** Footer */
#page-footer .w-menu.menu-footer ul.menu > li > a { border-bottom: 1px solid #ffffff7d !important; }
#page-footer a:not(:has(i[class*=fa])):hover { border-bottom: 1px solid; }
#page-footer .w-separator { color: #ffffff7d!important; }
#page-footer .sub-menu { text-transform: initial !important; font-weight: 300; }
#page-footer .sub-menu li { margin-bottom: 0; font-size: 16px; }
#page-footer .w-menu.menu-footer ul.menu>li { width: 33.3333%; padding-left: 1.5rem; padding-right: 1.5rem; }


/* 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; }

/** MEDIUM (Tablet) < 768px */
@media (max-width: 1024px){
	/** Template Medico e Pediatra */
	#us_grid_pls_mmg .w-grid-item,
	#us_grid_places .w-grid-item,
	.asl_custom_grid .w-grid-item { width: 50%!important;; }
}

/** SMALL (Mobile) < 768px */
@media (max-width: 768px) {
	/** General */
	.flex { flex-direction: column; }
	
	/** Footer */
	#page-footer .w-menu.menu-footer ul.menu>li { width: 100%; margin-bottom: 40px !important; }

	/** 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; }
	#us_grid_pls_mmg .w-grid-list,
	#us_grid_places .w-grid-list,
	.asl_custom_grid .w-grid-list { margin:0 }
	#us_grid_pls_mmg .w-grid-item,
	#us_grid_places .w-grid-item,
	.asl_custom_grid .w-grid-item { width:100% !important;padding:0 !important; margin-bottom:var(--gap,0px) !important }
	#map_search { position: static !important; width: auto !important; }
	#map_search .tipologia_distretto { display: block!important; }
}


/** Desktop > 600px */
@media (min-width: 768px) {
	/** Template Luogo VD */
	.luogo-child { min-height: 130px; }
	
	/** Template Bandi e Conscorsi */
	.attach-child { min-height: 130px; }
}

/** List Places */
#us_grid_places .h-title,
#us_grid_places .h-type,
#us_grid_places .h-district { transition: opacity 400ms ease-in-out, display 400ms ease-in-out; display: none  !important; opacity: 0; }


/** 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); }
.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 Libera Professione */
div .mlp-sede:not(:first-child) { margin-top: 2.5rem; }
.mlp-sede {}
.mlp-sede > :first-child { padding-bottom: 2rem; }
.mlp-sede h2 { margin-bottom: 10px; }
.mlp-prestazioni-table .mlp-prestazione { width: 85%; padding: 0.6rem 1rem; }
.mlp-prestazioni-table .mlp-tariffa { width: 85%; padding: 0.6rem 1rem; }


/** Template Medici 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; }
.mdf-curriculum:not(:has(.attach-child)) { display: none; }
.box-allegati { max-width: 400px; }
.mdf_pls_rete .usg_post_title_1,
.asl_custom_grid .usg_post_title_1{ font-size: 1.4rem!important; font-weight: 700!important; margin-bottom: 0.5rem!important; }
.mdf_pls_rete .usg_vwrapper_1,
.asl_custom_grid .usg_vwrapper_1{ position: static!important; }
.mdf_pls_rete .w-grid-item-h>.w-vwrapper:only-child,
.asl_custom_grid .w-grid-item-h>.w-vwrapper:only-child { height: 80%; }
										

/** 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; }

/** Box Link */
.box-link { display: flex; flex-direction: row; justify-content: space-between; column-gap: 2rem; }

/** Aggregatore */

.aggregatore-hide-post { display: none!important;}
.aggregatore-selected-button { border-radius: 0.3em!important; border-color: var(--color-content-secondary)!important; }
.news-item .post_content p,
.news-item .post_date {font-size: 14px!important;}


/* Homepage Map */
.marker-cluster-small {	background-color: rgba(236, 16, 207, 0.6); }
.marker-cluster-small div {	background-color: rgba(236, 16, 207, 0.6);	color:#fff;	}
.marker-cluster-medium { background-color: rgba(206, 14, 180, 0.6);	}
.marker-cluster-medium div { background-color: rgba(206, 14, 180, 0.6);	color:#fff;	}
.marker-cluster-large {	background-color: rgba(156, 7, 105, 0.6); }
.marker-cluster-large div {	color:#fff;	background-color: rgba(156, 7, 105, 0.6); }

#map_container { position: relative; width: 100%; height: 100%; position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; z-index: 0; }
#map_container #map_search { background-color: #fff; position: absolute; width: 400px; top: 20%; left: 50px; z-index: 9999; display: flex; justify-content: space-between; align-items: center; padding: 10px; }
#map_container #map_search label { margin-right: 10px; }
#map_container #map_search .contenitore_interno{ margin: 15px; }
#map_container #map_search .bottone_class { display: flex; flex-direction: column; }
#map_container #map_search .tipologia_distretto { display: flex; }
#map_container #map_search input,
#map_container #map_search select { width: 100%; }
#map_container #map { position: relative; width: 100%; height: 100%; }
#map_container #map_back{ display: block; text-align: center; border-radius: 0.3rem; color: #fff!important; background: rgba(0,0,0,0.3); line-height: 50px; height: 50px; width: 50px; z-index: 9999; margin: 15px; position: absolute; top: 45%; }
#map_container #map_back:hover{ background-color: var(--color-content-link); }
#map_results .asl-grid-shadow { padding: 15px;}
#map_results::-webkit-scrollbar { position: absolute; width: 8px; }
#map_results::-webkit-scrollbar-thumb { border-radius: 8px; background-color:#786e6e; }
#map_results::-webkit-scrollbar-track { background: none;	border: 1px solid #cacaca; box-shadow: inset 0 0 6px rgba(0, 0, 0, .3); }
.h-title{ display: none; }

#campo-volo-lat,
#campo-volo-lng { display: none; }
#evento-lat,
#evento-lng { display: none; }