/*----Horizontal Timeline----*/

.twae-horizontal.swiper-container {
  position: unset;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  z-index: 10;
  margin: 0 32px;
}

/*----Year Label----*/

.twae-horizontal .twae-year-container {
  position: absolute;
  display: table;
  text-align: center;
  top: 95px;
  left: 0px;
  height: 36px;
  width: auto;
  vertical-align: middle;
  border-radius: 6px;
  overflow: hidden;
  z-index: 1;
  table-layout: fixed;
  word-break: break-word;
}

.twae-horizontal .twae-year-label {
  padding: 2px 10px;
  vertical-align: middle;
  display: table-cell;
  border: 1px solid;
  border-radius: 6px;
}

.twae-horizontal.style-2 .twae-year-label {
  border-radius: none;
}

.twae-horizontal.style-3 .twae-year-container {
  top: 138px;
}

/*----Sub Labels----*/

.twae-horizontal .twae-labels {
  position: absolute;
  display: table;
  width: 100%;
  height: 80px;
  overflow: hidden;
  text-align: center;
  vertical-align: middle;
}

.twae-horizontal .twae-labels div {
  display: table-cell;
  vertical-align: bottom;
}

.twae-horizontal .twae-labels .twae-label,
.twae-horizontal .twae-labels .twae-sublabel {
  display: inline-block;
  width: 100%;
}
.twae-horizontal span.twae-title {
  padding-top: 10px;
}

/*----Story Icon----*/

.twae-horizontal .twae-icon {
  color: #fff;
  width: 40px;
  height: 40px;
  top: 94px;
  left: calc(50% - 20px);
  text-align: center;
  position: absolute;
  display: block;
  z-index: 100;
  border-radius: 50%;
}

.twae-horizontal.style-3 .twae-icon {
  left: 0;
  margin: 20px auto 30px auto;
}

.twae-horizontal .twae-icon i {
  line-height: 40px;
}

.twae-horizontal .twae-icon.twae_no_icon {
  width: 24px;
  height: 24px;
  top: 102px;
  left: calc(50% - 12px);
}

/*----Story Content Section----*/

.twae-horizontal.style-1 .twae-data-container:before {
  content: "";
  display: block;
  /* border: 12px solid transparent; */
  position: absolute;
  left: calc(50% - 13px);
  left: -moz-calc(50% - 1em);
  left: -webkit-calc(50% - 13px);
  left: -o-calc(50% - 13px);
  top: -28px;
}

.twae-horizontal .twae-data-container {
  padding: 0;
  margin: 150px 4px 10px;
  justify-content: center;
  /* border-top: 4px solid; */
  position: relative;
  transition: all 200ms ease-in;
  text-align: center;
  box-sizing: border-box;
}

.twae-horizontal .twae-data-container .twae-description ul,
.twae-horizontal .twae-data-container .twae-description ol {
  text-align: left;
}

.twae-horizontal .twae-data-container {
  height: calc(100% - 160px);
}

.twae-horizontal.style-1 .twae-data-container {
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  box-shadow: 0px 2px 8px -2px rgba(0, 0, 0, 0.4);
}

.twae-horizontal .twae-img,
.twae-horizontal .twae-img img {
  display: inline-block;
  height: auto;
  width: 100%;
}

.twae-horizontal .twae-title,
.twae-horizontal .twae-description {
  display: inline-block;
  width: 100%;
  margin: 0;
}

.twae-horizontal .twae-title {
  font-size: 20px;
}

.twae-horizontal .twae-description {
  padding: 8px;
  font-size: inherit;
}

.twae-horizontal.style-3 .twae-data-container {
  border-radius: 0px;
  border: none;
  box-shadow: none;
  background: none;
}
.twae-horizontal.style-3.twae-top-navigation
  .swiper-slide-active
  .twae-icon:after {
  border: none;
}
.twae-horizontal.style-3 .twae-data-container.twae-title-right span.twae-title,
.twae-horizontal.style-3
  .twae-data-container.twae-title-center
  span.twae-title {
  background-color: transparent !important;
}

.twae-horizontal.style-3 .twae-data-container.twae-title-right span.twae-title {
  text-align: left;
  display: block;
  padding: 0px 10px;
}

