html {
    scroll-behavior: smooth
}

html.nofullscroll{ overflow:hidden;}

body {
    font-size: 13px;
    padding-bottom: 60px;
    min-height:100vh;
}

h1 {
    font-family: 'Nunito Sans', sans-serif !important;
}

@media (max-width: 767px) {
    .hidden-xs {
      display: none !important;
    }
  }
  @media (min-width: 768px) and (max-width: 991px) {
    .hidden-sm {
      display: none !important;
    }
  }
  @media (min-width: 992px) and (max-width: 1199px) {
    .hidden-md {
      display: none !important;
    }
  }
  @media (min-width: 1200px) {
    .hidden-lg {
      display: none !important;
    }
  }

#topnav .topbar-main .logo {
    color: #eee !important;
    font-size: 10px;
    font-weight: 200;
    letter-spacing: 0.5px;
    line-height: 11px;
    text-transform: none;
}

#topnav .topbar-main .logo span {
    padding-left: 15px;
}

#topnav .topbar-main {
    background-color: #1a262f;
}

#topnav .navbar-custom {
    background-color: #970C0C;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
    padding-left: 0;
}

#topnav .navigation-menu > li .submenu {
    display: block !important;
}

#topnav .navigation-menu > li .submenu.megamenu > li {
    width: auto;
}

@media (max-width: 991px) {
    #topnav .navigation-menu {
        height: max-content;
        max-height: calc(100vh - 63px);
    }
    #topnav .navigation-menu > li > a {
        font-size: 18px;
    }
}

#navigation {
    scrollbar-width: none;
}

label {
    font-weight: 600;
    font-size: 12px !important;
    padding-top: 2px !important;
}

hr {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.fa-exclamation-triangle {
    color: orange;
}

.fa-info-circle {
    color: #238AE6;
    font-size: 110%;
}

.footer {
    padding: 4px 0;
}

.btn {
    margin-bottom: 4px;
}

.btn-white {
    margin-bottom: 0 !important;
    border-color: #ced4da !important;
}

/* colorpicker button*/

#messenger {
    box-shadow: 0px 0px 28px rgba(0, 0, 0, 0.2);
    border: 2px #6fd088 solid;
}

.isDisabled {
    cursor: default;
    /*opacity: 0.5;*/
    color: #666 !important;
}

a[aria-disabled="true"] {
    color: currentColor;
    display: inline-block; /* For IE11/ MS Edge bug */
    pointer-events: none;
    text-decoration: none;
}

.eintrag_details {
    display: none;
}

/* ------------------------------------------- */
.logo-txt {
    display: none;
}

@media (min-width: 768px) {
    .pad-this {
        padding: 6px 0 0 0;
    }

    .logo-txt {
        display: inline-block
    }

    .logo-txt div {
        position: relative;
        height: 70px;
        width: 445px;
        margin: -1px 0 -24px;
    }

    .logo-txt p {
        margin: 0;
        position: absolute;
        top: 50%;
        transform: translate(0, -59%)
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 30px;
    }

    .licht {
        display: none;
    }
}


.user-badge {
    background: #af22a4;
    font-size: 18px;
    height: 36px;
    width: 36px;
    text-align: center;
    line-height: 36px;
    display: inline-block;
    font-family: 'Nunito Sans', sans-serif;
}

.up-down-group {
    margin: 0px 2px 4px 2px;
    line-height: 0;
    display: inline-block;
    vertical-align: middle;
}

.up-down-group .btn-up-down {
    padding: 0 4px;
    background: #ccc;
    margin: 0;
    line-height: 0;
    max-height: 16px;
    display: block;
    font-size: 11px;
    border: 1px #bbb solid;
}

.up-down-group-sm .btn-up-down {
    max-height: 11px;
}

.disabled {
    cursor: not-allowed;
}

.side-bar a.btn:hover {
    background: #0B8DDD !important;
    color: #fff;
}

.form-control {
    font-size: 13px;
    padding: 3px 4px 2px
}

/* Anlagen */
#table-att {
    width: 100%;
    max-width: 700px;
}

#table-att td {
    line-height: 1;
    padding: 3px 0;
}

#table-att td hr {
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

#table-att tr {
    border-bottom: 1px #eee solid;
}

#table-att tr:last-child {
    border-bottom: none;
}

#table-att td:first-child {
    width: 60px;
}

