body { 
    background: #EEEEEE; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#EEEEEE, #00A3EF); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#EEEEEE, #00A3EF); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#EEEEEE, #00A3EF); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#EEEEEE, #00A3EF); /* Standard syntax */
    }

.modal-content {
    padding: 10px;
}

/* Tooltip di Bootstrap */
.my_tooltip + .tooltip > .tooltip-inner {
    background-color: #f00;
    color: #fff;
	white-space: nowrap;
	max-width: none;
	}
.my_tooltip + .tooltip.top > .tooltip-arrow { border-top: 5px solid red; }
.my_tooltip + .tooltip.bottom > .tooltip-arrow { border-bottom: 5px solid red; }
.my_tooltip + .tooltip.left > .tooltip-arrow { border-left: 5px solid red; }
.my_tooltip + .tooltip.right > .tooltip-arrow { border-right: 5px solid red; }

#contenitore {
	padding: 0 20px 20px 20px;
	}
	
#contenitore_popup {
	height: 100%;
	padding: 20px;
	background-color: #fed;
	}
	
#header {
	height: 66px;
	padding: 10px 10px 0 10px;
	background-color: #ca9;
	}
	.header_link {
		text-decoration: none;
		color: #000; 
		font-size: 0.8em;
		font-weight: bold;
		text-shadow: 2px  2px 4px #777;
		filter: DropShadow(Color=#000000, OffX=2, OffY=2);
		}
		.header_link:hover { 
			text-decoration: none;
			color: #f00; 
			}	

/* Gestore preloader */
.no-js #loader { display: none;  }
    .js #loader { display: block; position: absolute; left: 100px; top: 0; }
    .se-pre-con {
        position: fixed;
        left: 0px;
        top: 0px;
        width: 100%;
        height: 100%;
        z-index: 9999;
        background: url(../Immagini/Preloader_8.gif) center no-repeat #fff;
    }

#benvenuto {
	position: fixed;
	width: 100%;
	bottom: 37px;
	left: 0px;
	}
	#buongiorno {
		padding: 0 0 10px 10px;
		vertical-align: top;
		}
#footer {
	position: fixed;
	width: 100%;
	bottom: 0px;
	left: 0px;
	padding: 10px;
	text-align: center;
	background-color: #000;
	z-index: 999999;
	}
	#footer_studio {
		margin-bottom: 0px;
		font-size: 0.9em;
		text-decoration: none;
		color: #fff;
		}
	#footer_studio a { color: #fff; }

#titolo_pagina, #sottotitolo_pagina {
	color: #007;
	font-weight: bold;
	text-shadow: 2px  2px 4px #777;
	filter: DropShadow(Color=#000000, OffX=2, OffY=2);
	}
	#titolo_pagina {
		font-size: 1.2em;
		margin-bottom: 5px;
		}
	#sottotitolo_pagina {
		font-size: 0.8em;
		}
			
.icona { width: 35px; height: 35px; }
	.cella_icone { text-align: center; }
	.mezzacella_icone { width: 20px; }
	.didascalia_icone {
		margin-top: 5px;
		width: 70px;
		text-align: center;
		font-size: 0.6em;
		}

.tab_centrale { 
	width: 100%; 
	margin-bottom: 20px; 
	}
	.testo_su_tabella { margin-bottom: 10px; }
	.icona_p_tabella { width: 24px; height: 24px; }
	.tabella_titolo {
		height: 40px;
		color: #fff;
		background-color: #333344;
		vertical-align: middle;
		line-height: 18px;
		text-align: center;
		font-size: 13px;
		}
		.tabella_titolo a { color: #fff; }
	.tabella_riga { height: 40px; }
	.id_record {
		color: #999;
		text-align: center;
		font-size: 0.8em;
		}
		.id_record a, .id_record a:hover { color: #999; text-decoration: none; }
	.tabella_testo { 
		padding: 5px;
		font-size: 0.8em; 
		}
	.tabella_testo_modal { 
		padding: 5px;
		font-size: 0.9em; 
		}
	.tabella_sottotesto { 
		padding: 5px;
		font-size: 0.7em; 
		}
	.tabella_icona {
		width: 24px;
		cursor: pointer;
		}
	.tabella_testo_titolo {
		font-size: 0.94em;
		color: #fff;
		}

label { font-weight: normal; }

.paginazione {
	margin: 20px 0 80px;
	font-size: 1em;
	color: #000;
	}
	
.filtri_applicati { 
	margin-bottom: 5px;
	font-size: 0.8em;
	}

.filtra_pulsanti {
	margin: 0 0 5px 0;
	width: 100px;
	height: 30px;
	color: #FF0000;
	font-size: 12px;
	}
	
.input_titolo { font-size: 0.8em; }
.input_sottotitolo {
	margin: 5px 0 0 10px;
	font-size: 0.7em;
	}
.input_text, .input_select, .input_check, .input_check2, .input_tarea {
	margin-bottom: 3px;
	border: 1px solid #dddddd;
 	border-radius: 7px; 
	-moz-border-radius: 7px; /* firefox */
	-webkit-border-radius: 7px; /* safari, chrome */	
	-webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.2);
	box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.2);
	font-size: 15px;
	}
	.input_text {
		height: 25px;
		margin-left: 3px;
		padding: 0 3px 0 5px;
		}
	.input_select {
		height: 30px;
		margin-left: 5px;
		padding: 3px 3px 3px 3px;
		cursor: pointer;
		font-weight: 500;
		}
	.input_check {
		width: 20px;
		height: 20px;
		margin: 0 0 0 5px;
		cursor: pointer;
		}
	.input_check2 {
		display: inline-block;
		width: 30px;
		height: 30px;
		margin-left: 5px;
		padding: 0;
		text-align: center;
		font-size: 0.6em;
		color: #999;
		cursor: pointer;
		}
		.check {
			width: 20px;
			height: 20px;
			}
		.check2 {
			width: 28px;
			height: 28px;
			}
	.input_tarea {
		width: 95%;
		margin-left: 5px;
		float: left;
		padding: 15px;
		}
