/*  VARIAZIONI BOOTSTRAP */
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9
 {position: relative;min-height: 1px;padding-right: 5px;padding-left: 5px;}

/* CINQUE COLONNE */
.col-xs-5ths,.col-sm-5ths,.col-md-5ths,.col-lg-5ths {position: relative;min-height: 1px;padding-left:5px;padding-right:5px;}
.col-xs-5ths {width: 20%;float: left;}

@media (min-width: 768px) {.col-sm-5ths { width: 20%;float: left;}}
@media (min-width: 992px) {
  .col-md-5ths {width: 20%;float: left;};
}
@media (min-width: 1200px) {.container {max-width:1200px;}.col-lg-5ths {width: 20%;float: left;}}


/* MEDIA QUERY INTERVALLI */
@media only screen and (min-width:769px) and (max-width: 1200px) {

}

@media only screen and (min-width:668px) and (max-width: 768px) {
}

@media (max-width: 1455px) {
  .banner-home:before {content:""; width:100%; height:100%; position:absolute; background-image:url(../images/bg-header-pattern.png); background-position:center center; background-size:cover; background-repeat:no-repeat;}
  .carousel-item {height: 600px;}
  .lang-container {bottom:195px}
  .intro-frase {padding:0 40px}
  .cont-news .carousel-item {height:450px}
  .fgi .banner-corso {background-size:contain;}
  .fgi.fgi-2022 .banner-corso {background-size:contain;}
}

/* MEDIA FINO A COL-LG */
@media (max-width: 1200px) {
  .banner-home:before {background-position:-100px center}
  .fgi-2022 .container {max-width: unset !important;}
  .fgi-2023 .container {max-width: unset !important;}
}
@media (max-width: 1199px) {
  .header-menu .navbar-dark .navbar-nav .nav-link span {font-size:11px}
  .header-menu .navbar-dark .navbar-nav .nav-link {padding:18px 10px}
  .titolo-newsletter h2 {font-size:22px}
  .hover.panel .box1 .cta-dark {width:100%}
  .hover.panel .box1 .cta-dark a.animated-button.thar-four {width:100%}
  .quadrato-partner-small {height:inherit; width:205px; top:125px; left:10px}
  .partner-box.team-box .testo_schedina {width:100%; padding:10px}
  .carousel-cell.slide-servizi .cont-servizi .testo-servizi {padding:0 60px}
  .has-dropdown a:after {top:inherit; bottom:15px; right:50%; margin-right:-5px}
  .rectangle-bg-2 {background-position:-150px; top:35%}
  .slide-container {width:100%; left:0; margin-left:unset; padding-right:20px}
  .lang-container {width:100%; left:0; margin-left:unset; padding-right:20px}
  .attivita-box.categoria-prodotto .testo_schedina {width:60%}
  .img-prodotto {margin-top:-165px}
  .left-prod .button-prod {padding-left:0}
  .right-prod .button-prod {padding-right:0}
  .left-prod .ico-row {padding-right:30px}
  .right-prod .ico-row {padding-left:30px}
  .container-prodotti {padding-top:130px}
  .intro-frase {padding:0 10px}
  .box-testo-corso {min-height:250px}
  .list-docenti .box-testo-corso {min-height:130px}
  .list-box {margin-top:-30px}
  .dettagli-header-corso {flex-wrap:wrap}
  .dettagli-header-corso .dato {width:50%; display:block; margin-bottom:5px}
  .dettagli-header-corso .dato span {border-bottom:0}
  .sfs .form-corso .form-title {width:90%}
  .fgi .form-corso .form-title {width:90%}
}

@media (max-width: 1140px) {
  .sfs.sfs-22 .form-corso {margin-top:-460px}
  .sfs.sfs-23 .form-corso {margin-top:-460px}
  .fgi.fgi-2022 .form-corso {margin-top:-400px}
}

@media (max-width: 1100px) {
  .fgi.fgi-2022 .form-corso {margin-top:-440px}
  .droopmenu > li > a,
  .droopmenu-vertical .droopmenu > li > a,
  .droopmenu-vertical .droopmenu > li > span {font-size:14px;}
  .droopmenu-header .search.open {width:760px}
}

@media (max-width: 1024px) {
  .fgi.fgi-2022 .form-corso {margin-top:-460px}
}

