.history_text {padding-top: 60px;}
.history_text .section-title :is(h1,h2) {margin-bottom: 10px;}

.slick-slider {
    position: relative;
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent
}

.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0
}

.slick-list:focus {
    outline: 0
}

.slick-list.dragging {
    cursor: pointer;
    cursor: -webkit-grab;
    cursor: grab
}

.slick-slider .slick-list,
.slick-slider .slick-track {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0)
}

.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    margin-left: auto;
    margin-right: auto
}

.slick-track:after,
.slick-track:before {
    display: table;
    content: ""
}

.slick-track:after {
    clear: both
}

.slick-loading .slick-track {
    visibility: hidden
}

.slick-slide {
    display: none;
    height: 100%;
    min-height: 1px
}

.slick-slide img {
    display: block
}

.slick-slide.slick-loading img {
    display: none
}

.slick-slide.dragging img {
    pointer-events: none
}

.slick-initialized .slick-slide {
    display: block
}

.slick-loading .slick-slide {
    visibility: hidden
}

.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent
}

.slick-arrow.slick-hidden {
    display: none
}

.slick-prev,
.slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
    background-position: center;
    -webkit-filter: grayscale(1);
    filter: grayscale(1)
}

.slick-prev:not(.slick-disabled):hover,
.slick-next:not(.slick-disabled):hover {
    -webkit-filter: none;
    filter: none
}

.slick-prev {
    left: 20px;
    width: 25px;
    height: 25px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    background-size: 25px;
    background-repeat: no-repeat;
    background-image: url(https://aspiresquare.com/wp-content/uploads/2024/07/arrow.png);
    z-index: 9;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg)
}

.slick-next {
    right: 20px;
    width: 25px;
    height: 25px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    background-size: 25px;
    background-repeat: no-repeat;
    background-image: url(https://aspiresquare.com/wp-content/uploads/2024/07/arrow.png);
    z-index: 9;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg)
}

.slick-slide {
    outline: none;
    float: left;
}

.slick-disabled {
    opacity: 0.4
}

.slick-next:before {
    content: "→"
}


.history {
    overflow: hidden;
    padding: 100px 0;
}

.history .yearProgressWrapper {
    position: absolute;
    bottom: 0;
    z-index: -1
}

.history .yearProgressWrapper .yprogress {
    position: absolute;
    bottom: 35px;
    display: block;
    width: 100vw;
    height: 1px;
    background-color: #152E53;
}

.history .yearProgressWrapper .yprogress .redWidth {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 0;
    height: 100%;
    background-color: #E91D2C;
    transition: width 0.5s ease-in-out;
}


.history .yearProgressWrapper svg {
    fill: none;
    stroke: #E91D2C;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2px;
    stroke-dasharray: 8 6;
    fill-rule: evenodd;
    animation: animate 50s linear infinite;
    animation-fill-mode: forwards
}

@keyframes animate {
    0% {
        stroke-dasharray: 5px
    }

    100% {
        stroke-dasharray: 5px;
        stroke-dashoffset: -100%
    }
}

.history .yearProgressWrapper svg:nth-of-type(1) {
    margin-top: 30px
}

.history .yearProgressWrapper svg:nth-of-type(2) {
    margin-top: 40px
}


.history #yearSlider {
    position: relative
}

.history #yearSlider .slick-track {
    display: flex;
    justify-content: space-between;
    margin-left: 0;
    margin-right: 0;
    grid-gap: 20px;
    padding: 20px 0 100px;
}


.history #yearSlider .slick-slide span {
    padding: 10px 16px;
    border-radius: 15px;
    font-size: 20px;
    line-height: 30px;
    color: #152E53;
    background-color: #DFEBF1;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}


.history #yearSlider .slick-slide.year-active span {
    background-color: #152E53;
    color: #fff;
}


.history #yearSlider .slick-slide span::before {
    content: "";
    position: absolute;
    top: calc(100% + 42px);
    left: 50%;
    display: block;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid #E91D2C;
    background: #fff;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.history #yearSlider .slick-slide.year-active span::before {
    opacity: 1;
    visibility: visible;
}


.history #yearSlider .slick-slide span:after {
    content: "";
    position: absolute;
    top: calc(100% + 44px);
    left: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #E91D2C;
    cursor: pointer;
    border: 6px solid #fff;
    transform: translateX(-50%);
    transition: transform 0.5s ease-in-out;
}

.history #yearSlider .slick-slide.hovered:before {
    opacity: 1
}


.history #yearSlider .year-active:before {
    opacity: 1
}