#table-att td:last-child {
    width: 80px;
}

.gray-link {
    color: lightgray;
}

.gray-link:hover {
    color: gray;
}

.opa-link {
    opacity: 0.3;
    transition: all .2s ease-in-out
}

.opa-link:hover {
    opacity: 1;
}

/* Gliederung*/
i.open-options {
    margin-left: 5px;
    padding-right: 1px;
    transition: 0.1s linear;
}

i.open-options:hover {
    color: #970C0C;
    cursor: pointer;
    margin-right: 10px;
}

.option-box, .adv-option-box {
    display: none;
    padding: 6px 0 12px 20px;
}

#gliederung_3 strong, #gliederung_3 a {
    font-weight: normal;
    font-size: 13px !important;
    line-height: 18px;
    padding: 3px 0;
}

#gliederung_3 strong {
    font-weight: 600;
    cursor: default;
}

.adv-options {
    display: none;
}

.adv-active {
    display: block;
}

.input-900 {
    max-width: 760px;
}


.bereich-schalt {
    float: left;
    -webkit-transform: none;
    transform: none;
    transition: all 130ms ease-in-out;
}

.bereich-schalt:hover {
    cursor: pointer;
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
    transition: all 130ms ease-in-out;
}

/* Handbuch bearbeiten*/
p.pulse {
    background-color: #0B8DDD;
    -webkit-animation: color 2s linear infinite;
    -moz-animation: color 2s linear infinite;
    -ms-animation: color 2s linear infinite;
    animation: color 2s linear infinite;
}

/* keyframes */
@keyframes color {
    0% {
        background-color: #0B8DDD;
    }
    50% {
        background-color: #004c82;
    }
    100% {
        background-color: #0B8DDD;
    }
}

@-moz-keyframes color {
    0% {
        background-color: #0B8DDD;
    }
    50% {
        background-color: #004c82;
    }
    100% {
        background-color: #0B8DDD;
    }
}

@-webkit-keyframes color {
    0% {
        background-color: #0B8DDD;
    }
    50% {
        background-color: #004c82;
    }
    100% {
        background-color: #0B8DDD;
    }
}


.open_edit {
    transition: all 0.15s ease-in-out;
}

.open_edit:hover {
    cursor: pointer;
    background: rgba(0, 240, 0, 0.1);
    margin: -6px;
    padding: 6px;
}

.tree-number {
    float: left;
    display: block;
    font-size: 16px;
    padding: 3px 12px 0 0;
}

/* .badge {box-shadow: 2px 2px 8px rgba(0,0,0, 0.2);} */

.badge-edit {
    display: inline-block;
    border-radius: .25rem;
    background: #ffc000;
    color: #000;
    padding: 3px 2px;
    font-size: 10px;
    line-height: 15px;
    margin-left: 6px;
}

.badge-show {
    display: inline-block;
    border-radius: .25rem;
    background: #0B8DDD;
    color: #fff;
    padding: 3px 2px;
    font-size: 10px;
    line-height: 15px;
    margin-left: 6px;
}

.badge-frei {
    display: inline-block;
    border-radius: .25rem;
    background: #5CCA78;
    color: #000;
    padding: 3px 2px;
    font-size: 10px;
    line-height: 15px;
    margin-left: 6px;
}

.badge-conf {
    display: inline-block;
    border-radius: .25rem;
    background: #999;
    color: #fff;
    padding: 3px 2px;
    font-size: 10px;
    line-height: 15px;
    margin-left: 6px;
}

#go-back {
    position: fixed;
    margin-left: -61px;
    border: none;
    border-radius: 0;
    border-top-left-radius: 10%;
    border-bottom-left-radius: 10%;
    font-size: 2.5em;
    padding: 0px 15px;
}

.hidden-xs-up {
    display: none !important
}

@media (max-width: 575px) {
    .hidden-xs-down {
        display: none !important
    }
}

@media (min-width: 576px) {
    .hidden-sm-up {
        display: none !important
    }
}

@media (max-width: 767px) {
    .hidden-sm-down {
        display: none !important
    }
}

@media (min-width: 768px) {
    .hidden-md-up {
        display: none !important
    }
}

@media (max-width: 991px) {
    .hidden-md-down {
        display: none !important
    }
}

@media (min-width: 992px) {
    .hidden-lg-up {
        display: none !important
    }
}

