/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #f5f5f5;
    padding: 10px 0;
}

.footer-element {
    padding: 10px 0;
}

/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

.bl-masthead {
    text-align: center;
    padding: 30px 0;
    margin: 0 0 20px 0;
    color: #666666;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .1);
    background-color: #e6e6e6;
}

.bl-masthead h1 {
    font-size: 40px;
    padding: 0 30px;
}

.bl-landing {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; /* fallback for browsers that do not support space-evenly */
    justify-content: space-evenly;
}

.bl-landing-element {
    padding: 15px;
    width: 200px;
    height: 120px; /* fixed height to ensure that buttons are in one line under the text (for max 2 lines) */
}

.bl-landing-element-threeline {
    padding: 15px;
    width: 200px;
    height: 150px; /* fixed height to ensure that buttons are in one line under the text (for max 3 lines) */
}

.login-container {
    width: 60%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.container .text-muted {
    margin: 20px 0;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

code {
    font-size: 80%;
}

.negativeAmount {
    color: #a94442;
}

.table-striped > tbody > tr > .negativeAmount {
    /* Override table-striped color set by bootstrap */
    color: #a94442;
}

.mandatory label:before {
    content: "✱ ";
}

.mandatorylabel:before {
    content: "✱ ";
}

.description-table td:nth-child(1) {
    font-weight: bold;
    padding-right: 20px;
}
/* bl-description-table-small,bl-description-table-large,bl-description-table-very-large are used in cm/bookings/id */
.bl-description-table-small td:nth-child(1) {
    font-weight: bold;
    padding-right: 20px;
}

.bl-description-table-large td:nth-child(1),.bl-description-table-large td:nth-child(3) {
    font-weight: bold;
    padding-right: 20px;
    white-space: nowrap;
}
.bl-description-table-large td:nth-child(2) {
    padding-right: 20px;
}

.bl-description-table-very-large td:nth-child(1),.bl-description-table-very-large td:nth-child(3) ,.bl-description-table-very-large td:nth-child(5) {
    font-weight: bold;
    padding-right: 20px;
    white-space: nowrap;
}
.bl-description-table-very-large td:nth-child(2),.bl-description-table-very-large td:nth-child(4) {
    padding-right: 20px;
}

@media screen and (max-width: 767px) {
    .bl-description-table-large{
        display: none;
    }
    .bl-description-table-very-large{
        display: none;
    }
}

@media screen and (min-width: 768px) and (max-width: 1439px) {
    .bl-description-table-small {
        display: none;
    }
    .bl-description-table-very-large{
        display: none;
    }
}

@media screen and (min-width: 1440px) {
    .bl-accordion-body-table-very-large {
    display:flex;
    }
    .bl-description-table-large{
        display: none;
    }
    .bl-description-table-small {
        display: none;
    }
}


.borderless tbody tr td, .borderless tbody tr th, .borderless thead tr th {
    border: none;
}

.centered-table-cells > tbody > tr > td {
    vertical-align: middle;
}

.bl-panel-body-2 {
    border-bottom: 1px solid transparent;
    border-bottom-color: #ddd;
    background-color: #f5f5f5;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.advice {
    position: relative;
}

.advice:before {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    content: "";
    background-color: #f0ad4e;
}

.acc-prop-dropdown-left {
    width: 200px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
    margin-right: 10px;
}

.acc-prop-dropdown-right {
    color: #aaa;
    font-style: italic;
    display: inline-block;
}

.disabled-menu-item {
    pointer-events: none;
}

.multi-checkbox-list.inline > div {
    display: inline-block;
    margin-right: 20px;
}

.multi-checkbox-list.inline.weekdays > div {
    min-width: 45px;
    min-height: 30px;
}

.greyed-out td:not(:first-child) {
    opacity: .65;
    cursor: default;
}

.icon-radio {
    padding: 5px 7px 12px 30px;
}

.icon-radio div {
    min-width: 52px;
}

.bl-form-text {
    padding-top: 0.25rem;
}

.form-header {
    margin-bottom: 0;
}

.bl-action-menu-icon {
    width: 14px;
    height: 14px;
    text-align: center;
    margin-right: 10px;
}

.bl-action-menu-button {
    margin-right: 5px;
    margin-top: 5px;
}

.bl-radio-button {
    margin-right: 10px;
}

.radio {
    margin-right: 10px;
}

.bl-button-icon {
    margin-right: 5px;
}

.bl-button-stack-icon {
    font-size: .5em;
    vertical-align: middle;
}

.bl-stack-icon-top-left {
    font-size: 0.6em;
    vertical-align: top;
    margin-right: -7px;
    margin-left: -3px;
}

.bl-stack-icon-center {
    vertical-align: middle;
}

.bl-more-icon {
    margin-right: 5px;
    top: 3px;
}

.bl-shift-left-10 {
    margin-left: 10px;
}

.bl-menu-group-label {
    cursor: default;
    background-color: transparent;
    color: black;
    border-color: #ccc;
}

.tab-content {
    padding-top: 30px;
}

.page-title {
    color: #666666;
}

.page-title small {
    color: #999999;
}

.page-title a {
    color: inherit;
    text-decoration: inherit;
    cursor: pointer;
}

.instruction {
    font-size: 120%;
}

.card-header .accordion-toggle:before {
    font-family: "FontAwesome", sans-serif;
    content: "\f077";
    float: right;
    color: grey;
}

.card-header .accordion-toggle.collapsed:before {
    content: "\f078";
}

.card-header.text-white.bg-danger.mb-3  {
    background-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important;
    background-image: none;
}

.bl-content-scrollable {
    max-height: calc(60vh - 200px);
    overflow-x: scroll;
    overflow-y: scroll;
}

.bl-pre-ticket {
    white-space: pre;
    word-wrap: normal;
    overflow: auto;
}

.bl-combo-dropdown {
    height: auto;
    max-height: 400px;
    overflow-x: hidden;
}

.bl-search-frame {
    position: relative;
}

.bl-search-box {
    position: absolute;
    background-color: white;
}

.bl-input-row-first {
    padding-bottom: 15px;
}

.bl-input-row-last {
    padding-top: 15px;
}

.bl-input-cell-75 {
    float: left;
    width: 75%;
}

.bl-input-cell-20 {
    float: left;
    width: 20%;
}

.bl-input-cell-5 {
    float: left;
    width: 5%;
}

.bl-table-cell-no-break {
    display: block;
    white-space: nowrap;
}

.bl-table-head-sort-symbol {
    font-size: 0.7em;
    padding-top: 0.5em;
    padding-bottom: 0.25em;
    padding-left: 7px;
}

.bl-table-cell-success {
    color: #008000;
}

.table-striped > tbody > tr > .bl-table-cell-success {
    /* Override table-striped color set by bootstrap */
    color: #008000;
}

.table-striped > tbody > tr.bl-table-cell-success > td {
    /* Override table-striped color set by bootstrap */
    color: #008000;
}

.bl-table-cell-failed {
    color: #a94442;
}

.table-striped > tbody > tr > .bl-table-cell-failed {
    /* Override table-striped color set by bootstrap */
    color: #a94442;
}

.table-striped > tbody > tr.bl-table-cell-failed > td {
    /* Override table-striped color set by bootstrap */
    color: #a94442;
}

.bl-table-cell-new {
    font-weight: bold;
}

.bl-pagesize-field-not-empty {
    padding: 4px 0;
}

.bl-pagination {
    margin: 0;
    padding: 3px;
}

.bl-main-body {
    margin-top: 56px;
    padding-top: 20px;
}

.bl-navbar-right {
    padding-right: 10px;
    padding-left: 10px;
}

.bl-search-box-visible {
    z-index: 1000;
}

.bl-bank-icon {
    margin-right: 5px;
    vertical-align: text-bottom;
}

.bl-icon-table {
    width: 100%;
    border: 0;
}

.bl-icon-table-button {
    text-align: center;
    padding-top: 1em;
}

.bl-logo-container {
    display: block;
}

.bl-logo-image {
    margin-top: -3px;
}

.bl-paging-table-button {
    margin-top: -0px;
}

.bl-paging-table-info {
    margin-left: 9px;
}

.bl-timepicker-wrapper {
    max-width: 9em;
}

.bl-mandatory-description {
    font-weight: normal;
}

@media (min-width: 768px) {
    .pull-left-not-xs {
        float: left;
    }

    .pull-right-not-xs {
        float: right;
    }
}

.austrian {
    width: 14px;
    height: 14px;
    background: linear-gradient(
            to bottom,
            #333,
            #333 35%,
            #FFF 35%,
            #FFF 65%,
            #333 65%,
            #333);
    border-radius: 1px;
}

.bl-stmt-details-table-row {
    border-bottom: 0.3px solid #dee2e6;
}

.bl-flex-column {
    flex-direction: column;
}

.bl-conversion-input-group {
    padding-left: 1.3rem;
}

/* styles for austrian tax office payment template
------------------------------------------------------------ */
.bl-taxoffice-dateinputline, .bl-taxoffice-feeinputline {
    display: flex;
    align-items:center;
}

.bl-taxoffice-feeinputline {
    margin: 0.5em 0 0 2.5em;
}

.bl-taxoffice-datetypeselect {
    width: 180px;
}

.bl-taxoffice-balanceselect {
    max-width: 120px;
}

/* styles for send parameter tab in bank details
------------------------------------------------------------ */
.bl-send-parameter-line {
    display: flex;
}

.bl-send-parameter-ordertype {
    width: calc(15% - 15px);
    margin-right: 15px;
}

.bl-send-parameter-btf {
    width: calc(50%);
}

.bl-send-parameter-scheme {
    width: calc(35% - 15px);
    margin-left: 15px;
}

/* styles for orderType/btf input field plus btf modal button
------------------------------------------------------------ */
.bl-btfinputfield-line {
    display: flex;
}

.bl-btfinputfield-btf {
    width: calc(100% - 15px - 11em);
    margin-right: 15px;
}

.bl-btfinputfield-button {
    width: 11em;
}

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

.pull-right {
    float: right;
}

.hidden {
    display: none;
}
/* "Hack" to avoid scrollbars covering text in IE and EDGE
------------------------------------------------------------ */
@media all and (forced-colors: none) {
    .table-responsive {
        min-height: 41px;
    }
}

@supports (-ms-ime-align:auto) {
    .table-responsive {
        min-height: 41px;
    }
}

@media only screen and (min-width: 768px) {
    div[id^=multi-amount-wrapper], div[id^=multi-date-wrapper], div[id^=multi-text-wrapper],
    div[id^=booking-type-wrapper] {
        padding-right: 0;
    }

    div[id^=multi-amount-single], div[id^=multi-amount-multi], div[id^=multi-date-single],
    div[id^=multi-date-multi], div[id^=multi-text-text], div[id^=booking-type-text] {
        padding-left: 0;
    }
}

/* styles for sticky table headers that stay visible when scrolling
-------------------------------------------------------------------- */
th.sticky-top {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 48px; /* height of navigation bar */
    background-color: white;
    z-index: 110; /* needs to be > 100 to cover fixed navbar */
    min-width: 35px; /* minimum width to avoid line breaks in checkbox td elements */
}

th.sticky-top:after { /* show horizontal line below sticky header */
    position: absolute;
    content: '';
    left: 0;
    bottom: -2px;
    width: 100%;
    border-bottom: 2px solid #dee2e6;
}

.scroll-horizontal { /* container for a table that allows horizontal scrolling of the table */
    overflow-x: scroll;
    max-height: 60vh;
}

.scroll-horizontal th.sticky-top {
    top: 0; /* no margin to the top */
}

td.sticky-left {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    left: 0; /* stick to left border */
    z-index: 1; /* needs to be >= 1 to cover glyphicons */
}

td.sticky-left:after { /* show horizontal line below sticky table cells */
    position: absolute;
    content: '';
    left: 0;
    bottom: -1px;
    width: 100%;
    border-bottom: 1px solid #ddd;
}

td.sticky-left-second-column { /* For the second sticky column (after a first checkbox column) */
    left: 35px; /* width of checkbox column */
}

.table-striped > tbody > tr > td.sticky-left {
    background-color: #ffffff; /* set bootstrap table-striped background color for rows */
}

/* styles for sticky action menu bar that stays visible when scrolling
-------------------------------------------------------------------- */
.bl-action-menu {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0; /* align to page top */
    z-index: 120; /* must be > z-index of th.sticky-top elements */
}

/* styles for a divider in a select box
-------------------------------------------------------------------- */
.bl-optiondivider{
    font-size: 0.5px;
    background: rgba(0, 0, 0, 0.5);
}


/* styles for buttons in a flash
-------------------------------------------------------------------- */
.bl-under-accordion{
    padding-right: 1.25rem;
    padding-bottom: 1rem;
    padding-left: 1.25rem;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
}

.bl-under-accordion > button , .bl-under-accordion > a {
    margin-left: 6px;
}


/* styles for buttons in a flash
-------------------------------------------------------------------- */
.bl-btn-flash {
    color: black;
    transition-duration: 0.4s;
    border-color: #adb5bd;
}

.bl-btn-flash:hover {
    color: black;
    background-color: #e7e7e7;
}

/* icon in text field
-------------------------------------------------------------------- */
.bl-input-container {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    width: 100%;
}

.bl-input-container > img {
    height: 16px;
    width: 16px;
    margin-top: 8px;
}




/* styles for an  a-tag to be colored red while hovering in a dropdown menu
-------------------------------------------------------------------- */
.dropdown-menu > li > a.btn-danger:hover{
    background-image: linear-gradient(to bottom, #d43a36, #a82825);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    color: #fff;
    border-color: #a82825;
    border-width: 1px;
}


/* styles for red and green buttons to be colored like a default button when this button is disabled
-------------------------------------------------------------------- */
.dropdown-item.btn-danger:disabled, .dropdown-item.btn-danger.disabled, .dropdown-item.btn-success:disabled, .dropdown-item.btn-success.disabled, .dropdown-item.btn-info:disabled, .dropdown-item.btn-info.disabled {
    color: #adb5bd !important;
    pointer-events: none !important;
    background-color: transparent !important;
    background-image: none !important;
}

.btn-danger:disabled, .btn-danger.disabled, .btn-success:disabled, .btn-success.disabled, .btn-info:disabled, .btn-info.disabled {
    color: #434b53 !important;
    background-color: #6c757d !important;
    border-color: #cccccc !important;
    background-image: linear-gradient(to bottom, #e6e6e6, #e6e6e6) !important;
    box-shadow: none;
}

/* styles for red, green and blue card headers
-------------------------------------------------------------------- */
.bl-card-header-link-white{
    color: whitesmoke;
}

.bl-card-header-link-white:hover{
    color: white;
}

.bl-card-header-link-blue{
    color: #31708f;
}
.bl-card-header-link-blue:hover {
    color: #336699;
}
.bl-card-header-link-green {
    color: #3c763d;
}
.bl-card-header-link-green:hover {
    color: #305E31;
}

.bl-graph-canvas {
    max-height: 400px;
}

/* added spaces for some elements, this should be changed in views.forms not here. Other solution is needed.
-------------------------------------------------------------------- */
.form-check-label-inline{
    margin-top: 7px;
}
/* for example this is used in "Update public bank keys" if hash values of a bank differ*/
pre {
    margin-top: 9px;
}

/* for example both styles are used in preferences */
label.col-form-label + div input[type="checkbox"],
label.col-form-label + div div input[type="radio"] {
    margin-top: 11px;
}

label.col-form-label + div div input[type="radio"] + label {
    padding-top: 6px
}
label.col-form-label + div div input[type="checkbox"] + label {
    padding-top: 6px
}

/* put labels on the left for small screens
-------------------------------------------------------------------- */
@media screen and (max-width: 767px) {
    .text-end {
        text-align: left !important;
    }
}

/* Make sure that readonly inputs are rendered like disabled elements
-------------------------------------------------------------------- */
input[readonly]:not(.form-control-plaintext) {
    background-color: var(--bs-secondary-bg);
}

textarea[readonly]:not(.form-control-plaintext) {
    background-color: var(--bs-secondary-bg);
}

div[readonly].form-control {
    background-color: var(--bs-secondary-bg);
}

/* Displaying form error feedback in modals
-------------------------------------------------------------------- */
.error {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: var(--bs-form-invalid-color);
}
