@font-face {
    font-family: Electrome;
    src: url(fonts/sf-electrome.ttf);
}

/* Bootstrap Override */

h1.post-title-main {
    margin-top: 0px;
}

.container {
    position: relative;
    max-width: 1400px;
    width: 100%;
}

header .container {
    padding-left: 110px;
}

.navbar {
    background: #2d79ae;
    box-shadow: 0 2px 1px 0 rgba(0,0,0,0.3);
    border: none;
    min-height: auto;
    margin-bottom: 0px;
}

.navbar-nav {
    float: none !important;
}

.navbar .nav > li > a {
    color: white;
    font-size: 15px;
    padding: 10px 15px;
    font-weight: bold;
    margin: 0px !important;
    background-color: transparent;
}

.nav > li > a:hover {
    background-color: rgba(0,0,0,0.2);
}

.nav .open > a,
.nav .open > a:focus,
.nav .open > a:hover {
    background-color: rgba(0,0,0,0.25);
}

.nav > li { margin: 0px; }

.navbar-toggle {
    padding: 8px;
    margin: 11px 0px;
    border: 2px solid white;
    border-radius: 2px;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.3), inset 0 2px 4px 0 rgba(0,0,0,0.3);
}

.navbar-toggle .icon-bar {
    width: 24px;
    height: 3px;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.3);
    background: white;
}

.navbar-collapse {
    clear: both;
}

.navbar .nav .dropdown-menu {
    padding: 8px 0;
    background: white;
    border-radius: 0px;
}
.navbar .nav .dropdown-menu > li { margin: 0px; }
.navbar .nav .dropdown-menu > li a {
    background-color: transparent;
    padding-left: 10px;
    padding: 4px 24px 4px 18px;
    border: none;
    font-size: 15px;
    line-height: 20px;
}
.navbar .nav .dropdown-menu > li.dropdownActive a {
    font-weight: bold;
    background-color: rgba(0,0,0,0.1);
    color: #007cbc;
}

.grpw-sidebar {
    position: absolute;
    overflow-y: auto;
    border-right: 2px solid #f0f0f0;
    padding: 10px;
    box-sizing: border-box;
    width: 250px;
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
}

ul#mysidebar {
    width: auto !important;
    margin: 0 -10px 0px 0px !important;
    overflow-y: auto;
    overflow-y: overlay;
    padding: 10px 0;
}

ul#mysidebar li { margin: 0 !important; }

ul#mysidebar > li:not(:last-child) { border-bottom: 1px solid #d6d6d6; }

ul#mysidebar > li a {
    background: transparent;
    color: black;
}

ul#mysidebar > li > ul  a {
    font-size: 13px;
}

ul#mysidebar li.active a { color: #2d79ae; }

ul#mysidebar > li > a { font-weight: bold; }

ul#mysidebar > li > ul { padding-left: 10px; }

.grpw-sidebar .nav::-webkit-scrollbar,
nav#toc::-webkit-scrollbar {
    height: 4px;
    width: 4px;
}

.grpw-sidebar .nav::-webkit-scrollbar-thumb,
nav#toc::-webkit-scrollbar-thumb { background: darkgrey; } { background: darkgrey; }

@media (max-width: 720px) { 
    .grpw-sidebar {
        position: relative !important;
        top: 0px !important;
        max-height: 100% !important;
        width: auto;
        max-width: unset;
        border: none;
        padding: 0px;
        margin: 0 -15px;
        width: calc(100% + 30px);
    }

    .sidebarTitle {
        margin-right: 0px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    ul#mysidebar {
        margin: 0px !important;
    }

    ul#mysidebar > li {
        padding: 0 15px !important;
    }
}

#main article { padding: 20px 15px 70px; box-sizing: border-box; }
#main article:after {
    clear: both;
    display: table;
    height: 0px;
    visibility: hidden;
    content: "";
}
@media (min-width: 721px) { 
    #main nav.grpw-sidebar ~ article { margin-left: 275px; }
}

nav#toc {
    display: none;
    width: 250px;
    float: right;
    position: relative;
    top: 10px;
    padding: 10px 10px 10px 0px;
    border-left: 5px solid #2d79ae;
    overflow-y: auto;
    overflow-y: overlay;
}

nav#toc ul {
    padding: 5px;
    margin-bottom: 0px;
}

nav#toc ul li {
    margin: 8px 0px 8px 22px;
    /* font-size: 90%; */
    list-style: square;
}

nav#toc >ul::before {
    content: "Inhaltsverzeichnis";
    font-weight: bold;
    color: #555;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 70px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10px;
}

nav#toc >ul ul {
    padding: 0px;
}

nav#toc >ul ul li {
    margin: 0px 0px 0px 10px;
}

