/********** Estilos globales de la página **********/

#main-content {
  margin: 2em auto 3em !important;
  max-width: 1200px !important;
  width: 100% !important;
}

#main-content .contextual {
  display: none !important;
}

#block-vani-content {
  max-width: none !important;
  margin: 0 0 2.5em !important;
}

#block-vani-content article h2 span {
  color: #1d70a4 !important;
  font-family: 'montserratbold', sans-serif !important;
  font-size: 36px !important;
  line-height: 1 !important;
}


/****** Hacks para mostrar bien el calendario ******/

.fc table,
.fc .fc-daygrid-body{
  width: 100% !important;
}

.fc .fc-view-harness {
  height: auto !important;
}

.fc .fc-view,
.fc .fc-scroller {
  position: relative !important;
}

.fc strong,
.fc b {
  font-family: "ralewaybold", "ralewayregular", sans-serif !important;
}

.fc td, .fc th {
  border: 1px solid #ddd !important;
}


/***************** Header Toolbar *****************/

.fc .fc-header-toolbar {
  padding: 13px 24px !important;
  border: 1px solid #ddd !important;
  margin: 0 !important;
}

.fc .fc-header-toolbar .fc-toolbar-chunk {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 120px;
}

.fc .fc-header-toolbar .fc-toolbar-chunk:last-child {
  justify-content: flex-end !important;
}

.fc .fc-header-toolbar .fc-toolbar-title {
  font-family: "ralewaybold", "ralewayregular", sans-serif !important;
  font-size: 24px;
  line-height: 1;
  color: #5B5B5F !important;
}

.fc .fc-header-toolbar .fc-toolbar-title:first-letter {
  text-transform: uppercase !important;
}

.fc .fc-header-toolbar button {
  background: transparent !important;
  color: #db5b1b !important;
  border: none !important;
  border-radius: 0 !important;
  margin-top: 1px !important;
}

.fc .fc-header-toolbar button:focus {
  box-shadow: none !important;
}

.fc .fc-header-toolbar .fc-prev-button,
.fc .fc-header-toolbar .fc-next-button {
  background: transparent !important;
  color: #db5b1b !important;
  padding: 0 6px 0 !important;
  font-size: 20px !important;
}

.fc .fc-header-toolbar .fc-prev-button {
  margin-right: 28px !important;
}

.fc .fc-header-toolbar .fc-next-button {
  margin-left: 28px !important;
}


/****************** Vista de Mes ******************/

.fc .fc-loader {
  background: url("../img/loader.svg") no-repeat center;
  width: 24px;
  height: 24px;
}

.fc .fc-dayGridMonth-view .fc-head {
  border: 1px solid #ddd !important;
}

.fc .fc-dayGridMonth-view .fc-scrollgrid-section > * {
  border-top-width: 0 !important;
  border-left-width: 0 !important;
}

.fc .fc-dayGridMonth-view .fc-scrollgrid table {
  border-top-style: hidden !important;
  border-right-style: hidden !important;
}

.fc .fc-dayGridMonth-view .fc-scrollgrid-section-header .fc-day {
  background-color: #f4f4f4 !important;
  padding: 10px 0 9px !important;
}

