.nav-icon, #contact .ea-contact.stable {
    display: none;
}
body {
  overflow-x: hidden;
}
header {
  padding: 10px;
  /* display: flex; */
  /* flex-direction: column; */
  /* height: 100vh; */
  /* min-height: 360px; */
}
.lang-switch {
    position: absolute;
    right: 20px;
}
#ea {
    /* padding: 10px; */
    display: flex;
}
main {
  padding: 0px 10px;
  width: 100%;
  display: flex;
  padding-top: 15px;
}
/* header */
.ea-logo {
  width: 100px;
}
nav {
  margin-top: 100px;
}
.newsletter {
  position: fixed;
  bottom: 10px;
  left: 10px;
  /*color: #1ee9d3;*/
  color: #ec0d16;
}
li.active {
    text-decoration: underline;
}
.ea-contact {
  margin-top: 253px;
  margin-right: 30px;
  min-width: 190px;
}
.ea-contact p {
  margin-bottom: 12px;
}
/* headings */
.ea-heading {
  margin-bottom: 60px;
}
.ea-title {
  margin-bottom: 20px;
}
.ea-participant-heading,
.ea-date,
.artis-heading {
  white-space: nowrap;
  margin-bottom: 10px;
}
/* images */
.ea-image {
  max-width: 200px;
  position: relative;
  z-index: 1;
}
.ea-img {
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    width: 120px;
}
.ea-books {
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}
.ea-book {
    margin: 0px 30px 30px 0;
}
.ea-book:hover {
   opacity: 0.7;
}
.ea-narrow img {
  max-width: 200px;
}
.ea-book img {
    width: 100px;
}
.ea-building img {
    max-width: 500px;
}
/* margins */
.ea-list {
  display: flex;
  padding: 20px 20px 0 20px;
  /* align-items: center; */
  flex-wrap: wrap;
  justify-content: space-between;
}
article p {
  margin-bottom: 12px;
  line-height: 18px;
}
.past-exhibitions,
.upcoming-exhibitions,
.ongoing-exhibitions {
  margin-bottom: 0px;
}
.ea-exhibition-all {
    margin-bottom: 60px;
}
.ea-times {
  margin-top: 30px;
}
.ea-exhibition {
  position: relative;
  width: 33.33%;
  margin-bottom: 40px;
}
#exhibition, #gallery {
    padding-left: 60px;
}
.ea-exhibition-article {
  margin-right: 30px;
}
.ea-exhibition-header {
  margin-right: 30px;
  width: 100%;
  /* margin-left: 60px; */
}
.ea-exhibition-content {
  display: flex;
  /* margin-left: 60px; */
}
.programme-detailed {
    margin-top: 150px;
}
.ea-page .ea-img {
    margin: 60px 60px 30px 100px;
}
.ea-description {
  padding: 20px 0 0 0px;
  position: absolute;
  top: 0px;
  left: 0px;
  opacity: 0;
}
.ea-description h3 {
  margin-bottom: 4px;
}
.ea-description h4 {
  line-height: 18px;
}
.ea-image:hover + .ea-description {
  opacity: 1;
}
.ea-image:hover {
  opacity: 0;
}

