@import url(eventopage.css);

/*Calendario*/
.calendar-div {
    height: 70vh;
    padding: 24px;
    border: 2px solid rgb(224, 224, 224);
    border-radius: 12px;
}

div#calendar-eventos .fc-col-header-cell-cushion {
    color: #006b50;
    font-weight: 500 !important;
    text-transform: capitalize !important;
}

div#calendar-eventos .fc-button {
    background-color: #006b50 !important;
    border: none !important;
}

div#calendar-eventos .fc-daygrid-day-number {
    color: #006b50 !important;
}

div#calendar-eventos .fc-timegrid-axis-cushion + div#calendar-eventos .fc-scrollgrid-shrink-cushion + div#calendar-eventos .fc-scrollgrid-sync-inner {
    content: "Dia" !important;
}

div#calendar-eventos .fc-toolbar-title {
    text-transform: capitalize !important;
}

/*Accordion*/

.accordion-eventos {
    width: 90% !important;
    background-color: transparent;
    border-radius:0.375rem !important;
}

.accordion-btn-eventos {
    background-color: #009a74 !important;
    color:#FFF !important;
}

.accordion-btn-eventos:focus {
    background-color: #006b50 !important;
    color: #FFF;
}

/*Form Novo Evento*/

.label-input-evento {
    margin-bottom: 4px;
}

.input-novo-evento {
    width: 100%;
    border: 1px solid rgb(224, 224, 224);
    border-radius: 8px;
    padding: 6px 8px;
}

.btn-novo-evento {
    font-size: 16px;
    padding: 6px 12px;
    border-radius: 0.375rem;
    width: 100%;
    background-color: #009a74;
    border: none;
    color: #FFF;
}

.btn-novo-evento:hover, .btn-novo-evento:focus::after {
    background-color: #006b50;
}

.btn-novo-evento:focus {
    background-color: #004130;
    content: url(../../../../storage/img/icons/confetti.png);
}

/* New */
.background {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: start;
}

.info-column {
    width: 20%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.calendar-column {
    width: 80%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.fc-col-header-cell-cushion {
    color: black !important;
    text-transform: capitalize !important;
}

.fc-event:hover {
    background-color: #006b50 !important;
    color: #FFF !important;
}

.fc-event {
    color:#000 !important;
}

.fc-daygrid-day-number{
    color: black !important;
}

.fc-event:hover .fc-daygrid-event-dot {
    border-color: white !important;
}

/*Principal Info*/

.calendar-principal-info {
    width: 100%;
    height: 80px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgb(224, 224, 224);
}

.page-title-div {
    width: fit-content;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

.page-title {
    font-size: 18px;
    margin-bottom: 4px;
}

.page-description {
    font-size: 16px;
    color: rgb(182,182,182);
}

/*Todos os calendarios para exibir*/
.aside-div {
    width: 100%;
    min-height: 60px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

.aside-div-title-div {
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-top: 1px solid rgb(224, 224, 224);
}

.aside-div-title {
    font-size: 18px;
}

.aside-div-icon {
    width: 25px;
    cursor: pointer;
    background-color: transparent;
    border-radius: 50%;
    padding: 4px;
}

@keyframes hoverIcon {
    from {
        background-color: transparent;
    }
    to {
        background-color: rgb(244,244,244);
    }
}

.aside-div-icon:hover {
    animation: hoverIcon 0.4s ease 0s forwards;
}

.aside-div-content {
    width: 100%;
    height: 100%;
    display: none;
    padding: 0px 0px 24px 24px;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

/*Calendario grande*/

/*Calendario*/
#new-calendar {
    width: 100% !important;
    height: 92% !important;
}

/*Cabeçalho*/
.calendar-header-admin {
    width: 100%;
    height: 8%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

/*Navegação*/
.calendar-navigation-div {
    height: 100%;
    width: 50%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    padding: 24px;
}

.new-calendar-title-date {
    font-size: 32px;
    margin-right: 16px;
    text-transform: capitalize;
}

.today-btn {
    background-color: transparent;
    border: 1px solid rgb(224, 224, 224);
    border-radius: 6px;
    padding: 6px 8px;
    color: rgb(164,164,164);
    font-size: 14px;
    margin-left: 8px;
}
#prev-btn{
    background-color: transparent;
    border: 1px solid rgb(224, 224, 224);
    border-radius: 6px;
    padding: 6px 8px;
    color: rgb(164,164,164);
    font-size: 14px;
    margin-left: 8px;
    margin-right: 8px;
}
#next-btn{
    background-color: transparent;
    border: 1px solid rgb(224, 224, 224);
    border-radius: 6px;
    padding: 6px 8px;
    color: rgb(164,164,164);
    font-size: 14px;
    margin-left: 8px;
    margin-right: 8px;
}

@keyframes hoverTodayBtn {
    from {
        background-color: transparent;
        color: rgb(164,164,164);
    }
    to {
        background-color: rgb(224, 224, 224);
        color: rgb(144,144,144);
    }
}

.today-btn:hover, .prev-btn:hover, .next-btn:hover {
    animation: hoverTodayBtn 0.5s ease 0s forwards;
}

.calendar-actions-div {
    height: 100%;
    width: 50%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: end;
    padding: 24px 24px 24px 0px;
}

.actions-btn {
    background-color: transparent;
    border: 1px solid rgb(224, 224, 224);
    border-radius: 6px;
    padding: 6px 8px;
    color: rgb(164,164,164);
    font-size: 14px;
    margin-left: 8px;
    align-content: center;
}

.action-btn-icon {
    height: 24px;
}

@keyframes hoverTodayBtn {
    from {
        background-color: transparent;
        color: rgb(164,164,164);
    }
    to {
        background-color: rgb(224, 224, 224);
        color: rgb(144,144,144);
    }
}

.actions-btn:hover {
    animation: hoverTodayBtn 0.5s ease 0s forwards;
}



/*MINI CALENDAR*/

.mini-calendar {
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#mini-calendar{
    width: 100% !important;
    height: 100% !important;
    color: black !important;
}

.calendar-header-mini-calendar {
    width: 100%;
    height: 10%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.calendar-navigation-img {
    padding: 4px;
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
}

.calendar-navigation-img:hover {
    animation: hoverIcon 0.4s ease 0s forwards;
}

.calendar-weekdays {
    width: 100%;
    list-style: none;
    margin: 0px 0 16px 0;
    padding: 0;
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto;
    column-gap: 1rem;
    row-gap: 16px;
}

.calendar-dates {
    width: 100%;
    height: fit-content;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto;
    list-style-type: none;
    column-gap: 1.4rem;
    row-gap: 16px;
}

.calendar-dates li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.calendar-dates li.inactive {
    color: #aaa;
}

.calendar-dates li.today{
    background-color: rgba(0, 177, 0, 0.384);
    border-radius: 50%;
    color: #000;
    padding: 1px;
}

.calendar-dates li.active {
    background-color: green;
    border-radius: 50%;
    color: #FFF;
    padding: 1px;
}

.calendar-dates li.active::before {
    background: #6332c5;
}

.calendar-dates li:not(.active):hover::before {
    background: #e4e1e1;
}

.calendar-dates li::before {
    position: absolute;
    content: "";
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}