:root {
    --bg-color: #5e6247;
    --light-bg: #E3F3E3;
    --msg-bg-color: #E3F3E3;
    --link-color: #5e6247;
}

HTML {
    BORDER-TOP-WIDTH: 0;
    PADDING-RIGHT: 0;
    PADDING-LEFT: 0;
    BORDER-LEFT-WIDTH: 0;
    BORDER-BOTTOM-WIDTH: 0;
    PADDING-BOTTOM: 0;
    MARGIN: 0;
    PADDING-TOP: 0;
    BORDER-RIGHT-WIDTH: 0;
    height: 100%;
    min-height: 100vh;
    background-color: var(--bg-color);
    /*background-image: linear-gradient(#80af14, var(--bg-color));*/
    background-repeat: no-repeat;
    FONT-FAMILY: Verdana, Helvetica, Geneva, sans-serif;
    color: #000000;
    font-size: 1rem;
}

BODY {
    BORDER-TOP-WIDTH: 0;
    PADDING-RIGHT: 0;
    PADDING-LEFT: 0;
    BORDER-LEFT-WIDTH: 0;
    BORDER-BOTTOM-WIDTH: 0;
    PADDING-BOTTOM: 0;
    MARGIN: 0;
    PADDING-TOP: 0;
    BORDER-RIGHT-WIDTH: 0;
    border-collapse: separate;
    min-width: 350px;
}

IMG {
    BORDER-TOP-WIDTH: 0;
    PADDING-RIGHT: 0;
    PADDING-LEFT: 0;
    BORDER-LEFT-WIDTH: 0;
    BORDER-BOTTOM-WIDTH: 0;
    PADDING-BOTTOM: 0;
    MARGIN: 0;
    PADDING-TOP: 0;
    BORDER-RIGHT-WIDTH: 0px
}

#mainContainer {
    font-size: 0.8rem;
    padding: 5px;
    margin-left: auto;
    margin-right: auto;
}


#breadcrumbs {
    padding: 7px;
}
#breadcrumbs > a, #impressum > a {
    color: var(--link-color);
}

#userinfo {
    padding: 7px;
    align-items: end;
    color: var(--link-color);
}

#userinfo > a {
    color: var(--link-color);
}

#headContainer {
    border-radius: 7px;
    margin: 5px 5px 15px 5px;
    padding: 7px;
    display: grid;
    grid-template-columns: 3fr 1fr;
    height: 3rem;
    align-items: end;
    background-image: url("/javax.faces.resource/images/garage-logo.png.xhtml");
}

#mainlogo {
    height: 2.5rem;
    display: block;
}

#footerContainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;

    border-radius: 7px;
    margin: 5px 5px 15px 5px;
    padding: 7px;
    height: 2.5rem;
    align-items: end;
    background-image: url("/javax.faces.resource/images/footer-bg.png.xhtml");
    background-repeat: repeat-y;

    /*
    position:absolute;
    bottom: 0;
    */
}

#footerlogos img {
    height: 2.5rem;
}
#impressum {
    color: #FFFFFF;
}

#contentContainer {
}

section {
    background-color: #ffffff;
    border-radius: 7px;
    margin: 5px 5px 15px 5px;
    padding: 7px;
}

.aktiv {
    color: var(--bg-color);
}

h1 {
    font-size: 1.2rem;
    font-weight: normal;
    color: var(--bg-color);
}

h2 {
    margin-top: 3px;
    margin-bottom: 3px;
}


pre {
    margin: 3px;
    background-color: var(--light-bg);
}

.faq {
    height: 1rem;
}

/* --------------- nice dialogues without tables --------------- */

ol, ul {
    list-style: none outside none;
}

fieldset {
    position: relative;
    margin-top: 0.2rem;
    margin-bottom: 1rem;
    border: none;
    border-top: 1px solid #E6E6E6;
    background: white;
    padding: 0 2px 6px 2px;
}

fieldset.styledFieldset {
    background: #f4fae7;
    border-bottom: 1px solid #E6E6E6;
    border-top: 1px solid #E6E6E6;
    margin-bottom: 18px;
}

fieldset.nonStyledFieldset {
    border: none;
    margin-top: 0;
}

fieldset ul,
fieldset ol {
    padding: 6px 0 0 0;
}

fieldset ul ul,
fieldset ol ul,
fieldset ol ol,
fieldset ul ol{
    padding: 0;
}

legend {
    padding: 10px 0 2px 0;
    font-weight: bold;
    font-size: 1.2em;
    display: block;
    width: 100%;
    color: #494949;
    border-bottom: 1px solid #E6E6E6;
}

fieldset.styledFieldset legend,
fieldset.tableFilter legend{
    background: white;
}

.fieldDescription {
    color: gray;
    font-family: Arial, Helvetica, sans-serif;
}

fieldset li {
    color: #494949;
    margin: 8px 0;
    position: relative;
    line-height: 1.4em;
}

fieldset .leftBlock label:first-child{
    margin-left: 0;
    float: none;
    text-align: left;
    width: auto;
}

fieldset .leftBlock label {
    font-weight: bold;
}

fieldset li:after {
    content: ".";
    visibility: hidden;
    clear: both;
    display: block;
    height: 1px;
}