/* MEDIA FINO A COL-MD */
@media (max-width: 991px) {
  .droopmenu > li > a {font-size:14px; padding:0 10px}
  .header-toolbar {display:none}
  .intro-container {margin-top:0}
  .attivita-box.categoria-prodotto .testo_schedina {width:90%; right:20px}
  .attivita-box.categoria-prodotto.left-cat .testo_schedina {left:20px}
  .box-prodotto {padding:10px}
  .img-prodotto {margin-top:-145px}
  .col-icone {margin-top:10px}
  .button-prod {margin-top:10px}
  .container-text {width:100%}
  .sfs .small-form.form-corso .custom-btn span, .sfs .small-form.form-corso .custom-btn i {display:none}
  .fgi .small-form.form-corso .custom-btn span, .fgi .small-form.form-corso .custom-btn i {display:none}
  .fgi .banner-corso, .fgi.fgi-2023  .banner-corso {background-size:contain; height:300px}
  .fgi .form-title h1 {font-size:25px}
  .sfs.sfs-22 .form-corso {margin-top:-490px}
  .sfs.sfs-23 .form-corso {margin-top:-490px}
  .fgi.fgi-2022 .banner-corso {background-size:contain;}
}

@media (max-width: 940px) {
  .fgi.fgi-2022 .form-corso {margin-top:-500px}
}

@media (max-width : 768px) {
  .sfs.sfs-22 .form-corso {margin-top:-530px}
  .sfs.sfs-23 .form-corso {margin-top:-530px}
  .fgi.fgi-2022 .form-corso {margin-top:-560px}
}
/* MEDIA FINO A COL-SM */
@media (max-width : 767px) {
  .show-mobile{display:block}
  .show-desktop{display:none;}
  .box-newsletter {margin-top:20px; margin-bottom:30px}
  .bg-cta {padding:200px 0}
  .numero-box h3 {font-size:18px; padding:0}
  .footer-right {text-align:left}
  .attivita-box.categoria-prodotto .testo_schedina {height:240px;}
  .img-prodotto {margin-top:-85px}
  .left-prod .ico-row {padding-right:0}
  .right-prod .ico-row {padding-left:0}
  .col-footer-right {padding-right:0; padding-left:20px}
  .container-prodotti {padding-top:60px}
  .cont-listing-news {padding-right:0}
  .cont-news {padding-right:0}
  .item-listing-news:nth-child(odd) {padding:40px 20px 80px 20px;}
  .item-listing-news:nth-child(even){padding:80px 20px 40px 20px;}
  .side-menu {padding-top:40px}
  .fgi .form-corso, .fgi.fgi-2023 .form-corso {margin-top:-50px}
  .sfs.sfs-22 .video-cont iframe {height:350px}
  .sfs.sfs-22 .form-corso {margin-top:-510px}
  .sfs.sfs-23 .video-cont iframe {height:350px}
  .sfs.sfs-23 .form-corso {margin-top:-510px}
  .fgi.fgi-2022 .form-corso {margin-left:0}
  .fgi.fgi-2022 .banner-corso {background-image:url(../images/header-fgi-2022-small.jpg) !important; background-size:contain; height:300px}
  .fgi.fgi-2022 .form-corso {margin-top:-50px}
}

@media (max-width : 736px) {
  .lang-container {bottom:135px}
}

@media (max-width : 637px) {
  .fgi .form-corso, .fgi.fgi-2022 .form-corso, .fgi.fgi-2023 .form-corso {margin-top:-90px}
}

/* MEDIA FINO A COL- */
@media (max-width: 575px) {
  .hide-smobile {display:none}
  .show-smobile {display:block}
  .bg-cta {padding:230px 0}
  .titolo-h1 {font-size:2rem}
  .titolo-h2 {font-size:1.5rem}
  h2 {font-size:1.5rem}
  h3 {font-size:1.5rem}
  h4 {font-size:1.2rem}
  .carousel-item {height:500px}
  .banner-home .titolo-header {margin-top:-50px}
  .lang-container {bottom:80px}
  .box-prodotto {height:auto}
  .img-prodotto {margin-top:0}
  .col-prod-testo {display: flex; align-items: center; justify-content: center;}
  .testo-prodotto {font-size:13px}
  .left-prod:after {bottom:-30px}
  .col-icone {margin-top:20px}
  .container-prodotti {padding-top:0px}
  .cont-news .carousel-item {height:250px}
  .logo-sfs img {width:120px}
  .linea-up {top:-35px; width:50px}
  .linea-up img{width:50px}
  .linea-down {top:120px; left:120px}
  .sfs .form-corso {margin-top:-510px}
  .sfs .form-title h1 {font-size:26px}
  .sfs.sfs-22 .form-corso .form-title h1 span {font-size:30px}
  .sfs.sfs-23 .form-corso .form-title h1 span {font-size:30px}
  .fgi .form-title h1 {font-size:26px}
  .countdown li, .countdown li span {font-size:20px}
  .sfs .form-text {padding:20px 30px 0 30px}
  .fgi .form-text {padding:20px 30px 0 30px}
  .bg-sfs-form {padding-bottom:100px}
  .img-footer {margin-bottom:40px}
  .testo-footer {font-size:12px}
  .footer a {font-size:12px}
  .col-footer-left {padding-left:0px}
  .col-footer-right {padding-left:0px}
  .sfs .small-form .custom-btn {margin-bottom:20px}
  .fgi .small-form .custom-btn {margin-bottom:20px}
  .fgi .form-title h1 {font-size:22px}
  .sfs.sfs-22 .form-corso {margin-top: -560px}
  .sfs.sfs-23 .form-corso {margin-top: -560px}
}

