/*
 Theme Name:     SOFrank
 Description:    Custom theme for SOFrank - Child Theme based on Photolux v2.3.3
 Template:       photolux
 Version: 		   1.3.0
 Author:         Julien Ranzijn, Happyfolio
 Author URI:     https://www.happyfolio.nl/
*/

@import url("../photolux/style.css");

/* GENERAL STYLES */

html {
  padding: env(safe-area-inset);
}

body {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif !important;
  font-size: 12px;
  line-height: 1.7em;
  color: #282828 !important;
  background-color: #ffffff !important;
}

input[type="email"] {
  background-color: #f3f3f3;
  border: 1px solid #d9d9d9;
  -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1) inset,
    0 1px 0 rgba(255, 255, 255, 0.2);
  -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1) inset,
    0 1px 0 rgba(255, 255, 255, 0.2);
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1) inset,
    0 1px 0 rgba(255, 255, 255, 0.2);
  color: #585858;
  width: 300px;
  height: 27px;
  font-size: 12px;
  line-height: 23px;
  border-radius: 3px;
  padding: 2px 0 2px 5px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

#header {
  background-color: #ffffff !important;
  background-image: none !important;
  border: none !important;
}

#navigation-container {
  background-color: #ffffff !important;
  background-image: none !important;
  border: none !important;
}

#logo-container,
#logo-container a {
  height: 110px;
}

.content-box h2,
#portfolio-categories ul li,
#showcase-categories ul li {
  color: #6b6b6b !important;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif !important;
  font-size: 18px !important;
  margin: 10px 0 8px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  text-transform: capitalize;
}

.content-box h2.post-password-required {
  position: relative;
}

.content-box h2.post-password-required::after {
  content: "Exclusive";
  text-transform: uppercase;
  display: block;
  font-size: 11px;
  position: absolute;
  top: -19px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #de3917;
  padding: 4px;
  line-height: 11px;
}

.content-box .post-info {
  display: none;
}

#menu ul li a,
.content-box h2,
#portfolio-categories ul li,
#showcase-categories ul li {
  color: #6b6b6b;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.1);
}

#not-found h1,
#not-found h2 {
  color: #949494 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif !important;
  font-weight: 100;
  line-height: 1.5em;
  margin: 15px 0;
}

h1.page-heading {
  font-size: 25px;
  margin-bottom: 5px;
  margin-top: -3px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #000 !important;
}

body:not(.page-template-template-homepage) #main-container {
  margin-top: 70px;
}

.page #content,
.single #content,
.page #full-width,
.single #full-width,
.page-content-box {
  box-shadow: none !important;
}

.error404 .search-wrapper {
  display: none;
}

.double-line {
  border-bottom-color: #fff !important;
  border-top-color: #fff !important;
  display: none;
}

.sidebar-box h4,
.portfolio-sidebar h4 {
  border-color: #fff !important;
}

.three-columns,
#content .three-columns {
  margin-bottom: 20px;
  font-size: 14px !important;
  line-height: 22px;
}

.four-columns {
  margin-bottom: 20px;
  font-size: 14px !important;
  line-height: 22px;
}

#header,
.mob-nav-menu,
#navigation-container,
#footer,
#showcase-categories,
#portfolio-categories ul,
#filter-btn.filter-opened,
.sidebar-box h4,
.portfolio-sidebar h4,
#header,
.mob-nav-menu,
#navigation-container,
#footer,
#showcase-categories,
#portfolio-categories ul,
#filter-btn.filter-opened,
.sidebar-box h4,
.portfolio-sidebar h4 {
  background: #ffffff -moz-linear-gradient(center bottom, #fff 0%, #fff 100%) repeat
    scroll 0 0 !important;
  box-shadow: none !important;
}

#loadMore {
  background-color: #dcdcdc !important;
}

#footer {
  background-color: #ffffff !important;
  background-image: none !important;
  border: none !important;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.08) !important;
}

.more-container {
  padding-bottom: 55px;
}

#footer .button,
#submit,
input[type="submit"] {
  font-size: 11px;
  text-transform: lowercase;
  background-color: #707070 !important;
}

#footer-social-icons {
  margin: 11px 15px 0 0;
  text-align: right;
  width: 100%;
}

#footer-social-icons ul {
  margin: 0 38px 0 0 !important;
}

#mc_embed_signup {
  font-size: 12px;
  margin: 10px;
}

#mce-success-response {
  font-weight: bold;
  color: green;
  text-align: center;
  font-size: 14px;
  padding: 10px;
  background-color: inherit;
}

.footer-container #mc_embed_signup div.mce_inline_error {
  margin: 0;
  padding: 0;
  background-color: inherit;
  font-weight: bold;
  z-index: 1;
  color: #6B0505;
  text-align: center;
}

/* Mozilla based browsers */

::-moz-selection {
  background-color: #ccc !important;
  color: #000 !important;
}

/* Works in Safari */

