﻿.timeline-container {
    font-family: 'Open Sans','Roboto', Helvetica, Arial, sans-serif; /* Open Sans added for better and clear reading */
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #555e69;
    background-color: #ffffff;
    padding-left:40px;
}

.timeline:before {
    position: absolute;
    top: 10px;
    left: 35px;
    width: 2px;
    height: 100%;
    content: '';
    background: #d7d7d7;
}

.timeline {
    position: relative;
    padding-top: 10px;
}

.timeline-block {
    position: relative;
}

.timeline-title {
    line-height: 30px;
}

.timeline-title span {
    background-color: #2e8ece;
    color: #fff;
    padding: 7px 15px 6px;
}

.timeline-content {
    position: relative;
    margin-top: 30px;
    margin-bottom: 50px;
    margin-left: 65px;
}

.timeline-point {
    position: absolute;
    top: 50%;
    left: -39px;
    width: 20px;
    height: 20px;
    margin-top: -8px;
    border: 3px solid #ffffff;
    background-color: #ffffff;
}

    .timeline-point:before {
        position: absolute;
        top: 5px;
        left: 16px;
        width: 80px;
        height: 2px;
        content: '';
        background-color: #d7d7d7;
    }

    .timeline-point i {
        font-size: 15px;
        position: absolute;
        top: -1px;
        left: 1px;
        color: #d7d7d7;
    }

.timeline-custom-col {
    position: relative;
    float: left;
    width: 48%;
    min-height: 1px;
    margin-left: 2%;
    padding-right: 15px;
    padding-left: 15px;
}

    .timeline-custom-col:before {
        position: absolute;
        top: 50%;
        left: -40px;
        width: 0;
        height: 2px;
        content: '';
        background-color: #d7d7d7;
    }

    .timeline-custom-col.image-col::before {
        width: 15%;
    }



.timeline-location-block {
    position: relative;
    min-height: 250px;
    padding: 30px 30px 20px 69px;
    border-right: 2px solid #ffffff;
    background-color: #fafafa;
}

    .timeline-location-block .location-name {
        font-size: 16px;
        font-weight: bold;
        position: relative;
        text-transform: capitalize;
    }
        .timeline-location-block .location-name .icon-marker {
            position: absolute;
            top: -5px;
            left: -40px;
            width: 32px;
            height: 32px;
            padding: 1%;
            border: 1px solid;
            border-radius: 50%;
        }
            .timeline-location-block .location-name .icon-marker:before {
                position: absolute;
                top: 50%;
                left: 50%;
                -webkit-transform: translate(-50%, -50%);
                -moz-transform: translate(-50%, -50%);
                -ms-transform: translate(-50%, -50%);
                transform: translate(-50%, -50%);
            }
    .timeline-location-block .description {
        margin-bottom: 0;
    }


.timeline-custom-col.image-col:before {
    left: -40px;
}

.timeline-image-block {
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    border-left: 2px solid #ffffff;
}

    .timeline-image-block img {
        width: 100%;
        height: 100%;
        -webkit-transition: all .4s ease;
        -moz-transition: all .4s ease;
        -o-transition: all .4s ease;
        transition: all .4s ease;
    }


.info-testimonial > div {
    padding-left:25px;
}

.em_comentario_autor_left {
    padding-right:25px;
}


/* Responsive Design */

@media screen and (max-width: 1199px) {
    .timeline-custom-col.image-col:before {
        left: -40px;
    }
    .timeline-location-block .location-name {
        margin-bottom: 15px; /* Added to decrease distance between title and description in big screens*/
    }
}

@media screen and (max-width: 991px) {

    .timeline-book-block {
        margin-top: 30px;
    }
}


@media screen and (max-width: 768px) {
    .timeline:before {
        height: 90%;
    }

    .timeline-content {
        margin-top: 25px;
        margin-bottom: 40px;
        margin-left: 95px;
    }

    .timeline-custom-col {
        float: none;
        width: 100%;
        margin-left: 0;
    }

        .timeline-custom-col.image-col:before {
            width: 0;
        }

    .timeline-location-block,
    .timeline-image-block {
        border: 0;
    }

    .timeline-location-block {
        min-height: 0;
    }

    .timeline-point {
        left: -69px;
    }

    .timeline-image-block {
        height: auto;
    }
}

@media screen and (max-width: 600px) {
    
    .timeline-container {
        font-size: 12px; /* Added to change font-size from 16px to 12px to fit better in small resolution cellphones screens */
        padding-left:0px; /* Added to move the container block to the left to be aligned to rest of the content */
    }
    
    .timeline-content {
        margin-top: 20px;
        margin-bottom: 30px;
        margin-left: 65px;
    }

    .timeline-point {
        left: -39px;
    }

    .timeline-custom-col {
        width: 100%;
    }

        .timeline-custom-col:before {
            left: -4px;
        }


    .timeline:before {
        height: 85%;
    }

    .timeline-location-block {
        min-height: 0;
        padding: 15px 20px;
    }

    
    .timeline-location-block .location-name {
        font-size: 14px; /* Added to change decrease the font of title to fit in small cellphones screens */
        margin-bottom: 5px; /* Added to decrease distance between title and description */
    }

        .timeline-location-block .location-name .icon-marker {
            font-size: 20px;
            right: 0;
            left: auto;
            border: 0;
        }
}

@media screen and (max-width: 414px) {

    .timeline-container {
        font-size: 12px; /* Added to change font-size from 16px to 12px to fit better in small resolution cellphones screens */
        padding-left:0px; /* Added to move the container block to the left to be aligned to rest of the content */

    }
    
    .timeline:before {
        height: 90%;
    }

    .timeline-title {
        margin-bottom: -1px;
    }

    .timeline-content {
        margin: 0 0 40px 0; /* Increased marging from 30px to 40px to increase photo and day itinerary distance */
    }

    .timeline-custom-col:before {
        width: 0;
    }

    .timeline-point {
        display: none;
    }

    .timeline-book-block {
        margin-top: 0;
    }

    .timeline-location-block .location-name {
        font-size: 14px; /* Added to change decrease the font of title to fit in small cellphones screens */
        margin-bottom: 5px; /* Added to decrease distance between title and description */
    }

    /*
    .timeline-location-block {
        padding-bottom: 0px; /* Dicrease distance between photo and text 
    }
*/    
}

@media screen and (max-width: 320px) {
    
    .timeline-container {
        font-size: 12px; /* Added to change font-size from 16px to 12px to fit better in small resolution cellphones screens */
        padding-left:0px; /* Added to move the container block to the left to be aligned to rest of the content */
    }
    
    .timeline:before {
        height: 81%;
    }

    .timeline-title {
        margin-bottom: -1px;
    }

    .timeline-content {
        margin: 0 0 40px 0; /* Increased marging from 30px to 40px to increase photo and day itinerary distance */
    }

    .timeline-custom-col:before {
        width: 0;
    }

    .timeline-point {
        display: none;
    }

    .timeline-book-block {
        margin-top: 0;
    }

    .timeline-location-block .location-name {
        font-size: 14px; /* Added to change decrease the font of title to fit in small cellphones screens */
        margin-bottom: 5px; /* Added to decrease distance between title and description */
    }

}

