/**
 * @file
 * Modules styles
 *
 * Modules are reusables CSS objects (components).
 * They can be utilized
 */


/**
 * TNS slider
 */
.tns-controls,
.tns-nav {
  text-align: center;
}
.tns-controls {
  display: none;
}
.tns-controls button {
  font-weight: bold;
  font-size: 1.2em;
  color: #fff;
  background: rgba(0,0,0,0.25);
  border: none;
}
.tns-nav button {
  display: inline-block;
  margin: 0 2px;
  height: 12px;
  width: 12px;
  background: rgba(0,0,0,0.25);
  border-radius: 50%;
  border: none;
}
@media all and (min-width: 1000px) {
  .tns-outer {
    position: relative;
  }
  .tns-nav {
    display: none;
  }
  .tns-controls {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    display: block;
  }
  .tns-controls button {
    position: absolute;
    display: block;
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    background-color: #EB5041;
    border: 1px solid #EB5041;
    border-radius: 50%;
  }
  .tns-controls button:focus {
    outline: none;
    border: 1px solid #FFF;
  }
  .tns-controls button:first-child {
    left: 0;
  }
  .tns-controls button:last-child {
    right: 0;
  }
}


/**
 * Slider
 */
.slider-item__image img {
  display: block;
}
.slider-item__text {
  width: 90%;
  position: relative;
  margin: -1.5rem auto 0;
  padding: 1rem;
  font-size: 1.4em;
  color: #FFF;
  background-color: #132D61;
}
@media all and (min-width: 1000px) {
  .slider-wrapper {
    background-image: url(../images/hero-bg.svg);
    background-position: top center;
    -webkit-background-size:  cover;
    background-size:  cover;
    background-repeat: no-repeat;
  }
  .slider-wrapper-inner {
    width: 100%;
    margin: 0;
  }
  .slider-item {
    position: relative;
  }
  .slider-item__image {
    padding-right: 20%;
  }
  .slider-item__text {
    position: absolute;
    right: 3%;
    top: 30px;
    width: 300px;
    font-size: 1.8em;
    font-weight: bold;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0,0,0,.5);
    background-color: transparent;
  }
}
@media all and (min-width: 1200px) {
  .slider-wrapper {
    height: auto;
  }
  .slider-item__image {
    padding-right: 20%;
  }
  .slider-item__text {
    right: 6%;
    top: 80px;
    width: 330px;
    font-size: 2.3em;
  }
}
@media all and (min-width: 1300px) {
  .slider-item__image {
    padding-right: 25%;
  }
  .slider-item__text {
    right: 5%;
    top: 80px;
    width: 410px;
    font-size: 2.7em;
  }
}
@media all and (min-width: 1500px) {
  .slider-item__image {
    padding-right: 10%;
  }
  .slider-item__text {
    right: 7%;
    top: 80px;
    width: 410px;
    font-size: 3.3em;
  }
}
@media all and (min-width: 1700px) {
  .slider-wrapper {
    background-position: bottom right;
  }
  .slider-item__text {
    top: 150px;
    right: 10%;
    width: 500px;
  }
}




/**
 * Map
 */
.map {
  margin-top: 1.5rem;
}
.map__image,
.map__area {
  display: none;
}
.map__link {
  text-align: center;
}
.map__link a {
  position: relative;
  display: inline-block;
  width: 200px;
  padding: .5rem 2rem;
  font-size: 1.2em;
  text-align: left;
  text-transform: uppercase;
  color: #FFF;
  background-color: #EB5041;
  transition: all ease .2s;
}
.map__link a:hover {
  background-color: #d92816;
}
.map__link a::after {
  content: "";
  position: absolute;
  top: 1.2rem;
  right: 2rem;
  display: block;
  width: 30px;
  height: 30px;
  transform: rotate(-45deg);
  border-bottom: 2px solid #FFF;
  border-right: 2px solid #FFF;
}
.map__text {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: center;
  -ms-align-items: center;
  align-items: center;
  width: 280px;
  height: 280px;
  margin: 1rem auto;
  padding: 1rem;
  text-align: center;
  color: #FFF;
  background-color: #ED7422;
  border-radius: 50%;
}
.map__text strong {
  font-size: 1.2em;
}
@media all and (min-width: 1300px) {
  .map {
    margin-bottom: 5rem;
  }
  .map,
  .map__wrapper {
    position: relative;
  }
  .map__base {
    position: relative;
    width: 729px;
    margin-top: -200px;
  }
  .map__image {
    display: block;
  }
  .map__link {
    position: absolute;
    top: 90px;
    right: 0;
  }
  .map__text {
    position: absolute;
    top: 0;
    right: 0;
  }
}
@media all and (min-width: 1500px) {
  .map__text {
    right: 20px;
  }
}
@media all and (min-width: 1700px) {
  .map__text {
    width: 340px;
    height: 340px;
    right: 30px;
    font-size: 1.3em;
    line-height: 1.2;
  }
}


