.header-logo{background-size:28px 28px; width:50px;}
.footer .footer-logo{background-size:80px 80px;	height:80px!important; margin-bottom:20px!important;}

.theme-light .header .header-logo{background-image:url(../images/preload-logo.png);}
.theme-light .menu .nav-logo{background-image:url(../images/preload-logo.png);}
.theme-light .footer .footer-logo{background-image:url(../images/preload-logo.png);}

.theme-dark .header .header-logo{background-image:url(../images/preload-logo.png);}
.theme-dark .menu .nav-logo{background-image:url(../images/preload-logo.png);}
.theme-dark .footer .footer-logo{background-image:url(../images/preload-logo.png);}

.page-title-large a{background-image:url(../images/avatars/5s.png);}
.page-title-small a{background-image:url(../images/avatars/5s.png);}
.menu-header a{background-image:url(../images/avatars/5s.png);}

.content_ricette{
	margin-top:5px;
	/*max-width: 1000px;*/
	width: 93%;
}
.content_ricette tr,td{
	line-height: unset;
}

/* Stile base */
.toggle-switch {
    position: relative;
    /*display: inline-block;*/
    width: 50px;
    height: 28px;
    top:5px;
    
    display: flex; 
    align-items: center; 
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e5ea;
    border-radius: 28px;
    transition: background-color 0.3s;
}

.slider::before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    
}

/* Stato attivo */
input:checked + .slider {
    background-color: #007aff;
}

input:checked + .slider::before {
    transform: translateX(22px);
}

/* Focus visibile */
.toggle-switch input:focus + .slider {
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.4);
}
/* Input */
input[type="checkbox"] {
    cursor: pointer;
}

input[type="button"] {
    cursor: pointer;
}

/* Bottoni */
.btn-primary {
    display: block;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    background-color: #007aff;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    background-color: #0056d2;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4);
}


.tabellaricette{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(26, 26, 26, 0.24);
    overflow: hidden;
    padding: 5px;
}
.tabellafarmaci{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(26, 26, 26, 0.24);
    overflow: hidden;
    padding: 5px;
}
.tabellafarmaci tr td{
    text-align: center; /* Allinea orizzontalmente */
    vertical-align: middle; /* Allinea verticalmente */
    /*height: 21px;    */
}
.tdricetteTitoli {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 16px;
    background: #f9f9f9 ;
    border-bottom: 1px solid #e5e5ea;
    color: #1c1c1e;
    
    display: inline-block; /* Mantiene il div come contenuto flessibile */
    border-radius: 8px; /* Angoli arrotondati */    
    

    width: 90% !important;
    
}
.tdricetteLista{
	text-align: center;
	font-size: max(1vw,15px);
	padding-top: 25px;
}
.buttonNuove{
	width: 100%;
	border-radius: unset;
	font-weight: bold;
}
.accN{
	color: #c52626;
}
.terap{
	background: #dde8ff ;
}
.richiedibili{
	background-color: #9afd8b !important;
}
.inpossesso{
    
    background: #dde8ff !important;
}

