.timeline-itinerary {
    position: relative;
    padding: 10px;
    margin: 0 auto;
    overflow: hidden;
    color: #ffffff;
}
.timeline-itinerary:after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -1px;
    border-right: 3px solid #dfdfe0;
    height: 100%;
    display: block;
}
.timeline-itinerary .timeline-row {
    padding-left: 50%;
    position: relative;
    margin-bottom: 30px;
}
.timeline-itinerary .timeline-row h2 {
    position: absolute !important;
    right: 50% !important;
    top: 31px !important;
    text-align: right !important;
    margin-right: 20px !important;
    font-family: Proxima Nova !important;
    font-size: 14pt !important;
    text-transform: uppercase !important;
    color: #454545 !important;
}
.timeline-itinerary .timeline-row .timeline-content {
    position: relative;
    padding: 15px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
.timeline-itinerary .timeline-row .timeline-content:after {
    content: "";
    position: absolute;
    top: 20px;
    height: 3px;
    width: 40px;
}
.timeline-itinerary .timeline-row .timeline-content:before {
    content: "";
    position: absolute;
    top: 20px;
    right: -50px;
    width: 20px;
    height: 20px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    z-index: 100;
    background: #ea4b2c;
    border: 3px solid #23639d;
}
.timeline-itinerary .timeline-row .timeline-content .d-flex {
    border-bottom: solid 1px #dfdfe0;
    margin-bottom: 15px;
}
.timeline-itinerary .timeline-row .timeline-content .d-flex h3 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 150%;
    font-family: Proxima Nova;
    font-size: 14pt;
    text-transform: uppercase;
    color: #454545;
    font-weight: 700;
}
.timeline-itinerary .timeline-row .timeline-content .d-flex span {
    font-family: Proxima Nova;
    font-size: 14pt;
    padding: 4px 12px;
    background: #23639d;
    border-radius: 0.35rem;
    position: absolute;
    right: 15px;
    top: 7px;
}
.timeline-itinerary .timeline-row .timeline-content .into-tour span {
    font-family: Proxima Nova;
    font-size: 10pt;
    padding: 2px 8px;
    background: #23639d;
    border-radius: 0.35rem;
    color: white;
}
.timeline-itinerary .timeline-row:nth-child(odd) h2 {
    top: 20px;
}
.timeline-itinerary .timeline-row:nth-child(odd) .timeline-content {
    background-color: #eeeeee;
    margin-left: 40px;
    text-align: left;
    border: solid 1px #dfdfe0;
}
.timeline-itinerary .timeline-row:nth-child(odd) .timeline-content:after {
    left: -40px;
    border-right: 18px solid #dfdfe0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}
.timeline-itinerary .timeline-row:nth-child(odd) .timeline-content:before {
    left: -50px;
    right: initial;
}
.timeline-itinerary .timeline-row:nth-child(even) {
    padding-left: 0;
    padding-right: 50%;
}
.timeline-itinerary .timeline-row:nth-child(even) h2 {
    right: auto !important;
    left: 50% !important;
    text-align: left !important;
    margin-right: 0 !important;
    margin-left: 30px !important;
    top: 20px !important;
}
.timeline-itinerary .timeline-row:nth-child(even) .timeline-content {
    background-color: #eeeeee;
    margin-right: 40px;
    margin-left: 0;
    text-align: left;
    border: solid 1px #dfdfe0;
}
.timeline-itinerary .timeline-row:nth-child(even) .timeline-content:after {
    right: -40px;
    border-left: 18px solid #dfdfe0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}
@media (max-width: 767px) {
    .timeline-itinerary {
        padding: 15px 10px;
    }
    .timeline-itinerary:after {
        left: 28px;
    }
    .timeline-itinerary .timeline-row {
        padding-left: 0;
        margin-bottom: 16px;
    }
    .timeline-itinerary .timeline-row h2 {
        position: relative !important;
        right: auto !important;
        left: 0 !important;
        top: 0 !important;
        text-align: left !important;
        margin: 0 0 6px 56px !important;
    }
    .timeline-itinerary .timeline-row .timeline-content {
        padding: 15px;
        margin-left: 56px;
        position: relative;
    }
    .timeline-itinerary .timeline-row .timeline-content:after {
        right: auto;
        left: -39px;
        top: 32px;
    }
    .timeline-itinerary .timeline-row:nth-child(even) {
        padding-right: 0;
    }
    .timeline-itinerary .timeline-row:nth-child(even) .timeline-content:before, .timeline-itinerary .timeline-row:nth-child(odd) .timeline-content:before {
        top: 32px;
        left: -47px;
    }
    .timeline-itinerary .timeline-row:nth-child(even) .timeline-content, .timeline-itinerary .timeline-row:nth-child(odd) .timeline-content {
        margin-right: 0;
        margin-left: 55px;
    }
    .timeline-itinerary .timeline-row:nth-child(even) .timeline-content:after {
        right: auto !important;
        left: -39px !important;
        top: 32px !important;
        border-right: 18px solid #eeeeee !important;
        border-left: inherit !important;
    }
}
