/* -------------------------------- 

Primary style

-------------------------------- */

html * {
    /*-webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;*/
}

*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-size: 100%;
    color: #7f8c97;
    background-color: #F9F9F9;
}

.cd-container a {
    color: #333;
    text-decoration: none;
}

.cd-container img {
    max-width: 100%;
}

h1,
h2 {
    font-weight: bold;
}


/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */

.cd-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;
}

.cd-container::after {
    /* clearfix */
    content: '';
    display: table;
    clear: both;
}


/* -------------------------------- 

Main components 

-------------------------------- */

header {
    line-height: 150px;
    background: url(//cdn2.scriptcase.net/lib/../../download/img/texture.png) #eaedf2;
    padding-bottom: 50px;
}

header h1 {
    color: #5a5a5a;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

@media only screen and (min-width: 1170px) {
    header {
        line-height: 40px;
        padding-bottom: 30px;
    }
}

.cd-timeline {
    position: relative;
    padding: 2em 0;
    /*margin-top: 2em;
  margin-bottom: 2em;*/
}

.cd-timeline::before {
    /* this is the vertical line */
    content: '';
    position: absolute;
    top: 0;
    left: 18px;
    height: 100%;
    width: 4px;
    background: #EBEBEB;
}

@media only screen and (min-width: 1170px) {
    .cd-timeline {
        /*margin-top: 3em;
    margin-bottom: 3em;*/
    }
    .cd-timeline::before {
        left: 50%;
        margin-left: -2px;
    }
}

.content-version {
    background: #E9F0F5;
    box-shadow: inset 0px 11px 8px -10px #00000021, inset 0px -11px 8px -10px #00000021;
    padding: 30px 0px;
    margin: 30px 0px;
}

.content-version .timeline-year {
    background: #E9F0F5;
}

.content-version .timeline-year p,
.cd-timeline .timeline-year p,
.cd-timeline .timeline-year h2 a {
    color: #797c7e;
    margin: 15px 0px 0px;
}

.content-version .timeline-year a,
.cd-timeline .timeline-year a {
    font-size: 1.5rem;
    color: #808080;
    padding-bottom: 20px;
    display: block;
}

.content-version .timeline-year a:hover,
.cd-timeline .timeline-year a:hover {
    color: #808080;
}

.content-version .timeline-year h2,
.cd-timeline .timeline-year h2,
.cd-timeline .timeline-year h2 a,
.content-version .timeline-year h2 a {
    font-size: 3rem;
    font-weight: 100;
}

.content-version .timeline-year h2,
.cd-timeline .timeline-year h2 {
    color: #7f8c97;
}

.cd-timeline .timeline-year h2 a,
.content-version .timeline-year h2 a {
    color: #0275d8;
}

.cd-timeline .timeline-year h2 a:hover {
    font-size: 3rem;
    font-weight: 100;
    color: #38B3E1;
}

.cd-timeline-block {
    position: relative;
    margin: 2em 0;
}

.cd-timeline-block:after {
    content: "";
    display: table;
    clear: both;
}

.cd-timeline-block:first-child {
    margin-top: 0;
}

.cd-timeline-block:last-child {
    margin-bottom: 0;
}

i.fas.fa-external-link-alt {
    font-size: .8rem;
    margin-left: .6rem;
    top: -1px;
    position: relative;
}

.timeline-header {
    height: auto;
    padding: 10px 0 70px;
    margin: 0;
    line-height: 26px;
    background: white;
}

.timeline-header .container {
    margin: 0 auto;
}

@media only screen and (min-width: 1170px) {
    .cd-timeline-block {
        margin: 4em 0;
    }
    .cd-timeline-block:first-child {
        margin-top: 0;
    }
    .cd-timeline-block:last-child {
        margin-bottom: 0;
    }
}

.cd-timeline-img {
    position: absolute;
    top: 21px;
    left: 18px;
    width: 20px;
    height: 4px;
    border-radius: 0;
    background: #ebebeb !important;
}

.cd-timeline-img img {
    display: block;
    width: 24px;
    height: 24px;
    position: relative;
    left: 50%;
    top: 50%;
    margin-left: -12px;
    margin-top: -12px;
}

.cd-timeline-img.cd-picture {
    background: #75ce66;
}

.cd-timeline-img.cd-movie {
    background: #c03b44;
}

.cd-timeline-img.cd-location {
    background: #f0ca45;
}

.cd-container ul {
    list-style: none;
    padding-left: 0px;
}

.cd-container li {
    margin: 10px;
    margin-left: 20px;
    font-size: 14px;
    line-height: 22px;
}

.cd-container li:before {
    content: "-";
    /* Insert content that looks like bullets */
    padding-right: 8px;
}

.cd-container ul ul li:before {
    content: "•";
}

.cd-timeline-content .cd-date small {
    font-size: 50%;
    margin-left: 5px;
    font-weight: 400;
}

.cd-timeline-content .cd-date small span {
    font-size: 70%;
}

@media only screen and (min-width: 1170px) {
    .cd-timeline-img {
        width: 40px;
        height: 4px;
        left: 50%;
        margin-left: -20px;
        -webkit-transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        top: 30px;
    }
    .cssanimations .cd-timeline-img.is-hidden {
        visibility: hidden;
    }
    .cssanimations .cd-timeline-img.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-year {
    background: #f9f9f9;
    z-index: 999;
    position: relative;
    padding: 10px 0px;
    color: #38B3E1;
    font-size: 2rem;
    margin-left: -1rem;
    font-weight: 100;
}

.cd-timeline-content {
    position: relative;
    margin-left: 60px;
    border-radius: 0.25em;
    padding: 1em;
    background: #fff;
    -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.075);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.075);
}

.cd-timeline-content ul ul li {
    font-size: 12px;
    line-height: 15px;
    margin-top: -4px;
}

a.btn.btn-link {
    text-decoration: none;
    color: #3eb3e1;
    font-weight: 400;
    text-transform: none;
    font-size: 14px;
    margin-top: -4px !important;
    padding: 0px;
    white-space: normal;
    text-align: left;
    line-height: 23px;
}

a.btn.btn-link:hover {
    text-decoration: underline;
    color: #378fb3;
}

.cd-container li:before {
    padding-right: 10px;
    margin-left: -15px;
}

.cd-timeline-content ul ul {
    margin-left: 20px;
}

.cd-timeline-content ul ul li {
    font-size: 12px;
    line-height: 11px;
}

.cd-timeline-block .cd-timeline-content {
    margin-bottom: 30px;
    clear: both;
}

.cd-timeline-block {
    margin: 4em 0 2em;
}

.cd-timeline-content:after {
    content: "";
    display: table;
    clear: both;
}

.cd-timeline-content h3 {
    color: #38b3e1;
    font-weight: normal;
    margin-bottom: 20px;
}

.cd-timeline-content p,
.cd-timeline-content .cd-read-more,
.cd-timeline-content .cd-date {
    font-size: 13px;
    font-size: 0.8125rem;
}

.cd-timeline-content .cd-read-more,
.cd-timeline-content .cd-date {
    display: inline-block;
}

.cd-timeline-content p {
    margin: 1em 0;
    line-height: 1.6;
}

.cd-timeline-content .cd-read-more {
    float: right;
    padding: .8em 1em;
    border-radius: 0.25em;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.no-touch .cd-timeline-content .cd-read-more:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

.cd-timeline-content .cd-date {
    float: left;
    padding: .8em 0 0;
    opacity: .7;
}

.cd-timeline-content::before {
    content: '';
    position: absolute;
    top: 16px;
    right: 100%;
    height: 0;
    width: 0;
    border: 7px solid transparent;
    border-right: 7px solid white;
}

@media only screen and (min-width: 768px) {
    .cd-timeline-content h3 {
        font-size: 20px;
        font-size: 1.25rem;
    }
    .cd-timeline-content p {
        font-size: 16px;
        font-size: 1rem;
    }
    .cd-timeline-content .cd-read-more,
    .cd-timeline-content .cd-date {
        font-size: 14px;
        font-size: 1.2rem;
    }
}

.content-version .cd-timeline::before,
.content-version .cd-timeline-img {
    background: #a8c6d2 !important;
}

@media only screen and (min-width: 1170px) {
    .timeline-year {
        font-size: 3rem;
        margin-left: 0px;
        text-align: center;
    }
    .cd-timeline-content {
        margin-left: 0;
        padding: 1.6em;
        width: 45%;
    }
    .cd-timeline-content::before {
        top: 24px;
        left: 100%;
        border-color: transparent;
        border-left-color: white;
    }
    .cd-timeline-content .cd-read-more {
        float: left;
    }
    .cd-timeline-content .cd-date {
        position: absolute;
        width: 100%;
        left: 122%;
        top: 2px;
        font-size: 1.5rem;
        text-transform: uppercase;
        color: #333;
    }
    .cd-timeline-block:nth-child(even) .cd-timeline-content {
        float: right;
    }
    .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
        top: 24px;
        left: auto;
        right: 100%;
        border-color: transparent;
        border-right-color: white;
    }
    .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
        float: right;
    }
    .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
        left: auto;
        right: 122%;
        text-align: right;
    }
    .cssanimations .cd-timeline-content.is-hidden {
        visibility: hidden;
    }
    .cssanimations .cd-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;
    }
}

