:root{
    // --nav-transition: left 0.2s ease;
    --nav-transition: none;
    --primary-bg-color: #f2f2f2;
    --secondary-bg-color: #ffffff;
    --text-color: #000000;
    --link-hover-color: #e6e6e6;
    --border-radius: 8px;
    --font-size-base: var(--sco-font-size-headline5);
    --font-size-heading: var(--sco-font-size-headline5);
    --font-family: Lato-Black, Helvetica, Arial, sans-serif;
    --font-family-regular: Lato-Regular, Helvetica, Arial, sans-serif;
}

.c-navigation--wrapper {
    /*width: 100%;*/
    height: 100%;
    position: fixed;
    background: var(--primary-bg-color);
    top: 0;
    left: 0;

    @media print {
        display: none !important;
        width: 0 !important;
    }

}

#navigation {
    left: -270px;
    background: var(--secondary-bg-color);
    color: var(--text-color);
    width: 270px;
    height: 100%;
    overflow-y: auto;
    position: absolute;
    z-index: 1001;
    transition: var(--nav-transition);
    display:flex;
    flex-direction:column;
    font-weight: unset;
    font-family: var(--font-family-regular);
}

#navigation.nav-visible {
    left: 0;
    position: fixed;
}

#navigation .nav-more,
#navigation .nav-less{
    float: right;
    padding: 0px 20px 0px 10px;
    position: relative;
    top: 2px;
    left: 15px;
}

#navigation .nav-more:before,
#navigation .nav-less:before{
    font-family: "Font Awesome 7 Pro";
    font-weight: 900;
    font-style: normal;
    display: inline-block;
    text-decoration: inherit;
    line-height: 1;
}

#navigation .nav-topnavi .nav-item-icon {
    box-sizing: border-box;
    font-family: "Font Awesome 7 Pro" !important;
    font-weight: 900;
    display: inline-block;
    text-decoration: inherit;
    line-height: 1;
    padding-right: 8px;
    width: 28px;
    text-align: center;
}

#navigation .nav-more:before {
    content: "\F105";
    position: absolute;
    right: 4px;
}

#navigation .nav-less:before {
    content: "\F107";
    position: absolute;
    right: 10px;
}

#navigation.c-navigation--wrapper{
    left: -400px;
    width: 400px;
}

#navigation .nav-icon {
    font-family: "Font Awesome 7 Pro";
    padding: 5px;
}

#navigation .nav-info {
    flex: 0
}

#navigation .c-nav-info {
    box-sizing: border-box;
    flex:0;
    display: flex;

    font-family: var(--font-family-regular);
    font-size: var(--font-size-base);
    color: var(--text-color);
    line-height: 1.5;
    padding: 20px 20px 10px 20px;
}

#navigation .nav-topnavi {
    flex: 0;
    margin-top: 20px;
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

#navigation .nav-topnavi > li {
    padding: 0 10px 0 0;
    margin: 0;
}

#navigation .nav-topnavi a {
    padding: 5px 20px;
    transition: left .2s;
    background: var(--secondary-bg-color);
    display: block;
}

#navigation .nav-topnavi a:hover {
    background: var(--link-hover-color);
    border-radius: var(--border-radius);
}

#navigation .nav-topnavi a > span {
    font-family: var(--font-family);
    /*font-weight: 700;*/
    font-size: var(--font-size-heading);
    line-height: 30px;
    color: #262626;
}

#navigation .nav-subnavi {
    padding: 0px;
    margin: 0px;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s cubic-bezier(0, 1, 0, 1) -.1s;

    li {
        a {
            font-family: var(--font-family);
            /*font-weight: 600;*/
            font-size: var(--font-size-base);
            line-height: 30px;
            color: #262626;
            padding-left: 50px;
        }
    }
}

#navigation ul.nav-subnavi.active {
    opacity: 1;
    visibility: visible;
    max-height: 1000px;
    transition: max-height 0.3s cubic-bezier(0.5, 0, 1, 0),
                opacity 0.3s cubic-bezier(0.5, 0, 1, 0) 0s,
                visibility 0s cubic-bezier(0.5, 0, 1, 0) 0s;
}

#navigation .c-header--logo {
    flex: 0;

    img {
        margin-top: 7px;
        margin-left: 20px;
        height: 40px !important;
    }
}

#header .nav-btn {
    font-family: "Font Awesome 7 Pro";
    font-size: 18px;
    color: var(--text-color);
    cursor: pointer;
    display: inline-block;

    padding: 10px;
    line-height: 1;
    border-bottom: none;
}

#navigation .nav-btn {

    font-size: 18px;
    color: var(--text-color);
    cursor: pointer;
    display: inline-block;

    padding: 10px;
    line-height: 27px;
    border-bottom: none;
}

#navigation:not(.nav-visible){
    transition: var(--nav-transition);
}

#header{
    flex: 0;
    white-space: nowrap;
    padding: 5px 20px 0 20px !important;
    /*flex-basis: 60px;*/
}

#header .c-header--line1{
    box-sizing: border-box;
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 30px;
    text-size-adjust: 100%;
    height: 46px;
    display: flex;
}

#navigation .nav-btn:before {
    font-family: "Font Awesome 7 Pro";
    font-weight: 900;
    font-style: normal;
    display: inline-block;
    text-decoration: inherit;
    line-height: 1;
    padding-right: 0;
}

#navigation .nav-btn:hover {
    background: #78b928;
}

#navigation .nav-btn:last-child {
}

#navigation .nav-btn-settings:before {
    font-weight: 900;
    content: "\F013";
}

#navigation .nav-btn-question:before {
    font-family: "CPSIcons";
    font-weight: normal;
    content: "\ea09";
    color: black;
    position: relative;
    top: 3px;
}