/**
 * Arrow title
 */
.arrow-title {
  font-size: 1.8em;
}
.arrow-title::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-right: .5rem;
  background-image: url(../images/arrows--orange.svg);
  background-repeat: no-repeat;
  background-position: center;
  -webkit-background-size: contain;
  background-size: contain;
}
@media all and (min-width: 750px) {
  .arrow-title {
    font-size: 2.2em;
  }
  .arrow-title::before {
    width: 36px;
    height: 36px;
  }
}
@media all and (min-width: 1200px) {
  .arrow-title {
    font-size: 2.75em;
  }
  .arrow-title::before {
    width: 42px;
    height: 42px;
  }
}


/**
 * Bubble links
 */

.bubble-link a,
.bubble-link span {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: center;
  -ms-align-items: center;
  align-items: center;
  padding: 1rem;
  margin: .5rem auto;
  text-align: center;
  line-height: 1.2;
  color: #FFF;
  border-radius: 50%;
  transition: all ease .2s;
}
.bubble-link a:hover,
.bubble-link span:hover {
  transform: scale(1.05);
}
.bubble-link .field__item:nth-child(1) a {
  width: 130px;
  height: 130px;
  background-color: #132D61;
}
.bubble-link .field__item:nth-child(1) a:hover {
  background-color: #0f244d;
}
.bubble-link .field__item:nth-child(2) a {
  width: 130px;
  height: 130px;
  background-color: #EB5041;
}
.bubble-link .field__item:nth-child(2) a:hover {
  background-color: #d92816;
}
.bubble-link .field__item:nth-child(3) span {
  width: 70px;
  height: 70px;
  background-color: #B290C2;
}
.bubble-link .field__item:nth-child(3) span:hover {
  background-color: #9364aa;
}
.bubble-link .field__item:nth-child(4) a {
  width: 140px;
  height: 140px;
  background-color: #ED7422;
}
.bubble-link .field__item:nth-child(4) a:hover {
  background-color: #c85a10;
}
.bubble-link .field__item:nth-child(5) a {
  width: 80px;
  height: 80px;
  background-color: #D1A380;
}
.bubble-link .field__item:nth-child(5) a:hover {
  background-color: #bf7f4e;
}
@media all and (min-width: 500px) {
  .bubble-link .field__items {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-between;
    -ms-align-items: center;
    align-items: center;
  }
  .bubble-link a,
  .bubble-link span {
    margin: .5rem;
  }
}
@media all and (min-width: 900px) {
  .bubble-link .field__items {
    -ms-align-items: inherit;
    align-items: inherit;
  }
  .bubble-link .field__item:nth-child(2) {
    position: relative;
    margin-top: 6rem;
  }
  .bubble-link .field__item:nth-child(2)::before {
    content: "";
    position: absolute;
    z-index: -1;
    display: block;
    width: 130px;
    height: 130px;
    border: 1px solid #000;
    border-radius: 50%;
  }
  .bubble-link .field__item:nth-child(3) {
    margin-top: 3rem;
  }
  .bubble-link .field__item:nth-child(3) {
    position: relative;
  }
  .bubble-link .field__item:nth-child(3)::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    z-index: -1;
    display: block;
    width: 60px;
    height: 60px;
    border: 1px solid #000;
    border-radius: 50%;
  }
  .bubble-link .field__item:nth-child(4) {
    margin-top: 4rem;
  }
  .bubble-link .field__item:nth-child(5) {
    margin-top: -.5rem;
  }
}
@media all and (min-width: 1300px) {
  .bubble-link a,
  .bubble-link span {
    font-size: 1.3em;
    line-height: 1.3;
  }
  .bubble-link .field__item:nth-child(1) a {
    width: 200px;
    height: 200px;
  }
  .bubble-link .field__item:nth-child(2) a {
    width: 200px;
    height: 200px;
  }
  .bubble-link .field__item:nth-child(2)::before {
    width: 190px;
    height: 190px;
  }
  .bubble-link .field__item:nth-child(2) a::after {
    width: 80px;
    height: 80px;
  }
  .bubble-link .field__item:nth-child(3) span {
    width: 130px;
    height: 130px;
  }
  .bubble-link .field__item:nth-child(3)::before {
    width: 130px;
    height: 130px;
  }
  .bubble-link .field__item:nth-child(4) a {
    width: 180px;
    height: 180px;
  }
  .bubble-link .field__item:nth-child(5) a {
    width: 140px;
    height: 140px;
  }
}
@media all and (min-width: 1500px) {
  .bubble-link .field__item:nth-child(2) {
    margin-top: 10rem;
  }
  .bubble-link .field__item:nth-child(3) {
    margin-top: 6rem;
  }
  .bubble-link .field__item:nth-child(4) {
    margin-top: 7rem;
  }
  .bubble-link .field__item:nth-child(5) {
    margin-top: -.5rem;
  }
}