.acc{
	background: #e7f8dd !important;
}
.TableRicettaDettaglio{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    background: white;
    border-radius: 12px;
    /*box-shadow: 0 2px 8px rgba(26, 26, 26, 0.24);*/
    overflow: hidden;
    padding: 5px;
    margin-bottom:27px;
}
.TableRicettaDettaglio tr,
.TableRicettaDettaglio td{
	line-height: unset;
}
.intestazione_personale tr,
.intestazione_personale td{
	line-height: unset;
}
.intestazione_personale{
	width: 100%;
	text-align: center;
}
.intestazione_personale table{
	width: 100%;
	border:0px;
}
#detRicette tr,
#detRicette td{
	line-height: unset;
}
.TXTDeleghe{
	text-align: left;
	padding: 10px !important;
}
.delegheprofili th,
.delegheprofili td {
	border:2px solid black;
}
.portaleScelta{
	background: #6388ef;
	color :white;
	font-weight: bold;
}
.buttonTD{
	background: #6388ef;
	color :white;
	font-weight: bold;
}
.buttonTDOK{
	background: #9cd37c;
}
@media only screen and (max-width: 600px) {
	.txtGenericoSmall {
		font-size: 12px !important;
		font-weight: normal;
	}
	.txtGenerico{
		font-size: 13px !important;
		font-weight: normal;
	}
	.email_larghezza{
		width: 100% !important;
		max-width :100% !important;
	}
	.portaleScelta{
		text-align: center;
		font-size: 14px;
	}
	.TXTDeleghe{
		text-align: center;
		font-size: 13px;
	}
	.listaFarmaci table,
	.listaFarmaci tr,
	.listaFarmaci td{
		font-size: 15px;
		
	}
	.intestazione_personale table{
		font-size: 17px;
	}
	.buttonNuove{
		font-size: 17px;
	}
	.tdricetteLista{
		font-size: 15px;
	}
	.tdricetteTitoli{
		font-size: 20px;
	}
	.txtGrandeDettaglioRicCert{
		font-size: 15px;
		text-align: left;
		padding: 5px;
		font-weight: bold;
	}
}
@media only screen and (min-width: 601px) {
	.txtGenericoSmall {
		font-size: 15px !important;
		font-weight: normal;
	}
	.txtGenerico{
		font-size: 17px;
		font-weight: normal;
	}
	.email_larghezza{
		width: 93% !important;
	}
	.portaleScelta{
		font-size: 22px;
	}
	.TXTDeleghe{
		font-size: 18px;
		text-align: center;   
	}
	.listaFarmaci td{
		font-size: 18px;
	}
	.intestazione_personale table{
		font-size: 22px;
	}

	.buttonNuove{
		font-size: 20px;
	}
	.tdricetteLista{
		font-size: 18px;
	}
	.tdricetteTitoli{
		font-size: 18px;
	}
	.txtGrandeDettaglioRicCert{
		font-size: 20px;
		text-align: left;
		padding: 5px;
		font-weight: bold;
	}
}

.listaAccertamenti{
    text-align: center; 
    vertical-align: middle;
    
}
.goback{
	position: absolute;
	top:-7px;
	font-size: 40px;
	color:black;
	cursor: pointer;
}
.has-badge-head[data-count]:after{
    position:absolute;
    right:0px;
    top:10px;
    content: attr(data-count);
    font-size:60%;
    padding:3px;
    border-radius:999px;
    line-height:.75em;
    background:rgba(255,0,0,.85);
    text-align:center;
    min-width:2em;
    font-weight:bolder;
    color:white;
    font-size: 9px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
	
	
 #refresh-indicator {
            position: absolute;
            top: -50px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 40px;
            border: 4px solid #ccc;
            border-top: 4px solid #007bff;
            border-radius: 50%;
            animation: none;
            opacity: 0;
            transition: opacity 0.3s, top 0.3s;
        }

#refresh-indicator.active {
    animation: spin 1s linear infinite;
    opacity: 1;
    top: 10px;
}

