html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, canvas, details, embed, figure, figcaption, footer, header, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
    margin: 0;
    padding: 0;
}

.mainnavigation,
.filter,
.list,
.modify,
.show,
.reportList {
    padding: 15px 20px 0 20px;
}

.mainnavigation {
    background: var(--gray-dark);
    padding-top: 23px;
}

article, details, figcaption, figure, footer, header, menu, nav, section, div.header, div.section {
    display: block;
    clear: both;
}

body {
    line-height: 1;
    font-family: var(--font-family-sans-serif);
    font-size: var(--font-size);
    width: 100%;
    height: 100%;
    color: var(--text-default);
}

ol, ul {
    list-style: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

.clear {
    clear: both;
}

a {
    color: var(--link-primary);
    font-weight: normal;
}

a:hover {
    filter: brightness(80%)
}

.warning, 
.error {
    color: var(--danger) !important;
    font-weight: bold;
}

.attention {
    color: var(--orange) !important;
    font-weight: 600;
}

.zero {
    color: var(--blue) !important;
    font-weight: 600;
}

.ok {
    color: var(--success) !important;
    font-weight: 600;
}

.warning_bg {
    background-color: var(--warning) !important;
}

.highlight {
    color: var(--info);
}

.green {
    background: var(--green);
}

.red {
    background: var(--red);
}

.bold {
    font-weight: 900;
}

.hide {
    display: none;
}

nav.nav-container {
    min-width: 318px;
    max-width: 100%;
    flex: 1 0 auto;
}

#header {
    border-bottom: 2px solid var(--primary);
    background: var(--gray-dark);
}

#header .top {
    min-height: 95px;
    background-color: var(--gray-dark);
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#header-center {
    flex: 1 0 0;
    padding: 20px;
}

ul.subnavigation {
    list-style: none;
    border: none;
    border-radius: 0;
    background: transparent;
}

#header ul.navigation {
    list-style: none;
    text-align: right;
    border: none;
    margin-top: 65px;
    border-radius: 0;
    background: transparent;
}

#header ul.navigation ul {
    text-align: left;
    z-index: 10;
}

#header ul.login {
    list-style: none;
    float: right;
    margin-top: 5px;
}

#header .login li span,
#header h3 a, #header .login li a {
    color: var(--link-default);
    font-weight: normal;
}

#header h3 a:hover, #header .login li a:hover {
    color: var(--link-default-hover);
}

#header .navigation li,
#header .login li {
    display: inline
}

#header .login li a {
    display: inline-block;
    padding: 7px 10px;
    border-left: 1px solid #ccc;
    border-radius: 0;
}

#header .login li:nth-child(2) a {
    border-left: none;
}

#header .navigation li a,
#wrapper ul.subnavigation li a {
    display: inline-block;
    padding: 7px 10px;
    color: var(--text-default);
    font-weight: 600;
    background: lightgray;
    border-radius: 0;
    text-decoration: none;
}

#header .navigation li.hasSubmenu > a {
    padding: 7px 18px 7px 10px;
}

#header .navigation li a:hover,
#wrapper ul.subnavigation li a:hover {
    background: white;
}

#header .navigation li a.dark_link,
#wrapper ul.subnavigation li a.dark_link {
    background: #aaaaaa;
}

#header .navigation li a.dark_link:hover,
#wrapper ul.subnavigation li a.dark_link:hover {
    background: #bfbfbf;
}

#wrapper ul.subnavigation li a.active,
#wrapper ul.subnavigation li a.dark_link.active,
#wrapper ul.subnavigation li.active a,
#wrapper ul.subnavigation li.active a.dark_link {
    background: white;
    cursor: default;
}

#header ul.navigation ul li:last-child {
    border-bottom: 1px solid #ccc;
}

#header .navigation li ul li a {
    display: block;
}

#header h2 {
    font-size: 20px;
    text-align: center;
    line-height: 75px;
}

#header h3 {
    text-align: center;
    font-size: 11px;
    margin-bottom: 18px;
    font-weight: normal;
    padding-right: 2px;
}

.main-col {
    padding-bottom: 10px;
    background-color: #ffffff;
}

.main-col h1 {
    line-height: 1.2em;
    font-size: 20px;
    padding: 20px 20px 5px 20px;
    font-weight: bold;
}

.main-col h1 span.h1_add {
    font-weight: normal;
    font-size: 0.9em;
}

.main-col h1 span.h1_add .notice {
    font-size: 0.85em;
}

.main-col h2 {
    line-height: 1.1em;
    font-size: 17px;
    margin-bottom: 8px;
    font-weight: normal;
}

.main-col h3 {
    line-height: 1.1em;
    font-size: 15px;
    margin-bottom: 6px;
    font-weight: normal;
}

.main-col p {
    line-height: 1.5em;
    margin-bottom: 20px;
}

#footer {
    border-top: 1px solid #ccc;
    clear: both;
    text-align: center;
    padding: 10px;
    color: #aaa;
    background-color: #fff;
}

#bottom {
    height: 50px;
    position: relative;
}

#bottom a.fixed {
    position: fixed;
}

#bottom .ui-icon {
    display: inline-block;
    vertical-align: bottom;
}

#bottom .bottom-end {
    position: absolute;
    bottom: 0;
    width: 1px;
    min-height: 1px;
    height: 1px;
}

.show .section {
    padding-top: 15px;
}


/* overwrite jquery ui default theme */
body .ui-widget {
    font-family: var(--font-family-sans-serif);
    font-size: 13px;
}

body .ui-widget .ui-widget {
    font-size: 13px;
}

body .ui-widget input,
body .ui-widget select,
body .ui-widget textarea,
body .ui-widget button {
    font-family: Verdana,'Helvetic Neue',Helvetica,Arial,sans-serif;
    font-size: 13px;
    border-radius: var(--border-radius);
}

body .ui-state-active,
body .ui-widget-content .ui-state-active,
body .ui-widget-header .ui-state-active,
body a.ui-button:active,
body .ui-button:active,
body .ui-button.ui-state-active:hover {
    border: 1px solid var(--primary); 
    background: var(--primary);
    color: var(--white);
}

body .ui-icon-background,
body .ui-state-active .ui-icon-background {
    border: var(--primary);
    background-color: var(--white);
}

body .cancel.ui-button {
    color: var(--text-default);
}

body .save.ui-button, 
body .primary.ui-button {
    background: var(--primary);
    color: var(--white);
}

body .save.ui-button:hover, 
body .primary.ui-button:hover {
    filter: brightness(120%);
    background: var(--primary);
    color: var(--white);
}

body .to-top-button.ui-button {
    position: absolute;
    bottom: 10px;
    right: 50px;
    border: 2px solid var(--primary);
    background: rgba(255,255,255,0.7);
    color: var(--primary);
    z-index: 2;
}
