#calend
	{
	padding-left:20px;
	padding-right:20px;
	}

.calent
	{
	height:40px;
	font-size:20px;
	padding-top:5px;
	text-align:center;
	font-weight:normal;
	line-height:22px;
	}

.calent a
	{
	color:black;
	font-weight:bold;
	}

.calent select
	{
	font-family:Tahoma,sans-serif;
	font-family:inherit;
	position:relative;
	top:-1px;
    font-size: 15px;
    padding-bottom: 3px;
    line-height: 18px;
	}

.calarrow
	{
	font-size:14px;
	}

.calen
	{
	width:100%;
	height:100%;
	font-size:18px;
	border: 1px solid #e5e5e5;
    background-color: #FFFFFF;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	}

.calen > thead > tr > th
	{
	font-size:20px;
	text-align:center;
	font-weight:normal;
	text-transform:uppercase;
	}

.calen > tbody > tr > td
	{
	color:#3F1F1F;
	position:relative;
	vertical-align:top;
	background-color:#E9E9E9;
	height:calc((100vh - 240px));
	}

.calen.calen5 > tbody > tr > td
	{
	height:calc((100vh - 240px)/5);
	}

.calen.calen6 > tbody > tr > td
	{
	height:calc((100vh - 240px)/6);
	}
	
.calen.calflip > tbody > tr > td
	{
	height:auto !important;
	}

.calen tr:first-child th
	{
    padding-bottom: 5px;
	}

.calen td.altrom, .calen td.altrom a
	{
	color:#AC9F81;
    background-color:transparent;
	/*background-color:#DCDCDC;*/
	}

.calen td.pieno
	{
	/*background-color:#F0E1BC;*/
	}

.calen td.corsi > a
	{
	text-decoration:underline;
	}

.calen td.corsi > a *
	{
	text-decoration:none;
	}

.calen td a
	{
	color:#3F1F1F;
	display:block;
	}

.calen td a
	{
	display:inline-block;
	}

.calen td a.rcmd
	{
    height: 26px;
    min-width: 26px;
    border-radius: 2px;
    display: inline-block;
    background-color: #F5F5F5;
    border: 1px outset #8F8F8F;
	vertical-align:middle;
    box-shadow: 1px 1px rgba(0, 0, 0, 0.15);
	}

.calen td a.rcmd img
	{
	margin:3px;
	height:18px;
	width:18px;
	}

.calen span.chiuso
	{
	color:red;
	text-decoration:line-through;
	}

.calen span.caldt
	{
	white-space:nowrap;
	}

.calen td.oggi span.caldt
	{
	color:red;
	}

.calen td .calhovp
	{
	display:block;
	overflow:auto;
	position:relative;
	}

.calen td .calhov
	{
	/*top:20px;
	left:22px;
	color:black;
	display:none;
	width:300px;
	position:absolute;
	font-size:12px;
	background-color:white;
	border:1px solid black;
	padding:5px;
	padding-right:10px;
	text-align:left;
	-webkit-box-shadow: 10px 10px 5px #888;
	box-shadow: 10px 10px 5px #888;
	z-index:100;*/
    /*-moz-box-shadow: 10px 10px 5px #888;*/
	margin-top:8px;
	margin-left:8px;
	}

.calen td:hover .calhov
	{
	display:block;
	}

.calen td .calhov ul
	{
	margin-left:20px;
    }

.calen td ul
	{
	padding-left:0;
	}

.calen td li
	{
	display:flex;
	padding:4px;
	padding-right:20px;
    }

.calen td li a:first-child
	{
	flex:1;
    }
