.c-widget-lifeline:not(.design-lifeline) {
    margin: 100px 0 93px 0;
}

.c-widget-lifeline .time-header {
    font-weight: bold;
    font-size: 50px;
    line-height: 152%;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #ffffff;
    padding-bottom: 10px;
}

.c-widget-lifeline .time-description {
    font-weight: normal;
    font-size: 16px;
    line-height: 150%;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 30px;
}

.c-widget-lifeline .lifeline-wrap {
    max-width: 1200px;
    padding-bottom: 100px;
    padding-top: 20px;
}

.c-widget-lifeline.design-lifeline .lifeline-wrap {
    padding-top: 80px;
}

.c-widget-lifeline .lifeline {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    padding: 0 0 0 100px;
    border-bottom: 6px solid #424146;
}

.c-widget-lifeline:not(.design-lifeline) .lifeline.mod-cat .t-item:before {
    content: url(/bitrix/templates/rubix/assets/img/cat3.png);
    z-index: 2;
    position: relative;
    margin-bottom: -35px;
    margin-top: 35px;
}

.c-widget-lifeline:not(.design-lifeline) .lifeline.mod-cat .t-item:hover:before {
    -webkit-animation: cat3 2s infinite linear;
    animation: cat3 2s infinite linear;
}

@-webkit-keyframes cat3 {
    0% {
        top: 0px;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    50% {
        top: 10px;
        -webkit-transform: rotate(-5deg);
        transform: rotate(-5deg);
    }
    100% {
        top: 0px;
    }
}

@keyframes cat3 {
    0% {
        top: 0px;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    50% {
        top: 10px;
        -webkit-transform: rotate(-5deg);
        transform: rotate(-5deg);
    }
    100% {
        top: 0px;
    }
}

.c-widget-lifeline .violet-line:after {
    content: "";
    position: absolute;
    background: #915ce5;
    left: 0;
    right: 0;
    height: 6px;
    bottom: -6px;
    border-radius: 10px;
}

.c-widget-lifeline .violet-line {
    bottom: 0;
    position: absolute;
    left: 0;
    right: 0;
}

.c-widget-lifeline .lifeline .t-item {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    text-align: center;
    position: relative;
    overflow: visible;
    padding-bottom: 18px;
}

.c-widget-lifeline.design-lifeline .lifeline .t-item {
    padding: 0;
}

.c-widget-lifeline .lifeline .name {
    font-size: 18px;
    line-height: 20px;
    color: #ffffff;
}

.c-widget-lifeline .lifeline .name .title {
    font-weight: bold;
    margin-bottom: 10px;
}

.c-widget-lifeline .lifeline .t-item .name {
    top: 100px;
    position: absolute;
    left: -30%;
    right: 0;
    max-width: 210px;
}


.c-widget-lifeline .lifeline .t-item .line {
    width: 100%;
}

.c-widget-lifeline .lifeline .t-item:nth-child(odd) .line {
    position: absolute;
    left: 25px;
    right: 0;
    top: 100%;
}

.c-widget-lifeline .lifeline .t-item:nth-child(even) .line {
    position: absolute;
    left: 25px;
    right: 0;
    bottom: -100%;
}

.c-widget-lifeline .t-item .line svg{
    width: 100%;
}

.c-widget-lifeline .line path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

.c-widget-lifeline .animate .line path {
    -webkit-animation: dash 1.5s linear forwards;
    animation: dash 1.5s linear forwards;
}

.c-widget-lifeline .lifeline .t-item:nth-child(2) .line path {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.c-widget-lifeline .lifeline .t-item:nth-child(3) .line path {
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

.c-widget-lifeline .lifeline .t-item:nth-child(4) .line path {
    -webkit-animation-delay: 1.5s;
    animation-delay: 1.5s;
}

.c-widget-lifeline .lifeline .t-item:nth-child(5) .line path {
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
}

.c-widget-lifeline .lifeline .arr:after {
    width: 31px;
    position: absolute;
    content: "";
    bottom: 4px;
    height: 6px;
    border-radius: 3px;
    background: #915ce5;
    right: -4px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.c-widget-lifeline .lifeline .arr:before {
    width: 31px;
    position: absolute;
    content: "";
    bottom: -15px;
    height: 6px;
    border-radius: 3px;
    background: #915ce5;
    right: -5px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.c-widget-lifeline .lifeline .t-item .line.with-arr {
    right: 35px;
}

@-webkit-keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

.c-widget-lifeline .lifeline .t-item .icon {
    position: absolute;
    bottom: -30px;
    z-index: 1;
    border-radius: 50%;
    background-color: #915ce5;
    padding: 13px;
    left: 0;
    right: 0;
}

.c-widget-lifeline .lifeline .t-item .popup {
    position: absolute;
    font-size: 14px;
    line-height: 160%;
    text-align: center;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    min-width: 190px;
    z-index: 20;
    background: #202022;
    border-radius: 17px;
    padding: 24px 10px;
    bottom: 17px;
    left: 50%;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
    opacity: 0;
    pointer-events: none;
}

.c-widget-lifeline .lifeline .t-item {
    pointer-events: all;
}

.c-widget-lifeline .lifeline .t-item:hover .popup {
    opacity: 1;
}

@media all and (max-width: 1240px) {
    .c-widget-lifeline .lifeline {
        width: 100%;
    }

    .c-widget-lifeline .lifeline {
        padding: 0 0 0 60px;
    }

}

@media all and (max-width: 1000px) {
    .c-widget-lifeline .lifeline .t-item:last-child {
        max-width: 100px;
    }

    .c-widget-lifeline .lifeline .t-item .line.with-arr {
        right: 17px;
    }

    .c-widget-lifeline .lifeline-wrap {
        padding-top: 94px;
    }

    .c-widget-lifeline .lifeline .t-item .name{
        font-size: 14px;
        max-width: 100%;
        overflow: visible;
    }

    .c-widget-lifeline .line path {
        stroke-width: 7px;
    }

    .c-widget-lifeline .lifeline .t-item:before {
        display: none;
    }

    .c-widget-lifeline:not(.design-lifeline) {
        margin: 99px 0 90px 0;
    }

    .c-widget-lifeline .time-header {
        font-size: 40px;
    }

    .c-widget-lifeline .time-description {
        font-size: 16px;
    }

    .c-widget-lifeline .lifeline .arr:before {
        width: 15px;
        bottom: -12px;
        height: 3px;
        right: 0px;
    }

    .c-widget-lifeline .lifeline .arr:after {
        width: 15px;
        bottom: 3px;
        height: 3px;
        right: 0px;
    }

    .c-widget-lifeline .violet-line:after {
        height: 6px;
        bottom: -6px;
    }

    .c-widget-lifeline .lifeline {
        border-bottom: 3px solid #424146;
    }

    .c-widget-lifeline .lifeline .t-item:after {
        width: 10px;
        height: 10px;
        bottom: -7px;
    }

    .c-widget-lifeline .lifeline .t-item .popup {
        display: none;
    }
}

@media all and (max-width: 768px) {
    .c-widget-lifeline .time-header {
        font-size: 30px;
    }

    .c-widget-lifeline .lifeline-wrap {
        padding: 60% 0 50%;
    }

    .c-widget-lifeline .lifeline {
        transform: rotate(90deg);
    }

    .c-widget-lifeline .lifeline .t-item:last-child {
        max-width: 100%;
    }

    .c-widget-lifeline .lifeline .t-item .icon {
        transform: rotate(-90deg);
    }

    .c-widget-lifeline .lifeline .t-item .name {
        transform: rotate(-90deg);
    }

    .c-widget-lifeline .lifeline .t-item .name {
        top: 125px;
    }

    .c-widget-lifeline .lifeline .t-item:nth-child(odd) .name {
        top: -125px;
    }
}

@media all and (max-width: 480px) {
    .c-widget-lifeline .lifeline-wrap {
        padding: 60% 0 85%;
    }

    .c-widget-lifeline .lifeline .t-item {
        min-width: 130px;
    }

    .c-widget-lifeline .lifeline .t-item .name {
        left: 0;
        top: 70px;
    }

    .c-widget-lifeline .lifeline .t-item:nth-child(odd) .name {
        top: -110px;
    }
}

@media all and (max-width: 440px) {
    .c-widget-lifeline .lifeline-wrap {
        padding: 60% 0 100%;
    }
}

@media all and (max-width: 380px) {
    .c-widget-lifeline .lifeline-wrap {
        padding: 60% 0 120%;
    }
}