/**
 * Block reference
 */
.actualites {
  padding: 1rem 0;
  background-color: #E1D9D5;
}
.actualites h2 {
  font-size: 1.8em;
}
.actualites h2::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-right: .5rem;
  background-image: url(../images/arrows--orange.svg);
  background-repeat: no-repeat;
  background-position: center;
  -webkit-background-size: contain;
  background-size: contain;
}
@media all and (min-width: 750px) {
  .actualites {
    padding: 3rem 0;
  }
  .actualites h2 {
    font-size: 2.2em;
  }
  .actualites h2::before {
    width: 36px;
    height: 36px;
  }
}
@media all and (min-width: 1200px) {
  .actualites {
    padding: 4rem 0;
  }
  .actualites h2 {
    font-size: 2.75em;
  }
  .actualites h2::before {
    width: 42px;
    height: 42px;
  }
}


/**
 * Agencies
 */
.agencies-wrapper {
  padding: 1rem 0;
  color: #FFF;
  background-color: #A71D17;
}
.agencies-wrapper__title {
  font-size: 1.8em;
}
.agencies-wrapper__title::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  background-image: url(../images/arrows--white.svg);
  background-repeat: no-repeat;
  background-position: center;
  -webkit-background-size: contain;
  background-size: contain;
}
.agencies-item {
  position: relative;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid #FFF;
}
.agencies-item__title {
  margin: 0;
  font-size: 1.1em;
  font-weight: bold;
}
.agencies-item__cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1rem;
  padding: 0 2rem;
}
.agencies-item__cta a {
  display: block;
  text-align: center;
  padding: .3rem 1rem;
  font-size: .9em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A71D17;
  border: 1px solid #FFF;
  background-color: #FFF;
}
.agencies-item__cta a:hover {
  color: #FFF;
  background-color: #A71D17;
}
@media all and (min-width: 750px) {
  .agencies-wrapper {
    padding: 3rem 0;
  }
  .agencies-wrapper__title {
    font-size: 2.2em;
  }
  .agencies-wrapper__title::before {
    width: 36px;
    height: 36px;
  }
  .agencies-item {
    margin-bottom: 3.5rem;
  }
}
@media all and (min-width: 1200px) {
  .agencies-wrapper {
    padding: 4rem 0;
  }
  .agencies-wrapper__title {
    font-size: 2.75em;
  }
  .agencies-wrapper__title::before {
    width: 42px;
    height: 42px;
  }
}


/**
 * cards
 */
