
#page-aboutus {
    position: relative;
    background-color: white;
}

#page-aboutus .aboutus-intro {
    /*background: url(../img/aboutus-bg.jpg) no-repeat center bottom;*/
    background-size: cover;
    background-size: 100% auto;
    padding-bottom: 100px;
    font-size: 14px
}

#page-aboutus .aboutus-timeline {
    position: relative;
    margin-top: 0;
    padding: 130px 0 50px;

}

#page-aboutus .about-text {
    font-size: 20px;
    line-height: 22px
}

#page-aboutus .aboutus-timeline ._flower {
    position: absolute;
    right: 50%;
    bottom: calc(100% - 100px);
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
    z-index: 1;
    pointer-events: none
}

._flower img {
    width: 100px;
}

#page-aboutus .aboutus-timeline::before {
    position: absolute;
    content: '';
    top: -70px;
    right: 0;
    left: 0;
    height: 150px;
    background-image: url(../img/timeline-edge.png);
    background-repeat: repeat-x;
    background-position: center bottom;
    background-size: contain
}

#page-aboutus .aboutus-timeline ._heart {
    position: absolute;
    right: 50%;
    top: -50px;
    width: 300px;
    height: 300px;
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
    /*background: url(https://www.bahramansaffron.com/static/img/heart.svg) no-repeat center bottom*/
}

#page-aboutus .aboutus-timeline ._dashed {
    position: absolute;
    top: 100px;
    height: 0;
    -webkit-transition: height 1s ease-out;
    transition: height 1s ease-out;
    right: calc(50% - 1px);
    border-left: 2px dashed #f5d498
}

#page-aboutus ._timeline-wrapper ._row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 50px;
    padding: 0 15px;
    text-align: right;
}

#page-aboutus ._timeline-wrapper ._row ._timeline-box {
    border-radius: 20px;
    height: 250px;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

#page-aboutus ._timeline-wrapper ._row ._timeline-title {
    color: #533cb4;
    padding-right: 35px;
    font-size: 20px;
    margin-right: 25px;
    margin-bottom: 15px;
    height: auto;
    font-weight: 700;
    width: 100%;
    text-align: right;
}

#page-aboutus ._timeline-wrapper ._row ._timeline-title.txt-right {
    color: #533cb4;
    padding-right: 50px;
    font-size: 20px;
    margin-right: 50%;
    margin-bottom: 15px;
    height: auto;
    font-weight: 700;
    width: 100%;
    text-align: right;
}

#page-aboutus ._timeline-wrapper ._row ._timeline-left {
    width: 50%;
    padding: 0 50px;
    position: relative;
}

#page-aboutus ._timeline-wrapper ._row ._timeline-box-text ._timeline-box {
    background-color: #f6f7f9;
}

#page-aboutus ._timeline-wrapper ._row ._timeline-box-text ._timeline-text {
    padding: 0 10px;
    margin: 25px;
    height: 100%;
    overflow: auto;
    text-align: justify;
}

#page-aboutus ._timeline-wrapper ._row ._timeline-box-text ._timeline-text::-webkit-scrollbar {
    width: 3px
}

#page-aboutus ._timeline-wrapper ._row ._timeline-box-text ._timeline-text::-webkit-scrollbar-track {
    background: #ffffff;
}

#page-aboutus ._timeline-wrapper ._row ._timeline-box-text ._timeline-text::-webkit-scrollbar-thumb {
    background: #533cb4;
}

#page-aboutus ._timeline-wrapper ._row ._timeline-box-text ._timeline-text::-webkit-scrollbar-thumb:hover {
    background: #14025c
}

#page-aboutus ._timeline-wrapper ._row ._timeline-right {
    width: 50%;
    padding: 0 50px;
    position: relative
}

#page-aboutus ._timeline-wrapper ._row ._timeline-right ._timeline-image {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

#page-aboutus ._timeline-wrapper ._row ._timeline-right::before {
    position: absolute;
    content: '';
    left: calc(100%);
    width: 20px;
    height: 20px;
    background-color: #f5d498;
    border-radius: 100%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: -20px;
}

