html{
  scroll-behavior: smooth;
}

body {
  padding-top: 62px;
  /*  margin-bottom: 60px;*/
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-family: 'Titillium Web', sans-serif;
  /*  font-weight: 300;*/
  height: auto;
}

b, strong{
  font-weight: 700;
}

::-moz-selection {
  background: var(--primary-color);
  color: #fff;
}

::selection {
  background: var(--primary-color);
  color: #fff;
}

h1{
  color: var(--primary-color);
}

h1, h2, h3{
  font-weight: 700;
  font-family: 'Titillium Web', sans-serif;
}

h4, h5, h6{
  font-weight: 700;
  /*    font-style: italic;*/
  font-family: 'Titillium Web', sans-serif;
}

.align_center{
  text-align: center;
}

.bg_grey{
  background-color: #efefef;
}

.row{
  margin: 0px;
}

ul{
  padding-left: 10px;
}

li{
  list-style: none;
}

li i{
  margin-right: 5px;
}

a{
  color: inherit;
  text-decoration: none;
  transition: all .2s;
}

a:hover{
  cursor: pointer;
  color: var(--primary-color);
  text-decoration: none;
}

img{
  max-width: 100%;
  border: 0;
}

img.image{
  width: 70%;
  position: relative;
  display: block;
  margin: 0 auto;
}

*,
*::after,
*::before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/*main {
display: flex;
flex-wrap: wrap;
padding-top: 25px;
padding-bottom: 25px;
min-height: calc(100vh - 138px);
}*/

.starter-template {
  padding: 3rem 1.5rem;
  text-align: center;
}

.flex-fill .container{
  padding: 50px 0px;
}

.footer{
  /*  padding: 20px;*/
  text-align: center;
  font-size: 12px;
  background-color: #1F1F1F;
  color: #fff;
  z-index: 1001;
}

.footer-content{
  /*  padding: 40px;*/
  text-align: center;
  font-size: 14px;
  background-color: #303030;
  color: #fff;
  z-index: 1001;
}

.footer-content .img-logo-footer{
  width: 100%;
  margin: 0 auto;
  border-radius: 5px;
  border-bottom-right-radius: 20px;
  margin-bottom: 8px;
}

.footer-bottom{
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  line-height: 60px;
}

@media (max-width: 992px){
  .hidden-md{
    display: none;
  }
}

/*Navbar*/

.navbar-light .navbar-nav .nav-link {
  color: rgba(0,0,0,.8);
  font-size: 14px;
  text-transform: uppercase;
}

.navbar-light .navbar-brand{
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
}

.navbar-brand img{
  height: 36px;
  margin-right: 10px;
}

.navbar.scrolled {
  background-color: var(--primary-color) !important;
  transition: background-color 200ms linear;
}

.navbar.scrolled .nav-link, 
.navbar.scrolled .navbar-brand {
  color: #f1f1f1;
}

.navbar.scrolled .navbar-brand {
  /*  text-shadow: 0px 0px 1px #222;*/
  -webkit-text-fill-color: white; /* Will override color (regardless of order) */
  -webkit-text-stroke-width: 0.5px;
  -webkit-text-stroke-color: black;
}

/*.navbar .logo_bn,
.navbar.scrolled .logo{
display: none;
}

.navbar.scrolled .logo_bn,
.navbar .logo{
display: inline-block;
}*/

.navbar.scrolled .navbar-toggler{
  background-color: #fff;
}

.min-vh-100{
  min-height: calc(100vh - 62px) !important;
}

#search_form .form-control:focus {
  background-color: rgba(0,0,0,0);
  border: 0px;
  outline: 0;
  box-shadow: none;
}

.navbar-collapse ul.navbar-nav{
  width: 80%;
  margin: 0 auto;
  text-align: center;
}

.navbar .nav-link{
  font-weight: 600;
}

@media (min-width: 1400px){
  .navbar-collapse ul.navbar-nav{
    text-align: left;
  }
}

/*Home*/

.home{
  padding-top: 56px;
}

