/* HOMEPAGE */
#headerSlimMenu ul.link-list li:first-child {
  display: block!important;
}

.path-frontpage .field--name-body {
  margin-bottom: 2rem;
}
.view-cards-homepage {
  margin-bottom: 4rem;
}
.view-cards-homepage .views-field-title {
  margin: .5rem 0;
}
  .view-cards-homepage .views-field-title a,
  .view-cards-homepage .views-field-title span {
    font-size: 18px;
    font-weight: bold;
  }
.view-cards-homepage .views-field-body p {
  font-size: 14px;
  line-height: 25px;
}


/* List e filtri */
.sapienza-opensearch-facade-filters input[type="text"] {
  min-height: auto;
  height: 32px;
}

.filters-help-text {
  display: flex;
  justify-content: space-between;
}

.sapienza-opensearch-facade-list {
  margin-bottom: 2rem;
}

.sapienza-opensearch-facade-list .required-field {
  color: #822433;
  font-weight: bold;
  margin-left: 0.25rem;
}

.chosen-container-single .chosen-single {
  height: 32px;
  padding: 3px 10px;
  font-size: 1rem;
}
.chosen-container .chosen-results li {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 14px;
}
.table-responsive td .btn-primary i {
  transform: translateX(-50%);
}

/* COLORI CUSTOM 
  goerasmus: #822433
  overseas: #006778
  phd: #c54c00
*/
.ad-goerasmus .table-responsive th {
  background-color: #822433;
  color: white;
}
.ad-goerasmus .table-responsive td .btn-primary {
  background-color: #822433;
}
.ad-goerasmus .card-header {
  background-color: #822433;
  color: white;
}

.ad-overseas .table-responsive th {
  background-color: #006778;
  color: white;
}
.ad-overseas .table-responsive td .btn-primary {
  background-color: #006778;
}
.ad-overseas .card-header {
  background-color: #006778;
  color: white;
}

.ad-phd .table-responsive th {
  background-color: #c54c00;
  color: white;
}
.ad-phd .table-responsive td .btn-primary {
  background-color: #c54c00;
}
.ad-phd .card-header {
  background-color: #c54c00;
  color: white;
}

@media (max-width: 767px) {
  /* Header */
  .it-header-slim-wrapper.theme-light {
    display: none;
  }
  .it-header-center-wrapper {
    padding-left: 12px!important;
  }
  .it-header-center-wrapper.theme-light .container {
    padding-left: 0;
  }
  .it-header-wrapper .it-nav-wrapper .it-brand-wrapper {
    padding-left: 0!important;
  }
  .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper .it-brand-text {
    margin-top: 2.5rem;
  }
  .it-header-center-wrapper.theme-light .it-header-center-content-wrapper .it-right-zone {
    margin-top: 1.5rem;
  }

  /* Filtri */
  .sapienza-opensearch-facade-filters .filter-actions {
    flex-direction: column;
  }
  .sapienza-opensearch-facade-filters .filter-actions > *  {
    margin-left: 0!important;
    margin-top: 1rem;
    text-align: left!important;
  }
  .sapienza-opensearch-facade-filters .filter-actions > .btn-secondary {
    margin-top: 0;
  }

  .ad-overseas .table-responsive th, .ad-overseas .table-responsive td {
    display: none;
  }
  .ad-overseas .table-responsive th:nth-child(1), .ad-overseas .table-responsive th:nth-child(2), .ad-overseas .table-responsive th:last-child {
    display: table-cell;
  }
  .ad-overseas .table-responsive td:nth-child(1), .ad-overseas .table-responsive td:nth-child(2), .ad-overseas .table-responsive td:last-child {
    display: table-cell;
  }

  .ad-phd .table-responsive th, .ad-phd .table-responsive td {
    display: none;
  }
  .ad-phd .table-responsive th:nth-child(1), .ad-phd .table-responsive th:nth-child(3), .ad-phd .table-responsive th:last-child {
    display: table-cell;
  }
  .ad-phd .table-responsive td:nth-child(1), .ad-phd .table-responsive td:nth-child(3), .ad-phd .table-responsive td:last-child {
    display: table-cell;
  }

  .ad-goerasmus .table-responsive th, .ad-goerasmus .table-responsive td {
    display: none;
  }
  .ad-goerasmus .table-responsive th:nth-child(1), .ad-goerasmus .table-responsive th:nth-child(2), .ad-goerasmus .table-responsive th:last-child {
    display: table-cell;
  }
  .ad-goerasmus .table-responsive td:nth-child(1), .ad-goerasmus .table-responsive td:nth-child(2), .ad-goerasmus .table-responsive td:last-child {
    display: table-cell;
  }

}