/* Reset */
html body div .hermes-calendar,
html body div .hermes-calendar * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  /* outline: 0; quitado para accesibilidad */
  font: inherit;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none;
  list-style: none;
  box-shadow:none;
}

 
html body div .hermes-calendar html,
html body div .hermes-calendar body {
  line-height: 1;
}
 
html body div .hermes-calendar table {
  border-collapse: collapse;
  border-spacing: 0;
}
 
html body div .hermes-calendar img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
 
html body div .hermes-calendar button,
html body div .hermes-calendar input,
html body div .hermes-calendar select,
html body div .hermes-calendar textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  appearance: none;
}
 
html body div .hermes-calendar button {
  cursor: pointer;
}
 
html body div .hermes-calendar strong {
  font-weight: bold;
}
 
html body div .hermes-calendar em {
  font-style: italic;
}
 
html body div .hermes-calendar a {
  color: inherit;
}
 
html body div .hermes-calendar a,
html body div .hermes-calendar a:hover {
  text-decoration: none !important;
}
 
html body div .hermes-calendar h1,
html body div .hermes-calendar h2,
html body div .hermes-calendar h3,
html body div .hermes-calendar h4,
html body div .hermes-calendar h5,
html body div .hermes-calendar h6 {
  font-weight: normal;
  font-size: 100%;
}
 
html body div .hermes-calendar ul,
html body div .hermes-calendar ol {
  list-style: none;
}
 
html body div .hermes-calendar input[type="checkbox"],
html body div .hermes-calendar input[type="radio"] {
  appearance: auto;
}


/* contenedor */
html body div #wp-hermes-calendar-container {  
  padding: 1rem;
  color:#333;
  @media (min-width: 746px) {
    max-width:  100% !important;
    margin: 1% !important;
    border-radius: 8px;
    border:1px solid #E1E1E1;
    box-shadow: 0 4px 33px rgba(0,0,0,0.1);
    background: #fff;
  }
  @media (min-width: 992px) {
    padding: 0;
    display: flex;
  }
}

/* contenedor calednario */
html body div .calendar-left {
  flex: 1;
  flex-grow: 2.3;
  border-radius: 8px;
  overflow: hidden;
  border:1px solid #E1E1E1;
  background-color: #fff;
  box-shadow: 0 4px 33px rgba(0,0,0,0.1);
  padding: 1rem;
  margin-bottom: 1rem;
  margin-bottom: 1.5rem;
  color:#666666;
  @media (min-width: 992px) {
    margin-left: 1.5rem;
    margin-top: 1.5rem;
  }
}

/* cambio visual header cal */
html body div .hermes-calendar .fc-today-button{
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    padding: 0.4rem 0.65rem;
    background-color: #2c3e50;
    color: #fff;
}
html body div .hermes-calendar .fc-today-button[disabled]{
  cursor: auto;
}
html body div .hermes-calendar .fc-today-button:not(:disabled):hover{
  background-color: #1e2b37;
}

html body div .fc .fc-header-toolbar{
  flex-direction: column;
}

html body div .fc .fc-toolbar-title{
  font-size: 1.35rem;
  color: #333;
  padding: 0 44px;
}
  html body div .fc-toolbar-chunk:nth-child(1){
    margin-bottom: 1rem;
  }

html body div .fc-toolbar-chunk:nth-child(1) button:focus{
  background: #000 !important;
}

html body div .fc-toolbar-chunk:nth-child(3){
  width: 100%;
}

@media (min-width: 550px) {
  html body div .fc .fc-header-toolbar{
    flex-direction: row;
  }
  html body div .fc .fc-toolbar-title{
    font-size: 1.25rem;
    line-height: 2.6rem;
    padding: 0 ;
  }
  html body div .fc-header-toolbar {
    position: relative;
  }

  html body div .fc-toolbar-chunk:nth-child(1){
    right:0px;
    position: absolute;
    z-index: 5;
    margin-bottom: 0;
  }

  html body div .fc-toolbar-chunk:nth-child(2){
    width: 100%;
    text-align: center;
  }

  html body div .fc-toolbar-chunk:nth-child(3){
    position: absolute;
    z-index: 1;
    left: 50%;
    right:auto;
    width: 300px;
    transform: translate(-50%, 0);
  }
}

html body div .fc-toolbar-chunk:nth-child(3) .fc-button-group{
  width: 100%;
  display: flex;
  justify-content: space-between;
}
html body div .fc-toolbar-chunk:nth-child(3) .fc-button-group:after,
html body div .fc-toolbar-chunk:nth-child(3) .fc-button-group:before{
  display: none;
}
html body div .fc-prev-button,
html body div .fc-next-button{
  background-color:transparent !important;
  max-width: 41px;
  border: 0 !important;
  padding: 0 !important;
}

html body div .fc-toolbar-chunk .fc-prev-button{
  position: absolute;
  left: 0;
  margin-top: -44px;
}
html body div .fc-toolbar-chunk .fc-next-button{
  position: absolute;
  right: 0;
  margin-top: -44px;
}

