#sidebar+#wrapper {
  margin-left: 18em;
}

.timeline-centered {
  margin-left: -40px;
  list-style: none;
  text-align: left;
}

@media screen and (max-width: 1280px) {

  #sidebar+#wrapper {
    margin-left: 0;
    padding-top: 5em;
  }

}

@media screen and (max-width: 736px) {

  #sidebar+#wrapper {
    padding-top: 5em;
  }

}

#header+#wrapper>.wrapper>.inner {
  margin: 0 auto;
}

/* Sidebar */

#sidebar {
  padding: 2.5em 2.5em 0.5em 2.5em;
  background: #521f1f;
  cursor: default;
  height: 100vh;
  left: 0;
  overflow-x: hidden;
  overflow-y: auto;
  position: fixed;
  text-align: center;
  top: 0;
  width: 18em;
  z-index: 10000;
}

#sidebar>.inner {
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -moz-flex-direction: column;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -moz-justify-content: center;
  -webkit-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  -moz-transform: translateY(0);
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  -moz-transition: opacity 1s ease;
  -webkit-transition: opacity 1s ease;
  -ms-transition: opacity 1s ease;
  transition: opacity 1s ease;
  min-height: 100%;
  opacity: 1;
  width: 100%;
}

body.is-ie #sidebar>.inner {
  height: 100%;
}

#sidebar .logo {
  width: 100px;
  margin: 0 auto 100px;
}

#sidebar nav>ul {
  list-style: none;
  padding: 0;
}

#sidebar nav>ul>li {
  -moz-transform: translateY(0);
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  -moz-transition: opacity 0.15s ease, -moz-transform 0.75s ease;
  -webkit-transition: opacity 0.15s ease, -webkit-transform 0.75s ease;
  -ms-transition: opacity 0.15s ease, -ms-transform 0.75s ease;
  transition: opacity 0.15s ease, transform 0.75s ease;
  margin: 1.5em 0 0 0;
  opacity: 1;
  padding: 0;
  position: relative;
}

#sidebar nav>ul>li:first-child {
  margin: 0;
}

#sidebar nav>ul>li:nth-child(1) {
  -moz-transition-delay: 0.45s;
  -webkit-transition-delay: 0.45s;
  -ms-transition-delay: 0.45s;
  transition-delay: 0.45s;
}

#sidebar nav>ul>li:nth-child(2) {
  -moz-transition-delay: 0.65s;
  -webkit-transition-delay: 0.65s;
  -ms-transition-delay: 0.65s;
  transition-delay: 0.65s;
}

#sidebar nav>ul>li:nth-child(3) {
  -moz-transition-delay: 0.85s;
  -webkit-transition-delay: 0.85s;
  -ms-transition-delay: 0.85s;
  transition-delay: 0.85s;
}

#sidebar nav>ul>li:nth-child(4) {
  -moz-transition-delay: 1.05s;
  -webkit-transition-delay: 1.05s;
  -ms-transition-delay: 1.05s;
  transition-delay: 1.05s;
}

#sidebar nav>ul>li:nth-child(5) {
  -moz-transition-delay: 1.25s;
  -webkit-transition-delay: 1.25s;
  -ms-transition-delay: 1.25s;
  transition-delay: 1.25s;
}

#sidebar nav>ul>li:nth-child(6) {
  -moz-transition-delay: 1.45s;
  -webkit-transition-delay: 1.45s;
  -ms-transition-delay: 1.45s;
  transition-delay: 1.45s;
}

#sidebar nav>ul>li:nth-child(7) {
  -moz-transition-delay: 1.65s;
  -webkit-transition-delay: 1.65s;
  -ms-transition-delay: 1.65s;
  transition-delay: 1.65s;
}

#sidebar nav>ul>li:nth-child(8) {
  -moz-transition-delay: 1.85s;
  -webkit-transition-delay: 1.85s;
  -ms-transition-delay: 1.85s;
  transition-delay: 1.85s;
}

#sidebar nav>ul>li:nth-child(9) {
  -moz-transition-delay: 2.05s;
  -webkit-transition-delay: 2.05s;
  -ms-transition-delay: 2.05s;
  transition-delay: 2.05s;
}

#sidebar nav>ul>li:nth-child(10) {
  -moz-transition-delay: 2.25s;
  -webkit-transition-delay: 2.25s;
  -ms-transition-delay: 2.25s;
  transition-delay: 2.25s;
}

#sidebar nav>ul>li:nth-child(11) {
  -moz-transition-delay: 2.45s;
  -webkit-transition-delay: 2.45s;
  -ms-transition-delay: 2.45s;
  transition-delay: 2.45s;
}

#sidebar nav>ul>li:nth-child(12) {
  -moz-transition-delay: 2.65s;
  -webkit-transition-delay: 2.65s;
  -ms-transition-delay: 2.65s;
  transition-delay: 2.65s;
}

#sidebar nav>ul>li:nth-child(13) {
  -moz-transition-delay: 2.85s;
  -webkit-transition-delay: 2.85s;
  -ms-transition-delay: 2.85s;
  transition-delay: 2.85s;
}

