html {
    font-size: 16px !important;
}

body {
    background-color: #212529;
    color: black;
    font: 16px Lato, Calibri, sans-serif;
    line-height: 1.5;
    font-weight: 300;
}

#header {
    background-color: #ffffff;
}

#header > .inside {
    padding-left: 1.5rem;
    padding-top: 1.5rem;
    padding-bottom: 0.65rem;
    border-bottom: 5px solid #ceb862;
}

#header a {
    text-decoration-line: none;
}

#content {
    position: relative;
}

#watermark {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 35%;
}

#logo {
    margin-bottom: 15px;
}

#logo img {
    max-width: 100%;
    height: auto;
}

.logout .button {
    text-transform: none;
    display: inline-block;
    position: relative;
    padding: 0.6rem 2.1rem 0.6rem 1.1rem;
    margin-bottom: 0;
    border: unset !important;
    outline: none;
}

.logout .button:hover {
    background-color: #d5c37a;
    color: #fff !important;
}

.logout .button span:after {
    background: url("/OnlineBankingWebfrontend/javax.faces.resource/img/arrow-right-ebanking.png.xhtml?loc=") center no-repeat;
    display: block;
    content: "";
    position: absolute;
    width: 7px;
    height: 13px;
    right: 0.8rem;
    top: 50%;
    background-size: 7px 13px;
}

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

.logout.logout .user {
    display: inline-block;
    padding: 9px 15px;
    color: #000;
}

.logout.logout .user a {
    color: #000;
    padding-right: 15px;
    font-weight: bold;
    text-decoration: none;
}

.logout.logout .button {
    margin-top: -23px;
    padding-top: 32px;
    float: right;
    border-radius: 0 0 2px 2px;
    font-size: 1rem;
}

.logout .button span:after {
    margin-top: -7px;
}

.logout.logout .button span:after {
    margin-top: 6px;
}

#nav-primary {
    padding-top: 3rem;
    float: right;
    text-transform: uppercase;
    font-weight: bold;
}

#nav-primary ul.level_1 {
    float: left;
    margin-bottom: 0;
}

#nav-primary ul.level_1.right {
    float: right;
}

#nav-primary ul.level_1 > li {
    float: left;
    margin-right: 15px;
    padding-bottom: 10px;
    position: relative;
    color: #000;
}

#nav-primary ul.level_1.right > li {
    margin-right: initial;
    margin-left: 15px;
}

#nav-primary ul.level_1 > li.current-parent > span.title,
#nav-primary ul.level_1 > li:hover span.title,
#nav-primary ul.level_1 > li:focus span.title,
#nav-primary ul.level_1 > li:focus-within span.title {
    color: #ceb862;
}

#nav-primary ul.level_1 > li > span.title {
    text-transform: uppercase;
    cursor: default;
    color: #000;
}

span.arrow {
    height: 10px;
    position: absolute;
    left: 0;
    right: 0;
    top: 20px;
    margin: auto;
    visibility: hidden;
    opacity: 0;
}

span.arrow:before {
    content: "";
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #000;
    position: absolute;
    left: 10px;
    bottom: 0;
}

#nav-primary ul.level_1.right span.arrow:before {
    left: auto;
    right: 10px;
}

#nav-primary ul.level_1 > li:hover ul.level_2,
#nav-primary ul.level_1 > li:hover span.arrow,
#nav-primary ul.level_1 > li:focus ul.level_2,
#nav-primary ul.level_1 > li:focus span.arrow,
#nav-primary ul.level_1 > li:focus-within ul.level_2 {
    visibility: visible;
    opacity: 1;
}

#nav-primary ul.level_2 {
    position: absolute;
    left: -15px;
    visibility: hidden;
    opacity: 0;
    background-color: #ffffff;
    padding: 8px 0;
    box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, .2);
    z-index: 10;
    top: 30px;
}

#nav-primary.suckerfish-left {
    padding-right: 0;
}

#nav-primary.suckerfish-left ul.level_2 {
    left: auto;
    right: -15px;
}

#nav-primary ul.level_2 li {
    white-space: nowrap;
}

#nav-primary ul.level_2 li.last {
    border-bottom: none;
}

#nav-primary ul.level_1.right ul.level_2 {
    left: auto;
    right: -15px;
    min-width: 150px;
}

#nav-primary ul.level_2 li a, #nav-primary ul.level_2 li input[type=submit] {
    padding: 8px 15px;
    margin: 0;
    display: block;
    color: #000;
    text-decoration: none;
}