.scheda_input { font-size: 0.8em; }
.record_riga { height: 25px; }

.bottone {
	width: 15%;
	min-width: 100px;
	max-width: 150px;
	height: 40px;
	margin: 0 10px 5px 10px;
	padding: 5px;
    border: none;              
 	border-radius: 7px; 
	-moz-border-radius: 7px; /* firefox */
	-webkit-border-radius: 7px; /* safari, chrome */	
	/* text-shadow: 0 1px 0 rgba(0,0,0,0.4); */  
    box-shadow: none;
	cursor: pointer;
	font-size: 1em;
	font-weight: 500;
	line-height: 20px; 	
	}
	.bottone:hover { text-decoration: none; }
	.bottone:active {
		/* When pressed, move it down 1px */
		position: relative;
		top: 1px;
		left: 1px;
		}
	.bottone_red   { color: #fff; background-color: #b91b1c; }
	.bottone_gray  { color: #FFFFFF; background-color: #c6c6c6; }
	.bottone_cyan  { color: #fff; background-color: #50b8e1; }
	.bottone_blue  { color: #fff; background-color: #013bf8; }
	.bottone_green { color: #fff; background-color: #00aa00; }
	.bottone_icona { width: 22px; margin: -2px 5px 0 0;}

#registra { 
	margin-top: 25px;
	text-align: center; 
	}
	
#cal {
	width: 100%;
	background-color: #459;
	}
	#cal_sx { float: left; width: 75%; }
	#cal_dx { float: right; }
	#cal_agenda {
		padding: 10px;
		border: 1px solid;
		border-radius: 10px; 
		-moz-border-radius: 10px; /* firefox */
		-webkit-border-radius: 10px; /* safari, chrome */				
		}
		#cal_cerca { text-align: right; margin-bottom: 5px; } 
		#cal_testata { width: 100%; margin-bottom: 10px; }
		#cal_testata_spec, #cal_testata_nrapp { font-size: 0.6em; }
		.cal_riga {
			margin-bottom: 3px;
			height: 22px;
			font-size: 0.85em;
			}
		.cal_riga_ora, .cal_riga_paz, .cal_riga_reg, .cal_riga_imp, .cal_riga_spc, .cal_riga_tel, .cal_riga_pnt, .cal_riga_usr, .cal_riga_del {
			display: inline-block; 
			margin-right: 5px; 
			line-height: 22px;
			}
		.cal_riga_ora { width: 40px; font-weight: bold; cursor: pointer; color: #777; }
		.cal_riga_paz { width: 22%; font-weight: bold; }
		.cal_riga_reg { width: 40px; text-align: center; font-weight: bold; color: #a00; }
		.cal_riga_imp { width: 20%; }
		.cal_riga_spc { width: 80px; }
		.cal_riga_tel { width: 120px; }
		.cal_riga_pnt { width: 80px; }
		.cal_riga_usr { width: 70px; text-align: center; }
		.cal_riga_del { width: 30px; text-align: right; cursor: pointer; }
	#cal_dx {
		width: 245px;
		text-align: center;
		}
		#calendario { height: 230px; }
		#cal_sel_spec, #cal_note_giorno { margin-bottom: 20px; }
		.cal_titolo_sez, .cal_spec, #cal_testata_giorno, #cal_testata_spec {
			text-shadow: 2px  2px 4px #777;
			filter: DropShadow(Color=#000000, OffX=2, OffY=2);
			font-weight: bold;
			}
		.cal_titolo_sez {
			margin: 5px 0 5px 0;
			font-size: 0.9em;
			}
		.cal_sottotitolo_sez { font-size: 0.7em; }
		.cal_spec {
			padding: 5px 0 5px 0;
			text-align: center;
			font-size: 0.7em;
			}
		#cal_spec_riquadro, #cal_note_riquadro, #cal_parametri_riquadro {
			width: 100%;
			font-size: 0.9em;
			border: 1px solid;
			border-radius: 10px; 
			-moz-border-radius: 10px; /* firefox */
			-webkit-border-radius: 10px; /* safari, chrome */				
			}
		#cal_spec_riquadro {
			background: #fef;
			}
		#cal_note_riquadro {
			height: 85px;
			background: #ffa;
			}
		#cal_parametri_riquadro {
			height: 75px;
			background: #eff;
			}
		.cal_parametri {
			text-align: left;
			font-size: 0.9em;
			margin: 5px 0 0 10px;
			}
		#cal_nota { margin: 10px; text-align: left; }
	.calendar_riga_dettaglio {
		font-size: 0.8em;
		}

