
/*------------------------------------------------------------------
[24. Timeline]
*/
/*
  Adapted from Vertical Timeline by Sebastiano Guerriero
  http://codyhouse.co/gem/vertical-timeline/
*/
/* --------------------------------

Modules - reusable parts of our design

-------------------------------- */
.timeline-container {
    /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
    width: 90%;
    max-width: 1170px;
    margin: 0 auto;
}
.timeline-container::after {
    /* clearfix */
    content: '';
    display: table;
    clear: both;
}
.timeline-container.top-circle:before {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 99px;
    -webkit-border-radius: 99px;
    -moz-border-radius: 99px;
    background-color: #fff;
    z-index: 10;
}
/* --------------------------------

Main components

-------------------------------- */
.timeline {
    position: relative;
    padding: 3em 0 3em 0;
    margin-top: 0;
    margin-bottom: 2em;
}
.timeline::before {
    /* this is the vertical line */
    content: '';
    position: absolute;
    top: 0;
    left: 18px;
    height: 100%;
    width: 2px;
    background: rgba(255, 255, 255, 0);
}
@media only screen and (min-width: 1170px) {
    .timeline-container:not(.left) .timeline {
        margin-bottom: 3em;
    }
    .timeline-container:not(.left) .timeline::before {
        left: 50%;
        margin-left: -2px;
    }
}
.timeline-block {
    position: relative;
    margin: 2em 0;
}
.timeline-block:after {
    content: "";
    display: table;
    clear: both;
}
.timeline-block:first-child {
    margin-top: 0;
}
.timeline-block:last-child {
    margin-bottom: 0;
}
@media only screen and (min-width: 1170px) {
    .timeline-container:not(.left) .timeline .timeline-block {
        margin: 4em 0;
    }
    .timeline-container:not(.left) .timeline .timeline-block:first-child {
        margin-top: 0;
    }
    .timeline-container:not(.left) .timeline .timeline-block:last-child {
        margin-bottom: 0;
    }
}
.timeline-point {
    position: absolute;
    top: 12px;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    background: #b3b3b3;
    border: 2px solid #fff;
}
.timeline-point.small {
    height: 12px;
    margin-left: 13px;
    margin-top: 14px;
    width: 12px;
}
.timeline-point i {
    color: #fff;
    font-size: 14px;
    left: 50%;
    margin-left: -7px;
    margin-top: -7px;
    position: absolute;
    top: 50%;
}
.timeline-point.primary {
    background-color: #6d5cae;
}
.timeline-point.complete {
    background-color: #48b0f7;
}
.timeline-point.success {
    background-color: #10cfbd;
}
.timeline-point.info {
    background-color: #3b4752;
}
.timeline-point.danger {
    background-color: #f55753;
}
.timeline-point.warning {
    background-color: #f8d053;
}
@media only screen and (min-width: 1170px) {
    .timeline-container:not(.left) .timeline .timeline-point {
        left: 50%;
        margin-left: -21px;
        /* Force Hardware Acceleration in WebKit */
        -webkit-transform: translateZ(0);
        -webkit-backface-visibility: hidden;
    }
    .timeline-container:not(.left) .timeline .timeline-point.is-hidden {
        visibility: hidden;
    }
    .timeline-container:not(.left) .timeline .timeline-point.small {
        margin-left: -7px;
    }
    .timeline-container:not(.left) .timeline .timeline-point.bounce-in {
        visibility: visible;
        -webkit-animation: cd-bounce-1 0.6s;
        -moz-animation: cd-bounce-1 0.6s;
        animation: cd-bounce-1 0.6s;
    }
}
@-webkit-keyframes cd-bounce-1 {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.5);
    }
    60% {
        opacity: 1;
        -webkit-transform: scale(1.2);
    }
    100% {
        -webkit-transform: scale(1);
    }
}
@-moz-keyframes cd-bounce-1 {
    0% {
        opacity: 0;
        -moz-transform: scale(0.5);
    }
    60% {
        opacity: 1;
        -moz-transform: scale(1.2);
    }
    100% {
        -moz-transform: scale(1);
    }
}
@keyframes cd-bounce-1 {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.5);
        -moz-transform: scale(0.5);
        -ms-transform: scale(0.5);
        -o-transform: scale(0.5);
        transform: scale(0.5);
    }
    60% {
        opacity: 1;
        -webkit-transform: scale(1.2);
        -moz-transform: scale(1.2);
        -ms-transform: scale(1.2);
        -o-transform: scale(1.2);
        transform: scale(1.2);
    }
    100% {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}
