html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    text-align: center;
}

a {
    text-decoration: none;
}

td:hover {
    background-color: #ddd;
}

td:hover a {
    text-decoration: underline;
}

.calendar {
    margin: 0 auto;
    border-collapse: collapse;
    width: 100%;
    max-width: 950px;
    margin-bottom: 25px;
}

#monthSelector {
    margin: 30px 0;
}

#currentMonth {
    font-size: 30px;
}

.prev {
    margin-right: 6px;
    border: none !important;
    background: none !important;
    font-size: 24px !important;
    font-weight: 800 !important;
}

.next {
    margin-left: 6px;
    border: none !important;
    background: none !important;
    font-size: 24px !important;
    font-weight: 800 !important;
}

.calendar th,
.calendar td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    position: relative;
    min-width: 100px;
    height: 30px;
}

.calendar th {
    background-color: #555555;
    color: #fff;
    padding: 0;
    font-weight: 400;

}

.calendar td {
    height: 60px;
}

.event {
    font-size: 12px;
    color: blue;
}

@media (max-width: 600px) {

    .calendar th,
    .calendar td {
        padding: 5px;
    }
}

#currentMonthYear {
    font-size: 30px;
    font-weight: 600;
    text-transform: capitalize;
}

.calendar-list-view {
    display: flex;
    justify-content: end;
    margin: 31px 0;
    position: relative;
    right: 47px;

}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #1a60ab !important;
    background-color: unset !important;
}

.list-box-cover {
    display: flex;
    flex-direction: row;
    margin: 0 32px;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
}

.day {
    background-color: #555555;
    color: #fff;
    font-weight: 600;
    width: 40px;
    writing-mode: vertical-lr;
    text-orientation: upright;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.month {
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    line-height: 25px;
}

.event-logo {
    width: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.event-name {
    width: 700px;
    text-align: start;
    padding: 12px 20px;
}

.current-month {
    font-weight: 600;
    font-size: 200%;
}

.register-div {
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.event-discp {
    overflow: hidden;
    position: relative;
    line-height: 1.2em;
    max-height: 9.6em;
    margin-right: -1em;
    padding-right: 1em;
    color: #54585a;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
}

.event-title {
    font-family: "Montserrat", sans-serif;

}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: #54585a;
}

h1,
h2,
h3,
h4,
h5,
h6 {

    color: #54585a;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    line-height: 1.4;
    text-transform: none;
    font-style: normal;
}

h5 {
    font-size: 21px;
    line-height: 1.4;
    letter-spacing: 1px;
}

.time-duration {
    font-size: 80%;
    font-family: "Montserrat", sans-serif;
}

.list-section {
    margin-bottom: 20px;
}

.list-box-cover:hover {
    background-color: #ddd;
    transition: 0.5s;
}

.list-box-cover:hover .day {
    transform: translateX(-12px);
    transition: 0.5s;
}

img {
    width: 100%;
}

.list-section a:hover {
    text-decoration: none;
}

.register-div a {
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
    font-size: 15px;
}

.btn {
    color: #007bff !important;
}

.btn:hover {
    color: #54585a !important;
}

.current-month-name {
    font-size: 15px;
}

@media (max-width: 900px) {
    .list-box-cover {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .event-name {
        width: 100%;
        text-align: center !important;
    }

    .day {
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
        background-color: #555555;
        width: 100%;
        writing-mode: unset;
        text-orientation: unset;
        height: 31px;
        margin-bottom: 14px;
    }
}