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

/**
 * VARIABLEN
 */

:root {
    --lambda-gelb: #ffff00;
    --primary-color-dark: #8A053C;
    --primary-color: #c50756;
    --primary-color-light: #ec0868;
    --text-color: #232c33;

    --button-shadow: 0 1px 2px var(--primary-color-dark);
    --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);

    --primary-color-hover-filter: brightness(0.85);

    --secondary-color: #fff;
    --header-color: #232c33;

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

    --border-radius: 0.5rem;

    --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;
}

html {
    height: 100%;
}

body {
    font-family: 'Supreme', sans-serif !important;
    font-size: var(--font-size);
    line-height: 1.5;
    height: 100%;
    max-height: 100vh;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: visible !important;
    display: flex;
    flex-direction: column;
}

/**
 * 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%;
}

div.input-group *:first-child:not(.toggle):not(.toggle-on):not(.toggle-off):not(.toggle-handle) {
    border-radius: 6px 0 0 6px;
}

div.input-group *:last-child:not(.toggle):not(.toggle-on):not(.toggle-off):not(.toggle-handle) {
    border-radius: 0 6px 6px 0;
}

input:not([class^='ant']) {
    border-radius: 6px;
    font-size: var(--font-size);
    padding: 4px;
}

input:not([class^='ant']):hover, .form-control:hover {
    border-color: var(--primary-color);
}

input:not([class^='ant']):focus, .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 5, 65, 0.1);
}

#captis-form-builder input:not([class^='ant']):focus, .ant-modal-root input:not([class^='ant']):focus {
    box-shadow: none;
    border-color: unset;
    accent-color: unset;
}

input:not([class^='ant'])[type='checkbox'] {
    accent-color: var(--primary-color);
}

/**
 * GENERIC
 */

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

h1 {
    line-height: 1.1;
    letter-spacing: -0.05rem;
}

.fas {
    font-size: 14px;
}

/**
 * ELEMENTS
 */

h4 {
    font-size: 1.3em;
}

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

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

code {
    color: #000;
}

input::placeholder {
    opacity: 0.5 !important;
}

/* BUTTONS */

.btn:not(.toggle):not(.toggle-on):not(.toggle-off):not(.toggle-handle),
.btn-primary:not(.toggle):not(.toggle-on):not(.toggle-off):not(.toggle-handle) {
    border-radius: var(--border-radius);
    box-shadow: 0 1px 2px var(--hell-grau);
}

.btn-primary:not(.toggle):not(.toggle-on):not(.toggle-off):not(.toggle-handle) {
    color: var(--secondary-color);
    background-color: var(--primary-color);
    box-shadow: var(--button-shadow);
    border: none;
}

.btn-primary.disabled:not(.toggle):not(.toggle-on):not(.toggle-off):not(.toggle-handle) {
    color: var(--secondary-color);
    background-color: var(--primary-color);
    /*border-color: transparent;*/
    opacity: 0.2;
}

.btn-primary:not(.toggle):not(.toggle-on):not(.toggle-off):not(.toggle-handle):hover,
.btn-primary:not(.toggle):not(.toggle-on):not(.toggle-off):not(.toggle-handle):focus {
    color: var(--secondary-color);
    box-shadow: var(--button-shadow), var(--primary-color-hover-box-shadow);
    background-color: var(--primary-color);
    /*border-color: transparent;*/
}

.btn-primary:active {
    background-color: var(--primary-color-dark) !important;
    border: none;
    filter: brightness(85%) !important;
}

.btn-primary:focus:active {
    box-shadow: none !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: var(--secondary-color);
    box-shadow: var(--primary-color-hover-box-shadow);
    background-color: var(--primary-color);
    /*border-color: transparent;*/
    border-color: var(--primary-color);
}

.btn-outline-primary:not(.toggle):not(.toggle-on):not(.toggle-off):not(.toggle-handle) {
    color: #555;
    border-color: #bbb;
    background-color: #dfdfdf;
}

.btn-primary:active,
.btn-outline-primary:active {
    background-color: var(--primary-color-dark) !important;
    color: var(--secondary-color) !important;
}

.toggle.btn.btn-primary, .btn.btn-primary.toggle-on {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.toggle.btn.btn-primary:active, .btn.btn-primary.toggle-on:active {
    background-color: var(--primary-color-dark) !important;
    border: 1px solid var(--primary-color);
    filter: brightness(85%) !important;
}

table .dropdown .btn[data-toggle="dropdown"] {
    box-shadow: none !important;
}


.link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 700 !important;
}

a {
    color: var(--dunkel-grau)
}

a:hover {
    color: #4a4a4a
}

button.btn-link {
    box-shadow: none;
    color: var(--primary-color);
}

button.btn-link span.fas {
    color: rgb(0, 123, 255)
}

button.btn-link:hover {
    color: var(--primary-color-dark);
}

