/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Image replacement
 */
.invisible {
    visibility: hidden;
}
/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */
.hidden {
    display: none !important;
    visibility: hidden;
}
/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
.visuallyhidden.focusable {
    /*
           * Extends the .visuallyhidden class to allow the element to be focusable
           * when navigated to via the keyboard: h5bp.com/p
           */
}
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}
body {
    color: #666669;
    font-family: Verdana, Tahoma, sans-serif;
    font-size: 12px;
}
html {
    height: 100%;
}
/* {{{ Global element styles */
a,
span.anchor {
    text-decoration: underline;
    color: #204080;
    cursor: pointer;
}
.icon.anchor {
    text-decoration: none;
    font-size: 18px;
    margin-left: 3px;
    color: #666669;
}
.icon.anchor:hover {
    color: #204080;
}
input + .icon.anchor.inline {
    margin-left: -20px;
}

header {
    height: 75px;
    background: #E6E6E6;
    padding: 0 30px;
    z-index: 9;
    position: fixed;
    width: calc(100vw - 60px);
    top: 0px;
    box-shadow: 0 0 30px #000000a6;
    display: flex;
    justify-content: space-between;
    transition: 0.3s ease-in-out all;
}

header.header-scroll{
    box-shadow: 0 0 30px #0000;
}

header.header-scroll #mainNavigation a{
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
#logo {
    width: fit-content;
    padding: 10px;
}
#mainNavigation ul {
    list-style: none;
    margin: 0;
    *zoom: 1;
}
#mainNavigation ul:before,
#mainNavigation ul:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}
#mainNavigation ul:after {
    clear: both;
}
#mainNavigation li {
    float: left;
    border-right: #FFF;
    border-left: #000;
}
#mainNavigation li.active > a {
    background: #fff;
    /*background: -moz-linear-gradient( #e2e1e1, #FFF);*/
    font-weight: bold;
    color: #204080;
}
#mainNavigation li ul {
    display: none;
    position: absolute;
    z-index: 9999;
}
#mainNavigation li ul li {
    background: #e2e1e1;
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #e2e1e1), color-stop(1, #FFF));
    background: -ms-linear-gradient(bottom, #e2e1e1, #FFF);
    /*background: -moz-linear-gradient(center bottom, #e2e1e1 0%, #FFF 100%);*/
    float: none;
}
#mainNavigation li ul a {
    text-align: left;
    width: 140px;
    padding-left: 10px;
}
#mainNavigation li:hover ul {
    display: block;
}
#mainNavigation a {
    transition: all 0.2s ease-out;
    display: flex;
    height: 75px;
    line-height: 90px;
    text-decoration: none;
    text-align: center;
    padding: 0 20px;
    align-content: center;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease-in-out all;
}
#mainNavigation a:hover,
#mainNavigation a:active,
#mainNavigation a:focus {
    background: #fff;
    text-decoration: underline;
}
#mainNavigation a:before {
    font-size: 30px;
}
@media (max-width: 1024px) {
    #mainNavigation a {
        width: 100px;
        font-size: 11px;
    }
}

#mainNavigation #dropdown {
    display: none;
}
#mainNavigation #dropdown > li {
    position: relative;
}
#mainNavigation #dropdown > li a {
    width: 140px;
}
#mainNavigation #dropdown > li ul {
    box-shadow: -4px 4px 12px #666;
    position: absolute;
}
#mainNavigation #dropdown > li ul li a {
    padding: 0;
    height: 60px;
    line-height: 60px;
    text-align: center;
}
@media (max-width: 1600px) {
    #mainNavigation #desktop {
        display: none;
    }

    #mainNavigation #dropdown {
        display: block;
    }

    #mainNavigation a {
        width: 80px;
    }
}

#main {
    min-height: 200px;
    padding-top: 50px;
}
body {
}
#containerBackground {
    z-index: -4;
    position: fixed;
    top: 0;
    left: 0;
}
#content {
    margin: 100px 40px;
    height: 100%;
}

#content .printable{
    top: 30px;
    position: relative;
}
.pagination > .active > a {
    border: none !important;
    text-decoration: none !important;
}
/* }}} */
/* {{{ toolbar */
.toolbar {
    height: 40px;
    margin-bottom: 20px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -o-border-radius: 6px;
    -ms-border-radius: 6px;
    border-radius: 6px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    -o-background-clip: padding-box;
    -ms-background-clip: padding-box;
    background-clip: padding-box;
    background: #E6E6E6;
    box-shadow: 0 3px 10px #3333334d;
    *zoom: 1;
    list-style: none;
    transition: 0.3s ease-in-out all;
    border: 1px solid #ddd;
}

#main-toolbar{
    position: fixed;
    width: 90vw;
    left: 5vw;
    z-index: 2;
    top: 110px;
    border: 1px solid silver;
}

