/**
 * Diese Datei stellt die Hauptdatei für
 * CSS-Styling dar. Hier werden übergreifende
 * und allgemeine
 */

/**
 * VARIABLEN
 */

:root {
    --grau: #aaa;
    --rot: lightcoral;
    --hellgrau: #f1f1f1;
    --lambda-gelb: #FDE541;
    --global-spacing-unit: 21px;
    --global-spacing-unit--big: 42px;
    --global-spacing-unit--reduced: 14px;
    --global-spacing-unit--half: 11px;
    --font-size: 16px;
    --primary-color: #6c757d;
    --secondary-color: #fff;
    --primary-color-hover-box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.2);
    --primary-color-hover-background: rgba(255, 255, 255, 0.2);
    --primary-color-active-box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.4);
    --primary-color-active-background: rgba(255, 255, 255, 0.4);

    --header-color: #000;

    --hell-grau: #ccc;
    --grau: #aaa;
    --mittel-grau: #666;
    --dunkel-grau: #333;

    --border-radius: 0.25rem;

    --gruen: #89bd23;
    --dunkel-gruen: #0a5527;
    --gelb: gold;
    --global-spacing-unit--big: 42px;
    --global-spacing-unit--reduced: 14px;
    --global-spacing-unit--half: 11px;
    --font-size: 16px;

    --rot: lightcoral;
    --hellgrau: #f1f1f1;
    --global-spacing-unit: 21px;

    --sign-main: #0092cc;
    --sign-light: #009cda;
    --sign-bright: #1ca9e1;
    --sign-dull: #bce3f3;
}

html {
    height: 100%;
}

body {
    font-family: 'Supreme', sans-serif !important;
    font-size: var(--font-size);
    line-height: var(--global-spacing-unit);
    height: 100%;
    max-height: 100vh;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
}

.form-control::placeholder {
    opacity: 0.5 !important;
}

/**
 * GENERIC
 */

address,
h1, h2, h3, h4, h5, h6,
blockquote, p, pre,
dl, ol, ul,
figure,
hr,
table,
fieldset {
    margin-bottom: var(--global-spacing-unit);
}


.fas {
    font-size: 14px;
}

/**
 * ELEMENTS
 */

h4 {
    font-size: 1.3em;
}

input {
    font-size: 16px;
    padding: 4px;
}

select {
    font-size: 16px;
    padding: 6px;
}

img {
    max-width: 100%;
    max-height: 100%;
}

/* BUTTONS */

.btn-primary {
    color: #333;
    background-color: var(--hellgrau);
    border-color: var(--grau);
}

.btn-primary:hover {
    color: #333;
    background-color: #eee;
    border-color: #999;
}

a {
    color: #333;
}

a:hover {
    text-decoration: none;
    color: #333;
}

.inline-link:hover {
    text-decoration: underline;
    cursor: pointer;
}

.action-link-last-underlined:hover > span:last-child {
    text-decoration: underline;
}

/* TABLES */

.table-striped tbody tr:nth-of-type(2n+1) {
    background-color: rgba(0, 0, 0, 0.01);
}

.table-striped tbody tr:nth-of-type(2n+1):hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.table p {
    margin-bottom: 0;
}

.table .navigation td {
    border-top: none;
}

.bootstrap-select {
    font-size: 16px;
    padding: 6px;
}

.dropdown-menu {
    font-size: 16px;
}

.dropdown-toggle {
    padding: 6px;
}

.dropdown-toggle {
    color: #333;
}

.dropdown-toggle:hover {
}

