/* CSS for the Gallery Slides */

/* -- FOR MOBILE ---------------------------------------*/
.loadingSymbol {
	/* Keeps the loading symbol centered.*/
	display: flex;
	align-items: center;
	justify-content: center;
}

.slideContainer {
	/* To display photos in a column */
	display: flex;
	flex-direction: column;
	/*border: solid red;*/
}

.slide-item {
	/* To center each image horizontally, especially portrait mode */
	display: block;
	margin: 0 auto;

	/* To keep content below the image */
	position: relative;
}

.img {
	/* To limit the image size from becoming too large on big screens */
	max-height: 70vh;
	display: block;
	margin: 0 auto;
	padding-top: 1em;
}

/* CONTENT STYLES */
.imgContent {
	/* To let text go full width of slide-item */
	width: 100%;

	/* Font Settings */
	font-size: 1.5vh;
	text-align: center;
	font-family: Helvetica Neue, Helvetica, Arial;

	/* Font Spacing */
	padding-top: 0.8em;
	padding-bottom: 0.8em;
}

.contentTitle {
	font-family: 'ZCOOL XiaoWei', serif;
	font-size: 2em;
}

.contentDescription {
	font-size: 1.2em;
	padding-top: 0.8em;
	padding-left: 1em;
	padding-right: 1em;
}

.photoSpecs {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}
/* END CONTENT STYLES */

/* -- END MOBILE  ------------------------------------------*/

/* -- Non-Mobile ------------------------------------ */
@media screen and (min-width: 900px) {
	.slideContainer {
		height: 100%;

		/* Now set images in row */
		display: flex;
		flex-direction: row;
		align-items: center;
	}

	.img {
		/* Remove unwanted mobile properties */
		max-width: unset;
		max-height: unset;
		padding-top: 0;
		box-shadow: 3px 2px 30px grey;
	}

	.slide-item {
		/* Remove unwanted mobile properties */
		display: unset;
		margin: unset;
	}

	.imgContent {
		/* To Center the content exactly in middle of screen */
		position: absolute;
		left: 50%;
		transform: translateX(-50%);

		font-size: 1vh;
	}

	.backgroundZoom {
		/* To fill the whole screen */
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		z-index: 5; /* To hide the nav bar*/

		/* Apply fade effect */
		background-color: rgba(255,255,255,0.8);

		/* To center the loading symbol or it's contents */
		display: flex;
		align-items: center;
		justify-content: center;
		box-shadow: 3px 2px 30px grey;
	}

	.imgZoom {
		/* To center the image of the viewport */
		position: absolute;
		height: 90%;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}

	.button {
		/*border: solid green;*/
		position: absolute;
		top: 0;
		height: 100%;
		z-index: 1;
	}

	.buttonLeft {
		left: 0;
		transform: scale(-1, 1);

		display: flex;
		align-items: center;
		/*background: lightgreen;*/
	}

	.buttonRight {
		right: 0;

		display: flex;
		align-items: center;
		/*background: lightblue;*/
	}

	.button:hover svg path {
		opacity: 0.8;
		stroke: black;
	}

	.button svg {
		/*border: blue solid;*/
		/*height: 100%;*/
	}

}

/* -- End Non-Mobile ------------------------------------*/

