#calendar{
    background-color: #717171;
    color: white;
    border-radius: 10px;
    padding: 8px;
}

#calendar.loading:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(173 173 173 / 50%);
    z-index: 9;
}

#calendar.loading:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #ffffff;
    border-top: 4px solid #000000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 9;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

th a{
    color: white;
}

th a:hover{
    color: white;
}

table a{
    color: white;
}

thead{
    background-color: #717171;
}

table .fc-daygrid-day-frame{
    border-radius: 10px;
}

.fc-scroller {
    height: auto!important;
    overflow-y: auto;
}

.event-details{
    color: white;
    margin-top: 20px;
    border-radius: 10px;
    background-color: #202020;
    position: sticky;
    bottom: 10px;
    margin: auto;
    z-index: 9;
    height: fit-content;
    max-height: 300px;
}

.cancel:hover{
    cursor: pointer;
}

.fc-event-draggable{
    color: white;
    transition: 0ms;
}

.fc-daygrid-week-number{
    color: white !important;
}

.closeButton{
    border-radius: 5px 10px 5px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 24px;
    width: 24px;
    background-color: #cecece;
    color: black;
    position: absolute;
    top: 0;
    right: 0;
}

.enter-leave-button{
    border-radius: 5px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 20px;
    width: fit-content;
    padding: 0px 10px 0px 10px;
    background-color: #af4c4c;
    color: white;
    border: none;
    outline: none;
}

#detail-window.loading:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(173 173 173 / 50%);
    z-index: 9;
}

#detail-window.loading:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #ffffff;
    border-top: 4px solid #000000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 9;
}

.hidden{
    display: none !important;
}

.disabled{
    cursor: not-allowed;
    background-color: #d5d5d5;
    color: #8d8d8d;
}

#calendar table thead tr th {
	padding: 0px;
	text-align: center;
}

#calendar .fc .fc-scrollgrid-section table{
    width: 100%;
}

#calendar .fc-header-toolbar {
    margin-bottom: 7px;
}

#calendar .group-training-full{
    background-color: #ff4545;
    color: black;
}

.fc-v-event .fc-event-main{
    color: black;
    height: 100%;
}

#calendar .event-default{
    background-color: lightcoral;
    color: white;
}

#calendar .event-selected{
    background-color: #ffffff !important;
    color: black !important;
    border: 2px solid black !important;
    outline: 1px solid white !important;
}

#calendar .fc-event:hover{
    cursor: pointer;
}

@keyframes jump {
    0% {
        transform: scale3d(1,1,1);
    }
    50% {
        transform: scale3d(2,2,2);
    }
    100% {
        transform: scale3d(1,1,1);
    }
}

.jump-animation{
    animation-name: jump;
    animation-duration: .5s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out; 
}