﻿/* =============================================================================
   HTML5 display definitions
   ========================================================================== */
/* Colore #404998 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
div {
  box-sizing:border-box;
}


.logotestata{
 margin:0px;
 padding:0px;
}

@font-face { font-family: futurist;
             src: url('fonts/FUTR.eot'); /* IE */
             src: local('Futurist'), url('fonts/FUTR.ttf') format('truetype'); /* non-IE */ }
@font-face { font-family:Trajan Pro;
             src: url('fonts/TRAJANP0.eot'); /* IE */
             src: local('Trajan Pro'), url('fonts/TRAJANP0.ttf') format('truetype'); /* non-IE */ }


a:link { color: inherit; text-decoration: none;}
a:active {color: inherit;text-decoration: none;}
a:visited {color: inherit;text-decoration: none;}
a:hover {color: inherit;text-decoration: underline;}

img a{
 border:0px;
}

.imgarr {
 border-radius: 10px;
 -moz-border-radius: 10px; /* firefox */
 -webkit-border-radius: 10px; /* safari, chrome */
 border: 0px;
 max-width: 100%;
}
.imgrot {
 border-radius: 240px;
 -moz-border-radius: 240px; /* firefox */
 -webkit-border-radius: 240px; /* safari, chrome */
 border: 0px;
 max-width: 100%;
}
h1 {
 color: #595658; /*#404998;*/
 font-size: 2em;
 margin-top: 0px;
 margin-bottom: 20px;
 margin-left: 0px;
 margin-right: 0px;
 line-height: 1.125em;
 text-align: left;
 text-transform: uppercase;
 font-weight: 500;
}
h2{
 color:red /*00b5cf*/;
 margin-top:30px;
 margin-bottom:10px;
 margin-left:0px;
 margin-right:0px;
 line-height:1.125em;
 text-align: left;
 /*font-variant:small-caps;*/
 text-transform: uppercase;
 font-size:1.4em;
 font-weight:normal;
}

h5{color:#404998;
font-size:0.95em;
margin-top:0px;
margin-bottom:10px;
margin-left:0px;
margin-right:0px;
font-weight:normal;
}

.ace{
text-align:center;
margin-top:0px;
margin-right:0px;
margin-bottom:0px;
margin-left:0px;
font-size:0.9em;
}
.asx{
text-align:left;
margin-top:0px;
margin-right:0px;
margin-bottom:0px;
margin-left:0px;
font-size:0.9em;
}
.clear {
clear:both;
max-width:100%;
height:10px;
}
.clearalta {
clear:both;
max-width:100%;
height:10px;
}
.clearsottile {
clear:both;
max-width:100%;
height:4px;
}
.clearrighina {
clear:both;
max-width:100%;
border-top:solid 1px #999;
height:10px;
}

.didascalia{
font-size: 0.8em;
text-align:left;
max-width:100%;
margin-top:0.5em;
margin-right:0em;
margin-bottom:2em;
margin-left:0em;
padding-left:0.2em;
padding-right:0.2em;
}
.divdx{
display:inline;
float:right;
max-width:50%;
margin-left:10px
}
.divsx {
display:inline;
float:left;
max-width:50%;
margin-right:10px;
}

.imgcontatti{
max-width:100%;
border:0em;
vertical-align: middle;
}
.img99 {
max-width:99%;
border:0em;
}
.img100 {
max-width:100%;
border:0em;
}
.imgperc{  
  border:0px;
  max-width:100%;
  }
.marginesopra{
 margin-top:18px;
 margin-bottom:6px;
}
.messaggiookinvio{
font-size:larger;
color:red;
}
.testoace {
margin-top:0px;
margin-right:0px;
margin-bottom:6px;
margin-left:0px;
text-align:center;
}
.testoadx {
margin-top:0px;
margin-right:0px;
margin-bottom:6px;
margin-left:0px;
text-align:right;
}
.testoasx {
margin-top:0px;
margin-right:0px;
margin-bottom:6px;
margin-left:0px;
text-align:left;
}
.testoform {
margin-top:20px;
margin-right:0px;
margin-bottom:6px;
margin-left:0px;
text-align:left;
}
.testogiu {
margin-top:0px;
margin-right:0px;
margin-bottom:10px/*6px*/;
margin-left:0px;
text-align:justify;

}
.testoindirizzi {
font-size:1em;
line-height:1.4em;
margin-top:10px;
margin-right:0px;
margin-bottom:6px;
margin-left:0px;
text-align:center;
color:#fff;
}



.textbox{
width:100%;
max-width:100%;
}