/* make the button look like a link */
#nav-primary ul.level_2 li input[type=submit] {
    border: none;
    width: 100%;
    text-align: left;
    background-color: transparent;
}

#nav-primary ul.level_2 li a:hover, #nav-primary ul.level_2 li.current a, #nav-primary ul.level_2 li input:hover[type=submit], #nav-primary ul.level_2 li.current input[type=submit] {
    color: #ceb862;
}

#content {
    overflow: hidden;
    padding-top: 30px;
}

#main .info {
    color: #000;
    font-size: 0.9rem;
}

#main > .inside {
    padding: 0 15px;
}

#sidebar-secondary .inside {
    padding-left: 15px;
}

#sidebar-secondary .element:first-child h3 {
    margin-top: 0;
}

#sidebar-secondary .element {
    padding-bottom: 15px;
    margin-bottom: 30px;
}

#sidebar-secondary .element.last {
    padding-bottom: 0;
    margin-bottom: 0;
}

#footer {
    background-color: #ffffff;
    border-top: 5px solid #ceb862;
    padding-top: 4px;
    padding-bottom: 30px;
    font-size: 1rem;
    padding-right: 1rem;
}

#footer #nav-footer {
    text-align: right;
}

#footer .language .title {
    float: left;
    padding-right: 15px;
}

#footer .language ul {
    float: left;
}

#footer .language ul li {
    float: left;
}

#footer .language input {
    color: #000;
    text-decoration: none;
    border: 0;
    background: none;
    padding: 0;
    margin: 0;
    display: inline;
    text-transform: uppercase;
    outline: none;
}

#footer .language .seperator {
    font-size: 1.2rem;
    vertical-align: middle;
    padding: 0 6px 0 5px;
    display: inline-block;
}

#footer .language .last .seperator {
    visibility: hidden;
}

#footer .language input:hover {
    color: #ceb862;
}

/** Elements **/

a {
    color: black;
    text-decoration: underline;
}

a:hover {
    color: #ceb862;
    text-decoration: none;
}

.panel a {
    color: #ceb862;
    text-decoration: underline;
}

.panel a:hover {
    color: #d5c37a;
}

form {
    margin-bottom: 0;
}

h1, h2, h3, h4 {
    color: #000;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: .5rem;
}

.h1, h1 {
    font-size: 2rem;
}

.h2, h2 {
    font-size: 1.75rem;
}

.h3, h3 {
    font-size: 1.5rem;
}


.h4, h4 {
    font-size: 1.5rem;
}

input[type=text], input[type=password], textarea, select {
    color: black;
    background-color: #fff;
    border: 2px solid #ddd;
    padding: 0.7rem;
    width: 100%;
    display: block;
    outline: none;
}

input[type=text]:focus, input[type=password]:focus, textarea:focus {
    border: 2px solid #ceb862;
    outline: none;
}

textarea {
    resize: vertical;
    height: 100px;
}

#wrapper {
    background-color: #ffffff;
    padding: 0;
}

#content {
    padding: 2rem 2rem;
    background-color: #fff;
}

input[type=text].inline, .select-wrapper.inline select {
    width: auto;
    display: inline-block;
    margin-right: 15px;
}

input[type=text].inline.interjacent, .select-wrapper.inline.interjacent select {
    margin-left: 15px;
}

input[type=text].inline.interjacent + input[type=text].inline.interjacent,
input[type=text].inline.interjacent + .select-wrapper.inline.interjacent select,
.select-wrapper.inline.interjacent + input[type=text].inline.interjacent,
.select-wrapper.inline.interjacent + .select-wrapper.inline.interjacent select {
    margin-left: 0;
}

input[type=text].small, .select-wrapper.small select {
    font-size: 14px;
    padding: 3px 4px;
}

input[type=radio], input[type=checkbox] {
    float: left;
    margin-top: 6px;
    margin-right: 10px;
}

.actions input[type=checkbox], input[type=checkbox] + label {
    float: unset;
    margin: .75em 1em;
}

input[type=radio] + label, input[type=checkbox] + label, table.radio input[type=radio] + label, table.radio input[type=checkbox] + label {
    font-weight: normal;
    display: inline;
}

#main input[type=radio] + label.inline {
    display: inline;
    padding-left: 0;
}


input:disabled {
    color: #AAA !important;
    background-color: #D9DBDC !important;
}

.monospace {
    font-family: "Lucida Console", monospace;
}

.margin-right {
    margin-right: 1rem;
}

label, .label {
    display: block;
    margin-bottom: 5px;
}

label.inline {
    display: inline;
}

label.normal {
    font-weight: normal;
}

