/* Variables */
:root {
	/* #0f0 / rgba(0, 255, 0, 0.8); - grün (produktiv) */
	/* #f00 / rgba(255, 0, 0, 0.8); - rot (test) */
	--border-color: rgba(255, 0, 0, 0.8);
	/* Nightwing: 	#424242; */
	/* Bauwagen: 	#aa4242; */
	/* Reigen: 		#6297BA; */
	--background-color: #424242;
}

/* Layout - Scrollbar invisible */
html,
body {
    min-height:100vh;
    font: 0.95em Ubuntu,Arial,sans-serif;
    scrollbar-width: none;
    -ms-overflow-style: none;
	-webkit-scrollbar: none;
}

#top.lw #container {
    max-width: 1140px;
}

#container::before,
#container::after {
    content: " ";
    display: table;
}

/* Add background */
body#top:not(.popup) {
    background: #132330 -webkit-radial-gradient(#234058,#0f1c26) !important;
    background: #132330 radial-gradient(#234058,#0f1c26) !important;
}

/* No background in modal window */
body.popup,
.popup #container,
.popup #main,
.content,
.popup {
	background: #fff !important;
}

/* Login */
#background.login {
    min-height:100vh;
	margin: -15em auto;
	background: #132330 -webkit-radial-gradient(#234058,#0f1c26) !important;
    background: #132330 radial-gradient(#234058,#0f1c26) !important;
}

.tl_login_form {
	margin: 25em auto;
	background: url(../../../system/themes/flexible/icons/contao.svg) top 1em center no-repeat;
	background-size: 64px;
	-webkit-box-shadow: inset 0.5em 0.5em 0em 0em var(--border-color);
	-moz-box-shadow: inset 0.5em 0.5em 0em 0em var(--border-color);
	box-shadow: inset 0.5em 0.5em 0em 0em var(--border-color);
}

.submit_container a {
    color: #444;
    font-weight: 600;
    -webkit-transition: color 1s ease-out;
    -moz-transition: color 1s ease-out;
    -o-transition: color 1s ease-out;
    transition: color 1s ease-out;
}

.submit_container a:hover,
.submit_container a:active {
    color: #e14f4f;
    -webkit-transition: color 500ms ease-in-out;
    -moz-transition: color 500ms ease-in-out;
    -o-transition: color 500ms ease-in-out;
    transition: color 500ms ease-in-out;
}

/* Badge */
.badge-title {
	margin: -0.2em 2em;
	background: var(--border-color);
	color: #fff;
	font-size: larger;
	font-weight: bold;
}

/* Header */
#top {
    background: #132330 -webkit-radial-gradient(#234058,#0f1c26) !important;
    background: #132330 radial-gradient(#234058,#0f1c26) !important;
}

body:not(.fullscreen) #header .inner {
    max-width: 1440px;
}

#header {
    position: -webkit-sticky;
    position: sticky;
    z-index: 10;
	top: 0;
	left: 0;
	right: 0;
}

#header h1 {
    position: static;
}

#header .inner {
	background-color: #172B3B;
	display: flex;
	justify-content: space-between;
}

#header h1 a .app-title {
	float: left;
}

#header h1 a {
	height: 20px;
    background-color: #172b3b;
    font-weight: bold;
    -webkit-transition: color 1s ease-out;
    -moz-transition: color 1s ease-out;
    -o-transition: color 1s ease-out;
    transition: color 1s ease-out;
}

#header h1 a:hover {
    background-color: #314c62;
    color: #e14f4f;
    -webkit-transition: color 500ms ease-in-out;
    -moz-transition: color 500ms ease-in-out;
    -o-transition: color 500ms ease-in-out;
    transition: color 500ms ease-in-out;
}

/* Navigation */
#tl_navigation ul {
    position: -webkit-sticky;
    position: sticky;
	top: 0;
    max-height: 100vh;
}

#tl_navigation .menu_level_0 > li > a {
	font-size: 0.95em;
	font-weight: bold;
}

#tl_navigation .menu_level_0 a {
    color: #d3d5d7;
    background-color: transparent;
    -webkit-transition: color 1s ease-out;
    -moz-transition: color 1s ease-out;
    -o-transition: color 1s ease-out;
    transition: color 1s ease-out;
}

#tl_navigation .menu_level_0 li {
    background-color: transparent;
    border-left-color: transparent;
    -webkit-transition: color 1s ease-out;
    -moz-transition: color 1s ease-out;
    -o-transition: color 1s ease-out;
    transition: color 1s ease-out;
}

