:root {
  --main-bg-color: #F72419; 
  --light-bg-color: #FA8C87;
  --dark-color: #69146fab;
}

.categpath.visible {
    background: white;
    padding: 15px 20px 13px 20px;
    text-align: center;
    text-transform: uppercase;
}
#container {
    padding: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

#timeline {
  background-color: #031625;
}
#timeline:hover .tl-item {
  width: 23.3333%;
}

.tl-item {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  position: relative;
  width: 25%;
  height: 690px;
  display: inline-block;
  color: #fff;
  overflow: hidden;
  transition: width 0.5s ease;
  cursor: pointer;
}
.tl-item:before, .tl-item:after {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.tl-item:after {
  /*background: rgba(1, 83, 169, 0.5);*/
  background: rgb(130 13 67 / 50%);
  opacity: 1;
  transition: opacity 0.5s ease;
}
.tl-item:before {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #484848 130%);
  z-index: 1;
  opacity: 0;
  -webkit-transform: translate3d(0, 0, 0) translateY(50%);
          transform: translate3d(0, 0, 0) translateY(50%);
  transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.tl-item:hover {
  width: 30% !important;
}
.tl-item:hover:after {
  opacity: 0;
}
.tl-item:hover:before {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0) translateY(0);
          transform: translate3d(0, 0, 0) translateY(0);
  transition: opacity 1s ease, -webkit-transform 1s ease 0.25s;
  transition: opacity 1s ease, transform 1s ease 0.25s;
}
.tl-item:hover .tl-content {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  transition: all 0.75s ease 0.5s;
}
.tl-item:hover .tl-bg {
  -webkit-filter: grayscale(0);
          filter: grayscale(0);
}

.tl-content {
  -webkit-transform: translate3d(0, 0, 0) translateY(25px);
          transform: translate3d(0, 0, 0) translateY(25px);
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 0 1.618em;
  top: 50%;
  opacity: 0;
}
.tl-content h1 {
  text-transform: uppercase;
  color: #f35858;
  font-size: 1.44rem;
  font-weight: normal;
}

.tl-year {
  position: absolute;
  top: 40%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
  z-index: 1;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.tl-year p {
    font-size: 55px;
    line-height: 58px;
    font-weight: 600;
    margin-bottom: 0;
}

.tl-bg {
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center center;
  transition: -webkit-filter 0.5s ease;
  transition: filter 0.5s ease;
  -webkit-filter: grayscale(100%);
          filter: grayscale(100%);
}

.tl-content h5 {
    background: var(--main-bg-color);
    color: #fff;
    font-size: 23px;
    padding: 9px 15px;
    line-height: 23px;
    display: inline-block;
    border-radius: 5px;
    -moz-transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    -webkit-transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    -ms-transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    margin-bottom: 7px;
}

.tl-content h5:hover{
    background: var(--dark-color);;
    color: var(--main-bg-color);
}
.tl-content h5:hover a {
    color: var(--main-bg-color);
}


@media screen and (max-width: 1280px) {
  .tl-item {height: 460px !important;}
}
@media screen and (max-width: 980px) {
  .tl-item {width:50% !important; height:610px !important;}
  .tl-item:hover {width: 65% !important;}
}

@media screen and (max-width: 680px) {
  .tl-item {width:50% !important; height: 350px !important;}
  .tl-item:hover {width: 65% !important;}
  .tl-year p {font-size: 33px;line-height: 36px;}
  .tl-content h5 {font-size: 16px;}
}