
*{
    direction: rtl;
}
.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
    text-align: right;
}
.max-width-timeline {
    max-width: 992px;
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background-color: #A1A1A1;
    left: 50%;
    margin-left: 1px;
}

.timeline > li {
    margin-bottom: 20px;
    position: relative;
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li > .timeline-panel {
    width: 45%;
    /*height: 50%;*/
    float: left;
    border: 1px solid #F17724;
    border-radius: 17px;
    padding: 0 10px 10px 10px;
    position: relative;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);

}

.timeline > li > .timeline-panel:before {
    position: absolute;
    top: 94px;
    right: -26px;
    display: inline-block;
    border-top: 26px solid transparent;
    border-left: 26px solid #F17724;
    border-right: 0 solid #F17724;
    border-bottom: 26px solid transparent;
    content: " ";
}

.timeline > li > .timeline-panel:after {
    position: absolute;
    top: 95px;
    right: -25px;
    display: inline-block;
    border-top: 25px solid transparent;
    border-left: 25px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 25px solid transparent;
    content: " ";
}

.timeline > li > .timeline-badge {
    color: #fff;
    width: 25px;
    height: 25px;
    line-height: 50px;
    font-size: 1.4em;
    text-align: center;
    position: absolute;
    top: 107px;
    left: 51.5%;
    margin-left: -22px;
    background-color: #F17724;
    box-shadow: 2px 2px 15px rgba(224, 112, 36, 0.73);
    z-index: 100;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
}

.timeline > li.timeline-inverted > .timeline-panel {
    float: right;

}

.timeline > li.timeline-inverted > .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 20px;
    left: -20px;
    right: auto;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 19px;
    left: -19px;
    right: auto;
}


.timeline-title {
    margin-top: 0;
    color: inherit;
}

.timeline-body > p,
.timeline-body > ul {
    margin-bottom: 0;
}

.timeline-body > p + p {
    margin-top: 5px;
}


.background-timeline {
    /*display: flex;*/
    /*justify-content: center;*/
    /*height: 238px;*/
    /*width: 40%;*/
    background-image: linear-gradient( to bottom, rgba(255, 156, 0, 0.72), rgba(255, 127, 0, 1));
    border-radius: 0 0 25% 25%;
    padding: 0 16px 0px 16px;
}

.background-timeline img {
    width: 120px;
    margin-top: 50px;
}
.timeline-txt {
    /*width: 60%;*/
    padding: 10px 8px 10px 8px;
    font-size: 16.5px;
    color: #4f4d4d;
}
.title-timeline {
    position: absolute;
    color: white;
    margin: 10px 0 5px 0;
    font-size: 1.3rem;
}
.btn-see-more {
    color: #4f4d4d ;
    font-size: 14px;
    padding: 0;
}
.btn-see-more:hover{
    color: #007bff;
    text-shadow: 1px 1px 2px rgba(204, 204, 204, 0.55);

}
.btn-see-more:focus{
    box-shadow: unset;
}
.list-style-circle {
    list-style-type: circle;
}
.li-margin li {
    margin-bottom: 15px;
}
.padding-modaal {
    padding: 30px;
}

@media only screen and (max-width: 790px){
    .timeline-txt {
        font-size: 14px;
    }

    .background-timeline img {
        width: 85px;
        margin-top: 30px;
    }

    .title-timeline {
        font-size: 15px;
        margin: unset;
    }

    .timeline > li > .timeline-badge {
        width: 15px;
        height: 15px;
        left: 53%;
        z-index: unset;
        top: 80px;
    }
    .timeline > li > .timeline-panel{
        padding:0 0 6px 0 ;
        float: unset;
        width: 100%;

    }
    .timeline > li.timeline-inverted > .timeline-panel .background-timeline{
        border-top-right-radius: 1rem;
        border-top-left-radius: unset;
    }
    .timeline > li > .timeline-panel .background-timeline {
        border-top-left-radius: 1rem;
    }
    .timeline > li > .timeline-panel:before{
        display: none;
    }
    .timeline > li > .timeline-panel:after {
        display: none;
    }
    .timeline:before {
        display: none;
    }
    .timeline > li > .timeline-badge {
        display: none;
    }

}
@media only screen and (max-width: 600px){
    .timeline-txt {
        font-size: 14px;
        margin: auto;
    }

    .background-timeline img {
        width: 85px;
        margin-top: 30px;
    }

    .title-timeline {
        font-size: 15px;
        margin: unset;
    }

    .timeline > li > .timeline-badge {
        width: 15px;
        height: 15px;
        left: 53%;
        z-index: unset;
        top: 80px;
    }
    .timeline > li > .timeline-panel{
        padding:0 0 6px 0 ;
        float: unset;
        width: 100%;

    }
    .timeline > li.timeline-inverted > .timeline-panel .background-timeline{
        border-top-right-radius: 1rem;
        border-top-left-radius: unset;
    }
    .timeline > li > .timeline-panel .background-timeline {
        border-top-left-radius: 1rem;
    }
    .timeline > li > .timeline-panel:before{
        display: none;
    }
    .timeline > li > .timeline-panel:after {
        display: none;
    }
    .timeline:before {
     display: none;
    }
    .timeline > li > .timeline-badge {
        display: none;
    }

}
@media only screen and (max-width : 474px){
    .timeline-txt {
        font-size: 13px;
    }

    .background-timeline img {
        width: 74px;
        margin-top: 24px;
    }

}
@media only screen and (max-width: 375px) {
    .timeline-txt {
        font-size: .65rem;}
    .title-timeline {
        text-align: center;
        font-size: 13px;
        margin-top: 13px;
    }
    .background-timeline{
        padding: 0 20px 0 20px;
    }

    .background-timeline img {
        width: 50px;
    }
}
