/* Work Timeline */
/* ================ Timeline Media Queries ================ */

@media screen and (max-width: 660px) {
    .timeline {
        width: 100%;
        padding: 4em 0 1em 0;
    }
    .timeline li {
        padding: 1em 0;
    }
    .direction-r {
        float: none;
        width: 100%;
        text-align: left;
    }
    .flag {
        z-index: 15;
        color: black;
        display: block !important;
        left: 30px;
        border: 1px solid #aaa !important;
        border-left: 0px solid transparent !important;
    }
    .info {
        display: block !important;
        left: 30px !important;
        border: 1px solid #aaa !important;
        border-left: 0px solid transparent !important;
    }
    .title {
        display: block !important;
    }
    .time-wrapper {
        display: block;
        position: relative;
        margin: 4px 0 0 0;
        z-index: 14;
    }
    .direction-r .time-wrapper {
        float: none;
    }
    .desc {
        position: relative;
        margin: 1em 0 0 0;
        padding: 1em;
        background: rgb(245, 245, 245);
        -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.20);
        -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.20);
        box-shadow: 0 0 1px rgba(0, 0, 0, 0.20);
        z-index: 15;
    }
    .direction-r .desc {
        position: relative;
        margin: 1em 1em 0 1em;
        padding: 1em;
        z-index: 15;
    }
}
@media screen and (min-width: 400px ?? max-width: 660px) {
    .direction-r .desc {
        margin: 1em 4em 0 4em;
    }
}
/* Default sizing */

hr {
    background-color: black !important;
    float: center;
    z-index: 100;
}
.timeline {
    position: relative;
    width: 100%;
    margin: 0 auto;
    margin-top: 2px;
    padding: 1em 0;
    list-style-type: none;
}
.circle {
    position: relative;
    display: inline;
    left: -.5%;
    top: -3%;
    border: 4px solid #505050;
    border-radius: 2px;
    background: white;
    transition: all .2s ease-in-out;
    transform: scale(.7);
    z-index: 100;
}
.flag-wrapper:hover .circle {
    transform: scale(1);
}
.timeline:before {
    position: absolute;
    top: 0;
    content: ' ';
    display: block;
    width: 6px;
    height: 100%;
    margin-left: -3px;
    background: rgb(80, 80, 80);
    background: -moz-linear-gradient(top, rgba(80, 80, 80, 0) 0%, rgb(80, 80, 80) 8%, rgb(80, 80, 80) 92%, rgba(80, 80, 80, 0) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(30, 87, 153, 1)), color-stop(100%, rgba(125, 185, 232, 1)));
    background: -webkit-linear-gradient(top, rgba(80, 80, 80, 0) 0%, rgb(80, 80, 80) 8%, rgb(80, 80, 80) 92%, rgba(80, 80, 80, 0) 100%);
    background: -o-linear-gradient(top, rgba(80, 80, 80, 0) 0%, rgb(80, 80, 80) 8%, rgb(80, 80, 80) 92%, rgba(80, 80, 80, 0) 100%);
    background: -ms-linear-gradient(top, rgba(80, 80, 80, 0) 0%, rgb(80, 80, 80) 8%, rgb(80, 80, 80) 92%, rgba(80, 80, 80, 0) 100%);
    background: linear-gradient(to bottom, rgba(80, 80, 80, 0) 0%, rgb(80, 80, 80) 8%, rgb(80, 80, 80) 92%, rgba(80, 80, 80, 0) 100%);
    z-index: 5;
}
.timeline li {
    margin: 5px;
	color: #000 !important;
}
.timeline li:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.direction-r {
    position: relative;
    width: 100%;
    float: left;
}
.flag-wrapper {
    position: relative;
    display: inline-block;
    left: -25px;
    text-align: left;
    width: 100%;
    margin: 0px 0px;
}
.flag-wrapper a {
    text-decoration: none;
}
.flag {
    position: relative;
    display: inline-block;
    background: #BF1531;
    padding: 6px 18px;
    font-weight: 500;
    font-size: 14px;
    text-align: left;
	color: white;
  /*  color: rgb(211, 69, 69);*/
}
.direction-r .flag {
    border-bottom: solid 1px #aaa;
    border-top: solid 1px #aaa;
}
.direction-r .flag:before {
    left: -21px;
    top: 25px;
}
.direction-r .flag:after {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    height: 0;
    width: 0;
    margin-top: -8px;
    border: solid transparent;
    border-right-color: #BF1531;
    border-width: 8px;
    pointer-events: none;
}
.info {
    font-weight: 500;
    display: inline-block;
    position: relative;
    width: auto;
    white-space: nowrap;
    color: white;
    padding: 6px 18px;
    border-radius: 2px;
    font-size: 14px;
    background: #333;
    border-bottom: solid 1px #aaa;
    border-top: solid 1px #aaa;
}
.info:before {
    left: -21px;
    top: 25px;
}
.info:after {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    height: 0;
    width: 0;
    margin-top: -8px;
    border: solid transparent;
    border-right-color: #333;
    border-width: 8px;
    pointer-events: none;
}
.title {
    right: 5px;
    border-right: solid 1px #aaa;
    border-bottom-right-radius: 3em;
    border-top-right-radius: 3em;
}
.date {
    z-index: -3;
    left: 5px;
}
.desc {
    margin: 1em 0.75em 0 0;
    font-size: 0.77777em;
    font-style: italic;
    line-height: 1.5em;
}
.direction-r .desc {
    margin: 1em 0 0 0.75em;
}
.timeline .bullets ul {
    list-style-type: square;
    margin-left: -20px
}
.bullets li {
    padding-top: 2px;
    padding-bottom: 2px;
    color: #666666;
}
*/