.home .container-fluid{
  padding: 0px;
}

.home .list_aree li{
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.home .banner{
  padding: 15px;
  background-color: var(--primary-color);
  margin-top: 25px;
  margin-bottom: 25px;
  color: #fff;
  text-transform: uppercase;
  border-radius: 3px;
  border-bottom-right-radius: 15px;
}

.home .banner p{
  margin-bottom: 0px;
}

.home .banner a{
  color: var(--primary-color);
  background-color: #fff;
  padding: 3px;
  padding-left: 5px;
  padding-right: 5px;
  font-size: 13px;
  border-radius: 2px;
}

.home .card .btn-primary{
  margin: 5px 0px;
}

/*Grid*/

.grid__link{
  font-weight: 700;
  /*    font-style: italic;*/
  color: #151515 !important;
  font-size: 1rem;
}

.home .grid__link{
  font-size: 1.4rem;
}

.home .grid .grid__item img{
  /*    display: none;*/
}

.js .loading::before,
.js .loading::after {
  content: '';
  position: fixed;
  z-index: 1000;
}

.loading::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #2c2d31;
}

.loading::after {
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 8px solid #383a41;
  border-bottom-color: #565963;
  border-radius: 50%;
  animation: animLoader 0.8s linear infinite forwards;
}

@keyframes animLoader {
  to { transform: rotate(360deg); }
}
.hidden {
  position: absolute;
  overflow: hidden;
  width: 0;
  height: 0;
  pointer-events: none;
}
.content--center {
  flex: 1;
  max-width: 100%;
  order: 3;
}

.grid {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0 auto;
}

.grid--hidden {
  position: fixed !important;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  opacity: 0;
}

.js .grid--loading::before,
.js .grid--loading::after {
  content: '';
  z-index: 1000;
}

.js .grid--loading::before {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #2c2d31;
}

.js .grid--loading::after {
  position: absolute;
  top: calc(25vh - 20px);
  left: 50%;
  width: 40px;
  height: 40px;
  margin: 0 0 0 -20px;
  border: 8px solid #383a41;
  border-bottom-color: #565963;
  border-radius: 50%;
  animation: animLoader 0.8s linear forwards infinite;
}

.grid__sizer {
  margin-bottom: 0 !important;
}

.grid__link,
.grid__img {
  display: block;
}

.grid__img {
  width: 100%;
}

