/* Agenda -> Processi -> Gestione corsi*/

.setup_corsi{
	font-size:1.2em;
	width: calc(100% - 15px);
	height: calc(100% - 15px);
	margin-top:5px;
	overflow:auto;
	border: 1px solid grey;
	background-color: silver;
}
#set_corsi { 
	margin-top:-5px;
	width: calc(100% - 30px);
	height: calc(100% - 60px); 
	overflow:auto;
}
.curr_year.curr_sel {display:none;}

/* top */
.line1 { 
	text-align:center;
}
.line2 {
	height:25px;
	text-align:center;
}
#show_mode, #show_gender {
	position:relative;
	top:5px;
	width: 25px;
	height:25px;
}

.btn_corso {float:right;}
.btn_del_corso {margin-left: 100px;}

/* line1 */
.setup_corsi label, #proposte label {color:blue;} 
.setup_corsi input[name="idCorso"], 
.setup_corsi input[name='min_subscr'],
.setup_corsi input[name='max_subscr'] {width: 45px;}
.setup_corsi input[name="data_less_1"] {width: 100px;}
.setup_corsi input[name='giorno'] {width: 60px;}
.setup_corsi input[name='extra_costo'] {width: 40px;}
.setup_corsi input[name='num_less'] {width: 35px;}
textarea.cName {
	float:left;
	width:30%;
	resize: none;
}
textarea.collabs {
	float:right;
	width:300px;
	resize: none;
}
.middle_top {
	display: inline-block;
	text-align:center;
}
#set_corsi #selDocente {
	margin-left:15px;
	width:170px;
}
/* line2 */
#set_corsi #f_l {display:inline-block;}
#f_l .di {width:140px;}

/* details */
#set_corsi .pgm, #proposte .pgm {
	float:left;
	width:50%;
	height:244px; /*calc(100% - 110px);*/
	resize: none;
}
#set_corsi .cal, #proposte .cal {
	float:right;
	width:50%;
	height:calc(100% - 110px);
}
.pgm .title, .cal .title {
	background-color:aquamarine;
	border-radius: 15px;
}
#genCal {font-size:.6em;}
textarea.prgInput {
	width:calc(100% - 20px); 
	height: 100%; 
	resize: none;
}
#wdays {width:100%;}
#calTable th, #calTable td {
	min-width:40px;
}
#calTable th:first-child #calTable td:first-child {width:40px;}
#calTable thead tr th { border:4px solid grey;}

/*lookup corsi */
#tbcorsi {width:100%;}
#lookup .tblDiv, #lookup .tblDiv table {margin-left:0px;}
#tbcorsi table thead, #tbcorsi table thead tr {
	position:sticky;
	top:0px;
	background-color:silver;
}

/* classi per iscrizioni */
.ui-state-default.sold_out {
/*	background: beige url("/webCommons/css/icons/red_blink.gif") no-repeat right;*/
	font-style: italic;
	color:red;
}
#cAvailable .free {float:right;}
#cSelected .free {display:none;}