/* Layout */
/* ------------------------------------------------------------------------------ */

.full-width {

	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;

}

.span-row { grid-column: 1 / -1; }

.col-align-right {

	justify-self: end;

}

.col-align-left {

	justify-self: start;

}

.col-align-center {

	justify-self: center;

}

.col-align-middle {

	align-self: center;

}

.two-columns {

	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 0rem;

}


.two-columns-25-75 {
	
	display:grid;
 	grid-template-columns: 0.9fr 3.1fr;
	grid-gap: 0rem;

}

.responsive-img {

	max-width: 100%;
	height: auto;

}

/* Modal window */
/* ------------------------------------------------------------------------------ */

.modal-darken {

	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	padding-top: 100px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */

}

.modal-window {

	pointer-events: none;
	display: none;
  position: fixed;
  color: black;
  z-index: 11;
  flex-wrap: wrap;

  width: 100%;
  height: 100%;
  justify-content: center;
	align-items: center;

  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	-webkit-animation-name: animatetop;
	-webkit-animation-duration: 0.4s;
	animation-name: animatetop;
	animation-duration: 0.4s

}

.modal-content {

	pointer-events: auto;
	position: fixed;
	min-height: 90vh;
	max-height: 90vh;
  min-width: 85vw;
	background-color: white;
  border: 4px solid #45705d;
  border-radius: 20px;
  margin-right: 2vw;
  margin-left: 2vw;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;

}

#modal-close-btn {

	pointer-events: auto;
	display: none;
	position: fixed;
	right: 0.5rem;
	top: 0.5rem;
	cursor: pointer;
	z-index: 100;
}

#modal-dump {

	position: relative;
	min-width: 100%;
	min-height: 90vh;
	z-index: 4;
	display: flex;
	justify-content: center;
	align-items: center;

}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-50px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-50px; opacity:0}
  to {top:0; opacity:1}
}

.modal-content img.lrg-img {

	border-radius: 15px;
	box-shadow: 3px 3px 5px var(--mediumGrey);

}

/* Collapsible content */
/* ------------------------------------------------------------------------------ */

.collapsible {

	background-color: #fff2cc;
	cursor: pointer;
	padding: 0.2rem;
	padding-right: 0;
	width: 100%;
	border: none;
	text-align: left;
	outline: none;
	font-size: 1.3rem;
	border-bottom: 1px solid white;

}

.collapsible-active, .collapsible:hover {

  background-color: #fee599;

}

.collapsible:before {

	content: '\002B';
	font-weight: bold;
	padding-right: 0.5rem;
	padding-left: 0.5rem;
	margin-top: 1rem;

}

.collapsible-active:before {

	content: "\2212";

}

/* Images */
/* ------------------------------------------------------------------------------ */

.thumbnail-img {

	cursor: pointer;
	width: 100%; 
	height: auto;

}

.prev-btn, .next-btn {

	cursor: pointer;
	width: 5%;

}

.prev-btn {

	margin-left: 1vw;

}

.next-btn {

	margin-right: 1vw;

}

.next-btn { text-align: right;  }

.img-data-container {

	text-align: center;
	min-width: 80%;
	max-width: 80%;
	max-height: 90vh;
	margin: 5%;

}

.img-data-container .img-loader {

	display: none;

}

.lrg-img {

	max-height: 80vh;
	max-width: 100%

}

/* Products */
/* -------------------------------------------------------------------- */

.product-wrapper {

	display:  flex;
	justify-content: center;

}

.product {

	outline: 2px solid #EEE;
	align-items: center;
	justify-content: center;
	margin-bottom:  1rem;
	padding:  2rem;

}

.product-head {

	grid-column: 1/-1;
	text-align: left;

}

.product-head h1 {

	font-size: 2.5rem;

}

.product-short-description {

	margin-bottom:  1rem;

}

.product-qty {

	margin-bottom: 1rem;
	font-size:  1.2rem;

}

.product-qty select {

	font-size:  1.2rem;

}

.add-to-cart {

	width:  100%;
	text-align: center;

}

.add-to-cart button {

	cursor: pointer;
	font-size: 2rem;
	margin-bottom: 1rem;

}

/* NEXT GEN GALLERIES */
.ngg-galleryoverview {

	margin-left: 15%;
	margin-right: 15%;
	display:grid;
  grid-template-columns: repeat( auto-fit, minmax(14rem, 1fr) );
	grid-gap: 2em;

}

.ngg-gallery-thumbnail-box a {


}

.ngg-gallery-thumbnail-box {

	cursor: pointer;

}

.ngg-navigation {

	grid-column:  1/-1;
	display: flex;
	justify-content: center;

}

.ngg-navigation a, .ngg-navigation span {

	margin-right: 1rem;

}

/* WOOCOMMERCE  */

.size-woocommerce_single {

	width:  100%;
	height:  auto;
	border:  2px solid #DDD;

}

@media screen and (min-width: 1380px) {

	.modal-content img.lrg-img {

		max-width: 50vw;
		height: auto;		

	}

}

@media screen and (max-width: 1380px) {

	#modal-close-btn {

		right: 6rem;
		top:  3.3rem;

	}

}

@media screen and (max-width: 1300px) {

	.header-columns {

		min-height: 75px;

	}

	.two-columns,.two-columns-70-30, .two-columns-25-75, .two-columns-33-66, .two-columns-66-33 {
		
		grid-template-columns: 1fr;
		
	}

	#hamburger {

		display: block;

	}

	.custom-menu-class-wrapper {

		display: none;

	}

	h1, h2, h3 {

		text-align: center;

	}

}

@media screen and (max-width: 1190px) {

	#modal-close-btn {

		right: 5rem;
		top:  3.3rem;

	}

}

@media screen and (max-width: 750px) {

	div.custom-menu-class {

		display: none;

	}

	div.custom-menu-class-mobile {

		font-size: 1.5rem;

	}

	#close-btn {

		left: 92%;

	}

	#modal-close-btn {

		right: 4rem;
		top:  3.3rem;

	}

}

@media screen and (max-width: 500px) {

	#modal-close-btn {

		right: 2rem;
		top:  1.5rem;

	}

}