/*Main section CSS*/

.container.history {
    display: flex;
    align-items: center;
}

.container.history .col-1 {
    flex-basis: 40%;
}

.container.history .col-2 {
    flex-basis: 10%;
    border-right: 1px solid #A8A9AC;
    padding-top: 1.5%;
}

.container.history .col-3 {
    flex-basis: 50%;
    padding-right: 20px;
    padding-left: 20px;
}
.history-images img {
    width: 100%;
}

/*Button CSS*/

.history-content a {
    background-color: transparent !important;
    color: var(--e-global-color-primary) !important;
    font-weight: 500 !important;
}

.history-content .elementor-align-icon-left {
    background: var(--e-global-color-primary);
    padding: 5px 15px;
}

.history-content .elementor-button-text {
    align-items: center;
    display: flex;
    margin-top: 3px;
    margin-left: 5px;
}

.history-content a {
    padding: 0 !important;
}

.history-content a:hover .elementor-align-icon-left {
    background: var(--e-global-color-accent);
}

ul.history li {
    list-style: none;
}

ul.history li a, ul.history-tablet li a {
    color: var(--e-global-color-secondary);
    text-transform: uppercase;
}

ul.history li {
    margin-bottom: 29px;
}

ul.history li {
    position: relative;
}

ul.history li.active:after {
    content: "";
    position: absolute;
    right: -4px;
    top: -10px;
    height: 50px;
    width: 7px;
    background: var(--e-global-color-accent);
}

ul.history li.active a, ul.history-tablet li.active a {
    color: var(--e-global-color-accent);
}

.small-heading h5 {
    color: var(--e-global-color-accent);
    margin-bottom: -5px;
}

ul.history-tablet li {
    list-style: none;
    display: inline-block;
    border-right: 1px solid #d4d2d2;
    padding: 0 10px;
}

.history-list-for-tablet-mobile {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

ul.history-tablet li:last-child {
    border: none;
}

ul.history-tablet {
    padding: 0;
}

img.history-single-img.thumbnail:not(:nth-child(1)), .history-content:not(:nth-child(1)) {
    display: none;
}

/*Responsiveness*/

@media screen and (min-width:1131px){
    .history-list-for-tablet-mobile {
        display: none;
    }
}

@media screen and (max-width:1130px){
    .for-desktop {
        display: none;
    }

    .container.history .col-1 {
        flex-basis: 50%;
    }

    .container.history .col-3 {
        flex-basis: 50%;
    }
}

@media screen and (max-width:850px){
    .container.history {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .history-images img {
        width: 400px;
        padding: 0 20px;
        margin-bottom: 20px;
    }

    .history-content .elementor-align-icon-left {
        padding: 10px 15px 5px 15px;
    }
}