/*General*/
.history-res-item {
    margin-bottom: 35px;
}
.history-res-image {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
}
.history-res-description {
    line-height: 1.5;
}
.history-res-description b {
    color: var(--default);
    font-size: calc(1em + 1px);
}
/*Alignments*/
.history-res-item:nth-child(1) .history-res-left,
.history-res-item.has-image:nth-child(2) .history-res-left {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
}
.history-res-item.has-image:nth-child(5n+2) + .history-res-item.has-image:nth-child(5n+3) .row {
    -ms-flex-align: end;
    align-items: flex-end;
}
.history-res-item:nth-child(5n+5) .row {
    -ms-flex-align: center;
    align-items: center;
}
/*Margins*/
.history-res-item:nth-child(5n+5) .history-res-left-wrap {
    margin-left: var(--min-grid);
}
/*Padding*/
.history-res-item:nth-child(1) .history-res-left-wrap {
    padding: 20px 0;
    max-width: 620px;
}
.history-res-item:not(.has-image):nth-child(5n+2) {
    padding-top: 35px;
    padding-bottom: 30px;
}
.history-res-item:not(.has-image):nth-child(5n+2) .history-res-left-wrap,
.history-res-item:not(.has-image):nth-child(5n+3) .history-res-left-wrap {
    position: relative;
}
.history-res-item:not(:last-child):nth-child(5n+4) .history-res-left-wrap {
    padding-top: 35px;
}
/*Image*/
.history-res-item:nth-child(1) .history-res-image {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.history-res-item:not(:nth-child(5n+5)):last-child .history-res-image {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.history-res-item:not(:last-child):nth-child(5n+4) .history-res-image {
    border-radius: 0;
}
.history-res-item:nth-child(5n+5) .history-res-image {
    border-radius: 0 200px 200px 0;
}
/*Line*/
.history-res-item:nth-child(1) .history-res-left,
.history-res-item.has-image:nth-child(2) .history-res-left,
.history-res-item.has-image:nth-child(5n+2) .history-res-left-wrap,
.history-res-item:not(:last-child):nth-child(5n+4),
.history-res-item:not(:first-child):nth-child(5n+1),
.history-res-item:not(.has-image):nth-child(5n+2),
.history-res-item:not(.has-image):nth-child(5n+2) .history-res-left-wrap,
.history-res-item:not(.has-image):nth-child(5n+3),
.history-res-item:not(.has-image):nth-child(5n+3) .history-res-left-wrap {
    position: relative;
    z-index: 1;
}
.history-res-item:nth-child(1) .history-res-left:before {
    content: "";
    position: absolute;
    right: -1000px;
    top: 0;
    bottom: 0;
    left: -1000px;
    border-bottom: 2px solid var(--default-20);
    z-index: -1;
}
.history-res-item:not(.has-image):nth-child(5n+2)::before,
.history-res-item:not(.has-image):nth-child(5n+3)::before {
    content: "";
    position: absolute;
    top: 0;
    left: -1000px;
    right: -1000px;
    z-index: -1;
    border-top: 2px solid var(--default-20);
}
.history-res-item:not(.has-image):nth-child(5n+3)::before {
    bottom: 0;
}
.history-res-item.has-image:nth-child(5n+3) + .history-res-item:not(:last-child):nth-child(5n+4)::before {
    content: "";
    position: absolute;
    top: 0;
    left: -1000px;
    right: -1000px;
    border-top: 2px solid var(--default-20);
    z-index: -1;
}
/*Responsive - Mobile First*/
/* sm */
@media (min-width: 576px) {
    /*Margins*/
    .history-res-item:nth-child(2) {
        margin-top: 65px;
    }
    .history-res-item.has-image:nth-child(5n+2) .history-res-right-wrap,
    .history-res-item.has-image:nth-child(5n+3) .history-res-right-wrap {
        position: relative;
        left: -40px;
        margin-right: -40px;
    }
    .history-res-item.has-image:nth-child(5n+2) + .history-res-item.has-image:nth-child(5n+3) .history-res-left-wrap {
        max-width: 270px;
        margin-left: auto;
        position: relative;
        left: 135px;
    }
    /*Padding*/
    .history-res-item:not(:first-child):nth-child(5n+1) {
        padding-top: 40px;
    }
    .history-res-item:not(.has-image):nth-child(5n+2) {
        padding-top: 45px;
        overflow: hidden;
    }
    .history-res-item:not(.has-image):nth-child(5n+3) {
        padding-top: 40px;
        padding-bottom: 50px;
    }
    .history-res-item:not(.has-image):nth-child(5n+2)::before,
    .history-res-item:not(.has-image):nth-child(5n+3)::before {
        left: 0;
        right: 0;
    }
    .history-res-item:not(.has-image):nth-child(5n+2) .history-res-left-wrap,
    .history-res-item:not(.has-image):nth-child(5n+3) .history-res-left-wrap {
        padding-left: 35px;
    }
    .history-res-item.has-image:nth-child(5n+2) .history-res-left-wrap {
        padding-top: 140px;
        padding-right: 35px;
    }
    .history-res-item.has-image:nth-child(5n+2) + .history-res-item.has-image:nth-child(5n+3) .history-res-right-wrap {
        padding-bottom: 300px;
    }
    .history-res-item:not(:last-child):nth-child(5n+4) .history-res-left-wrap {
        padding-top: 35px;
        padding-left: 35px;
    }
    .history-res-item:not(.has-image):not(:last-child):nth-child(5n+3) + .history-res-item:nth-child(5n+4) .history-res-left-wrap {
        padding-top: 10px;
    }
    .history-res-item:not(:last-child):nth-child(5n+5) .history-res-right-wrap {
        padding-right: 30px;
    }
    /*Line*/
    .history-res-item:nth-child(1) .history-res-left:before {
        right: 0;
        left: 132.5px;
        border-right: 2px solid var(--default-20);
    }
    .history-res-item.has-image:nth-child(2) .history-res-left::after {
        content: "";
        position: absolute;
        right: 0;
        top: -65px;
        bottom: 0;
        left: 132.5px;
        border-left: 2px solid var(--default-20);
        z-index: -1;
    }
    .history-res-item:not(:first-child):nth-child(5n+1):before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -120px;
        height: 120px;
        z-index: -1;
        border-bottom: 2px solid var(--default-20);
        border-right: 2px solid var(--default-20);
        pointer-events: none;
    }
    .history-res-item:not(.has-image):nth-child(5n+2) .history-res-left-wrap::before {
        content: "";
        position: absolute;
        bottom: 50%;
        top: -163px;
        left: 0;
        width: 20px;
        z-index: -1;
        border-left: 2px solid var(--default-20);
        border-bottom: 2px solid var(--default-20);
    }
    .history-res-item.has-image:not(:last-child):nth-child(5n+2) .history-res-left-wrap::before {
        content: "";
        position: absolute;
        right: 20px;
        height: 85px;
        border-bottom: 2px solid var(--default-20);
        border-left: 2px solid var(--default-20);
        bottom: -46px;
        z-index: -1;
        left: 117.5px;
    }
    .history-res-item.has-image:nth-child(5n+3) + .history-res-item:not(:last-child):nth-child(5n+4)::before {
        top: -2px;
        left: 0;
        right: 0;
        bottom: -15px;
        border-left: 2px solid var(--default-20);
    }
    .history-res-item:not(.has-image):nth-child(5n+3)::before {
        border-left: 2px solid var(--default-20);
    }
    .history-res-item:not(.has-image):not(:last-child):nth-child(5n+3)::after {
        content: "";
        position: absolute;
        left: 0;
        right: 75%;
        top: 100%;
        height: 30px;
        border-top: 2px solid var(--default-20);
        border-right: 2px solid var(--default-20);
        z-index: -1;
    }
    /*Images*/
    .history-res-item:nth-child(5n+2) .history-res-image {
        max-width: 235px;
    }
}
/* md */
@media (min-width: 768px) {
    /*General*/
    .history-res-item {
        margin-bottom: 80px;
    }
    /*Margins*/
    .history-res-item:nth-child(2) {
        margin-top: 100px;
    }
    /*Padding*/
    .history-res-item:nth-child(1) .history-res-left-wrap {
        padding: 85px 0;
    }
    /*Line*/
    .history-res-item.has-image:nth-child(2) .history-res-left::after {
        top: -100px;
        bottom: 75px;
    }
    .history-res-item:not(:first-child):nth-child(5n+1):before {
        top: -180px;
        height: 180px;
    }
    .history-res-item.has-image:not(:last-child):nth-child(5n+2) .history-res-left-wrap::before {
        height: 170px;
        bottom: -130px;
    }
    .history-res-item:not(.has-image):not(:last-child):nth-child(5n+3)::after {
        height: 75px;
    }
    .history-res-item.has-image:nth-child(5n+3) + .history-res-item:not(:last-child):nth-child(5n+4)::before {
        bottom: -35px;
    }
}
/* lg */
@media (min-width: 992px) {
    /*Margins*/
    .history-res-item.has-image:nth-child(5n+1):not(:first-child) .history-res-right-wrap {
        margin-left: -10px;
    }
    .history-res-item.has-image:nth-child(5n+4) .history-res-right-wrap {
        margin-left: -10px;
    }
    /*Line*/
    .history-res-item:nth-child(1) .history-res-left::before {
        left: 205px;
    }
    .history-res-item.has-image:nth-child(2) .history-res-left::after {
        left: 205px;
    }
    .history-res-item.has-image:not(:last-child):nth-child(5n+2) .history-res-left-wrap::before {
        left: 175px;
        height: 160px;
        bottom: -115px;
    }
    /*Images*/
    .history-res-item:nth-child(5n+2) .history-res-image {
        max-width: 350px;
    }
}
/* xl */
@media (min-width: 1200px) {
    /*Margins*/
    .history-res-item:nth-child(2) {
        margin-top: 150px;
    }
    .history-res-item.has-image:nth-child(5n+2) + .history-res-item.has-image:nth-child(5n+3) .history-res-left-wrap {
        max-width: 330px;
    }
    .history-res-item:not(.has-image):not(:last-child):nth-child(5n+3) + .history-res-item:nth-child(5n+4) {
        margin-top: 110px;
    }
    /*Padding*/
    .history-res-item:nth-child(1) .history-res-right-wrap {
        padding-left: 80px;
    }
    .history-res-item:not(:first-child):nth-child(5n+1) {
        padding-top: 70px;
    }
    .history-res-item:not(.has-image):nth-child(5n+2) {
        padding-top: 105px;
    }
    .history-res-item:not(.has-image):nth-child(5n+3) {
        padding-top: 65px;
    }
    .history-res-item:not(.has-image):nth-child(5n+2) .history-res-left-wrap,
    .history-res-item:not(.has-image):nth-child(5n+3) .history-res-left-wrap {
        padding-left: 85px;
    }
    .history-res-item.has-image:nth-child(5n+2) .history-res-left-wrap {
        padding-right: 70px;
    }
    .history-res-item.has-image:nth-child(5n+2) + .history-res-item.has-image:nth-child(5n+3) .history-res-right-wrap {
        padding-bottom: 330px;
    }
    .history-res-item:not(:last-child):nth-child(5n+4) .history-res-left-wrap {
        padding-top: 85px;
        padding-left: 85px;
    }
    .history-res-item:not(.has-image):not(:last-child):nth-child(5n+3) + .history-res-item:nth-child(5n+4) .history-res-left-wrap {
        padding-top: 95px;
    }
    /*Line*/
    .history-res-item.has-image:nth-child(2) .history-res-left:after {
        top: -150px;
    }
    .history-res-item:not(.has-image):nth-child(5n+2) .history-res-left-wrap::before {
        width: 60px;
    }
    .history-res-item:not(.has-image):not(:last-child):nth-child(5n+3)::after {
        height: 170px;
    }
}
/* xxl */
@media (min-width: 1500px) {
    /*General*/
    .history-res-item {
        margin-bottom: 135px;
    }
    /*Margins*/
    .history-res-item:nth-child(2) {
        margin-top: 225px;
    }
    .history-res-item.has-image:nth-child(5n+1):not(:first-child) .history-res-right-wrap {
        margin-left: -20px;
    }
    .history-res-item.has-image:nth-child(5n+2) .history-res-right-wrap,
    .history-res-item.has-image:nth-child(5n+3) .history-res-right-wrap {
        margin-right: 0;
    }
    .history-res-item.has-image:nth-child(5n+2) + .history-res-item.has-image:nth-child(5n+3) {
        margin-top: -245px;
    }
    .history-res-item.has-image:nth-child(5n+2) + .history-res-item.has-image:nth-child(5n+3) .history-res-left-wrap {
        max-width: 395px;
    }
    .history-res-item.has-image:nth-child(5n+4) .history-res-right-wrap {
        margin-left: -55px;
    }
    .history-res-item:not(.has-image):not(:last-child):nth-child(5n+3) + .history-res-item:nth-child(5n+4) {
        margin-top: 215px;
    }
    /*Padding*/
    .history-res-item:nth-child(1) .history-res-left-wrap {
        padding: 150px 0;
    }
    .history-res-item:not(:first-child):nth-child(5n+1) {
        padding-top: 100px;
    }
    .history-res-item:not(.has-image):nth-child(5n+2) {
        padding-top: 165px;
    }
    .history-res-item:not(.has-image):nth-child(5n+3) {
        padding-top: 90px;
    }
    .history-res-item:not(.has-image):nth-child(5n+2) .history-res-left-wrap,
    .history-res-item:not(.has-image):nth-child(5n+3) .history-res-left-wrap {
        padding-left: 135px;
    }
    .history-res-item.has-image:nth-child(5n+2) .history-res-left-wrap {
        padding-right: 110px;
    }
    .history-res-item.has-image:nth-child(5n+2) .history-res-right-wrap {
        padding-bottom: 380px;
    }
    .history-res-item.has-image:nth-child(5n+2) + .history-res-item.has-image:nth-child(5n+3) .history-res-right-wrap {
        padding-bottom: 360px;
    }
    .history-res-item:not(:last-child):nth-child(5n+4) .history-res-left-wrap {
        padding-top: 135px;
        padding-left: 135px;
    }
    .history-res-item:not(.has-image):not(:last-child):nth-child(5n+3) + .history-res-item:nth-child(5n+4) .history-res-left-wrap {
        padding-top: 180px;
    }
    /*Line*/
    .history-res-item:nth-child(1) .history-res-left:before {
        left: calc(50% - 55px);
    }
    .history-res-item.has-image:nth-child(2) .history-res-left:after {
        top: -225px;
        left: calc(50% - 55px);
    }
    .history-res-item.has-image:not(:last-child):nth-child(5n+2) .history-res-left-wrap::before {
        left: 50%;
        right: -315px;
        border-top: 2px solid var(--default-20);
        border-right: 2px solid var(--default-20);
        border-bottom: none;
        border-left: none;
        bottom: 140px;
    }
    .history-res-item.has-image:nth-child(5n+3) + .history-res-item:not(:last-child):nth-child(5n+4)::before {
        bottom: -65px;
    }
    .history-res-item:not(:first-child):nth-child(5n+1):before {
        top: -240px;
        height: 240px;
    }
    .history-res-item:not(.has-image):nth-child(5n+2) .history-res-left-wrap::before {
        width: 100px;
    }
    .history-res-item:not(.has-image):not(:last-child):nth-child(5n+3)::after {
        height: 370px;
    }
    /*Images*/
    .history-res-item:nth-child(5n+2) .history-res-image {
        max-width: none;
    }
}
/* xxxl */
@media (min-width: 1750px) {
    /*Margins*/
    .history-res-item.has-image:nth-child(5n+1):not(:first-child) .history-res-right-wrap {
        margin-left: -40px;
    }
    .history-res-item.has-image:nth-child(5n+4) .history-res-right-wrap {
        margin-left: -100px;
    }
}
/*Responsive - Desktop First*/
/* xs */
@media (max-width: 575.98px) {
    /*Margins*/
    .history-res-item.has-image:nth-child(1) {
        margin-top: -30px;
    }
    .history-res-item.has-image:not(:nth-child(1)):not(:nth-child(5n+3)):not(:nth-child(5n+5)):not(:last-child) .history-res-right,
    .history-res-item.has-image:nth-child(5n+3) .history-res-left,
    .history-res-item.has-image:nth-child(5n+5) .history-res-left,
    .history-res-item:not(:nth-child(5n+5)):last-child .history-res-left {
        margin-top: 25px;
    }
    .history-res-item:not(.has-image) .history-res-right {
        margin-top: 10px;
    }
    .history-res-item.has-image:nth-child(5n+4):not(:last-child) .history-res-right-wrap {
        margin-left: var(--min-grid);
        margin-right: var(--min-grid);
    }
    /*Line*/
    .history-res-item:not(.has-image):nth-child(5n+3)::before {
        display: none;
    }
    .history-res-item.has-image:nth-child(5n+3) .history-res-right {
        position: relative;
        padding-top: 35px;
    }
    .history-res-item.has-image:nth-child(5n+3) .history-res-right:before {
        content: "";
        position: absolute;
        top: 0;
        left: -1000px;
        right: -1000px;
        border-top: 2px solid var(--default-20);
    }
    /*Orders*/
    .history-res-item:nth-child(1) .history-res-left,
    .history-res-item.has-image:nth-child(5n+3) .history-res-left,
    .history-res-item:nth-child(5n+5) .history-res-left,
    .history-res-item:not(:nth-child(5n+5)):last-child .history-res-left {
        -ms-flex-order: 2;
        order: 2;
    }
    .history-res-item:nth-child(1) .history-res-right,
    .history-res-item.has-image:nth-child(5n+3) .history-res-right,
    .history-res-item:nth-child(5n+5) .history-res-right,
    .history-res-item:not(:nth-child(5n+5)):last-child .history-res-right {
        -ms-flex-order: 1;
        order: 1;
    }
}