.calendar-parent {
    display: flex;
    min-height: 400px;
    padding: 0 10px;
    align-items: center;
    justify-content: center;
    margin-right: 50px;
}

.calendar-container {
    background: #fff;
    border: 1px solid #1b3564;
    width: 60%;
}

.calendar-container header {
    display: flex;
    align-items: center;
    padding: 25px 30px 10px;
    justify-content: space-between;
}

header .calendar-navigation {
    display: flex;
    width: 100%;
}

header .calendar-navigation span {
    height: 38px;
    width: 38px;
    margin: 0 1px;
    cursor: pointer;
    text-align: center;
    line-height: 38px;
    border-radius: 50%;
    user-select: none;
    color: #aeabab;
    font-size: 1.9rem;
    width: 15%;
}

.calendar-navigation span:last-child {
    margin-right: -10px;
}

header .calendar-current-date {
    font-weight: 600;
    font-size: 20px;
    font-family: montserrat;
    color: #1b3564;
    width: 70%;
    text-align: center;
    margin: 5px 0px;
}

.calendar-body {
    margin: 20px;
}

.calendar-body ul {
    list-style: none;
    flex-wrap: wrap;
    display: flex;
    text-align: center;
    padding: 0px;
}

.calendar-body .calendar-dates {
    margin-bottom: 20px;
}

.calendar-body li {
    width: calc(100% / 7);
    font-size: 14px;
    color: #1b3564;
    font-family: montserrat;
}

.calendar-body .calendar-weekdays li {
    cursor: default;
    font-weight: 500;
}

.calendar-body .calendar-dates li {
    margin-top: 20px;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.calendar-dates li.inactive {
    color: #aaa;
    visibility: hidden;
}

/*.calendar-dates li.active {
    color: #fff;
}*/

.calendar-dates li::before {
    position: absolute;
    content: "";
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.calendar-dates li.has-event::after {
    position: absolute;
    content: "";
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: #e4c23c;
    margin-top: 12px;
}

.calendar-dates li.active::before {
    background: #e4c23c;
}

.calendar-dates li:not(.active):hover::before {
    background: #ffe994;
}

#calendar-prev .fa, #calendar-next .fa{
    font-size: 16px;
    color: #fff;
    background: #1b3564;
    border-radius: 100px;
}

#calendar-prev .fa{
    padding: 8px 10px 6px 8px;
}

#calendar-next .fa{
    padding: 8px 8px 6px 10px;
}

#calendar-prev .fa:hover, #calendar-next .fa:hover{
    background: #1251c4;
}


.agenda-parent {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 50px;
    padding: 0px 10px;
}

.agenda-container{
    width: 60%; 
    display: flex;
}

.agenda-date {
    width: 25%;
    background-color: #f8eec9;
    padding: 10px 10px 10px 20px;
    border-left: 10px solid #e4c23c;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
}

.agenda-date p{
    font-family: montserrat;
    text-align: center;
    margin-bottom: 0px !important;
}

.agenda-detail li{
    font-family: montserrat;
    text-align: left;
    list-style: none;
    margin-bottom: 6px;
}

.agenda-detail {
    width: 75%;
    background-color: #fbf6e2;
    padding: 10px;
    text-align: center;
    max-height: 150px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #e4c23c #fbf6e2;
}

@media screen and (max-width: 1400px) {
    .calendar-parent, .agenda-parent {
        margin-right: 10px;
    }

    .calendar-container, .agenda-container {
        width: 70%;
    }
}

@media screen and (max-width: 1161px) {
    .calendar-container, .agenda-container{
        width: 90%;
    }
}