/*
Theme Name: ST3 Photography
Theme URI: http://www.st3photography.com
Author: Jeroen Guichelaar
Author URI: www.jeroenguichelaar.nl
Description: Photography website
Version: 1.0
*/


body {
    background-color: #000;
    margin: 0; /* Reset default margin */
    padding: 0; /* Reset default padding */
}

.fancybox__container {
	z-index: 100 !important;
}

.side-panel {
	position: absolute;
  top: 0;
  left: 0;
  width: 500px;
  height: 100%;
  background: #fff;
  z-index: 200;
}

#homepageCarousel {
	opacity: 0.7;
	transition: all 500ms ease;
}

#homepageCarousel.fade {
	opacity: 0.35;
}

.loaderContainer {
	position: fixed;
	z-index: 9;
	width: 100%;
	height: 100%;
	background-color: #000;
	opacity: 1;
	top: 0;
	left: 0;
}


.loader-spinner {
  width: 50px;
  height: 50px;
  margin: 5% auto;
  position: relative;
}

.loader-spinner:after, .loader-spinner:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(255,255,255,0.5);
}

.loader-spinner:before {
  z-index: 100;
  animation: spin 1s infinite;
}

.loader-spinner:after {
  border: 2px solid rgba(255,255,255,0.2);
}

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



.navbar {
	padding-left: 15px;
	padding-right: 15px;
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-weight: 700;
	font-style: normal;
}

.navbar .nav-item {
	font-size: 13px;
	text-transform: uppercase;
}

.navbar .navbar-brand {
	font-weight: 900;
}

header {
}

h1, h2, h3, h4, h5 {
	font-family: "Barlow", sans-serif;
	font-optical-sizing: auto;
	font-weight: 700;
	font-style: normal;
}

.offcanvas {
	padding: 72px 32px;
}

.offcanvas .offcanvas-header .btn-close {
	position: absolute;
  right: 32px;
  top: 32px;
}

.offcanvas-header {
	padding-bottom: 8px;
}

.offcanvas-header h5 {
  font-size: 24px;
  line-height: 1.35;
  display: block;
  text-align: center;
  width: 100%;
  font-weight: 500;
  position: relative;
}

.offcanvas-header h5:after {
	content: '';
	display: block;
	height: 1px;
	background-color: #000;
	width: 85px;
	margin: 24px auto 0;
}

.btn.moreImageInfo {
	display: none !important;
}

.fancybox__toolbar {
	padding: 20px;
}

.fancybox__infobar .moreImageInfo .icon {
	width: 32px;
	height: 32px;
}


.carousel {
	position: relative;
	height: 100%;
	height: 100vh;
	width: 100%;
	overflow: hidden;
	background: #000;
}

.carousel .carousel-item {
	height: 100%;
	height: 100vh;
	width: 100%;
	background: #000;
}

.carousel .carousel-item img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.carousel-indicators li::marker {
	content: '';
}

.carousel-item {
	transition-duration: 2000ms;
}

.carousel-fade .carousel-item.active.carousel-item-start {
	transition-duration: 2000ms;
}

.carousel-fade .carousel-item.active.carousel-item-end {
	transition-duration: 2000ms;
}

.menuLink {
	cursor: pointer;
}

.navigationContainer {
	z-index: 10;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: #fff;
	transition: all 300ms ease;
	height: 293px;
	overflow: hidden;
	max-width: 393px;
	width: 90%;
}

.navigationContainer.expanded {
	background-color: rgba(0,0,0,0.85);
	transition: all 300ms ease;
	height: 90%;
	max-width: 393px;
    width: 90%;
}


.navigationContainer .icon {
	margin-bottom: 32px;
}

.navigationContainer a, .menuHeaderExpanded {
	position: relative;
	text-decoration: none;
	color: #fff;
	padding: 32px;
	display: block;
	transition: all 300ms ease;
}

.menuHeaderExpanded a {
	padding: 0;
}

.navigationContainer.expanded .menuHeaderExpanded {
	display: block;
}

