/* 
    Document   : jevcustom
    Created on : 22-Apr-2013, 14:12:51
    Author     : Tony Partridge - GWE Systems Ltd
    Description: To allow customisation of CSS Strings where they can never be lost.
    Purpose of the stylesheet follows.
*/

:root {
  --subcontex-main: #C41D33;
}

.jev_admin_buttons a img {
  display: inline;
}

#jevmultiday,
.jeveditrepeats {
  display: none !important;
}

.pagination .limit {
  display: none !important;
}

.jev_header2 {
  display: none;
}


#jev_maincal {
  margin: 15px -1px 15px -1px;
  background-color: #FCFCFC;
  border: 1px solid #ddd;
  display: flex;
  justify-content: center;
}

.jev_month_cal {
  width: Calc(50% - 2rem);
  margin: 1rem;
}

#flatcal_minical TD,
.flatcal_daycell a,
.flatcal_sundaycell a {
  font-size: 1rem !important;
}

.flatcal_sundaycell a,
.flatcal_daycell a {
  display: inline-block;
  min-width: 24px;
  min-height: 24px;
}

.flatcal_sundaycell a {
  color: red !important;
}

#flatcal_minical .flatcal_busylink:link,
#flatcal_minical .flatcal_busylink:visited {
  color: var(--subcontex-main) !important;
}

#flatcal_minical .flatcal_todaycell .flatcal_busylink:link,
#flatcal_minical .flatcal_todaycell .flatcal_busylink:visited {
  color: white !important;
}

td.legend {
  padding-left: 1rem;
}

#jev_maincal {
  border: 0;
}

#jevents_body {
  border: 0;
  background-color: transparent;
}

.event_legend_container>table>tbody {
  display: flex;
  justify-content: space-around;
}

.flatcal_navbar {
  background-color: #000 !important;
  border-bottom: 0 !important;
}

.flatcal_navbar .flatcal_month_label {
  color: white !important;
}

.full_cal_link {
  display: none;
}

table.flatcal_main_t {
  border: 0 !important;
}

#flatcal_minical a.flatcal_busylink {
  font-size: var(--bs-body-font-size) !important;
}

.esub-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  padding: 1rem;

  &:nth-child(2n+1) {
    background: hsl(0, 80%, 95%);

  }
}

.esub-event-date {
  flex: 0 1 20%;
}

.esub-event-location {
  flex: 0 1 20%;
}

.esub-event-title {
  flex: 1 0 40%;
}

#flatcal_minical tr {
  border: none;
  border-top: 1px solid white;
}

/* Para la sección de agenda */
#mod_events_latest_169_data {
  position: relative;
  max-width: 81vw;
  margin: auto;
}

.glider-prev {
  left: -2.2rem;
}

#jev_maincal {
  border: 0;
}

.jev_month_cal {
  width: 18rem;
  margin: 0;
  min-width: 16rem;
  max-width: 100%;
}

#flatcal_minical .flatcal_todaycell {
  background-color: #99AAAA;
  color: white !important;
}

#flatcal_minical .flatcal_busyday,
#flatcal_minical .flatcal_busylink:link,
#flatcal_minical .flatcal_busylink:visited {
  background-color: var(--subcontex-main) !important;
  color: white !important;
}

.jevtt_text {
  border-left: .25rem solid var(--subcontex-main);
  padding-left: .5rem;
}

/* Lista de eventos */
#jev_maincal {
  background: transparent;
}

.jev_listview .jev_listrow {
  border: 0;
}

#jevents_body .jev_listview .jev_listrow li {
  border-bottom: 0;
  padding: .5rem 1.5rem;
  margin: 0;
}

#jevents_body ul.ev_ul li.ev_td_li {
  margin: 0 0 .5rem 0;
}

.ev_ul {
  padding-left: 1rem;
  margin-bottom: 0;
}

/* Próximos eventos */
ul.glide__slides {
  list-style: none;
  display: flex;
}

.jeviso_item {
  flex: 2 1 12rem;
}

.esub-eventsummary {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  gap: .5rem;
  border-left: .25rem solid var(--subcontex-main);
  padding-left: .5rem;
  height: 8.5rem;
}

.esub-eventtitle {
  font-weight: bold;
  color: var(--subcontex-main);
}

.esub-eventlocation {
  font-style: italic;
}

.esub-text-red {
  color: var(--subcontex-main);
}

.esub-text-muted {
  color: rgba(0, 0, 0, 0.5);
}