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

/**
 * VARIABLEN
 */

:root {
    --lambda-gelb: #ffff00;
    --lambda-grau: #666666;
    --primary-color: #6c757d;
    --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: #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;
}

html{
    height: 100%;
}

.porto-body {
    font-family: 'Source Sans Pro' !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;
    letter-spacing: -0.60px;
}

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

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

/**
 * GENERIC
 */

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

/**
 * ELEMENTS
 */

.navbar-left .fas {
    font-size: 14px;
}

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: #ff0;
    border-color: #ff0;
}

a {
    color: #333;
}

a:not(.login__header):hover {
    color: #333;
    font-weight: bold;
    text-decoration: none;
}

.btn-primary.disabled, .btn-primary:disabled {
    color: var(--secondary-color);
    background-color: var(--primary-color);
    border-color: transparent;
    opacity: 0.2;
    cursor: not-allowed;
}

.btn-primary:hover, .btn-primary:focus {
    color: #333;
    background-color: #ff0;
    border-color: #ff0;;
    /*border-color: transparent;*/
}

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

.toggle-handle {
    background-color: white!important;
    border-color: black!important;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {
    color: var(--secondary-color);
    background-color: var(--primary-color);
    border-color: #666;
}

.btn-group-toggle {
    width: 100%;
}

a > i.fa-file-download {
    color: var(--primary-color);
    background-color: var(--lambda-gelb);
}

/* 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: var(--dunkel-grau);
}

.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-check {
    position: relative;
    display: block;
    padding: 0;
}

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

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

.form__aktionen {
    padding-left: 15px;
}


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

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

}

.navigator .goto a:not([href]):not([tabindex]){
    color: var(--dunkel-grau)!important;
}

/**
 *TABS
 */
.tab-row ul {
    border-bottom: 1px solid var(--hell-grau);
    color: var(--primary-color);
}

.header .tab-row {
    position: fixed;
    z-index: 1;
    background-color: #ffffff;
    width: 100%;
}

.header .tab-row ul{
    border-bottom: 1px solid var(--hell-grau);
    color: var(--primary-color);
    margin-bottom: 0;
}

.no-header .tab-row {
    position: relative;
}

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

.tab-row li {
    padding: 0.5rem 1rem;
    color: var(--primary-color);
    border: none;
}

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

.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);

}

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


.editorfieldset {
    border: 1px solid var(--hellgrau);
    padding: 15px;
}

/* SIDEBAR */

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

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

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

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

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

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

}

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

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

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

/*
Dashboard
*/

.dashboard {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 12px;
    overflow-y: auto;
}

.widgets-container {
    display: flex;
    flex-wrap: wrap;
    /*margin-top: 5%;*/
}

.widget-container {
    width: 100%;
}

.widget-content ul {
    padding-left: 0;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    top: auto!important;
    left: auto!important;
    inset: auto auto auto auto!important;
}

.flex1 {
    flex: 1;
}

@media only screen and (min-width: 1500px) {
    .modal-lg {
        max-width: 1500px !important;
    }
}

.modal-sm {
    max-height: available;
}

@media only screen and (min-width: 800px) {
    .modal-sm {
        max-width: 800px !important;
    }
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}.tooltipX {
    color: var(--lambda-gelb);
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted var(--lambda-gelb);
}

.tooltip-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 0.25rem 0.5rem 0.25rem 0.5rem;
}

.tooltipX .tooltipcontent {
    visibility: hidden;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    top: -10vh;
    opacity: 0;
    transition: opacity 0.3s;
    text-align: justify;
}

.table .tooltipX .tooltipcontent {
    visibility: hidden;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    left: -7vw;
    top: auto;
    opacity: 0;
    transition: opacity 0.3s;
    text-align: justify;
}

.tooltipcontent .row > div, button {
    display: flex;
    align-self: baseline;
}

.tooltipcontent img {
    background-color: #fff;
    display: block;
    margin: 0 auto;
}
.tooltipX:hover .tooltipcontent {
    visibility: visible;
    opacity: 1;
}
.widget{
    margin: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 13px 0 rgba(18, 43, 70, .1);
}

.widget-header{
    display: flex;
    padding: 12px 0;
}

.widget-title{
    flex: 1;
    font-size: 1.3em;
    color: var(--dunkel-grau);
}

.widget-content{
    flex: 1;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
}

@media only screen and (min-width: 1920px) {
    .widget-content {
        min-height: 580px;
    }
}

@media only screen and (min-width: 2560px) {
    .widget-content {
        min-height: 440px;
    }
}