
#sp-section-agenda{
    position: relative;
    z-index: 3;
}

.container-agenda {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 60px;
    flex: 1 1 0%;

    .button {
        border-radius: 15px !important;
    }
}

.section-agenda {
    flex: 1;
    min-width: 300px;
}

.section-agenda-title {
    color: #666;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.border-title::before {
    content: "";
    display: block;
    position: relative;
    bottom: 23px;
    left: 100%;
    width: 70%;
    height: 1px;
    border: 1px solid #9c2c2c;
}

@media screen and (min-width: 1366px) {
    .border-title::before {
        left: 15%;
    }
}
.card {
    /* background-color: #fff; */
    border-radius: 25px;
    overflow: hidden;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    margin-bottom: 20px;
    border: transparent;
}

.card-header {
    background-color: #5c4135;
    background-image: url('../images/pauta-de-julgamento.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 40px;
    position: relative;
    border-radius: 20px!important;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.card-header h3,
.card-header .instruction {
    position: relative;
    z-index: 2;
}

.card .card-body {
    padding: 5px 35px 20px 35px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    margin: 0 15px;
    border-radius: 0 0 25px 25px ;
}

.instruction {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.instruction .circle {
    display: inline-flex;
    width: 20px;
    height: 20px;
    background-color: white;
    color: #5c4135;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 12px;
}

.month-selector {
    font-family: var(--techna);
    background-color: #881518;
    color: white;
    padding: 10px;
    text-align: center;
    margin: 15px 0;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
}

.calendar {
    width: 100%;
    border-collapse: collapse;
    position: relative;
}

.calendar th {
    padding: 0;
    text-align: center;
    font-weight: normal;
}

.calendar th .th-inner {
    font-family: var(--techna);
    font-size: 0.875rem;
    /* display: inline-block; */
    background-color: #f0f0f0;
    /* padding: 8px 16px; */
    border-radius: 10px;
    color: #881518;
    font-weight: bold;
    width: 85%;
    height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card tr.calendar-flex{
    width: 100%;
}
.calendar td {
    padding: 10px;
    text-align: center;
}

.calendar .day {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: var(--c-DimGray);
    width: 85%;
    height: 85%;
    border-radius: 8px;
    background-color: #f0f0f0;
}

.calendar .selected {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.calendar .has-event {
    background-color: white;
    border: 1px solid #9c2c2c;
    color: #9c2c2c;
    border-radius: 8px;
    cursor: pointer;
}

.calendar .today {
    background-color: var(--c-IndianRed);
    ;
    font-weight: bold;
    color: white;
}

.info-text {
    color: #666;
    font-size: 1.188rem;
    line-height: 1.6;
    /* margin-bottom: 20px; */
    background: linear-gradient(to bottom, #f0f0f0 0%, transparent 100%);
    padding: 1.7rem 1rem 1.2rem;
    min-height: 220px;
}

.agenda-image {
    width: 100%;
    height: 356px;
    border-radius: 25px;
}

.button {
    display: block;
    text-align: center;
    background-color: var(--c-FireBrick);
    color: white!important;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

/* .button:hover {
    background-color: var(--c-White);
    color: var(--c-FireBrick);
    border: 1px solid var(--c-FireBrick);
} */
.button-agenda .button,
.button-calendario .button{
    min-width: 255px;
}
.nav-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    font-size: 12px;
    color: #666;
    align-items: center;
}

.nav-buttons a {
    color: var(--c-bordo);
    font-size: 0.75rem;
}
.nav-buttons i{
    color: var(--c-bordo);
}
.ui-datepicker-title span,
.ui-datepicker th {
    color: var( --c-bordo);
}
.ui-state-default, .ui-widget-content .ui-state-default{
   color: var(--c-DimGray)!important;
}
.ui-state-highlight, .ui-widget-content .ui-state-highlight{
    background-color: var(--c-bordo)!important;
     color: var( --c-White)!important;
}
.ui-state-hover, .ui-widget-content .ui-state-hover{
    background-color: rgba(120, 53, 54, 0.2)!important;
    border: 1px solid var(--c-bordo)!important;
}

@media (max-width: 768px) {
    .container-agenda {
        flex-direction: column;
    }

    .section-agenda {
        flex: none;
        width: 100%;
    }
}