@import url(/css/root.css);

:root {
    --cl-today: var(--color-azul-arcca);
    --cl-todayWithEvent: var(--color-purple);
    --cl-willGo: var(--color-verde-arcca);
    --cl-alreadyHappen: var(--color-vermelho-arcca);
}

/* Mobile */
@media screen and (max-width: 900px) {
    .divisorLine {
        height: 1px;
    }
}
/* Desktop */
@media screen and (min-width: 900px) {
    .divisorLine {
        height: 1px;
    }
}

.divisorLine {
    background-color: var(--color-base-black);
    border-radius: 2px;
    width: 100%;
}

.as_agenda {
    display: flex;
    justify-content: center;
    align-items: center;
}

.as_agenda_content {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
.as_agenda_content h1 {
    color: var(--color-base-black);
}

.as_agenda_content_areas {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
}

.as_agenda_content_area1 {
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.as_agenda_content_area2 {
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* *$ub* Calendário */
/* Mobile */
@media screen and (max-width: 900px) {
    :root {
        --dayBox_size: calc(40px + 5%);
        --spaceBeetwenDays: calc(0.5em + 2%);
    }
}
/* Desktop */
@media screen and (min-width: 900px) {
    :root {
        --dayBox_size: calc(56px + 5%);
        --spaceBeetwenDays: calc(1em + 5%);
    }
}

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

/* Head */
.cs_cal_head {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: auto;
}

.cs_cal_btnArrow {
    aspect-ratio: 1 / 1;
    background-color: transparent;

    border: none;
    border-radius: 0.4em;
    transition: background-color 0.3s ease-in-out;
    cursor: pointer;
}
.cs_cal_btnArrow:hover {
    background-color: var(--color-bg-light-hover);
}
.cs_cal_btnArrow i {
    color: var(--color-base-black);
    text-align: center;
}

.cs_cal_head_center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.cs_cal_head_center h2 {
    color: var(--color-base-black);
    text-align: center;
}

/* Main */
.cs_cal_main {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Dias da semana */
.cs_cal_weekDays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    justify-content: center;
    width: 100%;
    align-items: center;
}

.cs_cal_weekDays li {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-base-black);
}

/* Dias do mês */
.cs_cal_blockOfDays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: auto;
    width: 100%;
    justify-items: center;
    align-items: center;
}

.cs_cal_blockOfDays li {
    aspect-ratio: 1 / 1;
    width: var(--dayBox_size);
    display: flex;
    justify-content: center;
    align-items: center;
}

.cs_cal_blockOfDays li button {
    width: 100%;
    height: 100%;
    text-align: center;
    border: none;
    background-color: transparent;
    cursor: pointer;
    border: 2px solid var(--color-base-black);
    border-radius: 0.2em;
    color: var(--color-base-black);
    font-weight: 600;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.cs_cal_blockOfDays li button.selected {
    background-color: transparent;
    box-shadow: 0 2px 0px 0px #000000 !important;
}
.cs_cal_blockOfDays li button:hover {
    background-color: var(--color-bg-light-hover);
    box-shadow: 0 0 12px 2px #000000b6;
}

.ev_today {
    background-color: var(--cl-today) !important;
    border: 2px solid var(--cl-today) !important;
    color: var(--color-base-white) !important;
}
.ev_willGo {
    background-color: var(--cl-willGo) !important;
    border: 2px solid var(--cl-willGo) !important;
    color: var(--color-base-white) !important;
}
.ev_alreadyHappen {
    background-color: var(--cl-alreadyHappen) !important;
    border: 2px solid var(--cl-alreadyHappen) !important;
    color: var(--color-base-white) !important;
}
.ev_todayWithEvent {
    background-color: var(--cl-todayWithEvent) !important;
    border: 2px solid var(--cl-todayWithEvent) !important;
    color: var(--color-base-white) !important;
}

.cs_cal_blockOfDays li.noDay {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    cursor: auto !important;
}

/* Sumario */
.cs_cal_summary {
    width: 100%;
}
.cs_cal_summary_i {
    display: flex;
}
.cs_cal_summary_i div.blockColor {
    aspect-ratio: 1/1;
    border-radius: 0.2em;
    background-color: transparent;
}
.cs_cal_summary_i p {
    text-align: left;
    color: var(--color-base-black);
}

.cs_cal_summary_i.normalText {
    width: 100%;
}
.cs_cal_summary_i.normalText i {
    text-align: center;
    color: var(--color-base-black);
}
.cs_cal_summary_i.normalText p {
    text-align: left;
    font-weight: 500;
    color: var(--color-base-black);
}

/* *$ub* Descrição Eventos */

/* Caixa de Aviso para Selecionar um */
#agenda-eventos-main-area[aria-eventSelect="selected"] .box_noEventSelect {
    display: none;
    z-index: -100;
    opacity: 0;
}
#agenda-eventos-main-area[aria-eventSelect="none"] .box_noEventSelect {
    position: absolute;
    top: 0em !important;
    left: 50%;
    translate: -50% 0;
    z-index: 100;
    opacity: 1;
}
.box_noEventSelect {
    background-color: var(--tema-page_fundoPri);
    box-shadow: 0 4px 2px 0px var(--color-base-black);
    transition: opacity 0.3s ease-in-out;
}
.box_noEventSelect p {
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-base-black);
}

