#container_wr, #container,#hd, #hd_wrapper,#wrapper{
	min-width:360px !important;
	width:100%
}


.timeline {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;

    &::after {
        content: '';
        position: absolute;
        width: 2px;
        background: #f78b0b;
        top: 57px;
        bottom: 166px;
        left: 50%;
        margin-left: -1.5px;
    }
}

.timeline-item {
    padding: 50px 60px;
    position: relative;
    background: inherit;
    width: 50%;

    .icon {
        position: absolute;
        display: inline-flex;
        width: 60px;
        height: 60px;
        align-items: center;
        justify-content: center;
        font-size: 25px;
        top: 30px;
        right: -30px;
        padding: 9px 0;
        background: #f78b0b;
        border: #e9ebec;
        border-radius: 50px;
        color: #6ada7d;
        z-index: 1;
    }

    .date {
        position: absolute;
        display: inline-block;
        width: calc(100% - 48px);
        top: 50px;
        font-size: 16px;
        font-weight: 500;
        font-style: italic;
    }

    .content {
        padding: 20px;
        background: #fff;
        position: relative;
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,.08);
    }

    &.left {
        left: 0;

        .date {
            left: calc(100% + 48px);
            text-align: start;
        }
    }

    &.right {
        left: 50%;

        .icon {
            left: -30px;
        }

        .date {
            right: calc(100% + 48px);
            text-align: end;
        }

        &::before {
            left: 28px;
            border-color: transparent transparent transparent #fff;
        }
    }
}

@media (max-width: 991.98px) {
    .timeline {
        &::after {
            left: 24px;
            bottom: 180px;
        }
    }

    .timeline-item {
        width: 100%;
        padding-left: 48px;
        padding-right: 0px;

        &.right,  &.left {
            left: 0%;

            .icon {
                width: 45px;
                height: 45px;
                top: 0;
                font-size: 18px;
                left: 0;
            }

            &::before {
                left: 110px;
                border-color: transparent transparent transparent #ddd;
            }

            .date {
                right: auto;
                left: 48px;
                width: 79px;
                top: 8px;
                text-align: left;
            }
        }
    }
}

.timeline-2 {
    position: relative;

    &::after {
        position: absolute;
        content: "";
        width: 2px;
        height: 83%;
        top: 50px;
        left: 40px;
        margin-left: -1px;
        background: #ddd;
    }

    .timeline-year {
        position: relative;
        width: 100%;
        text-align: left;
        z-index: 1;

        p {
            display: inline-flex;
            width: 80px;
            height: 80px;
            margin: 0;
            padding: 23px 10px;
            background: #ddd;
            border-radius: 50px;
            text-transform: uppercase;
            align-items: center;
            justify-content: center;
            text-align: center;
            span {
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
            }
        }
    }

    .timeline-date {
        font-size: 14px;
        font-weight: 500;
        margin: 24px 0 0 0;
        margin-left: 55px;

        &::after {
            content: '';
            display: block;
            position: absolute;
            width: 14px;
            height: 14px;
            top: 26px;
            left: 45px;
            align-items: left;
            background: #28a745;
            border: 3px solid #ddd;
            border-radius: 50px;
            z-index: 1;
        }
    }

    .timeline-box {
        position: relative;
        display: inline-block;
        margin: 23px 62px;
        padding: 20px;
        border: 1px solid #ddd;
        border-radius: 6px;
        background: #fff;
        max-width: 695px;

        &::after {
            content: '';
            display: block;
            position: absolute;
            width: 0;
            height: 0;
            border-style: solid;
            top: 26px;
            right: 100%;
            border-color: transparent #fff transparent transparent;
            border-width: 10px;
        }

        &::before {
            content: '';
            display: block;
            position: absolute;
            width: 0;
            height: 0;
            border-style: solid;
            right: 100%;
            top: 24px;
            border-color: transparent #ddd transparent transparent;
            border-width: 12px;
        }

        .timeline-text {
            position: relative;
            float: left;
        }
    }

    .timeline-launch {
        position: relative;
        display: inline-block;
        width: 100%;
        margin-top: 15px;
        padding: 0;
        border: none;
        text-align: left;
        background: transparent;

        .timeline-box {
            margin-left: 0;

            &::after {
                left: 30px;
                margin-left: 0;
                top: -20px;

                border-color:
                    transparent
                    transparent
                    #ddd
                    transparent;
            }

            &::before {
                left: 30px;
                margin-left: 0;
                top: -19px;

                border-color:
                    transparent
                    transparent
                    #fff
                    transparent;

                border-width: 10px;
                z-index: 1;
            }
        }
    }
}

.horizontal-timeline {
    position: relative;
    width: 100%;
    margin: 0 auto;

    &::before {
        content: "";
        position: absolute;
        width: 100%;
        top: 174px;
        left: 0;
        height: 2px;
        background-color: #ddd;
    }

        .timeline-content {
            min-height: 110px;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            background-color: #ddd;

            &::before {
                content: '';
                display: block;
                position: absolute;
                width: 0;
                height: 0;
                border-style: solid;
                left: 0px;
                top: -23px;
                border-color: transparent #fff transparent transparent;
                border-width: 12px;
                right: 0;
                margin: 0 auto;
            }
        }

        .time {
            position: absolute;
            top: -86px;
            right: 0px;
            left: 0px;
            margin: 0px auto;
        }

        &:nth-child(even) {
            margin-top: 5px;
            transform: rotate(-180deg);

            .timeline-content {
                transform: rotate(180deg);

                &::before {
                    bottom: -23px;
                    top: auto;
                    border-color: transparent #ddd transparent transparent;
                }
            }

            .time {
                transform: rotate(180deg);
            }
        }
    }



.acitivity-timeline {
    position: relative;
    overflow: hidden;

    .acitivity-item {
        position: relative;

        .flex-shrink-0 {
            z-index: 2;
        }

        .acitivity-avatar {
            background-color: #fff;
            border: 3px solid #fff;
            height: 32px;
            width: 32px;
        }

        &:before {
            content: "";
            position: absolute;
            border-left: 1px dashed #ddd;
            left: 16px;
            height: 100%;
            top: 5px;
            z-index: 0;
        }
        &:last-child {
           &::before {
               border-color: transparent;
           }
        }
    }
}

.btn-light {
    --vz-btn-bg: #f3f6f9;
    --vz-btn-border-color: #f3f6f9;
    --vz-btn-hover-bg: #ced4da;
    --vz-btn-hover-border-color: #ced4da;
    --vz-btn-focus-shadow-rgb: 243,246,249;
    --vz-btn-active-bg: #ced4da;
    --vz-btn-active-border-color: #ced4da;
}

.btn-sm {
    --vz-btn-padding-y: 0.25rem;
    --vz-btn-padding-x: 0.5rem;
    --vz-btn-font-size: 0.765625rem;
    --vz-btn-border-radius: 0.2rem;
}