#tl_navigation .menu_level_0 li a:active {
    background-color: #172b3b;
    border-left-color: #f47c00;
    -webkit-transition: color 500ms ease-in-out;
    -moz-transition: color 500ms ease-in-out;
    -o-transition: color 500ms ease-in-out;
    transition: color 500ms ease-in-out;
}

#tl_navigation .menu_level_0 li a:hover {
    background-color: #172b3b;
    border-left-color: #f47c00;
    color: #e14f4f;
    -webkit-transition: color 500ms ease-in-out;
    -moz-transition: color 500ms ease-in-out;
    -o-transition: color 500ms ease-in-out;
    transition: color 500ms ease-in-out;
}

/* Icons Sidemenü */
#tl_navigation .group-content {
	background: url(../../layout/svg_icons/edit_grey.svg) center left no-repeat;
	background-size: 18px;
}

#tl_navigation .group-design {
	background: url(../../layout/svg_icons/layout_grey.svg) center left no-repeat;
	background-size: 18px;
}

#tl_navigation .group-accounts {
	background: url(../../layout/svg_icons/profile_grey.svg) center left no-repeat;
	background-size: 18px;
}

#tl_navigation .group-system {
	background: url(../../layout/svg_icons/settings_grey.svg) center left no-repeat;
	background-size: 18px;
}

#tl_navigation .group-leaflet {
	background: url(../../layout/svg_icons/map_grey.svg) center left no-repeat;
	background-size: 18px;
}

#tl_navigation .group-email {
	background: url(../../layout/svg_icons/mail_grey.svg) center left no-repeat;
	background-size: 18px;
}

/* Version */
#left .version {
	position: sticky;
    position: -webkit-sticky;
	bottom: 0;
	font-size: larger;
	font-weight: bold;
	text-align: center;
}

/* Color border box main */
#top #main {
    box-sizing: border-box;
	-webkit-box-shadow: inset 0.5em 0.5em 0em 0em var(--border-color);
	-moz-box-shadow: inset 0.5em 0.5em 0em 0em var(--border-color);
	box-shadow: inset 0.5em 0.5em 0em 0em var(--border-color);
}

/* Header menu */
#tmenu,
#custom_menu {
    text-align: initial;
    display: flex;
    -webkit-transition: color 1s ease-out;
    -moz-transition: color 1s ease-out;
    -o-transition: color 1s ease-out;
    transition: color 1s ease-out;
}

#tmenu li,
#custom_menu li {
    display: block;
    -webkit-transition: color 1s ease-out;
    -moz-transition: color 1s ease-out;
    -o-transition: color 1s ease-out;
    transition: color 1s ease-out;
}

#tmenu li.submenu {
    display: flex;
    order: 0;
}

#tmenu a,
#custom_menu a {
    margin: 0;
    padding: 0 10px;
    display: block;
    width: auto;
    line-height: 44px;
    color: #D3D5D7;
    -webkit-transition: color 1s ease-out;
    -moz-transition: color 1s ease-out;
    -o-transition: color 1s ease-out;
    transition: color 1s ease-out;
}

#tmenu a[class^="icon-"],
#custom_menu a[class^="icon-"],
#tmenu ul.menu_level_1 li a[class^="icon-"] {
    margin: 0;
    width: auto;
    text-indent: 0;
    padding-left: 2.5em;
    background-position: 10px center;
    background-size: 20px;
    background-repeat: no-repeat;
}

#custom_menu a.icon-db_bkp {
    background: url(../../layout/svg_icons/database_white.svg) left 10px center no-repeat;
    background-size: 20px;
}

#custom_menu a.icon-ftp_bkp {
    background: url(../../layout/svg_icons/server_white.svg) left 10px center no-repeat;
    background-size: 20px;
}

#tmenu a.icon-preview {
    background: url(../../layout/svg_icons/eye_white.svg) left 10px center no-repeat;
    background-size: 20px;
}

#tmenu a.icon-profile {
    background: url(../../../system/themes/flexible/icons/profile.svg) left 10px center no-repeat;
    background-size: 20px;
}

#tmenu a.icon-security {
    background: url(../../layout/svg_icons/shield_white.svg) left 10px center no-repeat;
    background-size: 20px;
}

#tmenu a.icon-logout {
    background: url(../../layout/svg_icons/log-out_white.svg) left 10px center no-repeat;
    background-size: 20px;
}

#tmenu a.icon-alert {
    background: url(../../layout/svg_icons/bell_white.svg) left 10px center no-repeat;
    background-size: 20px;
}
#tmenu a.icon-debug {
    background: url(../../layout/svg_icons/debug_white.svg) left 10px center no-repeat;
    background-size: 20px;
}