#tagbar {
	margin-top: 10px;
	height: 30px;
	text-align: right;
}
	#tagbar button {
		width: 100px;
		height: 30px;
		border: 1px solid;
		border-radius: 5px; 
		-moz-border-radius: 5px; /* firefox */
		-webkit-border-radius: 5px; /* safari, chrome */	
		background-color: #DDDDDD;
		cursor: pointer;
	}
	#tagbar .selected{
		height: 31px;
		background-color: #FFFF00;
	}

.modal_left {
	display: inline-block;
	vertical-align: top;
	}
.modal_tit_campo {
	padding-top: 5px;
	height: 40px;
	text-align: left;
	font-size: 14px;
	}
.modale_titolo, .modale_sottotitolo {
	text-align: center;
	margin: 10px;
	font-weight: bold;
	text-shadow: 2px  2px 4px #777;
	filter: DropShadow(Color=#000000, OffX=2, OffY=2)	
	}
	.modale_titolo {
		margin-top: 10px;
		color: #000;
		font-size: 1.3em;
		}	
	.modale_sottotitolo {
		color: #000;
		font-size: 1em;
		}

.riga_grafici {
	height: 500px;
	}
.riga_det_grafici {
	height: 22px;
	}
	
.modello_ts {
	position: relative;
	width: 800px;
	height: 563px;
	margin-left: 5px;
	border: 1px solid;
	border-radius: 5px; 
	-moz-border-radius: 5px; /* firefox */
	-webkit-border-radius: 5px; /* safari, chrome */
	background-image: url("../Immagini/Promemoria_p.jpg");
}
	#ts_imp_numimp1 {position: absolute; top: 65px; left: 385px; letter-spacing: 9; font: bold 11px Verdana;}
	#ts_imp_numimp2 {position: absolute; top: 65px; left: 580px; letter-spacing: 9; font: bold 11px Verdana;}
	#ts_imp_paziente {position: absolute; top: 105px; left: 20px; font: bold 15px Verdana;}
	#ts_imp_codfisc {position: absolute; top: 117px; left: 509px; letter-spacing: 5; font: bold 11px Verdana;}
	#ts_imp_indirizzo {position: absolute; top: 137px; left: 75px; font: bold 10px Verdana;}
	#ts_imp_cap {position: absolute; top: 137px; left: 290px; font: bold 10px Verdana;}
	#ts_imp_citta {position: absolute; top: 137px; left: 370px; font: bold 10px Verdana;}
	#ts_imp_prov {position: absolute; top: 137px; left: 540px; font: bold 10px Verdana;}
	#ts_imp_codes {position: absolute; top: 163px; left: 84px; font: bold 12px Verdana;}
	#ts_imp_prov_asp {position: absolute; top: 163px; left: 332px; font: bold 12px Verdana;}
	#ts_imp_asp {position: absolute; top: 163px; left: 472px; font: bold 12px Verdana;}
	#ts_imp_sugg {position: absolute; top: 179px; left: 179px; font: bold 12px Verdana;}
	#ts_imp_altro {position: absolute; top: 179px; left: 280px; font: bold 12px Verdana;}
	#ts_imp_priorita {position: absolute; top: 179px; left: 530px; font: bold 10px Verdana;}
	#ts_imp_diagnosi {position: absolute; top: 489px; left: 142px; font: bold 10px Verdana;}
	#ts_imp_nr_esami {position: absolute; top: 505px; left: 163px; font: bold 10px Verdana;}
	#ts_imp_tipo_ric {position: absolute; top: 505px; left: 300px; font: bold 10px Verdana;}
	#ts_imp_data_ric {position: absolute; top: 505px; left: 420px; font: bold 10px Verdana;}
	#ts_imp_cf_medico {position: absolute; top: 505px; left: 675px; font: bold 10px Verdana;}
	#ts_imp_cod_aut {position: absolute; top: 520px; left: 155px; font: bold 10px Verdana;}
	#ts_imp_medico {position: absolute; top: 520px; left: 550px; font: bold 10px Verdana;}

.modello_red {
	position: relative;
	width: 800px;
	height: 563px;
	margin-left: 5px;
	border: 1px solid;
	border-radius: 5px; 
	-moz-border-radius: 5px; /* firefox */
	-webkit-border-radius: 5px; /* safari, chrome */
	background-image: url("../Immagini/Promemoria_p.jpg");
}

.menu_alto { margin-right: 20px; }
	.menu_alto img { 
		width: 35px;
		height: 35px;
		cursor: pointer;
	}

.ckeditor {
	background-color: #222;
	}
			
#invio_massivo_ric_ts_tab {
	height: 300px;
	overflow: auto;
	}

