@media (min-width: 576px) {
  .modal-dialog {
    max-width: 800px;
  }
}



@media screen and (max-width: 1400px) {
  .big-title {
    font-size: 45px !important;
    line-height: 1.1 !important;
  }

}

@media screen and (max-width: 1200px) {

  /* INPAGE NAVIGATION */

  .inpage-navigation .container {
    max-width: unset;
    min-width: 1160px;
    margin: 0 20px
  }

}

@media screen and (max-width: 992px) {
  .dotted-white::before {
    bottom: -55px;
    top: unset;
    width: 90px;
  }

  .dotted-bottom-right::before {
    top: unset;
    left: 30px;
    right: unset;
    bottom: -55px;
  }

  .section-margin {
    margin: 80px 0;
  }

  .section-padding {
    padding: 80px 0;
  }

  .big-title {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }

  h1,
  .fs-1 {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }

  h2,
  .fs-2 {
    font-size: 24px !important; 
    line-height: 1.2 !important;
  }

  h3,
  .fs-3 {
    font-size: 19px;
    line-height: 1.2 ;
  }
  h5,
  .fs-5 {
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  /* VALUE */

  .value {
    padding-left: 40px;
  }

  .value::before {
    left: -10px;
  }

  .value-section {
    padding-top: 100px;
  }

  /* COMMUNITY */

  .community-section .box {
    padding: 25px;
    height: 350px;
  }

  .card-slider .item {
    padding: 25px;
  }

  .card-slider .item::before {
    width: 45px;
    height: 45px;
  }

  .card-slider .slick-prev {
    left: 33% !important;
    bottom: -25px;
    top: unset;
  }
  .card-slider .slick-next {
    right: 38% !important;
    bottom: -25px;
    top: unset;
  }

  .card-slider {
    margin-right: -15px;
    margin-left: -30px;
    padding-left: 20px;
  }
  
  .dotted-bottom-left {
    padding-bottom: 4rem !important;
  }

  .dotted-bottom-left::before {
    bottom: 41px;
  }

  /* COMMUNITY SECTION */

  .community-background::before {
    top: -80px;
  }

  
  .community-slider  .slick-slide {
    padding: 0 15px;
  }



  /* NUMBERS */
  
  .numbers-box {
    flex-flow: column;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  
  .numbers-box .item {
    border-right: 0;
    padding-bottom: 20px;
    padding-top: 20px;
    position: relative;
  }

  .numbers-box .item:last-of-type {
    border-bottom: 0;
  }

  .numbers-box .item::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 130px;
    height: 1px;
    background-color: #D5EDEE;
    left: 39%;
  }

  .numbers-box .item:last-of-type::after {
    content: none;
  }

  .modal-body {
    padding: 1.5rem;
    font-size: 12px;
  }

  .modal-content button {
    top: 20px;
  }

  .modal-content .img-box img {
    max-width: 140px;
  }

  main {
    margin-top: 30px;
  }

}

@media screen and (max-width: 768px) {
  .card-slider .slick-prev {
    left: 30% !important;
  }

  /* NUMBERS */
  .numbers-box .item::after {
    left: 35%;
  }

  .mentor .inpage-navigation .container {
    min-width: 945px;
  }
  .mentee .inpage-navigation .container {
    min-width: 1070px;
  }
  .progetto-atf .inpage-navigation .container {
    min-width: 1025px;
  }

}

@media screen and (max-width: 630px) {
  .hero-90,
  .hero-80 {
    height: 70vh;
  }

  /* NUMBERS */
  .numbers-box .item::after {
    left: 26%;
  }
}