.timeline-content {
    position: relative;
    margin-left: 60px;
}
.timeline-content:after {
    content: "";
    display: table;
    clear: both;
}
.timeline-content .card {
    margin-bottom: 0;
}
.timeline-content .event-date {
    display: inline-block;
    float: left;
    padding: .8em 0;
    opacity: .7;
    clear: both;
}
@media (max-width: 480px) {
    .timeline-container {
        width: 94%;
    }
}
@media only screen and (min-width: 1170px) {
    .timeline-container:not(.left) .timeline .timeline-content {
        margin-left: 0;
        width: 46%;
    }
    .timeline-container:not(.left) .timeline .timeline-content::before {
        top: 24px;
        left: 100%;
        border-color: transparent;
        border-left-color: white;
    }
    .timeline-container:not(.left) .timeline .timeline-content.is-hidden {
        visibility: hidden;
    }
    .timeline-container:not(.left) .timeline .timeline-content.bounce-in {
        visibility: visible;
        -webkit-animation: cd-bounce-2 0.6s;
        -moz-animation: cd-bounce-2 0.6s;
        animation: cd-bounce-2 0.6s;
    }
    .timeline-container:not(.left) .timeline .timeline-content .event-date {
        position: absolute;
        width: 100%;
        left: 118%;
        top: -2px;
        font-size: 16px;
        font-size: 1rem;
    }
    .timeline-container:not(.left) .timeline .timeline-content .event-date small {
        margin-top: 13px;
        display: block;
    }
    .timeline-container:not(.left) .timeline .timeline-content .event-date h6 + small {
        margin-top: 0;
    }
    .timeline-container:not(.left) .timeline .timeline-block:nth-child(odd) .timeline-content .card {
        float: right;
    }
    .timeline-container:not(.left) .timeline .timeline-block:nth-child(even) .timeline-content {
        float: right;
    }
    .timeline-container:not(.left) .timeline .timeline-block:nth-child(even) .timeline-content::before {
        top: 24px;
        left: auto;
        right: 100%;
        border-color: transparent;
        border-right-color: white;
    }
    .timeline-container:not(.left) .timeline .timeline-block:nth-child(even) .timeline-content .event-date {
        left: auto;
        right: 118%;
        text-align: right;
    }
}
@media only screen and (min-width: 1170px) {
    /* inverse bounce effect on even content blocks */
    .timeline-container:not(.left) .timeline .timeline-block:nth-child(even) .timeline-content.bounce-in {
        -webkit-animation: cd-bounce-2-inverse 0.6s;
        -moz-animation: cd-bounce-2-inverse 0.6s;
        animation: cd-bounce-2-inverse 0.6s;
    }
}
@-webkit-keyframes cd-bounce-2 {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-100px);
    }
    60% {
        opacity: 1;
        -webkit-transform: translateX(20px);
    }
    100% {
        -webkit-transform: translateX(0);
    }
}
@-moz-keyframes cd-bounce-2 {
    0% {
        opacity: 0;
        -moz-transform: translateX(-100px);
    }
    60% {
        opacity: 1;
        -moz-transform: translateX(20px);
    }
    100% {
        -moz-transform: translateX(0);
    }
}
@keyframes cd-bounce-2 {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-100px);
        -moz-transform: translateX(-100px);
        -ms-transform: translateX(-100px);
        -o-transform: translateX(-100px);
        transform: translateX(-100px);
    }
    60% {
        opacity: 1;
        -webkit-transform: translateX(20px);
        -moz-transform: translateX(20px);
        -ms-transform: translateX(20px);
        -o-transform: translateX(20px);
        transform: translateX(20px);
    }
    100% {
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }
}
@-webkit-keyframes cd-bounce-2-inverse {
    0% {
        opacity: 0;
        -webkit-transform: translateX(100px);
    }
    60% {
        opacity: 1;
        -webkit-transform: translateX(-20px);
    }
    100% {
        -webkit-transform: translateX(0);
    }
}
@-moz-keyframes cd-bounce-2-inverse {
    0% {
        opacity: 0;
        -moz-transform: translateX(100px);
    }
    60% {
        opacity: 1;
        -moz-transform: translateX(-20px);
    }
    100% {
        -moz-transform: translateX(0);
    }
}
@keyframes cd-bounce-2-inverse {
    0% {
        opacity: 0;
        -webkit-transform: translateX(100px);
        -moz-transform: translateX(100px);
        -ms-transform: translateX(100px);
        -o-transform: translateX(100px);
        transform: translateX(100px);
    }
    60% {
        opacity: 1;
        -webkit-transform: translateX(-20px);
        -moz-transform: translateX(-20px);
        -ms-transform: translateX(-20px);
        -o-transform: translateX(-20px);
        transform: translateX(-20px);
    }
    100% {
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }
}
.timeline-container.center .timeline {
    margin-top: 3em;
    margin-bottom: 3em;
}
.timeline-container.center .timeline::before {
    left: 50%;
    margin-left: -2px;
}
.timeline-container.center .timeline .timeline-point {
    left: 50%;
    margin-left: -21px;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
}
.timeline-container.center .timeline .timeline-point.is-hidden {
    visibility: hidden;
}
.timeline-container.center .timeline .timeline-point.small {
    margin-left: -7px;
}
.timeline-container.center .timeline .timeline-point.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-1 0.6s;
    -moz-animation: cd-bounce-1 0.6s;
    animation: cd-bounce-1 0.6s;
}
.timeline-container.center .timeline .timeline-content {
    margin-left: 0;
    width: 46%;
}
.timeline-container.center .timeline .timeline-content::before {
    top: 24px;
    left: 100%;
    border-color: transparent;
    border-left-color: white;
}
.timeline-container.center .timeline .timeline-content.is-hidden {
    visibility: hidden;
}
.timeline-container.center .timeline .timeline-content.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-2 0.6s;
    -moz-animation: cd-bounce-2 0.6s;
    animation: cd-bounce-2 0.6s;
}
.timeline-container.center .timeline .timeline-content .event-date {
    position: absolute;
    width: 100%;
    left: 118%;
    top: -2px;
    font-size: 16px;
    font-size: 1rem;
}
.timeline-container.center .timeline .timeline-content .event-date small {
    margin-top: 13px;
    display: block;
}
.timeline-container.center .timeline .timeline-content .event-date h6 + small {
    margin-top: 0;
}
.timeline-container.center .timeline .timeline-block:nth-child(odd) .timeline-content .card {
    float: right;
}
.timeline-container.center .timeline .timeline-block:nth-child(even) .timeline-content {
    float: right;
}
.timeline-container.center .timeline .timeline-block:nth-child(even) .timeline-content::before {
    top: 24px;
    left: auto;
    right: 100%;
    border-color: transparent;
    border-right-color: white;
}
.timeline-container.center .timeline .timeline-block:nth-child(even) .timeline-content .event-date {
    left: auto;
    right: 118%;
    text-align: right;
}
@media only screen and (min-width: 1170px) {
    .timeline-container.left {
        width: 60%;
        margin-left: 100px;
    }
}


