

/* CSS for events archive page */
body.post-type-archive-events #tbay-main-content {
    max-width: 1200px;
    margin: auto;
}

body.post-type-archive-events #all_events {
    display: flex;
    flex-wrap: wrap;
}

body.post-type-archive-events .event_box {
    width: 33.33%;
    padding: 15px;
}
body.post-type-archive-events .event_box_wrapper:hover {
    box-shadow: 0px 15px 40px 5px rgb(0 0 0 / 10%);
}
body.post-type-archive-events .event_box_wrapper {
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    overflow: hidden;

    -webkit-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}
body.post-type-archive-events .event_box .upper_content {
    position: relative;
    height: 180px;
    overflow: hidden;
    z-index: -4;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.post-type-archive-events .event_box .date_circle.hover.bg_blue {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #5bafa8;
    border-radius: 50%;
    height: 50px;
    width: 50px;
    text-align: center;
    padding-top: 8px;
}

body.post-type-archive-events .event_box .date_circle p {
    font-size: 20px;
    margin: 0px;
    line-height: 1;
    color: white;
}

body.post-type-archive-events .event_box p.date_month.month_word {
    font-size: 12px;
    font-weight: 200;
}

body.post-type-archive-events .event_box .lower_content {
    padding: 16px;
}

body.post-type-archive-events .event_box h3:hover {
    color: #5bafa8;
}
body.post-type-archive-events .event_box h3 {
    margin: 0px 0px 10px 0px;
    font-size: 28px;
    display: inline-block;

    -webkit-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

body.post-type-archive-events .event_box .lower_content div {
    margin-bottom: 5px;
    font-size: 16px;
}
body.post-type-archive-events .event_box span.icon {
    color: #5bafa8;
}
body.post-type-archive-events .event_box .link_row a:hover {
    background: #5bafa8;
    color: white;
}
body.post-type-archive-events .event_box .link_row a {
    border: solid 1px #5bafa8;
    color: #5bafa8;
    background: transparent;
    font-size: 20px;
    padding: 5px 15px;
    display: inline-block;
    border-radius: 40px;
    margin: 10px 0;

    -webkit-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

body.post-type-archive-events h1 {
    text-align: center;
    margin: 40px 0px 20px;
    /* display: inline-block; */
    border: 2px double #5bafa8;
    border-left: none;
    border-right: none;
}

body.post-type-archive-events h1,
body.post-type-archive-events h3 {
    color: #4e4e4e;
}

@media (max-width: 768px) {
    body.post-type-archive-events .event_box {
        width: 100%;
    }
}