.grid__deco {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.grid__deco path {
  fill: none;
  stroke: #fff;
  stroke-width: 2px;
}

.grid__reveal {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  background-color: #2c2d31;
}

.grid .grid__item,
.grid .grid__sizer {
  width: calc(50% - 20px);
  margin: 0 10px 20px;
}

@media screen and (min-width: 60em) {
  .grid .grid__item,
  .grid .grid__sizer {
    width: calc((100% / 3) - 20px);
    margin: 0 10px 20px;
  }
}

@media screen and (min-width: 70em) {
  /*    .grid .grid__item,
  .grid .grid__sizer {
  width: calc(25% - 30px);
  margin: 0 15px 30px;
  }*/
  /* Grid types */
  .grid--type-b .grid__item,
  .grid--type-b .grid__sizer {
    width: calc(20% - 20px);
    margin: 0 10px 20px;
  }

  .grid--type-c .grid__item,
  .grid--type-c .grid__sizer {
    width: calc(25% - 16px);
    margin: 0 8px 16px;
  }
}

@media screen and (max-width: 50em) {
  main {
    display: block;
  }
  .codrops-header {
    padding: 1em;
    flex-wrap: wrap;
  }
  .codrops-links {
    margin: 0;
  }
  .codrops-header__title {
    width: 100%;
    text-align: left;
    flex: none;
    margin: 1em 0;
  }
  .content--side {
    width: 100%;
  }
  .content--right {
    order: 3;
  }
  .content--center {
    max-width: 100vw;
  }
  .control {
    margin: 0 0 1em;
    text-align: left;
  }
  .control__item,
  .control__btn {
    display: inline-block;
  }
  .control__btn {
    width: auto;
  }
}

@media (max-width: 768px){
  .grid__item h3{
    font-size: 1rem;
  }

  .grid__link {
    font-size: 0.7rem;
  }
}

/*Overlay animation*/
.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.middle .text{
  font-family: 'PT Sans Narrow', sans-serif;
}

.grid__item:hover img {
  opacity: 0.3;
}

.grid__item__corso .middle .text{
  text-transform: uppercase;
}

.grid__item__corso h3{
  color: var(--primary-color);
}

.grid__item__corso .grid__link{
  box-shadow:
  0 2.8px 2.2px rgba(0, 0, 0, 0.034),
  0 6.7px 5.3px rgba(0, 0, 0, 0.048),
  0 12.5px 10px rgba(0, 0, 0, 0.06),
  0 22.3px 17.9px rgba(0, 0, 0, 0.072),
  0 41.8px 33.4px rgba(0, 0, 0, 0.086),
  0 100px 80px rgba(0, 0, 0, 0.12);

  border-radius: 5px;
  border-bottom-right-radius: 30px;
}

.grid__item__corso .grid__link{
  background-color: #fff;
}

.grid__item__corso .contenitor{
  padding: 20px;
  border-radius: 5px;
  /* border-top-right-radius: 30px; */
  border-bottom-right-radius: 30px;
}

.grid__item__corso:hover .contenitor{
  opacity: 0.2;
  background-color: var(--primary-color);
  color: #fff;
}

.grid__item__corso:hover .contenitor h3{
  color: #fff;
}

/*.grid__item__corso .middle{
background-color: #428BCA;
color: #fff;
padding: 20px;
font-weight: 800;
}*/

.grid__item:hover .middle {
  opacity: 1;
}

/*Change original theme*/
.bg-dark {
  background-color: var(--primary-color) !important;
}

.bg-light {
  background-color: #fff!important;
}

.btn-primary {
  color: #fff;
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

/*Pagina settore*/

.area{
  padding-top: 56px;
}

.area .container-fluid{
  padding: 0px;
}

.grid__item__corso .grid__link {
  border: 1px solid #ccc;
}

.grid__item__corso h2,
.grid__item__corso small{
  font-style: normal;
}

/*Pagina corso*/

.left_bar{
  padding: 25px;
  border-right: 1px solid #eee;
  min-height: calc(100vh - 114px);
  background-color: #efefef;
}

.left_bar i{
  width: 20px;
  margin-right: 10px;
}

.left_bar ul{
  padding-left: 0px;
}

.left_bar .legenda > div{
  padding: 0px;
  padding-top: 8px;   
  padding-bottom: 8px;   
}

.left_bar .legenda > div img{
  height: 39px;
  margin-bottom: 4px;  
}

#map{
  min-width: 100%;
  height: 100%;
}

.body_map{
  padding-top: 56px;
}

.body_map .container-fluid{
  padding: 0px;
}

.marker-scuole .row > div{
  padding-top: 15px;
  padding-bottom: 15px;
}

.marker-scuole .img_scuola{
  width: 100%;
}

.marker-scuole .textInfo {
  /*    padding-left: 10px;*/
  background-color: #efefef;
}

.gm-style{
  font-family: 'PT Sans', sans-serif !important;
}

.gm-style .gm-style-iw-c{
  padding: 0px;
}

.gm-style-iw-d{
  overflow: auto !important;
}

.gm-style .gm-style-iw{
  font-size: 14px;
}

.gm-ui-hover-effect{
  top: 0px !important;
  right: 6px !important;
}

.gm-ui-hover-effect > img{
  width: 22px !important;
  height: 22px !important;
}

.poi-info-window{
  padding: 20px;
}

@media (max-width: 992px) and (max-height: 556px){
  .h1, h1 {
    font-size: 2rem;
  }
}

@media (max-width: 576px){
  #map{
    width: 100%;
    height: 100vh;
  }

  .left_bar{
    min-height: auto;
  }
}

/*Pagina scuola*/

.scuola .descrizione{
  margin-bottom: 30px;
}

