@font-face { font-family: 'TransitPro'; font-weight: normal; font-style: normal; src: url('../font/TransitPro.otf') format('opentype'); }
@font-face { font-family: 'TransitPro'; font-weight: normal; font-style: italic; src: url('../font/TransitPro-Italic.otf') format('opentype'); }
@font-face { font-family: 'TransitPro'; font-weight: bold; font-style: normal; src: url('../font/TransitPro-Bold.otf') format('opentype'); }
@font-face { font-family: 'TransitPro'; font-weight: bold; font-style: italic; src: url('../font/TransitPro-BoldItalic.otf') format('opentype'); }

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    padding: 0;
    margin: 0;
    font-family: TransitPro;
}

/* header */
.PlainHeader {
    background-color: #ffffff;
    box-shadow: 0 1px 10px #0000001a;
}

.PlainHeader span.debitor-inactive {
    margin: 1.1rem 0;
}

.PlainHeader a {
    display: inline-block;
    margin: 1.1rem 0;
    text-decoration: none;
}

.PlainHeader a img {
    width: 2.5rem;
}

.PlainHeader a.active {
    background: #f0d722;
}

.PlainHeader a:hover:not(.PlainHeader a.active):not(.PlainHeader a.btn-primary):not(.PlainHeader a.btn-warning) {
    color: #f0d722;
}

.PlainHeader a:focus-visible {
    outline: .2rem solid #f0d722;
    outline-offset: .2rem;
}

/* footer */
.FooterMetaBar {
    background-color: #373632;
    color: #bbb9b4;
    line-height: 2.75rem;
    font-size: .9rem;
}

.FooterMetaBar a:focus-visible {
    outline: .2rem solid #f0d722;
    outline-offset: .2rem;
}

/* header und footer */
.header-sticky {
    position: sticky;
    top: 0;
    z-index: 110;
}

.header-dark {
    background-color: #373632;
    line-height: 1rem;
}

.header-dark a, .FooterMetaBar a {
    margin: 0 1.1rem;
    padding: .5rem;
    text-decoration: none;
    transition: .25s color ease-out;
    color: #bbb9b4;
    font-size: .9rem;
}

