@import url(./variables.css);

* {
  font-family: "Titillium Web";
}

.card-text.font-serif {
  font-family: "Titillium Web",Geneva,Tahoma,sans-serif !important;
}

body a {
  color: var(--blue);
  text-decoration: none;
}


.field--name-body ul li,
p ul li {
  list-style: square;
}

body a:hover {
  color:var(--blue_hover);
}

body h2,
body h3,
body h4,
body h5,
body h6 {
  font-weight: 600;color: #333;
  margin: 1rem 0rem;
}

body .field--type-text-with-summary h4,
body .field--type-text-with-summary h3,
body .field--type-text-with-summary h2 {
  margin-top: 0;
}

body h2, body h2 a { font-size: 32px; }
body h3, body h3 a { font-size: 28px; }
body h4, body h4 a { font-size: 24px; color: var(--blue);}
body h5, body h5 a { font-size: 18px; }
body h6, body h6 a { font-size: 16px; }

body .field--name-body h4 {
  color: #333;
}


/*

messo per le pagine in cui importiamo anche gli stili e i paragrafi vengono sbagliati
vedi: /media-and-press

*/

.field--type-text-with-summary,
.field--name-body p,
.field--name-body div,
.field--name-body p * {
  font-size: 1rem !important;
}

body p {
  margin: 0;
  margin-bottom: 1rem;
}

p,a,ul,li,ol,table * {
  font-weight: 400;
  font-size: 1rem;
}

p,ul,li,ol,table * {
  color: #333;
}

.field--type-text-with-summary ul,
.field--name-body ul {
  margin-bottom: 3rem;
}

.field--type-text-with-summary ul ul,
.field--name-body ul ul {
  margin: 1rem 0;
}

.field--type-text-with-summary ul:not(.card-list) li,
.field--name-body ul:not(.card-list) li {
  margin-bottom: 1rem;
}

.field--name-body blockquote {
  border-left: 8px solid var(--yellow);
  margin: 0;
  padding: 25px 26px 25px 26px;
}

.field--name-body blockquote * {
  margin: 0;
  font-weight: 600;
}

p.sissa-red {
  color: #D50336;
  font-weight: 600;
}

a.internal-link {
  color: #4A6497;
  font-weight: 600;
  text-decoration: none;
  font-size: 18px;
  padding: 16px 21px;
  border-bottom: 1px solid var(--blue);
  display: block;
}

a.internal-link:after {
  position: absolute;
  content: "";
  width: 18px;
  content: url(../dist/svg/arrow-left.svg);
  height: 25px;
  margin-left: 16px;
}


.icons-link {
  padding-left: 31px;
  font-weight: 600;
  background-image: url(../images/icon-link-01.svg);
  background-repeat: no-repeat;
  background-position: 6px 52%;
  background-size: 18px;
  font-size: 20px;
}

.icons-pdf {
  padding-left: 31px;
  background-image: url(../images/icon-pdf-01.svg);
  background-repeat: no-repeat;
  background-position: 5px 52%;
  background-size: 18px;
}

/*style label */
.field > div{
  font-weight: 600;
  font-size: 14px;
}

.field > div +  div{
  font-weight: 400;
  font-size: 16px;


  /*

  tolto, scassava testi formattati con div
  /scientific-secretariat

  */
  /* margin-bottom: 25px; */
}




/* TITOLI LISTE NEWS EVENTI ANNOUCNEMENTS..*/
.path-taxonomy .card .card-title a,
.view .views-field-title,
.view .views-field-title a {
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  display: block;
  margin-bottom: 12px;
  transition: 0.2s ease;
}


.view .views-field-field-ref-media-source,
.view time {
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  color: #333;
  margin-bottom: 8px;
  display: block;
}

.view .views-field-body a {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--blue);
}

.view .views-field-view-node{
  margin-top: 20px;
}

@media (min-width:992px){
  .path-taxonomy .card .card-title a,
  .view .views-field-title,
  .view .views-field-title a {
    font-weight: 600;
    font-size: 28px;
    line-height: 32px;
    display: block;
    margin-bottom: 12px;
    transition: 0.2s ease;
  }
  .path-taxonomy .card .card-title a:hover,
  .view .views-field-title a:hover {
    opacity: 0.7;
  }
  .view .views-field-field-data {
    margin-bottom: 12px;
  }

  .view .views-field-field-data time {
    margin: 10px 0px 16px 0px;
  }
}

