* {box-sizing: border-box;}
body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    background-color:#fff;
    font-size:1em;
    font-family: 'Montserrat', Helvetica, sans-serif, Arial;
    color:#000;
    line-height:1.4em; }

html {box-sizing: border-box;scroll-behavior: smooth;}
img{max-width: 100%; height: auto}

h1{margin: 0;padding: 0; font-size: 40px; color:#42475a}
h2{margin: 0;padding: 0; font-size: 25px; color: #42475a}
h3{margin: 0;padding: 0; font-size: 1.3em; color: #19181e}

.swiper {
        width: 100%;
        padding-top: 50px;
        padding-bottom: 50px!important;
      }

      .swiper-slide {
        background-position: center;
        background-size: cover;
        width: 900px!important;
        height: 506px!important;
      }

      .swiper-slide img {
        display: block;
        width: 100%;
 }
/**
 * Simple fade transition,
 */
.mfp-fade.mfp-bg {
	opacity: 0;
	-webkit-transition: all 0.15s ease-out; 
	-moz-transition: all 0.15s ease-out; 
	transition: all 0.15s ease-out;
}
.mfp-fade.mfp-bg.mfp-ready {
	opacity: 0.8;
}
.mfp-fade.mfp-bg.mfp-removing {
	opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
	opacity: 0;
	-webkit-transition: all 0.15s ease-out; 
	-moz-transition: all 0.15s ease-out; 
	transition: all 0.15s ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
	opacity: 1;
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
	opacity: 0;
}

.paragrafo{color: #fff;font-family:Helvetica, Arial, sans-serif; font-size: 20px;line-height: 1.2em;}
.titolo_area{color: #ffcc32;font-family:Helvetica, Arial, sans-serif; font-size: 25px;line-height: 1.2em;}
.grigio_scuro_blog{color:#19181e; font-size: 1.6em; line-height: 1em}
.loghi{background-color: #fff; padding: 10px; border-radius: 10px; box-sizing: border-box; margin-bottom: 10px; text-align: center;-moz-box-shadow: 0 4px 4px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 4px 4px rgb(0 0 0 / 30%);
    box-shadow: 0 4px 4px rgb(0 0 0 / 30%);}

A {
    color: #fecc31;
     font-size: 1em;
     font-weight: normal; font-weight:400;
     text-decoration: none;transition: all 0.5s;
}
 A:Visited {
    color: #fecc31;
    font-size: 1em;
     font-weight: normal;font-weight:400;
     text-decoration: none;
}
 A:Active {
    color :#fecc31;
     font-size: 1em;
     font-weight: normal;font-weight:400;
     text-decoration: none;
}
 A:Hover {
    font-size: 1em;
     color: #fff;
     font-weight: normal;font-weight:400;
     text-decoration: none;
}

input.bottone {
    BORDER-RIGHT: 0px outset #0064b1;
    BORDER-TOP: 0px outset #0064b1;
    FONT-SIZE: 1em;
    padding:10px;
    width:100%; margin-bottom:10px;
    BORDER-LEFT: 0px outset #0064b1;
    BORDER-BOTTOM: 0px outset #0064b1;
    COLOR: #fff; font-weight:700;
    BACKGROUND-COLOR: #f37121;
}
 select.normale {
    BORDER-RIGHT: #97a5b6 1px solid;
    BORDER-TOP: #97a5b6 1px solid;
    color:#000;
    width:100%;margin-bottom:10px;
    FONT-SIZE: 16px;
    BORDER-LEFT: #97a5b6 1px solid;
    BORDER-BOTTOM: #97a5b6 1px solid;
    background-color: #E7E7E7;
	padding: 10px;
    box-sizing: border-box;
}
 input.normale {
    BORDER-RIGHT: #97a5b6 1px solid;
    BORDER-TOP: #97a5b6 1px solid;
    color:#000;
    FONT-SIZE: 16px;
	width:100%; margin-bottom:10px;
    BORDER-LEFT: #97a5b6 1px solid;
    BORDER-BOTTOM: #97a5b6 1px solid;
    background-color: #E7E7E7;
	padding: 10px;
    box-sizing: border-box;
} 

 TEXTAREA.normale{
    BORDER-RIGHT:#97a5b6 1px solid;
    BORDER-TOP: #97a5b6 1px solid;
    FONT-SIZE: 16px;
    width:100%;
    color:#000;
    BORDER-LEFT: #97a5b6 1px solid;
    BORDER-BOTTOM: #97a5b6 1px solid;
    BACKGROUND-COLOR: #E7E7E7;
    padding: 10px; margin-bottom: 10px;
    box-sizing: border-box;
}
 form.form_nospazi{
    padding-bottom:0px;
    padding-left:0px;
    padding-right:0px;
    padding-top:0px;
    margin-bottom:0px;
    margin-left:0px;
    margin-right:0px;
    margin-top:0px;
}

.showDesk{display: block;}
.showMob{display: none;}
.spazio{height: 20px;}
.spazio_little{height: 10px;}
.spazio_doppio{height: 40px;}
.spazio_menu{height: 100px}
.destra{text-align: right}
.centrato{text-align: center;}

.footer{background-color: #004b88; padding: 20px 0; color:#fff; margin-top: 30px;-webkit-box-shadow: inset 0px 0px 21px 0px rgba(0,0,0,0.75);
-moz-box-shadow: inset 0px 0px 21px 0px rgba(0,0,0,0.75);
box-shadow: inset 0px 0px 21px 0px rgba(0,0,0,0.75);}
.footer a{font-size: 1em;color:#76bce3; line-height: 1.5em; transition: all 0.5s;}
.footer a:hover{color:#fff}

.rwd-video { height: 0;overflow: hidden; padding-bottom: 56.25%;padding-top: 0px;position: relative;}
.rwd-video iframe,.rwd-video object,.rwd-video embed {height: 100%;left: 0;position: absolute;top: 0;width: 100%;}
.txt_format p{margin: 0; padding: 0}
.txt_format ul{list-style: disc inside}
.txt_blog ul{list-style: disc inside}

.navbar-expand-lg .navbar-collapse {
    margin-top: 15px;
}
.navbar .nav-link {
    padding-top: 0.5rem!important;
    padding-bottom: 0.5rem!important;
}
.navbar-expand-lg .navbar-nav .nav-link:before {
	position: absolute; height: 16px; bottom: 11px; width:1px; background: #d5d8e4; right: 0px;  content: "";
}
.nav-item a{color:#004c88!important; font-size: 0.9em!important;position: relative} .nav-item a:hover{color:#f37121!important; font-size: 0.9em!important;}
a.dropdown-item{color:#fff!important; border-bottom: solid 1px #014173; padding: 10px} a.dropdown-item:hover{color:#fff!important; background-color: #f37121!important}
.dropdown-menu {
    font-size: 1rem;
    color: #000;
    text-align: left;
    list-style: none;
    background-color: #004985;
    background-clip: padding-box;
    border: 0px solid #f47121; padding: 15px;
    border-bottom-left-radius: 0rem;border-bottom-right-radius: 0rem; border-top-left-radius: 0rem;border-top-right-radius: 0rem;}

.dropdown-menu li{margin: 10px 0; border-bottom: solid 1px #013b6a} .dropdown-menu li a{color: #fff}

.btn-primary {
    color: #fff;
    background-color: #004985;
    border-color: #004985;
}

ul.list-unstyled a{color:#000!important} ul.list-unstyled a:hover{color:#dabb56!important;}
.fascia_menu{min-height:40px; background-color: #fff; -moz-box-shadow: 0 4px 4px rgba(0,0,0,0.3);-webkit-box-shadow: 0 4px 4px rgb(0 0 0 / 30%);box-shadow: 0 4px 4px rgb(0 0 0 / 30%);}
.navbar{background-image: url(../img/fondo_menu.png); background-position: top}
.navbar-toggler-icon{background-image: url(../images/ico-menu.svg)!important}

.cta{ max-width:500px; min-width: 300px; text-align:center; padding:10px; margin:10px auto; font-size:1.2em; line-height: 1.2em; background-color: #ffd000;color:#004884;-webkit-box-shadow: 4px 4px 0px 0px rgba(0,0,0,0.13);
-moz-box-shadow: 4px 4px 0px 0px rgba(0,0,0,0.13);
box-shadow: 4px 4px 0px 0px rgba(0,0,0,0.13);border-radius: 15px}
a.cta {display:block; color:#004884;}
.cta:hover{max-width:500px; min-width: 300px;text-align:center; padding:10px; font-size:1.2em; background-color:#f9e072; color:#004884;}
img.icon_plus{width: 50%; height: auto}

.box_toggle{background-color: #72c2f4; padding: 15px; box-sizing: border-box;color: #004b88; width: 100%; margin-top: 15px;-webkit-box-shadow: 4px 4px 4px 4px rgba(0,0,0,0.13);
-moz-box-shadow: 4px 4px 4px 4px rgba(0,0,0,0.13);box-shadow: 4px 4px 4px 4px rgba(0,0,0,0.13);border-radius: 15px}

.box_toggle:hover{background-color: #ffd000;}
.box_toggle:hover p{color: #004b88;}
.toggleBody p{color: #fff;}

.custom-shape-divider-bottom-1702641106 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1702641106 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 75px;
    transform: rotateY(180deg);
}

.custom-shape-divider-bottom-1702641106 .shape-fill {
    fill: #FFFFFF;
}

.img_footer img{width: 40%!important; height: auto}

.my-gallery img {
    width:100%;
	display:block;
    height: auto;
    text-decoration: none;}
	
.my-gallery a {
	display:block; 
	float:left;
    width:170px;
	margin:0 5px 5px 0 ;
	}

.sottomenu{background-color: #024a85; padding: 10px; text-align: center; color: #fff; width: 100%; margin: 30px 0; transition: all 0.5s; border-radius: 15px; box-sizing: border-box;-webkit-box-shadow: 0 4px 4px rgb(0 0 0 / 30%);
    box-shadow: 0 4px 4px rgb(0 0 0 / 30%);}
.sottomenu:hover{background-color: #00345f; padding: 10px; text-align: center; color: #f0c70a; width: 100%; margin: 30px 0}
.sottomenu a{color:#fff; margin: 0 10px} .sottomenu a:hover{color:#f0c70a;}

/*1024*/
 @media all and (min-width: 996px) and (max-width: 1480px){
.nav-item a{font-size: 0.9em!important;}
.nav-item a:hover{font-size: 0.9em!important;} 
}

/*TABLET*/
 @media only screen and (min-width: 768px) and (max-width: 995px) {
     body {font-size:0.8em;}
     h1{font-size:1.6em;line-height:1.2em; margin: 0;padding: 0;}
     h2{font-size:1.2em;line-height:1.2em;margin: 0;padding: 0;}
     .showDesk{display: block;}
     .showMob{display: none;}
	.spazio_top{height:50px}
	.h_logo_top {display: none}
	.navbar-brand{display: block}
	.navbar{background-color: #fff;}
	.navbar-brand img{width: 200px!important}
}
/*iPHONE*/
 @media only screen and (max-width: 767px) {
    h1{font-size:1.5em;line-height:1.2em; margin: 0;padding: 0;}
    h2{font-size:1.2em;line-height:1.2em;margin: 0;padding: 0;}
	h3{margin: 0;padding: 0; font-size: 1.2em; color: #19181e}
    .showDesk{display: none!important;}
    .showMob{display: block;}
    .spazio{height: 10px;}
    .spazio_doppio{height: 20px;}
    .destra{text-align: left;}
	.fascia_menu{background-color: #fff!important;-moz-box-shadow: 0 4px 4px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 4px 4px rgba(0,0,0,0.3);
    box-shadow: 0 4px 4px rgba(0,0,0,0.3);} 
	.dropdown-menu {padding:.5rem 1rem!important}
	.dropdown-item{padding: .25rem .5rem!important;}
	.spazio_top{height:70px}
	 .header_interne{padding: 5% 30px}
	 .header_interne h1{font-size: 1.6em; }
	.header_interne h2{font-size: 1.2em;}
	.navbar{background-color: #fff; background-image: none!important;}
	.navbar-brand img{width: 180px!important}
	.navbar-expand-lg .navbar-nav .nav-link:before {
	position: absolute; height: 20px; width:2px; background: #f18b18; left: -10px; content: "";}

      .swiper-slide {
        background-position: center;
        background-size: cover;
        width: 280px!important;
        height: 157px!important;
      }
	 
	 .img_footer img{width: 80%; height: auto}
}

/*CELL PIU PICCOLI*/
 @media only screen and (max-width: 479px) {
    .showDesk{display: none!important;}
    .showMob{display: block;}
	.my-gallery img {
    width:180px;
    height: auto;
    margin-bottom: 5px;
    text-decoration: none;}
	 
.my-gallery img {
    width:100%;
	display:block;
    height: auto;
    text-decoration: none;}
	
.my-gallery a {
	display:block; 
	float:left;
    width:180px;
	margin:0 5px 5px 0 ;
	}
 }


.bianco{color:#fff;}
.nero{color:#000;}
.blu{ color:#004b88;}
.grigio_scuro{color:#19181e}
.grigio{color:#838693}
.grigio_separatore{color:#d5d8e4}
.azzurro{color:#67abd5}
.giallo{color:#ffd000}
 ::selection {
    background:#004b88;
     color: #fff;
}
 ::-moz-selection {
    background:#004b88;
     color: #fff;
}
 
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #556977;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #556977;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #556977;
}

#caption a {position:relative;}
#caption a .overlay_gal{
	position: absolute;
	top:0;left:0; right:0; bottom:0;
	background: #f37221;
	display:none; 
}

#caption a:hover .overlay_gal{
	display:block;opacity: 0.6; 
}