@-webkit-keyframes showIt {
    99% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

@keyframes showIt {
    99% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

.history #yearSlider .yprogressbar {
    height: 2px;
    top: auto;
    bottom: 31px
}

.history .yearDetailWrapper {
    display: flex;
    overflow: hidden
}

.history .yearDetailWrapper .year {
    font-weight: 700;
    font-size: 32px;
    color: #E91D2C;
    line-height: normal;
}

.history .historyLeftSlider .box.slick-current h3,
.history .historyLeftSlider .box.slick-current .company-info p,
.history .historyLeftSlider .box.slick-current span {
    color: #fff !important;
}

.history .yearDetailWrapper .row {
    padding-top: 20px;
    display: flex;
}

.history .tab-panel .panel {
    display: none;
    width: 100%;
    opacity: 0;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s
}

.history .tab-panel .panel.active {
    display: block
}

.history .tab-panel .panel.active:not(.hidden) {
    opacity: 1
}

.history .historyLeftSlider {
    padding-right: 30px;
    padding-left: 80px
}

.box-row {
    padding-left: 80px;
}

.history .historyLeftSlider h3 {
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 0;
    user-select: none;
    color: inherit;
}

.history .historyLeftSlider .box {
    border: 1px solid #e3e3e3;
    background-color: #DFEBF1;
    color: #152E53;
    border-radius: 30px;
    padding: 30px;
    margin: 10px 0;
    transition: border-color 0.3s;
    min-height: 150px;
}

.history .historyLeftSlider .box.slick-current {
    border-color: #E91D2C;
    background-color: #152E53;
    color: #fff;
}

.history .historyLeftSlider .slick-list {
    margin-top: 0;
    padding-top: 20px;
    padding-right: 5px;
    min-height: 350px !important;
}

.history .historyLeftSlider .slick-slide:hover {
    border-color: #E91D2C;
}

.history .historyLeftSlider .slick-slide:hover h3,
.history .historyLeftSlider .slick-slide:hover .text {
    opacity: 1 !important;
    color: inherit;
}

.history .historyLeftSlider .slick-slide:not(.slick-current) h3,
.history .historyLeftSlider .slick-slide:not(.slick-current) .text {
    opacity: 0.2;
    transition: opacity 0.3s;
}

.history .historyLeftSlider .text {
    line-height: 1.9;
}

.history .historyLeftSlider .slick-next,
.history .historyLeftSlider .slick-prev {
    left: 0;
    right: auto;
}

.history .historyLeftSlider .slick-next {
    bottom: 22%;
    top: auto;
    transform: rotate(0deg) translateY(-50%);
}

.history .historyLeftSlider .slick-prev {
    top: 44%;
    transform: rotate(180deg) translateY(-50%);
    bottom: auto;
}

.history .historyLeftSlider .slick-prev:after,
.history .historyLeftSlider .slick-next:after {
    width: 20px;
    height: 20px
}

.history .historyLeftSlider .slick-disabled {
    opacity: 0.3;
    pointer-events: none;
}

.history .left {
    position: relative;
}

.left,
.right {
    width: 50%;
}

.history .progress {
    display: block;
    position: absolute;
    height: 400px;
    top: 0;
    left: 50px;
    width: 2px;
    border-radius: 2px;
    overflow: hidden;
    background-color: #0000001A;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#E91D2C), to(#E91D2C));
    background-image: linear-gradient(to bottom, #E91D2C, #E91D2C);
    background-repeat: no-repeat;
    background-size: 100% 0;
    transition: background-size 0.4s ease-in-out
}

.history .historyRightSlider .slick-slide {
    display: flex
}

.history .historyRightSlider img {
    margin: auto;
    max-width: 400px;
    width: 100%;
    object-fit: cover;
}


.pagingInfo {
    position: absolute;
    left: 15px;
    top: 205px;
    font-size: 14px;
    user-select: none;
}

.yearProgressWrapper-main {
    position: relative;
}


@media only screen and (max-width: 1399px) {
    .history #yearSlider .slick-slide span {
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .history #yearSlider .slick-track {
        padding: 20px 0 92px;
    }

    .history .historyLeftSlider .box {
        padding: 20px;
    }
}

@media only screen and (max-width: 1024px) {

    .history .historyLeftSlider {
        padding-right: 30px;
        padding-left: 60px;
    }

    .history .historyRightSlider img {
        max-width: 350px;
    }
}

@media screen and (max-width: 980px) {
    .history .yearDetailWrapper .row {
        flex-direction: column-reverse;
    }

    .left,
    .right {
        width: 100%;
    }

    .history .yearDetailWrapper .slick-next,
    .history .yearDetailWrapper .slick-prev {
        top: auto;
        bottom: 0;
        left: auto;
        right: 30%;
    }

    .history .yearDetailWrapper .slick-prev {
        right: auto;
        left: 30%;
        transform: rotate(90deg);
    }

    .history .yearDetailWrapper .slick-next {
        transform: rotate(-90deg);
    }

    .history .historyLeftSlider {
        padding: 0;
        padding-bottom: 35px;
    }

    .history .historyLeftSlider .slick-list {
        margin: 0;
        padding-right: 0;
        min-height: 150px !important;
    }


    .history .historyLeftSlider .box {
        margin: 10px 0 0;
    }

    .pagingInfo {
        left: 50%;
        top: auto;
        bottom: 2px;
        transform: translateX(-50%);
    }

    .history .progress {
        left: 20px;
        display: none;
    }

    .history #yearSlider .slick-track {
        padding: 20px 0 70px;
    }

    .history #yearSlider .slick-slide span::before {
        top: calc(100% + 20px);
    }

    .history #yearSlider .slick-slide span:after {
        top: calc(100% + 23px);
    }

    .box-row {
        padding-left: 0;
        text-align: center;
    }

    .history .yearDetailWrapper .year {
        font: 24px;
    }

    .history {
        padding: 40px 0;
    }
    .why_cta .cta .cta_band h2 {font-size: 32px;}
    .why_cta .cta .cta_band a.button.blue_btn{font-size: 20px;}
}
@media screen and (max-width: 768px) {
    .history_text {padding-top: 40px;}
}

@media screen and (max-width: 575px) {
    
    .history .yearDetailWrapper .year {
        font-size: 22px;
    }
    .company-info p {
        font-size: 18px;
        color: inherit;
    }
    .why_cta .cta .cta_band a.button.blue_btn{font-size: 18px;}
    
}

