@media only screen and (max-width: 1024px) and (orientation: landscape) {
  .thumbex {
    min-height: unset;
  }
}

@media only screen and (max-width: 768px) {
  #productions .section-header {
    flex-direction: column;
    align-items: normal;
    margin: 2em 0;
  }

  #productions .section-header .header-right {
    display: none;
  }

  #productions .section-header .header-left .dash {
    margin-right: 1em;
  }

  #productions .section-header .header-left .header-title {
    font-size: 25px;
  }

  #productions .section-content .load-more {
    font-size: 16px;
    font-weight: 600;
    color: var(--main-color);
  }

  #productions .hidden-xs-up {
    margin-bottom: 2em;
  }

  #productions .mobile-hidden-group,
  #productions .show-on-toggle {
    display: none;
    margin-bottom: 2em;
  }

  .thumbex {
    margin-bottom: 1.2em;
  }

  .thumbex .thumbnail-box {
    height: 200px;
  }

  .thumbex .thumbnail-title .title {
    text-decoration-line: underline;
    text-decoration-color: var(--lighter-grey) ;
  }

  .thumbnail-excerpt {
    display: none;
  }
}
/* Production en mode teaser */
#productions {
  margin-bottom: 1em;
}

#productions .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3em 0;
}

#productions .header-desc {
  font-weight: 600;
  font-size: 16px;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: -0.1px;
  text-align: right;
  color: var(--main-color);
  text-decoration: none;
}

.col-max-6 {
  max-width: 50%;
  padding: 0 15px;
}

.thumbnail-image {
  /* border: 1px solid #f8f8f8; */
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.17);
}


.thumbex {
  background-color: #fff;
  width: 100%;
  /* min-width: 380px;
  width: 450px;
  max-width: 450px; */
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 2rem 2.5rem;
  overflow: hidden;
  margin-bottom: 4em;
  outline-offset: -15px;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -ms-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}

.thumbex.fill-width {
  max-width: 100%;
}

/* TODO FIX*/
.vue-actualites .thumbex {
  width: 400px !important;
}

.thumbex a {
  text-decoration: none;
}

.thumbex.thumbex-event-horizontal {
  min-height: 265px;
}

/* ensure action link at the bottom for any thumbex height size (especially for smaller ones) */
.thumbex.with-absolute-action-link {
  padding-bottom: 6rem;
  position: relative;
}
/* action link to thumbex parent */
.thumbex a .action-link.absolute {
  position: absolute;
  bottom: 2.5rem;
}

/* for homepage */
@media only screen and (min-width: 768px) {
  .home-news-two-columns .thumbex {
    max-width: 100%;
    width: 100%;
    min-height: 300px;
    padding-bottom: 0px;
  }

  .home-news-two-columns .col:nth-child(2){
    margin-left: 15px;
  }

  .home-news-two-columns .thumbex .thumbnail-content {
    display: flex;
  }

  .home-news-two-columns .thumbex .thumbnail-content .thumbnail-box {
    margin-right: 2.5rem;
  }

  .home-news-two-columns .thumbex a .action-link.absolute {
    position: absolute;
    bottom: 3.5rem;
    right: 5rem;
  }
}

.thumbex:hover {
  -webkit-box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.17);
  -moz-box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.17);
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.17);
}

.thumbex .thumbnail-box {
  overflow: hidden;
  min-width: 250px;
  height: 250px;
  position: relative;
  opacity: 0.88;
  backface-visibility: hidden;
  transition: all 0.4s ease-out;
}

.thumbex .thumbnail-box img {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  height: 115%;
  width: auto;
  transform: translate(-50%, -50%);
  backface-visibility: hidden;
  transition: all 0.5s ease;
}

.thumbex .thumbnail-box.auto-height img {
  height: auto;
}

.container .thumbex:hover .thumbnail-box::after,
.thumbex-logo:hover .thumbnail-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--main-color);
}

