.events-calendar {
    background-color: white;
    padding: 30px;
    max-width: 1920px;
    margin: auto;
    border: 2px solid black;
    box-shadow: 4px 4px 0px 0px #000;
}

.events-classes__item {
    border: 1px solid black;
    padding: 10px 10px;
    box-shadow: 2px 2px 0px 0px #000;
    color: white;
    font-weight: 600;
}

.events-calendar-wrapper {
    display: grid
;
    grid-template-columns: 300px 1fr;
}
.events-classes__list {
    display: grid
;
    gap: 10px;
}

.events-classes__logo img {
    width: 150px;
}
.events-classes__logo {
    margin-bottom: 20px;
}

.events-classes {
    padding-right: 30px;
    border-right: 4px solid black;
}



.events-calendar-init {
    margin: 0 auto;
    padding-left: 30px;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.calendar-header h2 {
    margin: 0;
    color: #FFF;
    text-align: justify;
    text-shadow: 
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000;
    margin: 0;
    font-size: 32px !important;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 900 !important;
}

.calendar-header button {
    padding: 5px 15px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    padding: 10px 0;
}
.days > .week {
    display: grid
;
    grid-template-columns: repeat(7, 1fr);
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid black;
}
.days > .week:last-child {
    border-bottom: 0px;
}
.day {
    position: relative;
    padding: 0 10px;
    text-align: center;
}
.day:not(:last-child) {
    border-right: 2px solid black;
}

button.next-month, button.prev-month {
    border: 2px solid black;
    border-radius: 0px;
    display: flex
;
    height: 50px;
    width: 50px;
    justify-content: center;
    align-items: center;
    background: white;
}

button.next-month svg, button.prev-month svg {
    height: 20px;
    width: 20px;
}

button.next-month svg, button.prev-month svg {
    height: 20px;
    width: 20px;
}

button.next-month:hover, button.prev-month:hover {
    background: black;
    transition-duration: 0.2s;
}

button.next-month:hover svg path, button.prev-month:hover svg path {
    stroke: white;
    transition-duration: 0.2s;
}

.weekdays {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid black;
}
.weekdays > div:not(:last-child) {
    border-right: 2px solid black;
}
.weekdays > div {
    padding: 5px 10px;

}
.day:not(.empty) .day-wrapper {
    background: #FAFAFA;
    padding: 10px;
    height: 120px;
    overflow: auto;
    scrollbar-width: 1px;
    scrollbar-color: #000000 #FAFAFA;
}

.day:not(.empty) .day-wrapper::-webkit-scrollbar {
    width: 8px;
}

.day:not(.empty) .day-wrapper::-webkit-scrollbar-track {
    background: #FAFAFA;
}

.day:not(.empty) .day-wrapper::-webkit-scrollbar-thumb {
    background-color: white;
    border: 2px solid black;
}
.day-header {
    display: flex
;
    justify-content: space-between;
    align-items: center;
}

.day-number {
    font-weight: 700;
    font-size: 20px;
}

.day-number-event {
    height: 30px;
    width: 30px;
    display: flex
;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid black;
}

.day-wrapper {
    position: relative;
}

.event-single {
    padding: 5px;
    color: white;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    border: 1px solid black;
    box-shadow: 2px 2px 0px 0px #000;
}
.list-of-events {
    display: grid
;
    gap: 5px;
    margin-top: 10px;
}


.day.withevents .day-wrapper {
    border: 1px solid black;
    box-shadow: 2px 2px 0px 0px #000;
    cursor: pointer;
    padding-bottom: 20px;
}
.day.withevents .day-wrapper:hover {
    border: 1px solid black;
    transition-duration: 0.2s;
    box-shadow: 4px 4px 0px 0px #000;
    cursor: pointer;
}

.event-dots {
    display: flex
;
    width: calc(100% - 20px);
    height: 10px;
    position: absolute;
    left: 0;
    bottom: 1px;
    margin-left: 10px;
    margin-right: 10px;
}
.event-dots > div {
    height: 10px;
    width: 100%;
}

@media screen and (max-width: 1600px){
    .day-number {
        font-weight: 700;
        font-size: 14px;
    }
    .day-number-event {
        height: 25px;
        width: 25px;
        font-size: 14px;
    }   
    .events-classes__item {
        font-size: 14px;
    }
    .events-calendar-init {
        padding-left: 0;
        padding-top: 20px;
    }
    .events-classes {
        padding-right: 0;
        padding-bottom: 20px;
        border-right: 0;
        border-bottom: 4px solid black;
    }
    .events-calendar-wrapper {
        display: grid;
        grid-template-columns: 1fr;
    }
    .events-classes__list {
        display: flex
    ;
        gap: 10px;
        flex-wrap: wrap;
    }
    .day:not(.empty) .day-wrapper {
        height: 100px;
    }
}
@media screen and (max-width: 1200px){
    .calendar-header h2 {
        font-size: 16px;
    }
    .days > .week {
        display: grid
    ;
        grid-template-columns: repeat(7, 1fr);
        padding-bottom: 5px;
        margin-bottom: 5px;
        border-bottom: 2px solid black;
    }
    .event-dots {
        width: calc(100% - 12px);
        height: 5px;
        bottom: 6px;
        margin-left: 6px;
        margin-right: 6px;
    }
    .day {
        padding: 0 5px;
    }
    .day:not(.empty) .day-wrapper {
        padding: 5px;
    }
    .event-dots {
        display: none;
    }
    .day:not(:last-child){
        border-right: 1px solid black;
    }
    .days > .week {
        border-width: 1px;
    }
    .day-number-event {
        height: 20px;
        width: 20px;
        font-size: 10px;
    }
}

@media screen and (max-width: 800px){
    .day:not(.empty) .day-wrapper {
        height: 90px;
    }
    .event-single {
        font-size: 8px;
        padding: 3px;
    }
}

@media screen and (max-width: 600px){
    .event-single * {
        display: none;
    }
    .list-of-events {
        display: flex;
        gap: 2px;
        flex-wrap: wrap;
    }
    .list-of-events > div {
        height: 15px;
        width: 15px;
        box-shadow: unset;
    }
    .day:not(.empty) .day-wrapper {
        height: 70px;
    }
    .day-number-event {
        display: none;
    }
    .list-of-events {
        margin-top: 2px;
    }
    .day {
        padding: 0 2px;
    }
    .day.withevents .day-wrapper {
        box-shadow: none;
    }
    .events-classes__item {
        font-size: 12px;
    }
    .calendar-header h2 {
        font-size: 18px !important;
        text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000 !important;
    }
    button.next-month, button.prev-month {
        width: 40px;
        height: 40px;
    }
    .day:not(:last-child) {
        border-right: 1px solid rgba(0, 0, 0, 0.4);
    }
    .days > .week {
        border-bottom: 1px solid rgba(0, 0, 0, 0.4);
    }   
    .weekdays > div {
        padding: 2px 10px;
        font-size: 10px;
    }
    .events-calendar {
        padding: 15px;
    }
}
button.event-button {
    width: 100%;
    padding: 5px 10px;
    border-radius: 0;
    border: 1px solid black;
    box-shadow: 2px 2px 0 0 black;
    background: white;
    color: black;
    font-weight: 600;
    margin-bottom: 10px;
}

.event-type {
    width: fit-content;
    padding: 5px 10px;
    font-size: 12px;
    color: white;
    margin-bottom: 10px;
    font-weight: 600;
}

.event-desc {
    font-size: 12px;
    margin-bottom: 10px;
}

.day-wrapper {
    position: relative;
}

.svg-voucher-wrapper {
    display: flex;
    position: absolute;
}


.svg-voucher-wrapper svg {
    height: 40px;
    width: 50px;
}


.svg-voucher-wrapper {
    display: flex
;
    position: absolute;
    bottom: 0;
    right: 0;
    background: #00f300;
    z-index: 2;
}

.voucherfree .day-wrapper{
    border: 2px solid #00f300 !important;
    box-shadow: 2px 2px 0 0 #00f300 !important
}

@media screen and (max-width: 1200px){
    .svg-voucher-wrapper svg {
        height: 20px;
        width: 30px;
    }
}

button#google-calendar-export {
    border: 1px solid black;
    padding: 10px 10px;
    background: white;
    box-shadow: 2px 2px 0 0 black;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-weight: 600;
}


