[class*="cal-cell"] {
    float: left;
    margin-left: 0;
    min-height: 1px;
}

.cal-row-fluid {
    width: 100%;

}

.cal-row-fluid:before,
.cal-row-fluid:after {
    display: table;
    content: "";
    line-height: 0;
}

.cal-row-fluid:after {
    clear: both;
}

.cal-row-fluid [class*="cal-cell"] {
    display: block;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
    margin-left: 0%;

}

.cal-row-fluid [class*="cal-cell"]:first-child {
    margin-left: 0;
}

.cal-row-fluid .controls-row [class*="cal-cell"]+[class*="cal-cell"] {
    margin-left: 0%;
}

.cal-row-fluid .cal-cell7 {
    width: 100%;

}

.cal-row-fluid .cal-cell6 {
    width: 85.71428571428571%;

}

.cal-row-fluid .cal-cell5 {
    width: 71.42857142857142%;

}

.cal-row-fluid .cal-cell4 {
    width: 57.14285714285714%;

}

.cal-row-fluid .cal-cell3 {
    width: 42.857142857142854%;

}

.cal-row-fluid .cal-cell2 {
    width: 28.57142857142857%;

}

.cal-row-fluid .cal-cell1 {
    width: 13%;

}

.cal-week-box .cal-offset7,
.cal-row-fluid .cal-offset7,
.cal-row-fluid .cal-offset7:first-child {
    margin-left: 100%;

}

.cal-week-box .cal-offset6,
.cal-row-fluid .cal-offset6,
.cal-row-fluid .cal-offset6:first-child {
    margin-left: 85.71428571428571%;

}

.cal-week-box .cal-offset5,
.cal-row-fluid .cal-offset5,
.cal-row-fluid .cal-offset5:first-child {
    margin-left: 71.42857142857142%;

}

.cal-week-box .cal-offset4,
.cal-row-fluid .cal-offset4,
.cal-row-fluid .cal-offset4:first-child {
    margin-left: 57.14285714285714%;

}

.cal-week-box .cal-offset3,
.cal-row-fluid .cal-offset3,
.cal-row-fluid .cal-offset3:first-child {
    margin-left: 42.857142857142854%;

}

.cal-week-box .cal-offset2,
.cal-row-fluid .cal-offset2,
.cal-row-fluid .cal-offset2:first-child {
    margin-left: 28.57142857142857%;

}

.cal-week-box .cal-offset1,
.cal-row-fluid .cal-offset1,
.cal-row-fluid .cal-offset1:first-child {
    margin-left: 14.285714285714285%;

}

.cal-row-fluid .cal-cell1 {
    width: 13%;

}

[class*="cal-cell"].hide,
.cal-row-fluid [class*="cal-cell"].hide {
    display: none;
}

[class*="cal-cell"].pull-right,
.cal-row-fluid [class*="cal-cell"].pull-right {
    float: right;
}

.cal-row-head [class*="cal-cell"]:first-child,
.cal-row-head [class*="cal-cell"] {
    min-height: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 0.5%;
}

.cal-events-num {
    margin-top: 20px;
}

.cal-month-day {
    position: relative;
    display: block;
    width: 100%;
    transition: background, .5s, color, .5s;
    text-align: center;
    /* border-radius: 4px; */
    background: #F5F5F5;
    /* font-size: 36px; */
    padding: 20px 2px 2px;
    position: relative;
    transition: background 0s ease 0s, all 0.5s ease 0s, color 0s ease 0s, all 0.5s ease 0s;
}

.cal-month-day.cal-day-inmonth {
    cursor: pointer;
}

.cal-month-day:hover {
    /* background-color: #506bf3; */
    background-color: #003183;
}

.cal-month-day:hover span[data-cal-date] {
    color: #fff;
}

#cal-week-box {
    position: absolute;
    width: 70px;
    left: -70px;
    top: 0px;
    padding: 8px 5px;
    cursor: pointer;
    font-size: 12px;
}

#cal-day-tick {
    position: absolute;
    right: 50%;
    bottom: -21px;
    padding: 0px 5px;
    cursor: pointer;
    z-index: 5;
    text-align: center;
    width: 26px;
    margin-right: -17px;
    font-size: 12px;
}

.cal-year-box #cal-day-tick {
    margin-right: -7px;
}

#cal-slide-box {
    position: relative;
}

