main {
  padding: 24px;
}

div.section-wrap {
  /* border: #f00 solid thin; */
  display: grid;
  margin-bottom: 32px;
  margin-top: 24px;
  width: 100%;
  grid-column-gap: 6px;
  grid-template-columns: 45% 55%;
}

div.section-wrap:last-child {
  margin-bottom: 12px;
}

div.section-wrap > div:first-child {
  text-align: right;
  /* border: #f00 solid thin; */
  /* flex-wrap: nowrap; */
  /* overflow: scroll; */
  /* justify-content: right; */

  /* TODO: added these comments to have the images in a column */
  /* overflow: hidden; 
  max-height: 160px;*/
}

div.section-wrap > div:first-child img {
  height: 0;
  min-height: 144px;
  width: auto;
  max-width: 75%;
  object-fit: cover;
  border: #ccc solid thin;
  background-color: #fff;
  padding: 6px;
  margin-right: 6px;
  margin-bottom: 6px;
}
/* div.section-wrap > div:first-child img:last-child {
  margin-right: 0px;
} */

div.section-wrap h1 {
  font-size: 20px;
}

div.section-wrap h2 {
  font-size: 14px;
}

div.new_catalogue {
  margin-bottom: 12px;
}

div.new_catalogue > h2 {
  margin-bottom: 0px;
}

/* div.new_catalogue img {
    border: #ddd solid thin;
    width: 120px;
    margin-right: 24px;
    float: left;
    padding: 12px;
    background-color: #fff;
    cursor: pointer;
} */

#current_exhibitions {
  display: inline-block;
  width: 100%;
}

#cabinet_exhibitions tr {
  height: 32px;
}

div.floor {
  width: 50%;
  display: inline-block;
}

div.floor img {
  margin-top: 12px;
  max-width: 360px;
}

@media (min-width: 864px) {
  div.floor:nth-child(1) {
    float: left;
  }

  div.floor:nth-child(2) {
    float: right;
    text-align: right;
  }
}

@media (max-width: 864px) {
  div.floor {
    width: 100%;
    text-align: center;
    display: block;
    margin-bottom: 24px;
  }
}
