/*** FONTS ****/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');
main {
  max-width: 1200px;
}
h1,h2,h3,h4,h5,h6,p {
  font-family: 'Montserrat', sans-serif;
  color: #323436;
  margin: 20px 0 30px;
}

h1 {
  font-size: 24px;
}

 h2 {
  padding-left: 0 !important;
  font-size: 21px;
 }

section {
    max-width: 1200px;
    margin: 0 auto;
}

.list-unstyled li{
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    font-style: normal;
    color: #323436;
    font-size: 14px;
    padding-bottom: 5px;
}

footer {
  background: #b40f0f;
}

footer ul li {
  list-style: none;
  line-height: 14px;
  margin: 10px 0;
}

footer ul li a, footer p {
    font-family: 'Montserrat', sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    color: #f5f5f5;
    font-size: 16px;
}

.social-footer a {
    color: #f5f5f5;
    font-size: 30px;
}

.social-footer a:hover {
    color: #ffffff;
    transition: all .2s;
}

footer ul li a {
  text-decoration: none;
  text-transform: capitalize;
}

.card-img-caption >.card-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  min-height: 38px;
  margin-bottom: 14px;
  min-height: 50px;
}

.card-body > .card-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  min-height: 55px;
}

.insegnante > figure {
  margin: 0! important;
  padding: 0 !important;
  width: 50%;
}


.testo-insegnante {
  width: 50%;
}
.testo-insegnante p {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-top: 80px;
  margin-left: 30px;
}

.col-dx {
  padding-top: 60px;
}

.studium h2 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 15px;
}

.studium-intro p {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 500;
  min-height: 32px;
  color: #323436;
}


.studium p {
  font-family: 'Montserrat', sans-serif;
  font-size:16px;
  font-weight: 500;
  min-height: 32px;
  color: #323436;
}
.studium-row:before {
  content: '';
  display: table;
  width: 100%;
  background: #b40f0f;
  height: 30px;
  margin: 30px 0 15px 0;
}

.read-more {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  text-transform: uppercase;
  background: rgba(0,0,0, 1);
  display: block;
  text-align: right;
  max-width: 93px;
  font-size: 12px;
  height: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .3s;
  border-radius: 2px
}

.read-more:hover {
  background: #b40f0f;
}

/**
LIGHTBOX
**/

.ekko-lightbox-nav-overlay a {
    color: goldenrod;
}
.gallery-title {
    text-align: left;
	font-weight: 500;
	margin-top: 1em;
}




/** MENU **/

a.nav-link.menu {
    padding: 0 !important;
}

.navbar-toggler {
    border: none;
    color: #b40f0f !important;
    width: 65px;
}

.lni-menu-hamburger-1 {
    width: 50px;
}

nav img {
    max-width: 220px;
    width: 100%;
}
.nav-link{
    color: #323436;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    margin-left: 14px !important;
    padding: 0;
}



.navbar-toggler:focus {
    box-shadow: none;
}


.handwrite {
    font-family: "Shantell Sans", cursive;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    color: #b40f0f;
    font-size: 20px;
    padding-right: 20px;
    font-style: italic;
}

.social li i {
    font-size: 25px;
}

.btn-studium, .btn-studium i {
  background-color: #111111;
  color: #fff;
}

.btn-studium:hover, .btn-studium:hover i {
  background: #b40f0f;
  color: #ddd;
  transition: all .3s;
}
 /** END MENU **/
.breadcrumb-item, .breadcrumb-item a {
    color: #565656;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    text-transform: capitalize;
    text-decoration: none;
    transition: color .3s;
    margin-bottom: 42px;
}

.box-home-image {
    max-width: 390px;

    position: relative;
    cursor: pointer;
}

.box-home-image:hover img {
    opacity: 65%;
    transition: opacity .4s;
}

.txt-home {
    position: absolute;
    top: 10%;
    right: 10%;
}

.txt-home-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  /*color: #323436;*/
  color: #b40f0f;
  transition: color .1s;
}

.txt-home-link:hover {
  color: #b40f0f;
}

.home-box {
    margin: 0 !important;
    padding: 0 !important;
}