.navigationContainer.expanded .menuLink {
	display: none;
}

.navigation a {
	background: none;
	color: #aaa;
}

.navigation a.active:hover {
	background: #1a1a1a;
	color: #fff;
}

.navigation a:hover {
	background-color: none;
	color: #fff;
}

.navigation a.active {
	background: #1a1a1a;
	color: #fff;
}

.grid-item a {
	display: block;
	width: 100%;
	height: 100%;
}


.grid-item a:after {
	content: '';
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.4);
	top: 0;
	left: 0;
	transition: background-color 300ms ease;
}

.grid-item a:hover:after {
	background-color: rgba(0,0,0,0.0);
}

.navigationContainer .menuLink:hover {
	background-color: rgba(0,0,0,0.45);
}

.navigationContainer.expanded a:hover {
	transition: background-color 300ms ease;
}

.menuHeaderExpanded {
	display: none;
}


.navigationContainer .navigation a {
	transition: all 300ms ease;
    padding: 1vh 0;
    margin-bottom: 2vh;
    font-size: 3vh;
    font-weight: 200;
}


.navigationContainer .navigation {
	visibility: hidden;
	transition: all 200ms ease;
	overflow: hidden;
	opacity: 0;
}

.navigationContainer.expanded .navigation {
	visibility: visible;
	transition: all 2000ms ease;
	opacity: 1;
	overflow: hidden;
}


.navigationContainer.expanded span.icon.close {
	display: block;
}

.navigationContainer.expanded span.icon.menu {
	display: none;
}

.navigationContainer span.icon.close {
	display: none;
}

.navigationContainer a h1 {
	text-decoration: none;
	color: #fff;
}

.navigationContainer h1 span {
	display: block;
	line-height: 1;
	font-size: 12px;
	text-transform: uppercase;
	margin: 16px 0;
}

.navigationContainer h1 {
	line-height: 1;
	font-weight: 400;
	font-size: 32px;
	margin: 16px 0;
}

.navigationContainer h1 span:before {
	content: '';
	display: block;
	height: 1px;
	background-color: #fff;
	width: 52px;
	margin: 16px auto;
}

.navigation.bottom_navigation a {
	font-size: 1.5vh;
}

.icon {
	display: block;
	width: 24px;
	height: 24px;
}


.grid {
  overflow: hidden;
}

/* clearfix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- grid-item ---- */

.grid-item {
  float: left;
  overflow: hidden;
}

.grid-item img {
	width: 100%;
}

.grid-sizer, .grid-item {
	width: 50%;
}


@media (min-width: 768px) { 
  .grid-sizer, .grid-item {
    width: 33.333%;
  }
}

@media (min-width: 1200px) { 
  .grid-sizer, .grid-item {
    width: 25%;
  }
}


@media (min-width: 1400px) { 
  .grid-sizer, .grid-item {
    width: 20%;
  }
}

.img {
    opacity: 0;
    transition: opacity 2500ms ease-in-out;
}

.lazyloaded.loaded {
    opacity: 1;
}


.grid a:hover .img {
	opacity: 1;
}

.backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	opacity: 0;
	transition: opacity 500ms ease-in-out;
	visibility: hidden;
}

.backdrop.active {
	opacity: 1;
	visibility: visible;
	transition: opacity 500ms ease-in-out;
}

.fancybox__backdrop {
  background-color: rgba(0,0,0,1); /* Change the color and opacity here */
}

body.page-template .navigationContainer {
	top: 0;
  transform: translate(-50%, 0);
}

body.page-template .navigationContainer.expanded {
	top: 50%;
  transform: translate(-50%, -50%);
}


.introduction {
	padding-top: 250px;
}

.aboutImage img {
	width: 100%;
	object-position: center;
	object-fit: cover;
	height: 100%;
}

.aboutImage {
	height: 250px;
	overflow: hidden;
}

@media (min-width: 768px) { 
  .aboutImage {
  	height: 500px;
  }
}

.wp-block-separator {
	margin: 32px auto;
  width: 50%;
}