.form-row > input[class*="col-md-"] {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.error + input, .error + select, .error + textarea,
.error ~ div.bootstrap-select > button.dropdown-toggle,
.error ~ div.input-group {
    border: 1px solid var(--rot);
}

.form__feld ul.feedbackPanel {
    list-style: none;
    padding-left: 0;
    margin-top: 8px;
}

.form__feld .feedbackPanel > .feedbackPanelERROR {
    color: var(--rot);
}


.container-fluid, .container-fluid > .row {
    height: 100%;
}

.aside {
    background-color: #f9f9f9;
    border-right: #dedede;
}


.table-files thead th {
    border-top: none;
    font-weight: normal;
}

.table-files tbody td {
    padding: 18px 12px;
}


.administration-link {
    color: #666;
    font-size: 1.5em;
}

.dropdown-profilbild .dropdown-toggle:after {
    content: none;

}

/* SIDEBAR */

.dropdown-profilbild .profilbild {
    border-radius: 100%;
}

.sidebar__link {
    font-size: 1.2rem;
}

.sidebar__link--aktiv {
    font-weight: bold;
}

.breadcrumb-files .breadcrumb-item a {
    color: #666;
}

.breadcrumb-files .breadcrumb-item:last-child a {
    color: #333;
}

.file-row:hover {
    background: #f9f9f9;
    cursor: pointer;
}

.file-preview {
    border: 1px dashed #aaa;
    margin-bottom: 18px;
}

.file-preview .close {
    display: none;
}

.file-preview .file-drop-zone {
    border: none;
}

progress.labeled {
    height: 22px;
    vertical-align: middle;
}

progress.labeled::after {
    content: attr(value) ' %';
}

.wicket_orderUp:after,
.wicket_orderDown:after {
    font-family: 'Font Awesome 5 Free', sans-serif;
    font-size: 0.8em;
    margin-left: 0.4em;
}

.wicket_orderUp:after {
    content: "\f062";
}

.wicket_orderDown:after {
    content: "\f063";
}

/**
 * LAYOUT
 */

#body {
    display: flex;
    flex: 1;
    max-height: 100vh;
}

#content {
    flex: 1;
    padding: 12px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

.content-body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.options-bar {
    padding: 6px 0;
    display: flex;
}

.options-bar .search-input {
    width: 250px;
    max-width: 100%;
}

.options-bar .options-main {
    flex: 1;
    display: flex;
}

.options-bar .options-right > * {
    height: 100%;
}

.drag-icon {
    cursor: grab;
}

.sequence {
    align-self: center;
    border: 1px black solid;
    width: 50px;
    height: 50px;
    align-items: center;
    display: flex;
    justify-content: center;
    background: white;
}

@media only screen and (max-width: 600px) {
    .hide-at-small-media {
        display: none !important;
    }
}

@media (max-width: 520px) {
    .sign__min-width {
        display: none;
    }
}

.sign__button-pressed {
    background-color: #d1ecf1;
    -webkit-box-shadow: inset 0 0 5px #c1c1c1;
    -moz-box-shadow: inset 0 0 5px #c1c1c1;
    box-shadow: inset 0 0 10px #c1c1c1;
    outline: none;
}

/*
    Modal
 */


.sign-modal-large .modal-dialog {
    min-width: 95vw;
}

.sign-modal-medium .modal-dialog {
    min-width: 55vw;
}

@media only screen and (max-width: 1200px) {
    .sign-modal-medium .modal-dialog {
        min-width: 85vw;
    }
}

.default_lambda_position {
    max-width: 1500px;
    width: 100%;
    align-self: center;
}

/**
 * Tabs
 */

.tab-section {
    margin-bottom: 16px;
}

.tab-section-title {
    font-weight: 600;
    font-size: 1.6em;
}

.tab-section-title span.fas {
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
}

.tab-section-body {
    display: flex;
    padding: 8px 0;
}

.tabs-sticky-header {
    flex: 1;
    /*overflow-y: auto;*/
    display: flex;
    flex-direction: column;
}

.tabs-sticky-header .tab-panel {
    flex: 1;
    /*overflow-y: auto;*/
}

/**
 * NAV-TABS
 */

.nav-tabs, .tab-row ul {
    border-bottom: 1px solid var(--hell-grau);
    color: var(--primary-color);
}

.tab-row ul {
    display: flex;
    list-style: none;
    padding: 0;
}

.nav-tabs .nav-link, .tab-row li {
    padding: 0.5rem 1rem;
    color: var(--hell-grau);
    border: none;
}

.tab-row li a {
    color: var(--mittel-grau);
}

.nav-tabs .nav-link:hover, .tab-row li:hover {
    color: var(--primary-color);
    filter: var(--primary-color-hover-filter);

    border: none;
}

.tab-row li a:hover {
    color: #333;
    text-decoration: none;
}

