.xsd-photo-list {
	display: flex;
	flex-direction: row;
    margin-top: 8px;
	overflow-x: hidden;
	position: relative;
	
}
.xsd-to-left, .xsd-to-right {
	position: absolute;
	background: white;
	display: block;
	margin-top: -5rem;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	width: 2rem;
	height: 2rem;
	box-shadow: rgba(0,0,0,0.5) 0 0 8px;
	font-family: monospace;
	font-size: 2rem;
	font-weight: bolder;
	user-select: none;
}

.xsd-to-left { left:0;}
.xsd-to-right {right: 0;}

.xsd-photo-item {
    flex: none;
	display: flex;
    flex-direction: column;
    justify-content: center;
	align-items: center;
	cursor: pointer;
    background: #3d3941;
	transition: 0.3s;

	background: #4b4651;
    color: white;
	min-width: 120px;
	margin: 0 2px;
	
	height: 8rem;
	width: calc(20% - 4px);

	position: relative;
}


.xsd-photo-item:hover {
	background: #efb30d;
}

.xsd-photo-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.xsd-photo-item:after {
	display: block;
	content: '';
	left:0;
	right:0;
	bottom: 0;
	background: rgba(254, 192, 2, 0.5);
	position: absolute;
	transition: all 0.25s ease-in-out;
	top: 100%;
}
.xsd-photo-item:hover:after {
	top: 0;
}

.xsd-photo-item-title {
    height: 36px;
    line-height: 18px;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
	padding-top: 4px;
	border-top: #aea9b3 1px solid;
	color: #aea9b3;
	
}
.xsd-photo-item:hover .xsd-photo-item-title {
	color: #333;
}


.xsd-photo-main {
    height: 60vh;
    /* clear: both; */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #3d3941;
    position: relative;
	transition: 0.5s;
}
.xsd-photo-container.active .xsd-photo-main {
	position: fixed;
	left: 0;
	top: 0;
	height: 100vh;
	right: 0;
	z-index: 1000;
}
.xsd-photo-container.active .xsd-photo-main:after {
	position: absolute;
	right: 0.5rem;
	top: 0.5rem;
	content: 'X';
	background: white;
	width: 2rem;
	height: 2rem;
	border-radius: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.8rem;
	font-weight: bolder;
	font-family: monospace;
}


.xsd-photo-main img {
	max-width: 100%;
    max-height: 100%;
}
.xsd-photo-main-alt {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
	text-align: center;
    background: rgba(75, 70, 81, 0.7);
    padding: 4px;
    color: #c7c3cb;
}

.xsd-photo-container.active .xsd-to-left,
.xsd-photo-container.active .xsd-to-right {
	position: fixed;
	top: 50%;
	z-index: 1000;
}
.xsd-photo-container.active .xsd-to-left {
	left: 1rem;
}
.xsd-photo-container.active .xsd-to-right {
	right: 1rem
}

