html,
body,
a,
p,
h1,
h2,
h3,
h4,
li,
* {
  font-weight: 200;
  font-family: "AvenirNext-UltraLight", sans-serif;
}

html,
body {
  background-color: #fff;
  color: #636b6f;
  font-family: "AvenirNext-UltraLight", sans-serif;
  font-weight: 200;
  height: 100vh;
  margin: 0;
}

body,
body > div {
  overflow-y: auto;
}

.full-height {
  height: 100vh;
}

.home-arrow-down {
  position: absolute;
  bottom: 10px;
  text-align: center;
  cursor: pointer;
}

.home-arrow-up {
  position: absolute;
  top: 10px;
  text-align: center;
  cursor: pointer;
}

.flex-center {
  align-items: center;
  display: flex;
  justify-content: center;
}

.flex-column {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}

.home-color,
.home-color:hover {
  color: #636b6f;
}

.form-control:focus {
  border-color: #a00;
  box-shadow: 0 0 0 0.2rem rgba(200, 0, 0, 0.25);
}

.alert-dismissible .close {
  padding: 0px;
  top: 5px;
  right: 10px;
}

.back-link {
  margin: 15px;
  cursor: pointer;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 4;
}

.back-link:hover {
  color: #a00;
}

.btn-custom {
  background-color: #fff;
  color: #000;
}

.btn-custom:focus {
  box-shadow: none;
}

.btn-custom:hover {
  background-color: #fff;
  color: #a00;
}

/* HOME */

.home-title {
  font-weight: 200;
  text-align: center;
}

.home-logo {
  width: 150px;
  margin: 0px;
}

.home-link {
  margin: 5px;
  cursor: pointer;
}

.home-link:hover {
  color: #a00;
}

/* ARTWORK */

.flex-artwork {
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 0px;
}

.flex-artwork h1 {
  background-color: rgba(255, 255, 255, 0.9);
  position: -webkit-sticky;
  /* Safari */
  position: sticky;
  top: 0;
  z-index: 2;
  margin-top: 10px;
}

.artwork-preview {
  -moz-column-gap: 0;
       column-gap: 0;
  padding: 10px;
}

@media (max-width: 576px) {
  .artwork-preview {
    -moz-column-count: 1;
         column-count: 1;
  }
}

@media (min-width: 576px) {
  .artwork-preview {
    -moz-column-count: 2;
         column-count: 2;
  }
}

@media (min-width: 768px) {
  .artwork-preview {
    -moz-column-count: 3;
         column-count: 3;
  }
}

@media (min-width: 992px) {
  .artwork-preview {
    -moz-column-count: 4;
         column-count: 4;
  }

  .form-control {
    width: 30vw;
  }
}

@media (min-width: 1200px) {
  .artwork-preview {
    -moz-column-count: 5;
         column-count: 5;
  }
}

.artwork-preview img {
  display: inline-block;
  /* important to wrap notes not content */
  width: 100%;
  padding: 20px;
  cursor: pointer;
}

.alt-wrap {
  display: block;
  position: relative;
  color: whitesmoke;
  cursor: pointer;
}

.alt-wrap p.alt {
  position: absolute;
  opacity: 0;
  /* hide initially */
  left: 5px;
  right: 5px;
  bottom: 5px;
  margin: 15px;
  padding: 15px;
  font-size: 14px;
  line-height: 22px;
  background-color: rgba(0, 0, 0, 0.8);
  transition: all 300ms ease;
  transition-delay: 300ms;
}

.alt-wrap:hover > p.alt {
  opacity: 1;
  transition-delay: 0s;
}

/* The Modal (background) */

.preview {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 5;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  background-color: black;
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Modal Content (image) */

.preview-content {
  margin: 60px 50px 0px 50px;
  display: flex;
  max-width: 100vw;
  max-height: 80vh;
}

/* Caption of Modal Image */

#previewCaption {
  margin: auto;
  color: #fff;
}

/* Add Animation */

.preview-content,
#previewCaption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0);
  }

  to {
    -webkit-transform: scale(1);
  }
}

@keyframes zoom {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

/* The Close Button */

.close {
  position: absolute;
  top: 5px;
  right: 10px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */

@media only screen and (max-width: 700px) {
  .preview-content {
    width: 100%;
  }
}

/* BIO */

.flex-bio {
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 0px;
}

.flex-bio h1 {
  background-color: rgba(255, 255, 255, 0.9);
  position: -webkit-sticky;
  /* Safari */
  position: sticky;
  top: 0;
  z-index: 2;
  margin-top: 10px;
}

.bio-columns {
  -moz-column-gap: 10px;
       column-gap: 10px;
}

.bio-div {
  padding: 10px 10px 50px 10px;
}

.bio-div h1 {
  margin-bottom: 30px;
}

.bio-div p {
  font-size: 18px;
}

.bio-div img {
  width: 100%;
  padding: 20px 10px;
}

@media (max-width: 576px) {
  .bio-columns {
    -moz-column-count: 1;
         column-count: 1;
  }
}

@media (min-width: 576px) {
  .bio-columns {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .bio-columns img {
    width: 250px;
  }

  .bio-columns p {
    flex: 1;
  }
}

.contact-div {
  padding: 0px 5px;
}

.contact-div .form-control {
  width: 100%;
}

.contact-div img {
  margin-bottom: 5px;
}

.nav-preview {
  cursor: pointer;
  position: absolute;
  font-size: 30px;
}

#previewLeft {
  align-self: flex-start;
}

#previewRight {
  align-self: flex-end;
}

.home-preview {
  overflow-x: auto;
  height: 100%;
  width: 100vw;
}

.home-preview > .left-content-preview {
  left: 0px;
  position: absolute;
  width: 10vw;
  height: 50vh;
  background-image: linear-gradient(to left, rgba(0, 0, 0, 0), white);
}

.home-preview > .right-content-preview {
  right: 0px;
  position: absolute;
  width: 10vw;
  height: 50vh;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), white);
}

.home-preview > .content-preview {
  height: 100%;
  display: inline;
  white-space: nowrap;
}

.home-preview > .content-preview > img:first-child {
  margin-left: 10vw;
}

.home-preview > .content-preview > img:last-child {
  margin-right: 10vw;
}

.home-preview > .content-preview > img {
  max-width: 100%;
  max-height: 100%;
  cursor: pointer;
}

.flex-category {
  display: flex;
  min-height: 100vh;
  width: 100vw;
  align-items: center;
  align-content: center;
  justify-content: center;
  flex-wrap: wrap;
}

.category-element {
  height: 40vh;
  margin: 10px;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.category-element h2 {
  color: white;
  text-decoration: none;
}

.category-element:hover {
  opacity: 0.7;
}

table.exhibitions_table td {
  padding: 0px 10px;
  text-align: left;
}

table.exhibitions_table tr.year td {
  padding: 10px 10px 0px;
}