.nav-tabs .nav-link.active, .tab-row li.selected {
    color: var(--primary-color);
    border: none;
    border-bottom: 3px solid var(--grau);
}

.tab-row li.selected a {
    color: #444;
}

.navigator .goto a:not([href]):not([tabindex]) {
    /*color: var(--primary-color);*/
    text-decoration: none;
}

.lambda-list-item:last-child .lambda-list-item-combine {
    display: none;
}

@media only screen and (min-width: 769px) {

    small.on-small-devices {
        display: none;
    }
}

@media only screen and (max-width: 500px) {
    .sm-on-mobile {
        font-size: 1.3rem;
    }
}

@media only screen and (max-width: 768px) {
    .form-control {
        height: auto !important;
    }

    .btn {
        height: auto !important;
    }
}

div.sign__p_nomargin p {
    margin: 0;
}

.fa-clock-o::before {
    content: "\f017";
}

.btn.disabled {
    background-color: var(--hell-grau) !important;
    border-color: var(--dunkel-grau);
    color: #555;
}

.btn.highlight {
    background-color: rgb(0, 123, 255) !important;
    border-color: #007bff !important;
    color: #fff;
}

[data-slots] { font-family: monospace }

.required:after {
    content:" *";
    color: red;
}

div.authority-select {
    width: 50px !important;
    max-height: 40px;
}

.icon-action:hover {
    color: #666;
    font-weight: initial;
}

.fading-container {
    position: relative;
    overflow: auto;
}

.fading-shade {
    display: none;
    position: absolute;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 20%;
    pointer-events: none;
}

.fading-shade-top {
    background: linear-gradient(white, transparent);
}

.fading-shade-bottom {
    background: linear-gradient(transparent, white);
}

.hover-bg-light:hover {
    background-color: rgba(213, 213, 213, 0.1);
}

.h-70vh {
    height: 70vh;
}

@media (min-width: 1200px) {
    .h-xl-100 {
        height: 100%;
    }
    .h-xl-auto {
        height: auto;
    }
}

.sign-text-button {
    color: var(--sign-main)
}

.sign-text-button:hover {
    color: var(--sign-bright)
}

.sign-text-button > i {
    width: 0.75rem;
}

.modal-full > .modal-dialog {
    margin: 0;
    max-width: 100vw;
    height: 100vh;
}

.modal-full > .modal-dialog > .modal-content {
    height: 100%;
}.login-footer {
    margin-top: 200px;
    text-align: center;
}

.login-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 24px;
}

.login-logo {
    width: 200px;
}

.login-logo img {
    width: 100%;
    height: 100%;
}

.login-title {
    text-align: center;
    color: #666666;
    font-size: 26px;
    margin-top: 32px;
    font-weight: 600;
}

.form--login {
    margin-top: 2em;
}


.form--login h1 {
    margin-bottom: 48px;
}

.form--login .form__aktionen {
    display: flex;
    justify-content: flex-end;
}

.form--login .btn-primary {
    /*background: #666;*/
}

main.standalone {
    background-image: linear-gradient(white, whitesmoke);
}

@media (min-device-height: 1000px) {
    main.standalone {
        padding-bottom: 22vh;
    }
}

@media (max-device-height: 999px) {
    main.standalone {
        padding-bottom: 6rem;
    }
}

@media only screen and (max-width: 768px) {

    .btn--anmelden {
        margin-bottom: 5px;
        height: 50px;
        width: 100%;
    }

    .btn--registrieren {
        margin: auto;
        width: 100%;
    }

    .form-control {
        height: 50px;
    }

    .form__feld small {
        font-size: 90%;
    }

    .login-logo {
        height: auto;
        margin: auto;
        width: 95%;
    }
    .login-footer {
        margin-top: 50px;
    }

    .responsive--login {
        font-size: 1.2em;
    }

    .responsive-justify {
        font-size: 1em;
        text-align: justify !important;
    }

}

@media only screen and (max-width: 550px) {
    .responsive-offset {
        margin-top: 100px;
    }
}.navbar-left {
    display: flex;
    flex-direction: column;
    width: 66px;
    min-height: 100%;
    /*background: var(--primary-color);*/
    background-color: #fff;
    box-shadow: 0 3px 13px 0 rgba(18, 43, 70, .1);
}