::selection {
  background-color: #ccc !important;
  color: #000 !important;
}

/* login submission */

.login-content {
  max-width: 700px;
  padding: 15px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  margin-bottom: 50px;
}

.login-content--request-password {
  display: none;
}

.login-content h2 {
  text-transform: uppercase;
  margin-top: 0;
}

.login-content p {
  font-style: italic;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.login-content input[type="submit"] {
  line-height: 25px;
  vertical-align: top;
}

.login-content form {
  padding-top: 15px;
}

/* request register */

.login-content h3 {
  color: #808080 !important;
  background-color: #f0f0f0;
  padding: 10px;
  margin: 40px -15px -15px;
  cursor: pointer;
}

.login-content h3:hover {
  color: #000 !important;
}

.login-content input {
  font-style: italic;
}

.login-content span.wpcf7-not-valid-tip {
  font-size: 11px;
  color: #de3917;
}

.login-content .wpcf7-response-output {
  max-width: 350px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 23px;
  border-radius: 3px;
  padding: 2px 5px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.login-content div.wpcf7-validation-errors,
.login-content div.wpcf7-acceptance-missing {
  display: none !important;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff9;
  height: 65px;
  position: fixed;
  z-index: 20;
  width: 100%;
  box-sizing: border-box;
  backdrop-filter: saturate(180%) blur(5px);
  transition: height .5s, background-color .5s;
}

.logo-container {
  flex: 1;
  margin-top: 5px;
  margin-left: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo__image {
  height: 32px;
}

.logo__arrow {
  height: 20px;
}

.header__spacer {
  flex: 1;
}

.menu-main-menu-container {
  height: 100%;
}

#menu ul li a {
  font-size: 20px !important;
  text-shadow: none !important;
  text-transform: capitalize;
  white-space: nowrap;
}

#menu ul li a:hover,
#menu ul li a:active,
#menu ul li:hover,
#menu ul li a:hover,
#menu ul li.hovered > a,
#menu ul li a:active,
#menu ul ul li.current-menu-item > a {
  background: #ffffff00 !important;
  color: #000 !important;
  transition: color 0.3s;
  border: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
}

.splide__list li:not(.splide__slide) {
  display: none;
}

.splide__list .splide__slide img {
  font-size: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: scale(1) translate(-50%, -50%);
}

.splide__arrow {
  font-size: 0;
  width: 65px;
  height: 65px;
  background: url(./img/icons/slider-arrow.svg) no-repeat center center;
  background-size: contain;
  margin: 20px;
}

.splide__arrow--next {
  transform: translate(0, -50%) rotate(180deg);
}

/* Responsive */
@media (max-width: 1024px) {
  .header__spacer {
    display: none;
  }
}

body::not(.page-template-template-homepage) {
  margin-top: 100px;
}

.scrolldown-button {
  position: absolute;
  bottom: 0;
  width: 65px;
  height: 65px;
  z-index: 2;
  left: 50%;
  margin-bottom: 40px;
  transform: translateX(-50%);
  background: url(./img/icons/scrolldown-arrow.svg) no-repeat center center;
  background-size: cover;
  cursor: pointer;
  transition: opacity 0.3s;
}

.scrolldown-button:hover {
  opacity: 0.8;
}

.footer-container {
  min-height: 55px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsive */

@media (max-width: 1024px) {
  .footer-container {
    flex-direction: column;
  }
}

.copyright {
  color: #484848;
  font-size: 12px;
  margin: 20px;
}

.social-links {
  list-style: none;
  display: flex;
  margin: 20px;
}

.social-links li {
  margin-left: 5px;
}

.social-links img {
  width: 16px;
  height: 16px;
}

.full-size-quote {
  text-align: center;
  max-width: 1000px;
  margin: 80px auto 90px;
  padding: 0 75px;
}

.full-size-quote p {
  font-size: 26px;
  color: #393939;
  line-height: 34px;
}

#grid-full-width {
  padding-bottom: 75px;
}

.horizontal-slider {
  bottom: 40px;
}

.full-size-video {
  overflow: hidden;
  position: relative;
}

.fullsize-video__thumbnail {
  position: absolute;
  width: 100%;
  height: calc(100% - 50px);
  cursor: url(./img/icons/play.svg), auto;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
}

.fullsize-video__thumbnail.playing {
  cursor: url(./img/icons/pause.svg), auto;
  background: #ffffff00;
  transition: all 0.5s;
}

.fullsize-video__player {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  z-index: 1;
}

.fullsize-video__player iframe {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(-50%);
  z-index: 1;
}

.w-vulcan--background {
  cursor: url(./img/icons/play.svg), auto !important;
}

.w-vulcan--background.playing {
  cursor: url(./img/icons/pause.svg), auto !important;
}

.image_wrapper,
.wrap_placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: none;
  background-size: 0;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 1s ease-in-out;
}

.image_wrapper.no_transition,
.wrap_placeholder.no_transition {
  transition: none !important;
}