.header-dark a:hover, .FooterMetaBar a:hover {
    color: #ffffff;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

a, a:hover {
    color: #3156c9;
}

a.nav-link.active {
    background-color: #252525 !important;
    color: ghostwhite !important;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.block-buttons {
    position: relative;
}

.block-buttons, .block-buttons .btn-group {
    width: 100%;
}

.block-buttons button {
    width: 50%;
}

.card-header:not(.login-container .card-header) {
    font-weight: 600;
    font-size: 21px;
    line-height: 1.1em;
    margin-bottom: 4px;
    background: none;
    padding: 20px 21px 0;
    letter-spacing: .7px;
}

.card-header:first-child {
    border-radius: 8px 8px 0 0;
    border-bottom: none;
}

.card-header.bg-success {
    background: #cfe7d1 !important;
    color: #254a2f !important;
}

.card-header.bg-danger {
    background: #ffdad1 !important;
    color: #8c0006 !important;
}

.card {
    border-radius: 8px;
}

.box {
    border: none;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1),
    0 20px 20px 0 rgba(0, 0, 0, 0.1);
}

.box > .card-header {
    min-height: 100px;
    padding-top: 38px;
    color: black;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 9999px #e1e1e1 inset;
}

table {
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.second {
    background-color: rgba(0, 0, 0, .05);
    border: none !Important;
}

.table td, .table th {
    vertical-align: inherit !important;
    height: 46px;
    min-width: 50px;
    white-space: nowrap;
    text-overflow: ellipsis;
    border: none !Important;
    font-weight: unset;
}

.table td:first-child, .table th:first-child {
    padding-left: 10px;
}

td .btn, #abteilung-form > .btn {
    min-width: 35px;
    margin: 2px;
}

div.Tabelle-1 {
    padding-right: 10em;
}

div.Tabelle-2 {
    position: relative;
    width: 100%;
    padding: 0;
}

div.Tabelle-3 {
    overflow-x: scroll;
    padding: 0;
}

.Tabelle-4 td.columFix, th.columFix {
    position: absolute;
    width: 10em;
    border-top: 1px solid #dee2e6;
    right: -10em;
}

.fp-status-badge-NEU,
.fp-status-badge-NEU-TW{
    background-color: #f0d722;
}

.fp-status-badge-SEPA, .fp-status-badge-ABG, .fp-status-badge-NAME, .fp-status-badge-ADR, .fp-status-badge-BILD
, .fp-status-badge-ABG-TW, .fp-status-badge-BILD-TW
{
    background-color: #ffdad1;
    color: #8c0006;
}

.fp-status-badge-BST, .fp-status-badge-BST-TW, .fp-status-badge-EING, .fp-status-badge-BEARB, .fp-status-badge-DRUCK,
.fp-status-badge-OK, .fp-status-badge-VERS {
    background-color: #d8e3ef;
    color: #004573;
}

.fp-status-badge-ABL, .fp-status-badge-KÜND, .fp-status-badge-END, .fp-status-badge-STO,
.fp-status-badge-ABL-TW, .fp-status-badge-ALT-TW
{
    background-color: #252525;
    color: ghostwhite;
}

.fp-status-badge-AKTIV,
.fp-status-badge-AKTIV-TW
{
    background-color: #cfe7d1;
    color: #254a2f;
}

.list-group-item {
    padding: .75rem 0;
}

.card-body > .list-group :not(.debitor) {
    max-height: 300px;
    overflow-y: auto;
}

.card-body > .list-group.debitor li {
    background-color: transparent;
}

.card-body > .list-group.debitor li:first-child {
    border-top: 1px solid rgba(0, 0, 0, .125);
}

.card-body > .list-group.debitor li:last-child {
    border-bottom: none;
}

.ticket-status-info {
    min-width: 2.5rem;
    display: inline-block;
    text-align: center;
}

.card-header:not(.login-container .card-header) {
    font-weight: 500;
    font-size: 1.25rem;
}

.mini {
    max-height: 20px;
    vertical-align: super;
}

textarea.form-control {
    height: auto;
    margin-top: -25px;
}

.link_back {
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 2rem;
}

.btn-group-xs > .btn, .btn-xs {
    padding: .25rem .4rem;
    font-size: .875rem;
    line-height: .5;
    border-radius: .2rem;
}

.hide {
    display: none;
}

#ticket-cancellation-form {
    width: 100%;
}

.progress {
    height: 1.5rem;
    background: #e1e1e1;
}

.progress-bar {
    background: #252525;
}

.page-link, .page-link:hover {
    color: #3156c9;
}

.page-link:hover {
    background-color: #e1e1e1;
    border-color: #e1e1e1;
}

.page-link:focus {
    box-shadow: 0 0 0 .2rem rgba(49, 86, 201, .25);
}

.page-item.active .page-link {
    background-color: #252525;
    border-color: #252525;
}

.btn {
    border-radius: 8px;
}

.btn.btn-light {
    background-color: #e1e1e1;
    border-color: #e1e1e1;
}

.bg-warning, .btn-warning {
    background-color: #f0d722 !important;
}

.btn-warning, .btn-warning:hover {
    border-color: #f0d722 !important;
}

.btn-success, .btn-success:hover, .btn-success:active, .btn-success:focus {
    background: #cfe7d1 !important;
    color: #254a2f !important;
    border-color: #cfe7d1 !important;
}

.btn-danger, .btn-danger:hover, .btn-danger:active, .btn-danger:focus {
    background: #ffdad1 !important;
    color: #8c0006 !important;
    border-color: #ffdad1 !important;
}

.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    background-color: #252525 !important;
    border-color: #252525 !important;
}

.btn-primary:not(:disabled):not(.disabled):active:focus {
    box-shadow: 0 0 0 .2rem rgba(37, 37, 37, .5);
}

.search-input-label {
    justify-content: start !important;
    padding-left: .75rem;
    margin-top: 1rem;
}

.search-button {
    min-width: 50px;
    min-height: 50px;
}

.text-with-icon {
    padding-top: .375rem;
    display: inline-block;
}

.break-word {
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}

select {
    margin-bottom: 10px;
}

.w-80 {
    width: 80% !important
}

.w-75 {
    width: 75% !important
}

.w-70 {
    width: 70% !important
}

.w-65 {
    width: 65% !important
}

.w-60 {
    width: 60% !important
}

.w-30 {
    width: 30% !important
}

