/***********************************************/
/* GLOBALE */
/*
   rende responsive le vecchia classi
   boostrap 3 e wordpress
*/
img.size-full,
img.wp-image-15000,
img.aligncenter,
img.size-large,
img.img-responsive,
img.img-fluid {
    max-width: 100%;
    height: auto;
}

.hide,
.hidden {
  display: none;
  visibility: hidden;
}

.center-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
 }

/***********************************************/
/* COLORI */
/*** NON MODIFICARE LA SEZIONE - CLASSI BASE DA UTILIZZARE NEGLI ARTICOLI ***/
/*** CONCORDARE CON ANNALISA EVENTUALI CAMBIAMENTI ***/
/***
Esempio utilizzo: <p class="mag-rosso mag-center"> testo rosso e centrato </p>
***/

/*** COLORI ***/
.mag-arancione {color: #FF7F2A;}
.mag-arancionescuro {color: #F27035;}
.mag-blu, .mag-azzurro {color: #1B95BD;}
.mag-bluscuro {color: #105971;}
.mag-grigio, .mag-grigiochiaro {color: #EEEEEE;}
.mag-grigioscuro {color: #999999;}
.mag-nero {color: #333333;}
.mag-rosso {color: #CD0D23;}
.mag-rossoscuro {color: #94090D;}
.mag-verde, .mag-verdechiaro {color: #00735F;}
.mag-verdescuro {color: #005432;}
.mag-oro{color: #e28900;}
.mag-rosa {color: #d52976;}
/*** ALLINEAMENTI TESTI ***/
/*.mag-justify { text-align: justify;}*/
.mag-left {text-align: left;}
.mag-right {text-align: right;}
.mag-center {text-align: center;}
/*** DIMENSIONI TESTI ***/
.mag-xlarge {font-size: 24px;}
.mag-large {font-size: 20px;}
.mag-normal { font-size: 18px;}
.mag-small {font-size: 12px;}
/*** EFFETTI TESTI ***/
.mag-focus {border: 45px solid transparent; border-image: url(/static/blog/img/focus.png) 40% round; padding: 5px; font-style: italic; color: #1B95BD; font-weight: 600; font-size: 24px; text-align: center; display: block;}
.mag-break {word-break: break-word; word-wrap: break-word;}
.mag-montserrat {font-family: "Montserrat", sans-serif;}
.mag-roboto {font-family: "Roboto Condensed", sans-serif;}

/***********************************************/
/* ARTICOLI */
/* iframe-siulisse */
.iframe-siulisse {
  position: relative;
  padding-bottom: 75%;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  margin-top:20px;
  margin-bottom:20px;
  height: 0;
}
.iframe-siulisse iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* icone condivisione social */
.share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2em;
  height: 2.2em;
  margin: 0 0.15em;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}
.share-link:hover,
.share-link:focus {
  color: #fff;
  opacity: 0.8;
}
.share-x { background: #000; }
.share-facebook { background: #3b5998; }
.share-linkedin { background: #007bb6; }
.share-pinterest { background: #cb2027; }
.share-whatsapp { background: #29a628; }
.share-email { background: #3490f3; }

/***********************************************/
/* HOME */
/*
  pillole ulisse
*/
.news-wrapper {
  max-height: 360px;
  overflow-y: scroll;
  overflow-x: hidden;
}

/* STILE VICEM */
.height-350 {
  height: 460px;
}

.height-250 {
  height: 250px;
}

.height-s {
  height: 200px;
}

.height-xs {
  height: 150px;
}

.height-100 {
  height: 100px;
}

.caption {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  float: left;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.fs-xl {
  font-size: 32px;
}

.fs-l {
  font-size: 26px;
}

.fs-m {
  font-size: 22px;
}

.fs-s {
  font-size: 16px;
}

.caption img {
  float: left;
  margin: 0;
  padding: 0;
  background: #fff;
  border: none;
}

.caption span {
  float: left;
  margin: 0;
  padding: 10px;
  width: 100%;
  color: #dedede;
  background: #222;
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  left: 0;
  bottom: 20px;
}

.caption span strong {
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
  display: block;
  padding-bottom: 5px;
}

.border-rubriche {
  border-start: #23546B 4px solid;
  line-height: 1.0;
}

.work-last {
  margin-bottom: 40px;
  margin-left: 5px;
  margin-right: 5px;
}

.work {
  margin-bottom: 40px;
}

.work .work-grid {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  margin-bottom: 20px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.work .work-grid .inner {
  display: table;
  width: 100.1%;
  opacity: 0;
  background: rgba(237, 235, 232, 0.9);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

@media screen and (max-width: 768px) {
  .work .work-grid .inner {
    opacity: 1;
    background: rgba(237, 235, 232, 0.7);
  }
}

.work .work-grid .inner .desc {
  display: table-cell;
  vertical-align: middle;
  padding: 40px;
}

.work .work-grid .inner .desc h3 {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 5px;
  font-weight: bold;
  line-height: 24px;
}

.work .work-grid .inner .desc h3 a {
  color: #000;
}

.work .work-grid .inner .desc .cat {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@media screen and (max-width: 768px) {
  .work .work-grid .inner .desc .cat {
    color: #333333;
  }
}

.work:hover .inner,
.work:focus .inner {
  opacity: 1;
}

.work:hover .desc h3 a,
.work:focus .desc h3 a {
  color: #cabcab;
}

/***********************************************/
/* STAMPA */
/* css per la stampa migliorata pretty print solo registrati */
@page {
    size: A4 !important;
    /* margin: 2cm !important;*/
}

@media print {
  html, body {
      height: 95% !important;
      padding: 0px !important;
  }
  /* remove chrome links */
  a[href]:after {
    content: none !important;
  }
  .col-9,
  .col-md-9,
  .col-md-12 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
  }

  .d-flex {
    display: block !important;
  }
  .card {
    border: unset !important;
  }

  #newsletter,
  #related-articles,
  .share,
  #sezioni-menu,
  #sidebar,
  footer {
    display: none !important;
  }

  article {
    margin-left: 0.5cm !important;
    margin-right: 0.5cm !important;
  }

  /* classe per il pagebreak nella stampa */
  .pagebreak {page-break-after: always;}
  table { page-break-inside : avoid }
}
