
h5{
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;

    font-size: 25px;
}

@media only screen and (max-width: 480px) {
    h5 {
      font-size: 20px;
    }
  }

h6{
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    
    font-size: 15px;
}

/*setting per le icone dei social nella nav bar*/
nav img{
    width: 32px;
    height: 32px;
}

/*Setting per la scelta del gruppo*/


figcaption{
    text-align: center;
    font-weight: 600;
    font-family: 'Times New Roman', Times, serif, sans-serif;
    color: #0156aa;
}

.choice{
    background-color: rgba(0, 0, 0, 0);
    border-radius: 32px;
    box-shadow: 0px 5px 17px #0156aa80;
}
.choice:hover{
    cursor: pointer;
}
.activeChoice{
    color: #0156aa;
}

.nav-item h4{
    font-weight: bold;
    text-transform: uppercase;
}

.nav-item p{
    font-family: "Montserrat", sans-serif;
}

/*Modal setting*/
.hiddenLink{
    display: none;
    color: transparent;
}

.modalRow{
    text-align: center;
}

#modalLabel{
    color: #0156aa;
}

.greenHighlight{
    color: #09920f;
}


/*Featured*/
/*--------------------------------------------------------------
# Featured
--------------------------------------------------------------*/
.featured {
    padding: 40px 0 0 0;
    background: white;
  }
  
  .featured .nav-tabs {
    border: 0;
  }
  
  .featured .nav-link {
    border: 0;
    padding: 20px;
    color: #151515;
    transition: 0.3s;
  }
  
  .featured .nav-link h4 {
    font-size: 18px;
    font-weight: 600;
    transition: 0.3s;
  }
  
  .featured .nav-link h4 > .chosen{
    display: none;
  }
  
  .featured .nav-link:hover h4 {
    color: #0156aa;
  }
  
  .featured .nav-link p {
    font-size: 14px;
    margin-bottom: 0;
  }
  
  .featured .nav-link.active {
    box-shadow: 0px 0 25px rgba(0, 0, 0, 0.08);
  }
  
  .featured .nav-link.active h4 {
    color: royalblue;
  }
  
  .featured .nav-link.active h4 >.chosen{
    display: initial;
    color: #0156aa;
  }
  
  .featured .tab-pane.active {
    -webkit-animation: slide-down 0.5s ease-out;
    animation: slide-down 0.5s ease-out;
  }
  
  @-webkit-keyframes slide-down {
    0% {
      opacity: 0;
    }
  
    100% {
      opacity: 1;
    }
  }
  
  @keyframes slide-down {
    0% {
      opacity: 0;
    }
  
    100% {
      opacity: 1;
    }
  }

  /*MODAL*/

.modal {
  position: fixed;
  left: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
  width: 100%;
  height: 0px;
  background: rgba(51,51,51, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.4s;
}
  
  .modal-container {
    display: flex;
    max-width: 1200px;
    height: 650px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transition-duration: 0.3s;
    background: #fff;
    transform: translateY(100px) scale(0.4);
  }

  .modal-title {
    font-size: 26px;
    margin: 0;
    font-weight: 400;
    color: #0156aa;
  }

  .modal-date{
    font-style: italic;
  }

  .modal-desc {
    margin: 6px 0 30px 0;
    height: 85%;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .modal-right {
    padding: 60px 30px 20px;
    background: #fff;
    flex: 1.5;
    transition-duration: 0.5s;
    transform: translateY(80px);
    opacity: 0;
    
  }
  
  .modal-button:hover {
      border-color: rgba(255, 255, 255, 0.2);
      background: rgba(#fff, 0.8);
    }

  .modal-left {
    flex: 2;
    font-size: 0;
    transition: 0.3s;
    overflow: hidden;
  }

  .modal-left img {
      width: 100%;
      height: 100%;
      transform: scale(2);
      object-fit: fill;
      transition-duration: 1.2s;
    } 

  .modal.is-open {
    height: 100%;
    background: rgba(#333, 0.85);
  }    

  .modal.is-open .modal-button {
    opacity: 0;
  }


  .modal.is-open .modal-container {
    opacity: 1;
    transition-duration: 0.6s;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .modal.is-open .modal-left img {
    transform: scale(1);
  }

  .modal.is-open .modal-right {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
  }

.icon-button {
  outline: 0;
  position: absolute;
  right: 25px;
  top: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  background: 0;
  padding: 0;
  cursor: pointer;
}


@media(max-width: 750px) {
  .modal-container {
    width: 90%;
    height: 500px;
  }
  .modal-left {
    display: none;
  }
  .icon-button {
    right: 10px;
  }
  .modal-desc {
    height: 75%;
  }
}