.card-list {
  list-style: none;
  padding-left: 0;
}
.card {
  margin: 2.5rem 0;
  display: block;
  text-decoration: none;
  color: #000;
}
.card__image,
.card__text-wrapper {
  width: 85%;
}
.card__image {
  position: relative;
}
.card__text-wrapper {
  position: relative;
  padding: 1rem;
  margin-top: -2rem;
  margin-left: auto;
  background-color: #FFF;
}
.card__title {
  margin: 0;
  color: #ED7422;
}
.card__body a {
  font-weight: bold;
  color: #ED7422;
}
.card__body a:hover {
  color: #EB5041;
  text-decoration: underline;
}
@media all and (min-width: 1000px) {
  .card__image,
  .card__text-wrapper {
    width: 75%;
  }
  .card__text-wrapper {
    position: relative;
  }
  .card-list li:nth-child(1) .card__text-wrapper::after {
    content: "";
    position: absolute;
    left: -100px;
    top: 40px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid #555;
    border-left: 1px solid transparent;
    transform: rotate(25deg);
  }
  .card-list li:nth-child(2) .card__text-wrapper::after {
    content: "";
    position: absolute;
    left: 60%;
    top: -70px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border-top: 1px solid #555;
    border-right: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-left: 1px solid transparent;
    transform: rotate(25deg);
  }
  .card-list li {
    position: relative;
  }
  .card-list li:nth-child(2)::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #D1A380;
  }
  .card-list li:nth-child(3)::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 100px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #EB5041;
  }
}
@media all and (min-width: 1000px) {
  .card-list li:nth-child(3)::before {
    left: 30px;
    top: 150px;
  }
}
@media all and (min-width: 1300px) {
  .card__text-wrapper {
    padding: 1.5rem;
  }
  .card__title {
    font-size: 1.1em;
  }
}


/**
 * Featured
 */
.featured {
  margin-top: 2rem;
}
.featured__intro {
  font-size: 1.1em;
}
.featured__text-blocks .field__item {
  padding: .1rem 1rem;
  max-width: 260px;
  margin: 0 auto;
  text-align: center;
  border-bottom: 1px solid #E0CB4C;
}
.featured__text-blocks .field__item:first-child {
  border-top: 1px solid #E0CB4C;
}
.featured__image {
  margin: 1rem auto;
  max-width: 200px;
}
@media all and (min-width: 750px) {
  .featured {
    margin-top: 3rem;
  }
  .featured__wrapper {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
  }
}
@media all and (min-width: 1000px) {
  .featured {
    margin-top: 5rem;
    margin-bottom: 3rem;
  }
  .featured__content {
    width: 75%;
  }
  .featured__image {
    width: 25%;
  }
  .featured__text-blocks .field__items {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .featured__text-blocks .field__item {
    width: 30%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    max-width: none;
    border-top: 1px solid #E0CB4C;
    margin: 0 1rem 0 0;
  }
  .featured__text-blocks .field__item:nth-child(n+4) {
    border-top: none;
  }
  .featured__intro {
    padding-left: 100px;
    background-image: url(../images/arrows--yellow.svg);
    background-position: left top;
    background-repeat: no-repeat;
    -webkit-background-size: auto 80px;
    background-size: auto 80px;
  }
  .featured__image {
    position: relative;
  }
  .featured__image::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 100px;
    right: -100px;
    display: block;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    opacity: .5;
    background-color: #E0CB4C;
  }
}
@media all and (min-width: 1300px) {
  .featured {
    margin-top: 8rem;
  }
  .featured__text-blocks .field__items {
    padding-right: 2rem;
  }
  .featured__intro {
    margin-bottom: 2rem;
    font-size: 1.2em;
  }
  .featured__text-blocks .field__item {
    width: calc(30% - 1rem);
  }
  .featured__text-blocks .field__item:nth-child(3n+3) {
    width: calc(40% - 1rem);
  }
  .featured__image {
    max-width: none;
  }
  .featured__image::before {
    right: -200px;
    width: 360px;
    height: 360px;
  }
}
@media all and (min-width: 1500px) {
  .featured__text-blocks .field__item {
    margin-right: 2rem;
    width: calc(30% - 2rem);
    font-size: 1.1em;
  }
  .featured__text-blocks .field__item:nth-child(3n+3) {
    width: calc(40% - 2rem);
  }
  .featured__image::before {
    right: -200px;
    width: 360px;
    height: 360px;
  }
}


/**
 * Cookie banner
 */
.eu-cookie-compliance-banner {
  padding-top: .5rem;
}
.eu-cookie-compliance-default-button,
.eu-cookie-compliance-secondary-button {
  padding: .5rem;
  border-radius: 0;
  text-shadow: none;
  font-weight: normal;
  border: none;
}
.eu-cookie-compliance-default-button {
  background-color: rgba(255,255,255,.3);
  background-image: none;
  box-shadow: none;
}
.eu-cookie-compliance-secondary-button {
  color: #333;
  background-color: rgba(255,255,255,1);
}


/**
 * Article List
 */

