/* INDEX STYLES */
h1 {
  font-size: 1.5em;
}
a:active {
  color: #585853;
}
a {
  color: #818171;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
  color: #585853;
  background: none;
}
.navbar a:hover {
  background: none;
}
.kk-nav {
  float: right;
  font-family: Gill Sans;
  text-transform: uppercase;
  color: #585853;
}
.logo {
  float: left;
  font-family: 'Open Sans Condensed';
  text-transform: lowercase;
  color: #585853;
  font-size: 3em;
  letter-spacing: 0.1em;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}

/*Home page icons*/
.icon-wrapper {
  width: 90%;
  padding-bottom: 90%;
  margin: 1em auto;
  overflow: hidden;
  position: relative;
}

.icon-wrapper:hover {
  cursor: pointer;
}

.icon {
  opacity: 1;
  display: block;
  position: absolute;
  width: auto;
  max-width: 750px;
  max-height: 750px;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  object-fit: cover;
  /* overlay prop */
  transition: 0.5s ease;
  backface-visibility: hidden;
  padding: 20px;
}
/* overlay link */
.middle {
  transition: 0.5s ease;
  opacity: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}
.icon-wrapper:before {
  content: '';
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-color: #fff;
  opacity: 0.4;
}
@media only screen and (min-width: 768px) {
  .middle {
    opacity: 0;
  }

  .icon-wrapper:before {
    display: none;
  }
}
.container-ptg:hover .icon {
  opacity: 0.3;
}
.container-ptg:hover .middle {
  opacity: 1;
}
.ptg-link {
  border: 5px solid white;
  color: white;
  font-family: 'Gill Sans';
  font-size: 1.5em;
  text-transform: uppercase;
  padding: 16px 32px;
  pointer-events: none;
}

footer {
  background: #cecebc;
  justify-content: center;
  padding-left: 10%;
}
.mailing-list {
  border: 5px solid #afb09f;
  font-family: Gill Sans;
  text-transform: uppercase;
  max-width: 550px;
  max-height: 300px;
  margin: 30px;
  padding: 40px;
}
.mailing-list-body {
  font-size: 1.3em;
  font-family: Gill Sans;
  text-transform: uppercase;
  max-width: 550px;
  max-height: 300px;
  margin: 30px;
  padding: 40px;
}
footer .sitemap {
  padding: 30px;
  max-width: 100%;
}
footer .sub-left {
  float: left;
  width: 100%;
}
footer .sub-right {
  float: right;
  width: 100%;
}
footer .footer-nav {
  text-align: left;
  padding: 20px;
  font-family: Gill Sans;
  text-transform: uppercase;
  font-size: 1.3em;
}
p .copyright {
  font-family: Gill Sans;
}
input {
  font-family: Gill Sans;
  text-transform: uppercase;
  font-weight: 200;
  color: #585853;
  margin: 5px;
}

button {
  background: #818171;
  border-radius: 5px;
  font-family: Gill Sans;
  text-transform: uppercase;
  color: white;
}
button:hover {
  background: #afb99f;
  transition: 0.2s ease;
}
label {
  font-family: Gill Sans;
  text-transform: uppercase;
  font-weight: lighter;
}
#honeypot {
  display: none;
}

.contact {
  margin-top: 100px;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
}

/* GALLERY STYLES */

#gallery {
  padding-top: 40px;
}

@media only screen and (min-width: 991px) {
  #gallery {
    padding: 60px 30px 0 30px;
  }
}

.gallery-image {
  object-fit: cover;
}

.img-wrapper {
  width: 100%;
  padding-bottom: 100%;
  margin: 1em auto;
  overflow: hidden;
  position: relative;
}
.img-wrapper img {
  position: absolute;
  width: auto;
  min-width: 100%;
  min-height: 100%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.img-overlay {
  background: rgba(102, 102, 102, 0.7);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
}

.img-overlay:hover {
  cursor: pointer;
}

.img-overlay .expand-icon {
  color: #fff;
  font-size: 3em;
}

#overlay {
  background: white;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 999;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#overlay img {
  margin: 0;
  max-width: 100%;
  height: 100%;
  width: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.overlay-image-wrapper {
  display: flex;
  max-height: 60%;
  height: auto;
  width: 100%;
}

@media only screen and (min-width: 768px) {
  #overlay {
    flex-direction: row-reverse;
  }

  .overlay-image-wrapper {
    width: 60%;
    height: 100%;
    max-height: 100%;
  }

  #overlay #info-lightbox {
    padding-right: 100px;
    width: 40%;
  }
}

#nextButton,
#prevButton {
  appearance: none;
  background-color: transparent;
  border: none;
  color: #000;
  font-size: 2em;
  outline: none;
  transition: opacity 0.8s;
}
#nextButton:hover,
#prevButton:hover {
  opacity: 0.7;
}
@media only screen and (min-width: 768px) {
  #nextButton,
  #prevButton {
    font-size: 3em;
  }
}
@media only screen and (max-width: 767px) {
  #nextButton {
    position: absolute;
    right: 0;
  }

  #prevButton {
    position: absolute;
    left: 0;
  }
}

#exitButton {
  appearance: none;
  background-color: transparent;
  border: none;
  color: #585853;
  font-size: 2em;
  transition: opacity 0.8s;
  padding: 0;
  position: absolute;
  top: 0;
  right: 15px;
}
#exitButton:hover {
  opacity: 0.7;
}
@media only screen and (min-width: 768px) {
  #exitButton {
    font-size: 3em;
  }
}

ul {
  list-style-type: none;
}

.title {
  color: #585853;
  font-family: 'Gill Sans';
  font-size: 1.5em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.medium,
.date,
.size,
.sold {
  color: #585853;
  font-family: 'Gill Sans';
  font-weight: lighter;
  font-size: 1em;
}

.sold {
  text-transform: uppercase;
  font-size: 0.8em;
  margin-top: 10px;
}

.sold::before {
  content: '';
  width: 5px;
  height: 5px;
  display: inline-block;
  background-color: #ca4949;
  border-radius: 50%;
  bottom: 1px;
  position: relative;
  margin-right: 5px;
}

#info-lightbox {
  padding: 0;
  text-align: left;
  width: 100%;
  margin-top: 20px;
}

/* About styling*/
.about-container {
  padding-top: 2%;
  display: flex;
  justify-content: center;
}

.about-container .row-fluid {
  width: 100%;
}

.about {
  font-size: 1.1em;
  font-family: 'Georgia';
  justify-content: center;
}
.about img {
  max-width: 100%;
}
.about p {
  margin-top: 50px;
}

@media only screen and (max-width: 767px) {
  .about table tr {
    border-bottom: 1px solid #666600;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .about table tr td {
    border-bottom: none !important;
    display: flex;
    width: 100%;
  }

  .about table tr.table-space {
    border-bottom: none;
  }
}

/* Fade on load */

body {
  animation: fadein 2s;
  -moz-animation: fadein 2s; /* Firefox */
  -webkit-animation: fadein 2s; /* Safari and Chrome */
  -o-animation: fadein 2s; /* Opera */
}
@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-moz-keyframes fadein {
  /* Firefox */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes fadein {
  /* Safari and Chrome */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-o-keyframes fadein {
  /* Opera */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
