.navbar-dark .navbar-nav .show > .nav-link, .navbar-dark .navbar-nav .nav-link.active {
    color: #212529;
}
.card {
	margin: .25em;
}
.tag-body>.card {
	border: none;
	margin-right: 0;
}
.modal .form-control,
.card .form-control {
    color: #212529;
	background-color: #fff;
}
.hidden {
	display: none;
}

.span-nav {
  width: 50%;
  display: inline-block;
}
span.alias-bracket {
	width: initial;
	font-size: 1.9rem;
	vertical-align: sub;
}
span.alias-bracket.bracket-close {
	margin-left: -1rem;
	margin-right: 1rem;
}

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;
}

div.chip {
	/*
    display: flex;
    justify-content: space-between;
	*/
    align-items: center;
    height: 32px;
    padding: 5.5 12px;
    margin-right: 1rem;
    font-size: 13px;
    font-weight: 400;
    color: #4f4f4f;
    cursor: pointer;
    background-color: #eceff1;
    border-radius: 16px;
    transition: opacity .3s linear;
    word-wrap: break-word;
    text-transform: none;
    margin-top: 5px;
    margin-bottom: 5px;
}
div.chip i {
    margin-left: 0.3rem;
}

.iterable > .card-body {
	max-height: 450px;
	min-height: 450px;
}
#tags-modal img {
	max-height: 350px;
	max-width: 100%;
}
.starter-template .thumbnail img {
	/*max-height: 226px;*/
	max-height: 100%;
	max-width: 100%;
}
#tags-modal div.tags {
	min-height: 313px;
}

.img-select, .img-tags, .img-delete {
	position: absolute;
	top: 2px;
	right: 2px;
	z-index: 100;
	width: initial;
	opacity: .3;
	-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-tags {
	top: 2px;
	right: 50px;
	display: table;
}

.img-select:hover, .img-tags: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;
}

div.align-top-center {
	top: 0;
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	opacity: .2;
}
div.align-top-center:hover {
	opacity: 1;
}

/*** 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 */


.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front {
	z-index: 20000;
}
.chip.btn a{
	color: #4f4f4f;
	text-decoration: none;
}
.ml-1 {
	margin-left: .5rem;
}
.form-control:focus {
	border-color: #563d7c;
	box-shadow: 0 0 0 0.25rem rgb(86 61 124 / 25%);
}
.form-control.text-white:focus {
	border-color: #fff;
	box-shadow: 0 0 0 0.25rem rgb(255 255 255 / 25%);
}
.body-bg {
	background-color: #1e1e2f !important;
}
.ml-1.body-bg {
	margin-left: 0;
	padding-left: .5rem;
}
