.timeline__wrapper_maxvalue {
    text-align: right;
    font-size: 12px;
    font-weight: 400;
    color: var(--main-color);
}

.incidents__period_timeline .timeline {
    justify-content: space-between;
    height: 100px;
    width: 100%;
    margin: 0;
}

.timeline .timeline__item {
    width: calc(100% / 30);
    height: 100%;
    margin-left: 0;
    /* border: 1px solid var(--text-color-light); */
}

.timeline__item a {
    flex-direction: column;
    align-items: center;
    justify-content: end;
    height: 80%;
    font-weight: 700;
}

.timeline__item .label {
    width: 100%;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 6px;
}

.timeline__item .count {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 1px solid var(--body-color);
    border-top: 2px solid var(--is-not-active);
    border-radius: 3px;
    transition: background-color .5s ease;
}

.timeline__item_link:hover .count div{
    background-color: #007fff;
}

.timeline__item_link:hover .count {
    background-color: rgba(0, 127, 255, 0.17);
}


.timeline__item:first-child .count {
    border-left: 2px solid var(--is-not-active);
}

.timeline__item:last-child .count div {
    background-color: #007fff;
}

.timeline__item .count div {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: var(--main-color);
    transition: background-color .5s ease;
}

.timeline__item .month {
    width: max-content;
    margin-bottom: 6px;
    align-self: start;
    opacity: 0;
    font-size: 14px;
    font-weight: 400;
}

.timeline__item:first-child .month {
    opacity: 1;
}


.incidents__day_title {
    margin: 0;
    font-weight: 400;
    font-size: 1.3em;
}

.incidents__day_title_wrapper {
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}


.incidents__day_list {
    margin-bottom: 40px;
    flex-direction: column;
    gap: 12px;
}

.incidents__day_item {
    border: 0.5px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.incidents-day__header_wrapper {
    justify-content: space-between;
}

.incidents-day__header_title {
    text-align: right;
    flex-direction: column;
}

.incidents-day__header_title span {
    font-size: 1.2em;
}

.incidents-day__header_title p {
    font-size: 0.9em;
}


.incidents-day__body_wrapper hr {
    border: none;
    border-top: 1px solid var(--main-color);
}

.incidents-day__body_text {
    font-size: 0.9em;
    color: var(--border-color);
}

.link-incidents__day_details {
    margin-top: 12px;
}

.link-incidents__day_details span {
    color: var(--main-color);
}

.link-incidents__day_details span:hover {
    cursor: pointer;
    text-decoration: underline;
}

.incidents-day-details__header {
    flex-direction: column;
    gap: 10px;
}

.incidents-day-details__header hr {
    margin: 8px 0;
    width: 100%;
}

.incidents-day-details__text {
    width: 85%;
    color: var(--border-color);
    margin-left: 15px;
}

.incidents-day-detail_title {
    width: 115px;
    text-align: right;
}


.incidents-day-details__category {
    text-transform: uppercase;
    white-space: nowrap;
}

.incidents__period_list {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.incidents-day-details__body {
    flex-direction: column;
    gap: 8px
}

.incidents__period_title {
    font-weight: 400;
    font-size: 1.3em;
}