.w-20 {
    width: 20% !important
}

.w-15 {
    width: 15% !important
}
.highlight {
    background-color: #f0d722;
}

/* Flickering tooltip fix */
.tooltip {
    pointer-events: none;
}

#noscript {
    position: fixed;
    text-align: center;
    width: 100%;
    font-size: larger;
    z-index: 1000;
    top: 0;
    left: 0;
    padding: 5px;
}

.table-striped tbody tr.inactive-users-headline {
    background: rgba(240, 215, 34, .25);
}

.table-striped tbody tr.inactive-users-headline .fa:before {
    content: '\f077';
}

.table-striped tbody tr.inactive-users-headline.collapsed .fa:before {
    content: '\f078';
}

.table-striped tbody tr.inactive-users-headline:hover {
    background: rgba(240, 215, 34, 1);
    cursor: pointer;
}

.width-90px {
    width: 90px;
}
.disabled {
    border-color:  gray !Important;
    background-color: gray !Important;
}

.new-chk-tooltip.tooltip-inner {
    background: #007bff;
}

.new-chk-tooltip.arrow:before {
    border-bottom-color: #007bff;
}

.z-index-1 {
    z-index: 1;
}

.background-transparent-50 {
    background: rgba(0, 0, 0, .5);
}

.video {
    height: auto;
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}

.login-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.login-container .card {
    border: none;
}

.login-container .card-header {
    background: #f0d722;
}

.login-container .card-header.background-transparent {
    background: transparent;
}

.login-container .card-header h1 {
    font-size: 1.25rem;
    margin-bottom: 0;
}

.login-error {
    margin-top: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.form-control:focus {
    border: 1px solid #000000;
    box-shadow: none;
}

input.form-control {
    padding: 1.5rem;
}

/* button */
button, .button {
    font-size: 1.25rem;
    background-color: #f0d722;
    border-radius: 8px;
    border: .2rem solid #f0d722;
    font-weight: 700;
    padding: .9rem 4rem;
    transition: box-shadow .1s ease-out;
}

.button {
    width: 100%;
    padding: .9rem 0;
}

button.refresh-captcha {
    padding: 0 .9rem;
}

button.disabled, .button.disabled {
    background-color: #373632;
    color: #bbb9b4;
    border: none;
}

button.disabled.disabled-with-border {
    border: 1px solid transparent;
}

button:hover:not(button.close):not(button.disabled), .button:hover:not(.button.disabled) {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .35);
}

.btn.focus, .btn:focus {
    box-shadow: none;
}

.btn.position-top {
    position: absolute;
    top: 0.1em;
    right: 0.3em;
}

.navbar-toggler {
    background: #f0d722;
}

.index-background-image {
    position: relative;
}

.index-background-image:after {
    width: 100%;
    height: 100%;
    background: url('../img/Blick-Gleisdreieck-01-klein-1440x714.png') center no-repeat;
    background-size: cover;
    opacity: .15;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.index-background-image > .alert {
    text-align: center;
}

.invoice-dispatch-method {
    margin-top: .175rem;
}

.width-50prozent {
    width: 50%;
}

.min-width-7rem {
    min-width: 7rem;
}

#resetpassword-captcha-image, #newpassword-captcha-image {
    height: 2.75rem;
    position: absolute;
    top: -33px;
}

#switchModal .modal-body {
    max-height: calc(100vh - 12.5rem);
    overflow: auto;
}

#switchModal .modal-header input[name="search-debitor"] {
    max-width: 9rem;
    padding: .2em .25em .375em;
}

#debitorList.table thead {
    position: sticky;
    top: -1rem;
    z-index: 1;
}

#debitorList.table thead th {
    background: #DCDCDC;
    font-weight: bold;
}

#debitorList.table th, #debitorList.table td {
    max-width: 15rem;
    overflow: hidden;
}

.webchat-root button,
.webchat-root .button {
    all: revert;
}

#friendlyContract_radiolist .form-check, #friendlyContract_radiolist label {
    justify-content: start;
}

@media screen and (max-device-width: 414px) and (orientation: portrait) {
    .width-50prozent {
        width: 100vw;
    }
}

@media screen and (max-device-width: 768px) {
    .login-container {
        position: relative;
        left: initial;
        top: initial;
        transform: none;
        margin: 1rem 0;
    }
}
