input {
  font-size: 1rem;
}

input[type='submit'] {
  border-radius: 0;
  border: 0;
  background-color: black;
  color: white;
  padding: 0.5rem 2rem 0.75rem;
  line-height: 1;
  cursor: pointer;
}

fieldset {
  display: block;
  border: 0;
}

#indexPage {
  text-align: center;
}
#indexPage ul {
  list-style: none;
  padding: 0;
}

h2 {
  font-style: normal;
  font-weight: 500;
  margin: 0;
}

.gallery-images {
  width: 100%;
  padding: 2.5rem 1rem;
  margin: 0 auto;
  box-sizing: border-box;
}

.gallery-galleryTile {
  box-sizing: border-box; padding: 0.5rem;
  cursor: pointer;
}

.gallery-galleryTile-image {
  background-size: 100% 100%;
}

.gallery-shadowBox {
  position: fixed;
  z-index: 2;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: fixed;
  z-index: 30;
}

.gallery-shadowBox-navigation {
  position: absolute;
  z-index: 25;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.shadowBox-navigation {
  width: 15%;
  height: 100%;
  position: absolute;
  z-index: 4;
  cursor: pointer;
  transition: opacity 100ms linear;
}
.shadowBox-navigation .svg-inline--fa {
  position: relative;
  top: 50%;
  margin-top: -3rem;
  width: 3rem;
  height: 4rem;
  color: black;
}

.angle-right,
.angle-left {
  border: 2px solid black;
  border-bottom: none;
  border-left: none;
  width: 2rem;
  height: 2rem;
  position: absolute;
  top: 50%;
  margin-top: -1rem;
}

.angle-right {
  right: 1rem;
  transform: rotateZ(45deg);
}

.angle-left {
  left: 1rem;
  transform: rotateZ(225deg);
}

.shadowBox-navigationPrevious {
  left: 0%;
}

.shadowBox-navigationNext {
  right: 0%;
}

.loader {
  border: 10px solid #f3f3f3;
  border-top: 10px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
  margin: 0 auto;
}

.gallery-shadowBox-loader {
  margin: 0 auto;
  position: absolute;
  z-index: 0;
  left: 50%;
  margin-left: -35px;
  top: 50%;
  margin-top: -35px;
}

.gallery-shadowBox-shareClose {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 5;
  cursor: pointer;
}

.shadowBox-share {
  position: absolute;
  background-color: white;
  width: 50%;
  padding: 3%;
  top: 21%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.shadowBox-share h2 {
  text-transform: uppercase;
}
.shadowBox-share form label {
  display: none;
}
.shadowBox-share form input[type='tel'],
.shadowBox-share form input[type='email'] {
  width: 80%;
  font-family: 'Courier';
  text-align: center;
}
.shadowBox-share form input[type='tel'] {
  width: 12rem;
}
.shadowBox-share form fieldset {
  padding: 1rem;
}

@media only screen and (max-width: 590px) {
  .shadowBox-share {
    width: 90%;
    top: 35%;
  }
}

.shadowBox-close,
.shadowBox-share-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  cursor: pointer;
}

.shadowBox-close {
  top: 0;
  right: 0;
  padding: 0;
}
.shadowBox-close a {
  display: block;
  z-index: 1;
  padding: 1rem;
}
.shadowBox-close svg {
  width: 1.3rem;
  height: 1.3rem;
  stroke: black;
  transition: all 250ms;
}
.shadowBox-close a:hover svg {
  stroke: red;
}

.shadowBox-share-close {
  padding: 0.5rem 0.6rem;
}
.shadowBox-share-close svg {
  width: 1rem;
  height: 1rem;
  stroke: black;
  transition: all 250ms;
}
.shadowBox-share-close:hover svg {
  stroke: red;
}

.gallery-toolbox {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 5;
  width: 100%;
  height: 10%;
  min-height: 4.75rem;
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
}
.gallery-toolbox .gallery-toolbox-actions {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gallery-toolbox .gallery-toolbox-actions .gallery-toolbox-action {
  display: inline-block;
  width: 3rem;
  margin: 0 0.5rem;
  cursor: pointer;
}
.gallery-toolbox
  .gallery-toolbox-actions
  .gallery-toolbox-action
  .toolbox-action-iconHolder {
  padding: 35%;
}
.gallery-toolbox
  .gallery-toolbox-actions
  .gallery-toolbox-action
  .toolbox-action-iconHolder
  button {
  padding: 0;
  cursor: pointer;
  border: none;
  background: none;
}
.gallery-toolbox
  .gallery-toolbox-actions
  .gallery-toolbox-action
  .toolbox-action-iconHolder
  .svg-inline--fa {
  transition: all 150ms linear;
  -webkit-transition: all 150ms linear;
  height: 1.5rem;
  color: black;
}
.gallery-toolbox
  .gallery-toolbox-actions
  .gallery-toolbox-action
  .svg-inline--fa {
  width: 100%;
  height: 100%;
}

.gallery-toolbox-action button {
  width: 50px;
}
.gallery-toolbox-action svg {
  width: 24px;
  height: 24px;
}

.gallery-shadowBox-media {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.gallery-shadowBox-media .img {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.gallery-shadowBox-media video {
  object-fit: contain;
  width: 100%;
  height: 100%;
  object-position: center center;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.gallery-shadowBox-content {
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  background-color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
  position: fixed;
  z-index: 3;
}

.gallery-shadowBox-content img {
  width: 100%;
  height: 100%;
}

.gallery-controls {
  position: fixed; 
  width: 100%;
  text-align: center;
  top: 0;
  left: 0;
  bottom: auto;
  color: white;
  box-sizing: border-box;
  padding: 1em;
  z-index: 20;
  background-color: black;
}

.gallery-info {
  vertical-align: middle;
}

.gallery-info .svg-inline--fa {
  margin: 0 0.5em;
}

.gallery-info-datum {
  display: inline-block;
}

.gallery-info-date .gallery-info-datum {
  width: 6em;
}

.gallery-info-time .gallery-info-datum {
  width: 4.5em;
}

.gallery-controls header {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
}

.gallery-controls-logo {
  display: inline-block;
  width: 9rem;
}

@media only screen and (max-width: 620px) {
  .gallery-controls header {
    position: relative;
    top: 0;
    transform: none;
    text-align: center;
  }
  .gallery-controls-logo {
    margin: 0.25rem;
    width: 10rem;
  }
}

.gallery-controls nav {
  display: inline-block;
}

.gallery-controls-content {
  margin: 0 auto;
}

.gallery-controls-logo img {
  width: 100%;
}

.gallery-controls-time {
  font-family: 'Orbitron', sans-serif;
}

.gallery-galleryTile {
  transition: padding 0.2s;
  opacity: 1;
}

/** CFA STYLES */
html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Apercu, 'Helvetica Neue', helvetica, sans-serif;
  padding: 20px 20px 0px;
}

button,
input {
  font-family: Apercu, 'Helvetica Neue', helvetica, sans-serif;
}

header {
  padding: 12px;
  border-bottom: 2px solid #2066e7;
  display: flex;
  align-items: center;
  justify-content: center;
}

header svg {
  width: 300px;
}

img,
svg {
  max-width: 100%;
}

.gallery-images {
  /* padding: 1rem; */
}

.gallery-shadowBox-media {
  box-sizing: border-box;
  padding: 45px;
}

.gallery-shadowBox-content {
  background: none;
}

.gallery-galleryTile-image {
  position: relative;
}

@media only screen and (max-width: 590px) {
  .gallery-shadowBox-navigation {
    display: none;
  }
  .gallery-shadowBox-media {
    padding: 55px 15px;
  }
}

.message {
  /* margin-top: 30px; */
  max-width: calc(100% - 40px);
  text-align: center;
  color: #000000;
}

.gallery-galleryTile-image__play-icon:after,
.gallery-galleryTile-image__play-icon:before {
  content: '';
  z-index: 10;
  position: absolute;
  top: calc(50% - 7px);
  left: calc(50% - 14px);

  border: 15px solid;
  border-color: transparent;
  border-left-color: white;
  border-left-width: 28px;
}

.gallery-galleryTile-image__play-icon:after {
  content: '';
  z-index: 9;
  transform: scale(1.1);
  filter: blur(2px);
  border-left-color: rgba(0, 0, 0, 0.5);
  transform-origin: 24% 50%;
}

.gallery-galleryTile-image video {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.gallery-galleryTile-image:hover video {
  display: block;
  opacity: 1;
}

.gallery-shadowBox {
  background-color: rgba(0, 0, 0, 0.8);
  color: black;
}

.gallery-toolbox {
  background-color: transparent;
  bottom: initial;
  top: 0;
  min-height: initial;
}

.gallery-toolbox .gallery-toolbox-actions {
  padding: 11px;
  text-align: right;
  padding-right: 70px;
}

.gallery-toolbox .gallery-toolbox-actions .gallery-toolbox__webshare {
  display: none;
}

.gallery-toolbox
  .gallery-toolbox-actions
  .gallery-toolbox__webshare.webshare-enabled {
  display: inline-block;
}

.gallery-toolbox
  .gallery-toolbox-actions
  .gallery-toolbox-action
  .toolbox-action-iconHolder
  .svg-inline--fa {
  color: white;
}

.gallery-toolbox
  .gallery-toolbox-actions
  .gallery-toolbox-action
  .toolbox-action-iconHolder {
  padding: 0;
}

.gallery-shadowBox svg {
  stroke: white;
  fill: white;
}

.gallery-shadowBox .angle-right,
.gallery-shadowBox .angle-left {
  border-color: white;
}

.shadowBox-share-close svg {
  stroke: black;
}

.shadowBox-share {
  color: black;
}

.shadowBox-share input[type='submit'] {
  font-family: Apercu, 'Helvetica Neue', helvetica, sans-serif;
  color: white;
  background-color: red;
  border: 0px solid transparent;
  border-radius: 35px;
  margin: 0 auto;
  max-width: 340px;
  box-sizing: border-box;
  padding: 0 26px;
  text-align: center;
  align-items: center;
  cursor: pointer;
  display: block;
  height: 55px;
  line-height: 55px;
  text-decoration: none;
  transition: 0.2s;

  background-image: linear-gradient(
    180deg,
    #d2bd91 3%,
    #bea777 51%,
    #77643c 98%
  );
}

.shadowBox-share input[type='submit']:hover {
  background-image: linear-gradient(
    180deg,
    #f11c41 0%,
    #cf0a2c 49%,
    #9a0620 98%
  );
}

.photo-grid {
  display: flex;
  width: auto;
}
.photo-grid__column {
  background-clip: padding-box;
}

