.gallery .modal {
  display: none; }

.gallery section.portlet .card {
  height: inherit !important; }

.gallery #editPictModal .table input {
  width: 100%; }

.gallery #editPictModal .table tr td:last-child {
  white-space: nowrap; }

.gallery #editList .table tr td:last-child {
  white-space: nowrap; }

.gallery #formSetOptions {
  background-color: #e1e1e1;
  padding: 10px; }

.gallery #gallery {
  column-count: 4;
  column-gap: 10px;
  padding: 0; }
  .gallery #gallery img {
    max-width: 100%;
    display: block; }
  .gallery #gallery figure {
    margin: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    margin-bottom: 10px;
    break-inside: avoid; }
  .gallery #gallery figure > img {
    grid-row: 1 / -1;
    grid-column: 1; }
  .gallery #gallery figure a {
    color: black;
    text-decoration: none; }
  .gallery #gallery figcaption {
    grid-row: 2;
    grid-column: 1;
    background-color: rgba(255, 255, 255, 0.5);
    padding: .2em .5em;
    justify-self: start; }

@media only screen and (max-width: 768px) {
  #gallery {
    column-count: 1 !important; } }

.associations section.portlet .card {
  height: inherit !important; }

.associations .accordion .card .card-header {
  padding: 0; }
  .associations .accordion .card .card-header .btn-link {
    text-align: left; }
    .associations .accordion .card .card-header .btn-link:focus {
      box-shadow: inherit !important; }
    .associations .accordion .card .card-header .btn-link:hover {
      text-decoration: none; }
    .associations .accordion .card .card-header .btn-link small {
      color: #333333; }
    .associations .accordion .card .card-header .btn-link .assoc_pict {
      height: 80px;
      width: 80px;
      background-size: contain; }

.associations .accordion > .card .card-header {
  margin-bottom: 0; }

.associations .accordion > .card {
  border-bottom: 1px solid rgba(0, 0, 0, 0.125) !important; }

@media (max-width: 575px) {
  #associationsContent .btn-link {
    white-space: normal; }
    #associationsContent .btn-link small {
      display: block;
      padding-left: 0 !important; } }
