﻿.demo {
    padding: 100px 0;
}

.heading-title {
    margin-bottom: 100px;
}

.main-timeline {
    position: relative;
}

.main-timeline:before,
.main-timeline:after {
content: "";
display: block;
width: 100%;
clear: both;
}

.main-timeline:before {
width: 2px;
height: 100%;
background: #e5e9ed;
margin: 0 auto;
position: absolute;
top: 0;
left: 0;
right: 0;
}

.main-timeline .timeline {
width: 50%;
padding-right: 30px;
float: left;
position: relative;
}

.main-timeline .timeline:last-child {
    margin-bottom: 0;
}

.main-timeline .timeline:after {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e5e9ed;
    position: absolute;
    top: 0;
    right: -6px;
    transition: all 0.3s ease 0s;
}

.main-timeline .timeline:hover:after {
    background: #e3b457;
    transform: scale(1.3);
}

.main-timeline .timeline-content {
padding: 50px 40px;
background: #e5e9ed;
position: relative;
transition: all 0.3s ease 0s;
}

.main-timeline .timeline-content:hover {
    background: #e3b457;
}

.main-timeline .timeline-content:after {
    content: "";
    border-top: 30px solid #e5e9ed;
    border-right: 15px solid transparent;
    position: absolute;
    top: 0;
    right: -15px;
    transition: all 0.3s ease 0s;
}

.main-timeline .timeline-content:hover:after {
    border-top-color: #e3b457;
}

.main-timeline .timeline-page {
display: block;
font-size: 24px;
color: #e3b457;
line-height: 32px;
margin: 0;
transition: all 0.3s ease 0s;
}

.main-timeline .timeline-profile {
display: block;
font-size: 20px;
color: #22272c;
padding-bottom: 8px;
margin: 8px 0 15px 0;
position: relative;
}

.main-timeline .timeline-profile:after {
    content: "";
    display: block;
    width: 30px;
    border-top: 2px solid #22272c;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all 0.3s ease 0s;
}

.main-timeline .timeline-content:hover .timeline-profile:after {
border-top-color: #fff;
}

.main-timeline .title {
font-size: 18px;
font-weight: 500;
color: #e3b457;
text-transform: capitalize;
transition: all 0.3s ease 0s;
}

.main-timeline .description {
font-size: 14px;
color: #7a7e82;
line-height: 25px;
}

.main-timeline .timeline-content:hover .timeline-page,
.main-timeline .timeline-content:hover .title,
.main-timeline .timeline-content:hover .description {
color: #fff;
}

.main-timeline .timeline:nth-child(2n) {
padding: 0 0 0 30px;
margin-top: 225px;
}

.main-timeline .timeline:nth-child(2n):after {
    right: auto;
    left: -6px;
}

.main-timeline .timeline:nth-child(2n) .timeline-content:after {
    border-left: 15px solid transparent;
    border-right: none;
    left: -15px;
    right: auto;
}

.timeline .timeline-content {
    overflow-x: hidden;
    overflow-y: auto;
}

.timeline-content-img-div {
    padding: 0px;
    padding-right: 15px;
}

.timeline-content-img {
    width: 100%;
}

.timeline-content-div {
    padding: 0px;
}

.timeline-content-img {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.timeline-content-img:hover {
    opacity: 0.7;
}






#modal-body-img {
    max-width: 100%;
}

.modal-open .modal {
    background-color: rgba(0,0,0,0.4);
}

.modal-open .modal-body {
    padding: 0px;
}

.modal-open button.close {
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: #000;
    opacity: 1;
    color: #fff;
    z-index: 999;
    right: -12px;
    top: -12px;
    border-radius: 50%;
    font-size: 15px;
    border: 2px solid #fff;
    line-height: 25px;
    -webkit-box-shadow: 0 0 1px 1px rgba(0,0,0,0.35);
    box-shadow: 0 0 1px 1px rgba(0,0,0,0.35);
}

    .modal-open button.close:focus {
        outline: none;
    }

    .modal-open button.close span {
        position: relative;
        top: -3px;
        font-weight: lighter;
        text-shadow: none;
    }

.modal-dialogue {
    width: 80%;
}

.modal-description {
    position: relative;
    height: 40px;
    top: -40px;
    padding: 10px 25px;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    text-align: left;
}

    .description h4 {
        margin: 0px;
        font-size: 15px;
        font-weight: 300;
        line-height: 20px;
    }

.modal.fade .modal-dialog {
    -webkit-transform: scale(0.1);
    -moz-transform: scale(0.1);
    -ms-transform: scale(0.1);
    transform: scale(0.1);
    top: 100px;
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.modal.fade.in .modal-dialog {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transform: translate3d(0, -100px, 0);
    transform: translate3d(0, -100px, 0);
    opacity: 1;
}

@media (min-width: 768px) {
    .modal-dialog {
        width: 55%;
        margin: 50px auto;
    }
}

@media (max-width: 768px) {
    .modal-content {
        height: 250px;
    }
}




@media only screen and (max-width: 767px) {
    .main-timeline:before {
        margin: 0;
        left: 0;
    }

    .main-timeline .timeline {
        width: 100%;
        float: none;
        padding: 0 0 0 30px;
        margin-bottom: 20px;
    }

        .main-timeline .timeline:after {
            right: auto;
            left: -6px;
        }

    .main-timeline .timeline-content {
        padding: 20px;
    }

    .main-timeline .timeline-content:after {
        border-left: 15px solid transparent;
        border-right: none;
        left: -15px;
        right: auto;
    }

    .main-timeline .timeline:nth-child(2n) {
        margin-top: 0;
    }

    .timeline-content-img-div {
        margin-bottom: 25px;
        text-align: center;
    }


}@charset "utf-8";

@media only screen and (min-width: 768px) {  /* SM */


}

@media only screen and (min-width: 992px) { /* SM */


}

@media only screen and (min-width: 1200px) { /* LG */


}


    /* CSS Document */