@media (max-width: 1199px) {
    .hidden-lg-down {
        display: none !important
    }
}

@media (min-width: 1200px) {
    .hidden-xl-up {
        display: none !important
    }
}

.hidden-xl-down {
    display: none !important
}

.btn-editing {
    width: 28px;
    height: 28px;
    line-height: 28px;
    padding: 0;
    text-align: center;
    font-size: 16px;
}

div.anker {
    position: absolute;
    margin-top: -140px;
}

.btn-sm {
    font-size: 12px !important;
    padding: 2px 6px !important;
}

.btn-right-10 {
    float: right;
    margin-bottom: 10px;
}

.popover {
    max-width: none;
}

tr.offline {
    background: rgba(242, 23, 63, 0.2) !important;
}

tr.offline td {
    color: rgba(0, 0, 0, 0.4)
}

.table td {
    padding: 8px 10px 6px !important
}

input.file {
    border: 1px solid #ced4da;
    padding: 4px;
    margin: -4px 0 -3px 15px;
    border-radius: 4px;
}

.gliederung input {
    float: left;
    width: 45px;
}

.gliederung span {
    float: left;
    margin: 8px 6px 0;
    font-weight: bold;
}

.popover {
    opacity: 0.85 !important;
}

.popover-bg {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #222;
    opacity: 0.4;
}

.popover-loeschen {
    position: absolute;
    z-index: 1;
    width: 500px;
    top: 20%;
    left: 50%;
    margin-left: -250px;
    background: #fff;
    border-radius: .25rem;
    border: 1px solid rgba(0, 0, 0, .125);
    box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    padding: 25px;
}

.popover-loeschen a.btn {
    color: #fff !important;
}

div.ausgabe {
    border-bottom: 1px #f6f6f6 solid;
    margin-bottom: 10px;
}

/* Table scroller */
div.ausgabe table {
    border-color:rgba(0,0,0,0.5);
    margin-bottom:10px;
}
div.ausgabe table td, div.ausgabe table th {
    vertical-align: top;
    border-color:rgba(0,0,0,0.5);
    padding: 2px 4px;
}

@media (max-width: 991px) {
    /* Table scroller */
    div.ausgabe table {
        font-size: 10px;
    }
}

div.linkset a::after {
    content: '';
    background: url('data:image/svg+xml; utf8, <svg height="1024" width="768" xmlns="http://www.w3.org/2000/svg"><path d="M640 768H128V257.90599999999995L256 256V128H0v768h768V576H640V768zM384 128l128 128L320 448l128 128 192-192 128 128V128H384z"/></svg>');
    background-size: cover;
    display: inline-block;
    width: 0.6em;
    height: 0.75em;
    top: 0.05em;
    position: relative;
    left: 0.25em;
    margin-right: 0.3em;
    opacity: .4;
}

div.linkset a:hover::after {
    opacity: .6;
}

#sitemap li {
    list-style: none !important;
}

#sitemap ul {
    list-style: none !important;
    margin-left: -40px;
}

#sitemap ul li ul {
    list-style: none !important;
    margin-left: -20px;
}

#mein-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #e2eaef;
}

#mein-footer, #mein-footer a, #mein-footer a#heart {
    padding: 10px 0 10px 0;
    font-size: 12px;
    color: #96b4c5 !important;
    transition: all 0.5s ease-in-out;
}

#mein-footer a:hover {
    color: #6390a9 !important;
}

#mein-footer a#heart:hover {
    color: #970C0C !important;
}

.top-btn-bar {
    position: fixed;
    position: sticky;
    top: 124px;
    top: 124px;
    background: #fff;
    margin: 0 -20px;
    padding: 10px 20px;
    z-index:1000;
    transition: top .5s ease;
}

.top-btn-bar:nth-first-child() {
    padding-top: 10px;
    position: static;
    top: inherit;
    background: none;
    padding-bottom: 0;
    margin: 0;
}

@media (max-width: 991px) {
    .top-btn-bar {
        top: 66px;
    }
    .top-btn-bar .btn  {
        font-size:12px;
        padding: 4px 6px;
     }
}

/* @media (max-width: 556px) {
    .top-btn-bar {
        top: 48px;
    }
} */