#sidebar nav>ul>li:nth-child(14) {
  -moz-transition-delay: 3.05s;
  -webkit-transition-delay: 3.05s;
  -ms-transition-delay: 3.05s;
  transition-delay: 3.05s;
}

#sidebar nav>ul>li:nth-child(15) {
  -moz-transition-delay: 3.25s;
  -webkit-transition-delay: 3.25s;
  -ms-transition-delay: 3.25s;
  transition-delay: 3.25s;
}

#sidebar nav>ul>li:nth-child(16) {
  -moz-transition-delay: 3.45s;
  -webkit-transition-delay: 3.45s;
  -ms-transition-delay: 3.45s;
  transition-delay: 3.45s;
}

#sidebar nav>ul>li:nth-child(17) {
  -moz-transition-delay: 3.65s;
  -webkit-transition-delay: 3.65s;
  -ms-transition-delay: 3.65s;
  transition-delay: 3.65s;
}

#sidebar nav>ul>li:nth-child(18) {
  -moz-transition-delay: 3.85s;
  -webkit-transition-delay: 3.85s;
  -ms-transition-delay: 3.85s;
  transition-delay: 3.85s;
}

#sidebar nav>ul>li:nth-child(19) {
  -moz-transition-delay: 4.05s;
  -webkit-transition-delay: 4.05s;
  -ms-transition-delay: 4.05s;
  transition-delay: 4.05s;
}

#sidebar nav>ul>li:nth-child(20) {
  -moz-transition-delay: 4.25s;
  -webkit-transition-delay: 4.25s;
  -ms-transition-delay: 4.25s;
  transition-delay: 4.25s;
}

#sidebar nav a {
  -moz-transition: color 0.2s ease;
  -webkit-transition: color 0.2s ease;
  -ms-transition: color 0.2s ease;
  transition: color 0.2s ease;
  border: 0;
  color: rgba(255, 255, 255, 0.45);
  display: block;
  font-size: 0.9em;
  font-weight: 300;
  letter-spacing: 0.25em;
  line-height: 1.75;
  outline: 0;
  padding: 0.5em 0;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
}

#sidebar nav a:hover {
  color: rgba(255, 255, 255, 0.75);
}

#sidebar nav a.active {
  color: #ffffff;
}

#sidebar nav a.active:after {
  max-width: 100%;
}

@media screen and (max-width: 1280px) {

  #sidebar {
    height: 5em;
    left: 0;
    line-height: 5em;
    overflow: hidden;
    padding: 0;
    text-align: center;
    top: 0;
    width: 100%;
  }

  #sidebar>.inner {
    -moz-flex-direction: row;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -moz-align-items: -moz-stretch;
    -webkit-align-items: -webkit-stretch;
    -ms-align-items: -ms-stretch;
    align-items: stretch;
    height: inherit;
    line-height: inherit;
  }

  #sidebar .logo {
    height: 4em;
    width: auto;
    margin: 0.5em 30px 0.5em 0;
  }

  #sidebar nav {
    height: inherit;
    line-height: inherit;
  }

  #sidebar nav ul {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    height: inherit;
    line-height: inherit;
    margin: 0;
  }

  #sidebar nav ul li {
    display: block;
    height: inherit;
    line-height: inherit;
    margin: 0 0 0 2em;
    padding: 0;
  }

  #sidebar nav a {
    height: inherit;
    line-height: inherit;
    padding: 0;
  }

  #sidebar nav a:after {
    background-image: none;
    background-color: #b74e91;
  }

}

@media screen and (max-width: 736px) {}