@media (min-width: 550px) {
  html body div .fc-toolbar-chunk .fc-prev-button,
  html body div .fc-toolbar-chunk .fc-next-button{
    position: static;
    margin-top: 0;
  }
}

html body div .fc-prev-button .fc-icon,
html body div .fc-next-button .fc-icon {
  font-size: 2.5rem !important;
  height: auto;
}

html body div .fc-prev-button span::before,
html body div .fc-next-button span::before{
  color:#222222;
}

/* cambio celdas */
html body div .fc-col-header {
  margin: 0;
}
html body div .fc-scrollgrid,
html body div .fc-col-header,
html body div .fc-theme-standard th{
  border:0 !important;
}
html body div .fc-theme-standard th .fc-col-header-cell-cushion{
  padding: 2px 4px;
}
html body div .fc-theme-standard td.fc-day{
  border-top:1px solid #ddd;
}
html body div .fc-theme-standard td, .fc-theme-standard th{
  background-color: transparent !important;
}
html body div .fc .fc-daygrid-day-number{
  display: block;
  font-size: 1rem;
  text-align: center;
  width: 100%;
  padding: 4px;
  margin-top: 5px;
}

html body div .fc .fc-daygrid-day:hover,
html body div .fc .fc-daygrid-day.fc-day-selected{
  background-color: var(--fc-today-bg-color) !important;
  cursor: pointer;
}
html body div .fc-day-today .fc-daygrid-day-number{
  font-weight: bold;
  color:#333 !important;
}
html body div .fc [class="fc-daygrid-event-harness"] a:hover {
  background-color: transparent;
}
html body div .fc [class="fc-daygrid-event-harness"] .fc-daygrid-event-dot{
  display: block;
  margin: 0 auto;
  border-radius: 4px;
  border-width: 4px;
  border-style: solid;
}
html body div .fc [class="fc-daygrid-event-harness"] .fc-daygrid-dot-event{
  padding: 2px 0;
}
html body div .fc [class="fc-daygrid-event-harness"] .fc-daygrid-dot-event .fc-event-title{
  display: none;
}
html body div .fc .fc-daygrid-body-natural .fc-daygrid-day-events {
  margin-top: 1px;
  margin-bottom: 1px;
}

html body div .items-loudding{
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 70px 0 50px;
  background: #f6f6f6;
  border-radius: 3px;
}
html body div .items-loudding:before{
  display: block;
  content: "";
  background: url(cargando.svg) 100% no-repeat;
  width: 111px;
  height: 130px;
  margin: 0 auto;
  position: absolute;
  transform: translate(0, -16px);
  z-index: 0;
}
html body div .items-loudding span{
  position: relative;
  z-index: 1;
  color: #7b7474;
  font-size: 1rem;
  max-width: 150px;
  text-align: center;
  line-height: .7lh;
  margin-top: 32px;
}

html body div .no-items-found{
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 85px 0 50px;
  background: #f6f6f6;
  border-radius: 3px;  
  @media (min-width: 992px) {
  padding: 50px 0 50px;
  }
}
html body div .no-items-found:before{
  display: block;
  content: "";
  background: url(no-event.svg) 100% no-repeat;
  width: 111px;
  height: 130px;
  margin: 0 auto;
  position: absolute;
  transform: translate(0, -16px);
  z-index: 0;
}
html body div .no-items-found span{
  position: relative;
  z-index: 1;
  color: #7b7474;
  font-size: 1rem;
  max-width: 150px;
  text-align: center;
  line-height: .7lh;
  margin-top: 32px;
}


/* items */
html body div .calendar-right {
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  @media (min-width: 992px) {
    width: 40%;
    padding: 1.5rem;
    height: 640px;
    overflow-y: auto;
    overflow-x: visible;
  }
}
html body div .calendar-right .hermes-items-list{
  height: 100%;
}

/* Item */
html body div .event-card {
  display: flex;
  gap: 1rem;
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #E1E1E1;
  box-shadow: 0 4px 33px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
  position: relative;
}

html body div .event-image {
  width: 80px;
  height: 80px !important; 
  object-fit: cover;
  border-radius: 8px !important;
}

html body div .event-date-info{
  display: flex;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.75rem;
}

html body div .event-date {
  color:#222222;
  background-color: #F8E5B9;
  display: inline-block;
  padding: 2px 6px;
  line-height: 1rem;
  border-radius: 4px;
  margin-right: 10px;
}

html body div .event-time{
  color:#666666;
}
html body div .event-time:before{
  display: inline-block;
  content:"";
  background: url(clock.svg) no-repeat left top;
  background-size: 100% auto;
  width: 16px;
  height: 16px;
  opacity: .7;
  vertical-align: text-top;
  margin-right: 3px;
}

html body div .event-info .event-title{
  margin: 6px 0;
}

html body div .event-info .event-title,
html body div .event-info .event-title a{
  font-size: 1.1rem !important;
  color:#333333;
  font-weight: 500;
  text-decoration: none;
  z-index: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
html body div .event-info .event-title a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

html body div .event-info .event-txt{
  margin: 0;
  font-size: 1rem;
  color: #666;
  line-height: .8lh;
}