.sticky-side {
    position: fixed;
    position: sticky;
    top: 33px;
    bottom: 10px;
    overflow-y: auto;
    max-height: calc(100vh - 128px);
    scrollbar-width: thin;
}

@media (max-width: 991px) {
    .sticky-side {
        top: 55px;
        max-height: calc(100vh - 55px);
    }
}

@media (max-width: 750px) {
    .sticky-side {
        position:relative;
        top:0;
        max-height:100%;
    }
}

ins {
    background-color: #ccffcc !important;
    margin: 0 !important;
    text-decoration: none !important;
}

del {
    background-color: #ffcccc !important;
    margin: 0 !important;
}

/*##############################################################################################*/
/*##############################################################################################*/
/*##############################################################################################*/

/* Grid Aufteilung Buttons */
.ansichtsaufteilung {
    position: absolute;
    right: 15px;
}

.ansichtsaufteilung div {
    display: inline-block;
    border: 1px #212529 solid;
    border-radius: 4px;
    margin: 0 0 0 15px;
    padding: 2px 6px;
    cursor: pointer;
}

.ansichtsaufteilung div.aktiv, .ansichtsaufteilung div:hover {
    background: #777;
    color: #f5f5f5;
    border-color: #666;
}

/* Handbuch anzeigen */
.inhalt-ausgabe-header h1 {
    margin: 6px -20px;
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    background: #e5e5e5;
    color: #222;
    padding: 4px 20px !important;
    text-align: center
}

.inhalt-ausgabe-header h2 {
    margin: 0 0 4px 0;
    font-size: 14px !important;
    line-height: 20px;
}

.inhalt-ausgabe-header span {
    display: block;
    text-align: center;
    margin: 0 0 6px 0;
    padding-bottom: 4px;
    /* border-bottom: 1px #ddd solid; */
    font-size: 12px !important;
    line-height: 16px;
}

.inhalt-ausgabe-header table {
    width: 100% !important;
    margin-bottom: 20px
}

.inhalt-ausgabe-header table tbody tr td {
    width: 33.33% !important;
}

.inhalt-ausgabe-body h3 {
    margin: 0 0 4px 0;
    font-size: 14px !important;
    line-height: 18px;
    text-transform: uppercase;
}

.inhalt-ausgabe-body div {
    padding-left: 20px;
}

.inhalt-ausgabe .a {
    font-weight: normal !important;
    font-size: 16px !important;
}

.inhalt-ausgabe img {
    max-width: 100%;
    height: auto !important;
}

.inhalt-ausgabe .strong {
    font-weight: bold !important;
    font-size: 16px !important;
    color: #333 !important;
    cursor: pointer;
}

.inhalt-ausgabe .ui-icon {
    color: #999 !important;
}

.inhalt-ausgabe .strong:hover {
    color: #970C0C !important;
}

.inhalt-ausgabe .lvl-2 {
    padding-left: 20px;
}


/* Vorschlagboxen */
.btn-pin, .btn-min, .btn-max {
    position: relative;
    float: right;
    border-radius: 4px;
    background: #777;
    box-shadow: #444 1px 1px 3px;
    padding: 2px 7px 1px;
    cursor: pointer;
    user-select: none;
}

.btn-min, .btn-max {
    margin-right: 10px;
}

.btn-max {
    margin-left: 20px;
    display: none;
}

.btn-pin:hover, .btn-min-max:hover {
    background: #0B8DDD;
}

.badge-vorschlag {
    font-size: 100%;
    font-weight: 400;
    margin: 0 10px 0 -10px
}

.vorschlag-box {
    box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.15);
    border-radius: .25rem;
    padding: 0;
    margin-bottom: 1.25rem;
    font-size: 12px;
    background: #fff;
}

.vorschlag-header {
    background: #555;
    color: #fff;
    padding: 10px 10px 10px 20px;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    min-height: 40px
}

.vorschlag-content {
    padding: 20px 20px 0px;
    display: block;
    word-wrap: break-word;
}

.vorschlag-footer {
    padding: 20px 20px 16px;
}

/* --------------- */

.go-up {
    position: fixed;
    bottom: -6px;
    left: 0.6%;
    z-index: 1;
    display: none;
}

.go-up a {
    font-size: 2em;
    padding: 2px 10px 6px;
    color: #fff !important;
    border-radius: 0.25rem;
}

.search-success {
    background: #ccffcc;
    color: #000;
    display: inline-block;
}

