/*****
 * Stili per le pagine in editweb. Incluso dagli index di ediweb e dalle pagine del sito 
 * Per evitare conflitti usare EW- come prefisso per queste classi
 *****/

/* ==========================================================================
   STILI SITO - presi da main-2018.css
   ========================================================================== */
:root {
    --rosso: #c8102e;
    --blu: #0e1d3b;
    --bianco: #ffffff;
}


/***FASCE struttura ***/
h2.hn-homepage{
    font-size: 32px;
    line-height: normal;
}
h2{
    font-size: 24px;
    line-height: 26px;
    color: var(--rosso);
}

h3{
    font-size: 18px;
    line-height: 23px;
    color: #000;
}
.EW-fascia-rosso h2, .EW-fascia-blu h2, .EW-fascia-rosso p, .EW-fascia-blu p, .EW-fascia-rosso h3, .EW-fascia-blu h3 {
    color: var(--bianco);
}
 .flex-section>.wrapper {	/* container */
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/*FASCE colori*/
.EW-fascia-rosso{
    background-color: var(--rosso);
  }
  .EW-fascia-giallo{
    background-color: #f7c518;
  }
  .EW-fascia-arancione{
    background-color: #e25d1a;
  }
  .EW-fascia-beige{
    background-color: #b5a38f;
  }
  .EW-fascia-bianco{
    background-color: var(--bianco);
  }
  .EW-fascia-grigio{
    background-color: #e4e4e4;
  }
  .EW-fascia-grigio_chiaro{
    background-color: #f0f0f0;
  }
  .EW-fascia-bianco-divisore{
    background-color: var(--bianco);

  }
  .EW-fascia-blu{
    background-color: var(--blu);

  }
  .EW-fascia-bianco-divisore .wrapper{
    border-bottom: solid 1px #e4e4e4;
  }
/*** Elementi grafici generici ***/
.EW-rosso{color: var(--rosso);}
.EW-blu{color: var(--blu);}
.EW-pulsante, .box-link a {
	color: var(--blu);
	border: 1px solid var(--blu);
    font-weight: 500;
	padding: 10px 16px;
    font-size: 18px;
	line-height: 20px;
	text-decoration: none !important;
    background-color: transparent;
	display: inline-block;
	/*text-transform: uppercase;*/
	margin-top: 6px;
}

.EW-fascia-blu .EW-pulsante, .EW-fascia-rosso .EW-pulsante {
    color: var(--bianco);
	border: 1px solid var(--bianco);
}

.EW-fascia-blu .box-link a, .EW-fascia-giallo .box-link a, .EW-fascia-rosso .box-link a, .EW-fascia-arancione .box-link a, .EW-fascia-beige .box-link a  {
    color: var(--bianco);
	border: 1px solid var(--bianco);
}



.EW-link {
    color: var(--rosso);
    background: url(/images/ico-freccia.png) no-repeat center right;
    padding-right: 23px;
}
.EW-link-right {
    color: var(--rosso);
    background: url(/images/ico-freccia.png) no-repeat center right;
    padding-right: 23px;
    float: right;
}

.EW-fascia-blu .EW-link, .EW-fascia-rosso .EW-link, .EW-fascia-blu .EW-link-right, .EW-fascia-rosso .EW-link-right {
    color: var(--bianco);
    background: url(/images/ico-freccia-bianca.png) no-repeat center right;
}


/* classi numero di colonne */
.EW-c-12, .EW-c-11, .EW-c-10, .EW-c-9, .EW-c-8, .EW-c-7, .EW-c-6, .EW-c-5, .EW-c-4 {
    width:100%;
}

.EW-c-3 {
    width:25%;
}
.EW-c-2 {
    width:16.66666666%;
}
.EW-c-1 {
    width:8.33333333%;
}
.EW-c-12{
    padding-bottom: 30px;
}

/* classi float */
.EW-fr {
    float: right;
}
.EW-fl {
    float: left;
}
/* ==========================================================================
   Media Queries
   ========================================================================== */
   @media only screen and (min-width: 770px) {
    h2{
        font-size: 26px;
        line-height: 28px;
    }
/* classi numero di colonne */
.EW-c-12 {
    width:100%;
}
.EW-c-11 {
    width:91.66666666%;
}
.EW-c-10 {
    width:83.33333333%;
}
.EW-c-9 {
    width: 75%;
}
.EW-c-8 {
    width: 66.66666666%;
}
.EW-c-7 {
    width: 58.33333333%;
}
.EW-c-6 {
    width:50%;
}
.EW-c-5 {
    width: 41.66666666%;
}
.EW-c-4 {
    width: 33.33333333%;
}
.EW-c-3 {
    width:25%;
}
.EW-c-2 {
    width:16.66666666%;
}
.EW-c-1 {
    width:8.33333333%;
}
/* classi float */
img.EW-fr {
    padding-left: 2%;
}
img.EW-fl {
    padding-right: 2%;
}

.due-colonne .div-n-colonne {
    -moz-column-count: 2;
    -moz-column-gap: 20px;
    -webkit-column-count: 2;
    -webkit-column-gap: 20px;
    column-count: 2;
    column-gap: 20px;
}

.tre-colonne .div-n-colonne {
   -moz-column-count: 3;
   -moz-column-gap: 20px;
   -webkit-column-count: 3;
   -webkit-column-gap: 20px;
   column-count: 3;
   column-gap: 20px;
}


}
