
/*=== Start .timeline style ===*/
.box-timeline{
    background-color: #fff;
    border-radius: 2px;
    padding: 5px;
}

.timeline {
    list-style-type: none;
    display: flex;
    justify-content: center;
}

.timeline .li {
    transition: all 200ms ease-in;
}

.timeline .actions {
    margin-bottom: 5px;
    padding: 0px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.timeline .actions ul{
    list-style: disc;
}

.timeline .status {
    padding: 10px 40px;
    display: flex;
    justify-content: center;
    border-top: 2px solid #D6DCE0;
    position: relative;
    transition: all 200ms ease-in;
}
.timeline .step{
    margin-bottom: 20px;
    padding: 10px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.timeline .step label {
    font-weight: 600;
    text-transform: capitalize;
    padding: 5px 10px;
    border-width: 2px;
    border-style: solid;
    border-color: #dfe4ea;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    justify-items: center;
}

.timeline .step label:before, .timeline .step label:after{
    content: "";
    width: 0;
    height: 0;
    border: solid transparent;
    position: absolute;
    pointer-events: none;
    top:45px;
}

.timeline .step label:before{
    border-top-color: #dfe4ea;
    border-width: 15px;
}

.timeline .step label:after{
    border-top-color: #fff;
    border-width: 13px;
}

.timeline .step label span{
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
}
.timeline .status:before {
    content: "";
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 100%;
    border: 1px solid #ddd;
    position: absolute;
    top: -15px;
    transition: all 200ms ease-in;
}
.timeline .status:after{
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: #f1f2f6;
    border-radius: 50%;
    top: -8px;
}
.timeline .li.complete .status {
    border-top: 2px solid #7bed9f;
}
.timeline .li.complete .status:before {
    background-color: #7bed9f;
    border: none;
    transition: all 200ms ease-in;
}
.timeline .li.current .status{
    border-top: 2px solid #ff4757;
}
.timeline .li.current .status:before {
    background-color: #ff4757;
    border: none;
    transition: all 200ms ease-in;
}

.timeline .li.regressive .status {
    border-top: 2px solid #fbc531;
}
.timeline .li.regressive .status:before {
    background-color: #fbc531;
    border: none;
    transition: all 200ms ease-in;
}

@media (min-device-width: 320px) and (max-device-width: 700px) {
    .timeline {
        list-style-type: none;
        display: block;
    }

    .timeline .li {
        transition: all 200ms ease-in;
        display: block;
        width: inherit;
    }
    .timeline .status{
        display: none;
        border: none !important;
    }
    .timeline .status:after{
        left: 2px;
        top: 13px;
    }
    .timeline .step label:before, .timeline .step label:after{
        content: none;
    }

    .timeline .actions {
        width: 100%;
        display: block;
    }

    .timeline .actions ul{
        list-style: none;
    }
    .timeline .li.complete .step label{
        background-color: #7bed9f;
        border-color: #7bed9f;
        color: #5a5a5a;
    }

    .timeline .li.current .step label{
        background-color: #ff4757;
        border-color: #ff4757;
        color: #fefefe;
    }

    .timeline .li.regressive .step label{
        background-color: #fbc531;
        border-color: #fbc531;
        color: #fefefe;
    }
}

/*=== End .timeline style ===*/


/*=== Start .timeline-vertical style === */

.timeline-vertical {
    padding-bottom: 1em;
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    list-style: none;
}
.timeline-vertical:before {
    content: "";
    border-left: 5px solid #D6DCE0;
    left: -0.25em;
    top: -3em;
    height: 100%;
    position: absolute;
    bottom: 0;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-animation: scaleVertical 3s 1s ease both 1;
    animation: scaleVertical 3s 1s ease both 1;
}

.timeline-vertical .step{
    font-weight: 600;
    text-transform: capitalize;
    padding: 5px 10px;
    border-width: 2px;
    border-style: solid;
    border-color: #dfe4ea;
    border-radius: 5px;
}

.timeline-vertical .step:before, .timeline-vertical .step:after{
    content: "";
    width: 0;
    height: 0;
    border: solid transparent;
    position: absolute;
    pointer-events: none;
    left: -30px;
    top: 0px;
}

.timeline-vertical .step:before{
    border-right-color: #dfe4ea;
    border-width: 16px;
}

.timeline-vertical .step:after{
    border-right-color: #fff;
    border-width: 13px;
    left: -24px;
    top: 3px;
}

.timeline-vertical .actions{
    margin: 10px auto;
}

.timeline-vertical .actions ul{
    list-style: disc;
    margin-left: 20px;
}


.timeline-vertical .li {
    margin: 0 0 3em 0;
    padding: 0 2em 0em 2em;
    position: relative;
}

.timeline-vertical .li:before {
    content: "";
    position: absolute;
    top: 0px;
    left: -1em;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: none repeat scroll 0% 0% #f1f2f6;
    border: 8px solid #D6DCE0;
    -webkit-animation: revealScaleUp 0.75s 0s ease both 1;
    animation: revealScaleUp 0.75s 0s ease both 1;
}

.timeline-vertical .li.complete:before{
    border: 8px solid #7bed9f;
}

.timeline-vertical .li.current:before{
    border: 8px solid #ff4757;
}

.timeline-vertical .li.regressive:before{
    border: 8px solid #fbc531;
}

.timeline-vertical {
    -webkit-animation: reveal 2s 0 ease both 1;
    animation: reveal 2s 0 ease both 1;
}

.timeline-vertical .li .content {
    -webkit-animation: revealFromLeft 0.5s 0s ease both 1;
    animation: revealFromLeft 0.5s 0s ease both 1;
}

.timeline-vertical .li:nth-child(1):before {
    -webkit-animation-delay: 0.85s;
    animation-delay: 0.85s;
}

.timeline-vertical .li:nth-child(1) .content {
    -webkit-animation-delay: 1.05s;
    animation-delay: 1.05s;
}

.timeline-vertical .li:nth-child(2):before {
    -webkit-animation-delay: 1.2s;
    animation-delay: 1.2s;
}

.timeline-vertical .li:nth-child(2) .content {
    -webkit-animation-delay: 1.5s;
    animation-delay: 1.5s;
}

.timeline-vertical .li:nth-child(3):before {
    -webkit-animation-delay: 1.8s;
    animation-delay: 1.8s;
}

.timeline-vertical .li:nth-child(3) .content {
    -webkit-animation-delay: 2.1s;
    animation-delay: 2.1s;
}

.timeline-vertical .li:nth-child(4):before {
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
}

.timeline-vertical .li:nth-child(4) .content {
    -webkit-animation-delay: 2.3s;
    animation-delay: 2.3s;
}

.timeline-vertical .li:nth-child(5):before {
    -webkit-animation-delay: 2.2s;
    animation-delay: 2.2s;
}

.timeline-vertical .li:nth-child(5) .content {
    -webkit-animation-delay: 2.6s;
    animation-delay: 2.6s;
}

@-webkit-keyframes revealFromLeft {
    0% {
        -webkit-transform: translateX(-1em);
        transform: translateX(-1em);
        opacity: 0;
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes revealFromLeft {
    0% {
        -webkit-transform: translateX(-1em);
        transform: translateX(-1em);
        opacity: 0;
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}
@-webkit-keyframes reveal {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes reveal {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@-webkit-keyframes scaleVertical {
    0% {
        -webkit-transform: scaleY(0);
        transform: scaleY(0);
    }
    100% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }
}
@keyframes scaleVertical {
    0% {
        -webkit-transform: scaleY(0);
        transform: scaleY(0);
    }
    100% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }
}
@-webkit-keyframes revealScaleUp {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        -webkit-transform: scale(1.3);
        transform: scale(1.3);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
@keyframes revealScaleUp {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        -webkit-transform: scale(1.3);
        transform: scale(1.3);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

/*=== Component: Off-canvas === */
.offcanvas {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 2000;
}

.offcanvas-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -270px;
    box-sizing: border-box;
    width: 400px;
    padding: 20px 20px;
    background: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.offcanvas .offcanvas-container{
    margin: 25px auto;
}

@media (max-width: 960px) {
    .offcanvas-bar {
        width: 500px;
        padding: 40px 40px;
    }
}
.offcanvas.open{
    display: block;
}
.offcanvas.open > .offcanvas-bar {
    left: auto;
    right: 0;
}
.offcanvas-bar-animation {
    transition: left 0.3s ease-out;
}
.offcanvas-flip .offcanvas-bar-animation {
    transition-property: right;
}

.offcanvas-close {
    position: absolute;
    z-index: 1000;
    top: 20px;
    right: 20px;
    padding: 5px;
    outline: 0;
}
.offcanvas-overlay {
    width: 100vw;
    touch-action: none;
}

.offcanvas-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.15s linear;
}
.offcanvas-overlay.open::before {
    opacity: 1;
}

.comment-bubble {
    position: relative;
    background: #8fdeff;
    border-radius: .4em;
    padding: 5px;
    color: #333;
    font-size: 15px;
    text-align: center;
    font-weight: 700;
    white-space: pre-wrap;
    margin: 5px 10px;
}

.comment-bubble:after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-bottom-color: #8fdeff;
    border-top: 0;
    border-left: 0;
    margin-left: -10px;
    margin-top: -20px;
}

.badge-state{
    position: absolute;
    top: 10px;
    right: 25px;
    background-color: #2B333E;
    border-radius: 0;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 500;
    line-height: 15px;
}

.loader-canvas-container{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
}

.loader-canvas{
    margin: auto;
    border: 16px solid #f3f3f3;
    border-top: 16px solid #2B333E;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: calc(50% - 60px);
    left: calc(50% - 60px);
    transform: translateY(-50%);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}