.elmont-calendar-container {
    display: flex;
    gap: 25px;
    margin: 50px 0;
}

.elmont-calendar-container > div {
    flex: 1;
}

#elmont-calendar {
    width: 100%;
    font-family: sans-serif;
    border: 1px solid #000;
    background: #F2ECE4;
    font-family: inherit;
}

#elmont-calendar button.prev-month, 
#elmont-calendar button.next-month {
    background-color: #F2ECE4;
    border: 1px solid #F2ECE4;
    cursor: pointer;
    border-radius: 0;
    padding: 5px 8px;
}

#elmont-calendar-output h2 {
    margin-bottom: 25px;
}

#elmont-calendar table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

#elmont-calendar th, #elmont-calendar td {
    padding: 5px;
    border: 1px solid #f2ece4;
    width: calc(100% / 7);
    font-size: 16px;
    border-radius: 5px;
}

#elmont-calendar td {
  padding: 10px;
}

#elmont-calendar .calendar-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid;
}

#elmont-calendar .calendar-navigation span {
    font-weight: 800;
    font-size: 24px;
    text-transform: capitalize;
    font-family: var(--font-title-condensed);
}

.elmont-date:hover {
    background-color: whitesmoke;
    cursor: pointer;
}

.elmont-date.elmont-date-selected {
    background: black !important;
    color: white !important;
}

.elmont-event-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.elmont-event-info {
    flex: 2;
}

.elmont-event-info p {
    margin: 0;
    padding: 10px 15px;
    border: 1px solid;
    font-weight: 500;
    font-family: var(--font-title-condensed);
    text-align: center;
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 3px;
}

.elmont-event-info-button {
    flex: 1;
}

.elmont-event-info-button a, 
.elmont-swim-pass-link {
    padding: 10px 25px;
    width: 100%;
    text-align: center;
    display: inline-block;
    border: 1px solid black;
    background: black;
    color: white;
    text-decoration: none;
    font-weight: 500;
    height: 100%;
    align-items: center;
    align-content: center;
    transition: all 0.2s;
    font-size: 15px;
    font-family: var(--font-title-condensed);
    text-transform: uppercase;
    border-radius: 100px;
}

.elmont-event-info-button a:hover, 
.elmont-swim-pass-link:hover {
    background: rgb(44, 44, 44);
    color: white;
}

.elmont-calendar-disclaimer {
    font-size: 12px;
    color: #BFB8AE;
}

.elmont-date.disabled {
  background-color: #ded8d0;
  color: #a9a093 !important;
  pointer-events: none;
  cursor: not-allowed; 
}

.elmont-date:hover:not(.disabled) {
    background-color: #7c613d;
    color: white;
}

.elmont-date.no-event {
    color: #a9a093 !important;
    pointer-events: none;
}

.elmont-current-date {
    background: #cfc1af; 
    color: black;
    font-weight: bold;
    cursor: pointer;
}

#elmont-calendar {
    flex: .4;
}

#elmont-calendar-output {
    flex: .6;
}

.color-keys {
    display: flex;
    gap: 50px;
    justify-content: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    font-size: 14px;
    font-family: var(--font-title-condensed);
}

.color-keys .key {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-01 {
    width: 25px;
    height: 25px;
    background: #87CBDE;
    border-radius: 3px;
}

.color-02 {
    width: 25px;
    height: 25px;
    background: #FFB224;
    border-radius: 3px;
}

.color-03 {
    width: 25px;
    height: 25px;
    background: #36552A;
    border-radius: 3px;
}

.color-04 {
    width: 25px;
    height: 25px;
    background: #7C613D;
    border-radius: 3px;
}

.elmont-event-info p strong {
    margin: 0 10px;
}

.swim-club .elmont-event-info p {
    background: #87CBDE;
    border-color: #87CBDE;
}

.elmont-social .elmont-event-info p {
    background: #FFB224;
    border-color: #FFB224;
}

.evaga-event p {
    background: #36552A;
    color: white;
}

.event-center p {
    background: #7c613d;
    color: white;
}

button {
    background: transparent;
    border: none;
}

@media screen and (max-width: 1000px) {
    .elmont-calendar-container {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
    }
    .elmont-event-row {
        display: flex;
        flex-direction: column;
    }
    #elmont-calendar, #elmont-calendar-output {
        flex: none;
        width: 100%;
    }
    .color-keys {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    #elmont-calendar-output h2 {
        font-size: 28px;
    }
    .elmont-event-info-button a, .elmont-swim-pass-link {
        border-radius: 3px;
    }
}