/* Responsive Video iFrame */
.video-responsive {
position: relative;
padding-bottom: 56.25%;
padding-top: 35px;
height: 0;
overflow: hidden;
}

.video-responsive iframe {
position: absolute;
top:0;
left: 0;
width: 100%;
height: 100%;
}






/* == Stili di base - Mobile first ========================================== */
/*#testata {display:inline;visibility:hidden;width:0px;height:0px;border:0; }
#testatacompleta{display:inline;visibility:hidden;width:0px;height:0px;border:0 }
#testatacompletamobile{display:inline;visibility:visible;border:0;margin-top:35px;width:auto;height:auto;}
#testata2 {display:inline;visibility:hidden;width:0px;height:0px;border:0 }
#testatacompleta2{display:inline;visibility:hidden;width:0px;height:0px;border:0 }
#testatacompletamobile2{display:inline;visibility:visible;border:0;margin-top:35px;width:auto;height:auto;}*/
/*#testata {display:none;width:0px;height:0px;border:0 }
#testatacompleta{display:none;width:0px;height:0px;border:0 }
#testatacompletamobile{display:inline;border:0;margin-top:35px}*/
body {
 background-position: center, center 145px, 797px;
 font-family: 'Poppins', sans-serif;
 font-size: 100%;
 color: #4d4d4d /*#65ad95666666*/;
 margin: 0 auto;
 height: 100%;
 width: 100%;
 text-align: left;
 -webkit-hyphens: auto;
 -moz-hyphens: auto;
 -o-hyphens: auto;
 hyphens: auto;
 background-image: none;
 background-repeat: no-repeat;
 line-height: 1.6em;
 background-color: #595658;
}

p {
  -webkit-hyphens: auto;
     -moz-hyphens: auto;
          hyphens: auto;
}
.container000 {
 width: 100%; /*prima era 99.5%*/
 margin: 0 auto;
 padding-right: 10px;
 padding-left:10px;
 padding-top:0px;
 padding-bottom:0px;
 
}
.container00 {
 width: 95%;
 margin: 0 auto;
 padding: 0; 
}
.containerfooter {
 width: 99.5%;
 margin: 0 auto;
 padding: 0px; 
}

.footer-background {
 background-image: url('grafica/Bottom-1920.jpg');
 background-size: contain;
 background-repeat: no-repeat;
 min-height: 323px;
 display: flex;
 align-items: center; /* centro verticale */
 padding: 0 2rem; /* spazi orizzontali */
}

.footer-content {
 text-align: right; /* desktop: allineamento a destra */
 width: 100%;
}

.testoindirizzibottom {
 margin: 0.3em 0;
 font-size: 1.2em;
 color:#fff;
}

/* Responsive - Mobile */
@media screen and (max-width: 768px) {
 .footer-background {
  justify-content: center; /* centro orizzontale su mobile */
  text-align: center;
 }

 .footer-content {
  text-align: center; /* allineamento centrato su mobile */
  margin-top:70px;
 }

 .testoindirizzibottom {
  font-size: 18px; /* testo più grande su mobile */
  
 }
}













header {
 width: 100%;
 border-bottom: 0px solid #404998;
/* background-color: #595658;*/ /*per non avere tutto grigio*/
}

header, nav {
 display: block;
}


.div01 {
display:block;
max-width:100%;
width:100%;
padding-bottom:10px;
}
.div02 {
display:block;
max-width:100%;
width:100%;
padding-bottom:10px;
}

.divstaffsx {
 display: block;
 max-width: 100%;
 width: 100%;
 padding-bottom: 10px;
}

.divstaffdx {
 display: block;
 max-width: 100%;
 width: 100%;
 padding-bottom: 10px;
}


.div3-01 {
display:block;
max-width:100%;
}
.div3-02 {
display:block;
max-width:100%;
}
.div3-03 {
display:block;
max-width:100%;
}
.div4-01 {
display:block;
max-width:100%;
}
.div4-02 {
display:block;
max-width:100%;
}
.div4-03 {
display:block;
max-width:100%;
}
.div4-04 {
display:block;
max-width:100%;
}
#divimgcorsi{
 display:block;
 margin:0px;
 border: solid 1px #7e293f;
 padding: 10px;
 max-width:100%  ;
}
#divimgcorsi img{
 display:block;
 margin-bottom:20px;
 max-width:100%;
}
#divriga01 {
 display: inherit;
 height: 2px;
 background-color: #404998;
 display: block;
 margin-top: 20px;
 margin-bottom: 10px;
}
#divspazio{
 min-height:20px;
 width:100%;
 display:inline-block;
 background-color:transparent;
 margin:0;
 padding:0;
}
#divspazio p{
text-transform:uppercase;

