.calendar-container{
    background-color: #ffc50a;
    display: block;
    position: absolute;
    left: 30%;
    top: -165%;
    width: 350px;
    height: 305px;
    border-radius: 15px;
    box-shadow: 10px 10px 15px black;
    z-index: 10;
}
.calendar-container.error-shown{
    top: -135%;
}

.calendar-header{
    box-shadow: none;
    display: flex;
    padding-top: 5%;
    padding-left: 5%;
}

.calendar-select{
    margin-right: 5%;
    text-align: center;
    background-color: #FFD241;
    border-radius: 10px;
    border-width: 0;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
}

.arrow-wrapper{
    border-radius: 40px;
    margin-left: 15px;
    margin-top: 4px;
    align-content: center;
    width: 30px;
    height: 30px;
    text-align: center;
}
.arrow-wrapper:hover{
    background-color: rgba(190,190,190,0.65);
}
.arrow-wrapper.arrow-pulse{
    animation: arrowPulse 0.2s forwards ease-out;
    box-shadow: 0 0 0 0 rgba(190,190,190,0.65);
}
@keyframes arrowPulse{
    0%{
        box-shadow: 0 0 0 0 rgba(190,190,190,0.65);
    }
    
    70%{
        box-shadow: 0 0 0 0.5rem rgba(190,190,190,0.65);
    }
    
    100%{
        box-shadow: 0 0 0 0 rgba(190,190,190,0.65);
    }
}
.calendar-arrow {
    width: 10px;
    height: 10px;
    border-left: 2px solid;
    border-top: 2px solid;
    color: black;
}
.calendar-arrow.right {
    margin-left: 7px;
    -webkit-transform: rotate(135deg) skew(5deg, 5deg);
    transform: rotate(135deg) skew(5deg, 5deg);
}
.calendar-arrow.left {
    margin-left: 13px;
    -webkit-transform: rotate(-45deg) skew(5deg, 5deg);
    transform: rotate(-45deg) skew(5deg, 5deg);
}

.calendar-body{
    display: flex;
    padding-bottom: 5%;
    padding-left: 5%;
    padding-right: 5%;
    justify-content: flex-start;
    align-items: baseline;
}

.calendar-dates{
    list-style-type: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-left: 0;
    color: black;
}

.weekday{
    padding: 4%;
    width: calc(100% * 1/7);
    font-weight: bold;
    font-size: 20px;
}

.date{
    padding: 4%;
    width: calc(100% * 1/7);
    border-radius: 10px;
    font-weight: bold;
    font-size: 20px;
}
.date:hover{
    background-color: rgba(190,190,190,0.65);
}

.inactive{
    opacity: 0.4;
    cursor: not-allowed;
}

.active{
    cursor: pointer;
}

.selected,.selected:hover{
    background-color: black;
    color: white;
}

.hide{
    display: none;
}

.fade-in{
    opacity: 1;
    animation-name: fadeIn;
	animation-iteration-count: 1;
	animation-timing-function: linear;
	animation-duration: 0.2s;
}
.fade-out{
    opacity: 0;
    animation-name: fadeOut;
    animation-iteration-count: 1;
	animation-timing-function: linear;
	animation-duration: 0.2s;
}

@keyframes fadeIn{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
@keyframes fadeOut{
    0%{
        opacity: 1;
    }
    100%{
        opacity: 0;
    }
}

@media screen and (max-width: 991px){
    .calendar-container{
        left: 37%;
    }
}

@media screen and (max-width: 500px){
    .calendar-container{
        left: -15%;
    }
    
}