fieldset li label:first-child {
    min-height: 1px;
    padding-right: 3px;
    margin-top: 1px;
    margin-bottom: 3px;
    display: block;
    text-align: right;
    position: relative;
    float: left;
    vertical-align: top;
    line-height: 16px;
}

fieldset li:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

fieldset li label.required:after {
    content: "*";
    display: inline;
    *display: inline; /* =Hack */
    position: relative;
    font-weight: bold;
    margin-left: 0.1em;
    font-size: 18px;
    line-height: 10;
    color: #004f77;
}

.invalid {
    color: #EA1818;
    display: block;
    font-weight: bold;
    font-size: 10px;
    padding-bottom: 3px;
    padding-top: 3px;
}

/* input field dimensions */
.shortInput {
    width: 30px !important;
}

.smallInput {
    width: 90px !important;
}

.mediumInput {
    width: 145px !important;
}

.largeInput {
    width: 245px !important;
}

.xlargeInput {
    width: 245px !important;
}

.mediumTextarea {
    width: 245px !important;
    height: 4em;
}


#globalMessagesPanel {
    margin: 5px 5px 15px 5px;
    padding: 7px;
}

/* various messages */
#globalMessagesPanel .infoMessage,
#globalMessagesPanel .errorMessage,
#globalMessagesPanel .warnMessage,
#globalMessagesPanel .successMessage {
    padding: 11px 10px 11px 49px;
    font-weight: bold;
    font-size: 12px;
    line-height: 16px;
    margin: 8px 0;
    background-position: 14px 7px;
    display: block;
}

.infoMessage {
    color: #395878;
    border: 2px solid #6e93ba;
    background:url(/javax.faces.resource/message-info.png.xhtml?ln=images) no-repeat var(--msg-bg-color);
}

.errorMessage {
    color: #843f3f !important;
    border: 2px solid #ba6e6e;
    background:url(/javax.faces.resource/message-cross.png.xhtml?ln=images) no-repeat var(--msg-bg-color);
}

.warnMessage {
    color: #734f21 !important;
    border: 2px solid #c69e23;
    background:url(/javax.faces.resource/message-warning.png.xhtml?ln=images) no-repeat var(--msg-bg-color);
}

.successMessage {
    color: #447839;
    border: 2px solid #7bba6e;
    background:url(/javax.faces.resource/message-tick.png.xhtml?ln=images) no-repeat var(--msg-bg-color);
}


/* Input & Textarea]
-------------------------------------------------------------------*/

input,
select,
textarea {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 1em !important;
    margin-right: 5px !important;
}

select {
    max-width: 350px;
}

input[type=radio],
input[type=checkbox] {
    margin-right: 10px !important;
}

input[type=text],
textarea,
input[type=password]{
    color: #494949;
    font-family: Arial, Helvetica, sans-serif !important;
    margin-bottom: 2px;
    border: 1px solid silver !important;
    padding: 3px 0px 2px 3px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
textarea:focus {
    border-color: gray !important;
    -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2) !important;
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2) !important;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2) !important;
}

input[type=text].ui-state-hover,
textarea.ui-state-hover,
input[type=password].ui-state-hover {
    border: 1px solid silver !important;
}

input[type=text].ui-state-focus,
textarea.ui-state-focus,
input[type=password].ui-state-focus {
    border: 1px solid gray !important;
}

input[type=text].invalidInput {
    background: #ffdddd !important;
}

input[type=text][disabled=disabled],
input[type=number][disabled=disabled],
textarea[disabled=disabled],
input[type=password][disabled=disabled] {
    background-color: #f7f7f7 !important;
}


/* --------------- /toolBarGroup --------------- */

/* this is rquired for the top-switch, where there are images in the anchors */
a img {
    border: none;
}

/* --------------- /topswitch images --------------- */

.toggle {
    background-color: #ffffff;
}

/* formating of the input boxes */

input[type=submit], input[type=button] {
    font-size: 10px;
    margin: 5px 5px 5px 0;
    cursor: pointer;
    background-color: var(--msg-bg-color);
}

input[type=select], textarea {
    font-size: 9px;
    padding-left: 1px;
}

input[type=text], input[type=password] {
    font-size: 14px;
    padding-left: 1px;
}

select {
    font-size: 13px;
}

/* --------------- inputbox  --------------- */

table, p {
    font-size: 0.8rem;
    padding: 0;
    border: 0;
    margin-top: 0.3em;
    margin-bottom: 1em;
}

.date {
    width: 100px;
}

.description {
    width: 300px;
}

.pending {
    text-align: right;
    color: #DDDDDD;
    width: 100px;
}

.ui-picklist-source,
.ui-picklist-target {
    height: 100% !important;
    min-height: 200px;
    max-height: 400px;
}


/* datatables */
table.datatable,
table.datatable th,
table.datatable td {
    border: 1px solid #D3D3D3;
    border-collapse: collapse;
    color: #494949;
}

table.datatable th {
    border: 1px solid #D3D3D3;
    background-color: var(--light-bg);
}

table.datatable .row-even {
    background: white;
}

table.datatable .row-odd {
    background: #F5FAFD;
}

#stellplatzMap {
    min-width: 650px;
    min-height: 450px;
}

.wizzard {
    display: block;
    min-height: 35vh;
}

#wizzardNav{
    float: bottom;
    margin: 15px 5px 5px 5px;
}
.goPrev {
    float: left;
}
.goNext {
    float: right;
}

