.events {
  padding: 50px 0;
  background-color: #f1f1f1; }
  .events .title {
    position: relative; }
    .events .title::after {
      content: "";
      position: absolute;
      bottom: -12px;
      left: 0;
      right: 0;
      margin: auto;
      width: 60px;
      height: 2px;
      background-color: var(--color-1); }
  .events .nav-pills {
    gap: 8px; }
    .events .nav-pills .nav-link {
      white-space: nowrap;
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 6px 16px;
      color: #333;
      background: #fff;
      text-transform: uppercase; }
      .events .nav-pills .nav-link.active {
        background: var(--color-1);
        color: #fff;
        border-color: var(--color-1); }
  .events .vertical-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -1px;
    width: 2px;
    height: 100%;
    background: #CCD1D9;
    z-index: 1; }
  .events .timeline-block {
    width: -webkit-calc(50% + 8px);
    width: -moz-calc(50% + 8px);
    width: calc(50% + 8px);
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    justify-content: space-between;
    clear: both; }
  .events .timeline-block-right {
    transform: translateX(97.5%);
    position: relative;
    z-index: 1; }
    .events .timeline-block-right .timeline-content::before {
      content: "";
      position: absolute;
      right: 100%;
      top: 8px;
      border-top: 10px solid transparent;
      border-right: 15px solid #ffffff;
      border-bottom: 10px solid transparent; }
  .events .timeline-block-left {
    direction: rtl; }
    .events .timeline-block-left .timeline-content::before {
      content: "";
      position: absolute;
      left: 100%;
      top: 8px;
      border-top: 10px solid transparent;
      border-left: 15px solid #ffffff;
      border-bottom: 10px solid transparent; }
  .events .marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #F5F7FA;
    background: var(--color-1);
    margin-top: 10px;
    z-index: 2; }
  .events .timeline-content {
    position: relative;
    width: 95%;
    padding: 10px;
    color: var(--color-black);
    background: #fff;
    border-radius: 10px; }
    .events .timeline-content .date {
      box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.1);
      width: max-content;
      padding: 6px;
      border-radius: 10px; }
      .events .timeline-content .date .day {
        font-size: 13px; }
      .events .timeline-content .date span {
        font-size: 50px;
        color: var(--color-1);
        line-height: 1.1; }
  .events .timeline-content .h3 {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 20px;
    font-weight: 500;
    color: var(--color-black); }
  .events .timeline-content span {
    font-size: 15px;
    color: #a4a4a4; }
  @media (min-width: 992px) and (max-width: 1400px) {
    .events .timeline-content {
      width: 93%; } }
  @media (min-width: 768px) and (max-width: 992px) {
    .events .timeline-content {
      width: 90%; } }
  @media screen and (max-width: 768px) {
    .events .vertical-timeline:before {
      left: 8px;
      width: 2px; }
    .events .timeline-block {
      width: 100%;
      margin-bottom: 30px; }
    .events .timeline-block-right {
      transform: none; }
    .events .timeline-content {
      width: 90%; }
    .events .timeline-block-left {
      direction: ltr; }
      .events .timeline-block-left .timeline-content::before {
        left: unset;
        right: 100%;
        border-right: 15px solid #ffffff;
        border-left: unset; } }
