html {
    font-family: 'Open Sans', sans-serif;
    width: 100%;
    height: 100%;
    overflow: hidden
}

body {
    overflow: hidden;
    background: #0f1b58;
}

a {
    text-decoration: none
}

a:hover {
    background-color: inherit;
    text-decoration: overline;
}

table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    outline: 0;
    vertical-align: baseline;
    background: transparent
}

tbody tr:nth-child(odd) td, tbody tr:nth-child(odd) th {
    background-color: inherit
}

.footer{
  text-align: center;
}
.container {
    position: absolute;
    display: table;
    width: 90%;
    height: 100%;
    margin-top: -3rem;
    margin-left: 5%;
    overflow: hidden;
    z-index: 10
}

.home-main {
    display: table-cell;
    vertical-align: middle
}

.home-header {
    margin-bottom: .3rem
}

.home-name {
    margin-bottom: .2rem;
    color: #fff;
    font-size: 38pt;
    font-weight: 300
}

.home-subtitle {
    color: #f2f2f2;
    font-size: 18pt;
    font-weight: 300;
    font-style: italic
}

.home-subtitle a {
    color: inherit
}

.home-nav {
    font-size: 17pt
}

.home-nav td {
    padding-top: 0px;
    padding-left: 0px;
    padding-bottom: 0px
}

.home-nav td.home-nav-primary {
    padding-right: 2rem
}

.home-nav-primary a {
    color: #000000;
    font-weight: 300
}

.home-nav-secondary a {
    font-weight: 300;
    color: #ffffff
}

.home-nav-secondary span:after {
    content: ' |';
    color: #ffffff
}

.home-nav-secondary span:last-of-type:after {
    content: ''
}

@media only screen and (max-device-width: 640px) {
    .home-name {
        font-size: 30pt
    }
    .home-subtitle {
        font-size: 14pt
    }
    .home-nav {
        font-size: 13pt
    }
}

@media only screen and (max-device-width: 1080px) and (-webkit-device-pixel-ratio: 3) {
    .home-name {
        font-size: 30pt
    }
    .home-subtitle {
        font-size: 14pt
    }
    .home-nav {
        font-size: 13pt
    }
}


/* -------------------------------------
 * For horizontal version, set the
 * $vertical variable to false
 * ------------------------------------- */
/* -------------------------------------
 * General Style
 * ------------------------------------- */
@import url(http://fonts.googleapis.com/css?family=Open+Sans);
body {
  padding: 0px;
  font-size: 100%;
  font-family: "Open Sans", sans-serif;
  color: #1f3d7a;
  background: #f2f2f2;
}
#timeline-limit {
  max-width:750px;
  padding: 0 5%;
  margin:auto;
}
/* -------------------------------------
 * timeline
 * ------------------------------------- */
#timeline {
  list-style: none;

  margin: 30px 0 30px 100px;
  padding-left: 50px;
  border-left: 8px solid #1f3d7a;
}
#timeline li {
  margin: 40px 0;
  position: relative;
}

.date {
  margin-top: -10px;
  top: 50%;
  left: -240px;
  font-size: 0.95em;
  line-height: 20px;
  position: absolute;
}

.circle {
  margin-top: -10px;
  top: 50%;
  left: -64px;
  width: 10px;
  height: 10px;
  background: #f2f2f2;
  border: 5px solid #1f3d7a;
  border-radius: 50%;
  display: block;
  position: absolute;
}

.content {
  max-height: 0px;
  padding: 50px 20px 0;
  padding-top: 85px;
  border-color: transparent;
  border-width: 2px;
  border-style: solid;
  border-radius: 0.5em;
  position: relative;
  border-color: #1f3d7a
}
.content:before, .content:after {
  content: "";
  width: 0;
  height: 0;
  border: solid transparent;
  position: absolute;
  pointer-events: none;
  right: 100%;
}
.content:before {
  border-right-color: inherit;
  border-width: 20px;
  top: 50%;
  margin-top: -20px;
}
.content:after {
  border-right-color: #f2f2f2;
  border-width: 17px;
  top: 50%;
  margin-top: -17px;
}
.content p {
  max-height: 0px;
  color: transparent;
  text-align: justify;
  padding-left:0px;
  padding-bottom:5px;
  margin-top:0px;
  font-size:0px;
}
#title {
  font-size: 1.3em;
  position: absolute;
  z-index: 100;
  cursor: pointer;
  top: 20px;
  padding-left: 20px;
  float:left;
  transition: transform 0.2s linear;
}

