/*!
 * Esta hoja de estilo guarda la definición del calendario de fechas del sistema,
 * un calendario de fechas es una vista de uno a 12 meses, en el que se muestran
 * distintos eventos que se originan en estos días.
 *
 * @author Divisa Informática y Telecomunicaciones S.A.
 */

/**
 * Estilos de la vista calendario
 */

/* Reseteamos para el calendario el paddingLeft y el minWidth
   que tienen los subcontenidos por defecto */
.Calendar div.cmBodyContentChildrens {
	padding-left:0;
	min-width: 40em;
}

/* muestra el cursor help si se muestran las tooltip con javascript */
.activatedTooltip .month tbody td.calendarCustomFestiveCell {
	cursor: help;
}

/* leyenda */
.mesesCalendario .leyenda {
	float: left;
	width: 28.5em;
	border: 1px solid #D7D7D7;
	margin: 0 0 1.5em 0;
	padding: 0.9em;
	font-size: 0.909em;
}

.mesesCalendario .leyenda ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mesesCalendario .leyenda ul li {
	position: relative;
	margin: 0 0 0.3em 0;
	padding: 0 0 0 2.5em;
}

.mesesCalendario .leyenda li span {
	position: absolute;
	width: 1.9em;
	height: 1.3em;
	left: 0;
	top: 0.1em;
}

/* listado de eventos en texto */
.calendarioWrapper .eventosCalendario ul {
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: visible;
}

.calendarioWrapper .eventosCalendario ul li {
	margin: 0 0 0.91em 0;
	padding: 0 0 0 1.37em;
}

.calendarioWrapper .eventosCalendario ul li li {
	margin: 0;
	padding: 0 0 0.37em 0;
	background: none;
}

.eventosCalendario ul li h3 {
	margin: 0 0 0.37em -0.28em;
}

.eventosCalendario ul li h3 .calendarMonth {
	text-decoration: underline;
}

.eventosCalendario ul li h3 .calendarMonth:hover {
	text-decoration: none;
}

.eventosCalendario ul strong {
	font-weight: normal;
}

.eventosCalendario ul strong span {
	font-weight: bold;
}

/*** contenedor global del calendario ***/
.cmCalendarViewBlock {
	position: relative;
	min-height: 18em;
	margin-top: 1.5em;
}

/*** contenedor de los selectores, informacion y tabla con el mes mostrado ***/
.cmCalendarViewContainer {
	float: left;
	width: 20.85em;
	border: none;
	position:absolute;
	top: 0;
	left: 0;
	border-width: 1px;
	border-style: solid;
}

.cmCalendarViewContainer .hide {
	display: none;
}

/*** contenedor de los selectores e información ***/
.cmCalendarTop {
	position: relative;
	padding: 0.35em 0;
}