font-size:0.73em;
padding:0em;
text-align:center;
color:#fff;
}

footer {
width:100%;
padding-top:10px;
padding-bottom:0px;
padding-left:0px;
padding-right:0px;
/*border-top: 2px solid #404998;*/

}
footer img {
max-width:100%;
border-width: 0px;
}

#logo {
 margin-top: 0em;
 margin-bottom: 0;
 margin-left: 0;
 margin-right: 0;
 padding-top: 0em 0;
 padding-bottom: 0em ;
 padding-left: 0em 0;
 padding-right: 0em 0;
 }

#logo img {
  border-width: 0px;
  max-width: 100%;
}
#logodoc{
 display:none;
}
#logodocbasso{
 display:inherit;
}
#pPatrocinio{
 display:none;
}
#divslogan {
 height: 30px;
 max-height: 100%;
 width: 100%;
 display: inline-block;
 vertical-align: middle;
 background-color: #595658;
 border-top: solid 2px #595658;
 border-bottom: solid 2px #595658;
 padding-top: 0;
 padding-bottom: 0;
 padding-left: 0.001em;
 padding-right: 0.001em;
}
#divslogan p{
text-transform:uppercase;

font-size:0.9em;
padding-top:0.4em;
padding-bottom:0;
padding-left:0;
padding-right:0;
text-align:center;
color:#fff;
margin-right:0px;
margin-left:0px;
margin-top:12px;
margin-bottom:0px;}

#divslogan1 {
 min-height: 30px;
 width: 100%;
 display: inline-block;
 vertical-align: middle;
 background-color: #595658;
 border-top: solid 2px #595658;
 border-bottom: solid 2px #595658;
 padding-top: 0;
 padding-bottom: 0;
 padding-left: 0.001em;
 padding-right: 0.001em;
}
#divslogan1 p{
text-transform:uppercase;

font-size:0.9em;
padding-top:0;
padding-bottom:0;
padding-left:0;
padding-right:0;
text-align:center;
color:#fff;
margin-right:0px;
margin-left:0px;
margin-top:4px;
margin-bottom:0px;
}
.fotodx{
 display:block;
 max-width:100%;
 width:100%;
}
.fotosx{
 display:block;
 max-width:100%;
 width:100%;
}
.homedivdx{
display:inline;
float:right;
max-width:100%;
margin-top:0px;
margin-bottom:20px;
border:0.1em solid #404998;
padding:0px;
background-color:#404998;
}
.homedivdx img{max-width:100%}
.homedivsx {
display:inline;
float:left;
max-width:100%;
margin-top:0px;
margin-bottom:20px;
border:0.1em solid #404998;
padding:0px;
background-color:#404998;

}
.homedivsx img{max-width:100%}
#cat {
display: inline-block;
vertical-align: top;
max-width:100%;
width:100%;
padding-top:0px;
padding-bottom:20px;
padding-left:0em;
padding-right:0em;
clear:both;
text-align:center;
}
#catfoto{
float:left;
max-width:100%;
clear:both;
width:100%;
}
.cornice{
max-width:100%;
/*max-height:200px;*/
padding:2px;
border:1px solid #999;
background-color:#fff;
-moz-box-shadow:0 0 2px #333;
-webkit-box-shadow:0 0 2px #333;
margin-left:auto;
margin-right:auto;
margin-top:0em;
margin-bottom:0em;
}
#catdidascalia{
float:left;
max-width:100%;
clear:both;
width:100%;
 }
#cattitolo{
max-width:100%;
clear:both;
width:100%;
}
#CentTable {
 width: 100%;
 margin-top: 30px;
 background-color: #595658;
}

#CentDivSx {
 width: 100%;
 padding-left: 0px;
 padding-right: 0px;
 padding-top: 0px;
 padding-bottom: 0px;
 height: auto;
 background-color: #595658;
}

#CentDivDx {
 width: 100%;
 padding-left: 10px;
 padding-right: 10px;
 padding-top: 10px;
 padding-bottom: 0px;
 height: auto;
 background-color: #ffffff;
 border-radius: 12px;
}

/*.testoindirizzibottom {
 font-size: 0.55em;
 line-height: 1.1em;
 margin-top: auto;
 margin-right: 30px;
 margin-bottom: auto;
 margin-left: 0px;
 color: #fff;
 text-align: right;
}*/