@media only screen and (min-width: 1170px) {
    /* inverse bounce effect on even content blocks */
    .cssanimations .cd-timeline-block:nth-child(even) .cd-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);
    }
}

@media only screen and (max-width: 767px) {
    header h1 {
        font-size: 1.5rem;
        padding: 2.5rem 15px 0px;
    }
    p.lead {
        line-height: normal;
        font-size: 1rem;
        padding: 0px 15px;
    }
    .cd-container ul {
        padding: 0px;
    }
    .timeline-year {
        padding: 10px 15px;
        font-size: 1.6rem;
    }
    .cd-timeline-content .cd-date {
        font-size: 1.2rem;
    }
    .cd-timeline-img,
    .cd-timeline::before {
        left: 0px;
    }
    .timeline-year p {
        margin-bottom: 0px;
    }
    .cd-timeline-content {
        margin-left: 30px;
    }
    .content-version .timeline-year a {
        font-size: 1.2rem;
    }
    .cd-timeline-content h3 {
        font-weight: 100;
    }
    a.btn {
        margin-bottom: 10px;
        white-space: normal;
        width: 100%;
    }
}

@media only screen and (max-width: 1170px) {
    .cd-timeline-content .cd-read-more,
    .cd-timeline-content .cd-date {
        font-size: 1.5rem;
        position: absolute;
        top: -60px;
        left: 0px;
    }
}