html {
	min-height: 101%;
}

body {
	background-color: #f7f8fa; /* 808080 / eee */
	margin-bottom: 0px;
	/*margin: 20px;*/
}

#content {
	margin-left: 72px;
	margin-right: 72px;
	margin-bottom: 30px;
	width: 100%;
	min-height: 100vh;
}

.fixed-bottom {
	margin-right: 72px;
}

.lg-backdrop {
	background-color: #f7f8fa;
}
.lg-backdrop.in {
	opacity: 1;
}

.lg-outer .lg-img-wrap {
	padding: 20px;
}

.lg-toolbar {
	/*
	position: absolute;
	width: 52px;
	height: 100%;
	right: 0;
	left: auto;
	padding-top: 45px;
	*/
	background-color: #E0E0E0;
}

.lg-toolbar .lg-icon {
	color: #000;
}

.lg-actions .lg-next, .lg-actions .lg-prev {
	background-color: #E0E0E0;
	color: #000;
}

.img-fluid {
	width: 100%;
}

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
	padding: 8px;
}

.link {
	display: inline-block;
}

#photoShoots .link {
	width: 100%;
	height: 100%;
}

.figure-caption {
	padding: 7px 10px;
	text-align: center;
}

a:hover {
	font-weight: bold;
	text-decoration: none;
}

/*.nav-link, .navbar-text {*/
.navbar-text {
	padding: 0;
}

.nav-link {
	color: #6c757d !important;
	font-size: 90%;
}

a.nav-link:hover {
	font-weight: normal;
	color: #212121 !important;
}

.navbar {
	padding: 5px 0px;
}

/*
.img-fluid {
	margin: 5px; 
	border: 5px solid #666;
}
*/

/* cuts hochkant images */
/*
#photos {
	display: flex;
	flex-wrap: wrap;
}

#photos a.link {
	display: block;
	flex-grow: 1;
	margin: 5px;
	background-color: #ccc;
	height: 400px;
}

/* prevents that image on last row is resized to width of row 
#photos::after {
	content: '';
	flex-grow: 999999999;
}

#photos img {
	height: 400px;
	object-fit: cover;
	max-width: 100%;
	min-width: 100%;
	vertical-align: bottom;
}
*/

/* cuts quer images, less cutting because of auto height */
/* supports panorama, unknow if other variant does */
#photos {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.img-card, .lg-img-wrap > .lg-image {
	box-shadow: 0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);
	border: 8px solid #fff;
}

.img-card:hover {
	box-shadow: 0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);
}

#photos a.link {
	height: 100%;
	width: 100%;
}

#photos .file-box {
	height: inherit;
	max-width: 100%;
	flex-grow: 1;
	margin: 8px;
	/*margin: 5px;*/
	background-color: #eee;
}

#photos a.link:hover {
}

/* prevents that image on last row is resized to width of row */
/* TODO not on smartphone screen when just one photo per row */
#photos::after {
	content: '';
	flex-grow: 999999999;
}

#photos img {
	max-height: 450px;
	object-fit: cover; /* prevents shrinking (verzerrung) */
	opacity: 0;
	transition: opacity .3s ease-in;
}

#photos img.loaded {
	height: 100% !important;
	width: 100% !important;
}

.breadcrumb-item+.breadcrumb-item::before {
	padding-right: 0.9rem;
}

/* copied from bootstrap form-control */
.dropzone {
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

#photos .file-box {
	position: relative;
}

/* do not hide completly because otherwise the UX is bad on mobile devices */
#photos .file-box .overlay {
	position: absolute;
	bottom: 8px;
	right: 8px;
	width: 44px;
	height: 44px;
	opacity: 0.5;
	transition: opacity 500ms ease-in-out;
}

#photos .file-box:hover .overlay {
	opacity: 1;
}

#photos .file-box .form-control {
	width: 30px;
	height: 30px;
	bottom: 7px;
	right: 7px;
	position: absolute;
}

#photos .file-box.selected .img-card {
	/*border-color: #d4edda;*/ /* color of success alert */
	border-color: #A5D6A7; /* green-lighten-3 */
}

#photos .file-box.rejected .img-card {
	/*border-color: #f8d7da;*/ /* color of success alert */
	border-color: #EF9A9A; /* red-lighten-3 */
}

#photos .file-box.suggested .img-card {
	border-color: #90CAF9;
}

.mode {
	background-color: #212121;
	color: #fff !important;
	padding-right: .5rem;
	padding-left: .5rem;
	margin-left: .5rem;
	margin-right: .5rem;
}

.selection-count {
	margin-left: 0;
	background-color: #E0E0E0;
	color: #424242 !important;
}

.color-success {
	background-color: #d4edda;
}
