﻿
.flex-parent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*width: 100%;
    height: 100%;*/
}

.input-flex-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 80vw;
    height: 10px;
    max-width: 250px;
    position: relative;
    z-index: 0;
}

.input {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    position: relative;
    border-radius: 50%;
}

    .input:hover {
        cursor: pointer;
        background-color: #999 !important;
    }



/*.input::before, .input::after {
        content: "";
        display: block;
        position: absolute;
        z-index: -1;
        top: 50%;
        transform: translateY(-50%);
        background-color: #AEB6BF;
        width: 14vw;
        height: 3px;
        /*max-width: 130px;*/
/*max-width:63px;
    }*/

.base::before, .base::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 50%;
    transform: translateY(-50%);
    background-color: #AEB6BF;
    width: 0vw;
    height: 5px;
    max-width: 130px;
}

.input::before {
    left: calc(-4vw + 12.5px);
}

.input::after {
    right: calc(-4vw + 12.5px);
}

.input.active {
    background-color: rgba(0,60,136,1);
}

    /*.input.active::before {
        background-color: #AEB6BF;
    }

    .input.active::after {
        background-color: #AEB6BF;
    }*/

    .input.active span {
        font-weight: 700;
    }

        .input.active span::before {
            font-size: 13px;
        }

        .input.active span::after {
            font-size: 15px;
        }

    /*.input.active ~ .input {
        background-color: #AEB6BF;
    }*/

.input span {
    width: 1px;
    height: 1px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    visibility: hidden;
}

    .input span::before, .input span::after {
        visibility: visible;
        position: absolute;
        left: 50%;
    }

    .input span::after {
        content: attr(data-year);
        top: 10px;
        transform: translateX(-50%);
        font-size: 14px;
    }

    .input span::before {
        content: attr(data-info);
        top: -65px;
        width: 70px;
        transform: translateX(-5px) rotateZ(-45deg);
        font-size: 12px;
        text-indent: -10px;
    }


@media (min-width: 1250px) {
    .input::before {
        left: -37.5px;
    }

    .input::after {
        right: -37.5px;
    }
}

@media (max-width: 850px) {
    .input {
        width: 10px;
        height: 10px;
    }

        .input::before, .input::after {
            height: 3px;
        }

        .input::before {
            left: calc(-1vw + 2.5px);
        }

        .input::after {
            right: calc(-1vw + 2.5px);
        }
}
