.hero-slide.js-hero-slider{
    max-width: 80%;
}

#calendar{
    width:100% !important;
    margin:0 !important;
    border: none !important;
}
#calendar td{
    font-size: 1rem;
    color:#393285;
}

#calendar>tbody>tr>td{
    width: 40px !important;
    height: 40px !important;
}

#calendar .normal-day-heading,
#calendar .weekend-heading,
#calendar .day-with-date {
    color: #393285 !important;
}

#calendar .calendar-next a, .calendar-prev a{
    color:#393285;
}

.calendar-cointainer *:focus{
    outline:none;
}

.calendar-date-switcher {
    background: none !important;
    font-weight: 500;
}
.calendar-date-switcher form{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    font-size: 12px;
}

.calendar-date-switcher select{
    width: auto !important;
    color:#393285;
    border: 1px #393285 solid !important;
    border-radius: 4px;
}

#calendar input[type="submit"]{
    border: 1px solid #393285;
    border-radius: 10px;
    color: #393285;
    background: none;
    font-weight: 700;
    text-transform: uppercase;
}

.calendar-container{
    /*background-color:red;*/
    display: flex;
    position: relative;
    padding: 10px;
    min-width: fit-content;
}
.event-box{
    display: none;
    position: absolute;
    right: 100%;
    bottom: 0;
    top: 0;
    background: #393285;
    color:white;
    z-index: 999;
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    align-items: center;
    text-align: center;
    font-size: 14px;
    padding: 10px 0;
    /*width: fit-content;*/
    width: 100%;

    min-height: 100%;
    bottom: unset;
}

.event-box>a{
    min-width: 200px;
    /*max-width: fit-content;*/
    max-width: 100%;
}

.slider-bar-container .hero-slide{
    max-width: 100% !important;
    overflow: hidden !important;
}
.slider-bar-container>*{
    /*flex:1 !important;*/
}

.event-box > *{
    padding-left: 10px;
    padding-right: 10px;
}

.event-box .event-image{
    width: 100px;
    height: 100px;
    background-size: cover !important;
    border-radius: 50px !important;
    flex-shrink: 0;
}

.event-box h4{
    text-transform: uppercase;
    margin: 0 !important;
    line-height: 1.2;
    font-size: 21px;
    margin-top: 10px !important;
}

.event-box .event-detail {
    color: white !important;
    text-decoration: none !important;
    padding: 0 30px;
}

.event-detail:hover .event-name {
    text-decoration: underline;
    text-rendering: geometricPrecision;
}

.event-box .event-time{
    font-weight: 700;
    padding-top: 5px;
}
.event-box .event-desc{
    font-size: 12px;
}

#calendar .normal-day-heading,
#calendar .weekend-heading{
    background: none !important;
    text-transform: uppercase;
}

table tr:hover {
    background-color: initial !important;
}


.day-with-date > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    height: 80%;
    /* margin: 50px; */
    transform: translate(10%, 10%);
    box-sizing: border-box;
    border-radius: 5px;
}

.day-with-date.has-event > span{
    border: 1px solid #f39314 !important;
    cursor: pointer;
}

.day-with-date.has-event.active > span{
    background: #f39314;
    color: white;
}

.calendar-container table#calendar.calendar-table {
    border: 0px solid #393285 !important;
}

.curr-day{
font-weight: 600;
}

.current-day{
    background: none !important;
    color: initial !important;
}



.calendar-container.ajax>*{
    filter: blur(2px);
}

.calendar-container.ajax:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 2;
    opacity: .7;
}

.calendar-container.ajax:after {
    content: "";
    position: absolute;
    /* top: 0; */
    /* bottom: 0; */
    /* left: 0; */
    /* right: 0; */
    /* background: rgba(255,255,255,.9); */
    display: flex;
    align-items: center;
    justify-content: center;
    /* filter: blur(0px); */
    /* animation: fa-spin 2s infinite linear; */
    /* font-family: "Font Awesome 5 Free"; */
    /* font-weight: 900; */
    border: 5px solid black;
    /* content: "\f021"; */
    box-sizing: border-box;
    /* padding: 37%; */
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 50px;
    height: 50px;
    border-radius: 50px;
    border-top-color: transparent;
    animation:  loading 2s linear infinite;
    z-index: 3;
}







@media (max-width: 768px){
    #calendar{
        width: auto !important;
    }
    .event-box{
        position: static;
        flex: 1;
        z-index: 1;
        padding-bottom: 40px;
    }
}

@media (max-width: 500px){
    .calendar-container{
        justify-content: flex-end;
        flex-direction: column-reverse;
        align-items: center;
    }
}





@keyframes loading {
    0% {
        transform:  translate(-50%,-50%) rotate(0deg);
    }
    100% {
        transform:  translate(-50%,-50%) rotate(360deg);
    }
}

