/**
 * Aimeos release roadmap and support periods
 * @license MIT, https://opensource.org/license/MIT
 */

.aimeos-periods {
    background-color: #FFFFFF !important;
}

.aimeos-periods > .container {
    width: min(100%, 71.25rem);
    max-width: 71.25rem !important;
    margin-inline: auto;
    padding-top: 6rem;
    padding-bottom: 0;
}

.periods-head {
    text-align: center;
}

.periods-head h2 {
    margin: 2rem 0 0;
    color: #103050;
    font-size: calc(var(--pico-font-size) * 1.1);
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.periods-icon {
    display: block;
    width: 2rem;
    height: 2rem;
    margin-inline: auto;
    color: #B09050;
    filter: drop-shadow(-4px 3px #C2E0FF);
}

.periods-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.periods-lines {
    position: relative;
    display: block;
    width: 7rem;
    height: 0.75rem;
    margin: 0.75rem auto 0;
}

.periods-lines::before,
.periods-lines::after {
    position: absolute;
    height: 1px;
    background: #B09050;
    content: "";
}

.periods-lines::before {
    top: 0;
    left: 15%;
    width: 65%;
}

.periods-lines::after {
    right: 15%;
    bottom: 0;
    width: 45%;
    box-shadow: -2.5rem -0.35rem 0 #D2C5AB;
}

.periods-table {
    margin-top: 3rem;
    overflow-x: auto;
}

.periods .periods-roadmap,
.periods .periods-legend {
    border: 0;
    border-collapse: separate;
    border-spacing: 0 1rem;
    background: transparent;
    color: #103050;
    font-size: calc(var(--pico-font-size) * 0.72);
    line-height: 1;
    text-align: start;
}

.periods .periods-roadmap {
    min-width: 55rem;
    margin: 0;
}

.periods .periods-roadmap th,
.periods .periods-roadmap td,
.periods .periods-legend th,
.periods .periods-legend td {
    padding: 0;
    border: 0;
    background-color: transparent;
    color: inherit;
    text-align: center;
}

.periods .periods-roadmap .year th:not(:first-child),
.periods .periods-roadmap .month th {
    border-inline-start: 1px solid #808080;
}

.periods .periods-roadmap .year th:nth-child(2),
.periods .periods-roadmap .month th:first-child {
    border-inline-start: 0;
}

.cms-content .aimeos-periods .periods .periods-roadmap .month th:nth-child(n + 2) {
    border-inline-start: 1px solid #808080;
}

.periods .periods-roadmap .month th {
    width: 4.5%;
}

.periods .periods-roadmap .version {
    width: 10%;
    text-align: start;
}

.periods .periods-roadmap tbody td {
    height: 1rem;
}

.periods .periods-roadmap td.development,
.periods .periods-legend td.development {
    background-color: #FF753C;
}

.periods .periods-roadmap td.stable,
.periods .periods-legend td.stable {
    background-color: #62B1FF;
}

.periods .periods-roadmap td.lts,
.periods .periods-legend td.lts {
    background-color: #4090E0;
}

.periods .periods-roadmap td.elts,
.periods .periods-legend td.elts {
    background-color: #3C75AD;
}

.periods .periods-legend {
    width: auto;
    margin: 0;
}

.periods .periods-legend td:first-child {
    width: 2rem;
    min-width: 2rem;
}

.periods .periods-legend .type {
    padding-inline-start: 1rem;
    font-weight: 400;
    text-align: start;
}

.periods-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

@media screen and (max-width: 767px) {
    .aimeos-periods > .container {
        padding-top: 4rem;
    }
}
