/********** 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 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 Año ******************/

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

.fc .fc-listYear-view .fc-list-table,
.fc .fc-listYear-view .fc-list-empty {
  display: none;
}

.fc .fc-listYear-view .new-event-list .month-section {
  border: 1px solid #d8d8d8 !important;
}

.fc .fc-listYear-view .new-event-list .month-section > header {
  background-color: #f4f4f4 !important;
  background-position: 28px 49%;
  background-size: auto 11px;
  background-repeat: no-repeat;
  color: #c4c4c4 !important;
  font-family: "ralewaybold", "ralewayregular", sans-serif !important;
  font-weight: bold !important;
  text-transform: capitalize;
  padding: 6px 6px 6px 50px !important;
}

.fc .fc-listYear-view .new-event-list .month-section.has-events > header {
  color: #fff !important;
  background-color: #43a368 !important;
  background-image: url("../img/minus-sign.svg");
  cursor: pointer !important;
}

.fc .fc-listYear-view .new-event-list .month-section.has-events.collapsed > header {
  background-image: url("../img/plus-sign.svg");
}

.fc .fc-listYear-view .new-event-list .month-section.collapsed .events .day-section {
  display: none !important;
}

.fc .fc-listYear-view .new-event-list .month-section .events .day-section {
  border-bottom: 1px solid #d8d8d8 !important;
}

.fc .fc-listYear-view .new-event-list .month-section .events .day-section > header {
  display: flex;
  justify-content: space-between;
  background: #e8e8e8;
  color: #333 !important;
  gap: 3px 8px;
  padding: 4px 20px 4px 50px !important;
  font-style: italic !important;
}

.fc .fc-listYear-view .new-event-list .month-section .events .day-section .items .event {
  display: grid;
  grid-template-columns: 3fr 2fr 2fr;
  color: #333 !important;
  gap: 3px 8px;
  padding: 4px 20px 4px 70px !important;
}

.fc .fc-listYear-view .new-event-list .month-section .events .day-section .items .event:hover {
  background: #f5f7f9;
}

.fc .fc-listYear-view .new-event-list .month-section .events .day-section .items .event strong {
  font-weight: normal !important;
}

.fc .fc-listYear-view .new-event-list .month-section .events .day-section .items .event .title {
  font-family: "ralewaybold", "ralewayregular", sans-serif !important;
}

.fc .fc-listYear-view .new-event-list .month-section .events .day-section .items .event .time {
  background: url("../img/clock.svg") no-repeat 0 4px;
  padding-left: 22px !important;
}

.fc .fc-listYear-view .new-event-list .month-section .events .day-section .items .event .location {
  background: url("../img/location-pin.svg") no-repeat 0 3px;
  padding-left: 22px !important;
}

.fc .fc-listYear-view .new-event-list .month-section .events .day-section .items .event.holiday {
  background: #fdebe3;
}

.fc .fc-listYear-view .new-event-list .month-section .events .day-section .items .event.holiday .holiday-label {
  font-family: "ralewaybold", "ralewayregular", sans-serif !important;
  font-weight: bold !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ea5b1b;
}