.richeditor {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500;
    font-size: 16px;
}

figure img {
    width: 100%;
    height: auto;
}

.mt-70 {
    margin-top: 70px;
}

.mt-20 {
  margin-top: 20px;
}

.titolo-gallery {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.gallery-list figure {
  padding: 15px;
  border: 1px solid #b40f0f;
  border-radius: 3px;
  box-shadow: 3px 0px 8px 4px rgba(95,54,148,0.25);
}

.gallery-list figure:hover {
  transform: scale(1.05);
  transition: all .3s;
}

.gallery-list-home figure:hover {
  transform: scale(1.05);
  box-shadow: 3px 0px 8px 4px rgba(37, 35, 0, 0.418);
  transition: all .3s;
}

.immagine-corso >  figure > img  {
max-width: 250px;
max-height: 250px;
overflow: hidden;
}

.descrizione-corso {
  font-size: 16px;
  font-weight: 600;
  line-height: 25px;
}

.elenco-corsi {
  list-style: none;
  padding-left: 0;
}

.elenco-corsi li {
  margin-bottom: 20px;
}

.elenco-corsi a {
  font-family: 'Montserrat', sans-serif;
  color: #323436;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all .3s;
  margin-bottom: 20px;
}

.elenco-corsi a:hover {
    color: #b40f0f;
}

.elenco-corsi a.active {
    color: #b40f0f;
}

.list-inline-item a {
    color: #323436;
}

.list-inline-item a:hover {
    color: #b40f0f;
    transform: scale(1.2);
    transition: all 0.3s ease;
}



/* SCROLL ANIMATION **/

.view {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  .block {
    height: 200px;
    width: 300px;
    margin: 50px;
    border: 0.5mm solid black;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
      rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
      rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  }
  .block:nth-child(1) {
    background: rgb(232, 88, 67);
  }
  .block:nth-child(2) {
    background: rgb(26, 84, 207);
  }
  .block:nth-child(3) {
    background: rgb(36, 217, 127);
  }
  .block:nth-child(4) {
    background: rgb(157, 86, 247);
    width: 700px;
  }
  .block:nth-child(5) {
    background: rgb(250, 201, 82);
  }
  .block:nth-child(6) {
    background: rgb(26, 84, 207);
  }
  .block:nth-child(7) {
    background: rgb(157, 86, 247);
  }
  .block:nth-child(8) {
    background: rgb(36, 217, 127);
    width: 700px;
  }
  .block:nth-child(9) {
    background: rgb(232, 88, 67);
  }
  .block:nth-child(10) {
    background: rgb(250, 201, 82);
    width: 700px;
  }
  .block:nth-child(11) {
    background: rgb(26, 84, 207);
  }
  .block:nth-child(12) {
    background: rgb(36, 217, 127);
  }
  .block:nth-child(13) {
    background: rgb(157, 86, 247);
  }
  .block:nth-child(14) {
    background: rgb(250, 201, 82);
  }
  .block:nth-child(15) {
    background: rgb(232, 88, 67);
  }
  .block:nth-child(16) {
    background: rgb(36, 217, 127);
    width: 700px;
  }
  .block:nth-child(17) {
    background: rgb(157, 86, 247);
  }
  .block:nth-child(18) {
    background: rgb(26, 84, 207);
  }
  .block:nth-child(19) {
    background: rgb(250, 201, 82);
  }
  .block:nth-child(20) {
    background: rgb(232, 88, 67);
    width: 700px;
  }

  @keyframes appear {
    from {
      opacity: 0;
      clip-path: inset(100% 100% 0 0);
    }
    to {
      opacity: 1;
      clip-path: inset(0 0 0 0);
    }
  }

  .block {
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
  }

  .home-gallery {
    background-color: yellow;
  }

  .home-gallery a {
    text-decoration: none;
    font-weight: 600;
  }

  .home-gallery-inner {
    width: 200px;
    height: auto;
  }

  .home-gallery figure, .home-gallery figure img {
    margin-bottom: 0 !important;
  }

  .chessboard {
    margin: 0 10px 0 ;
  }

  .formazione > figure {
    max-width: 500px;
    height: auto;
  }

.form-control:focus {
  border-color: #b40f0f !important;
  box-shadow: 0 0 0 3px rgba(95,54,148,0.25) !important;
}

  .fa-solid {
    color: #b40f0f;
  }
  .fa-solid:hover {
    transform: scale(1.5,1.5);
    color: #b40f0f;
    transition: transform .3s;
  }

  .eventi-intestazione p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
  }

  .eventi-intestazione h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 500;
  }

  .evento-image > img {
    max-width: 500px;
    height: auto;
  }

  .modal-backdrop {
    opacity: 0;
  }

  .modal-backdrop.show {
    opacity: 0 !important;
    z-index:-1;
  }

  .map {
    padding-top: 100px;
    margin-top: 70px;
    border-top: 3px solid #b40f0f;
  }

  .orari-studium-inner {
    min-height: 120px;
  }

  /* per far scorrere il menu sopra la pagina
  .navbar-collapse {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background-color: white;
      z-index: 999;
    }
*/
.navbar-toggler i {
    color: #b40f0f;
}
  @media (min-width: 320px) {
    .container,.container-sm {
        max-width: 420px
    }
    .navbar-nav {
      text-align: center;
      z-index: 3;
    }

    .navbar-nav li{
      padding: 10px 0;
    }

    .nav-link {
      font-size: 14px;
    }

    .testo-insegnante p{
      font-size: 12px;
      margin-top: 20px;
      margin-right: 5px;
    }


}

  @media (min-width: 576px) {
    .container,.container-sm {
        max-width:540px
    }
    .navbar-nav {
      text-align: center;
      z-index: 3;
    }

    .navbar-nav li{
      padding: 10px 0;
    }

    .nav-link {
      font-size: 14px;
    }
    .testo-insegnante p{
      font-size: 16px;
      margin-top: 25px;
    }
    .offcanvas.offcanvas-top {
       /*background: #b40f0f !important;*/
    background: #ffffff !important;
      opacity: 1;
    }
}

