/*****************************************

		CUSTOM CSS

******************************************/

/* COLORI NUMERI CONTARORE */
.jmm-counter.default .jm-count {
    font-size: 64px;
    line-height: 1.1;
    color: #fff;
}

.jmm-counter.default .jmm-mod-row {
    margin: 15px;
}


/* CLASSI CSS */
.sfondo {
  background-color:#394C79;
  padding:30px 0 30px 0;
  
}

.sfondo1 {
 
  padding:30px 0 50px 0;
  margin: 0 0 0 0;
  
}

.down {
  margin-top:20px !important;
    color: #2F56B0 !important;
  position: relative !important;
  text-decoration: none !important;
  transition: color .4s ease-out !important;
}

.down :hover {
  color: #457DFB !important;
 
  right: 0 !important;
  text-decoration: none !important;
}

.down :hover:after {
  border-color: #457DFB !important;
  right: 0 !important;
   
}

.down :hover:after {
  border-color: #457DFB !important;
  right: 0 !important;
 
}

.down :after {
  border-radius: 1em !important;
  /*border-top: .3em solid #2F56B0 !important;*/
   border-bottom: .3em solid #2F56B0 !important;
  content: "" !important;
  position: absolute !important;
    right: 100% !important;
 	bottom: -0.10em !important;
     left: 0 !important;
  
  transition: right 1.4s cubic-bezier(.17,.67,.83,.67),
              border-color 1.4s ease-out !important; 
  
  /*transition: right 1.4s cubic-bezier(0,.5,0,1),
              border-color 1.4s ease-out !important; */
}

.down :hover:after {
right:  0 !important;
}




.linkbt a {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    margin-top: 0px; 
    border: 0px solid #333; 
    letter-spacing: 2px; 
    line-height: 0px; 
    font-size: 90%; 
    padding: 0px 0px; 
    text-transform: unset; 
    transition: color 0.25s ease-in-out 0s, background-color 0.25s ease-in-out 0s;
}


.linkbt1 a {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    margin-top: 0px; 
    border: 0px solid #333; 
    letter-spacing:0px; 
    line-height: 0px; 
    font-size: 100%; 
    padding: 0px 0px; 
    text-transform: none; 
    transition: color 0.25s ease-in-out 0s, background-color 0.25s ease-in-out 0s;
}


/* POSIZIONE LOGO A SINISTRA */
.logo-module {
    padding: 3px 0 3px 0;
    text-align: center;
    float: left;
}
.zindex10 {
    position: relative;
    z-index: 100;
}


/* POSIZIONE BARRA DEL MENU  */
.drop-down ul, .drop-down li {
    list-style: none;
    margin: 0 0 0 0;
    padding: 10px;
 
}

.drop-down ul {
  float: right;
}


.drop-down li a, .drop-down li span.separator {

    color: #fff;
}
/* POSIZIONE TRANSLATE */
.module-translate {
    position: absolute;
    top: -30px;
    right: 0px;
    z-index: 99;
    vertical-align: middle;
}

/* RIMOZIONE RIGHE SOTTO E SOPRA ALLA BARRA DEL MENU */
.website-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-bottom: 0px solid rgba(255,255,255,0.5);
    border-top: 0px solid rgba(255,255,255,0.5);
}


/* Bottone Personalizzato */

.button {
  border-radius: 40px;
  background-color: #394C79;
  border: 0px solid #394C79;
  color: #fff;
  text-align: center;
  font-size: 15px;
  padding: 10px 0;
  width: 20%;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
}

.button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button span:after {
  content: '\00bb';
  position: absolute;
  font-size:42px;
  opacity: 0;
  top: -4px;
  right: -60px;
  transition: 0.5s;
}

.button:hover span {
  padding-right: 30px;
}

.button:hover span:after {
  opacity: 1;
  right: 0;
}


/* Bottone Personalizzato su due linee */

.button1 {
  border-radius: 40px;
  background-color: rgba(255,255,255,0);
  border: 2px solid #394C79;
  color: #394C79;
  text-align: center;
  font-size: 15px;
  padding: 20px 0;
  width: 20%;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
}

.button1 span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button1 span:after {
  content: '\00bb';
  position: absolute;
  font-size:42px;
  opacity: 0;
  top: -12px;
  right: -60px;
  transition: 0.5s;
  
}

.button1:hover span {
  padding-right: 30px;
}

.button1:hover span:after {
  opacity: 1;
  right: 0;
}

/* ALTEZZA UGUALE DELLE COLONNE PAGINA PARTNERS */
@media screen and (min-width: 942px)
{
.cards-partners {
 display: flex;
 display: -webkit-flex;
  flex-flow: row wrap;
 -webkit-flex-flow: row wrap;
 align-items: stretch;
 -webkit-align-items: stretch;
 justify-content: space-between;
 -webkit-justify-content: space-between;
 margin-top: 10px;
}



.card-container-partners {
	display: flex;
	display: -webkit-flex;
	flex-direction: column;
	-webkit-flex-direction: column;
	flex: 1 1 250px;
	-webkit-flex: 1 1 250px;
	margin-top: 10px;
	padding: 10px;
}


.card-image-partners img {
 display: block;
 height: auto;
 margin: 0 auto;
 max-width: 200px;
 width: 100%;
}

.card-content-partners {
 display: flex;
 display: -webkit-flex;
 flex-direction: column;
 -webkit-flex-direction: column;
 flex: 1;
 -webkit-flex: 1;
 padding: 10px 0;
}

.mgtop-auto-partners {
  margin-top: auto;
  border-bottom:1px solid #e51c21;
  }

}

/* Blocco testo allineato in centro su due colonne  */
.blocktext
{ 
 min-height: 300px; 
 display: flex;
 align-items: center;
 justify-content: center;
  flex-flow: row wrap;
}