.twae-horizontal .twae-title-right .twae-title,
.twae-horizontal .twae-title-right .twae-description {
  width: auto;
}

.twae-horizontal.style-3
  .twae-data-container.twae-title-right
  .twae-description
  p {
  text-align: left;
}

/*----Middle Line----*/

.twae-horizontal .twae-pagination.swiper-pagination-progressbar {
  position: absolute;
  top: 112px;
  margin: 0px 32px;
  width: calc(100% - 64px);
  z-index: 0;
}

.twae-horizontal.style-3 .twae-pagination.swiper-pagination-progressbar {
  position: absolute;
  top: 155px;
}

.twae-horizontal
  .twae-pagination.swiper-pagination-progressbar
  .swiper-pagination-progressbar-fill {
  background: rgba(0, 0, 0, 0.25);
}

.twae-horizontal.style-3 .twae-data-container.twae-title-right .twae-img {
  padding: 0;
  margin-right: 5px;
}

/*----Next/Prev Buttons----*/

.twae-horizontal .twae-button-prev,
.twae-horizontal .twae-button-next {
  position: absolute;
  font-size: 40px;
  top: 94px;
  cursor: pointer;
  line-height: 0;
}

.twae-horizontal.style-3 .twae-button-prev,
.twae-horizontal.style-3 .twae-button-next {
  position: absolute;
  font-size: 40px;
  top: 138px;
}

.twae-horizontal .twae-button-prev {
  left: -10px;
}

.twae-horizontal .twae-button-next {
  right: -10px;
}

.twae-button-prev.swiper-button-disabled,
.twae-button-next.swiper-button-disabled {
  opacity: 0.35;
  cursor: auto;
  pointer-events: none;
}

/*----Slider Styles*/

.twae-horizontal .equal-height-slides .swiper-slide {
  height: auto;
}

.twae-horizontal.style-3.twae-bottom-navigation
  .equal-height-slides
  .swiper-slide {
  margin-bottom: 5px;
}

.twae-horizontal.style-3.twae-bottom-navigation
  .equal-height-slides
  .swiper-slide
  .twae-data-container {
  height: 100%;
}

/*------ Slideshow Arrows ------*/

.twae-icon-left-open,
.twae-icon-right-open {
  position: absolute;
  top: 50%;
  width: 27px;
  height: 44px;
  margin-top: -22px;
  z-index: 10;
  cursor: pointer;
}

.twae-icon-right-open {
  right: 10px;
}

.twae-icon-left-open {
  left: 10px;
}

/*--------- Video ------------*/

.twae-horizontal .twae-items-wrapper iframe {
  height: auto;
  max-height: 420px;
  min-height: 225px;
  padding: 15px;
}

/*--------- Image SlideShow ------------*/

.twae-slideshow img.attachment-large.size-large {
  width: 100%;
}

.twae-horizontal.style-3 .twae-slideshow {
  padding: 15px 0px 15px 0px;
}

.twae-horizontal.style-3 .twae-slideshow,
.twae-horizontal.style-3 .twae-slideshow .swiper-slide img {
  padding: 5px;
}

.twae-horizontal.style-3 .twae-slideshow .twae-icon-left-open {
  left: 15px;
}

.twae-horizontal.style-3 .twae-slideshow .twae-icon-right-open {
  right: 15px;
}

/*---------- Image as icon --------*/

.twae-wrapper .twae-icon img {
  border-radius: 50%;
  height: -webkit-fill-available;
  width: -webkit-fill-available;
}

.twae-wrapper.twae-horizontal.style-3 .twae-icon img {
  border-radius: 50%;
  height: -webkit-fill-available;
  width: -webkit-fill-available;
  position: absolute;
  left: 0;
  top: 0;
}

.twae-wrapper.twae-horizontal.style-2 .twae-icon img {
  border-radius: 0px;
}

/*
 |---------------------------------
 |      Style 2 | Elegant
 |---------------------------------
*/

/*------ Icon -----*/

.twae-horizontal.style-2 .twae-icon {
  border-radius: 0px;
}

.twae-horizontal.style-2 .twae-icon.twae_no_icon {
  width: 18px;
  height: 17px;
  top: 105px;
  left: calc(50% - 9px);
}