#icone_scheda {
    margin: 0;
    padding: 5px;
    float: right;
    border: 1px solid #ddd;
	border-radius: 5px; 
	-moz-border-radius: 5px; /* firefox */
	-webkit-border-radius: 5px; /* safari, chrome */
}
    .icone_scheda_td {
        width: 60px;
        text-align: center;
        cursor: pointer;
    }
    .icona_scheda { width: 35px; }
    .icone_scheda_did {
        margin-top: 5px;
        font-size: 0.6em;
    }

select.sfis_field {
	height: 22px;
}

/* AGENDA ------------------------------------------------------------------------------------------------- */
#ag_sx { 
    width: 100%;
    height: 100%;
    padding-bottom: 50px; 
    z-index: 1;
}

#ag_agenda {
    height: 100%;
    overflow-y: auto;
    position: relative;
}

.ag_titolo_agenda {
    text-align: center !important;
    background-color: #eee;
    border: 1px solid;
    border-radius: 5px; 
    padding: 4px 0 3px 0;
    height: 28px;
}
    #ag_barra_titoli {
        border-radius: 7px 7px 0 0; 
        background-color: white;           
    }
    .ag_spazio_scrollbar { 
        width: 10px;
        padding: 8px 6px !important; 
    }
    .ag_titolo_agenda_icona_sx {
        width: 24px;
        float: left;
        padding: 0 0 0 5px;
        cursor: pointer;
    }
    .ag_titolo_agenda_icona_dx {
        width: 24px;
        float: right;
        padding: 0 5px 0 0;
        cursor: pointer;
    }

.ag_cell {
    height: 20px;
    border-bottom: 1px dashed #ccc;
    cursor: pointer;
    background-color: white;
}

.ag_ore {
    padding-left: 8px !important;
    width: 50px;
    font: 12px Arial, Helvetica, sans-serif;
    text-align: center !important;
}

#ag_m_agende_table {
    height: 360px;
    overflow: auto;
}

#ag_giorno {
    width: 240px;
    float: left;
}

#ag_prev_next_day {
    float: left;
    margin-right: 20px;
}

#ag_nr_eventi {
    margin-top: 10px;
}

#ag_oggi {
    height: 20px;
    margin-top: 2px;
    padding-top: 3px;
    background-color: #eee;
    color: #000;
    border: 1px solid;
    border-radius: 5px; 
    -moz-border-radius: 5px; /* firefox */
    -webkit-border-radius: 5px; /* safari, chrome */	
    box-shadow: none;
    cursor: pointer;
    font-size: 0.7em;
    text-align: center;
}

.agenda {
    position: relative;
}
    .ev_container {
        position: absolute;
        border: 1px solid #666;
        border-radius: 5px;
        padding: 2px 6px;
        width: 90%;
        margin: 0 5% 0 5%;
        overflow: auto;
        cursor: pointer;
    }
        .ev_ok {
            position: absolute;
            top: 1px;
            right: 2px;
            width: 14px;

        }
        .ev_testo {
            font-size: 9px;
            line-height: 8px!important;
            overflow: auto;
        }
            .ev_container::-webkit-scrollbar { /* Hide scrollbar for Chrome, Safari and Opera */
                display: none;
            }
            .ev_container { /* Hide scrollbar for IE, Edge and Firefox */
                -ms-overflow-style: none;  /* IE and Edge */
                scrollbar-width: none;  /* Firefox */
            }

.carica_doc_puls {
	width: 80px;
	margin: 0 10px;
	cursor: pointer;
}