/*****************************Photo Gallery*******************************/
.gallery {
	/*padding: 187px 20px 72px 20px;*/
	padding: 50px 0 72px 0;
	position: relative;
	margin-bottom: 70px;
	/*text-align: center;*/
}

.gallery::before {
	content: "";
	display: block;
	height: 100%;
	width: 100vw;
	position: absolute;
	left: calc(50% - 50vw);
	top: 0;
	background: #f4f0ed url("../img/pebbles_background.png");
	/*background-color: #f4f0ed;*/
	z-index: 0;
}

#page .gallery h2 {
	/*position: absolute;*/
	/*left: 50px;*/
	/*top: 0;*/
	/*transform: rotate(-90deg) translatex(-40%);*/
	/*transform-origin: left;*/

	font-family: "Butler", SansSerif;
	font-size: 65px;
	font-weight: 300;
	color: #A0AAB4;
	text-transform: capitalize;
	margin-bottom: 35px;
}
#page .gallery h2::before {content: none;}

/*.gallery .photos .image {*/
/*	width: 100%;*/
/*	height: 454px;*/
/*}*/

.photos_slider + .arrow_container {
	height: 50px;
	margin: 20px auto 0 auto;
	width: 210px;
	position: relative;
}

/*.gallery .photos .image:nth-of-type(3n) {height: 190px;}*/

/*.gallery .photos .image + .image {margin-top: 45px;}*/

.gallery > label {

	margin-top: 38px
}

.full_gallery {
	display: none;
	flex-direction: column;
	height: 100%;
	width: 100%;
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	background-color: rgba(1, 46, 69, 0.90);
	overflow: hidden;
	pointer-events: initial;
}

.full_gallery::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	height: 85px;
	width: 100%;
	background-color: rgba(0, 33, 65, 0.43);
	z-index: 1;
}

.full_gallery_visible .full_gallery,
.full_gallery.isVisible {
	display: flex;
}

.full_gallery .full_gallery_overlay {
	height: 100%;
	width: 100%;
	position: absolute;
	left: 0;
	top: 0;
}

.full_gallery .photos_all {
	width: 100%;
	height: 100%;
	/*margin-top: 100px;*/
}

.full_gallery .photos_all .image {
	width: 100%;
	height: 100vh;
	min-height: 300px;
	background-size: cover;
	position: relative;
	overflow: hidden;
	/*height: 500px;*/
	/*width: 500px;*/
}

.full_gallery .photos_all .image .inner_image {
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	height: 100%;
	width: 100%;
	position: absolute;
	left: 0;
	top: 0;
}

.full_gallery .dot_container {
	display: block;
	position: relative;
	left: 0;
	top: 0;
	transform: none;
	z-index: 1;
}

.full_gallery .closeBtn {
	height: 30px;
	width: 34px;
	position: absolute;
	top: auto;
	bottom: 25px;
	left: 50%;
	transform: translateX(-50%);
	cursor: pointer;
	z-index: 2;
}

.full_gallery .closeBtn::before,
.full_gallery .closeBtn::after {
	height: 2px;
	background-color: white;
	transition: background-color 0.3s ease;
}
.full_gallery .closeBtn:hover::before,
.full_gallery .closeBtn:hover::after {
	background-color: darkgoldenrod;
}


.full_gallery .arrow_container {
	display: flex;
	height: 85px;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 300px;
	max-width: 100%;
	transform: translateX(-50%);
	z-index: 1;
}

.full_gallery .arrow_container .prev-slide,
.full_gallery .arrow_container .next-slide,
.photos_slider + .arrow_container .prev-slide,
.photos_slider + .arrow_container .next-slide{
	height: 30px;
	width: 50px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	cursor: pointer;
	position: relative;
	transition: width 0.3s ease;
}

@media (min-width: 992px) {
	.full_gallery .arrow_container .prev-slide:hover ,
	.full_gallery .arrow_container .next-slide:hover,
	.photos_slider + .arrow_container .prev-slide:hover,
	.photos_slider + .arrow_container .next-slide:hover{
		width: 70px;
	}
}