@keyframes spin {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

.gmail-alert {
	background-color: #fce8e6;
	color: #000;
	padding: 12px 16px;
	border-left: 4px solid #d93025;
	font-size: 14px;
	border-radius: 4px;
	margin-top: 1px;
	font-family: Arial, sans-serif;
	margin-bottom: 20px;
	position: relative;
	-moz-user-select: none;
	display: block;
}

@media (min-width: 300px) {
	.icona_medico_mail{
		font-size: 20px !important;
		color:white;
	}
	.dot {
		height: 35px;
		width: 35px;
		background-color: #acaeff;
		border-radius: 50%;
		display: inline-block;
		text-align: center;
		padding: 1px;
	}
	.icona_medico_mail_grande{
		font-size: 35px !important;
		color:white;
	}
	.dot_grande {
		height: 50px;
		width: 50px;
		background-color: #acaeff;
		border-radius: 50%;
		display: inline-block;
		text-align: center;
		padding: 5px;
	}
	.padding_oggetto_testo_lista{
		padding-left:45px;
	}
	.titolo_email{
		font-size: 20px;
		font-weight: bold;
	}
	.testo_medico {
		font-size: 20px;
	}
	.icona_medico{
		font-size:30px;
	}
	.testo_medico_piccolo{
		font-size:13px !important;
	}
	.testo_medico_medio{
		font-size:15px !important;
	}
	.clock{
		width: 30px;
		float: left;
	}
	.numday{
		width: 30px;
		float: left;
		font-weight: bold;
		color:black;
	}
	.primo_orario{
		width: 130px;
		float: left;
	}
	.secondo_orario{
		width: 130px;
		float: left;
	}
	.valori_ambulatori{
		padding:5px;
	}
	.icone_dati{
		width: 30px;
		float: left;
	}
	.titolo_sezione{
		font-size:16px;
	}
	.anagrafica_sezione{
		font-size:16px;
	}
}

@media (min-width: 1100px) {
	.icona_medico_mail_grande{
		font-size: 35px !important;
		color:white;
	}
	.dot_grande {
		height: 50px;
		width: 50px;
		background-color: #acaeff;
		border-radius: 50%;
		display: inline-block;
		text-align: center;
		padding: 5px;
	}
	.icona_medico_mail{
		font-size: 25px !important;
		color:white;
	}
	.dot {
		height: 40px;
		width: 40px;
		background-color: #acaeff;
		border-radius: 50%;
		display: inline-block;
		text-align: center;
		padding: 5px;
	}
	.padding_oggetto_testo_lista{
		padding-left:50px;
	}

	.titolo_email{
		font-size: 20px;
	}

	.testo_medico {
		font-size: 35px;
	}
	.icona_medico{
		font-size:40px;
	}
	.testo_medico_piccolo{
		font-size:20px !important;
	}
	.testo_medico_medio{
		font-size:25px !important;
	}
	.clock{
		width: 70px;
		float: left;
	}
	.numday{
		width: 80px;
		float: left;
		font-weight: bold;
		color:black;
	}
	.primo_orario{
		width: 200px;
		float: left;
	}
	.secondo_orario{
		width: 200px;
		float: left;
	}
	.valori_ambulatori{
		padding:10px;
	}
	.icone_dati{
		width: 70px;
		float: left;
	}
	.titolo_sezione{
		font-size:22px;
	}
	.anagrafica_sezione{
		font-size:18px;
	}
}
.farmaci_border{
	border-color:#fdd94e !important;
}
.ricette_border{
	border-color: #de1f2f !important;
}
.messaggi_border{
	border-color: #a43340 !important;
}
.daticlinici_border{
	border-color: #8376ff !important;
}
.appuntamenti_border{
	border-color: #138805 !important;
}
.greenpass_border{
	border-color: #3be82c !important;
}
.deleghe_border{
	border-color: #ec26e1 !important;
}
.medico_border{
	border-color: #000000 !important;
}
.faq_border {
	border-color: #007bff !important;
}
.profilo_border{
	border-color: #42bcf8 !important;
}
.referti_border{
	border-color:#306E96 !important;
}
.calendar{
	overflow: unset !important;
}

/* 24/10/26 marchio discreto "by AtlasMedica": sotto la card di accesso (login/login.inc.php) e in fondo alla home
   (accettazione/accettazione.inc.php, PC e app). Qui in style.css perche' e' incluso in tutte le pagine del portale */
.pp-by { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px auto 0; opacity: .8; pointer-events: none; user-select: none; }
.pp-by span { font-family: inherit; font-size: 12px; font-style: italic; color: #7a8590; letter-spacing: .3px; }
.pp-by img { display: block; width: 86px; height: auto; }
/* home: marchio in riga con i link Privacy / Cookie, alto come il testo (niente altezza in piu') */
.pp-by-riga { display: inline-flex; align-items: center; gap: 4px; margin-left: 10px; vertical-align: middle; opacity: .8; pointer-events: none; user-select: none; }
.pp-by-riga span { font-size: 11px; font-style: italic; color: #7a8590; }
.pp-by-riga img { display: block; width: 62px; height: auto; }
