/**
 * 2024 new references styling
 */
#videofield {
  padding-top: 40px;
  position: relative;
}

  #videofield .title {
    text-transform: uppercase;
    color: #482683;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
  }
  
  #videofield .controls {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
  }
  
  #videofield #play-button {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-color: #fff;
    border: 1px solid #482683;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin: 0 8px;
  }
  
    #videofield #play-button::before {
      content: "";
      margin-left: 16px;
      width: 6px;
      height: 22px;
      border: 1px solid #482683;
    }
    
    #videofield #play-button::after {
      content: "";
      margin-right: 16px;
      width: 5px;
      height: 22px;
      border: 1px solid #482683;
    }    
    
    #videofield #play-button.paused::before {
      margin-left: 19px;
      border-right: 1px solid transparent;
      border-left: 14px solid #482683;
      border-top: 11px solid transparent;
      border-bottom: 11px solid transparent;
    }
    
    #videofield #play-button.paused::after {
      display: none;
    }    
  
  #videofield #mute-button {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-color: #fff;
    border: 1px solid #482683;
    margin: 0 8px;
    cursor: pointer;
  }  
  
  #videofield #mute-button::before {  
    content: "";
    display: block;
    width: 25px;
    height: 100%;
    margin: 0 auto;
    background-image: url('img/icon-sound-off.png');
    background-position: 50% 50%;
    background-size: contain;
    background-repeat: no-repeat;    
  }

  #videofield #mute-button.muted::before {
    background-image: url('img/icon-sound-on.png');
  }
  


.references-container {
  margin: 0 40px;
}

  .references-container .reference-title {
    padding-top: 50px;
    font-size: 14px;
    text-transform: uppercase;
    clear: both;
    color: #482683;
  }

  .references-container .larger-reference {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    padding-bottom: 25px;
    padding-top: 25px;
    clear: both;    
  }
  
    @media only screen and (max-width: 640px) {
      .references-container .larger-reference {
        flex-flow: column;      
      }
    }
  
    .references-container .larger-reference .reference__image {
      width: 50%;
      display: flex;
      max-height: 375px;      
    }
    
    @media only screen and (max-width: 640px) {
      .references-container .larger-reference .reference__image {      
        width: 100%;
      }
    }
    
    
    .references-container .larger-reference .reference__image img {
      object-fit: cover;
      width: 100%;
    }    
    
    .references-container .larger-reference .reference__texts {
      background-color: #482683;
      display: flex;
      flex-flow: column;
      justify-content: center;
      width: 50%;
      padding: 20px 60px;      
    }    
    
    @media only screen and (max-width: 640px) {
      .references-container .larger-reference .reference__texts { 
        width: 100%;
        padding: 20px 20px;
      }
   }        
    
    .references-container .larger-reference .reference__texts .reference__category {
      color: #fff;
      text-transform: uppercase;
      font-size: 14px;
    }

    .references-container .larger-reference .reference__texts .reference__name {
      color: #fff;
      font-size: 24px;
      font-weight: 500;
    }

    .references-container .larger-reference .reference__texts .reference__content {
      color: #fff;
      font-size: 16px;
      margin: 20px 0;
    }
    
    .references-container .larger-reference .reference__texts .reference__more-info {
      color: #fff;
      text-transform: uppercase;
      display: inline-block;
      cursor: pointer;
    }
    
        .references-container .larger-reference .reference__texts .reference__more-info:hover {
          text-decoration: underline;
        }
    
        .references-container .larger-reference .reference__texts .reference__more-info::after {
          content: "+";
          display: inline-block; 
          margin-left: 5px;
          font-size: 20px;
          color: #fff;
        }
    
    
.references-container .reference {
  width: 24%;
  margin-right: 1.3%;
  float: left;  
  padding-bottom: 20px;
}

  @media only screen and (max-width: 800px) {  
    .references-container .reference {    
      width: 48%;
      margin-right: 2%;
    }
  }
  
  @media only screen and (max-width: 640px) {  
    .references-container .reference {    
      width: 100%;
      margin-right: 0;
      margin-bottom: 25px;
    }
  }  


.references-container .reference.last-item {
  margin-right: 0;
}

  .references-container .reference .reference__image {
    margin-bottom: 10px;
  }

  .references-container .reference .reference__category {
    text-transform: uppercase;
    font-size: 12px;
    color: #482683;
  }
  
  .references-container .reference .reference__name {
    position: relative;
    margin-top: 10px;
    font-weight: 500;
    font-size: 18px;
    color: #000;
  }  
  
  .references-container .reference .reference__more-info {
    position: absolute;
    right: 0;
    cursor: pointer;
    z-index: 1;
    top: -2px;
    padding: 0 10px;
  }
  
  
.modal {
  display: none;
  overflow: scroll; 
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  padding: 100px;
  background: linear-gradient(#150B50, #482683);;
  width: 100%;
  height: 100%;    
}

@media only screen and (max-width: 1024px) {
  .modal {
    padding: 25px;
  } 
}


.modal .wrapper {
  position: relative;
}

.modal .button {
  border: 1px solid #fff;
  width: 50px;
  height: 50px;
  position: absolute;
  right: 0; 
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-radius: 0;
  background-color: transparent;
  z-index: 9999;
}

@media only screen and (max-width: 1024px) {
  .modal .button {
    background-color: #fff;
    color: #000;
  }
}

.modal.is-open {
  display: block;
}
   
.reference-modal {
  max-width: 860px;
  margin: 0 auto;  
}

.reference-modal .images-container {
  margin-bottom: 30px;
  max-height: 570px;
}

  .reference-modal .images-container img {
    max-height: 500px;
    object-fit: cover;
  }
  
    .reference-modal .images-container .slick-arrow {
      border: 1px solid #fff;
      background-color: #fff;
      border-radius: 50px;
      -moz-border-radius: 50px;
      -webkit-border-radius: 50px;
      width: 50px;
    }
    
    .reference-modal .images-container .slick-arrow.slick-prev {
      left: 20px;
    }
    
    .reference-modal .images-container .slick-arrow.slick-next {    
      right: 20px;
    }

#page .reference-modal h3,
#page .reference-modal p,
#page .reference-modal a {
  color: #fff;
}

.reference-modal a {
  text-decoration: underline;
}

.reference-modal a:hover {
  text-decoration: none;
}

  .reference-modal .slider-nav-thumbnails {
  /* width: 75%; */
    height: 150px;
    margin-bottom: 25px;    
  }
  
    .reference-modal .slider-nav-thumbnails img {  
      max-height: 150px;
      object-fit: contain;
    }
  
  .reference-modal .slider-nav-thumbnails .slick-slide {
    border: 2px solid transparent;
  }
  
  .reference-modal .slider-nav-thumbnails .slick-slide.slick-current {
    border: 2px solid #fff;
  }
  
.references-row + .page-part-wrapper {
  clear: both;
  
}