@keyframes loading-bounce {
    0% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-2px);
    }
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }
}

.loading .day-wrapper {
    width: 100%;
    height: 100%;
    background: rgb(221 221 221) !important;
    animation: loading-bounce 1.2s ease-in-out infinite;
}

.day.loading:nth-child(1) .day-wrapper { animation-delay: 0.1s; }
.day.loading:nth-child(2) .day-wrapper { animation-delay: 0.2s; }
.day.loading:nth-child(3) .day-wrapper { animation-delay: 0.3s; }
.day.loading:nth-child(4) .day-wrapper { animation-delay: 0.4s; }
.day.loading:nth-child(5) .day-wrapper { animation-delay: 0.5s; }
.day.loading:nth-child(6) .day-wrapper { animation-delay: 0.6s; }
.day.loading:nth-child(7) .day-wrapper { animation-delay: 0.7s; }


select#calendar-export {
    width: 100%;
    padding: 10px 5px;
    font-weight: 600;
    border: 1px solid black;
    box-shadow: 2px 2px 0 0 black;
}

.events-classes__item:hover {
    cursor: pointer;
    filter: brightness(1.2);
}
.visibility-hidden:not(.selectedday){
    opacity: 0.5;
    filter: grayscale(1);
}

.selectedday .day-wrapper {
    transition-duration: 0.4s;
    position: relative;
    transform: translate(-4px, -4px);
    box-shadow: 4px 4px 0px 0px #000 !important;
}


.legenda {
    font-weight: 600;
    font-size: 22px;
    color: black;
}