#cal-slide-tick {
    position: absolute;
    width: 16px;
    margin-left: -7px;
    height: 9px;
    top: -1px;

    z-index: 1;
}

#cal-slide-tick.tick-month1 {
    left: 12.5%;
}

#cal-slide-tick.tick-month2 {
    left: 37.5%;
}

#cal-slide-tick.tick-month3 {
    left: 62.5%;
}

#cal-slide-tick.tick-month4 {
    left: 87.5%;
}

#cal-slide-tick.tick-day1 {
    left: 7.14285714285715%;
}

#cal-slide-tick.tick-day2 {
    left: 21.42857142857143%;
}

#cal-slide-tick.tick-day3 {
    left: 35.71428571428572%;
}

#cal-slide-tick.tick-day4 {
    left: 50%;
}

#cal-slide-tick.tick-day5 {
    left: 64.2857142857143%;
}

#cal-slide-tick.tick-day6 {
    left: 78.57142857142859%;
}

#cal-slide-tick.tick-day7 {
    left: 92.85714285714285%;
}

/*
.events-list {
	position: absolute;
	bottom: 0;
	left: 0;
	overflow: hidden;
}
*/

#cal-slide-content ul.unstyled {
    margin-bottom: 0;
    overflow: hidden;
}

.cal-week-box {
    position: relative;
}

.cal-week-box [data-event-class] {
    white-space: nowrap;
    height: 30px;
    margin: 1px 1px;
    line-height: 30px;
    text-overflow: ellipsis;
    overflow: hidden;
    padding-left: 10px;
}

.cal-week-box .cal-column {
    position: absolute;
    height: 100%;
    z-index: -1;
}

.cal-week-box .arrow-before,
.cal-week-box .arrow-after {
    position: relative;
}

.cal-week-box .arrow-after:after {
    content: "";
    position: absolute;
    top: 0px;
    width: 0;
    height: 0;
    right: 0;
    border-top: 15px solid #ffffff;
    border-left: 8px solid;
    border-bottom: 15px solid #FFFFFF;
}

.cal-week-box .arrow-before:before {
    content: "";
    position: absolute;
    top: 0px;
    width: 0;
    height: 0;
    left: 1px;
    border-top: 15px solid transparent;
    border-left: 8px solid #FFFFFF;
    border-bottom: 15px solid transparent;
}


#cal-day-box .cal-day-hour-part {
    height: 30px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border-bottom: thin dashed #e1e1e1;
}

#cal-day-box .cal-day-hour .day-highlight {
    height: 30px;
}

#cal-day-box .cal-hours {
    font-weight: bolder;
}

#cal-day-box .cal-day-hour:nth-child(odd) {
    background-color: #fafafa;
}

#cal-day-box #cal-day-panel {
    position: relative;
    padding-left: 60px;
}

#cal-day-box #cal-day-panel-hour {
    position: absolute;
    width: 100%;
    margin-left: -60px;
}

#cal-day-box .day-event {
    position: relative;
    max-width: 200px;
    overflow: hidden;
}

#cal-day-box .day-highlight {
    line-height: 30px;
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: 1px solid #c3c3c3;
    margin: 1px 1px;
    overflow: hidden;
    text-overflow: ellipsis;
}

#cal-day-box .day-highlight.dh-event-important {
    border: 1px solid #ad2121;
}

#cal-day-box .day-highlight.dh-event-warning {
    border: 1px solid #e3bc08;
}

#cal-day-box .day-highlight.dh-event-info {
    border: 1px solid #1e90ff;
}

#cal-day-box .day-highlight.dh-event-inverse {
    border: 1px solid #1b1b1b;
}

#cal-day-box .day-highlight.dh-event-success {
    border: 1px solid #006400;
}

#cal-day-box .day-highlight.dh-event-special {
    background-color: #ffe6ff;
    border: 1px solid #800080;
}

.event {
    display: block;
    background-color: #c3c3c3;
    width: 100%;
    height: 4px;
    margin: 0 0 2px 0;
}

.event-block {
    display: block;
    background-color: #c3c3c3;
    width: 20px;
    height: 100%;
}

/*
.cal-event-list .event.pull-left {
	margin-top: 3px;}*/

.event-comunicazione {
    background-color: #de119c;
}

.event-asta {
    background-color: #039BE5;
}

.event-regolamento {
    background-color: #999999;
}

.event-prenotazione {
    /* background-color: #00ff00; */
    background-color: #00A200;
}

