.htt
{
  font-family: Eina01-Regular;
  font-size: 12px;
  max-width: 1380px;
  height: 700px;
  margin: auto;
}

.htt:after
{
  clear: both;
}

.htt__section-heading--non-scaling,
.htt__section-heading
{
  font-family: Eina01-SemiBold;
  font-size: 30px;
  line-height: 1.5em;
  margin-bottom: 0.5em;
}

@media all and (max-width: 767px)
{
  .htt__section-heading
  {
    font-size: 20px;
    margin-bottom: 0.8em;
  }
}

.htt__content-left
{
  position: relative;
  float: left;
  width: 50%;
  height: 100%;
}

.htt__content-right
{
  float: right;
  width: 50%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.htt__content-template
{
  display: table;
  height: 100%;
  width: 100%;
  table-layout: fixed;
}

.htt__data-row
{
  display: table-row;
}

.htt__data-row--2 .htt__data
{
  width: 50%;
}

.htt__bg
{
  height: 100%;
  width: 100%;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
  -webkit-animation: fadeInBg 1s;
  -o-animation: fadeInBg 1s;
  animation: fadeInBg 1s;
}

.htt__bg--0
{
  background-image: url("/wp-content/themes/JointsWP/hauttypentest/images/background_1.jpg");
}

.htt__bg--1
{
  background-image: url("/wp-content/themes/JointsWP/hauttypentest/images/background_2.jpg");
}

.htt__bg--2
{
  background-image: url("/wp-content/themes/JointsWP/hauttypentest/images/background_3.jpg");
}

.htt__bg--3
{
  background-image: url("/wp-content/themes/JointsWP/hauttypentest/images/background_4.jpg");
}

.htt__topic-content
{
  position: absolute;
}

.htt__topic
{
  height: 100%;
  background-size: cover;
  background-position: center;
  padding: 120px 0 0 100px;
}

.htt__topic-title
{
  overflow: hidden;
  top: 15%;
  left: 10%;
}

.htt__topic-title-text
{
  display: inline-block;

  font-family: Eina01-SemiBold;
  font-size: 40px;
  line-height: 1.1;

  padding: 5px 3px;
  /* background: rgba(255, 255, 255, 0.25); */
}

.htt__animate
{
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
  -webkit-transition: 1s;
  -moz-transition: 1s;
  -ms-transition: 1s;
  -o-transition: 1s;
  transition: 1s;
}

.htt__content-template.htt__animate:not(.htt__content-template-next)
{
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}

.htt__content-template-next
{
  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  -ms-transform: translateY(100%);
  -o-transform: translateY(100%);
  transform: translateY(100%);
}

.htt__content-template-next.htt__animate
{
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

.htt__data
{
  text-align: center;
  vertical-align: middle;
  display: table-cell;
  cursor: pointer;
  padding: 10px 15px;

  -webkit-transition: background-color 1s;
  -moz-transition: background-color 1s;
  -ms-transition: background-color 1s;
  -o-transition: background-color 1s;
  transition: background-color 1s;
}

.htt__data-title
{
  font-family: Eina01-SemiBold;
  font-size: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.htt__data-text
{
  max-height: 110px;
  overflow: auto;
  text-overflow: ellipsis;
  text-align: center;
}

.htt__data:hover
{
  background-color: #e8e8e8;
}

@media all and (max-width: 767px)
{
  .htt
  {
    height: auto;
    margin-bottom: 75px;
  }

  .htt__content-left
  {
    float: none;
    width: 100%;
    height: 245px;
  }

  .htt__content-right
  {
    float: none;
    width: 100%;
    height: auto;
    overflow: visible;
  }

  .htt__topic-title
  {
    top: 20px;
    left: 20px;
  }

  .htt__topic-title-text
  {
    font-size: 28px;
  }

  .htt__content-template
  {
    display: block;
    height: auto;
  }

  .htt__data-row
  {
    display: table;
    width: 100%;
  }

  .htt__data
  {
    display: table-row;
  }

  .htt__data-content-wrapper
  {
    display: table-cell;
    vertical-align: middle;

    padding: 10px 25px;
    border-bottom: 1px solid #e8e8e8;
  }

  .htt__data::after
  {
    content: ' ';
    height: 75px;
    vertical-align: middle;
    display: table-cell;
  }

  .htt__data-text
  {
    max-height: unset;
  }

  .htt__content-template.htt__animate
  {
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
  }

  .htt__content-template-next
  {
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
  }

  .htt__content-template-next.htt__animate
  {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes fadeInBg
{
  from
  {
    opacity: 0;
  }
  to
  {
    opacity: 1;
  }
}

.htt-outline-button,
.htt-outline-button:visited,
.htt-outline-button:focus,
.htt-outline-button:hover
{
  border: 2px solid;
  color: black;
  padding: 7px 20px;
}

.htt-button,
.htt-button:visited,
.htt-button:focus,
.htt-button:hover
{
  background: black;
  color: white;
  padding: 11px 20px;
}

.htt-outline-button,
.htt-button
{
  font-family: Eina01-Regular;
  display: inline-block;
  margin: 0px 2px;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
}

/**************** error overlay ****************/

.htt-error-overlay
{
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: white;
}

.htt-error-overlay__content
{
  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);
}

.htt-error-overlay__button-wrapper
{
  margin-top: 10px;
  text-align: center;
}

.htt-loading-overlay-route {
  position: relative;
  height: 500px;
}