.twae-horizontal.style-2 .twae-data-container {
  margin: 158px 4px 10px;
  border-right: 1px solid transparent !important;
  border-left: 1px solid transparent !important;
}

.twae-horizontal.style-2 .twae-data-container:before {
  content: "";
  left: calc(50% - 2px);
  left: -moz-calc(50% - 2px);
  left: -webkit-calc(50% - 2px);
  left: -o-calc(50% - 2px);
  bottom: 0;
  content: "";
  display: block;
  /* border: 2px solid transparent; */
  position: absolute;
  left: -moz-calc(50% - 1em);
  left: -o-calc(50% - 13px);
  top: -40px;
  height: 40px;
}

.twae-horizontal.style-2 .twae-icon.twae_no_icon .twae-data-container:before {
  height: 40px;
}

.twae-horizontal.style-2 .twae-title {
  padding: 1px 4px 7px 4px;
  min-height: 40px;
}

.twae-horizontal.style-2 .twae-year-container {
  border-radius: 0px;
}

.twae-horizontal.style-2 span.swiper-pagination-progressbar-fill,
.twae-horizontal.style-4 span.swiper-pagination-progressbar-fill {
  width: 0px;
}

/*
 |---------------------------------
 |      Style 3 | Clean
 |---------------------------------
*/

/*---- Middle Line ----*/

.twae-horizontal.style-3 .twae-pagination.swiper-pagination-progressbar {
  background-color: #d6d6d6 !important;
}

/*----Year Label----*/

.twae-horizontal.twae-top-navigation .twae-year-container {
  position: relative;
  display: table;
  overflow: hidden;
  text-align: center;
  vertical-align: middle;
}

/*----Sub Labels----*/

.twae-horizontal.twae-top-navigation .twae-labels {
  position: relative;
  display: table;
  width: 100%;
  height: 80px;
  overflow: hidden;
  text-align: center;
  vertical-align: middle;
}

/*----Story Icon----*/

.twae-horizontal.twae-top-navigation .twae-icon {
  position: relative;
  display: table;
  text-align: center;
  vertical-align: middle;
  top: auto;
}

.twae-horizontal.twae-top-navigation .twae-icon.twae_no_icon {
  width: 24px;
  height: 24px;
  top: 10px;
  left: 0px;
}

/*---- Story image ----*/

.twae-horizontal.twae-bottom-navigation .twae-img img {
  width: auto;
}

.twae-horizontal.style-3.twae-bottom-navigation .twae-img {
  /* padding-top: 14px; */
}

.twae-horizontal.twae-bottom-navigation .twae-img img.size-large {
  width: 100%;
}

.twae-horizontal.twae-bottom-navigation .twae-img,
.twae-horizontal.twae-bottom-navigation .twae-img img {
  width: auto;
  margin: 0px;
  float: left;
  padding: 0px 5px;
  height: auto;
  display: flex;
}

.twae-horizontal.twae-bottom-navigation .twae-img.large,
.twae-horizontal.twae-bottom-navigation .twae-img.large img {
  width: 100%;
}

.twae-horizontal.twae-bottom-navigation .twae-img.large {
  margin-bottom: 7px;
}

.twae-horizontal.twae-bottom-navigation .twae-img.medium_large {
  width: 100%;
}

.twae-horizontal.twae-bottom-navigation .twae-img.medium_large img {
  margin: 0 auto;
}

/*----Story Content Section----*/
/*
.twae-horizontal.style-3.twae-top-navigation
  .swiper-slide-active
  .twae-icon:after {
  content: "";
  position: absolute;
  bottom: -31px;
  left: 5px;
  width: 20px;
  height: 20px;
  border-top: 1px solid #d7d7d7;
  border-left: 1px solid #d7d7d7;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transform-origin: 0 100%;
  -ms-transform-origin: 0 100%;
  transform-origin: 0 100%;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  z-index: 999999;
}
*/
.twae-horizontal.style-3.twae-top-navigation
  .swiper-slide-active
  .twae-icon.twae_no_icon:after {
  bottom: -20px;
  left: -2px;
}

.twae-horizontal.twae-bottom-navigation .twae-data-container {
  display: flow-root;
  margin: 40px 4px 10px;
  margin-top: 0px;
  padding: 15px 0px 15px 0px;
}