/* Eventos */

.highlight {
    font-weight: 700;
}

.cs_event {
    display: flex;
    flex-direction: column;
    justify-content: space-between !important;
    align-items: center;
    width: 100%;
}

.cs_event_head {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cs_event_head_top {
    display: flex;
}
.cs_event_head_top h2 {
    text-align: center;
    color: var(--color-base-black);
}
.cs_event_head_bottom {
    display: flex;
}
.cs_event_head_bottom section {
    display: flex;
    justify-content: center;
    align-items: center;
}
.cs_event_head_bottom section p {
    color: var(--color-base-black);
    font-size: calc(0.9rem + 5%);
}

.cs_event_main {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cs_event_main_title {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cs_event_main_title h3 {
    text-align: center;
    color: var(--color-base-black);
}
.cs_event_main_time {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
.cs_event_main_time i {
    text-align: center;
    color: var(--color-base-black);
}
.cs_event_main_time section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
}
.cs_event_main_time section::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    translate: -50% 0;
    width: 100%;
    height: 0px;
    background-color: var(--color-base-black);
    border-radius: 50%;
}
.cs_event_main_time section h4 {
    text-align: left;
    color: var(--color-base-black);
}
.cs_event_main_time section div {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.cs_event_main_title h3 {
    color: var(--color-base-black);
}

.cs_event_main_local {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
.cs_event_main_local i {
    color: var(--color-base-black);
}
.cs_event_main_local p {
    color: var(--color-base-black);
}

.cs_event_main_desc {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.cs_event_main_desc p {
    color: var(--color-base-black);
    text-align: left;
    font-weight: 500;
}

.cs_event_main_link {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: auto;
}
.cs_event_main_link section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cs_event_main_link section p {
    text-align: center;
    color: var(--color-base-black);
}
.cs_event_main_link section p:first-child {
    margin-right: 0.4em;
}

.cs_event_main_link a {
    color: var(--color-verde-arcca);
    font-weight: 500;
}

/* Mobile */
@media screen and (max-width: 900px) {

    .as_agenda_content {
        margin-bottom: 2em;
        gap: 0.5em;
    }

    .as_agenda_content_areas {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 1em;
    }

    .as_agenda_content_area1 {
        width: 100%;
        height: 50%;
    }
    .as_agenda_content_area2 {
        width: 100%;
        height: auto;
    }
    
    /* *$ub* Calendário */
    .cs_cal {
        display: flex;
        gap: 0.5em;
    }

    .cs_cal_head {
        padding: 0em 0.4em;
        margin: 0.7em 0 0 0;
    }

    .cs_cal_btnArrow {
        padding: 0.2em;
    }
    .cs_cal_btnArrow i {
        font-size: calc(1.1rem + 1vw);
    }

    .cs_cal_head_center {
        padding-top: 0.2em;
        gap: 0.8em;
    }
    .cs_cal_head_center h2 {
        font-size: calc(1rem + 25%);
    }

    /* Main */
    .cs_cal_main {
        gap: 0.5em;
    }

    /* Dias da semana */
    .cs_cal_weekDays {
        gap: 0.1em;
    }

    .cs_cal_weekDays li {
        font-size: calc(1rem + 5%);
    }

    /* Dias do mês */
    .cs_cal_blockOfDays {
        gap: 0.2em;
    }
    
    .cs_cal_blockOfDays li button {
        margin: calc(0.2em + 5%) 0em;
        font-size: calc(0.9rem + 5%);
    }
    .cs_cal_blockOfDays li button:hover {
        background-color: transparent;
        box-shadow: 0 0 8px 2px #000000b6;
    }

    /* Sumario */
    .cs_cal_summary {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .cs_cal_summary_i:first-child {
        grid-column: span 2;
    }

    .cs_cal_summary_i {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 0.5em;
        margin: 0.5em 0.5em;
    }
    .cs_cal_summary_i div.blockColor {
        width: calc(1.2em + 2%);
        height: auto;
    }
    .cs_cal_summary_i p {
        font-size: calc(0.7rem + 20%);
    }

    .cs_cal_summary_i.normalText {
        width: 95%;
    }
    .cs_cal_summary_i.normalText i {
        font-size: calc(1rem + 10%);
    }
    .cs_cal_summary_i.normalText p {
        font-size: calc(0.8rem + 10%);
    }

    /* *$ub* Descrição Eventos */

    /* Caixa de Aviso para Selecionar um */
    #agenda-eventos-main-area[aria-eventSelect="none"] .box_noEventSelect {
        position: absolute;
        top: 0em;
    }
    .box_noEventSelect {
        min-width: 90%;
        max-width: 90%;
        height: auto;
        padding: 1em;
    }
    .box_noEventSelect p {
        font-size: calc(1rem + 10%);
    }

    /* Eventos */

    .highlight {
        font-size: calc(1rem + 5%);
    }   

   .cs_event {
        gap: 1em;
    }

    .cs_event_head {
        gap: 0.5em;
    }

    .cs_event_head_bottom section {
        gap: 0.4em;
    }
    .cs_event_head_bottom section p {
        font-size: calc(1rem + 5%);
    } 

    .cs_event_main {
        gap: 1em;
        padding: 0 0em;
    }

    .cs_event_main_title {
        justify-content: flex-start;
    }
    .cs_event_main_title h3 {
        font-size: calc(1rem + 5%);
    }

    .cs_event_main_time {
        gap: 0.6em;
    }
    .cs_event_main_time i {
        font-size: calc(1.2rem + 5%);
    }
    .cs_event_main_time section {
        gap: 0.6em;
    }
    .cs_event_main_time section div {
        gap: 0.1em;
    }
    .cs_event_main_title h3 {
        font-size: calc(1rem + 5%);
    }

    .cs_event_main_local {
        gap: 0.6em;
    }
    .cs_event_main_local p {
        text-align: left;
        font-size: calc(1rem + 5%);
    }
    .cs_event_main_local i {
        font-size: calc(1.2rem + 5%);
    }

    .cs_event_main_desc {
        gap: 1em;
    }
    .cs_event_main_desc p {
        font-size: calc(1rem + 5%);
    }

    .cs_event_main_link {
        gap: 0.2em;
    }
    .cs_event_main_link section p {
        font-size: calc(1rem + 5%);
    }

    .cs_event_main_link a {
        font-size: calc(1rem + 5%);
    }

}

/* Desktop */
@media screen and (min-width: 900px) {

    .as_agenda_content {
        gap: 1em;
        margin-bottom: 2em;
    }

    .as_agenda_content_areas {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        padding: 0em 1em;
        gap: 2em;
    }
    

    .as_agenda_content_area1 {
        width: 40%;
        height: 100%;
        position: relative;
    }
    .as_agenda_content_area1::before {
        content: "";
        position: absolute;
        top: 0%;
        left: calc(100% + 1em);
        translate: 0% 0%;
        width: calc(2px + 0.1%);
        height: 100%;
        background-color: var(--color-base-black);
    }
    .as_agenda_content_area2 {
        width: 60%;
        height: 100%;
    }

    /* *$ub* Calendário */
    .cs_cal {
        display: flex;
        gap: 1em;
    }

    .cs_cal_head {
        padding: 0em 1em;
        margin: 0 0;
    }

    .cs_cal_btnArrow {
        padding: 0.4em;
    }
    .cs_cal_btnArrow i {
        font-size: calc(1.2rem + 1vw);
    }

    .cs_cal_head_center {
        padding-top: 0.3em;
        gap: 1em;
    }
    .cs_cal_head_center h2 {
        font-size: calc(1.6rem + 5%);
    }
    
    /* Main */
    .cs_cal_main {
        gap: 0.5em;
    }

    /* Dias da semana */
    .cs_cal_weekDays {
        gap: 0.2em;
    }
    
    .cs_cal_weekDays li {
        font-size: calc(1.2rem + 5%);
    }
    
    /* Dias do mês */
    .cs_cal_blockOfDays {
        gap: 0.2em;
    }
    
    .cs_cal_blockOfDays li button {
        margin: calc(0.2em + 10%) 0em;
        font-size: calc(1.2rem + 5%);
    }

    /* Sumario */
    .cs_cal_summary {
        display: flex;
        justify-items: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 1em;
    }
    .cs_cal_summary_i {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 1em;
    }
    .cs_cal_summary_i div.blockColor {
        width: calc(2em);
        height: auto;
    }
    .cs_cal_summary_i p {
        font-size: calc(0.8rem + 20%);
        text-wrap: nowrap;
    }

    .cs_cal_summary_i.normalText {
        width: 100%;
    }
    .cs_cal_summary_i.normalText i {
        font-size: calc(1.2rem + 10%);
    }
    .cs_cal_summary_i.normalText p {
        font-size: calc(1rem + 10%);
    }

    /* *$ub* Descrição Eventos */

    /* Caixa de Aviso para Selecionar um */
    #agenda-eventos-main-area[aria-eventSelect="none"] .box_noEventSelect {
        position: absolute;
        top: 0%;
    }
    .box_noEventSelect {
        min-width: 90%;
        max-width: 90%;
        height: auto;
        padding: 1em;
    }
    .box_noEventSelect p {
        font-size: calc(1.1rem + 10%);
    }

    /* Eventos */

    .highlight {
        font-size: calc(1rem + 5%);
    }   

   .cs_event {
        gap: 1em;
    }

    .cs_event_head {
        gap: 0.5em;
    }

    .cs_event_head_bottom section {
        gap: 0.4em;
    }
    .cs_event_head_bottom section p {
        font-size: calc(1rem + 5%);
    } 

    .cs_event_main {
        gap: 1em;
        padding: 0 1em;
    }
    
    .cs_event_main_title {
        justify-content: flex-start;
    }
    .cs_event_main_title h3 {
        text-align: left;
        font-size: calc(1rem + 5%);
    }
    
    .cs_event_main_time {
        gap: 1em;
        position: relative;
    }
    .cs_event_main_time i {
        font-size: calc(1.2rem + 10%);
    }
    .cs_event_main_time section {
        gap: 0.6em;
    }
    .cs_event_main_time section div {
        gap: 0.1em;
    }
    .cs_event_main_title h3 {
        font-size: calc(1rem + 5%);
    }

    .cs_event_main_local {
        gap: 1em;
    }
    .cs_event_main_local p {
        text-align: left;
        font-size: calc(1rem + 10%);
    }
    .cs_event_main_local i {
        font-size: calc(1.2rem + 10%);
    }

    .cs_event_main_desc {
        gap: 1em;
    }
    .cs_event_main_desc p {
        font-size: calc(1rem + 5%);
    }

    .cs_event_main_link {
        gap: 0.2em;
    }
    .cs_event_main_link section p {
        font-size: calc(1rem + 5%);
    }

    .cs_event_main_link a {
        font-size: calc(1rem + 5%);
    }

}