#sidebar-secondary label, #sidebar-secondary .label {
    font-weight: normal;
    display: inline;
    margin-bottom: auto;
}

p, .paragraph {
    margin-bottom: 16px;
    display: block;
}

ol.listing {
    padding-left: 20px;
}

ul.listing {
    padding-left: 0;
}

ul.listing li, ol.listing li {
    padding-left: 2px;
    margin-bottom: 3px;
}

ul.listing li {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 0.25rem;
    position: relative;
}

ul.listing li:before {
    content: "•";
    font-size: 14px;
    line-height: 1rem;
    position: absolute;
    top: 3px;
    left: 7px;
}

ul.listing li ul {
    padding-left: 20px;
}

ol.listing li {
    list-style: decimal;
}


/* Classes */

.select-wrapper {
    display: block;
}

.select-wrapper.inline {
    display: inline-block;
}

.error, .important, .succeederror, .debit, .debug {
    color: red;
    font-weight: 400;
}

.nav-trigger {
    width: 22px;
    display: inline-block;
    margin: 10px;
    float: right;
}

.nav-trigger .bar {
    width: 100%;
    height: 2px;
    background-color: #ceb862;
    display: block;
    margin-bottom: 4px;
}

.form {
    margin-bottom: 30px;
}

.form.separate {
    border-bottom: 1px solid #D9DBDC;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.form.separate .form-heading h2 {
    margin-top: 0;
}

