@import url("../variables.css");

article footer {
  display: none;
}

.it-page-title__wrapper h1,
.it-page-title__wrapper h1 span {
  color: #333;
  font-weight: 600;
  font-size: 2rem;
  padding: 0;
  line-height: 40px;
}

.field--name-field-subtitle,
.field--name-field-subtitle * {
  font-size: 20px;
  margin: .4rem 0rem;
  line-height: 24px;
  font-weight: 400;
}

article.node--type-page .field--name-field-subtitle {
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
}


/*DATE*/
time.custom-time {
  margin-bottom: 16px;
}
.page-node-type--announcement .it-content__wrapper  time,
.page-node-type--event .it-content__wrapper .field--type-datetime time,
.custom-time,
article>time {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  color: #333;
  line-height: 32px;
  margin-bottom: 0;
}

article .field--name-field-media-image,
article .field--type-image {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

article .field--name-field-media-image img,
article .field--type-image img {
  margin-top: 10px;
  margin-bottom: 0rem;
}



@media (min-width:992px) {

  .field--name-field-subtitle,
  .field--name-field-subtitle * {
    font-size: 20px;
    line-height: 1.5rem;
    margin: 12px 0px;
  }

  article.node--type-page .field--name-field-subtitle {
    margin-top: 5px;
    font-size: 20px;
    line-height: 1.5rem;
  }

  .it-page-title__wrapper h1 {
    margin-top: 1px;
    font-size: 2.5rem;
  }

  .page-node-type--announcement .it-content__wrapper  time,
  .page-node-type--event .it-content__wrapper .field--type-datetime time,
  .custom-time,
  article>time {
    font-style: italic;
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
    color: #333;
    display: block;
    margin-bottom: 8px;
  }

  article .field--name-field-media-image,
  article .field--type-image {
    margin-top: 4px;
    margin-bottom: 20px;
  }

  article .field--name-field-media-image img,
  article .field--type-image img {
    margin-bottom: 0;
  }
}







/*DATE IN EVENTS*/
.page-node-type--event .it-content__wrapper .field--type-datetime {
  margin-bottom: 10px;
}
@media (min-width:992px) {
  .page-node-type--event .it-content__wrapper .field--type-datetime{
    display: inline-block;
    position: relative;
    width: 241px;
  }
  .page-node-type--event .it-content__wrapper .field--type-datetime:nth-child(2):before {
    content: "-";
    left: -16px;
    position: absolute;
  }
}

/*  fine  DATE IN EVENTS*/


/*LISTE
ESEMpio /board-directors
*/

.title-vista {
  margin-top: 2rem;
  margin-bottom: 0;
}
.view-riunione-istituzionale {
  margin-top: 1rem;
}

.custom-rewrite-istituzionale:hover {
  opacity: 0.7;
  transition: 0.2s;
}

.custom-rewrite-istituzionale time,
.view-riunione-istituzionale .views-field-title a {
  font-weight: 600;
  font-size: 16px;
  font-style: normal;
  line-height: 24px;
  color: var(--blue);
}

.custom-rewrite-istituzionale {
  position: relative;
}

.view-riunione-istituzionale a{
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: 85px;
  height: 24px;
  overflow: hidden;
  font-size: 7px;
}


.page-node-type--announcement .it-content__wrapper  time{
  display: block;
  margin-bottom: 10px;
}
