
.trials-wrap .calendar-section {
    min-height: 200px;
}

.trials-wrap .trials-more {
    margin: -1rem 0 2rem;
    float: right;
}

.trial-group {
    max-height: 78vh;
    overflow: auto;
    position: relative;
}

.trial-group .hour-data, .trial-group .trial {
    transition: 0.3s;
}

.trial-group .day {
    padding: 0 !important;
    display: grid;
    grid-template-columns: 50px 130px auto;
}

.trial-group .hours {
    display: grid;
}

.trial-group .hour {
    display: grid;
    grid-template-columns: 90px auto;
    border-bottom: 1px solid hsla(0, 0%, 0%, 0.11);
}

.trial-group .hour:last-child {
    border: 0;
}

.trial-group .add-data,
.trial-group .day-data,
.trial-group .hour-data {
    padding: 14px 16px;
    background: hsl(210, 10%, 97%);
}

.trial-group .add-data {
    padding-top:30px;
}

.trial-group .hour-data {
    text-align: right;
    font-size: 16px;
    font-weight: 400;
    padding-right: 18px;
}

.trial-group .day-num {
    font-size: 35px;
    font-weight: 300;
    line-height: 1;
}

.trial-group .spy {
    position: sticky;
    top: 14px;
}

.trial-group .trial {
    font-size: 14px;
    padding: 14px 16px;
    padding-left: 18px;
    display: grid;
    align-items: center;
    grid-template-columns: 460px 3fr 100px 160px;
    position: relative;
}

.trial-group .trial:after {
    content: " ";
    position: absolute;
    background: hsl(0, 0%, 78%);
    width: 9px;
    height: 9px;
    border-radius: 10px;
    left: -5px;
    top: 19px;
}

.trial-group .trial.trial-highlight:after {
    background: #9dd685;
}

.trial-group .trial.trial-highlight .sign * {
    color: hsl(110, 60%, 38%) !important;
}

.trial-group .trial.trial-highlight .room {
    border-color: hsla(102, 63%, 44%, 0.3);
    background: rgba(94, 194, 50, 0.07);
    color: hsl(102, 60%, 35%);
}

.trial-group .trial.trial-highlight .room .room-val {
    text-align: center;
    line-height: 1.2;
}

.trial-group .trial + .trial {
    border-top: 1px dashed #ddd;
}

.trial-group .trial .sign {
    font-size: 16px;
    align-self: flex-start;
    color: hsl(230, 30%, 56%);
}

.trial-group .trial .court .city {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.trial-group .trial .court .department {
    color: hsla(0, 0%, 0%, 0.5);
}

.trial-group .trial .room {
    width: 42px;
    height: 42px;
    border-radius: 54%;
    margin-left: 1rem;
    color: hsl(230, 30%, 56%);
    border: 2px solid rgba(109, 120, 176, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    letter-spacing: -0.5px;
}

.trial-group .trial .case {
    display: grid;
    grid-template-columns: 150px 1fr;
}

.trial-group .trial .case .val {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.trial-group .trial .data {
    display: grid;
    grid-auto-flow: row;
}

.trial-group .trial .data label {
    color: hsla(0, 0%, 0%, 0.4);
    font-weight: 500;
}

.trial-group .trial .statuses {
    display: flex;
    grid-column-gap: 8px;
    grid-row-gap: 6px;
    flex-wrap: wrap;
}

.trial-group .trial .status {
    border-radius: 16px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.trial-group .actions {
    display: flex;
    column-gap: 10px;
    align-items: center;
    justify-content: end;
}

.area-trial {
    position: relative;
}

.area-trial .show-oldies-label {
    display: none;
    position: absolute;
    top: 4px;
    left: 256px;
    width: auto;
}

.area-trial.this-month-True:first-child .hour.old-hour-True:not(:hover) .hour-data {
    color: #bbb;
}

.area-trial.this-month-True:first-child .hour.old-hour-True:not(:hover) .old-trial-True {
    opacity: 0.5;
}

.area-trial.this-month-True:first-child .show-oldies-label {
    display: flex;
}

.area-trial.this-month-True:first-child #show-oldies:checked ~ .trial-group .old-day-True {
    display: none;
}

.empty-month .card-section {
    display: flex;
    align-items: center;
    flex-direction: column;
    column-gap: 2rem;
    row-gap: 1rem;
    font-size: 18px;
}