tr.search-link {
    transition: background 0.2s ease
}

tr.search-link:hover {
    cursor: pointer;
    background: rgb(224, 255, 224) !important;
}

.dash-1-show, .dash-2-show, .dash-3-show, .dash-4-show, .show-dash-1-close, .show-dash-2-close, .show-dash-3-close, .show-dash-4-close, .nutzer_list {
    display: none;
}

.dash-jumplink{ display:inline-block; margin-right: 10px; }
.dash-jumplink:nth-of-type(1){ margin-left: 25px; }

@media (max-width: 991px) {
    .dash-jumplink{ display:inline-block; margin-right: 10px; margin-top:12px; margin-bottom:-6px;}
    .dash-jumplink:nth-of-type(1){ margin-left: 0px; }
}

#admin_anlagen_table { margin: 15px 20px; padding: 15px; background: #f5f5f5; border: 1px #eee solid; }

#admin_anlagen_table td { padding: 2px 4px; border: none !important;border-bottom: 1px #ddd solid !important; }

#book_was_output{font-size: 16px;font-weight: bold;}

.changelog-hr hr:last-of-type { display: none;}


/* // Topbar Ausgabe mit openWindow --> function in a_config_basic.php */
.btn-print, .btn-print:active, .btn-print:focus, .btn-print:visited { background-color: #0f9cf3!important;border: 1px solid #0f9cf3!important;color:#fff!important;text-decoration: none!important;opacity:0.9;transition: all .25s ease ;}
.btn-print:hover {opacity:1;}

.new-tab-top-bar {position:fixed; z-index:1; top:0px; left:0; right:0; padding:15px 60px; box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6); background-color: #1a262f; color: #fff;}
.new-tab-top-bar-spacer {position:relative; z-index:0; padding:15px 60px; height:70px;}
.new-tab-top-bar .button-holder {display:inline-block; margin-right:30px;}


/* Mobile Ansicht - vergrößerung der Eingabemasken & Übersichen -> Admin Bereich */
@media (max-width: 991px) {
    .mobile-panel-view{margin-left:-20px;width:calc(100% + 40px)}
    .mobile-panel-view div > table{min-width:calc(100% + 20px);margin-left:-10px}
    /* Aktion Buttons */
    .mobile-panel-view .btn-editing:first-child{ min-width: 60px !important;}
    .mobile-aktion-view{ min-width: 60px !important; max-width: 60px !important;}
}

@media (max-width: 991px) {
    .header-title {
        letter-spacing: 0;
        font-size: 10px;
        line-height: 14px;
        font-weight: normal;
    }
    .inhalt-ausgabe-header h1 {
        margin: 0px -20px 12px;
        font-size: 17px;
        line-height: 24px;
        padding: 6px 20px !important;
    }
    .inhalt-ausgabe>table tbody tr td:nth-child(1) {display:none;}
    .inhalt-ausgabe>table tbody tr td:nth-child(2) {text-align: left!important; width:300px;}
    .inhalt-ausgabe>table tbody tr td:nth-child(2) img {max-width: 150px;}
}

/* Toggle switch */
.toggle-control {
    display: block;
    position: relative;
    padding-left: 40px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    user-select: none;
}
.toggle-control input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.toggle-control input:checked ~ .control {
    background-color: dodgerblue;
}
.toggle-control input:checked ~ .control:after {
    left: 23px;
}
.toggle-control .control {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 40px;
    border-radius: 10px;
    background-color: rgba(125, 125, 125, 0.5);
    transition: background-color 0.15s ease-in;
}
.toggle-control .control:after {
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 14px;
    height: 14px;
    border-radius: 10px;
    background: white;
    transition: left 0.15s ease-in;
}

/* Verstecken der TopNavigation bei Scrolldown */
header.hide{
	top:-124px!important;
}
header.hide.active{
	top:0;
}
@media (max-width: 991px) {
    header.hide{
        top:-66px!important;
    }
    header.hide.active{
        top:0;
    }
}

/* Hochsetzten der top-btn-bar bei Scrolldown */
.top-btn-bar-hide{
    top:0!important;
}
.top-btn-bar-hide.active{
    top:124px;
}
@media (max-width: 991px) {
    .top-btn-bar-hide{
        top:0!important;
    }
    .top-btn-bar-hide.active{
        top:66px;
    }
}