.navbar-left--open {
    width: 250px;
}

.navbar-left .nav-item {
    display: flex;
}

.navbar-left .nav-item > .quota {
    height: 54px;
    color: var(--primary-color);
    font-size: 16px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.progressbar {
    width: 95%;
    border: 0.5px solid #666;
}

.progressbar > div {
    background-color: var(--primary-color-active-background);
    height: 24px;
    white-space: nowrap;
}

.navbar-left .nav-item > .menu-link {
    height: 54px;
    color: var(--primary-color);
    font-size: 20px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-left .nav-item > .menu-link:hover {
    background: var(--primary-color-hover-background);
}

.navbar-left.navbar-left--closed .nav-item > .menu-link:hover > .nav-item-title {
    position: absolute;
    left: 66px;
    z-index: 41;
    color: var(--primary-color);
    background-color: #fff;
    padding: 0 12px;
    border: 1px solid #eee;
    width: 200px;
    height: 54px;
    display: flex;
    align-items: center;
    box-shadow: 0px 5px 13px -2px #ccc;
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
}

.navbar-left--closed {
    width: auto !important;
}

.only-expanded {
    margin-left: 0.4rem;
}

.navbar-left--closed .only-expanded {
    display: none !important;
}

.navbar-left--open .only-collapsed {
    display: none !important;
}

.navbar-left--open .center-collapsed ul {
    padding-left: 0.5rem !important;
}

.sidebar-logo-img {
    width: 120px;
}

.navbar-left--closed .sidebar-logo-img {
    width: 35px;
}
.navbar-left--closed .center-collapsed {
    width: 100%;
    display: flex;
    justify-content: center;
}

.navbar-left .nav-item > .menu-link > .nav-item-title {
    display: none;
}

.navbar-left.navbar-left--open .nav-item > .menu-link > .nav-item-title {
    display: block;
}

.navbar-left.navbar-left--open .nav-item > .menu-link {
    justify-content: flex-start;
    padding-left: 20px;
}

#navbarDropdown {
    justify-content: center;
    padding-left: 0;
}

.navbar-left.navbar-left--open .nav-item > .menu-link > i,
.navbar-left.navbar-left--open .nav-item > .menu-link > span {
    margin-right: 12px;
    /*width: 25px;*/
    /*text-align: center;*/
}

.navbar-left .nav-item > .menu-link:hover {
    text-decoration: none;
}

.navbar-left .nav-item > .menu-active {
    /*background: var(--primary-color-active-background);*/
    box-shadow: inset 4px 0 0 var(--secondary-color);
}

.navbar-left.navbar-left--open .nav-item > .menu-active {
    font-weight: 700;
}

.navbar-left .menu-logo {
    height: 100px;
    margin-top: 18px;
    padding: 6px;
    text-align: center;
}

.navbar-left .menu-main {
    flex: 1;
    max-height: calc(100vh - 210px);
    overflow-y: auto;
}

.navbar-left .menu-bottom {
    margin-bottom: 6px;
}

.navbar-left .menu-bottom .menu-user {

}

.demomodus {
    color: var(--primary-color);
    text-align: center;
}

.menu-left .menu-toggle {
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    background: var(--primary-color-hover-background);
    width: 100%;
    border: none;
}

.menu-left .menu-toggle:focus {
    outline: none;
}

.menu-left.navbar-left--open .menu-toggle {
    transform: rotate(180deg);
}

.progress-bar {
    background-color: whiteSmoke;
    border-radius: 2px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25) inset;

    width: 100%;
    min-width: 250px;
    height: 20px;
    display: block;
    position: relative;
}

.progress-bar > div.progress {
    background-color: #89bd23;
    border-radius: 2px;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
}.height-placeholder {
    height: 150px;
    overflow: hidden;
}

.image-container {
    position: relative;
    max-width: max-content;
}

.challenge-image {
    max-width: 480px;
}

.drag-logo {
    position: absolute;
    top: 15%;
    left: 0;
    width: 14.583333%;
    height: 70%;
}

.feedback-container {
    margin-top: 35px;
}

.feedback-icon {
    font-size: 80px;
}

.failure {
    color: red;
}

.success {
    color: green;
}