.cmCalendarTop:after {
	content: " ";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.cmCalendarBottom {
	overflow: hidden;
}

/* los selectores */
.cmCalendarSelectors {
	float: right;
	width: 60%;
	text-align: right;
}

.cmCalendarSelectors form label {
	text-indent: -9999px;
	font-size: 0;
	overflow: hidden;
	line-height: 100px;
	width: 8.636em;
	height: 1.82em;
	margin-left: 0.91em;
}

.cmCalendarSelectors form label .cmSelectMonth {
	width: 97%;
	margin: 0;
}

.cmCalendarSelectors form label .cmSelectYear {
	width: 97%;
}

.cmCalendarSelectors form button {
	margin: 0 0 0 0.37em;
	padding: 0;
	border: none;
	background: none;
	text-indent: 0;
}

.cmCalendarSelectors form button img {
	position: relative;
	top: -0.19em;
	vertical-align: middle;
}

/* título del mes actual */
.cmCalendarTitle {
	padding-left: 1.82em;
	padding-right: 1.82em;
	text-transform: capitalize;
}

.cmCalendarTitle h3,
.cmCalendarTitle > div {
	margin: 0;
	padding: 0;
	color: #fff;
	text-align: center;
	font-size: 1.1em;
	line-height: 1.3em;
	font-family: Arial,Helvetica,sans-serif;
	font-weight: bold;
}

/* flechas de avance de meses */
.cmCalendarLinks {
	clear: both;
	float: left;
}

.cmCalendarLinks .previousMonth {
	position: absolute;
	top: 3px;
	left: 4px;
}

.cmCalendarLinks .nextMonth {
	position: absolute;
	top: 3px;
	right: 4px;
}

/*** tabla con el mes actual ***/
.cmCalendarTable {
	width: 100%;
	background-color: #fff;
	border-collapse: collapse;
	border: none;
}

.cmCalendarTable th {
	width: 14.28%;
	padding: 0.2em 0.3em;
	text-align: center;
	text-transform: capitalize;
}

/* días normales */
.cmCalendarTable td {
	width: 14.28%;
	height: auto;
	color: #323232;
	text-align: right;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 1em;
	background-color: #fff;
	text-align: right;
	padding: 0.7em 0.6em;
	cursor: default;
	border: 1px solid #fff;
}

/* días normales ratón encima */
.cmCalendarTable td:hover {
	color: #fff;
}

/* muestra el cursor help si se muestran las tooltip con javascript */
.activatedTooltip .cmCalendarTable td.calendarDayWithEvents:hover {
	cursor: help;
}

.cmCalendarTable td ul.cmCalendarCellContents {
	margin: 0 0.55em 0.55em 0.55em;
	padding: 0;
	list-style: none;
}

.cmCalendarTable td ul.cmCalendarCellContents li.cmEventInCalendar {
	margin: 0;
	padding: 0.64em 0;
}

.cmCalendarTable td ul.cmCalendarCellContents li.cmEventInCalendar:after { 
	content: " ";
   display: block;
   height: 0;
   clear: both;
   visibility: hidden;
}

.cmCalendarTable td ul.cmCalendarCellContents li.cmEventInCalendar.lastNode {
	padding-bottom: 0;
	background: none;
}

.cmCalendarTable td ul.cmCalendarCellContents li.cmEventInCalendar .cmContentLink img {
	float: right;
	margin: 0.37em 0 0 0;
}

.cmCalendarTable .cmMoreContents {
	padding: 0.28em 0.55em;
}

/* dias del fin de semana */
.cmCalendarTable td.calendarHoliday {
	color: #444;
	background-color: #D4D7DA;
}

.cmCalendarTable td.calendarHoliday:hover {
	color: #fff;
}

/* dias con eventos */
.cmCalendarTable td.calendarDayWithEvents {
	padding: 0;
}

.cmCalendarTable td.calendarDayWithEvents a {
	display: block;
	font-weight: bold;
	padding: 0.7em 0.6em;
	color: #fff !important;
}

.cmCalendarTable td.calendarDayWithEvents:hover {
	color: #fff;
}

.cmCalendarTable td.calendarDayWithEvents:hover a {
	color: #fff !important;
	text-decoration: none;
}

/* dia actual */
.cmCalendarTable td.calendarToday {
	color: #fff;
	background-color: #dd0000;
}

.cmCalendarTable td.calendarToday a {
	color: #fff;
}

/* días del mes anterior */
	/* les damos más especificidad para que se pinten siempre igual aunque sean festivos */
.cmCalendarTable td.calendarOtherMonthDay,
.cmCalendarTable td.calendarOtherMonthDay a {
	color: #a2a2a2 !important;
}

.cmCalendarTable td.calendarDayWithEvents,
.cmCalendarTable td.calendarDayWithEvents a,
.cmCalendarTable td.calendarOtherMonthDay:hover,
.cmCalendarTable td.calendarOtherMonthDay a:hover{
	color: #fff !important;
}

/*** contenedor del listado de eventos ***/
.cmMonthEventsContainer {
	margin:0 0 0 22.5em;
}

.cmMonthEventsContainer .hide {
	display: none;
}

.cmMonthEventsContainer h3 ,
.cmMonthEventsContainer > div:not(.cmMonthContents) {
	font-size: 2em;
	text-transform: capitalize;
	margin: 0 0 1em;
	border-bottom: 1px solid #ccc;
	padding: 0 0 0.2em;
}

/* listado de eventos del mes */
.cmMonthEventsContainer .cmCalendarDay {
	margin: 1em 0 0 0;
	padding: 0;
	list-style-type: none;
	border: none;
}

.cmMonthEventsContainer ul{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

div.cmMonthEventsContainer ul li.cmSelectedDayContents {
	list-style-type: none;
	font-size: 1.2em;
	padding:0 0 1em 1.8em;
	display: block;
	margin: 1em 0 0 0;
	background: url('/imagenes/grupo/bulletIcon.png') no-repeat 0 .35em;
	color:#919191;
}

div.cmMonthEventsContainer .cmMonthContents ul li.cmSelectedDayContents {
	margin-top: 0;
}

div.cmMonthEventsContainer ul li.cmSelectedDayContents.default_Noticia,
div.cmMonthEventsContainer ul li.cmSelectedDayContents.default_Evento {
	background: none;
}

div.cmMonthEventsContainer ul li.cmSelectedDayContents.default_Noticia .contentDate,
div.cmMonthEventsContainer ul li.cmSelectedDayContents.default_Evento .contentDate{
	font-size: .85em;
	padding-bottom: .3em;
}

div.cmMonthEventsContainer ul li.cmSelectedDayContents.default_Noticia .contentName,
div.cmMonthEventsContainer ul li.cmSelectedDayContents.default_Evento .contentName{
	display: block;
	margin-left: -1.8em;
	padding-left: 1.8em;
	background: url('/imagenes/grupo/bulletIcon.png') no-repeat 0 4px;
}

.centrosprivados div.cmMonthEventsContainer ul li.cmSelectedDayContents.default_Noticia .contentName,
.centrosprivados div.cmMonthEventsContainer ul li.cmSelectedDayContents.default_Evento .contentName{
	display: block;
	margin-left: -1.5em;
	padding-left: 1.5em;
	background: url('/imagenes/grupo/bullet12.png') no-repeat 0 3px;
}

.centrospublicos div.cmMonthEventsContainer ul li.cmSelectedDayContents.default_Noticia,
.centrospublicos div.cmMonthEventsContainer ul li.cmSelectedDayContents.default_Evento{
	padding-left: 0;
}

.centrospublicos div.cmMonthEventsContainer ul li.cmSelectedDayContents.default_Noticia .contentName,
.centrospublicos div.cmMonthEventsContainer ul li.cmSelectedDayContents.default_Evento .contentName{
	display: block;
	margin-left: 0;
	padding-left: 0;
	background: none;
}

div.cmMonthEventsContainer ul li.cmSelectedDayContents > a.cmContentLink,
div.cmMonthEventsContainer ul li.cmSelectedDayContents .contentName{
	font-weight: bold;
}

/* posibles mensajes cuando no existen eventos en el día actual o el mes actual */
.cmCalendarNoEvents {
	font-size: 1.3em;
	font-weight: bold;
	color: #666;
	display: none;
}

/*Colores según sea la sección donde está el calendario*/
/*Colores por defecto*/

.cmCalendarTable td.calendarDayWithEvents a,
.cmMonthEventsContainer h3,
.cmMonthEventsContainer .cmCalendarDay .cmCalendarDayDate {
	text-transform:capitalize;
}

.cmMonthEventsContainer .cmCalendarDay .cmCalendarDayDate {
	color: #333;
}

.cmCalendarViewBlock .cmMonthEventsContainer ul.cmCalendarDayList li.cmCalendarDay strong.cmCalendarDayDate {
	font-size:1.1em;
}

/*NUEVO ESTILO CALENDARIO FJD*/
.no-header .contentHeader,
.no-event .cmMonthEventsContainer{
	display: none;
}

.new-style .cmCalendarViewContainer {
    float: none;
    width: 100%;
    border: none;
    position: relative;
    padding-bottom: 5px;
    margin: 0 auto;
    max-width: 400px;
}

.new-style .previousMonth img,
.new-style .nextMonth img{
	display: none;
}

.new-style .previousMonth a:after{
	content:  "<";
}
.new-style .nextMonth a:after{
	content:  ">";

}
.new-style .nextMonth a:after,
.new-style .previousMonth a:after{
	color: #E03E52;
	font-weight: bold;
	font-size: 16px;
	display: inline-block;
	vertical-align: middle;
	text-align: center;
	border-radius: 99px;
	border: 1px solid #E03E52;
	margin-top: 0.4em;
	height: 1.2em;
	width: 1.2em;
	line-height: 1.1em

}
.centrosprivados.quironsalud .new-style .cmCalendarTop{
	background: transparent;
}
.new-style .cmCalendarTitle h3,
.new-style .cmCalendarTitle{
	padding: 0;
}
.new-style .cmCalendarTitle h3,
.new-style .cmCalendarTitle > div{
	color: #949494;
	font-size: 20px;
	font-family: "neosans", Verdana, sans-serif;
}

.new-style .cmCalendarTable td {
    background: #f3f3f3;
    padding: 0.2em 0 1.3em 0.4em;
    text-align: left;
    border: 2px solid #fff;
    font-size: 1.1em;
}
.centrosprivados .new-style .cmCalendarTable td.calendarDayWithEvents {
    background-color: #00B2A9;
}
.new-style .cmCalendarTable td.calendarDayWithEvents a{
	padding: 0;
}
.new-style  .cmCalendarTable th {
	padding: 0;
    color: #FFF;
    border: 2px solid #fff;
    border-radius: 2px;
}

.new-style abbr[title] {
    padding: 0.2em 0.1em;
    background: #adabab;
    color: #FFF;
    border-bottom: 0;
    border-radius: 2px;
    display: block;
    font-weight: normal;
}
.new-style .cmCalendarTable th:nth-child(6) abbr[title],
.new-style .cmCalendarTable th:nth-child(7) abbr[title]{
	 background: #E03E52;
}

.new-style .cmCalendarTable td.calendarHoliday{
	 color: #E03E52;
}
.new-style .cmCalendarTable td.calendarHoliday:hover{
	color: #FFF;
}
.new-style .contentViewMore{
    width: 100%;
    margin: 0 auto 20px;
    max-width: 400px;
    text-align: right;
}
.new-style .contentViewMore a{
	display: inline-block;
	vertical-align: middle;
	line-height: 2em;
	font-size: 18px;
}
.new-style .contentViewMore a:after{
	content:  ">";
	color: #E03E52;
	font-weight: bold;
	font-size: 16px;
	display: inline-block;
	vertical-align: middle;
	text-align: center;
	border-radius: 99px;
	border: 1px solid #E03E52;
	height: 1.2em;
	width: 1.2em;
	line-height: 1.1em;
	margin-left: 8px;
}

/* Formato calendarios Quironsalud */
.cmCalendarLinks div a,
.cmCalendarLinks div a:hover{
	color: #fff;
}

.cmCalendarLinks div.previousMonth a,
.cmCalendarLinks div.nextMonth a{
	font-size: 0;
}

.cmCalendarLinks div.previousMonth a:after,
.cmCalendarLinks div.nextMonth a:after{
	font-size: 16px;
	font-weight: bold;
	color: #fff;
}

.cmCalendarLinks div.previousMonth a:after{
	content: "<";
}

.cmCalendarLinks div.nextMonth a:after{
	content: ">";
}