.event-scadenza {
    background-color: #999999;
}

.event-altro {
    background-color: #000000;
}

.thContainer .event {
    display: block;
    background: no-repeat center top transparent;
    background-size: 100% auto;
    width: 60px;
    height: 60px;
    margin: 0;
    /* border: 2px solid red; */
}

.thContainer .event-comunicazione {
    background-image: url(/system/modules/it.acn.dipartimentotesoro/resources/img/icons/ico-comunicazione.png);
}

.thContainer .event-asta {
    background-image: url(/system/modules/it.acn.dipartimentotesoro/resources/img/icons/ico-asta.png);
}

.thContainer .event-regolamento {
    background-image: url(/system/modules/it.acn.dipartimentotesoro/resources/img/icons/ico-regolamento.png);
}

.thContainer .event-prenotazione {
    background-image: url(/system/modules/it.acn.dipartimentotesoro/resources/img/icons/ico-prenotazioni.png);
}

.thContainer .event-scadenza {
    background-image: url(/system/modules/it.acn.dipartimentotesoro/resources/img/icons/ico-regolamento.png);
}


/*.event-inverse {
	background-color: #1b1b1b;
}

.event-success {
	background-color: #006400;
}

.event-special {
	background-color: #800080;
}*/

.day-highlight:hover,
.day-highlight {
    background-color: #dddddd;
}

.day-highlight.dh-event-important:hover,
.day-highlight.dh-event-important {
    background-color: #fae3e3;
}

.day-highlight.dh-event-warning:hover,
.day-highlight.dh-event-warning {
    background-color: #fdf1ba;
}

.day-highlight.dh-event-info:hover,
.day-highlight.dh-event-info {
    background-color: #d1e8ff;
}

.day-highlight.dh-event-inverse:hover,
.day-highlight.dh-event-inverse {
    background-color: #c1c1c1;
}

.day-highlight.dh-event-success:hover,
.day-highlight.dh-event-success {
    background-color: #caffca;
}

.day-highlight.dh-event-special:hover,
.day-highlight.dh-event-special {
    background-color: #ffe6ff;
}

.cal-row-head [class*="cal-cell"]:first-child,
.cal-row-head [class*="cal-cell"] {
    /* font-weight: normal; */
    text-align: center;
    border: 0px solid;
    padding: 10px 0;
    /* color: #3f5b7f; */
    text-transform: uppercase;
    /* font-size: 0.91em!important; */
}

.cal-row-head [class*="cal-cell"] small {
    font-weight: normal;
}

/* .cal-year-box .row-fluid:hover,
.cal-row-fluid:hover {
	background-color: #fafafa;
} */

.cal-month-day {
    height: 90px;
}

/* [class*="cal-cell"]:hover {
	background-color: #ededed;
} */

.cal-year-box [class*="span"],
.cal-month-box [class*="cal-cell"] {
    height: 90px;
    /*border-right: 1px solid #e1e1e1;*/
    position: relative;
    margin: 0.5%;
}

.cal-year-box [class*="span"] {
    min-height: 60px;
}

.cal-year-box .row-fluid [class*="span"]:last-child,
.cal-month-box .cal-row-fluid [class*="cal-cell"]:last-child {
    border-right: 0px;
}

.cal-year-box .row-fluid,
.cal-month-box .cal-row-fluid {
    /*border-bottom: 1px solid #e1e1e1;*/
    margin-left: 0px;
    margin-right: 0px;
}

.cal-year-box .row-fluid:last-child,
.cal-month-box .cal-row-fluid:last-child {
    border-bottom: 0px;
}

/*.cal-month-box,
.cal-year-box,
.cal-week-box {
	border-top: 1px solid #e1e1e1;
	border-bottom: 1px solid #e1e1e1;
	border-right: 1px solid #e1e1e1;
	border-left: 1px solid #e1e1e1;
	border-radius: 2px;
}*/

span[data-cal-date] {
    font-size: 1em;
    /* font-weight: normal; */
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin: 0;
    /* color: #3f5b7f; */
    color: #333333;
}

span[data-cal-date]:hover {
    opacity: 1;
}

.cal-day-outmonth {
    opacity: 0.45;
    cursor: default;
}

.cal-day-outmonth span[data-cal-date] {
    cursor: default;
}

.cal-day-today {
    border: 2px solid #003183;
    border-radius: 5px;
}