a {
  color: inherit;
}
/* container */
#about, #library {
  max-width: 700px;
}
#exhibition {
  max-width: 800px;
}
.ea-wide {
  max-width: 800px;
}
.ea-medium {
  max-width: 700px;
}
.ea-narrow {
  max-width: 500px;
}
.ea-small {
  max-width: 400px;
}
.ea-xsmall {
  max-width: 260px;
}
.ea-block {
  width: 260px;
}
/* end container */
/* gallery */
.ea-exhibition-gallery {
  width: 200px;
  margin-right: 30px;
}
.ea-exhibition-article {
  margin-right: 30px;
}
.ea-book h3 {
    margin-top: 4px;
    margin-bottom: 2px
}
.ea-book span {
    height: 16px;
    display: block;
    text-decoration: underline;
    color: #666;
}
.read-more {
  display: block;
  white-space: nowrap;
}
a.read-more:hover {
    opacity: 0.6;
}
.ea-page {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 800px;
}
.map {
  text-decoration: underline;
  margin: 6px 0 12px 0;
}
@media only screen and (max-width: 1024px) {
  #ea {
    /* padding: 10px 30px 0 10px; */
    display: block;
    width: 100%;
  }
  header {
  position: relative;
  padding-bottom: 0px;
}
main {
    padding: 0 30px 0 10px;
}
    .nav-icon {
      display: block;
      width: 15px;
      position: absolute;
      right: 10px;
      top: 10px;
      z-index: 100;
      text-align: right;
  }

  .nav-icon span {
      display: block;
      width: 15px;
      height: 2px;
      margin-bottom: 5px;
      background: #000;
  }
  .lang-switch {
      position: absolute;
      right: 45px;
      top: 12px;
  }
  nav {
    position: absolute;
    top: 0px;
    right: -500px;
    margin-top: 80px;
    background: rgba(255, 255, 255, 0.9);
    width: 230px;
    min-width: 50%;
    height: 100vh;
    padding: 5px 20px;
    line-height: 30px;
    z-index: 200;
  }
    nav.active {
    right: 0px;
  }
  .ea-contact {
  margin-top: 153px;
  margin-right: 20px;
}
.ea-building img {
    max-width: 400px;
}
.ea-books {
    margin: 30px 0;
    padding-right: 60px;

}
.ea-page, #exhibition, #about, #library {
  max-width: 100%;
}
.ea-page .ea-img {
    margin: 60px 0px 30px 100px;
}
.ea-exhibition-content {
  display: flex;
  /* flex-wrap: wrap; */
  /* margin-left: 0px; */
  /* padding-left: 60px; */
}
section.ea-info {
    width: 100%;
     margin-top: 0px;
}
.ea-exhibition-article.ea-small {
    max-width: 100%;
}
.ea-exhibition {
  padding-right: 40px;
}
}
@media only screen and (max-width: 700px) {
#about, #library {
  max-width: 100%;
}
#exhibition, #gallery {
    padding-left: 30px;
}
.ea-exhibition-header {
    /* padding-left: 30px; */
    width: 100%;
    margin-left: 0px;
}
.ea-exhibition-content {
  display: flex;
  /* padding-left: 30px; */
  margin-left: 0px;
  flex-wrap: wrap;
}
section.ea-info {
    width: 100%;
    margin-top: 30px;
}
.ea-exhibition-gallery {
  width: 30%;
  padding-right: 30px;
  margin-right: 0px;
}
#exhibition .ea-small {
  max-width: 70%;
  margin-right: 0px;
}
.ea-exhibition {
  width: 50%;
}
}
@media only screen and (max-width: 640px) {
  h2.ea-heading {
    text-align: right;
}
main {
  display: block;
}
section.ea-contact {
  display: none;
}
.ea-contact.stable {
  display: block;
}
main {
  padding-left: 30px;
}
.ea-exhibition {
  width: 33.33%;
}
}
@media only screen and (max-width: 540px) {
  .ea-exhibition-gallery {
      width: 100%;
  }
  .ea-exhibition-article.ea-small {
    margin-top: 30px;
}
.ea-page .ea-xsmall {
    min-width: 100%;
}
.ea-page .ea-img {
    margin: 60px 0px 30px 50px;
}
.ea-exhibition-header,
.ea-exhibition-content {
    padding-left: 0px;
}
#exhibition .ea-small {
  max-width: 100%;
}
.ea-book {
    margin: 0px 15px 15px 0;
}
section.ea-wide {
    max-width: 100%;
    margin-left: 0px!Important;
}
.ea-exhibition {
  width: 100%;
}
}
