/* Media Queries */
/* Card sizing */
/* Colors */
/* Calculations */
/* Placeholders */

@media (min-width: 601px) {
    #timeline .card:nth-child(odd)::after, #timeline .card:nth-child(even)::after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
    }

    #timeline .card:nth-child(odd)::before, #timeline .card:nth-child(even)::before {
        position: absolute;
        content: "";
        width: 9px;
        height: 9px;
        background-color: #009fe3 !important;
        border-radius: 9px;
        box-shadow: 0px 0px 2px 8px #f7f7f7;
    }
}

.demo-card-wrapper, .demo-card-wrapper #timeline-event {
    position: relative;
    margin: auto;
}

@media (min-width: 993px) {
    .demo-card-wrapper {
        width: 100%;
        height: 100%;
    }
}

@media only screen and (min-width: 0) {
    #timeline .card {
        width: 100%;
        z-index: 2;
    }
}

@media (min-width: 601px) {
    .demo-card-wrapper #timeline-event::after {
        z-index: 1;
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        border-left: 5px solid rgb(109, 119, 123);
        margin-left: -2px;
        height: 50%;
    }

    .demo-card-wrapper #timeline-event::before {
        z-index: 1;
        content: "";
        position: absolute;
        top: calc(50%);
        bottom: 0;
        left: 50%;
        border-left: 5px solid rgb(109, 119, 123);
        margin-left: -2px;
        height: calc(50% + 15px);
    }

    .demo-card-wrapper #timeline-event:last-child::before {
        display: none;
    }

    #timeline .card-wrapper::after {
        border-left: 1px solid #bdbdbd;
    }
    
    #timeline .card {
        width: calc(50% - 50px);
    }
    
    #timeline ul {
        margin-top: -250px !important; 
    }
    
    #timeline ul:first-child { 
        margin-top : auto !important;
    }
    
    #timeline ul:nth-child(odd) .card::after {
        border-left-width: 15px;
        border-left-style: solid;
        left: 100%;
        top: calc(50% - 15px);
    }
    
    #timeline ul:nth-child(odd) .card::before {
        margin-left: calc(100% + 46px);
        top: calc(50% - 4px);
    }
    
    #timeline ul:nth-child(even) .card {
        margin-left: calc(50% + 50px);
    }
    
    #timeline ul:nth-child(even) .card::after {
        border-right-width: 15px;
        border-right-style: solid;
        right: 100%;
        top: calc(50% - 15px);
    }
    
    #timeline ul:nth-child(even) .card::before {
        right: calc(100% + 45px);
        top: calc(50% - 4px);
    }
}

.timeline-date-box {
    background: rgba(0, 0, 0, 0.17);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.timeline-date-box input {
    text-align: center;
}

.timeline-date-box .datepicker-modal .datepicker-container {
    position: relative;
}

.timeline-date-box .timepicker-modal .timepicker-container {
    position: relative;
}

.eventSubtitle {
    float:	right;
    color:	#9e9e9e;
}

.slideDate {
    float:  left;
    color:  #9e9e9e !important;
}

.project-add{
    margin: 10px;
    text-align: center;
}

.slider {
    height: 400px !important;
}

.slider .indicators {
    z-index: 2 !important;
}