._timeline-box img {
    height: 100%;
}

.about_section1 {
    background-image: url(../../images/about/back.svg);
    background-repeat: no-repeat;
    background-position: inherit;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 478px;
}



/*.about_section1 > p {*/
/*    font-size: 25px;*/
/*    width: 100%;*/
/*    text-align: center;*/
/*    position: absolute;*/
/*    top: 120px;*/
/*}*/

._timeline-left::after {
    position: absolute;
    content: '';
    right: calc(100.1%);
    width: 10px;
    height: 11px;
    background-color: #f5d498;
    /* border-radius: 100%; */
    -webkit-transform: translate(-16%, -50%) rotate(42deg);
    transform: translate(-16%, -50%) rotate(42deg);
    top: -20px;
}

._timeline-left._timeline-box-text::after {
    position: absolute;
    content: '';
    right: calc(97.4%);
    width: 10px;
    height: 11px;
    background-color: #f5d498;
    -webkit-transform: translate(-16%, -50%) rotate(42deg);
    transform: translate(-16%, -50%) rotate(42deg);
    top: -20px;
}

@media (max-width: 991.98px) {
    #page-aboutus ._timeline-wrapper ._row ._timeline-title.txt-right {
        padding-right: 0;
        margin-right: 0;
    }

    #page-aboutus ._timeline-wrapper ._row ._timeline-title {
        padding-right: 0;
    }

    #page-aboutus .aboutus-intro {
        padding-bottom: 400px;
        padding-top: 30px
    }

    #page-aboutus .aboutus-timeline::before {
        height: 100px;
        top: -50px
    }

    #page-aboutus .aboutus-timeline ._flower {
        bottom: calc(100% - 100px)
    }

    #page-aboutus .aboutus-timeline ._heart {
        top: 0
    }

    #page-aboutus .aboutus-timeline ._dashed {
        display: none
    }

    #page-aboutus ._timeline-wrapper {
        /*margin-top: 60px*/
    }

    #page-aboutus ._timeline-wrapper ._row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 0
    }

    #page-aboutus ._timeline-wrapper ._row ._timeline-box {
        height: auto
    }

    #page-aboutus ._timeline-wrapper ._row ._timeline-left, #page-aboutus ._timeline-wrapper ._row ._timeline-right {
        width: 100%;
        position: relative;
        padding: 0
    }

    #page-aboutus ._timeline-wrapper ._row ._timeline-title {
        height: auto;
        font-size: 20px;
        border-right: none;
        margin-right: 0
    }

    #page-aboutus ._timeline-wrapper ._row ._timeline-left ._timeline-box {
        background-color: #f6f7f9;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0
    }

    #page-aboutus ._timeline-wrapper ._row ._timeline-right {
        margin-top: 0
    }

    #page-aboutus ._timeline-wrapper ._row ._timeline-right ._timeline-box {
        border-top-right-radius: 0;
        border-top-left-radius: 0
    }

    #page-aboutus ._timeline-wrapper ._row ._timeline-right::before {
        display: none
    }

    ._timeline-left::after {
        display: none;
    }

    ._timeline-left._timeline-box-text::after {
        display: none;
    }
}

@media (max-width: 767.98px) {
    #page-aboutus .aboutus-intro {
        padding-bottom: 300px
    }

    #page-aboutus .aboutus-timeline::before {
        height: 50px;
        top: -25px
    }
}

@media (max-width: 575.98px) {
    .about_section1 > img {
        width: 80%;
    }

    .about_section1 > p {
        font-size: 18px;
        top: 155px;
    }
}

.text{
    max-width: 100%;
    width: 75%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: #424750;

}
.text1{
    font-size: 24px;
    font-weight: 600;
}
.text2{
    font-size: 16px;
    font-weight: 300;
    text-align: justify;
    line-height: 28px;
}

.esm-stats__stats:not(:last-of-type) {
    padding: 27px;
    border-left: 1px solid #e0e0e0;
    height: 1px;
    display: flex;
    justify-content: center;
}
.esm-stats__stats{
    display: flex;
    flex-direction: column;

}