#main-toolbar.toolbar-scroll {
    top: 0px;
    left: 0px;
    padding: 0 5vw;
}
.toolbar:before,
.toolbar:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}
.toolbar:after {
    clear: both;
}
.toolbar > li {
    height: 38px;
    line-height: 38px;
    padding-bottom: 2px;
    margin: 0 10px;
}
.toolbar > .left {
    float: left;
}
.toolbar > .right {
    float: right;
}
.toolbar a {
    text-decoration: none;
}
.toolbar a:hover,
.toolbar a:focus,
.toolbar a:active {
    text-decoration: underline;
}
.toolbar button{
    padding: 5px 10px;
    float: right;
    margin-top: 7px;
}
button:hover, button:hover:before {
    color: #ececec;
}

/* }}} */
/* {{{ footer */
footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    height: 84px;
}
#footerMenu {
    margin: 0;
    list-style: none;
    height: 84px;
    padding-right: 100px;
    margin: 0 9px;
    background-image: url('../img/footer-background.png');
    position: relative;
}
#footerMenu li {
    float: left;
    line-height: 100px;
}
#footerMenu li.right {
    float: right;
}
#footerMenu a {
    margin-top: 14px;
    display: block;
    height: 70px;
    line-height: 70px;
    width: 170px;
    text-decoration: none;
    text-align: center;
    color: #666669;
    background: -webkit-gradient(linear, left top, left bottom, from(#a3a3a5), to(#666669));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
#footerMenu a:hover,
#footerMenu a:active,
#footerMenu a:focus {
    background: #e2e1e1;
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #e2e1e1), color-stop(1, #FFF));
    background: -ms-linear-gradient(bottom, #e2e1e1, #FFF);
    /*background: -moz-linear-gradient(center bottom, #e2e1e1 0%, #FFF 100%);*/
    font-weight: bold;
}
#footerMenu a:before {
    font-size: 30px;
}
#footerMenu button {
    margin-top: 14px;
}
#footerMenu:before {
    content: " ";
    width: 9px;
    position: absolute;
    left: -9px;
    top: 0;
    display: block;
    height: 104px;
    background-image: url('../img/footer-leftcorner-background.png');
    background-repeat: no-repeat;
}
#footerMenu:after {
    content: " ";
    width: 9px;
    margin-right: -9px;
    display: block;
    height: 104px;
    background-image: url('../img/footer-rightcorner-background.png');
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    right: 0;
}
/* }}} */
/* {{{ Webkit scrollbars */
.fancyScroll::-webkit-scrollbar {
    height: 9px;
    width: 9px;
}
.fancyScroll::-webkit-scrollbar-button:start:decrement,
.fancyScroll::-webkit-scrollbar-button:end:increment {
    background: transparent;
    display: none;
}
.fancyScroll::-webkit-scrollbar-track-piece {
    background: #2b2b2b;
}
/*.fancyScroll::-webkit-scrollbar-track-piece:vertical:start {
    border-top-left-radius:5px;
    border-top-right-radius:5px;
    border-bottom-right-radius:0;
    border-bottom-left-radius:0;
}
.fancyScroll::-webkit-scrollbar-track-piece:vertical:end {
    border-top-left-radius:0;
    border-top-right-radius:0;
    border-bottom-right-radius:5px;
    border-bottom-left-radius:5px;
}*/
.fancyScroll::-webkit-scrollbar-track-piece:horizontal:start {
    border-top-left-radius: 5px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 5px;
}
.fancyScroll::-webkit-scrollbar-track-piece:horizontal:end {
    border-top-left-radius: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 0;
}
.fancyScroll::-webkit-scrollbar-thumb:vertical,
.fancyScroll::-webkit-scrollbar-thumb:horizontal {
    background: #cecece;
    border-radius: 5px;
    display: block;
    height: 50px;
}


/** including the whole of bootstrap seriously disturbs the current front-end, so load only some bootstrap classes */

.text-right{
    text-align: right;
}

.flash-message{
    height: 20px;
    margin: 5px;
    border-radius: 5px;
    position: fixed;
    bottom: 0px;
    right: 0px;
    z-index: 2;
    width: fit-content;
    transition: 0.3s ease-in-out all;
    animation-name: flashmessage;
    animation-duration: 20s;
    line-height: 1;
    pointer-events: none;
    background-color: green;
    color: white;
    padding: 30px;
    font-size: 20px;
    opacity: 0;
    letter-spacing: 1px;
}

@keyframes flashmessage {
    0%   {
        padding: 30px;
        font-size: 20px;
        opacity: 0;
        letter-spacing: 1px;
    }
    20% {
        padding: 5px;
        font-size: 15px;
        opacity: 1;
        letter-spacing: 0px;
    }
    100%   {
        opacity: 0;
        padding: 5px;
        font-size: 15px;
        letter-spacing: 0px;
    }
}

.errorMsg {
    color: white;
    width: 70%;
    height: auto;
    padding: 0;
    margin: 5px auto;
    top: 20px;
    position: relative;
}

.errorMsg > div {
    padding: 15px 10px;
    margin: 0 10px 10px;
    background-color: red;
    border-radius: 6px;
    box-shadow: 0px 3px 20px #999;
}
