html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable both-edges;
}

body {
  font-family: 'Droid Serif';
  font-size: 14px;
  background-color: #fafafa;
  color: #333;
  line-height: 1.5em;
  padding: 24px;
}

#wrap {
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  border: #dadada solid thin;
  padding: 6px;
}

/***********/

/* header  */

/***********/

header {
  position: -webkit-sticky;
  position: sticky;
  top: -90px;
  z-index: 1000;
}

#logo {
  background-color: rgb(84, 123, 61);
  /* background-image: url(/s/img/evbcabinet-logo.gif);
  background-repeat: no-repeat;
  background-position: center;*/
  height: 100px;
}

#logo button {
  display: none;
}

#logo a {
  width: 100%;
  height: 100%;
  display: block;
  text-decoration: none;
  color: #fff;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  letter-spacing: 3px;
  line-height: 30px;
  font-size: 15px;
  text-align: center;
  font-weight: normal;
  text-transform: uppercase;
  font-family: 'PT Sans', sans-serif;
  /* text-indent: -9999px; */
}

#logo a:hover {
  text-decoration: none;
}

/*********/

/* menu  */

/*********/

#menu {
  height: 46px;
  width: 100%;
  background-color: rgb(84, 123, 61);
  box-shadow: 0px 1px 4px 4px rgba(0, 0, 0, 0.1);
}

#menu ul {
  height: 100%;
  width: 100%;
  /* border: #f00 solid thin; */
  display: table;
  table-layout: fixed;
}

#menu li {
  /* float: left; */
  /* width: 240px; */
  width: auto;
  height: 100%;
  text-align: center;
  color: #fff;
  list-style: none;
  display: table-cell;
}

#menu li a {
  width: 100%;
  height: 44px;
  display: block;
  color: #fff;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 2px;
  padding-top: 2px;
  font-family: 'PT Sans', sans-serif;
}

#menu a.home {
  background-color: rgb(104, 143, 81);
}

#menu a.about {
  background-color: #304961;
}

#menu a.exhibitions {
  background-color: #880843;
}

#menu a.interviews {
  background-color: #b08482;
}

#menu a.artists {
  background-color: rgb(30, 110, 130);
}

#menu a.contact {
  background-color: #CA2;
}

#menu a:hover, #menu a.active {
  height: 46px;
  position: relative;
  top: -2px;
  text-decoration: none;
  padding-top: 2px;
}

/************/

/* content  */

/************/

#content {
  margin-top: 6px;
  padding: 30px;
  overflow: hidden;
  background-color: #F2F2F2;
  border: #dadada solid thin;
}

h1 {
  font-size: 22px;
  font-weight: normal;
  margin-bottom: 20px;
  line-height: 1.5em;
}

h2 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}

h2.frontpage {
  font-size: 21px;
  font-weight: normal;
  margin-bottom: 24px;
  line-height: 1.3em;
  height: 84px;
}

p {
  margin-bottom: 10px;
}

p.about {
  max-width: 600px;
}

a:link {
  color: #615cae;
  text-decoration: none;
}

a:visited {
  color: #615cae;
  text-decoration: none;
}

a:hover {
  color: #615cae;
  text-decoration: underline;
}

a:active {
  color: #615cae;
}

/************************/

/* exhibition overview  */

/************************/

#content img.thumb {
  width: 80px;
  height: 100px;
  border: #999 solid thin;
  margin-right: 20px;
}

#recent_exhibitions_tbl {
  width: 900px;
  border: 0px;
}

#recent_exhibitions_tbl .subtitle {
  font-size: 12px;
}

#recent_exhibitions_tbl h2 {
  font-weight: normal;
  font-size: 16px;
}

/**********************/
/* exhibition object  */
/**********************/

#show_additional_information {
  color: #615cae;
}

#show_additional_information:hover {
  cursor: pointer;
}

#additional_information {
  display: none;
}

#subnav {
  height: 40px;
  margin-top: 30px;
}

#subnav div {
  margin-top: 36px;
  height: 100%;
  width: 33%;
  float: left;
}