#tmenu a.icon-tracking {
    background: url(../../layout/svg_icons/trending-up_white.svg) left 10px center no-repeat;
    background-size: 20px;
}

#tmenu a:hover,
#tmenu a:active,
#custom_menu a:hover,
#custom_menu a:active,
#tmenu ul.menu_level_1 li a:hover,
#tmenu ul.menu_level_1 li a:active,
#tmenu .burger button:hover,
#tmenu .burger button:active {
    color: #e14f4f;
    background-color: #314c62;
    opacity: 1 !important;
    -webkit-transition: color 500ms ease-in-out;
    -moz-transition: color 500ms ease-in-out;
    -o-transition: color 500ms ease-in-out;
    transition: color 500ms ease-in-out;
}

#tmenu .profile button {
    font-weight: bold;
    color: #e14f4f;
    padding: 0 10px;
    background-image: none;
    line-height: 40px;
    display: block;
    cursor: default;
    opacity: 0.9;
    -webkit-transition: color 1s ease-out;
    -moz-transition: color 1s ease-out;
    -o-transition: color 1s ease-out;
    transition: color 1s ease-out;
}

#tmenu li:hover .profile button,
#tmenu .active .profile button,
#custom_menu li:hover .profile button,
#custom_menu .active .profile button {
    background-color: transparent;
    -webkit-transition: color 500ms ease-in-out;
    -moz-transition: color 500ms ease-in-out;
    -o-transition: color 500ms ease-in-out;
    transition: color 500ms ease-in-out;
}

#tmenu ul.menu_level_1 {
    min-width: 0;
    position: static;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex;
    -webkit-transition: color 1s ease-out;
    -moz-transition: color 1s ease-out;
    -o-transition: color 1s ease-out;
    transition: color 1s ease-out;
}

#tmenu ul.menu_level_1::before,
#tmenu ul.menu_level_1::after {
    display: none;
}

#tmenu ul.menu_level_1 .info {
    display: none;
}

#tmenu ul.menu_level_1 li a {
    padding: 0 10px;
    color: #eee;
    -webkit-transition: color 1s ease-out;
    -moz-transition: color 1s ease-out;
    -o-transition: color 1s ease-out;
    transition: color 1s ease-out;
}

#tmenu sup {
    position: absolute;
    left: 5.25em;
    z-index: 1;
    font-size: 1.25em;
    text-indent: 0.1em;
    color: #e14f4f;
    font-weight: bold;
    top: 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

/* Buttons - Make Submit form sticky */
.tl_formbody_submit{
	bottom: 0;
	margin-top: -1px;
	z-index: 100;
    position: -webkit-sticky;
    position: sticky;
}

/* Move sticky when in debug-mode */
.debug_mode .tl_formbody_submit{
	bottom: 30px;
}

.tl_formbody_submit .tl_submit_container {
    -webkit-transition: color 1s ease-out;
    -moz-transition: color 1s ease-out;
    -o-transition: color 1s ease-out;
    transition: color 1s ease-out;
}

.tl_submit,
.split-button ul .tl_submit,
.tl_formbody_submit .tl_submit {
    font-weight: bolder;
	height: auto;
	border:.15em solid #ccc;
    border-radius:.25em;
    -webkit-transition: color 1s ease-out;
    -moz-transition: color 1s ease-out;
    -o-transition: color 1s ease-out;
    transition: color 1s ease-out;
    -moz-box-shadow: inset 0.25em 0.25em 0.5em #efefef;
    -webkit-box-shadow: inset 0.25em 0.25em 0.5em #efefef;
    box-shadow: inset 0.25em 0.25em 0.5em #efefef;
}

.tl_submit:hover,
.split-button ul .tl_submit:hover,
.tl_formbody_submit .tl_submit:hover {
    color:#f60;
	border:.15em solid #CF9B9B;
    border-radius:.25em;
    -webkit-transition: color 500ms ease-in-out;
    -moz-transition: color 500ms ease-in-out;
    -o-transition: color 500ms ease-in-out;
    transition: color 500ms ease-in-out;
}

.tl_submit:active,
.split-button ul .tl_submit:active,
.tl_formbody_submit .tl_submit:active {
    color:#f60;
	background-color:#d6d6d6;
    border:.15em solid #CF9B9B;
    border-radius:.25em;
    -webkit-transition: color 500ms ease-in-out;
    -moz-transition: color 500ms ease-in-out;
    -o-transition: color 500ms ease-in-out;
    transition: color 500ms ease-in-out;
}

