/*
https://www.sissa.it/media-and-press
*/

.media-and-press p img {
  width: 151px;
  height: auto;
}

/*
https://www.sissa.it/research
*/

body.Research ul.card-list{
  border: 1px solid #d4d4d4;
}

.custom-card-list ul {
  list-style: none;
  display: block;
  background: #f2f2f2;
  padding: 1em;
  border-bottom: 0px solid #ccc;
  text-transform: uppercase;
  margin: 1rem 0rem;
}

.custom-card-list ul li {
  list-style: none;
}

.custom-card-list img {
  width: 80px;
  height: 80px;
  margin-right: 10px;
}

.custom-card-list-outline {
  margin: 0;
}

.custom-card-list-outline ul {
  list-style: none;
  padding: 0;
}

.custom-card-list-outline ul li {
  list-style: none;
}

.card-list-blank {
  padding: 0;
}

body ul.card-list-blank li {
list-style: none;
}

.card-list-blank a,
.custom-card-list-outline a {
  display: block;
  padding: 1em;
  line-height: 1.5;
  border: 1px solid #ccc;
  margin: 1rem;
  margin-left: 0;
}

.custom-card-list-outline a:hover {
  background: #ddd;
}

/*
https://www.sissa.it/general-organization */

.field--name-body h2 a {
  font-size: 32px;
}

.field--name-body h2 a {
  color: var(--yellow);
}

.field--name-body h2 a:hover {
  color: var(--yellow_hover);
}


/*
card pdf
*/

ul.card-list-blank li a {
  background-repeat: no-repeat;
  background-position: 16px 52%;
  background-size: 24px;
  padding-left: 58px;
}

ul.card-list-blank li a {
  background-image: url(../images/icon-link-01.svg);
}

ul.card-list-blank li a[href$=".doc"] {
  background-image: url(../images/icon-doc-01.svg);
}

ul.card-list-blank li a[href$=".pdf"] {
  background-image: url(../images/icon-pdf-01.svg);
}