.timeline {
  line-height: 1.4em;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.timeline h1,
.timeline h2,
.timeline h3,
.timeline h4,
.timeline h5,
.timeline h6 {
  line-height: inherit;
}

.timeline-item h3 {
  margin: 1px;
}

/*----- TIMELINE ITEM -----*/
.timeline-item {
  padding-left: 40px;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

/*----- TIMELINE INFO -----*/
.timeline-info {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 1px 0 .5em 0;
  text-transform: uppercase;
  white-space: nowrap;
}

/*----- TIMELINE MARKER -----*/
.timeline-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 15px;
}

.timeline-marker:before {
  background: #be2121;
  border: 3px solid transparent;
  border-radius: 100%;
  content: "";
  display: block;
  height: 15px;
  position: absolute;
  top: 4px;
  left: 0;
  width: 15px;
  transition: background 0.3s ease-in-out, border 0.3s ease-in-out;
}

.timeline-marker:after {
  content: "";
  width: 3px;
  background: #CCD5DB;
  display: block;
  position: absolute;
  top: 24px;
  bottom: 0;
  left: 6px;
}

.timeline-item:last-child .timeline-marker:after {
  content: none;
}

.timeline-item:not(.period):hover .timeline-marker:before {
  background: transparent;
  border: 3px solid #be2121;
}

/*----- TIMELINE CONTENT -----*/
.timeline-content {
  padding-bottom: 40px;
}

.timeline-content p:last-child {
  margin-bottom: 0;
}

/*----- TIMELINE PERIOD -----*/
.period {
  padding: 0;
}

.period .timeline-info {
  display: none;
}

.period .timeline-marker:before {
  background: transparent;
  content: "";
  width: 15px;
  height: auto;
  border: none;
  border-radius: 0;
  top: 0;
  bottom: 30px;
  position: absolute;
  border-top: 3px solid #CCD5DB;
  border-bottom: 3px solid #CCD5DB;
}

.period .timeline-marker:after {
  content: "";
  height: 32px;
  top: auto;
}

.period .timeline-content {
  padding: 40px 0 70px;
}

.period .timeline-title {
  margin: 0;
}

/*----------------------------------------------
    MOD: TIMELINE CENTERED
----------------------------------------------*/
@media (min-width: 992px) {

  .timeline-centered,
  .timeline-centered .timeline-item,
  .timeline-centered .timeline-info,
  .timeline-centered .timeline-marker,
  .timeline-centered .timeline-content {
    display: block;
    margin: 0;
    padding: 0;
  }

  .timeline-centered .timeline-item {
    padding-bottom: 40px;
    overflow: hidden;
  }

  .timeline-centered .timeline-marker {
    position: absolute;
    left: 50%;
    margin-left: -7.5px;
  }

  .timeline-centered .timeline-info,
  .timeline-centered .timeline-content {
    width: 50%;
  }

  .timeline-centered>.timeline-item:nth-child(odd) .timeline-info {
    float: left;
    text-align: right;
    padding-right: 30px;
    margin-top: 3px;
  }

  .timeline-centered>.timeline-item:nth-child(odd) .timeline-content {
    float: right;
    text-align: left;
    padding-left: 30px;
  }

  .timeline-centered>.timeline-item:nth-child(even) .timeline-info {
    float: right;
    text-align: left;
    padding-left: 30px;
    margin-top: 3px;
  }

  .timeline-centered>.timeline-item:nth-child(even) .timeline-content {
    float: left;
    text-align: right;
    padding-right: 30px;
  }

  .timeline-centered>.timeline-item.period .timeline-content {
    float: none;
    padding: 0;
    width: 100%;
    text-align: center;
  }

  .timeline-centered .timeline-item.period {
    padding: 50px 0 90px;
  }

  .timeline-centered .period .timeline-marker:after {
    height: 30px;
    bottom: 0;
    top: auto;
  }

  .timeline-centered .period .timeline-title {
    left: auto;
  }
}

.overlay {
  display: none;
  position: fixed;
  background: rgb(133, 27, 27);
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s, height .35s;
  overflow: hidden;
  z-index: 99999;
}

@media(max-width:800px) {
  #sidebar nav {
    display: none;
  }

  #sidebar .logo {
    margin: 0.5em 0;
  }

  .button_container {
    position: fixed;
    top: 1.8em;
    right: 1em;
    height: 20px;
    width: 30px;
    cursor: pointer;
    z-index: 100000;
    transition: opacity .25s ease;
  }

  .button_container:hover {
    opacity: .7;
  }

  .button_container.active .top {
    transform: translateY(10px) translateX(0) rotate(45deg);
    background: #FFF;
  }

  .button_container.active .middle {
    opacity: 0;
    background: #FFF;
  }

  .button_container.active .bottom {
    transform: translateY(-10px) translateX(0) rotate(-45deg);
    background: #FFF;
  }

  .button_container span {
    background: #ffffff;
    border: none;
    height: 3px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .35s ease;
    cursor: pointer;
  }

  .button_container span:nth-of-type(2) {
    top: 10px;
  }

  .button_container span:nth-of-type(3) {
    top: 20px;
  }

  .overlay {
    display: block;
  }

  .overlay.open {
    opacity: .9;
    visibility: visible;
    height: 100%;
  }

  .overlay.open li {
    animation: fadeInRight .5s ease forwards;
    animation-delay: .35s;
  }

  .overlay.open li:nth-of-type(2) {
    animation-delay: .4s;
  }

  .overlay.open li:nth-of-type(3) {
    animation-delay: .45s;
  }

  .overlay.open li:nth-of-type(4) {
    animation-delay: .50s;
  }

  .overlay nav {
    position: relative;
    height: 70%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    font-weight: 400;
    text-align: center;
  }

  .overlay ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    position: relative;
    height: 100%;
  }

  .overlay ul li {
    display: block;
    height: 25%;
    height: calc(100% / 4);
    min-height: 50px;
    position: relative;
    opacity: 0;
  }

  .overlay ul li a {
    display: block;
    position: relative;
    color: #FFF;
    text-decoration: none;
    overflow: hidden;
    font-weight: 300;
  }

  .overlay ul li a:hover:after,
  .overlay ul li a:focus:after,
  .overlay ul li a:active:after {
    width: 100%;
  }

  .overlay ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    transform: translateX(-50%);
    height: 3px;
    background: #FFF;
    transition: .35s;
  }

  .timeline-centered {
    margin-left: -40px;
    list-style: none;

  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }

  100% {
    opacity: 1;
    left: 0;
  }
}