td button.btn {
    box-shadow: none;
}

th a {
    color: unset;
}

footer a,
footer .link {
    color: var(--text-color);
}

a:hover,
.link:hover {
    color: #4f4f4f;
    text-decoration: none;
}

a.menu-link:hover, a.profilbildAnchor:hover {
    font-weight: bold;
}

a.disabled {
    color: var(--grau);
    cursor: not-allowed;
}


/* 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);
}

.form-button-group {
    display: flex;
    justify-content: flex-end;
}

.form-button-group .form-button {
    margin-right: 12px;
}

.form-button-group .form-button:last-of-type {
    margin-right: 0;
}

.container-fluid {
    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,
.dropdown-no-arrow .dropdown-toggle:after {
    content: none;
}

.dropdown-item-with-icon-link {
    padding: 0;
}

.dropdown-item-icon-link {
    padding: 0 1.5rem;
}

.dropdown-item-icon-link > span:first-child {
    width: 32px;
    margin: 12px 0;
}

.dropdown-item.active.dropdown-item.active,
.dropdown-item:active.dropdown-item:active,
.dropdown-item.selected.dropdown-item.selected {
    background-color: var(--primary-color);
    color: var(--secondary-color)
}

.dropdown-item.active.dropdown-item.active a.dropdown-item-icon-link,
.dropdown-item:active.dropdown-item:active a.dropdown-item-icon-link,
.dropdown-item.selected.dropdown-item.selected a.dropdown-item-icon-link {
    color: var(--secondary-color);
}


dt {
    font-weight: 700;
}

/* 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";
}

/**
 * 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;
    flex-wrap: wrap;
}

.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:hover a {
    color: #444;
    filter: var(--primary-color-hover-filter);
}

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

.tab-row li.selected a {
    color: var(--primary-color);
}

.tab-row li:hover a span {
    color: #d12a6a;
}


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

.popover {
    z-index: 1060;
}

.profilbild {
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
}

/*
 MODAL
*/

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

/*
FORM
*/
.form-text {
    margin-top: .25rem;
    font-size: .875em;
    color: #6c757d;
}

/*
Hack für Bootstrap-Fileupload (weil der noch Glyphicon verwendet)
*/

.fileinput-cancel-button {
    display: none;
}

.glyphicon {
    font-size: 14px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-style: normal;
}

.glyphicon-zoom-in:before {
    content: "\f00e";
}

.glyphicon-remove:before {
    content: "\f00d";
}

.glyphicon-resize-full:before {
    content: "\f424";
}

.glyphicon-fullscreen:before {
    content: "\f065";
}

.glyphicon-resize-vertical:before {
    content: "\f102";
}

.glyphicon-folder-open:before {
    content: "\f07c";
}

.glyphicon-trash:before {
    content: "\f05e";
}

div.barchart__container {
    height: 60px;
    border-radius: 6px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.barchart__container div.barchart__part {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-align: center;
    height: 100%;
}

.captis-toggle div.form-check {
    padding-left: 0;
}


div.c3g-wochentag {
    flex: 1;
    border: 1px solid #333;
    border-radius: 3px;
    padding: 2px;
    width: 25px;
    font-size: 0.9rem;
    text-align: center;
    font-weight: bold;
}

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

.fas.strike-through {
    position: relative;
}

.fas.strike-through:after {
    content: '';
    height: 2px;
    width: 175%;
    background-color: black;
    position: absolute;
    left: -1px;
    top: 0px;
    transform: rotate(45deg);
    transform-origin: 1px 1px;
}.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;*/
}

@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(--header-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--closed {
    width: auto !important;
}

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

.navbar-left--open .only-collapsed {
    display: none !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(--header-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%;
}


.margin-menu-item {
    margin-top: 0.7rem;
}

.list-style-none {
    list-style: none;
}

a.dropdown-lang-select {
    padding: 4px !important;
}

.menu-link {
    display: flex;
    align-items: center;
    color: #666;
}

.text-sign-blue {
    color: #0092CC;
}

.menu-link svg, .menu-link span.fas {
    font-size: 1.25rem;
    width: 1.25rem;
    margin-right: 0.6rem;
}

.navbar-left--closed .language-link svg {
    margin: 0;
}

.text-sky-300 {
    color: #7dd3fc;
}

.text-amber-400 {
    color: #fbbf24;
}

.text-orange-400 {
    color: #fb923c;
}

.text-lime-400 {
    color: #a3e635;
}

.text-red-400 {
    color: #f87171;
}

.text-red-300 {
    color: #fca5a5;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-sky-400 {
    color: #38bdf8;
}

.text-violet-400 {
    color: #a78bfa;
}

.text-emerald-500 {
    color: #10b981;
}

.text-gray-200 {
    color: #e5e7eb;
}

.text-gray-300 {
    color: #d1d5db;
}

.menu-active {
    font-weight: bold !important;
}

