/* Ehrlich Steinberg: shared styles for the homepage and the menu pages
   (Exhibitions, Events, Off-Site Projects, Information). */

html {
  width: 100%;
  height: 100%;
}

body {
  background: #FFFDD0;
  color: black;
  font-family: 'Times New Roman';
  font-size: 0.9em;
  margin-top: 5px;
  margin-left: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

a {
  color: black;
  text-decoration: none;
}
a:hover {
  color: blue;
  text-decoration: underline;
}

/* Every image gets a thin black border, except the logo */
img:not(.logo) {
  border: 1px solid black;
}

/* The centred column of text */
p.narrow {
  text-align: center;
  max-width: 700px;
  margin: 0 auto !important;
  float: none !important;
  padding: 2%;
}

/* Line breaks marked class="mobile" are skipped on phones */
@media only screen and (max-width: 600px) {
  br.mobile { display: none; }
}

/* Phones: images never wider than the screen. Desktop is unaffected. */
@media only screen and (max-width: 600px) {
  img {
    max-width: 100%;
    height: auto;
  }
}