@media (min-width: 1200px) {
    div#toc {
        display: none;
    }

    nav#toc { display: block; }

    #main nav#toc ~ article { margin-right: 275px; }
}

#main { min-height: calc(100vh - 232px); }

/* h1[id], h2[id], h3[id], h4[id], h5[id], h6[id], dt[id] { clear: both; } */

blockquote {
    font-size: inherit !important;
    border: 1px solid #eee;
    border-left-width: 10px;
}

/* W Styles */

header .grpw-header {
    background: #272727;
    height: 60px;
    position: relative;
    z-index: 10000;
    box-shadow: 0 2px 1px 0 rgba(0,0,0,0.3);
}

header .grpw-header .navbar-brand {
    color: white;
    height: 60px;
    font-size: 36px;
    line-height: 36px;
    padding: 12px 15px;
}

span.projectTitle {
    font-family: Electrome, Helvetica;
    font-size: inherit;
}

header .grpw-header .logo-container > a {
    position: absolute;
    left: 15px;
    display: block;
    z-index: 100000;
    filter: drop-shadow(0 2px 1px rgba(0,0,0,0.3));
    top: 8px;
    cursor: pointer;
}

header .grpw-header .logo-container > a > img {
    height: 85px;
    width: 85px;
    display: block;
}

.summary {
    background-color: #E0E0E0;
    color: #000000;
    border-left: 5px solid #007cbc;
    font-size:16px;
}


h3 {color: #007cbc; }
h4 {color: #808080; }

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    background-color: #007cbc;
    color: white;
}

.nav > li.active > a {
    background-color: #006fbc;
}

div.navbar-collapse .dropdown-menu > li > a:hover {
    background-color: #007cbc;
    color: white;
}

.nav li.thirdlevel > a {
    background-color: #FAFAFA !important;
    color: #007cbc;
    font-weight: bold;
}

a[data-toggle="tooltip"] {
    color: #649345;
    font-style: italic;
    cursor: default;
}

.navbar-inverse {
    background-color: #006fbc;
    border-color: #015CAE;
}
.navbar-inverse .navbar-nav>li>a, .navbar-inverse .navbar-brand {
    color: white;
}

.navbar-inverse .navbar-nav>li>a:hover, a.fa.fa-home.fa-lg.navbar-brand:hover {
     color: #f0f0f0;
}

a.navbar-brand:hover {
  color: #f0f0f0;
}

.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
    color: #015CAE;
}

.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
    background-color: #015CAE;
    color: #ffffff;
}

.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
    border-color: #007cbc !important;
}

.btn-primary {
    color: #ffffff;
    background-color: #006fbc;
    border-color: #006fbc;
}

.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
    background-color: #006fbc;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    background-color: #007cbc;
    border-color: #006fbc;
}

.printTitle {
    color: #015CAE !important;
}

body.print h1 {color: #015CAE !important; font-size:28px !important;}
body.print h2 {color: #595959 !important; font-size:20px !important;}
body.print h3 {color: #015CAE !important; font-size:14px !important;}
body.print h4 {color: #679DCE !important; font-size:14px !important;}

.anchorjs-link:hover {
    color: #216f9b;
}

.sidebarTitle {
    margin-top: 20px;
    font-weight: bold;
    font-size: 130%;
    color: #007cbc;
    padding-bottom: 10px;
    display: block;
    margin-right: -10px;
    border-bottom: 2px solid #f0f0f0;
}

.navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover {
    background-color: #015CAE;
}

.navbar-inverse .navbar-toggle {
    border-color: #015CAE;
}

.nav li.open > a > span:after {
    content: '\25b4';
}

.grpw-footer {
    box-shadow: inset 0 8px 6px -5px rgba(0,0,0,0.5);
    margin: 0px;
    overflow: visible;
    position: relative;
    border-top: 10px solid #272727;
    padding: 30px 0 40px;
    background-color: #f7f7f7;
    color: black;
    font-weight: 600;
}

.grpw-footer:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 34px;
    top: -34px;
    background-image: url(polygon.svg);
    background-size: contain;
}

@supports (clip-path: polygon(0px 0px)) {
    .grpw-footer:before {       
        -webkit-clip-path: polygon(25px 0px, 75px 0px, 100px 34px, 0px 34px);
        clip-path: polygon(25px 0px, 75px 0px, 100px 34px, 0px 34px);
        background: #272727;
    }
}

.grpw-footer:after {
    content: "";
    position: absolute;
    height: 50px;
    width: 50px;
    background-image: url(../images/company_logo.png);
    background-size: 50px 50px;
    background-position: center;
    background-repeat: no-repeat;
    left: 50%;
    transform: translateX(-50%);
    top: -34px;
    padding: 5px;
    box-sizing: content-box;
    background-color: #272727;
    border-radius: 60px;
    box-shadow: 0 8px 6px -5px rgba(0,0,0,0.5);
}

.table-wrapper {
    position: relative;
}

/** Image Alignment **/

figure {
    position: relative;
    max-width: -moz-max-content;
    max-width: -webkit-max-content;    
    max-width: max-content;
}

/* IE11 & IE10 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    figure { display: table; }
}

/* MS EDGE */
@supports (-ms-ime-align:auto) {
    figure { display: table; }
}

figure.img-inline, figure.img-right {
    display: inline-block;
}

figure.img-inline {
    margin-right: 8px;
}

figure.img-inline img {
    max-height: 170px;
}

figure.img-right {
    float: right;
    clear: both;
    max-width: 200px;
    margin-left: 20px;
    margin-bottom: 35px;
}

figure.img-right img {
    width: 100%;
}

@media screen and (max-width: 700px) {
    figure.img-right {
        display: block;
        float: none;
        margin: 0 auto;
    }
}

#search-demo-container {
    padding: 10px 15px;
    float: right;
    position: relative;
}

#search-input {
    padding: 10px 10px 8px;
    margin: 0px;
    font-size: 14px;
    border: none;
    border-bottom: 2px solid white;
    background: transparent;
    color: white;
    outline: none;
    transition: border-bottom-color 0.2s;
}

#search-input:focus {
    border-bottom-color: #2d79ae;
}

