﻿/* common border radius */
/* disable text selection */
section.gt-block.thematic-text {
  overflow: hidden;
  -webkit-border-radius: 4rem;
  -moz-border-radius: 4rem;
  border-radius: 4rem;
  background: #F8F8F8;
}
section.gt-block.thematic-text .badge {
  width: 16rem;
  height: 14.4rem;
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  background-position: right 0;
  background-repeat: no-repeat;
  background-size: contain;
}
section.gt-block.thematic-text.display-important {
  background: #FFE5E2;
}
section.gt-block.thematic-text.display-important .badge {
  background-image: url(../../images/badges/thematic-text-important.svg);
}
section.gt-block.thematic-text.display-note {
  background: #E3F6FF;
}
section.gt-block.thematic-text.display-note .badge {
  background-image: url(../../images/badges/thematic-text-note.svg);
}
section.gt-block.thematic-text.display-tip {
  background: #FBE3B1;
}
section.gt-block.thematic-text.display-tip .badge {
  background-image: url(../../images/badges/thematic-text-tip.svg);
}
section.gt-block.thematic-text .content .text {
  padding: 5rem;
}
section.gt-block.thematic-text:not(.with-image).with-badge .content .text {
  padding-right: 20rem;
}
section.gt-block.thematic-text.image-left .content {
  padding-left: 51.7%;
}
section.gt-block.thematic-text.image-left.with-badge .content .text {
  padding-right: 20rem;
}
section.gt-block.thematic-text.image-right .content .text {
  width: 51.7%;
}
section.gt-block.thematic-text .img {
  width: 48.3%;
  height: 100%;
  position: absolute;
  top: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
section.gt-block.thematic-text .img ul {
  position: absolute;
  left: 3rem;
  bottom: 3rem;
  display: inline-block;
  vertical-align: top;
}
section.gt-block.thematic-text .img ul li {
  padding: 0 1.4rem 0 0;
  display: inline-block;
  vertical-align: top;
}
section.gt-block.thematic-text.image-left .img {
  width: 51.7%;
  left: 0;
}
section.gt-block.thematic-text.image-right .img {
  right: 0;
}
section.gt-block.thematic-text .btn.read-more-link,
section.gt-block.thematic-text .btn.read-less-link {
  width: 17rem;
  max-height: 8rem;
  margin: 0;
  display: block;
  overflow: hidden;
  opacity: 1;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
section.gt-block.thematic-text .btn.read-more-link.hidden,
section.gt-block.thematic-text .btn.read-less-link.hidden {
  max-height: 0px;
  opacity: 0;
  padding: 0;
}
section.gt-block.thematic-text .text-more {
  max-height: 0px;
  overflow: hidden;
  opacity: 0;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
section.gt-block.thematic-text .text-more.opened {
  max-height: 2000px;
  opacity: 1;
}
@media screen and (max-width: 1000px) {
  section.gt-block.thematic-text .badge {
    width: 12rem;
    height: 10.8rem;
  }
  section.gt-block.thematic-text .content .text {
    padding: 4rem;
  }
  section.gt-block.thematic-text.with-badge .content .text {
    padding-right: 12rem !important;
  }
  section.gt-block.thematic-text.image-left .content {
    padding-left: 0;
  }
  section.gt-block.thematic-text.image-right .content .text {
    width: auto;
  }
  section.gt-block.thematic-text .img {
    width: 100%;
    height: 30rem;
    position: static;
  }
  section.gt-block.thematic-text.image-left .img {
    width: 100%;
  }
}
@media screen and (max-width: 500px) {
  section.gt-block.thematic-text {
    -webkit-border-radius: 2rem;
    -moz-border-radius: 2rem;
    border-radius: 2rem;
  }
  section.gt-block.thematic-text .badge {
    width: 8rem;
    height: 7.2rem;
  }
  section.gt-block.thematic-text .content .text {
    padding: 20px 20px 6px;
  }
  section.gt-block.thematic-text.with-badge .content .text {
    padding-right: 8rem !important;
  }
}