.article-list {
  overflow-x: hidden;
}
.article-list .view-content {
  display: grid;
}
.article-list .view-content > div {
  position: relative;
}
.article-list .view-content > div::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background-color: #727272;
}
.article-list .view-content > div:last-child::after {
  content: none;
}
@media all and (min-width: 750px) {
  .article-list .view-content > div::after {
    width: 350px;
  }
}



/**
 * Article
 */

.article {
  margin: 2.5rem 0;
  padding: 1rem 1rem 1.5rem 1rem;
  border-radius: 30px;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.article__title {
  color: #000;
  text-align: center;
  font-family: Montserrat;
  font-size: 28px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  margin: 0;
  position: relative;
  z-index: 2;
}
.article__image {
  position: relative;
  width: fit-content;
  margin: 0 auto 2rem;
}
.article__image .field {
  width: fit-content;
  overflow: hidden;
  border-radius: 30px;
  z-index: 2;
  position: relative;
}
.article__image img {
  display: block;
}
.article__body-full {
  display: none;
}
.article__text-wrapper--trimmed.js-open .article__body-full {
  display: block;
}
.article__text-wrapper--trimmed.js-open .article__body,
.article__text-wrapper--trimmed.js-open .read-more-button{
  display: none;
}
@media all and (min-width: 750px) {
  .article {
    margin: 8rem 0;
    padding: 2.5rem 2rem;
  }
  .article__title {
    margin: -3rem 0 0 0;
    transform: translateY(-25%);
  }
}
@media all and (min-width: 1250px) {
  .article {
    gap: 0;
  }
  .article__title {
    margin: -4rem 0 0 0;
    font-size: 64px;
  }
  .article__image {
    margin: 0 auto;
  }
  .article__wrapper--with-image {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, calc(50% - 1rem));
  }
}

.read-more-button {
  color: #000;
  text-align: center;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-decoration-line: underline;
  border: none;
  background-color: transparent;
}


/**
 * Article Images before
 */

.article-list .view-content > div .article__image::before {
  content: '';
  display: block;
  position: absolute;
  border-radius: 100%;
  z-index: 1;
}
.article-list .view-content > div:nth-child(2n+1) .article__image::before {
  width: 133px;
  height: 133px;
  left: -50px;
  top: -25px;
}
.article-list .view-content > div:nth-child(2n) .article__image::before {
  width: 73px;
  height: 73px;
  right: -20px;
  bottom: -25px;
}
@media all and (min-width: 750px) {
  .article-list .view-content > div:nth-child(2n+1) .article__image::before {
    width: 173px;
    height: 173px;
    left: -85px;
    top: -40px;
  }
  .article-list .view-content > div:nth-child(2n) .article__image::before {
    width: 130px;
    height: 130px;
    right: -45px;
    bottom: -30px;
  }
}
@media all and (min-width: 1250px) {
  .article-list .view-content > div:nth-child(2n) .article__image {
    order: 1;
  }
  .article-list .view-content > div:nth-child(2n+1) .article__image::before {
    left: -100px;
    top: -95px;
  }
  .article-list .view-content > div:nth-child(2n) .article__image::before {
    right: -80px;
    bottom: -75px;
  }
}

/**
 * Article Images before color
 */

.article-list .view-content > div:nth-child(6n+1) .article__image::before {
  background-color: #B290C2;
}
.article-list .view-content > div:nth-child(6n+2) .article__image::before {
  background-color: #ED7422;
}
.article-list .view-content > div:nth-child(6n+3) .article__image::before {
  background-color: #132D61;
}
.article-list .view-content > div:nth-child(6n+4) .article__image::before {
  background-color: #EB5041;
}
.article-list .view-content > div:nth-child(6n+5) .article__image::before {
  background-color: #D1A380;
}
.article-list .view-content > div:nth-child(6n+6) .article__image::before {
  background-color: #E0CB4C;
}


/**
 * Homepage News see more
 */
.news-homepage .more-link {
  text-align: center;
}
.news-homepage .more-link a {
  display: inline-block;
  text-align: center;
  padding: .3rem 1rem;
  font-size: .9em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A71D17;
  border: 1px solid #FFF;
  background-color: #FFF;
}
.news-homepage .more-link a:hover {
  color: #FFF;
  background-color: #A71D17;
}

.ck-subtitle {
  color: #B290C2;
  font-family: Montserrat;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