.twae-wrapper.twae-bottom-navigation span.twae-title {
  text-align: center;
  margin: 0 auto;
  padding-bottom: 8px;
}

.twae-horizontal.style-3 .twae-title-center {
  padding: 0px;
}
.twae-horizontal.style-3 .swiper-slide-active .twae-labels {
  display: block;
}
.twae-top-navigation.style-3 .swiper-slide .twae-labels {
  visibility: hidden;
}
.twae-top-navigation.style-3 .swiper-slide-active .twae-labels {
  visibility: visible;
}

div.ctl-tooltips {
  position: relative;
  width: auto;
  color: #fff;
  background: #000;
  height: auto;
  line-height: 26px;
  text-align: center;
  visibility: visible;
  border-radius: 1px;
  padding: 3px 6px;
  display: inline-block;
}
div.ctl-tooltips::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -8px;
  width: 0;
  height: 0;
  border-top: 8px solid #000;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
}

.twae-horizontal.style-3 .twae-title-center span.twae-title {
  padding: 10px;
}

.twae-wrapper .twae-title-right .twae-title-desc {
  text-align: left;
}

.twae-wrapper.twae-bottom-navigation .twae-description {
  display: block;
  width: auto;
}

.twae-horizontal.twae-bottom-navigation .twae-description p {
  padding: 2px 10px 2px 4px;
  float: left;
  display: contents;
}

/*
|------------------------------------
|----------- Style 4 ----------------
|------------------------------------
*/

.twae-horizontal.style-4 .twae-repeater-item .twae-data-container {
  border: none;
  background-color: transparent !important;
}

.twae-horizontal.style-4 .twae-repeater-item .twae-data-container:before {
  content: "";
  left: calc(50% - 2px);
  left: -moz-calc(50% - 2px);
  left: -webkit-calc(50% - 2px);
  left: -o-calc(50% - 2px);
  bottom: 0;
  content: "";
  display: block;
  /* border: 2px solid transparent; */
  position: absolute;
  left: -moz-calc(50% - 1em);
  left: -o-calc(50% - 13px);
  top: -40px;
  height: 92px;
  width: 2px;
}

.twae-horizontal.style-4
  .twae-repeater-item:nth-child(odd)
  .twae-data-container:before {
  height: 50px;
}

.twae-horizontal.style-4 a.twae-minimal-labels {
  padding-top: 50px;
  display: block;
}

.twae-horizontal.style-4
  .twae-repeater-item:nth-child(odd)
  a.twae-minimal-labels {
  padding-top: 10px;
}

.twae-horizontal.style-4 span.twae_icon_text {
  line-height: 38px;
}
span.twae_icon_text {
  transform: translate(-50%, -50%);
  position: absolute;
  left: 50%;
  top: 50%;
}

/*----------------- End Style-4 -----------------*/

@media (max-width: 767px) {
  .twae-horizontal.style-3
    .twae-data-container.twae-title-right
    span.twae-title {
    text-align: center;
    padding-left: 0;
  }
  .twae-horizontal.style-3 .twae-data-container.twae-title-right .twae-img {
    top: 0;
  }
  .twae-horizontal.style-3 .twae-data-container.twae-title-right .twae-img,
  .twae-horizontal.style-3 .twae-data-container.twae-title-right .twae-img img {
    width: 100%;
    max-height: 100%;
    height: 200px;
    object-fit: cover;
  }
  .twae-horizontal.style-3
    .twae-data-container.twae-title-right
    .twae-description
    p {
    text-align: center;
    padding: 0px 10px;
  }
  .twae-horizontal.twae-bottom-navigation .swiper-slide-thumb-active:before {
    left: calc(50% - 1em);
    left: -moz-calc(50% - 1em);
    left: -webkit-calc(50% - 1em);
  }
  .twae-horizontal.style-3.twae-top-navigation
    .swiper-slide-active
    .twae-icon.twae_no_icon:after {
    left: -6px;
  }
}

/*
|--------------------------------------------------
|----------------- Static styles ------------------
|---------- free version compatibility ------------
|--------------------------------------------------
*/

/* .twae-horizontal.style-1 .twae-data-container:before {
    border-bottom-color: #212529;
} */