.fc .fc-dayGridMonth-view .fc-scrollgrid-section-header .fc-day .fc-col-header-cell-cushion  {
  color: #434142 !important;
  font-family: "ralewaybold", "ralewayregular", sans-serif !important;
  font-weight: bold !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

.fc .fc-dayGridMonth-view .fc-scrollgrid-section-header .fc-day .fc-col-header-cell-cushion:first-letter  {
  text-transform: uppercase !important;
}

.fc .fc-dayGridMonth-view .fc-daygrid-day.fc-day-other {
  background: #f1f1f1 !important;
}

.fc .fc-dayGridMonth-view .fc-daygrid-day-top {
  background: #f4f4f4;
  color: #777;
  line-height: 1.2em !important;
  padding: 4px 0 6px !important;
  justify-content: center;
}

.fc .fc-dayGridMonth-view .fc-daygrid-day.has-event .fc-daygrid-day-top {
  background: #43a368;
  color: #fff;
}

.fc .fc-dayGridMonth-view .fc-daygrid-day.has-holiday {
  background: #fdebe3;
}

.fc .fc-dayGridMonth-view .fc-daygrid-day.has-holiday .fc-daygrid-day-top {
  background: #ea5b1b;
  color: #fff;
}

.fc .fc-dayGridMonth-view .fc-daygrid-day.has-holiday .fc-daygrid-event.fc-holiday {
  padding-top: 10px !important;
  padding-bottom: 15px !important;
  align-items: center !important;
}

.fc .fc-dayGridMonth-view .fc-daygrid-day.has-holiday .fc-daygrid-event.fc-holiday .fc-holiday-label {
  font-family: "ralewaybold", "ralewayregular", sans-serif !important;
  font-weight: bold !important;
  margin-bottom: 10px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ea5b1b;
}

.fc .fc-dayGridMonth-view .fc-daygrid-day.has-holiday .fc-daygrid-event.fc-holiday .fc-event-time {
  display: none !important;
}

.fc .fc-dayGridMonth-view .fc-daygrid-day.fc-day-today {
  background: #feffdf;
}

.fc .fc-dayGridMonth-view .fc-daygrid-day.fc-day-other .fc-daygrid-day-top {
  background: #f1f1f1;
  color: #777;
}

.fc .fc-dayGridMonth-view .fc-daygrid-day.fc-day-other .fc-daygrid-event-harness:not(.fc-daygrid-event-harness-abs),
.fc .fc-dayGridMonth-view .fc-daygrid-day.fc-day-other .fc-daygrid-day-bottom,
.fc .fc-dayGridMonth-view .fc-daygrid-day.fc-day-other .fc-daygrid-day-bg {
  display: none !important;
}

.fc .fc-dayGridMonth-view .fc-daygrid-day-top .fc-daygrid-day-number {
  font-family: "ralewaybold", "ralewayregular", sans-serif !important;
  font-size: 20px !important;
}

.fc .fc-dayGridMonth-view .fc-daygrid-day-events {
  padding: 4px 3px 7px !important;
  min-height: 130px;
}

.fc .fc-dayGridMonth-view .fc-daygrid-event {
  display: flex !important;
  flex-direction: column;
  row-gap: 1px;
  align-items: flex-start;
  white-space: pre-line;
  padding: 1px 4px 2px !important;
  margin-bottom: 3px !important;
  background: #dde6fb !important;
  color: #000 !important;
  font-size: 11px !important;
  border: 1px solid #a9abfe !important;
  opacity: 0.8;
}

.fc .fc-dayGridMonth-view .fc-daygrid-event:hover {
  opacity: 1;
}

.fc .fc-dayGridMonth-view .fc-daygrid-event-harness-abs .fc-daygrid-event.fc-h-event {
  margin: 3px 3px 0 !important;
}

.fc .fc-dayGridMonth-view .fc-daygrid-event-harness-abs .fc-daygrid-event.fc-h-event.long-event-in-other-month {
  display: none !important;
}

.fc .fc-dayGridMonth-view .fc-daygrid-event.fc-h-event .fc-event-main-frame {
  flex-wrap: wrap;
  gap: 3px 20px;
}

.fc .fc-dayGridMonth-view .fc-daygrid-event .fc-daygrid-event-dot {
  display: none !important;
}

.fc .fc-dayGridMonth-view .fc-daygrid-event .fc-event-title,
.fc .fc-more-popover .fc-popover-body .fc-daygrid-event .fc-event-title {
  font-family: "ralewaybold", "ralewayregular", sans-serif !important;
  color: #000 !important;
  line-height: 14px !important;
  order: 1;
}

.fc .fc-dayGridMonth-view .fc-daygrid-event .fc-event-time,
.fc .fc-more-popover .fc-popover-body .fc-daygrid-event .fc-event-time {
  order: 2;
  color: #000 !important;
  background: url("../img/clock-sm.svg") no-repeat 0 2px;
  padding-left: 16px !important;
}

.fc .fc-dayGridMonth-view .fc-daygrid-event .fc-event-location,
.fc .fc-more-popover .fc-popover-body .fc-daygrid-event .fc-event-location {
  order: 3;
  background: url("../img/location-pin-sm.svg") no-repeat 0 1px;
  padding-left: 16px !important;
}

.fc .fc-dayGridMonth-view .fc-scrollgrid-section-body .fc-daygrid-day-bottom {
  text-align: center !important;
}

.fc .fc-dayGridMonth-view .fc-scrollgrid-section-body .fc-more-link {
  background-color: #f75c24;
  color: #fff !important;
  padding: 3px 6px !important;
  border-radius: 3px;
  font-size: 13px !important;
}

.fc .fc-more-popover .fc-popover-header {
  padding: 2px 6px !important;
}

.fc .fc-more-popover {
  max-width: 480px;
  box-shadow: 0 2px 10px 1px rgba(0,0,0,.25);
}

.fc .fc-more-popover .fc-popover-body {
  padding: 4px !important;
}

.fc .fc-more-popover .fc-popover-body .fc-daygrid-event {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 12px !important;
  padding: 3px 6px !important;
  margin-bottom: 3px !important;
  border: 1px solid #a9abfe !important;
  border-radius: 3px;
  white-space: pre-line;
  background: #dde6fb !important;
  color: #000 !important;
}

.fc .fc-more-popover .fc-popover-body .fc-daygrid-event-harness:first-child,
.fc .fc-more-popover .fc-popover-body .fc-daygrid-event-harness:nth-child(2) {
  display: none !important;
}

.fc .fc-more-popover .fc-popover-body .fc-daygrid-event .fc-event-title {
  margin-bottom: 1px !important;
}