#subnav div.next {
  float: right;
}

#subnav div a {
  height: 30px;
  width: 30px;
  display: block;
}

#subnav div.previous a {
  text-align: left;
  text-indent: -9999px;
  background-image: url(/s/img/arrow_left_big.png);
  background-repeat: no-repeat;
  background-position: left top;
}

#subnav div.back {
  text-align: center;
}

#subnav div.back a {
  text-align: center;
  width: auto;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0px;
}

#subnav div.next a {
  float: right;
  text-indent: -9999px;
  background-image: url(/s/img/arrow_right_big.png);
  background-repeat: no-repeat;
  background-position: right top;
}

#subnav div.pagination {
  text-align: center;
}

.image-block {
  width: 200px;
  height: 360px;
  float: left;
  margin-right: 10px;
  margin-bottom: 25px;
}


/************/
/* contact  */
/************/

#contact_table {
  margin-top: 48px;
}

#contact_table th {
  text-align: left;
  vertical-align: top;
  height: 48px;
}

#contact_table td {
  text-align: left;
  vertical-align: top;
  height: 48px;
}

#contact_table label {
  font-weight: normal;
}


/************/
/* artists  */
/************/

#all_artists {
  float: left;
}

div.artist {
  width: 33%;
  height: 60px;
  float: left;
  margin-bottom: 40px;
}

div.artist a {
  font-size: 16px;
}

#artists_submenu {
  height: 46px;
  width: 100%;
  background-color: rgb(30, 110, 130);
  color: #fff;
  box-shadow: 0px 1px 4px 4px rgba(0, 0, 0, 0.1);
}

#artists_submenu ul {
  list-style: none;
  width: 100%;
  height: 100%;
  display: table;
}

#artists_submenu li {
  display: table-cell;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 2px;
  padding-top: 5px;
  font-family: 'PT Sans', sans-serif;
}

#artists_submenu a {
  display: block;
  text-decoration: none;
  color: #fff;
  line-height: 1.7em;
}

#artists_submenu a:hover {
  text-decoration: none;
  color: #fff;
}

footer {
  min-height: 24px;
  margin-top: 6px;
  margin-bottom: 24px;
  text-align: center;
  font-size: 12px;
}

@media (max-width: 960px) {
  body {
    padding: 12px;
  }
  #wrap {
    padding: 6px;
  }
}

@media (max-width: 800px) {
  body {
    padding: 0px;
    margin: 0px;
  }
  #wrap {
    padding: 0px;
    border: none;
  }
  #content {
    padding: 12px 12px;
    margin: 0px;
    border: none;
  }
  #subnav div.previous a {
    background-position: center top;
  }
  #subnav div.next a {
    background-position: center top;
  }
  #subnav div a {
    height: 48px;
    width: 48px;
    display: block;
  }
  footer {
    margin-top: 24px;
  }
  h2.frontpage {
    height: auto;
  }
}

@media (max-width: 586px) {
  #logo {
    width: 100%;
    height: 72px;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 1000;
  }
  #logo a {
    padding-top: 12px;
    line-height: 24px;
  }
  #logo button {
    display: block;
    color: #fff;
    font-weight: bold;
    position: fixed;
    top: 26px;
    right: 9px;
    border: none;
    background: none;
    line-height: 8px;
    padding: 0px;
    margin: 0px;
    width: 28px;
    height: 24px;
  }
  #logo>button:hover {
    cursor: pointer;
  }
  #menu {
    display: none;
    position: fixed;
    top: 72px;
    z-index: 1000;
  }
  #menu ul li {
    display: block;
    height: 46px;
    padding: 0px;
    margin: 0px;
    border: none;
  }
  #menu a:hover, #menu a.active {
    height: 48px;
    margin: 0px;
    top: 0px;
    padding: 0px;
    position: static;
    text-decoration: none;
    border: none;
    display: block;
  }
  #content {
    margin-top: 72px;
  }
}

#instagram {
    display: block;
    max-width: 120px;
    margin-left: auto;
    margin-right: auto;    
}

#instagram img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}
