/*!
 * Version 1.0
 * Copyright Robert Pleniger
 * Formate aus Indesign für die Vorschau der Tasting-Einträge
 */

@font-face {
	font-family: "CognitoSymbol";
	src: url("/inc/css/fonts/concentric.woff");
}


body {
/*	background: url('/inc/theme/img/background.webp') no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;*/
	background-color: rgb(255, 253, 245);
}

.card {
	opacity: 0.95;
}

.img-inline {
	height: 1em;
}

.input-lg {
	font-size: 2em;
}
/*  */
.table-inactive td {
	background-color: #ececec;
	color: #b9b9b9;
	font-style: italic;
}

.bg-done {
	background-color: #d4fae2 !important
}

a.bg-done:focus, a.bg-done:hover, button.bg-done:focus, button.bg-done:hover {
	background-color:#d4fae2 !important
}

.bg-gold {
	background-color: #D6B155 !important
}

a.bg-gold:focus, a.bg-done:hover, button.bg-done:focus, button.bg-done:hover {
	background-color:#D6B155 !important
}

.font-weight-select {
	font-weight: 900 !important;
}

.serif {
	font-family: 'Noto Serif', serif;
}

.nav-link.active,
.nav-item.show .nav-link {
	font-weight: 700;
}


tab1 { padding-left: 4em; }
tab2 { padding-left: 8em; }
tab3 { padding-left: 12em; }
tab4 { padding-left: 16em; }
tab5 { padding-left: 20em; }
tab6 { padding-left: 24em; }
tab7 { padding-left: 28em; }
tab8 { padding-left: 32em; }
tab9 { padding-left: 36em; }
tab10 { padding-left: 40em; }
tab11 { padding-left: 44em; }
tab12 { padding-left: 48em; }
tab13 { padding-left: 52em; }
tab14 { padding-left: 56em; }
tab15 { padding-left: 60em; }
tab16 { padding-left: 64em; }