/*extra*/

.timeline-point.inventa-stripped-point{
    padding-top:8px;
    color: #fff;
    background-color: rgba(255, 255, 255, 0);
    border-color: #fff;
    font-weight: bold;
}

.timeline-point:hover{
    background-color: white;
    color: #2c2c2c;
    border-color: white;
}

div.timeline-hover.inventa-stripped-point, div.timeline-hover.card-stripped  {
    background-color: white !important;
    color: #2c2c2c;
    border-color: white;
}

div.timeline-hover.card-stripped > h5  {
    color: #2c2c2c;
}

div.timeline-hover.card-stripped > h4  {
    color: #2c2c2c;
}

div.timeline-hover.card-stripped > h3  {
    color: #2c2c2c;
}

a:not(.collapsed) > div.timeline-point.inventa-stripped-point {
    background-color: #f5f5ff;
    color: #2c2c2c;
    border-color: white;
}

a:not(.collapsed) > .timeline-point.inventa-point{
    background-color: #252e7e;
    color: white;
    border-color: white;

}

a:not(.collapsed) > .card-header.card-stripped {
    background-color: rgb(245, 245, 255);
}

.card-header:hover>h5{
    color: white;
}

.card-header.card-stripped:hover>h5{
    color: #2c2c2c;
}

a:not(.collapsed) >.card-header.card-stripped > h5{
    color: #2c2c2c;
}

a:not(.collapsed) >.card-header .card-stripped > h5{
    color: #2c2c2c;
}

.card-header:hover>h4{
    color: white;
}

.card-header.card-stripped:hover>h4{
    color: #2c2c2c;
}

a:not(.collapsed) >.card-header.card-stripped > h4{
    color: #2c2c2c;
}

a:not(.collapsed) >.card-header .card-stripped > h4{
    color: #2c2c2c;
}

.card-header:hover>h3{
    color: white;
}

.card-header.card-stripped:hover>h3{
    color: #2c2c2c;
}

a:not(.collapsed) >.card-header.card-stripped > h3{
    color: #2c2c2c;
}

a:not(.collapsed) >.card-header .card-stripped > h3{
    color: #2c2c2c;
}

.card-header.card-stripped:hover{
    background-color: #ffffff !important;
}

a:not(.collapsed) >.card-header .card-stripped{
    background-color: #ffffff !important;
}