#search-demo-container ul#results-container {
    left: 15px;
    right: 15px;
    top: 50px;
    width: auto;
    padding: 0px;
    margin: 0px;
    box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.3);
}

ul#results-container a {
    padding: 5px 10px 5px 0px;
    margin-left: 10px;
    display: blocK;
}

ul#results-container li:not(:first-child) a {
    border-top: 1px solid lightgrey;
}

/** Author **/

.post-header .grpw-authors {
    margin-top: -10px;
    margin-bottom: 10px;
    font-style: italic;
}

.post-header .grpw-authors > span {
    color: #006fbc;
}

.post-header .grpw-last-changed {
    margin-top: -10px;
    margin-bottom: 10px;
    font-style: oblique;
}

@media screen and (max-width: 1200px) {
    .topnavlinks {
        padding-left: 15px !important;
    }

    header .container {
        padding-left: 60px;
    }

    header .grpw-header .logo-container > a {
        left: 10px;
    }

    header .grpw-header .logo-container > a > img {
        height: 45px;
        width: 45px;
    }

    #search-demo-container {
        position: absolute;
        left: 0px;
        right: 60px;
        top: 100%;
        max-width: 300px;
    }

    #search-input {
        background: white;
        box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.3);
        color: black;
        width: 100%;
        border-bottom-color: black;
        font-size: 16px;
        padding: 8px 10px 8px;
    }

    #search-input:focus {
        border-bottom-color: #aa7028;
    }

    ul#results-container a {
        padding: 10px 15px 10px 0px;
    }
}

.table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

.backtotop {
    height: 56px;
    width: 56px;
    position: fixed;
    bottom: 56px;
    background: #272727;
    right: 15px;
    border-radius: 56px;
    color: white;
    font-size: 40px;
    line-height: 53px;
    text-align: center;
    box-shadow: 0 2px 1px 0 rgba(0,0,0,0.3);
    font-weight: bold;
    opacity: 0;
    visibility: hidden;
    transition: visibility 0.3s step-end, opacity 0.3s;
    cursor: pointer;
}

.backtotop.btt-show {
    opacity: 1;
    visibility: visible;
    transition: visibility 0.3s step-start, opacity 0.3s;
}

.glossary {
    font-weight: bold;
}

.glossary:after {
    content: "\f0ac";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    display: inline-block;
    text-decoration: none;
    padding-left: 3px;
}

/** Featherlight **/

img[data-featherlight], a[data-featherlight] {
    cursor: pointer;
}

.featherlight-indicator {
    text-align: center;
    color: white !important;
    background: rgba(0,0,0,0.5);
    padding: 3px;
    font-size: 21px;
    width: 27px;
    height: 27px;
    position: absolute;
    text-decoration: none !important;
}

figure .featherlight-indicator {
    right: 0px;
    top: 12px;
    pointer-events: none;
}

.table-wrapper .featherlight-indicator {
    top: 0px;
    left: 0px;
    opacity: 0;
    transition: opacity 0.3s;
    cursor: pointer;
}

.table-wrapper:hover .featherlight-indicator {
    opacity: 1;
}

.featherlight .featherlight-content {
    max-width: 90%;
    margin-left: 0px;
    margin-right: 0px;
}

.featherlight .featherlight-inner {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

@media only screen and (max-width: 1024px) {
    .featherlight .featherlight-content {
        max-width: 98%;
        max-height: 95%;
        padding-top: 35px;
    }
}