
.gallery-outside {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.95);
	z-index: 99999;
	display: none;
	opacity: 0;
}

.gallery-close {
	width: 50px;
	height: 46px;
	background-color: #ec7e27;
	color: white;
	text-align: center;
	padding-top: 10px;
	font-size: 24px;
	cursor: pointer;
}

.gallery-containers {
	width: 100%;
	height: calc(100% - 80px - 46px);
	display: flex;
	flex-wrap: nowrap;
	overflow: hidden;
}

.gallery-container {
	flex-shrink: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
}
.gallery-container > h3 {
	font-size: 14px;
	color: white;
	text-align: center;
	padding: 24px 0;
	width: calc(100% - 64px);
	margin: auto;
}
.gallery-container > img {
	width: 100%;
	flex-grow: 1;
	object-fit: contain;
	background-color: black;
	height: 0;
}
.gallery-container > p {
	font-size: 12px;
	color: white;
	line-height: 24px;
	max-width: 1172px;
	width: calc(100% - 32px);
	max-width: 400px;
	padding: 24px 0;
	margin: auto;
}

.gallery-controller {
	display: flex;
}
.gallery-controller > .slider-left,
.gallery-controller > .slider-right {
	margin-top: 24px;
	position: relative;
	width: 24px;
	height: 24px;
	border-right: 6px solid white;
	border-top: 6px solid white;
	box-sizing: border-box;
}

.gallery-controller > .slider-left {
	left: calc(50% - 16px - 100px);
	transform: rotate(225deg);
	-webkit-transform: rotate(225deg);
	border-color: #222;
}
.gallery-controller > .slider-right {
	left: calc(50% - 16px + 100px);
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
}
.gallery-controller > .slider-left:hover {
	transform: rotate(225deg) scale(1.2);
	-webkit-transform: rotate(225deg) scale(1.2);
	cursor: pointer;
}
.gallery-controller > .slider-right:hover {
	transform: rotate(45deg) scale(1.2);
	-webkit-transform: rotate(45deg) scale(1.2);
	cursor: pointer;
}

@media (min-width: 1172px) {

	.gallery-container > h3 {
		font-size: 24px;
	}

	.gallery-container > p {
		font-size: 14px;
		line-height: 32px;
	}

}