.full_gallery .arrow_container .prev-slide::before,
.full_gallery .arrow_container .next-slide::before,
.photos_slider + .arrow_container .prev-slide::before,
.photos_slider + .arrow_container .next-slide::before{
	content: "";
	height: 1px;
	width: 100%;
	background-color: white;
	position: absolute;
	bottom: 35%;
}
.photos_slider + .arrow_container .prev-slide::before,
.photos_slider + .arrow_container .next-slide::before{background-color: #000102;}

.photos_slider + .arrow_container .prev-slide::before,
.full_gallery .arrow_container .prev-slide::before {left: 0;}
.photos_slider + .arrow_container .next-slide::before,
.full_gallery .arrow_container .next-slide::before {right: 0;}

.photos_slider + .arrow_container .prev-slide::before,
.photos_slider + .arrow_container .next-slide::before,
.photos_slider + .arrow_container .prev-slide::after,
.photos_slider + .arrow_container .next-slide::after,
.full_gallery .arrow_container .prev-slide::before,
.full_gallery .arrow_container .next-slide::before,
.full_gallery .arrow_container .prev-slide::after,
.full_gallery .arrow_container .next-slide::after{
	transition: background-color 0.3s ease, width 0.3s ease;
}

@media (min-width: 992px) {
	.photos_slider + .arrow_container .prev-slide:hover::before,
	.photos_slider + .arrow_container .next-slide:hover::before,
	.photos_slider + .arrow_container .prev-slide:hover::after,
	.photos_slider + .arrow_container .next-slide:hover::after,
	.full_gallery .arrow_container .prev-slide:hover::before,
	.full_gallery .arrow_container .next-slide:hover::before,
	.full_gallery .arrow_container .prev-slide:hover::after,
	.full_gallery .arrow_container .next-slide:hover::after{
		background-color: darkgoldenrod;
	}
}

.photos_slider + .arrow_container .prev-slide::after,
.photos_slider + .arrow_container .next-slide::after,
.full_gallery .arrow_container .prev-slide::after,
.full_gallery .arrow_container .next-slide::after {
	content: "";
	height: 10px;
	width: 1px;
	background-color: white;
	position: absolute;
	bottom: calc(35% + 1px);
}
.photos_slider + .arrow_container .prev-slide::after,
.photos_slider + .arrow_container .next-slide::after {background-color: #000102;}

.photos_slider + .arrow_container .prev-slide::after,
.full_gallery .arrow_container .prev-slide::after {
	left: 0;
	transform: rotate(35deg);
	transform-origin: bottom;
}
.photos_slider + .arrow_container .next-slide::after,
.full_gallery .arrow_container .next-slide::after {
	right: 0;
	transform: rotate(-35deg);
	transform-origin: bottom;
}

.photos_slider + .arrow_container .prev-slide,
.photos_slider + .arrow_container .next-slide,
.full_gallery .arrow_container .prev-slide,
.full_gallery .arrow_container .next-slide {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.photos_slider + .arrow_container .prev-slide,
.full_gallery .arrow_container .prev-slide {
	right: calc(100% - 50px);
}
.photos_slider + .arrow_container .next-slide,
.full_gallery .arrow_container .next-slide {
	left: calc(100% - 50px);
}

.paragraphs-item-images .photos .image::before {
	content: "";
	height: 100%;
	width: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background-color: rgba(8, 18, 33, 0.26);
	opacity: 0;
	transition: opacity 0.5s ease;
	pointer-events: none;
}
.paragraphs-item-images .photos .image span {
	display: flex;
	align-items: center;
	flex-direction: column;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	color: white;
	padding-top: 60px;
	opacity: 0;
	transition: opacity 0.5s ease;
	pointer-events: none;
}
.paragraphs-item-images .photos .image span::before {
	content: "";
	height: 70px;
	width: 2px;
	background-color: white;
	margin-bottom: 40px;
}
.paragraphs-item-images .photos .image span::after {
	content: "";
	width: 70px;
	height: 2px;
	background-color: white;
	position: absolute;
	left: 50%;
	top: 95px;
	transform: translateX(-50%);
}

.paragraphs-item-images .photos .image:hover::before,
.paragraphs-item-images .photos .image:hover span {opacity: 1;}

@media (min-width: 768px) {
	/*.gallery .photos .image {height: 350px;}*/
	/*.gallery .photos .image:nth-of-type(3n) {height: 350px;}*/
}

@media (min-width: 992px) {
	.paragraphs-item-images {
		margin-left: auto;
		margin-right: auto;
		max-width: 1920px;
		overflow: hidden;
	}

	.gallery {
		margin-bottom: 160px;
		padding: 55px 0 100px 0;
		text-align: initial;
	}

	#page .gallery h2 {
		font-size: 115px;
		font-weight: 200;
		margin-bottom: 70px;
	}

	.gallery label {
		white-space: nowrap;
		margin-left: calc( (4.5 * (100% - 210px) / 8 + 120px) + (3.5 * (100% - 210px) / 8 + 90px) / 2 );
		transform: translateY(130px) translateX(-50%);
	}

	/*.gallery .photos_slider .slick-slide .image{*/
	/*	opacity: 0;*/
	/*	transition: opacity 0.5s ease;*/
	/*}*/
	/*.gallery .photos_slider .slick-slide.slick-center .image {opacity: 1;}*/
}

/*******custom slider gallery *******/
.photos_slider {
	width: calc(100vw - 30px);
	height: 462px;
	position: relative;
	z-index: 0;
}