.thumbex-logo:hover .thumbnail-box::after {
  opacity: 0.6;
}

.container .thumbex:hover .thumbnail-box img {
  opacity: .4;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -ms-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}

.thumbex .resource-type-content {
  display: none !important;
}
.teaser-no-tags .thumbnail-info.top-left {
  display: none !important;
}
.teaser-resource-type-content .resource-type-content {
  display: flex !important;
}
.teaser-resource-type-content .prod-type-content {
  display: none !important;
}

.thumbex .thumbnail-info.top-left {
  position: absolute;
  top: 20px;
  left: 0px;
  background: white;
  padding: 0.5em;
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.40);
  padding-left: 1em;
  display: flex;
  align-items: center;
}

.thumbex .thumbnail-info.top-left .urb-icon {
  color: var(--main-color);
  font-size: 20px;
  overflow: hidden;
}

.thumbex .thumbnail-info.lighter {
  opacity: 0.90;
}

.thumbex .thumbnail-info {
  margin-top: 1.3em;
}

.thumbex .thumbnail-info span {
  margin-right: 8px;
}

.thumbex .thumbnail-info .date,
.thumbex .thumbnail-info .title {
  color: var(--lighter-black);
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
}

.thumbex .thumbnail-info .date.main-color {
  color: var(--main-color) !important;
}

.thumbex .thumbnail-icon-title-bloc {
  border-bottom: 1px solid var(--main-color);
  padding-bottom: 1rem;
  display: flex;
  align-items: center;
}

.thumbex .thumbnail-title .title {
  font-size: 18px;
  font-weight: bold;
  color: var(--lighter-black);
  font-style: normal;
  font-stretch: normal;
  line-height: 1.43;
  letter-spacing: normal;
  margin-top: .8em;
}

.thumbex .excerpt {
  font-size: 16px;
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: -0.1px;
}

.thumbex .urb-icon {
  font-size: 10px;
}

.thumbex .thumbnail-info .urb-icon {
  color: var(--lighter-black);
  font-size: 16px;
}

.thumbex .thumbnail-info .icon-video {
  font-size: 12px;
}


/*** custom ***/
.thumbex {
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.17);
  min-height: 490px;
  transition: height 1.2s;
}

.thumbex.xs {
  min-height: 350px;
}

.thumbex:hover {
  -webkit-box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.37);
  -moz-box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.37);
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.37);
}

.thumbnail-box.natural-size img {
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.thumbex:hover .thumbnail-box img {
  height: 120% !important;
  /* transition: height 1.2s;*/
}

.thumbex:hover .thumbnail-box.natural-size img {
  height: auto !important;
  zoom: 120%;
  max-width: 120%;
}

#other-publication .thumbex:hover .thumbnail-box img {
  height: 150% !important;
  /* transition: height 1.2s;*/
}

/** Play icon on thumbnex **/
.thumbex .thumb-video-btn.urb-icon,
.thumb-video-btn {
  font-size: 80px;
  color: white;
  opacity: 0.75;
  transition: transform .2s, font-size .2s; /* Animation */
}

.thumbex .thumb-video-btn.urb-icon:hover,
.thumb-video-btn:hover {
  opacity: 1;
  font-size: 100px;
}

.thumb-btn-centered-on-img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  padding: 5px;
  transform: translate(-50%,-50%) scale(.5);
}


.thumbex .action-link span,
.thumbex .action-link span.excerpt {
  font-variant: all-small-caps;
  font-weight: 800;
  font-size: 19px;
}

.thumbex .action-link i {
  margin-top: 5px;
}

/**************************************/
/*       All PRODUCTIONS              */
/**************************************/


.pager {
  margin-bottom:  50px;
}

.pager li>a, .pager li>span {
    display: inline-block;
    padding: 10px 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0px;
    color: var(--main-color);
    font-size: 2.5rem;
    margin: 5px;
}