.btn .fa,
.btn .fas,
.btn .far,
.btn .fab
{
	margin-right: 6px;
}
.btn-primary
{
	/* background-color: #d32f2e; */
	/* border-color: #d32f2e; */
}

option[value="-1"]
{
	font-style: italic;
}

.badge-pill
{
	background: #d32f2e;
}

.badge-pill-intern
{
	background: #a4111c;
}

/* Layout */

.modal-body
{
	height: 100%;
}

.tag
{
  margin-top: 10px;
  margin-bottom: 3px;
  -webkit-box-sizing: border-box;
}

.container-fluid
{
	max-width: 1220px;
	padding-right: 30px !important;
	padding-left: 30px !important;
}
.content .container-fluid
{
	padding-right: 0 !important;
	padding-left: 0 !important;
}

/* Menü */

.navbar
{
	padding: 12px 0 14px 0;
}
.navbar-dark.bg-dark
{
	background-color: #d32f2e !important;
}
.navbar-brand
{
	margin-top: -6px;
}
.navbar-brand img
{
	width: 314px;
}

/* Inhaltsbereich */

#inner
{
	padding-bottom: 52px;
}

/* Seitenüberschrift */

.row-title
{
	margin: 0;
	padding-top: 52px;
	padding-bottom: 32px;
}
.row-title .col-sm-12
{
	padding-right: 0;
	padding-left: 0;
}
.row-title .bg-dark
{
	background: transparent !important;
	color: #d32f2e !important;
}

#buttons a.btn
{
	float: right;
	margin: 0 0 1em 1em;
}

/* Formulare */

.form
{
	padding-bottom: 6px;
	background-color: #f8f9fa;
}

.form-control[readonly]
{
	/* padding: 0; */
	/* background: transparent; */
	/* border: none; */
}

