 
/*.container {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}
*/
.road{
    background: transparent url(../images/roadmap2.png) repeat-y;
    background-position: center;
}

.roadmap {
    position: relative;
/*    width: 100%;*/
/*    max-width: 1200px;*/
    margin: 0 auto;
    padding: 20px 0;
    height: 600px;
    overflow: hidden;
}
.location-right::after {
    overflow: hidden;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 26%;
    left: 113%;
    z-index: 1;
    transition: all 0.3s linear;
    background: url(../images/location.png) no-repeat;
}
.location-left::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 25%;
    right: 18%;
    z-index: 1;
    transition: all 0.3s linear;
    background: url(../images/location.png) no-repeat;
}
.overlay-location-left{
    content: "";
    border-top: 3px solid #2a2776;
    width: 103px;
    position: absolute;
    top: 52%;
    left: -14%;
    z-index: -1;
}
.overlay-location-right{
    content: "";
    border-top: 3px solid #2a2776;
    width: 103px;
    position: absolute;
    top: 52%;
    right: -18%;
    z-index: -1;
}

.roadmap-icon {
    background-color: #fff;
/*    border: 4px solid #555;*/
    color: #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    position: absolute;
    top: -30px;
    z-index: 1;
}

.roadmap-content {
    background-color: #fff;
    border-radius: 5px;
    padding: 10px;
    width: 410px;
    text-align: left;
    box-shadow: 2px 4px 8px rgb(0 0 0 / 44%);
    margin: 0 20px;
    display: flex;
    align-items: center;
}
.content-span-box{
    /*font-size: 2rem;
    color: white;*/
    width: 100px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
/*    margin-left: -50px;*/
    background-color: #2a2776;
    
}
.content-p-box{
    padding: 0 10px;
    width: 100%;
}
.roadmap-content span{
    font-size: 16px;
    color: #fff;
/*    padding: 10px 18px;*/
    width: 100px;
    text-align: center;
}
.roadmap-content p{
    margin: 0;
}
.roadmap-item:nth-child(1){
   position: absolute;
    top: 1%;
    left: 1.5%;
}
.roadmap-item:nth-child(2){
   position: absolute;
   top: 14%;
    right: 8%;
}
.roadmap-item:nth-child(3){
   position: absolute;
   top: 29%;
   left: 8%;
}
.roadmap-item:nth-child(4){
   position: absolute;
    top: 41%;
    right: 4.5%;
}
.roadmap-item:nth-child(5){
   position: absolute;
    top: 58%;
    left: 1.5%;
}
.roadmap-item:nth-child(6){
   position: absolute;
    top: 71%;
    right: 6%;
}
.roadmap-item:nth-child(7){
   position: absolute;
    top: 85%;
    left: 8%;
}
.roadmap-item:nth-child(8){
   position: absolute;
    top: 87%;
    right: 4.6%;
}


@media only screen and (max-width: 767px) {
    .road{
        background-size: 30% 20%;
    }
    .roadmap {
    height: auto;
}
    .roadmap-content {
    width: 340px;
    margin: 0;
}
.location-right::after, .location-left::after {
    top: -20%;
    left: 43%;
}
.overlay-location-left, .overlay-location-right{
    display: none;
}
    .roadmap-item:nth-child(1), 
    .roadmap-item:nth-child(2),
    .roadmap-item:nth-child(3),
    .roadmap-item:nth-child(4),
    .roadmap-item:nth-child(5),
    .roadmap-item:nth-child(6),
    .roadmap-item:nth-child(7),
    .roadmap-item:nth-child(8){position: unset; margin-top: 2.5em}

    .roadmap-content p {
        font-size: 13px;
     }
     .roadmap-content span {
    font-size: 14px;
    margin: 1px;
/*    width: unset;*/
}
}

/* Tablet Layout: 768px. */
@media only screen and (min-width: 768px) and (max-width: 991px) {
     .road{
        background-size: 30% 20%;
    }
    .roadmap {
    height: auto;
}
    .roadmap-content {
    width: 100%;
    margin: 0;
}
.location-right::after, .location-left::after {
    top: -20%;
    left: 50%;
}
.overlay-location-left, .overlay-location-right{
    display: none;
}
    .roadmap-item:nth-child(1), 
    .roadmap-item:nth-child(2),
    .roadmap-item:nth-child(3),
    .roadmap-item:nth-child(4),
    .roadmap-item:nth-child(5),
    .roadmap-item:nth-child(6),
    .roadmap-item:nth-child(7),
    .roadmap-item:nth-child(8){position: unset; margin-top: 2.5em}

    .roadmap-content p {
        font-size: 18px;
     }
     .roadmap-content span {
    font-size: 14px;
    margin: 1px;
/*    width: unset;*/
}
.content-span-box {
    width: 180px;
    height: 150px;
}
}