#subtitle {
  font-size: 1.0em;
  position: absolute;
  z-index: 100;
  cursor: pointer;
  top: 48px;
  padding-left: 20px;
  float:left;
  transition: transform 0.2s linear;
}

#logos {
  padding-left:60%;
  padding-top: 3%;
  padding-right:7%;
  /*display:block;*/
  max-width: 300px;
  float:right;
  z-index: 100;
  cursor: pointer;
  transition: transform 0.2s linear;
}

.radio {
  display: none;
}

.radio:checked + .relative .circle {
  background: #f98262;
}

.radio:checked + .relative #title {
  cursor: auto;
  transform: translateX(20px);
}

.radio:checked + .relative #subtitle {
  cursor: auto;
  transform: translateX(20px);
}

.radio:checked + .relative #logos {
  cursor: auto;
  transform: translateX(20px);
}

.radio:checked ~ .content {
  max-height: 200px;
  border-color: #1f3d7a;
  /*margin-right: 20px;*/
  transform: translateX(20px);
  transition: max-height 0.4s linear, border-color 0.5s linear, transform 0.2s linear;
}
.radio:checked ~ .content p {
  max-height: 200px;
  color: #1f3d7a;
  font-size: 16px;
  transition: color 0.3s linear 0.3s;
}

/* Smaler screens... */
@media screen and (max-width: 767px) {
  #timeline {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }
  #timeline li {
    margin: 30px 0;
  }

  .title {
    width: 85%;
    font-size: 1.1em;
    white-space: nowrap;
    display: block;
    /*transform: translateX(18px);*/
  }

  .subtitle {
    padding-bottom:5px;
  }

  .content {
    padding-top: 75px;
    border-color: #1f3d7a;
    padding-bottom:5px;

  }
  .content:before, .content:after {
    border: solid transparent;
    bottom: 100%;
  }

  .content p {
    font-size: 0.9em;
    line-height: 1.4;
    padding-left:0px;
    padding-top:30px;
  }

  #logos {
  padding-left:60%;
  padding-top: 25px;
  padding-right:7%;
  display:block;
  max-width: 100px;
  float:right;
  transition: transform 0.2s linear;
  }

  .radio:checked ~ .content {
  max-height: 275px;
  }
  .radio:checked ~ .content p {
    max-height: 275px;
  }

  .circle, .date{
    display: none;
  }
}

/* What year is it */
@media screen and (max-width: 460px) {
  #logos {
    display:none;
  }
  .radio:checked ~ .content {
    transition:none;
    transform:none;
  }
  .radio:checked ~ .content p {
    display:none;
    transition:none;
    font-size:0px;
  }
  #title {
    transition:none;
    cursor: default;
  }
  #subtitle {
    transition:none;
    cursor: default;
  }
  .radio:checked + .relative #title {
    cursor: auto;
    transform: translateX(0px);
  }

  .radio:checked + .relative #subtitle {
    cursor: auto;
    transform: translateX(0px);
  }
}


/* ---- reset ---- */

body {
    margin: 0;
    font: normal 75% Arial, Helvetica, sans-serif;
}

canvas {
    display: block;
    vertical-align: bottom;
}


/* ---- particles.js container ---- */

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000;
    background: #525252; /* fallback for old browsers */
/*background: -webkit-linear-gradient(to left, #525252 , #3d72b4);
background: linear-gradient(to left, #525252 , #3d72b4);*/


    background-image: url("http://www.magic4walls.com/wp-content/uploads/2014/03/city-night-atlanta-fog-tower-skyscaper-photo-hd-wallpaper.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}