#navigation .nav-btn-copilot:before {
    font-weight: 900;
    content: "\e14f";
}

#navigation .nav-btn-maps:before {
    font-weight: 900;
    content: "\f279";
}

#navigation .nav-btn-docucenter:before {
    font-weight: 900;
    content: "\f5db";
}

#navigation .nav-btn-logout:before {
    font-weight: 900;
    content: "\F08B";
}
#nav-btn-menu.nav-btn.nav-btn-menu {
    font-family: var(--font-family);
    font-weight: 300;
    display: inline-block;
    box-sizing: border-box;
    line-height: 36px;
    font-size: 24px;
    padding: 5px 20px 5px 20px;
    cursor: pointer;
    margin-left: -20px;
    top: 5px;
    position: relative;
    flex: 0 0 60px;
}
#nav-btn-menu.nav-btn-menu:before {
    font-family: "Font Awesome 7 Pro";
    box-sizing: border-box;
    font-weight: 900;
    font-style: normal;
    display: inline-block;
    text-decoration: inherit;
    line-height: 1;
    content: "\f0c9";
    color: var(--text-color);
    padding-right: 0;
}

#navigation .nav-info-user {
    box-sizing: border-box;
    font-size: var(--sco-font-size-headline6);
    display: flex;
    align-items: center;
    margin: 10px 0 10px 0;
}

#navigation .nav-info-userpicture {
    box-sizing: border-box;
    flex-basis: 50px;
    height: 40px;
    flex-shrink: 0;
    flex-grow: 0;
}

#navigation .nav-info-userpicture img {
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    border-radius: 22px;
    border: 2px solid #ffffff;
}

#navigation .nav-info-action {
    height: auto;
    padding: 0px 20px 12px 10px;

    > a {
        color: var(--text-color);
        padding: 7px 10px;
        font-size: 16px;
        transition: color .3s, background-color .5s;

        &:hover {
            background: var(--link-hover-color);
        }
    }
}

body {
    min-height: 100%;
    height: 100%;
    overflow-x: hidden;
}

html.nobounce,
body.nobounce {
    overflow-x: hidden;
    /*background: red;*/
    border-right: 1px solid white;
    -webkit-overflow-scrolling: auto;
}


#masterContainer {
    min-height: 100%;
    height: auto;
    overflow-y: hidden;
    position: absolute;
    top: 0px;
    background: var(--primary-bg-color);
    display: flex;
    flex-direction: column;
    left:0;
}

#masterContainer {
    position: absolute;
    transition: var(--nav-transition);

    &:not(.nav-visible){
        width: 100%;
    }

    &.nav-visible {
        width: calc(100% - 270px);
        left: 270px;
        @media print {
            width: calc(100%);
            left: 0;
        }
    }
}

#masterContainer.nav-visible #header {
    width: calc(100vw - 400px - 20px - 20px);
}
#masterContainer #mainContent{
    width: 960px;
    flex: 1 1 auto;
    padding: 0px 20px 0px 20px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background-color: var(--primary-bg-color);

    &:before {
        content: '';
        display: block;
        height: 20px;
        flex: 0;
        flex-shrink: 0;
        flex-basis: 12px;
    }
}


#mainContent > h1, #mainContent > p {
    font-size: var(--font-size-heading);
    color: #444;
    padding: 15px 15px;
    margin-bottom: 2px;
    border-bottom: 1px solid #ddd;
}


#navigation .spacer {
    height: 0;
}

.c-header--heading {
    float: left;
    box-sizing: border-box;
    height: calc(64px - 13px);
    padding-top: 6px;
    display: inline-block;
    font-family: univers-light;
    font-size: 20px;
    color: #444444;
    letter-spacing: 0.15px;
}

.c-header--line1-inline {
    text-align: right;
    padding-top: 12px;
}

/***
 * jQuery UI specific styling
 */
.paging_two_button .fg-button {
    float: left;
    cursor: pointer;
    *cursor: hand;
}

.dataTables_paginate.paging_full_numbers .fg-button {
    /*background: none repeat scroll 0 0 #E5E5E6;*/
    /*background-position: 0 -8px;*/
    cursor: pointer;
    font-weight: normal;
    opacity: 1;
    padding: 2px 6px;
    /*border: 1px solid #CFCFCF;*/
    background: transparent;
}

.dataTables_paginate.paging_full_numbers .fg-button.ui-state-disabled {
    /*background: url("../images/util/schueco_util_gradient_bg.png") repeat-x scroll 0 -7px #D1D1D1;*/
    /*color: #FFFFFF;*/
    color: #78b928;

    /*opacity: 1;*/
}

div.dataTables_paginate .first, div.dataTables_paginate .previous {
    /*background: #E5E5E6;*/
}

#inboxTable_first, #inboxTable_previous, .dataTables_paginate .next, .dataTables_paginate .last {
    /*background: none repeat scroll 0 0 #E5E5E6 !important;*/
    color: #5E636B !important;
}

#history_paginate .first, #history_paginate .previous, #history_paginate .next, #history_paginate .last, .previous {
    /*background: none repeat scroll 0 0 #E5E5E6 !important;*/
    color: #5E636B;
}

.fg-toolbar {
    padding: 5px;
}

.dataTables_paginate {
    width: auto;
}

table.display thead th {
    padding: 3px 0px 3px 10px;
    cursor: pointer;
    *cursor: hand;
}

/* Pagination nested */
.paginate_disabled_previous, .paginate_enabled_previous, .paginate_disabled_next, .paginate_enabled_next {
    height: 19px;
    width: 19px;
    margin-left: 3px;
    float: left;
}

#breadcrumbs {
    margin: 10px 0 10px 15px;
}

body {
    @media print {
        zoom: 70%;
    }
}