.form .form-row
{
	margin-top: 16px;
	margin-bottom: 12px;
	padding-right: 15px;
	padding-left: 15px;
}
.form .col-form-label
{
	padding-top: 12px;
	padding-bottom: 12px;
}
.form .col-form-label.bg-dark
{
	color: #fff;
	font-weight: bold;
}
.form .col-form-label .fa,
.form .col-form-label .fas,
.form .col-form-label .far,
.form .col-form-label .fab
{
	margin-right: 6px;
}
.form .col-form-label small
{
	margin-left: 6px;
}
.form .btn-group
{
	margin-top: 8px;
}
.form .btn-group select
{
	border-right: none;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
.form-edit .btn-group
{
	margin-top: 14px;
	margin-bottom: 8px;
}

.alert i.fa,
.alert i.fas,
.alert i.far,
.alert i.fab
{
	margin-right: 0.5em;
}

/* Suche */

.form-group-tagsinput
{
	display: -webkit-flex;
	display: flex;
}
.form-group-tagsinput .submit
{
	-webkit-flex: 0 0 auto;
	flex: 0 0 auto;
	overflow: hidden;
	width: 62px;
	min-height: 60px;
	background-color: transparent;
	background-image: url(../../images/layout/Search_Icon@2x.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 32px 32px;
	-webkit-appearance: none;
	border: none;
	border-left: solid 1px #fff;
	border-radius: 0;
	outline: none;
	text-indent: -99999px;
}
.form-group-tagsinput .submit:hover,
.form-group-tagsinput .submit:focus
{
	background-color: #d32f2e;
	background-image: url(../../images/layout/suche@2x.png);
}
.bootstrap-tagsinput
{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-align-items: center;
	align-items: center;

	max-width: 100%;
	max-width: calc(100% - 62px);

	padding: 0.375rem 0.625rem; /* 6/16 10/16 */
	background: #e4e4e4;
	border: none;
	border-radius: 0;
	box-shadow: none;
	color: #555;
	vertical-align: middle;
	/* line-height: 22px; */
	cursor: text;
}
.bootstrap-tagsinput.focus
{
	background: #dcdcdc;
}
.bootstrap-tagsinput .twitter-typeahead
{
	width: auto;
	max-width: 100%;

	-webkit-flex-grow: 1;
	flex-grow: 1;
}
.bootstrap-tagsinput input
{
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0.375rem 0.625rem; /* 6/16 10/16 */
	background-color: transparent;
	border: none;
	outline: none;
	box-shadow: none;
	vertical-align: middle !important;
}

/* Suche > Tags */

.bootstrap-tagsinput .badge
{
	min-width: 1%; /* workaround for word-wrap (https://stackoverflow.com/questions/36150458/flex-item-overflows-container-due-to-long-word-even-after-using-word-wrap) */
	margin: 1px;
	padding: 0.375rem 0.625rem; /* 6/16 10/16 */
	background: #d32f2e;
	border: none;
	border-radius: 0;
	font-size: 1rem; /* 16/16 */
	line-height: normal;
	text-align: left;

	white-space: normal;
	word-wrap: break-word;
}
.bootstrap-tagsinput .badge [data-role="remove"]
{
}
.bootstrap-tagsinput .badge [data-role="remove"]:after,
.bootstrap-tagsinput .badge [data-role="remove"]::after
{
	padding: 0 0.375rem; /* 0 6/16 */
	font-size: 1rem; /* 16/16 */
}

/* Suche > Autovervollständigung */

span.twitter-typeahead .tt-menu,
span.twitter-typeahead .tt-dropdown-menu
{
	margin-top: 0;
	padding-top: 0.5rem; /* 8/16 */
	padding-bottom: 0.5rem; /* 8/16 */
	border: none;
	border-radius: 0;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
span.twitter-typeahead .tt-suggestion
{
	padding-right: 0.625rem; /* 10/16 */
	padding-left: 0.625rem; /* 10/16 */
}
span.twitter-typeahead .tt-suggestion.tt-cursor,
span.twitter-typeahead .tt-suggestion:hover,
span.twitter-typeahead .tt-suggestion:focus
{
	background-color: #d32f2e;
	cursor: pointer;
}

/* Tabellen */

table,
.table
{
	margin: 1.5rem 0 1.75rem 0; /* 24/16 0 28/16 0 */
}
.table .thead-dark td,
.table .thead-dark th
{
	background-color: #343a40;
}
.table-hover :not(thead) tr:hover td,
.table-hover :not(thead) tr:hover th
{
	background-color: #f8f9fa;
}
.table .status
{
	font-weight: bold;
}
.table .status .fa,
.table .status .fas,
.table .status .far,
.table .status .fab
{
	margin-right: 6px;
}

/* Tabellen > Liste Aufschlagseite */

.media-overview
{
	display: block;
	margin: 0;
}
.media-overview tbody
{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	margin: 0 -0.9375rem; /* 0 -15/16 */
}
.media-overview tr
{
	-webkit-flex: 0 0 25%; /* 100/4 */
	flex: 0 0 25%; /* 100/4 */
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;

	padding: 0 0.9375rem 1.875rem 0.9375rem; /* 0 15/16 30/16 15/16 */
	background: transparent !important;
}
.media-overview td
{
	/* -webkit-flex: 1 1 100%; */
	/* flex: 1 1 100%; */

	display: block;
	margin: 0;
	padding: 0;
	background: #f2f2f2;
	text-align: center;
}
.media-overview .fakelink
{

}
.media-overview a
{
	position: relative;
	display: block;
	padding: 0.625rem; /* 10/16 */
	color: #4b4f55;
	outline: none;
}
.media-overview a:hover,
.media-overview a:focus
{
	background: #e4e4e4;
	color: #4b4f55;
	text-decoration: none;
}
.media-overview .img-thumbnail
{
	position: relative;
	width: auto !important;
	margin: 0 !important;
	border: none;
	border-radius: 0;
	cursor: pointer;
}
.media-overview .img-thumbnail .filetype
{
	position: absolute;
	left: 50%;
	top: 50%;
	transform: -webkit-translate(-50%, -50%);
	transform: -ms-translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: auto;
	height: auto;
	margin-top: -0.375rem; /* -6/16 */
}
.media-overview .tag-wrapper
{
	-webkit-transform: translate(0, -50%);
	-ms-transform: translate(0, -50%);
	transform: translate(0, -50%);
	margin: 0 1.25rem; /* 0 20/16 */
}
.media-overview .badge-pill
{
	position: relative;
	display: inline-block;
	margin: 0;
	padding: 0.375em 1.0625em 0.4375em 1em !important; /* 6/16 17/16 7/16 16/16 */
	font-weight: bold;
	line-height: 1.3;
	cursor: pointer;
}
.media-overview a:hover .badge-pill,
.media-overview a:focus .badge-pill
{
	background: #000;
}
.media-overview .media-counter
{
	margin-top: -0.6667em; /* -10/15 */
	padding-top: 0.6667em; /* 10/15 */
	padding-bottom: 1.6em; /* 24/15 */
	font-size: 0.9375rem; /* 15/16 */
}

/* Medienliste */

.row.prepender
{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	margin: 0 -0.9375rem; /* 0 -15/16 */
	margin-top: 3rem; /* 48/16 */
	margin-bottom: 3rem; /* 48/16 */
}
.row.prepender .thumb
{
	-webkit-flex: 0 0 25%; /* 100/4 */
	flex: 0 0 25%; /* 100/4 */

	margin: 0;
	padding: 0 15px 30px 15px;
}
.row.prepender .thumbnail
{
	position: relative;
	display: block;
}
.row.prepender .img-thumbnail,
.row.prepender .filename
{
	width: auto !important;
	border: none !important;
	border-radius: 0 !important;
}
.row.prepender .img-thumbnail
{
	position: relative;
}
.row.prepender .thumb .img-thumbnail:before,
.row.prepender .thumb .img-thumbnail::before
{
	content: '';
	position: absolute;
	/* z-index: 1; */
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(100, 100, 100, 0.2); /* #e4e4e4 */
}
.row.prepender .filetype
{
	position: absolute;
	/* z-index: 2; */
	left: 50%;
	top: 50%;
	transform: -webkit-translate(-50%, -50%);
	transform: -ms-translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: auto;
	height: auto;
	margin-top: -0.625rem; /* -10/16 */
}
.row.prepender .filename
{
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
}

/** Radschnellwege **/

.comment-overlay {
	width: calc(100% - 50%);
	height: calc(100% - 50%);
	position: relative;
	left: calc(100% - 75%);
	top: 25%;
}

.comment-overlay-content {
	font-size: 1.075rem;
}

.btn-close {
	margin-left: -100px;
}

td.survey.color-gray{
	background: #F2F2F2;
}

td.survey.color-red{
	background: rgba(231, 76, 60, 0.1);
}

td.survey.color-orange{
	background: rgba(230, 126, 34, 0.1);
}

td.survey.color-yellow{
	background: rgba(253, 169, 0, 0.1);
}

td.survey.color-green{
	background: rgba(56, 193, 113, 0.1);
}

td.survey.color-cyan{
	background: rgba(53, 174, 171, 0.1);
}

td.survey.color-lightblue{
	background: rgba(52, 152, 219, 0.1);
}

td.survey.color-darkblue{
	background: rgba(56, 104, 170, 0.1);
}

td.survey.color-purple{
	background: rgba(142, 68, 173, 0.1);
}

td.survey.color-magenta{
	background: rgba(225, 38, 123, 0.1);
}

.fancybox-slide--iframe .fancybox-content {
    width  : 1000px;
    height : 1000px;
    max-width  : 80%;
    max-height : 80%;
    margin: 0;
}

.filetype
{
	color: white;
	position: relative;
	left: 20%;
	top: 18px;
	width: 100px;
	padding: 0;
	margin: 0;
	text-align: center;
	font-size: 600%;
}

.h_iframe iframe {
    width:100%;
    height:500px;
}
.h_iframe {
    height:500px;
    width:100%;
}

.badge-pill.fakelink
{
	display: inline-block;
	margin: 8px 6px 0 0 !important;
	padding: 4px 12px 5px 12px !important;
	font-size: 14px;
	cursor: pointer;
}
button.badge
{
	border: none;
	-webkit-appearance: button;
}
.badge:hover,
.badge:focus
{
	background: #000;
}

.thumbnail
{
	text-decoration: none !important;
}
.filename
{
	opacity: 1;
	padding: 0.375em 1em; /* 6/16 16/16 */
	background: rgba(52, 58, 64, 0.8); /* #343a40 */
	background: rgba(0, 0, 0, 0.5); /* #000 */
	color: #fff;
	font-size: 1rem; /* 16/16 */
	text-overflow: ellipsis;
}

/* Overlays/Modals */

.modal-content
{
	border: none;
	border-radius: 0;
}
.modal-header,
.modal-body,
.modal-footer
{
	padding-right: 0.9375rem; /* 15/16 */
	padding-left: 0.9375rem; /* 15/16 */
}
.modal-header,
.modal-footer
{
	border-color: #e4e4e4;
}
.modal-body
{
	padding-top: 1.875rem; /* 30/16 */
	padding-bottom: 1.875rem; /* 30/16 */
}
.modal-title
{
	overflow: hidden;
	margin: 0;
	padding: 0 0 0 0.9375rem; /* 0 0 0 15/16 */
	line-height: 1.6667; /* 30/18 */
	white-space: nowrap;
	text-overflow: ellipsis;
}
.modal-header .close
{
	margin: -1rem -0.9375rem -1rem auto; /* -16/16 -15/16 -16/16 auto */
	padding-right: 1.875rem; /* 30/16 */
	padding-left: 1.875rem; /* 30/16 */
	font-size: 1.75rem; /* 28/16 */
}
.modal-header .close:not(:disabled):not(.disabled)
{
	opacity: 1;
	color: #000;
}
.modal-header .close:not(:disabled):not(.disabled):hover,
.modal-header .close:not(:disabled):not(.disabled):focus
{
	opacity: 1;
	color: #d32f2e;
}

.modal-body hr
{
	margin-right: -0.9375rem; /* -15/16 */
	margin-left: -0.9375rem; /* -15/16 */
	border-color: #e4e4e4;
}
#filesize,
#dimensions
{
	display: inline-block;
	margin-left: 0.9375rem; /* 15/16 */
	color: #4b4f55;
}

.modal-body .form-control
{
	background: #f2f2f2;
	border-color: #e4e4e4;
	border-radius: 0;
}
.modal-body .form-control:disabled,
.modal-body .form-control[readonly]
{
	border-color: #f2f2f2;
}
#download
{
	width: 100%;
	margin-top: 0.7em; /* 14/20 */
	margin-right: 0;
	padding-top: 0.5em; /* 10/20 */
	padding-right: 0.6em; /* 12/20 */
	padding-bottom: 0.5em; /* 10/20 */
	border: none;
	border-radius: 0;
	background: #d32f2e;

	font-weight: bold;
	font-size: 1.25rem; /* 20/16 */
}
#download:hover,
#download:focus
{
	background: #000;
}
#download:after,
#download::after
{
	display: none;
}

.modal-footer
{
	min-height: 4.375rem; /* 70/16 */
	padding-right: 1.875rem; /* 30/16 */
	padding-left: 1.875rem; /* 30/16 */
}
.modal-footer .btn
{
	border: none;
	border-radius: 0;
}
.modal-footer .btn .fa:last-child,
.modal-footer .btn .fas:last-child,
.modal-footer .btn .far:last-child,
.modal-footer .btn .fab:last-child
{
	margin-right: 0;
}
#show-previous-image,
#show-next-image
{
	padding-right: 0.9375em; /* 15/16 */
	padding-left: 0.9375em; /* 15/16 */
	background: #000;
}
#show-previous-image:hover,
#show-previous-image:focus,
#show-next-image:hover,
#show-next-image:focus
{
	background: #d32f2e;
}
.btn.hidden + #show-next-image
{
	margin-left: 0;
}

.eye-white
{
	color: white !important;
}

/* Breakpoints */

@media (max-width: 920px)
{
	/* Tabellen > Liste Aufschlagseite */

	.media-overview tr
	{
		-webkit-flex: 0 0 33.3333333333%; /* 100/3 */
		flex: 0 0 33.3333333333%; /* 100/3 */
	}

	/* Medienliste */

	.row.prepender .thumb
	{
		-webkit-flex: 0 0 33.3333333333%; /* 100/3 */
		flex: 0 0 33.3333333333%; /* 100/3 */
	}
}
@media (max-width: 784px)
{
	/* Suche */

	.form-group-tagsinput .submit
	{
		width: 47px;
		min-height: 45px;
		background-size: 24px 24px;
	}
	.bootstrap-tagsinput /* suche im inhalt sollte schon/erst von hier an padding: 6px 16px und font-size: 16px; haben! */
	{
		max-width: calc(100% - 45px);
		padding-right: 0.5rem; /* 8/16 */
		padding-left: 0.5rem; /* 8/16 */
	}
	.bootstrap-tagsinput input
	{
		padding-right: 0.5rem; /* 8/16 */
		padding-left: 0.5rem; /* 8/16 */
	}

	/* Suche > Tags */

	.bootstrap-tagsinput .badge
	{
		padding-right: 0.5rem; /* 8/16 */
		padding-left: 0.5rem; /* 8/16 */
	}

	/* Suche > Autovervollständigung */

	span.twitter-typeahead .tt-suggestion
	{
		padding-right: 0.5rem; /* 8/16 */
		padding-left: 0.5rem; /* 8/16 */
	}

	/* Tabellen > Liste Aufschlagseite */

	.media-overview tr
	{
		-webkit-flex: 0 0 50%; /* 100/2 */
		flex: 0 0 50%; /* 100/2 */
	}

	/* Medienliste */

	.row.prepender .thumb
	{
		-webkit-flex: 0 0 50%; /* 100/2 */
		flex: 0 0 50%; /* 100/2 */
	}
}
@media (max-width: 592px)
{
	/* Suche */

	.bootstrap-tagsinput input
	{
		font-size: 0.875rem; /* 14/16 */
	}

	/* Suche > Tags */

	.bootstrap-tagsinput .badge
	{
		font-size: 0.875rem; /* 14/16 */
	}

	/* Overlays/Modals */

	.modal-body label,
	.modal-body .form-control
	{
		font-size: 0.875rem; /* 14/16 */
	}
	#download
	{
		font-size: 1.125rem; /* 18/16 */
	}
}
@media (max-width: 420px)
{
	/* Tabellen > Liste Aufschlagseite */

	.media-overview tr
	{
		-webkit-flex: 0 0 100%; /* 100/1 */
		flex: 0 0 100%; /* 100/1 */
	}

	/* Medienliste */

	.row.prepender .thumb
	{
		-webkit-flex: 0 0 100%; /* 100/1 */
		flex: 0 0 100%; /* 100/1 */
	}

	/* Overlays/Modals */

	#filesize,
	#dimensions
	{
		display: block;
		margin-top: 0.5em !important; /* 8/16 */
		margin-bottom: 0.5em; /* 8/16 */
		text-align: left !important;
	}
	#filesize
	{
		margin-top: 1em !important; /* 16/16 */
	}
}