.image_wrapper > a {
  display: block;
  width: 100%;
  height: 100%;
}

.mobile-menu-button {
  display: none;
  visibility: hidden;
  width: 65px;
  height: 65px;
  background: url(./img/icons/menu.svg) no-repeat center center;
  background-size: 26px;
  cursor: pointer;
  transition: all .3s;
  opacity: 1;
  position: absolute;
  top: 0;
  right: 0;
}

@media (max-width: 986px) {
  .scroll-lock {
    overflow: hidden;
  }

  .logo__arrow {
    position: absolute;
    top: 23px;
    left: 15px; 
  }

  .logo__image {
    position: absolute;
    top: 18px;
    left: 40px;
    max-width: 200px;
  }

  .header-container {
    display: block;
    overflow: hidden;
  }

  .mobile-menu-button {
    display: block;
    visibility: visible;
  }

  .mobile-menu-button:hover {
    opacity: .7;
  }

  .menu-main-menu {
    width: 100%;
  }

  .hide-mobile-menu-button {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 65px;
    height: 65px;
    display: block;
    background: url(./img/icons/close.svg) no-repeat center center;
    background-size: 26px;
    z-index: 10;
    cursor: pointer;
    transition: all .3s;
    opacity: 0;
  }

  .show-menu {
    height: 100vh;
    background-color: #ffffffd6;
  }

  .close-mobile-menu-button:hover {
    opacity: .7;
  }

  .show-menu .hide-mobile-menu-button {
    opacity: 1;
  }

  .show-menu .mobile-menu-button {
    opacity: 0;
  }

  .menu-container {
    height: calc(100vh - 140px);
    position: absolute;
    width: 100%;
    margin-top: 60px;
    margin-bottom: 80px;
  }

  #menu ul li {
    display: block;
  }

  #menu ul {
    line-height: 3;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: calc(100% - 100px);
  }

  #menu ul li a {
    font-size: 28px !important;
    line-height: 45px;
  }

  .full-size-quote {
    margin-top: 40px;
    margin-bottom: 45px;
    padding: 0 20px; 
  }
  
  .full-size-quote p {
    font-size: 18px;
    line-height: 24px;
  }

}

.landscape-modal-container {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #ffffffd6;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
}

.landscape-modal-container.show {
  opacity: 1;
}

.landscape-modal-container.hide {
  visibility: hidden;
  display: none;
}

.landscape-modal-container::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 65px;
  height: 65px;
  display: block;
  background: url(./img/icons/close.svg) no-repeat center center;
  background-size: 26px;
  cursor: pointer;
}

.landscape-modal-container p {
  text-align: center;
  padding: 0 20px;
}

.landscape-modal__icon {
  margin-bottom: 10px;
}

.landscape-modal__title {
  font-size: 18px;
  font-weight: bold;
}

.landscape-modal__description {
  font-size: 14px;
  margin: 0;
}

/* Responsive */
@media (max-width: 600px) {
  .scrolldown-button {
    display: none;
  }
}

/* landscape orientation for mobile */
@media (max-width: 986px) and (max-height: 378px) {
  .show-menu {
    overflow-y: scroll;
  }

  :not(.show-menu) .menu-container {
    opacity: 0;
  }

  .show-menu .menu-container {
    opacity: 1;
    height: auto;
    position: initial;
  }

  .full-size-quote {
    padding: 0 40px; 
  }

  .scrolldown-button {
    display: none;
  }
}

.preview-content {
  padding-bottom: 50px;
}


.horizontal-iframe-wrapper {
  height: 100%;
  width: calc(100dvw - 310px);
  position: relative;
}

.has360indicator:after {
  content: 'Drag to view';
  color: white;
  font-weight: bold;
  display: block;
  width: 125px;
  height: 50px;
  position: absolute;
  background: url('./img/icons/360slider.svg') no-repeat 0 5px;
  background-size: 80px;
  line-height: 47px;
  z-index: 10;
  padding-left: 90px;
  left: 30px;
  bottom: 20px;
  font-size: 20px;
}

.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

/* Gallery */
@media (max-width: 1024px), (orientation: landscape) and (hover: none) and (pointer: coarse) {
  .preview-content {
    padding: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
  }

  .preview-text {
    padding: 15px;
  }

  .preview-content,
  .preview-shadow {
    width: 100%;
  }

  .preview-content .back-btn {
    position: relative;
    text-align: left;
    border: none;
    background-image: none;
    padding: 0 15px 15px 15px;
    text-transform: inherit;
  }

  .preview-description {
    width: 100vw;
  }

  .gallery-images img {
    width: 100vw;
  }

  #grid-full-width {
    padding-bottom: 0;
  }

  .mc-field-group input[type="email"] {
    width: calc(100% - 7px);
    margin-bottom: 10px
  }

  .has360indicator:after {
    transform: scale(0.6);
    left: -20px;
    bottom: 0;
  }
}