.left_bar_scuola{
  padding: 20px;
  border-right: 1px solid #eee;
  min-height: calc(100vh - 80px);
  background-color: #efefef;
}

.left_bar_scuola i{
  width: 20px;
  margin-right: 10px;
  color: var(--primary-color);
}

.left_bar_scuola h1{
  text-align: center;
}

.left_bar_scuola .logo_scuola{
  padding-bottom: 20px;
}

.left_bar .logo{
  padding-bottom: 20px;
}

.left_bar_scuola .logo_scuola > img{
  max-height: 200px; 
}

.left_bar .logo > img{
  max-height: 200px; 
}

.gallery .row > .column {
  padding: 0 8px;
}

.gallery .row:after {
  content: "";
  display: table;
  clear: both;
}

/* Create four equal columns that floats next to eachother */
.gallery .column {
  float: left;
  width: 20%;
  padding: 8px 8px !important;
  margin-bottom: 16px;
}

.gallery .column img{
  width: 100%;
  max-height: 100px;
  object-fit: cover;
  border-bottom-right-radius: 20px;
}

.modal .column{
  width: 25%;
  margin-bottom: 0px;
}

.madl .column img{
  width: 100%;
  max-height: 100px;
  object-fit: cover;
}

.gallery .column:hover {
  cursor: pointer;
}

.modal .row{
  background-color: rgba(0,0,0,1);
}

.modal .row .column{
  padding: 0px;
  margin: 0px;
}

/* The Modal (background) */
.scuola .modal {
  display: none;
  position: fixed;
  z-index: 1031;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.scuola .modal-content {
  position: relative;
  background-color: rgba(0,0,0,0);
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}


.scuola .close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.scuola .close:hover,
.scuola .close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
  display: none;
  text-align: center;
}

.mySlides img {
  width: auto !important;
  height: 60vh;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Caption text */
.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.caption-container p{
  min-height: 25px;
}

img.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.row_alt{
  background-color: #eee;
  /*    margin: 0px;*/
  padding-top: 20px;
  padding-bottom: 20px;
  margin: 20px -15px 20px -15px;
}

.scuola #map {
  width: 100% !important;
  height: 300px !important;
}

.info_scuola h3{
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}

.scuola{
  padding-top: 56px;
}

.scuola .container-fluid {
  padding: 0px;
}

.scuola .row .row{
  padding-top: 30px;
  padding-bottom: 30px;
}

.scuola .row .row > div {
  padding: 0px;
}

.scuola #map{
  margin-bottom: 30px;
  border-radius: 3px;
}

.scuola .gallery{
  margin-top: 30px;
}

.scuola .descrizione ul,
.scuola .descrizione ol{
  padding-left: 20px;
}

.scuola .descrizione ul li{
  list-style: disc;
}

.scuola .descrizione ol li{
  list-style: decimal;
}

@media (max-width: 576px){
  .left_bar_scuola{
    min-height: auto;
  }

  .gallery .column {
    width: 50%;
  }

  .mySlides img {
    width: 100% !important;
    height: auto !important;
  }

  .gallery .next,
  .gallery .prev{
    display: none;
  }

}

/*search*/

.search{
  padding-top: 56px;
}

.search .container-fluid{
  padding: 0px;
}

.search .left_bar ul > li{
  margin-bottom: 8px;
}

/*@media (min-width: 576px){
.form-inline .form-control {
width: 200px;
}
}*/

@media (max-width: 1399.99px){
  #search_form .form-control{
    width: calc(100% - 50px);
  }

  .navbar-collapse{
    padding-top: 25px;
    padding-bottom: 25px;
  }
}

/*Page not found*/

.notfoundpanel{
  text-align: center;
}

/*Blog*/

.blog{
  padding-top: 56px;
}

.blog .container-fluid{
  padding: 0px;
}

