.hidden {
	display: none;
}

span {
  width: 50%;
  display: inline-block;
}

span.align-left {
  left: 0%;
  text-align: left;
}

span.align-right {
  right: 0%;
  text-align: right;
}

span.align-left,
span.align-right {
	top: 50%;
  position: fixed;
}

a.prev, a.next {
  text-decoration: none !important;
	margin-top:-1.5em;
  text-decoration: none;
  display: inline-block;
  padding: 8px 16px;
	padding: 1em;
  font-size: 5em;
}

a.prev, a.next {
  background-color: rgba(241, 241, 241, .1);
  color: black;
}

a.prev:hover, a.next:hover {
  background-color: rgba(241, 241, 241, 1);
  color: black !important;
}
#slideshow-modal, #img-modal {
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 10000;
	top: 0;
	left: 0;
	cursor: zoom-out;
}

h2.media-heading {
	font-size: 26px;
}

.iterable > .card-body {
	max-height: 450px;
	min-height: 450px;
}

.img-select, .img-delete {
	position: absolute;
	top: 2px;
	right: 2px;
	z-index: 100;
	width: initial;
	opacity: .1;
	-webkit-transition: opacity 0.25s ease-in-out;
    -moz-transition: opacity 0.25s ease-in-out;
    transition: opacity 0.25s ease-in-out;
}
.img-select {
	top: 2px;
	left: 2px;
	display: table;
}
.img-select input[type=checkbox] + label {
	margin: 0;
}

.img-select:hover, .img-delete:hover {
	opacity: 1;
}

.iterable img {
	max-height:250px;
	max-width:100%;
	margin:auto;
}

div.img-caption {
	max-height: 161px;
	overflow-y: auto;
}

/*** custom checkboxes ***/

input[type=checkbox] { display:none; } /* to hide the checkbox itself */
input[type=checkbox] + label:before {
  font-family: 'Font Awesome 5 Free';
  display: inline-block;
  font-weight: 200;
}
input[type=checkbox] + label {
	margin-right: 10px;
}

input[type=checkbox] + label:before { content: "\f0c8"; } /* unchecked icon */
input[type=checkbox] + label:before { letter-spacing: 5px; } /* space between checkbox and label */

input[type=checkbox]:checked + label:before { content: "\f14a"; } /* checked icon */
input[type=checkbox]:checked + label:before { letter-spacing: 5px; } /* allow space for check mark */

.text-green {
  color: var(--bs-green);
}
.text-red {
  color: var(--bs-red);
}
