.article-details:has(#boxCalendario) {
    margin-bottom: 24px;
}

/* p:has(#dtHoje),
#dtHoje {
    color: #6D4E37 !important;
} */
#dtHoje {
    font-weight: 700;
    text-decoration: underline;
}

#dtCalendarioPeriodo {
    padding: 5px;
    font-weight: 300;
    padding-left: 10px;
    letter-spacing: 0.03em;
    margin-top: 5px;
    width: 98%;
    color: #6D4E37;
    text-align: center;
    border-radius: 16px;
    visibility: visible;
    cursor: pointer;
}

.ui-datepicker {
    width: 22em !important;
}

.ui-widget.ui-widget-content {
    border: 0px !important;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
}

.ui-widget-header {
    border: 0px !important;
}

.ui-widget-header {
    background: rgba(0, 0, 0, 0.2) !important;
}

.ui-datepicker .ui-datepicker-title {
    font-family: "Lato", sans-serif;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
}

.ui-datepicker th,
.ui-datepicker td {
    font-family: "Lato", sans-serif;
}

.ui-state-default,
.ui-widget-content .ui-state-default {
    border: 0px !important;
    background: transparent !important;
    text-align: center !important;
    font-family: "Lato", sans-serif;
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
    color: #fff !important;
}

.ui-state-default {
    text-align: center;
}

#gmTbPeriodos {
    width: 100%;
}

.lnctHeader th {
    padding: 10px;
}

.lncatlpe,
.lncatlpert {
    background: #fff;
}

.lncatlpe td,
.lncatlpert td {
    color: #777;
    padding: 10px;
}

.lncatlpert td {
    padding: 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.texto-calendario {
    padding: 4px;
    width: 100%;
    margin-top: 2%;
    background: rgba(255, 255, 255, 0.4);
}

.texto-calendario p {
    margin: 0px;
    text-align: center;
}

.tblGmClnd {
    width: 100%;
    background: #ffffff;
}

.tblGmClnd td {
    text-align: left;
    padding: 10px 0 10px 19px;
    color: #6D4E37;
    font-size: 1em;
    letter-spacing: 0.03em;
}

.tblGmClnd tr {
    border: 1px solid #6D4E37;
}

.tblGmClnd td:last-child {
    text-align: right;
    padding-right: 19px;
    padding-left: 0;
    font-size: 1.14em;
}

.detalhes__calendar {
    padding: 19px 24px;
    position: relative;
}

#boxCalendario {
    text-align: center;
    margin-bottom: 15px;
}

#boxCalendario p {
    margin-bottom: 10px;
}

#boxCalendario p:first-child {
    position: relative;
    font-size: 1.1em;
    font-weight: bold;
    letter-spacing: 0.03em;
    color: #6D4E37;
    /* visibility: hidden; */
}

.ui-datepicker-trigger {
    position: absolute;
    width: 20px;
    height: 20px;
    left: 50%;
    transform: translate(300%, 70%);
    display: none;
}

#calendario-section .ui-widget-header,
body .ui-widget-header {
    background: #6D4E37 !important;
    color: #fff !important;
}

.ui-state-highlight,
body .ui-widget-content .ui-state-highlight,
body .ui-widget-header .ui-state-highlight {
    background-color: #6D4E37 !important;
    color: #fff !important;
    border: 1px solid #6D4E37 !important;
}

.body .ui-state-active,
body .ui-widget-content .ui-state-active {
    background-color: #6D4E37 !important;
    color: #fff !important;
    border: 1px solid #6D4E37 !important;
}

.lblcalendariogm {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 5px;
    background-color: #6D4E37;
    color: #ffffff;
}

#calendario-section h3 {
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    margin-top: 0;
    margin-bottom: -15px;
}

@media screen and (max-width: 600px) {
    .detalhes__calendar {
        margin-top: 23px;
    }

    #dtCalendarioPeriodo {
        padding-right: 20px;
    }

    .texto-calendario {
        margin-top: 20px;
    }

    .ui-datepicker {
        width: 100% !important;
        left: 0px !important;
    }

    .ui-datepicker-trigger {
        left: 26%;
    }
}