@media (min-width: 576px) {
    .container-half { max-width:initial; }
    .container-half-small { max-width:initial; }
}

@media (max-width: 440px) {
  .social-share {margin-left:inherit; margin-top:20px}
}

@media (max-width: 414px) {
  .banner-home:before {background-position:center center}
  .fgi .form-corso, .fgi.fgi-2022 .form-corso, .fgi.fgi-2023 .form-corso {margin-top:-160px}
  .sfs.sfs-22 .form-corso {margin-top:-600px}
  .sfs.sfs-23 .form-corso {margin-top:-600px}
  .fgi .custom-btn button {padding:10px 20px; font-size:18px}
}

/* MEDIA QUERY MIN WIDTH */
@media (min-width: 768px) {
    .container-half { max-width: calc(720px / 3); }
    .container-2half { max-width: calc(720px / 2); }
    .container-3half { max-width: calc(720px / 2); }
    .container-half-small { max-width: calc(720px / 3); }
    .container-half-md-left { margin-left: 0; }
    .container-half-md-right { margin-right: 0; }
}

@media (min-width: 992px) {
    .container-half { max-width: calc(960px / 3); }
    .container-2half { max-width: calc(960px / 1.46); }
    .container-3half { max-width: calc(960px / 2); }
    .container-half-small { max-width: calc(960px / 3); }
}

@media (min-width: 1200px) {
    .container-half { max-width: calc(1140px / 3); }
    .container-2half { max-width: calc(1140px / 1.39); }
    .container-3half { max-width: calc(1140px / 2); }
    .container-half-small { max-width: calc(1140px / 4); }
}

/* MEDIA QUERY HEIGHT */
@media (max-height: 650px) {

}

@media (max-height: 747px) {

}

@media (pointer: coarse) and (hover: none) {
  header {
    background: url('https://source.unsplash.com/XT5OInaElMw/1600x900') black no-repeat center center scroll;
  }
  header video {
    display: none;
  }
}

/* NUOVA COOKIE BAR */
@media (max-width: 1024px) {
  .show_banner_cookies {position: fixed;  width: 100%;   background: #111; color: #fff; z-index: 999999; padding: 30px; left: 0px; font-size: 12px;}
  .switch-item.pl-20 {padding-left:10px}
}

@media only screen and (max-width : 998px) {
  .switch-label {font-size:11px}
}

@media (max-width: 991px) {
  .show_banner_cookies {width:50%}
  .col-switch {border-left:0; border-bottom:1px solid #f2f2f2; padding-bottom:30px}
  .col-switch .switch-page {padding-left:0}
  .show_banner_cookies.big-ban {width:80%}
  .cookiebar-page hr {border-top:0}
}

@media (max-width : 767px) {
  .show_banner_cookies {width:70%}
  .switch-cont {flex-wrap:wrap}
  .switch-item {width:50%; margin-bottom:10px}
  .switch-item.pl-20 {padding-left:0}
  .switch-item-text {margin-top:10px}
  .show_banner_cookies {padding:20px 10px}
  .show_banner_cookies.big-ban .col-bottoni-cookie {flex-direction:row}
  .show_banner_cookies.big-ban .col-bottoni-cookie .btn-foot.mb-20 {margin-bottom:0}
  .show_banner_cookies.big-ban .btn-foot {width:50%}
  .show_banner_cookies a.btn {padding:10px; min-width:90%; font-size:10px}
}

@media (max-width: 575px) {
  .show_banner_cookies {width:90%}
}
