/* Timline code */

#tm-timeline {
  position: relative;
  padding: 0 0 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}

#tm-timeline::before {
  content: '';
  position: absolute;
  top: 0px;
  left: 18px;
  height: 100%;
  width: 4px;
  background: #eef4ff;
}

.tm-timeline-icon {
  
  height: 30px;
  border-radius: 50%;
  color: var(--uk-color-primary);
  background-color: #ffffff;
  text-align: center;
  font-size: 22px;
  line-height: 40px;
   z-index: 1;
}

.tm-timeline-icon i {
    position: relative;
    top: 0px;
    left: 2px;
    font-size: 29px;

  }

  .tm-timeline-block .uk-card {
    z-index: 9;
  }

.tm-timeline-block {
  position: relative;
  margin: 2em 0;
  -webkit-animation-duration: 0.2s;
  animation-duration: 0.2s;
}
.tm-timeline-block:after {
  content: "";
  display: table;
  clear: both;
}
.tm-timeline-block:first-child {
  margin-top: 0;
}
.tm-timeline-block:last-child {
  margin-bottom: 0;
}
.tm-timeline-img {
  margin: -20px -20px 20px;
  border-radius: 3px 3px 0 0;
}
.tm-timeline-block .uk-card {
  position: relative;
  margin-left: 60px;
  border-radius: 3px;
  padding: 20px 20px;
}
.tm-timeline-block .uk-card:after {
  content: "";
  display: table;
  clear: both;
}
.tm-timeline-block .uk-card::before {
  content: '';
  position: absolute;
  top: 17px;
  right: 100%;
  height: 0;
  width: 38%;
  z-index: -1;
  border: 1px solid #eef4ff;
}
.tm-timeline-block .uk-card .uk-module-title,
.tm-timeline-block .uk-card div.tt_event_theme_page .widget > h5,
.tm-timeline-block .uk-card div.tt_event_theme_page h5.box_header {
  margin-top: 20px;
}
.tm-timeline-block .uk-card p {
  margin: 0;
}
.tm-timeline-block .uk-card p + a {
  margin-top: 20px;
}
.tm-timeline-block .uk-card .tm-timeline-date {
  display: inline-block;
  padding: 0 10px;
  float: right;
  font-weight: bold;
  border-radius: 0 0 3px 3px;
  border-width: 0 1px 1px;
  margin-top: -20px;
  border-style: solid;
  background-color: var(--uk-color-primary);
  border-color: var(--uk-color-primary);
  color: #ffffff;
}
.tm-timeline-default .uk-card {
  background-color: #ffffff;
  box-shadow: 0 0 0 1px #d5e3ff, inset 1px 1px 0 rgba(255, 255, 255, 0.05);
}
.tm-timeline-light .uk-card {
  background-color: #eef4ff;
  box-shadow: 0 0 0 1px #d5e3ff, inset 1px 1px 0 rgba(255, 255, 255, 0.05);
}
.tm-timeline-light .uk-card h1.uk-module-title:after,
.tm-timeline-light .uk-card h2.uk-module-title:after,
.tm-timeline-light .uk-card h3.uk-module-title:after,
.tm-timeline-light .uk-card h4.uk-module-title:after,
.tm-timeline-light .uk-card h5.uk-module-title:after,
.tm-timeline-light .uk-card h6.uk-module-title:after,
.tm-timeline-light .uk-card h1div.tt_event_theme_page .widget > h5:after,
.tm-timeline-light .uk-card h2div.tt_event_theme_page .widget > h5:after,
.tm-timeline-light .uk-card h3div.tt_event_theme_page .widget > h5:after,
.tm-timeline-light .uk-card h4div.tt_event_theme_page .widget > h5:after,
.tm-timeline-light .uk-card h5div.tt_event_theme_page .widget > h5:after,
.tm-timeline-light .uk-card h6div.tt_event_theme_page .widget > h5:after,
.tm-timeline-light .uk-card h1div.tt_event_theme_page h5.box_header:after,
.tm-timeline-light .uk-card h2div.tt_event_theme_page h5.box_header:after,
.tm-timeline-light .uk-card h3div.tt_event_theme_page h5.box_header:after,
.tm-timeline-light .uk-card h4div.tt_event_theme_page h5.box_header:after,
.tm-timeline-light .uk-card h5div.tt_event_theme_page h5.box_header:after,
.tm-timeline-light .uk-card h6div.tt_event_theme_page h5.box_header:after {
  border-bottom-color: inherit;
}
.tm-timeline-primary .uk-card {
  color: #ffffff;
  background-color: var(--uk-color-primary);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.tm-timeline-primary .uk-card h1,
.tm-timeline-primary .uk-card h2,
.tm-timeline-primary .uk-card h3,
.tm-timeline-primary .uk-card h4,
.tm-timeline-primary .uk-card h5,
.tm-timeline-primary .uk-card h6 {
  color: #ffffff;
}
.tm-timeline-primary .uk-card h1.uk-module-title:after,
.tm-timeline-primary .uk-card h2.uk-module-title:after,
.tm-timeline-primary .uk-card h3.uk-module-title:after,
.tm-timeline-primary .uk-card h4.uk-module-title:after,
.tm-timeline-primary .uk-card h5.uk-module-title:after,
.tm-timeline-primary .uk-card h6.uk-module-title:after,
.tm-timeline-primary .uk-card h1div.tt_event_theme_page .widget > h5:after,
.tm-timeline-primary .uk-card h2div.tt_event_theme_page .widget > h5:after,
.tm-timeline-primary .uk-card h3div.tt_event_theme_page .widget > h5:after,
.tm-timeline-primary .uk-card h4div.tt_event_theme_page .widget > h5:after,
.tm-timeline-primary .uk-card h5div.tt_event_theme_page .widget > h5:after,
.tm-timeline-primary .uk-card h6div.tt_event_theme_page .widget > h5:after,
.tm-timeline-primary .uk-card h1div.tt_event_theme_page h5.box_header:after,
.tm-timeline-primary .uk-card h2div.tt_event_theme_page h5.box_header:after,
.tm-timeline-primary .uk-card h3div.tt_event_theme_page h5.box_header:after,
.tm-timeline-primary .uk-card h4div.tt_event_theme_page h5.box_header:after,
.tm-timeline-primary .uk-card h5div.tt_event_theme_page h5.box_header:after,
.tm-timeline-primary .uk-card h6div.tt_event_theme_page h5.box_header:after {
  border-bottom-color: #ffffff;
}
.tm-timeline-primary .uk-card .tm-timeline-date {
  background-color: var(--uk-color-secondary);
  border-color: #1f2c41;
  color: #ffffff;
}
.tm-timeline-primary .uk-card .uk-button.uk-button-simple,
.tm-timeline-primary .uk-card .contact .btn-primary.uk-button-simple,
.tm-timeline-primary .uk-card .cart-checkout-button > a.uk-button-simple,
.tm-timeline-primary .uk-card .cart-update-button > input.uk-button-simple,
.tm-timeline-primary .uk-card .cart-continue-shopping-button > input.uk-button-simple,
.tm-timeline-primary .uk-card .bfQuickMode .bfNextButton.uk-button-simple,
.tm-timeline-primary .uk-card .bfQuickMode .bfSubmitButton.uk-button-simple,
.tm-timeline-primary .uk-card .bfQuickMode .bfCancelButton.uk-button-simple {
  color: #ffffff;
  border-color: #ffffff;
}
.tm-timeline-secondary .uk-card {
  background-color: var(--uk-color-secondary);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.tm-timeline-secondary .uk-card h1,
.tm-timeline-secondary .uk-card h2,
.tm-timeline-secondary .uk-card h3,
.tm-timeline-secondary .uk-card h4,
.tm-timeline-secondary .uk-card h5,
.tm-timeline-secondary .uk-card h6 {
  color: #ffffff;
}
@media only screen and (max-width: 900px) {
  .tm-timeline-block .uk-card h2 {
    font-size: 20px;
  }
  .tm-timeline-icon {
    font-size: 19px;
  }
  .tm-timeline-block .uk-card .tm-timeline-date {
    font-size: 14px;
  }
  .tm-timeline-block .uk-card::before {
    width: 25px;
}

  .tm-timeline-icon {
      position: absolute;
  }

}
@media only screen and (min-width: 960px) {

.tm-timeline-icon {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    top: 17px;
}

  #tm-timeline {
    margin-top: 3em;
    margin-bottom: 3em;
  }
  #tm-timeline::before {
    left: 50%;
  }
  .tm-timeline-block {
    margin: 4em 0;
  }
  .tm-timeline-block:first-child {
    margin-top: 0;
  }
  .tm-timeline-block:last-child {
    margin-bottom: 0;
  }
  .tm-timeline-block:not(:first-child) {
    margin-top: -100px !important;
  }
  .tm-timeline-block:nth-child(even) .uk-card {
    float: right;
  }
  .tm-timeline-block:nth-child(even) .uk-card::before {
    left: auto;
    right: 100%;
  }
  .tm-timeline-block:nth-child(even) .uk-card .tm-timeline-date {
    left: auto;
    right: 6%;
    text-align: right;
  }
  .tm-timeline-img {
    margin: -20px -30px 30px;
  }
  
  .tm-timeline-block .uk-card {
    margin-left: 0;
    padding: 20px 30px;
    width: 35%;
  }
  .tm-timeline-block .uk-card::before {
    top: 17px;
    left: 100%;
  }
  .tm-timeline-block .uk-card .tm-timeline-date {
    margin-top: -20px;
  }
}