@media (min-width: 768px) {
    .container,.container-md,.container-sm {
        max-width:720px
    }

    .navbar-nav {
      text-align: center;
      z-index: 3;
    }

    .navbar-nav li{
      padding: 10px 0;
    }

    .nav-link {
      font-size: 14px;
    }
    .testo-insegnante p {
      font-size: 14px;
      margin-top: 35px;
    }
    .offcanvas.offcanvas-top {
       /*background: #b40f0f !important;*/
    background: #ffffff !important;
    }
    .home-news:first-child {
        margin-right: 10px;
    }
}

@media (min-width: 992px) {
    .container,.container-lg,.container-md,.container-sm {
        max-width:960px
    }
    .testo-insegnante p {
      font-size: 20px;
    }
    .offcanvas.offcanvas-top {
      background: none !important;
    }
    /* per far scorrere il menu sopra la pagina
    .navbar-collapse {
        position: static;
        background-color: white;
      } */

    .nav-link.active::after {
    content: '';
    height: 3px;
    width: 100%;
    background-color: #323436;
    display: block;
    }

    .nav-link::after{
        content: '';
        height: 3px;
        width: 0%;
        background-color: #323436;
        display: block;
    }

    .nav-link:hover::after {
        width: 100%;
        transition: width .4s;
    }
}

@media (min-width: 1200px) {
    .container,.container-lg,.container-md,.container-sm,.container-xl {
        max-width:1200px
    }
    .home-news {
      max-width: 200px !important;
    }
    .offcanvas.offcanvas-top {
      background: none !important;
    }
}

@media (min-width: 1400px) {
    .container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl {
        max-width:1200px !important;
    }
    .home-news {
      max-width: 200px !important;
    }
    .offcanvas.offcanvas-top {
      background: none !important;
    }
}


/** MENU RESPONSIVE  */

@media screen and (min-width:320px) and  (max-width:767px) {


.modal-backdrop.show {
    /* background-color: yellow;*/
    opacity: 0 !important;

 }
 .offcanvas {

    background: #ffffff !important;
     min-height: 100vh;

 }

.fa-x {
    margin-top: 20px;
}

}