/* -----------------------------------
IPAD PORTRAIT
------------------------------------ */
@media only screen and (min-width: 768px) {
  /* Nascondiamo le sezioni che non vogliamo 
visualizzare su tablet e desktop        */

#testata {display:inline;visibility:hidden;width:0px;height:0px;border:0 }
#testatacompleta{display:inline;visibility:visible;border:0;margin-top:35px;width:auto;height:auto;} 
#testatacompletamobile{display:inline;visibility:hidden;width:0px;height:0px;border:0}
#testata2 {display:inline;visibility:hidden;width:0px;height:0px;border:0 }
#testatacompleta2{display:inline;visibility:visible;border:0;margin-top:35px;width:auto;height:auto;} 
#testatacompletamobile2{display:inline;visibility:hidden;width:0px;height:0px;border:0}
/*#testata {display:none;width:0px;height:0px;border:0 }
#testatacompleta{display:inherit;border:0;margin-top:35px;max-width:100%; visibility:visible }
#testatacompletamobile{display:none;width:0px;height:0px;border:0}*/

#cat{
display: inline-block;
vertical-align: top;
margin-left:3%;
margin-right:0px;
max-width:45%;
text-align:center;
}
#catfoto{ 
float:left;
max-width:100%;
}
.cornice{
max-height:200px;
}
#catdidascalia{
  float:left;
  max-width:100%;
}

#CentDivSx {
  width: 20%;
  padding-left:10px;
  padding-right:0px;
  padding-top: 10px;
  padding-bottom: 0px;
  float: left;
  height: auto;
  border-right:solid 0px #404998;
}

#CentDivDx {
    width: 78%;
    padding-left:20px;
    padding-right:20px;
    padding-top:20px;
    padding-bottom: 10px;
    margin-right:16px;
    float: right;
    height: auto;
}
.container00 {
  position: relative;
  max-width: 900px;
  padding: 0 1.06382978723404%;
  margin: 0 auto;
}
.containerfooter {
  position: relative;
  max-width: 900px;
  padding: 0 1.06382978723404%;
  margin: 0 auto;
}
#pPatrocinio{
 display:inherit;
 margin-left:25%;
 font-size:smaller;
 margin-top:0px;
 margin-bottom:0px;
}
.div01 {
display:inline-block;
float:left;
max-width:50%;
padding-right:10px;
padding-left:0px;
margin-left:0px;
padding-bottom:0px;
}
.div01 img {
width:100%;
}
.div02 {
display:inline-block;
float:right;
max-width:50%;
padding-left:10px;
padding-right:0px;
margin-right:0px;
padding-bottom:0px;
}
.div02 img {
width:100%;
}

 .divstaffsx {
  display: inline-block;
  float: left;
  max-width: 40%;
  padding-right: 10px;
  padding-left: 0px;
  margin-left: 0px;
  padding-bottom: 0px;
 }

  .divstaffsx img {
   width: 98%;
  }

 .divstaffdx {
  display: inline-block;
  float: right;
  max-width: 60%;
  padding-left: 10px;
  padding-right: 0px;
  margin-right: 0px;
  padding-bottom: 0px;
 }

  .divstaffdx img {
   width: 100%;
  }




.div3-01 {
display:inline-block;
float:left;
width:33%;
max-width:33%;
padding-right:10px;
}
.div3-02 {
display:inline-block;
float:left;
width:33%;
max-width:33%;
padding-left:10px;
}
.div3-03 {
display:inline-block;
float:left;
width:33%;
max-width:33%;
padding-left:10px;
}
.div4-01 {
display:inline-block;
float:left;
width:25%;
max-width:25%;
padding-right:10px;
}
.div4-02 {
display:inline-block;
float:right;
width:25%;
max-width:25%;
padding-right:10px;
}
.div4-03 {
display:inline-block;
float:right;
max-width:25%;
width:25%;
padding-right:10px;
}
.div4-04 {
display:inline-block;
float:right;
max-width:25%;
width:25%;
padding-right:10px;
}

#divimgcorsi{
 float: right;
 margin-left: 10px;
 border: solid 1px #7e293f;
 padding: 10px;
 max-width:370px;
}
#divimgcorsi img{
 display:block;
 margin-top:10px;
 margin-bottom:10px;
 max-width:350px;
}
#logodoc{
 display: inherit;
}
#logodocbasso{
 display:none;
}

#divslogan{
width:100%;
display:inline-block;
vertical-align:middle;
padding-top:0;
padding-bottom:0;
padding-left:0;
padding-right:0;
}
 #divslogan p {
  font-size: 1.2em;
  padding-top: 0em;
 }
