﻿.td .btn {
    margin-top: 0px;
}

.btn {
    font-size: 14px;
    padding: 2px 5px 2px 5px;
    min-height: 10px;
}

.btn-default {
    border: 1px solid #e8e8e8 !important;
    margin: 2px
}
.btn-sm {
    font-size: 10px;
    padding: 2px 3px 2px 3px;
    min-height: 10px;
}

.selectize-input {
    font-size: 12px;
    padding: 1px 3px 1px 3px;
    min-height: 10px;
}

.query-builder .selectize-dropdown {
    height: auto;
}


/* obere Sektion => weniger Platz 70 => ...*/
body > section {
    padding: 20px 0;
}

body {
    font-size: 12px;
}

/* unter der Überschrift */
.center {
    padding-bottom: 5px;
}

.form-control, .input-group-text {
    font-size: 12px;
    padding: 2px 3px 2px 3px;
    border-radius: 3px;
}

.form-group {
    margin-bottom: 5px;
}


/*input[type="file"] {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 3px 12px;
    cursor: pointer;
}

input[type=file]::file-selector-button {
    font-weight: 600;
    border: 1px solid #e8e8e800 !important;
    padding: 1px 2px;
    border-radius: 1px;
    background-color: #ffffff00;
    transition: 1s;
}
*/

input[type="file"] {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 2px 3px 2px 3px;
    cursor: pointer;
}

input[type=file]::file-selector-button {
    display: none;
    font-weight: 600;
    font-size: 12px;
    border: 1px solid #e8e8e800 !important;
    padding: 1px 2px;
    border-radius: 1px;
    background-color: #ffffff00;
    transition: 1s;
}


/* Tabs */
.nav-tabs > li > a {
    border: 1px solid;
    border-left: 0;
    border-color: #bbbbbb;
    padding: 3px 8px;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    border: 1px solid;
    border-left: 0;
    border-color: #1f1f20;
    color: #fff;
    background: #1f1f20;
}

/* Font anpassung für nav menü*/
.navbar-nav > a, .dropdown-menu > li > a {
    font-weight: 500 !important;
}

.nav-tabs > li > a:hover {
    border: 1px solid;
    border-left: 0;
    border-color: #1f1f20;
}


/* Pfeil hinter dem aktivierten Tab ausblenden */
.nav-tabs > li.active > a:after {
    border-width: 0px 0px;
}



/* Button-Pane schmaller machen, damit der Full-screen-Button noch mit in eine Zeile passt */
.trumbowyg-button-pane button {
    padding: 1px 5px !important;
}

.trumbowyg-button-pane .trumbowyg-button-group::after {
    margin: 0 1px;
}

span.ui-autocomplete-input {
    padding: 5px;
    padding-left: 8px;
    padding-right: 8px;
    border: solid 1px #cccc;
    border-radius: 3px;
    background-color: #ededed;
}

    span.ui-autocomplete-input[menustatus="closed"] {
        background-color: #ededed;
    }

    span.ui-autocomplete-input[menustatus="open"] {
        background-color: #ffffff;
    }

input[type="number"] {
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-sizing: border-box;
    width: 100%;
}

.ui-autocomplete {
    max-height: 45vh; /* Definiert die maximale höhe der itembox für ui-autocomplete z.b combobox*/
    overflow-y: scroll;
    overflow-x: hidden;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}

    .ui-autocomplete::-webkit-scrollbar {
        width: 0.4em; /* scrollbar dicke */
    }

    .ui-autocomplete::-webkit-scrollbar-thumb {
        background-color: #888;
        border-radius: 2px;
    }

    .ui-autocomplete::-webkit-scrollbar-track {
        background-color: #f1f1f1;
    }

.nav-link {
    color: var(--bs-red);
    font-weight: 550;
}

    .nav-link:hover {
        color: #b92527;
        font-weight: 550;
    }







.form-control {
    padding: 2px 2px;
    min-height: 10px;
    line-height: 1;
}

.input-group .form-control {
    padding: 2px 2px;
    min-height: 10px;
}

.form-group .form-control {
    padding: 2px 4px;
    min-height: 10px;
}

p {
    margin-top: 0;
    margin-bottom: 0.5rem
}


/* Menüs kleiner machen */
a {
    font-size: 12px;
    color: #4c5c8b;
}

.dropdown-menu > li > a {
    font-size: 12px;
}


.btn {
    --bs-btn-bg: #ebebeb;
    --bs-btn-hover-bg: #4c5c8b;
    --bs-btn-hover-color: white;
}

.btn-primary {
    background-color: #4c5c8b;
    color: white;
}


    .btn-primary:hover, .btn-primary:focus {
        background-color: #111;
    }

.navbar-inverse .navbar-nav > li > a:hover {
    background-color: #4c5c8b;
    color: #fff;
}

.navbar-inverse .navbar-nav .dropdown-menu > li:hover > a, .navbar-inverse .navbar-nav .dropdown-menu > li:focus > a, .navbar-inverse .navbar-nav .dropdown-menu > li.active > a {
    background-color: #4c5c8b;
    color: #fff;
}

.nav-link, .nav-link:hover {
    color: #4c5c8b;
    font-weight: 550;
}


.note-btn {
    font-size: 10px;
    padding: 2px 3px 2px 3px;
    min-height: 10px;
}


h2 a {
    font-size: 20px;
}

.nav-tabs {
    /*
    border-bottom: 1px solid #e6e6e6;

    border-bottom: 1px solid;
    border-left: 0;
    border-color: #bbbbbb;
    padding: 0px;
    */
}

button.nav-link.active {
    font-weight: 900;
}


span.ui-autocomplete-input {
    padding: 4px 6px 2px 6px;
    line-height: 1.0;
    min-height: 10px;
}