/* .cal-day-today span[data-cal-date] {
	color: #3f5b7f;
} */

/*.cal-month-box .cal-day-today span[data-cal-date] {
	font-size: 1.9em;
}*/

.cal-day-holiday span[data-cal-date] {
    color: #800080;
}

.cal-day-weekend {
    opacity: 0.45;
}

.cal-day-weekend span[data-cal-date] {
    color: darkred;
}

#cal-week-box {
    border: 2px solid #f5f5f5;
    border-right: 0px;
    border-radius: 5px 0 0 5px;
    background-color: #ffffff;
    text-align: right;
    /* color: #3f5b7f; */
    color: #333333;
}

#cal-day-tick {
    border: 1px solid #e1e1e1;
    border-top: 0px solid;
    border-radius: 0 0 5px 5px;
    background-color: #f5f5f5;
    text-align: center;
}

#cal-slide-box {
    border-top: 0px solid #8c8c8c;
}

/* #cal-slide-content {
	padding: 20px;
	color: #ffffff;
	background-image: none;
	-webkit-box-shadow: none;
	box-shadow: none;
} */

/*
#cal-slide-tick {
	background-image: url("../img/tick.png");
}
*/

#cal-slide-content:hover {
    background-color: transparent;
}

#cal-slide-content a.event-item {
    color: #3F5C86;
    font-weight: normal;
    line-height: 22px;
}

.events-list {
    max-height: 47px;
    /* padding-left: 5px; */
}

.cal-column {
    border-left: 1px solid #e1e1e1;
}

a.cal-event-week {
    text-decoration: none;
    color: #151515;
}

.badge-important {
    background-color: #b94a48;
}



.cal-month-day-noLink {
    display: block;
    width: 100%;
    text-align: center;
    /* border-radius: 4px; */
    background: #F5F5F5;
    /* font-size: 36px; */
    padding: 20px 2px 2px;
    position: relative;
    transition: background 0s ease 0s, all 0.5s ease 0s, color 0s ease 0s, all 0.5s ease 0s;
}

.cal-month-day-noLink {
    height: 90px;
}

.testataCal {
    overflow: hidden;
    text-transform: uppercase;
    /* font-family: roboR; */
    font-size: 0.89em
}

.testataCal .colTestata {
    width: 13%;
    text-align: center;
    margin: .5%;
    float: left;
    padding: 10px 0;
    /* color: #3f5b7f; */
    color: #333333;
}

/* 
.testataCalendario {
	border-bottom: 1px solid #E2E9F0;
	overflow: hidden
} */

/* .calendarioContainer {
	background: #FFF;
	border-bottom: 1px solid #CCC; 
	padding: 15px; 
	overflow: hidden;
	margin: 30px 0 0
} */

/* .calendarioContainer h2 {
	color: #3f5b7f;
	margin-top: 9px;
	text-align: center;
	margin-bottom: 15px
} */

.datePickers p.seleziona {
    /* font-family: roboR; */
    text-transform: uppercase;
    /* color: #3f5b7f; */
    color: #333333;
    font-size: 12px;
    margin: 10px 0 0
}

.input-group-addon {
    background: inherit;
    /* color: #3f5b7f */
    color: #333333;
}

.paginazioneCalendario {
    position: relative;
    text-align: center;
    padding: 15px;
    overflow: hidden;
}

/* 
.paginazioneCalendario .page-header {
	margin: 0;
	border: none;
	padding: 0;
	float: left;}

.paginazioneCalendario .page-header h3 {
	margin: 0;}

.paginazioneCalendario .paginationHome {
	display: inline-block;
	color: #3f5b7f;
	float: none;
	text-transform: none
}

.paginazioneCalendario a.arrow.right {
	background-image: url(../img/icons/avantiBlu.png);
	border:2px solid red;
}

.paginazioneCalendario a.arrow.left {
	background-image: url(../img/icons/backBlu.png);
	border:2px solid red;
}

.paginazioneCalendario button.arrow {
	background: none;
	border: none;
	width: 16px;
	height: 30px;
	padding: 6px 12px;}

.paginazioneCalendario button.today {
	background: none;
	border: none;
	height: 30px;
	padding: 6px 12px;}

.paginazioneCalendario button.arrow.right {
	background: url(../img/icons/avantiBlu.png) no-repeat right center transparent;
	border:2px solid red;
	float: right;}

.paginazioneCalendario button.arrow.left {
	background: url(../img/icons/backBlu.png) no-repeat left center transparent;
	border:2px solid red;
	float: left;} */


