html { width: 100%; margin: 0; padding: 0; }

body {
  width: 100%;
  margin: 0;
  padding: 0;
  padding-top: 2em;
  font-family: Montserrat, Verdana, Arial, sans-serif;
  color: #333333;
}

h1 { margin: 1.2em; margin-bottom: 0.2em; font-weight: normal; }
h1.page-title { margin-top: 0px; }
h1 a {
  text-decoration: none;
  color: inherit;
}
h1 a:hover {
  text-decoration: underline;
}

.web-slides {
  display: block;
  margin: 0 10%;
}

.web-slides img {
  max-width: 100%;
}

.mobile-slides {
  display: none;
}

.title { text-align: center; }

.section { margin-top: 2em; }

.showings h4 {
  margin-top: 3em;
}

p.clear {
  clear: both;
}

img.middle {
  width: 100%;
}

img.half {
  position: relative;
  float: left;
  padding-right: 1em;
  padding-bottom: 0.3em;
  max-width: 50%;
}

img.press {
  max-width: 100%;
}

img.profile {
  position: relative;
  float: left;
  max-width: 150px;
  padding-right: 1em;
  padding-bottom: 0.3em;
}

ul.nav {
  display: inline-block;
  padding: 0.75rem 0 2rem;
  margin: 0.2em auto;
  text-transform: uppercase;
}
ul.nav > li {
  display: inline-block;
  padding: 0.5em;
  margin: 0.3em;
  margin-bottom: 1.2em;
  list-style: none;
  text-align: center;
  cursor: pointer;
  position: relative;
}
ul.nav > li:hover {
  font-weight: bold;
  color: rgba(0,0,0, 1);
}
ul.nav > li a {
  padding: 0.5em;
  margin: 0;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
ul.nav > li a:hover { text-decoration: underline; color: inherit; }

ul.nav ul {
  cursor: pointer;
  border: 1px solid rgba(0,0,0, 0.2);
  background-color: rgba(230,230,230, 1);
  display: block;
  position: absolute;
  min-width: 100%;
  padding: 0;
  margin: 0.2em auto;
  top: 90%;
  left: 0;
  z-index: 100;
}
ul.nav ul li {
  font-weight: normal;
  color: initial;
  text-align: left;
  list-style: none;
  padding: 0.5em;
  margin: 0.3em;
}
ul.nav ul li a {
  padding: initial;
  margin: initial;
}

ul.social-icons { position: absolute; top: 2em; right: 90px; padding: 0; margin: 0 }
ul.social-icons li {
  display: inline-block;
  padding: 13px;
  padding-top: 0;
  padding-bottom: 0;
  list-style: none;
  text-align: center;
  cursor: pointer;
}
ul.social-icons li img { width: 30px; }

#app {
  width: 96%;
  margin: 0 auto;
  text-align: center;
}

#gallery .content {
  display: inline-block;
  height: 400px;
  margin: 10px;
  padding: 0;
}
#gallery p {
  -webkit-margin-before: 0;
  -webkit-margin-after: 0;
  -webkit-margin-start: 0;
  -webkit-margin-end: 0;
  margin: 0;
  display: inline-block;
  height: 400px;
  overflow: hidden;
}
#gallery .feature {
  max-height: inherit;
  overflow: inherit;
  padding: 0;
  margin: 0;
}
#gallery .feature .wrap {
  margin-bottom: 15px;
  max-height: 80%;
  overflow-y: scroll;
}
#gallery p img.thumb {
  width: 400px;
  height: 400px;
  object-fit: cover;
  cursor: pointer;
}

.admin-form {
  padding: 10px 20px;
  padding-left: 0;
}

.adminbutton { position: absolute; top: 0.5em; right: 1em; }

.warning {
  border-color: red;
}

.form label {
  display: inline-block;
  width: 8em;
}

.button {
  margin: 0.5em;
  padding: 0.5em;
  border: 1px solid rgba(0,0,0, 0.6);
  font-weight: bold;
  text-decoration: none;
  color: #333333;
  cursor: pointer;
}

.feature {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background-color: rgba(0,0,0, 0.85);
  text-align: center;
  cursor: pointer;
}

.selected {
  border: dashed 2px orangered;
}

.form {
  text-align: left;
}

#entry .medium {
  cursor: pointer;
  margin-bottom: 20px;
  /* display: inline-block; */
  position: relative;
  /* width: 50%; */
}
#entry .wrap {
  height: 300px;
  overflow: hidden;
}
#entry img {
  width: 800px;
  /* height: 300px; */
}
#entry .caption {
  display: block;
  font-weight: bold;
  margin: 0 auto;
  padding: 0 10px;
  position: absolute;
    top: 40%;
    left: 0;
    right: 0;
}
#entry .white {
  color: #FFFFFF;
}

form.admin {
  position: relative;
  width: 12em;
  margin: 2em auto;
}
form.admin input {
  display: block;
  margin: 0.5em;
}

.leftjustify { padding: 4em; padding-top: inherit; text-align: left; line-height: 1.5; }

.feature { color: rgba(200,200,200, 1); }
.feature img {
  display: block;
  margin: 8% auto;
  margin-bottom: 1em;
  max-width: 80%;
}
.feature a { color: rgba(140,200,240, 1); text-decoration: underline; }

.leftjustify a { color: rgba(60,100,180, 1); text-decoration: underline; }

.italic { font-style: italic; }

.footer { font-size: smaller; margin: 2em auto; text-align: center; }

.closer { position: absolute; top: 0.1em; right: 0.5em; color: rgba(140,200,240, 0.8); }

@media screen and (max-width: 40em) {
  ul.nav { margin: 0.8em 0; padding: 0.5em 0 1em; font-size: 4vw; }
  ul.nav > li { padding: 0.3em; }
  ul.social-icons {
    padding-top: 1.5em;
    position: relative;
    top: auto;
    right: auto;
    text-align: center; }
  h1 { margin-top: 0.2em; }
  #app { width: 95%; }
  #gallery p { padding: 0; margin: 0 0.5em; margin-bottom: 0.6em; }
  #gallery p img { margin: 0; padding: 0; width: 100%; max-width: 100%;}
  .feature { max-width: 100%; }
  .feature img { margin: 1.5em auto; width: 100%; max-width: 100%; }
  .leftjustify { padding: 1em; }
  .about { position: absolute; bottom: auto; }

  .web-slides {
    display: none;
  }

  .mobile-slides {
    display: block;
  }

  .mobile-slides img {
    max-width: 100%;
  }

  @media (orientation: landscape) {
   .feature img { margin: 1.5em auto; width: auto; height: 100%; max-height: 100%; }
  }
}