.form.separate.last {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form .form-body > .panel:last-child {
    margin-bottom: 0;
}

.subordinate {
    color: #888;
}

.strong {
    font-weight: bold;
}

.mobile-label {
    font-weight: bold;
}

/** Form **/

.button {

    display: inline-block;
    cursor: pointer;
    line-height: 1.5;
    font-weight: 400;
    padding: .5rem 1rem;
    border-radius: 0px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: normal;
    text-align: center;

    margin: 0 0 1rem;

    color: #000;
    border: unset;

    outline: 1px solid white;
    outline-offset: -5px;
}

.button.filled {
    width: 100%;
    display: block;
}

.button-primary, .button-important {
    background-color: #ceb862;
    color: #fff;
    border: .15em solid  #ceb862;
}

.button-primary:hover, .button-primary:focus, .button-important:hover, .button-important:focus {
    background-color: #FFF;
    color: #ceb862;
}

.button-secondary {
    background-color: #ceb862;
    color: #FFF;
    border: .15em solid  #ceb862;
}

.button-secondary:hover, .button-secondary:focus {
    color: #ceb862;
    background-color: #fff;
}


.panel .button:hover, .panel .button:focus {
    color: #ffffff;
    background-color: #343a40;
    outline: none;
}

.button-back {
    color: #FFF;
    background-color: #75787b;
    border: .15em solid  #75787b;
}

.button-back:hover, .button-back:focus {
    background-color: #FFF;
    color: #75787b;
}

.input-container {
    margin-bottom: 20px;
}

.input-container.label-only {
    margin-bottom: 2px;
}

.input-container.last, .form.separate .form-body > .input-container:last-child, .form.separate .form-body > .row:last-child .input-container:last-child {
    margin-bottom: 0;
}

.input-container .info {
    margin: 10px 0;
    color: #666;
}

.input-container.submit {
    text-align: right;
}

.input-container.submit > .button:first-of-type {
    margin-left: 0;
}

.input-container.submit.submit-left {
    text-align: left;
}

.input-container.submit .button {
    margin-left: 1rem;
}

.input-container.submit.submit-left .button {
    margin-left: 0;
    margin-right: 1rem;
}

.data-listing {
    margin-bottom: 25px;
}

.data-listing .data-listing-body {
    padding: 0 15px;
}

.data-listing .row {
    border-bottom: 1px solid #DDD;
    padding: 10px 0 10px;
}

.data-listing .row:last-child {
    border-bottom: none;
}

.data-listing .label {
    text-align: right;
    font-weight: bold;
    margin-bottom: 0;
}

.caption {
    font-weight: normal;
}

table.radio td {
    padding-right: 30px;
}

table.radio input {
    margin-right: 10px;
    vertical-align: middle;
}

table.radio label {
    display: inline-block;
}

.radiobutton-spread {
    padding-top: 7px;
}

.fieldset {
    margin-bottom: 30px;
}

input[type=checkbox] {
    display: none;
    color: #ceb862;
}

input[type=checkbox] + label {
    font-weight: normal;
    display: inline-block;
    position: relative;
}

input[type=checkbox] + label:before {
    content: " ";
    display: inline-block;
    position: relative;
    top: 5px;
    margin: 0 5px 0 0;
    width: 20px;
    height: 20px;
    border-radius: 2px;
    border: 2px solid #ceb862;
    background-color: transparent;
    cursor: pointer;
}

input[type=checkbox]:checked + label:after {
    width: 12px;
    height: 12px;
    position: absolute;
    top: 9px;
    left: 4px;
    content: " ";
    display: block;
    background: #ceb862;
    cursor: pointer;
}

.panel input[type=checkbox] + label {
    font-weight: normal;
    display: inline-block;
    position: relative;
    color: #000;
}

.panel input[type=checkbox] + label:before {
    content: " ";
    display: inline-block;
    position: relative;
    top: 5px;
    margin: 0 5px 0 0;
    width: 20px;
    height: 20px;
    border-radius: 2px;
    border: 2px solid #000;
    background-color: transparent;
    cursor: pointer;
}

.panel input[type=checkbox]:checked + label:after {
    width: 12px;
    height: 12px;
    position: absolute;
    top: 9px;
    left: 4px;
    content: " ";
    display: block;
    background: #000;
    cursor: pointer;
}

input[type="radio"] {
  /* Remove most all native input styles */
  appearance: none;
  /* Not removed via appearance */
  margin: 0;

  font: inherit;
  color: currentColor;
  width: 1.15em;
  height: 1.15em;
  border: 0.15em solid #ceb862;
  border-radius: 50%;
  transform: translateY(-0.075em);

  display: grid;
  place-content: center;
  margin: 4px 5px 0 0;
}

input[type="radio"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  border-radius: 50%;
  transform: scale(0);
  /* Windows High Contrast Mode */
  background-color: #ceb862;
}

input[type="radio"]:checked::before {
  transform: scale(1);
}

.fieldset-heading {
    margin-bottom: 15px;
}

.tooltip-area {
    font-size: 0.8rem;
}

.steps {
    margin-bottom: 30px;
}

.steps .step {
    border-bottom: 2px solid #d9dbdc;
    padding-top: 15px;
    padding-bottom: 5px;
}

.steps .step.current {
    border-color: #ceb862;
}

.panel {
    background-color: #343a40;
    color: #fff !important;
    padding: 30px;
    margin-bottom: 30px;
}

.panel .panel-heading {
    font-weight: 300;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.panel .panel-body > p:last-child, .panel .panel-body > ul:last-child, .panel .panel-body > table:last-child {
    margin-bottom: 0;
}

.panel input[type=text], .panel select {
    background-color: #FFF;
}

.pagination input, .month-filter input {
    background-color: #75787b;
    border: none;
    color: #FFF;
    padding: 5px 12px 3px;
    margin: 0 5px 10px;
    line-height: 2rem;
}


.pagination input.current, .month-filter input.current {
    background-color: #ceb862;
}

.pagination input:hover, .month-filter input:hover {
    background-color: #d5c37a;
}

.pagination {
    padding-top: 15px;
    padding-bottom: 30px;
    text-align: center;
}

.month-filter {
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: right;
}

.month-filter .year-container {
    display: inline-block;
    padding: 0 15px 0 30px;
}

.month-filter .year-container.last-year {
    color: #D9DBDC;
}

/* Table */
table.table {
    width: 100%;
    cursor: default;
    margin: 2rem 0;
}

.fieldset-heading {
    padding: 10px 0;
}

table.table th, table.table td, .data-listing-heading {
    padding: 10px;
}

table.table th, table.table td {
    vertical-align: middle;
}

table.table thead th, .data-listing-heading, .fieldset-heading {
    font-size: 1.5rem;
}


table.table tbody tr, .data-listing-heading, .fieldset-heading {
    border-bottom: 2px solid #d9dbdc;
}

table.table tbody tr:last-child {
    border-bottom: none;
}

.fa {
    padding: 0.5rem 0.75rem !important;
}

table.table td.amount, table.table th.amount, table.table td.actions, table.table th.actions {
    text-align: right;
}

table.table .actions .button-icon {
    margin: 0.1rem;
    border: 0.15em solid #ceb862;
}

table.table .actions .button-icon {
    color: white;
    background-color: #ceb862;
}

table.table .actions .button-icon:hover {
    color: #ceb862;
    background-color: #fff;
    border: 0.15em solid #ceb862;
}

th {
    font-weight: normal;
}

td.amount {
    min-width: 200px;
}

table.oversized td.amount {
    min-width: auto
}

.progress-bar {
    background-color: #ceb862;
}