.blog .grid__link{
  text-align: center;
  box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.034), 0 6.7px 5.3px rgba(0, 0, 0, 0.048), 0 12.5px 10px rgba(0, 0, 0, 0.06), 0 22.3px 17.9px rgba(0, 0, 0, 0.072), 0 41.8px 33.4px rgba(0, 0, 0, 0.086), 0 100px 80px rgba(0, 0, 0, 0.12);
  border-radius: 5px;
  border-bottom-right-radius: 30px;
  background-color: #fff;
  border: 1px solid #ccc;
  font-weight: 400;
}

.blog .grid__img{
  width: auto;
  max-height: 100px;
  margin: 0 auto;
  display: block;
}

.no_data{
  width: 100%;
  text-align: center;
  padding-top: 20vh;
}

.no_data_img{
  height: 200px;
}

.content_html_post{
  padding: 45px;
}

.post .img_post{
  max-height: 30vh;
  margin: 0 auto;
  display: block;
  margin-bottom: 30px;
}

.post .img_post_scuola{
  max-height: 150px;
  margin: 0 auto;
  display: block;
  margin-top: 15px;
  margin-bottom: 15px;
}

.breadcrumb a{
  margin-left: 8px;
  margin-right: 8px;
}

.breadcrumb i{
  line-height: 26px;
}

/*Pagina*/

.page a{
  color: var(--primary-color);
}

/*!
* Start Bootstrap - Simple Sidebar (https://startbootstrap.com/)
* Copyright 2013-2016 Start Bootstrap
* Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
*/

body {
  overflow-x: hidden;
}

#menu-toggle{
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
}

/* Toggle Styles */

#wrapper {
  padding-left: 0;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#wrapper.toggled {
  padding-left: 250px;
}

#sidebar-wrapper {
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 250px;
  width: 0;
  height: 100%;
  margin-left: -250px;
  overflow-y: auto;
  background: #efefef;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#wrapper.toggled #sidebar-wrapper {
  width: 250px;
}

#page-content-wrapper {
  width: 100%;
  /*  position: absolute;*/
  padding: 15px;
}

#wrapper.toggled #page-content-wrapper {
  /*  position: absolute;*/
  margin-right: -250px;
}

#page-content-wrapper ul {
  padding-left: 40px;
}

#page-content-wrapper ul li {
  list-style: disc;
}

/* Sidebar Styles */

.sidebar-nav {
  position: absolute;
  top: 0;
  width: 250px;
  margin: 0;
  padding: 0;
  list-style: none;
  margin-top: 60px;
}

.sidebar-nav li {
  text-indent: 20px;
  line-height: 40px;
}

.sidebar-nav li a {
  display: block;
  text-decoration: none;
  color: #222;
}

.sidebar-nav li a:hover {
  text-decoration: none;
  color: #222;
  background: rgba(255,255,255,0.8);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
  text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
  height: 65px;
  font-size: 18px;
  line-height: 60px;
}

.sidebar-nav > .sidebar-brand a {
  color: #222;
}

.sidebar-nav > .sidebar-brand a:hover {
  color: #222;
  background: none;
}

@media(min-width:768px) {
  #wrapper {
    padding-left: 250px;
  }

  #wrapper.toggled {
    padding-left: 0;
  }

  #sidebar-wrapper {
    width: 250px;
  }

  #wrapper.toggled #sidebar-wrapper {
    width: 0;
  }

  #page-content-wrapper {
    padding: 20px;
    position: relative;
  }

  #wrapper.toggled #page-content-wrapper {
    position: relative;
    margin-right: 0;
  }
}

@media(max-width: 640px) {
  #menu-toggle{
    display: none;
  }
}

/* Banner Cookie */
#cookieBar{
  position: fixed;
  left: 0;
  bottom: 5%;
  width: 100%;
  height: auto;
  z-index: 9999;
}

#cookieBar > .container{
  background-color: var(--light);
  padding: 3rem;
  border-radius: 4px;
}

/* Progress bar */
#progressBar .progress-bar{
  background-color: var(--primary-color);
}

/* Sweet Alert */

.swal2-confirm{
  background-color: var(--primary-color) !important;
  border-left-color: var(--primary-color) !important;
  border-right-color: var(--primary-color) !important;
}