@media (min-width: 992px){
	.dropdown-menu .dropdown-toggle:after{
		border-top: .3em solid transparent;
		border-right: 0;
		border-bottom: .3em solid transparent;
		border-left: .3em solid;
	}
	
	.dropdown-menu .dropdown-menu{
		margin-left:0; margin-right: 0;
	}
	
	.dropdown-menu li{
		position: relative;
	}
	.nav-item .submenu{
		display: none;
		position: absolute;
		left:100%; top:-7px;
	}
	.nav-item .submenu-left{
		right:100%; left:auto;
	}
	
	.dropdown-menu > li:hover{ background-color: #f1f1f1 }
	.dropdown-menu > li:hover > .submenu{
		display: block;
	}
}

.opacity-0 {
	opacity:0!important;
}
.opacity-1 {
	opacity:0.2!important;
}
.opacity-2 {
	opacity:0.4!important;
}
.opacity-3 {
	opacity:0.6!important;
}
.opacity-4 {
	opacity:.8!important;
}
.opacity-5 {
	opacity:1!important;
}

.w-5 {
	width: 5% !important;
}

.w-10 {
	width: 10% !important;
}

.w-15 {
	width: 15% !important;
}

.w-20 {
	width: 20% !important;
}


/* Maybe even support hover opacity shifts */
.opacity-0h5 {
	opacity:0!important;
	transition: opacity .25s ease-in-out!important;
	-moz-transition: opacity .25s ease-in-out!important;
	-webkit-transition: opacity .25s ease-in-out!important;
}
.opacity-0h5:hover {
	opacity:1!important;
}

.ins_text {
	background-color: #DDFFDD!important;
	color: #002200!important;
	font-weight: bold!important;
}

.del_text {
	background-color: #FFDDDD!important;
	color: #CCBBCC!important;
}

.ui-autocomplete {
	max-height: 100px;
	overflow-y: auto;
	/* prevent horizontal scrollbar */
	overflow-x: hidden;
}

.contain {
	position: relative;
	margin-bottom: 1rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.2;
	text-align: left;
}

.tree {
	min-height:20px;
	padding:0px;
	margin-bottom:20px;
}

.tree > ul {
	padding-left:0;
}

.tree li {
	list-style-type:none;
	margin:0;
	padding:10px 5px 0 0;
	position:relative
}

.tree li::before, .tree li::after {
	content:'';
	left:-25px;
	position:absolute;
	right:auto
}

.tree li::before {
	border-left:2px solid #999;
	bottom:50px;
	height:100%;
	top:0;
	width:1px
}

.tree li::after {
	border-top:2px solid #999;
	height:20px;
	top:25px;
	width:25px
}

/* .tree li span { -moz-border-radius:5px; -webkit-border-radius:5px; border:1px solid #999; border-radius:5px; display:inline-block; padding:3px 8px; text-decoration:none } */
/* .tree li.parent_li>span { cursor:pointer } */
/* .tree li div { -moz-border-radius:5px; -webkit-border-radius:5px; border:1px solid #999; border-radius:5px; box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 5px 0 rgba(0, 0, 0, 0.19); display:inline-block; min-height:20px; padding:5px 10px 5px 10px; text-decoration:none } */
/* .tree li.parent_li>div { cursor:pointer } */

.tree>ul>li::before, .tree>ul>li::after {
	border:0
}

.tree li:last-child::before {
	height:25px
}
/* .tree li.parent_li>span:hover, .tree li.parent_li>span:hover+ul li span { background:#eee; border:2px solid #94a0b4; color:#000 } */

.border-1 {
	border: 1 !important;
}

.border-2 {
	border: 2 !important;
}

.border-3 {
	border: 3 !important;
}

.switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

/* The slider */
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked + .slider {
	background-color: #2196F3;
}

input:focus + .slider {
	box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
	border-radius: 34px;
}

.slider.round:before {
	border-radius: 50%;
}

.h-95 {
	height: 95% !important;
}

.bl {
	border-left: solid 1px lightgray;
	border-radius: 5px;
}

.br {
	border-right: solid 1px lightgray;
	border-radius: 5px;
}

.bx {
	border-left: solid 1px lightgray;
	border-right: solid 1px lightgray;
	border-radius: 5px;
}

.nav-vtabs {
	border-right: 1px solid #dee2e6;
}

.nav-vtabs .nav-item {
	margin-right: -1px;
}

.nav-vtabs .nav-link {
	border: 1px solid transparent;
	border-top-left-radius: 0.25rem;
	border-bottom-left-radius: 0.25rem;
}

.nav-vtabs .nav-link:hover, .nav-vtabs .nav-link:focus {
	border-color: #e9ecef #dee2e6 #e9ecef #e9ecef;
}

.nav-vtabs .nav-link.disabled {
	color: #6c757d;
	background-color: transparent;
	border-color: transparent;
}

.nav-vtabs .nav-link.active,
.nav-vtabs .nav-item.show .nav-link {
	color: #495057;
	background-color: #fff;
	border-color: #dee2e6 #fff #dee2e6 #dee2e6;
}

.nav-tabs .dropdown-menu {
	margin-top: -1px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.drag-area{
	border: 2px dashed #246;
	height: 180px;
	width: 200px;
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
.drag-area.active{
	border: 2px solid #246;
}
.drag-area .icon{
	font-size: 50px;
	color: #246;
}
.drag-area .header{
	font-size: 15px;
	font-weight: 500;
	color: #246;
}
.drag-area span{
	font-size: 12px;
	font-weight: 500;
	color: #246;
	margin: 7px 0 10px 0;
}
.drag-area button{
	padding: 7px 20px;
	font-size: 15px;
	font-weight: 500;
	border: none;
	outline: none;
	background: #246;
	color: #ace;
	border-radius: 5px;
	cursor: pointer;
}
.drag-area img{
	height: 100%;
	width: 100%;
	object-fit: cover;
	border-radius: 5px;
}

img.input-group-text {
	margin-top: 0;
	padding: 0;
}

.vertical-text-down {
	transform: rotate(90deg);
	transform-origin: center;
}

.vertical-text-up {
	transform: rotate(270deg);
	transform-origin: center;
}

.cognito-symbol {
	font-family: 'CognitoSymbol';
	color: #09a098;
	font-size: 1em;
	line-height: 1;
	font-style: normal !important;
	font-weight: 400;
	text-decoration: inherit;
}

.file-card {
	border: 1px solid #d6d8db;
	border-radius: 0.5rem;
	padding: 1rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	background-color: #e2e3e5;
	position: relative;
}

.file-card.dragover::after {
	content: "Hochladen";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(63, 63, 31, 0.4);
	color: white;
	font-size: 1.5rem;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0.5rem;
	pointer-events: none;
	z-index: 10;
}

.file-area.dragover::after {
	content: "Hochladen";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(63, 63, 31, 0.4);
	color: white;
	font-size: 1.5rem;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0.5rem;
	pointer-events: none;
	z-index: 10;
}

.file-icon {
	width: 96px;
	height: 96px;
}
.file-info {
	flex-grow: 1;
/*	position: relative;
	padding-bottom: 3rem; /* Platz für Button-Gruppe, falls nötig */*/
}

.file-info .btn-group {
	position: absolute;
	bottom: 0;
	right: 0;
	margin: 0.25rem;
}

#_busyOverlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 1050; /* über Bootstrap Modals etc. */
	display: flex;
	align-items: center;
	justify-content: center;
}
