/* MYPORTAL MYIUSS /////////////////////////////////// */

/* HEADER logout */
.logout {
  padding-left: 1rem;
}

/* Paragrafo mybase */
.mybase-img-container {
  margin-bottom: 3rem;
  position: relative; /* relativo al titolo */
}

.mybase-titolo {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  color: #fff;
  background-color: #385676;
  padding: 1rem;
  width: 70%;
}
.mybase-titolo a {
  color: #fff !important;
}
.mybase-titolo a svg {
  display: none;
}

.mybase-links ul {
  border-radius: unset !important;
}
.mybase-links li {
  background-color: #385676;
  padding: 1rem !important;
  width: 100%;
  margin-bottom: 1rem !important;
  border: none;
}
.mybase-links a {
  color: #fff !important;
}
.mybase-links a svg {
  display: none;
}

.views-field-field-titolo-sezione {
  color: #fff;
  background-color: #385676;
  padding: 1rem;
  width: 100%;
}

.mybase-linkonly ul,
.mybase-doconly ul {
  background-color: #eff1f2 !important;
  padding: 1rem 0 !important;
  border-radius: unset;
}
.mybase-doclink {
  background-color: #eff1f2 !important;
  padding: 1rem 0 !important;
}
.mybase-doclink ul {
  border-radius: unset;
}

.mybase-linkonly li,
.mybase-doconly li,
.mybase-doclink li {
  background-color: #eff1f2 !important;
  padding: 0 1rem !important;
  border: none;
}
.mybase-doclink li:last-of-type {
  margin-bottom: 0.3rem;
}

.mybase-doclink .list-group,
.mybase-doc span.file {
  margin-bottom: 0 !important;
}
.mybase-doc span.file,
.mybase-link li {
  display: flex;
}
.mybase-doc span.file a {
  align-self: center;
}

.mybase-doc span.file::before {
  transform: scale(0.7);
}
.mybase-link li::before {
  content: "";
  background: url(/themes/custom/iuss/icon/icon-link.svg) no-repeat;
  background-size: 26px;
  width: 26px;
  height: 35px;
  line-height: 35px;
  margin-left: 10px;
  padding-right: 40px;
  display: inline-block;
  transform: scale(0.8);
}

@media all and (max-width: 378px) {
  section.region-header {
    width: 100% !important;
  }
  #block-custombrandingdelsito {
    width: 50%;
  }
  nav .container {
    display: flex;
  }
  .lingua,
  .logout,
  .block-field-blocknodehomepagetitle {
    transform: scale(0.8);
  }
  .block-field-blocknodehomepagetitle {
    margin-bottom: 2rem !important;
  }
}