/* 	
.swapMese {
	display: inline-block
}

.swapMese a, .swapMese button {
	font-family: roboR;
	font-size: 0.88em;
	text-transform: uppercase;
	float: left;
	display: block;
	margin: 0 10px;
	color: #3f5b7f;}

.swapMese button {
	border: none;
	background: none;
	height: 30px;
	padding: 6px 0;}

.swapMese a.active, .swapMese button.active {
	color: #3953D5;
	text-decoration: underline;} */

.calendario {
    overflow: hidden
}

.calendario a {
    height: 90px;
    transition: background, .5s, color, .5s;
    width: 13%;
    text-align: center;
    /* border-radius: 4px; */
    background: #F5F5F5;
    padding: 20px 2px 2px;
    font-size: 2.5em;
    /* font-family: roboR; */
    text-transform: uppercase;
    display: block;
    float: left;
    line-height: 31px;
    position: relative;
    /* color: #3f5b7f; */
    margin: .5%
}

.calendario a span.giorno {
    box-sizing: border-box;
    font-size: 0.89em;
    display: block;
    line-height: 20px
}

.calendario a span.punti {
    /* font-family: roboR; */
    display: block;
    position: absolute;
    bottom: 5px;
    left: 5px;
    right: 5px;
    color: #3953D5;
    font-size: 2.1em
}

.calendario a:hover {
    text-decoration: none
}

.calendario a.current {
    /* border: 2px solid #506bf3; */
    border: 2px solid #003183;
    /* color: #3f5b7f */
    color: #333333;
}

.calendario a:hover {
    /* background: #506bf3; */
    background: #003183;
    color: #fff
}

.calendario a.current span.punti {
    color: #FFF
}

.testataTab.calendar.socialSubTab {
    margin-top: 15px;
    border-bottom: 1px solid #E2E9F0;
    position: relative
}

.testataTab.calendar.socialSubTab .tabContainer {
    width: 85%;
    border-bottom: none
}

/* ul.eventiCalendario li {
	margin: 0;
	padding: 1em 0;
	display: block;
	overflow: hidden;
	border-bottom: 1px solid #e2e9f0;
} */

/*ul.eventiCalendario li:first-child {	
	border: none;
}*/

.eventiCalendario .newsTxtContainer p,
.testataTab.calendar.socialSubTab p.filtra {
    /* color: #3f5b7f; */
    color: #333333;
}

/* .eventiCalendario p.titoloNews {
	font-family: roboR;
	line-height: 26px
} */

.eventiCalendario .newsRow {
    border-bottom: solid 1px #E2E9F0;
    padding-bottom: 25px;
    position: relative;
    margin-bottom: 15px
}

a.aggiungiCalendario {
    /* font-family: roboR; */
    display: block;
    position: absolute;
    right: 15px;
    top: 0;
    font-size: 0.88em;
    text-transform: uppercase;
    color: #3953D5;
    background: url(../img/icons/calendarIconSmall.png) left center no-repeat;
    padding-left: 25px;
    padding-top: 5px;
    padding-bottom: 5px;
    cursor: pointer
}

a.vediTutte {
    display: block;
    float: right;
    /* font-family: roboR; */
    font-size: 0.9em;
    padding-right: 30px;
    padding-left: 10px;
    background: url(../img/icons/arroe-right.png) right center no-repeat;
}

.lines {
    position: absolute;
    bottom: 5px;
    left: 10px;
    right: 10px
}

.calendario a.festivo {
    opacity: .5
}

.calendario a.current .lines {
    bottom: 2px
}

.lineCalendar {
    height: 4px;
    margin-bottom: 1px;
    display: block
}

.lineCalendar.grey {
    background: #999
}

.lineCalendar.magenta {
    background: #de119c
}

.lineCalendar.cyan {
    background: #039BE5
}

/* 
.testataCalendario ul{
 margin:6px 0 ; 
 padding:0; 
 list-style-type:none;
 font-family:roboR;
 font-size:0.87em;
 color:#3f5b7f;
 color:#333333;
 float:right
}

.testataCalendario ul li{
	float:left;
	margin-right:10px
} */

.reader {
    height: 0;
    width: 0;
    position: absolute;
    overflow: hidden;
    top: -10000em;
}

.show {
    display: block
}