html{
    scroll-behavior: smooth;
}

body {
  padding-top: 80px;
/*  margin-bottom: 60px;*/
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-family: 'PT Sans', sans-serif;
  height: auto;
}

::-moz-selection { /* Code for Firefox */
  background: #428BCA;
  color: #fff;
}

::selection {
  background: #428BCA;
  color: #fff;
}

h1{
    color: #428BCA;
}

h1, h2, h3{
    font-weight: 700;
    font-family: 'PT Sans Narrow', sans-serif;
}

h4, h5, h6{
    font-weight: 700;
/*    font-style: italic;*/
    font-family: 'PT Sans Narrow', 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: #428BCA;
    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;
}

.footer{
    padding: 20px;
    text-align: center;
    font-size: 12px;
    background-color: #1F1F1F;
    color: #fff;
}

.footer-content{
    padding: 40px;
    text-align: center;
    font-size: 14px;
    background-color: #303030;
    color: #fff;
}

.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;
    }
}

@media (max-width: 576px){
    .footer-content .img-logo-footer{


    }
}

/*Navbar*/

.navbar-light .navbar-nav .nav-link {
    color: rgba(0,0,0,.8);
    font-size: 14px;
    text-transform: uppercase;
}

.navbar-light .navbar-brand{
    color: #428BCA;
    font-family: 'PT Sans Narrow', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.navbar-brand img{
    height: 36px;
    margin-right: 10px;
}

.navbar.scrolled {
  background-color: #428BCA !important;
  transition: background-color 200ms linear;
}

.navbar.scrolled .nav-link, .navbar.scrolled .navbar-brand {
  color: #fff;
}

.navbar .logo_bn,
.navbar.scrolled .logo{
    display: none;
}

.navbar.scrolled .logo_bn,
.navbar .logo{
    display: inline-block;
}

#search_form button{
    border-radius: 50%;
}

#search_form input{
    border: 0px;
    background: rgba(0,0,0,0);
}

.scrolled #search_form input,
.scrolled #search_form input::placeholder{
    color: #fff;
}

.navbar.scrolled .navbar-toggler{
    background-color: #fff;
}

#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: #428BCA;
    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: #428BCA;
    background-color: #fff;
    padding: 3px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 13px;
    border-radius: 2px;
}

/*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: #428BCA;
}

.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: #428BCA;
    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: #428BCA!important;
}

.bg-light {
    background-color: #fff!important;
}

.bg-gray-light{
  background-color: #efefef;
}

.badge-primary {
    color: #fff;
    background-color: #428BCA !important;
}

.btn-primary {
    color: #fff;
    background-color: #428BCA!important;
    border-color: #428BCA!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: #428BCA;
}

.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;
}

.scuola .slider-eventi > div{
  padding: 8px;
}

.scuola .slider-eventi > div img{
  max-width: 100%;
  width: 100%;
  height: 200px;
  margin-bottom: 8px;
  object-fit: cover;
}

.tns-nav {
    text-align: center;
}

.tns-nav > [aria-controls] {
    width: 9px;
    height: 9px;
    padding: 0;
    margin: 0 5px;
    border-radius: 50%;
    background: #ddd;
    border: 0;
}

.tns-nav > .tns-nav-active {
    background: #999;
}

.tns-controls > button {
  border: 0;
}

/* 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 .container-fluid{
    padding: 0px;
}

.page > .container{
    min-height: calc(100vh - 138px);
}

.page .content{
    word-wrap: break-word;
}

.page .content ul{
    padding-left: 40px;
}

.page .content ul li{
    list-style: disc;
}

.page .content ol li{
    list-style: decimal;
}

.page .content a[id^="domanda_"]{
    padding-top: 100px;
    display: block;
}

/* Banner Cookie */
div#cookieMessageContainer{
            font-size:14px;
            position:fixed;
            background-color: #1A73B5;
            z-index:999999;bottom: 0;
            right:0;
            margin:0 auto;
            -webkit-box-shadow: 0px -3px 10px 0px rgba(0,0,0,0.15);
            -moz-box-shadow: 0px -3px 10px 0px rgba(0,0,0,0.15);
            box-shadow: 0px -3px 10px 0px rgba(0,0,0,0.15);
            padding: 10px 15px;
            }
            #cookieMessageContainer table, #cookieMessageContainer tr, #cookieMessageContainer td {border:0px !important}
            #cookieMessageText p,.accept{margin:0;padding:0;text-align:left;vertical-align:middle}
            .accept label{vertical-align:middle}
            #cookieMessageContainer .cookie_button {color: #FFF; padding: 5px 30px;float: right; background-color: #fe6b01; border-radius: 3px; font-weight: bold;}
            #cookieMessageContainer .cookie_button:hover {background-color: #00bbff;}
            #cookieMessageContainer table,#cookieMessageContainer td{margin:0;padding:0;vertical-align:middle}
            #cookieMessageAgreementForm{margin:0 0 0 10px}
            #cookieMessageInformationIcon{margin:0 10px 0 0;height:29px}
            #continue_button{vertical-align:middle;cursor:pointer;margin:0 0 0 10px;position: absolute; right: 15px; bottom: 15px;}
            #info_icon{vertical-align:middle;margin:5px 0 0}
            #buttonbarContainer{height:29px;margin:0 0 -10px}
            input#AcceptCookies{margin:0 10px;vertical-align:middle}
            #cookieMessageContainer .messageTable {border:0px;border-spacing:0px;border-color:#1D252B;}
            #messageTable tr, #messageTable td {border:0px;cellspacing:0px;cellpadding:0px;background-color:#1D252B;}
            #cookieMessageText {color:#FFFFFF !important;}
            #cookieMessageText p, .accept {color:#FFFFFF !important;}
            .cookieMessageText {color:#FFFFFF !important;}
            p.cookieMessageText {color:#FFFFFF !important;}
            .accept {float: left;}
            a#cookieMessageDetailsLink {color:#FFFFFF !important;}
.navbar .nav-link span.special{padding: 5px; color: #428BCA !important; border: 2px solid #428BCA;}
.navbar.scrolled .nav-link span.special{padding: 5px; color: #fff !important; border: 2px solid #fff;}

/* Pagina aree */
.aree .area{
  padding-top: 50px;
  padding-bottom: 50px;
}

#modal_covid{
    background-color: rgba(66,139,202,0.4);
}