/* Buttons simple modal */
.simple-modal .simple-modal-footer a.btn,
.simple-modal .simple-modal-footer a.btn primary {
    font-weight: bolder;
	border:.15em solid #ccc;
    border-radius:.25em;
    -webkit-transition: color 1s ease-out;
    -moz-transition: color 1s ease-out;
    -o-transition: color 1s ease-out;
    transition: color 1s ease-out;
    -moz-box-shadow: inset 0.25em 0.25em 0.5em #efefef;
    -webkit-box-shadow: inset 0.25em 0.25em 0.5em #efefef;
    box-shadow: inset 0.25em 0.25em 0.5em #efefef;
}

.simple-modal .simple-modal-footer a.btn:hover,
.simple-modal .simple-modal-footer a.btn primary:hover {
    color:#f60;
	border:.15em solid #CF9B9B;
    border-radius:.25em;
    -webkit-transition: color 500ms ease-in-out;
    -moz-transition: color 500ms ease-in-out;
    -o-transition: color 500ms ease-in-out;
    transition: color 500ms ease-in-out;
}

.simple-modal .simple-modal-footer a.btn:active,
.simple-modal .simple-modal-footer a.btn primary:active {
    color:#f60;
	background-color:#d6d6d6;
    border:.15em solid #CF9B9B;
    border-radius:.25em;
    -webkit-transition: color 500ms ease-in-out;
    -moz-transition: color 500ms ease-in-out;
    -o-transition: color 500ms ease-in-out;
    transition: color 500ms ease-in-out;
}

/* Filter */
.tl_panel {
    padding: 10px 10px 0;
    text-align: left;
    display: flex;
}

.tl_subpanel {
    display: flex;
    flex-grow: 1;
    letter-spacing: normal;
    padding: 0;
    width: auto;
    min-width: 0;
}

.tl_panel .tl_select,
.tl_panel .tl_text,
.tl_panel .tl_sort {
	max-width: 45%;
	margin: 0 5px 10px 0;
}

.tl_subpanel strong,
.tl_subpanel span {
    margin: 0 5px 10px 0;
    line-height: 32px;
}

.tl_subpanel strong {
    text-align: right;
}

.tl_submit_panel {
    order: 1;
    justify-content: flex-end;
}

.tl_img_submit {
    width: 32px;
    height: 32px;
    top: 0;
    text-indent: 40px;
    background-size: 24px;
    background-position: left center;
}

/* Toggler */
.limit_toggler {
    width: 28px;
    left: 0;
    right: 0;
    top: 2px;
    bottom: auto;
    margin: auto;
    background-color: transparent;
    transition: background-color .2s ease 0s;
}

.hover-div:hover .limit_toggler,
.hover-row:hover .limit_toggler {
    background-color: transparent !important;
}

.limit_toggler button {
    overflow: hidden;
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 auto;
    background-color: transparent;
    background-image: url(../../../system/themes/flexible/icons/expand_.svg);
    background-size: contain;
    background-repeat: no-repeat;
    text-indent: 40px;
    border-radius: 0;
    opacity: .3;
    transition: opacity .2s ease 0s;
}

.limit_toggler button:hover {
    opacity: 1;
}

.limit_toggler button::-moz-focus-inner,
.limit_toggler button:focus,
.limit_toggler button:active {
    border: 0;
    outline: 0 !important;
}

.eb_toggler_open,
.eb_toggler_open:hover {
    background-color: #F0F5F8 !important;
}

/* Breadcrumb */
#main_headline {
	font-size: 1.75em;
}

#main_headline span {
	display: inline;
}

#main_headline span:nth-child(2n) {
	font-weight: bolder;
}

#tl_breadcrumb {
    font-size: inherit;
	font-weight: bolder;
	padding: 0;
    display: flex;
    border: 1px solid #172B3B;
}

#tl_breadcrumb li a,
#tl_breadcrumb li strong {
	background-position: 6px center;
	background-size: auto 14px;
	background-repeat: no-repeat;
	padding-left: 0.5em;
	display: inline-block;
	padding-right: 0.25em;
}

#tl_breadcrumb li strong {
    font-weight: normal;
    padding-right: 10px;
    background-color: #F0F5F8;
}

#tl_breadcrumb li img {
    width:16px;
    height:16px;
    vertical-align:-3px
}

#tl_breadcrumb li a::after {
    content: '>';
    margin-left: 0.5em;
}

/* Tooltips */
.tl_tip {
	overflow: hidden;
	cursor: help;
}

.tip-wrap {
	z-index: 99
}