#divslogan1{

}
#divslogan1 p{
text-transform:uppercase;

font-size:1.2em;
padding-top:0;
padding-bottom:0;
padding-left:0;
padding-right:0;
text-align:center;
color:#fff;
margin-right:0px;
margin-left:0px;
margin-top:0px;
margin-bottom:0px;
}
.fotodx{
 float:right;
 margin-left:10px;
 max-width:40%;
}
.fotosx{
 float:left;
 margin-right:10px;
 max-width:40%;
}
.homedivdx{
display:inline;
float:right;
max-width:48%;
margin-top:0px;
margin-bottom:20px;
border:0.1em solid #404998;
padding:0px;
background-color:#404998;
}
.homedivdx img{max-width:100%}
.homedivsx {
display:inline;
float:left;
max-width:48%;
margin-top:0px;
margin-bottom:20px;
border:0.1em solid #404998;
padding:0px;
background-color:#404998;
}
.homedivsx img{max-width:100%}

 

/* .testoindirizzibottom {
  font-size: 0.8em;
  line-height: 1,4em;
  margin-top: 0px;
  margin-right: 30px;
  margin-bottom: 0px;
  margin-left: 0px;
  color: #fff;
  text-align: right;
 }*/
}


/* -----------------------------------
IPAD LANDSCAPE + NETBOOK
------------------------------------ */
@media only screen and (min-width: 1024px) {

#cat {
display: inline-block;
vertical-align: top;
max-width:28%;
text-align:center;  
margin-top:0em;  
margin-bottom:0em;
}
#catfoto{
 max-width:100%;
}
#catdidascalia {
 max-width: 100%;
} 

#cattitolo{
max-width:100%;
}
 
.container000 {
  
  padding: 0;
 }
.container00 {
 max-width: 960px;
 padding:0; 
}
.containerfooter {
 max-width: 960px;
 padding:0; 
}
#divslogan{
width:100%;
display:inline-block;
vertical-align:middle;
padding-top:0;
padding-bottom:0;
padding-left:0;
padding-right:0;
}
#divslogan p{

}
 /*.testoindirizzibottom {
  font-size: 1em;
  line-height: 1.2em;
  margin-top: 0px;
  margin-right: 30px;
  margin-bottom:2px;
  margin-left: 0px;
  color: #fff;
  text-align: right;
 }*/

}


/* -----------------------------------
DESKTOP
------------------------------------ */
@media only screen and (min-width: 1200px) {

#testata {display:inline;visibility:visible;border:0;margin-top:0px;width:auto;height:auto; }
#testatacompleta{display:inline;visibility:hidden;width:0px;height:0px;border:0} 
#testatacompletamobile{display:inline;visibility:hidden;width:0px;height:0px;border:0}
#testata2 {display:inline;visibility:visible;border:0;margin-top:0px;width:auto;height:auto; }
#testatacompleta2{display:inline;visibility:hidden;width:0px;height:0px;border:0} 
#testatacompletamobile2{display:inline;visibility:hidden;width:0px;height:0px;border:0}    

/*body {
background-image:url('grafica/rigaripetutavert.jpg');
background-position: center 240px;
background-repeat:repeat-x;
  }*/

.container00 {
  max-width:1140px;
  padding:0;
  /*max-width:1140px;*/
 }
.containerfooter{
  max-width:1920px;
  padding:0;
 }
#cat{
display: inline-block;
vertical-align: top;
max-width:28%;
text-align:center;  
margin-top:0em;  
margin-bottom:0em;
}
#catfoto{
  max-width:100%;  
}

#catdidascalia {
 max-width: 100%;
} 
#cattitolo{
max-width:100%;
}
#divriga01{
 display:none;
 height:2px;
 background-color:#404998;
 margin-top:20px;
 margin-bottom:0px;
}
 footer {
  width: 100%;
  padding-top: 10px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;
  border-top: 0px solid #404998;
  /*background-image:url('grafica/rigaripetutavert.jpg');
  background-position: center 0px;
  background-repeat:repeat-x;*/
 }
#slogan{
width:100%;
display:inline-block;
vertical-align:middle;
border-bottom: 0px solid #404998;
background-color:transparent;
padding-top:0;
padding-bottom:0;
padding-left:0;
padding-right:0;
}
#slogan p{

}

 /*.testoindirizzibottom {
  font-size: 1.2em;
  line-height: 1.4em;
  margin-top: 0px;
  margin-right: 30px;
  margin-bottom: 6px;
  margin-left: 0px;
  color: #fff;
  text-align: right;
 }*/

}