.tip {
	max-width: 320px;
	padding: 6px 9px;
	border-radius: 2px;
	background: #60a0e0
}

.tip div {
	line-height: 1.3
}

.tip div,
.tip a {
	color: #fff
}

.tip-top {
	height: 6px;
	position: absolute;
	top: -13px;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-bottom: 7px solid #60a0e0
}

/* Misc */
.submenu > .h2:nth-child(1) {
    margin: 0 auto;
}

.tl_error.tl_tip {
	background: url(../../../system/themes/flexible/icons/error.svg) left center no-repeat;
	display: inline;
	padding-left: 1.275em;
}
.tl_gerror, .tl_gerror a, .tl_error:not(#tl_messages .tl_error), .tl_error a {
	color: #f00;
	font-size: initial;
	margin: -15em 0;
}

#tl_maintenance_mode .tl_message > p {
	padding-top: 0;
	padding-bottom: 0;
	margin: 0;
	background-color: transparent;
	background-position-y: center;
}

.tl_file_list .ellipsis {
    height: inherit;
}

/* Pagination */
.pagination {
    color: #444;
    font-weight: bolder;
    border-width: 1px 0 0;
    background: #eaeaec;
    -webkit-transition: color 1s ease-out;
    -moz-transition: color 1s ease-out;
    -o-transition: color 1s ease-out;
    transition: color 1s ease-out;
}

.pagination .active {
    color: #e14f4f;
}

/* Links */
a,
.tl_listing .tl_left > a strong,
#tl_breadcrumb li > a,
#tl_breadcrumb li > strong {
    color: #444;
    -webkit-transition: color 1s ease-out;
    -moz-transition: color 1s ease-out;
    -o-transition: color 1s ease-out;
    transition: color 1s ease-out;
}

a:hover,
a:active,
#tl_breadcrumb li > a:hover,
#tl_breadcrumb li > a:active,
#tl_breadcrumb li > strong:hover,
#tl_breadcrumb li > strong:active,
.tl_listing .tl_left > a strong:hover,
.tl_listing .tl_left > a strong:active {
    color: #e14f4f;
    -webkit-transition: color 500ms ease-in-out;
    -moz-transition: color 500ms ease-in-out;
    -o-transition: color 500ms ease-in-out;
    transition: color 500ms ease-in-out;
}

/* Palettes */
fieldset.tl_tbox > legend,
fieldset.tl_box > legend {
    color: #444;
	font-weight: bolder;
	font-size: larger;
    background-size: 16px;
    background-position: 6px 14px;
    -webkit-transition: color 1s ease-out;
    -moz-transition: color 1s ease-out;
    -o-transition: color 1s ease-out;
    transition: color 1s ease-out;
}

fieldset.tl_tbox > legend:hover,
fieldset.tl_box > legend:hover {
    color: #e14f4f;
    -webkit-transition: color 500ms ease-in-out;
    -moz-transition: color 500ms ease-in-out;
    -o-transition: color 500ms ease-in-out;
    transition: color 500ms ease-in-out;
}

fieldset.tl_tbox.collapsed > legend,
fieldset.tl_box.collapsed > legend {
    background-position-y: 13px;
    color: #444;
    -webkit-transition: color 1s ease-out;
    -moz-transition: color 1s ease-out;
    -o-transition: color 1s ease-out;
    transition: color 1s ease-out;
}

fieldset.tl_tbox.collapsed > legend:hover,
fieldset.tl_box.collapsed > legend:hover {
    color: #e14f4f;
    -webkit-transition: color 500ms ease-in-out;
    -moz-transition: color 500ms ease-in-out;
    -o-transition: color 500ms ease-in-out;
    transition: color 500ms ease-in-out;
}

.tl_checkbox_single_container label,
.tl_label, label {
    color: #444;
}

.tl_left label {
	font-size: larger;
	font-weight: bolder;
}

.tl_box:nth-of-type(even) {
    background-color: #F3F3F5;
}

.eb_close_all {
    background-image: url(../../../themes/flexible/icons/folMinus.svg);
}

a.eb_inactive {
    opacity: .4;
    cursor: default;
    filter: grayscale(100%);
}

/* Icons */
.tl_right img,
.tl_right_nowrap a img,
.tl_content_right a img {
    width: 20px;
    height: auto;
}

.tl_right a img:hover,
.tl_left a img:hover,
.tl_right_nowrap a img:hover,
.tl_content_right a img:hover {
	filter: drop-shadow(2px 2px 2px rgba(0,0,0,.5)) saturate(200%);
}
