/* ---------------------------------------------------------------------------
 * Überschriften
 */
.page-heading {
    font-size: 21px;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 300;
    color: #333;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
}

.btn-toolbar-header {
    font-size: 20px;
    font-weight: 300;
}

/* ---------------------------------------------------------------------------
 * Links
 */
a.small-link,
a.small-link:hover,
a.small-link:hover {
    color: #333;
}

img {
    max-width: 100%;
}

/* ---------------------------------------------------------------------------
 * Buttons
 */
.btn-gs {
    color: #fff;
    background-color: #63AC25;
    border-color: #4cae4c;
}

.btn-gs:hover {
    color: #fff;
    background-color: #449d44;
    border-color: #398439;
}

.btn-secondary {
    border-color: #adadad;
}

.btn-secondary:hover {
    border-color: #666666;
}

/*
 * Sticky footer
 */

html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 139px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 139px;
    background-image: url("/javax.faces.resource/images/bg-footer.jpg.xhtml;jsessionid=45F6037A82C8467B68E42064C9B534C9");
}

.footer p {
    color: #fff;
    font-family: geneva, Helvetica, arial;
    font-weight: 100;
    font-size: 13px;
    line-height: 19.5px;
}

a.footer-link {
    color: #fff;
}

a.footer-link:hover {
    color: #fff;
}

a.footer-link:visited {
    color: #fff;
}


.navbar.navbar-primary {
    margin-bottom: 0;
}

.navbar-header span.navbar-brand {
    font-weight: 300;
}

/*
 * Secondary nav for pages
 */
.navbar.navbar-secondary {
    border: none;
}

.navbar-secondary {
    background-color: inherit;
}

.navbar-secondary .navbar-brand {
    font-weight: 500;
    font-size: 36px;
}

/*
 * Sign in page
 */
.form-signin {
    max-width: 280px;
    padding: 15px;
    margin: 0 auto;
    margin-top: 50px;
}

.form-signin,
.form-signin .form-signin-heading {
    margin-bottom: 10px;
}

.form-signin .form-control {
    font-size: 16px;
    height: auto;
    padding: 10px;
}

.form-signin input[type="text"] {
    margin-bottom: -1px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.form-signin input[type="password"] {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-bottom: 10px;
}

.form-signin-heading {
    text-align: center;
}

/*
 * Home
 */
a.list-group-item,
button.list-group-item {
    color: #337ab7;
}

a.list-group-item:focus,
a.list-group-item:hover,
button.list-group-item:focus,
button.list-group-item:hover {
    color: #23527c;
}

.letzte-belege .kunde {
    color: #333;
    padding-left: 8px;
}

/*
 * Utility classes
 */

.required:before {
    content: "* ";
    color: red;
}

.light-text {
    font-weight: 200;
}

.huge {
    text-align: right;
    font-size: 72px;
    line-height: 1em;
    border-bottom-style: double;
}

table.billing:first-of-type {
    margin-bottom: 0px;
}

table.billing caption {
    font-size: 20px;
    color: #080808;
    font-weight: bold
}

table.billing:first-of-type > tbody > tr:first-child > td,
table.billing:first-of-type > tbody > tr.no-border > td {
    border-top: 0;
}

table.billing > tbody > tr:last-child > td {
    border-color: #333;
}

.table.vertical-middle > thead > tr > th,
.table.vertical-middle > tbody > tr > td {
    vertical-align: middle;
}

.table > tbody > tr > td .flex-block {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.table > tbody > tr > td .flex-block .btn-group {
    display: flex;
    flex-wrap: nowrap;
}

.colum-with-prize {
    white-space: nowrap;
    text-align: right;
}

.gesamtsumme {
    font-weight: bold;
    border-top: double;
}

.mwst {
    font-size: 10px;
    font-style: italic;
}

.nowrap {
    white-space: nowrap;
}

/*
 * Tabelle fur die Preisberechnung der Variante
 */
#service-preis tbody > tr:first-child > td,
#variante-preis tbody > tr:first-child > td {
    border-top: 0;
}

#service-preis tbody > tr.summe > td,
#variante-preis tbody > tr.summe > td {
    border-top-color: #333;
}

#service-preis tbody > tr:last-child > td,
#variante-preis tbody > tr:last-child > td {
    font-weight: bold;
    border-top: double;
}

/*
 * Tables
 */

.gs-table {

}

.gs-td-text {

}

.gs-td-number {
    text-align: right;
}

.gs-td-center {
    text-align: center;
}

/* ---------------------------------------------------------------------------
 * Navbar
 */
.navbar-gs {
    background-color: #f8f8f8;
    border-color: #e7e7e7;
}

.navbar-gs .navbar-brand {
    color: rgb(115, 181, 76);
}

.navbar-gs .navbar-brand:hover,
.navbar-gs .navbar-brand:focus {
    color: #5cb85c;
    background-color: transparent;
}

.navbar-gs .navbar-text {
    color: #777;
}

.navbar-gs .navbar-nav > li > a {
    color: rgb(115, 181, 76);
}

.navbar-gs .navbar-nav > li > a:hover,
.navbar-gs .navbar-nav > li > a:focus {
    color: #5cb85c;
    background-color: transparent;
}

.navbar-gs .navbar-nav > .active > a,
.navbar-gs .navbar-nav > .active > a:hover,
.navbar-gs .navbar-nav > .active > a:focus {
    color: #555;
    background-color: #e7e7e7;
}

.navbar-gs .navbar-nav > .disabled > a,
.navbar-gs .navbar-nav > .disabled > a:hover,
.navbar-gs .navbar-nav > .disabled > a:focus {
    color: #ccc;
    background-color: transparent;
}

.navbar-gs .navbar-toggle {
    border-color: #ddd;
}

.navbar-gs .navbar-toggle:hover,
.navbar-gs .navbar-toggle:focus {
    background-color: #ddd;
}

.navbar-gs .navbar-toggle .icon-bar {
    background-color: #888;
}

.navbar-gs .navbar-collapse,
.navbar-gs .navbar-form {
    border-color: #e7e7e7;
}

.navbar-gs .navbar-nav > .open > a,
.navbar-gs .navbar-nav > .open > a:hover,
.navbar-gs .navbar-nav > .open > a:focus {
    color: #555;
    background-color: #e7e7e7;
}

@media (max-width: 767px) {
    .navbar-gs .navbar-nav .open .dropdown-menu > li > a {
        color: #777;
    }

    .navbar-gs .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-gs .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #333;
        background-color: transparent;
    }

    .navbar-gs .navbar-nav .open .dropdown-menu > .active > a,
    .navbar-gs .navbar-nav .open .dropdown-menu > .active > a:hover,
    .navbar-gs .navbar-nav .open .dropdown-menu > .active > a:focus {
        color: #555;
        background-color: #e7e7e7;
    }

    .navbar-gs .navbar-nav .open .dropdown-menu > .disabled > a,
    .navbar-gs .navbar-nav .open .dropdown-menu > .disabled > a:hover,
    .navbar-gs .navbar-nav .open .dropdown-menu > .disabled > a:focus {
        color: #ccc;
        background-color: transparent;
    }
}

.navbar-gs .navbar-link {
    color: #777;
}

.navbar-gs .navbar-link:hover {
    color: #333;
}

.navbar-gs .btn-link {
    color: #777;
}

.navbar-gs .btn-link:hover,
.navbar-gs .btn-link:focus {
    color: #333;
}

.navbar-gs .btn-link[disabled]:hover,
fieldset[disabled] .navbar-gs .btn-link:hover,
.navbar-gs .btn-link[disabled]:focus,
fieldset[disabled] .navbar-gs .btn-link:focus {
    color: #ccc;
}

/* ---------------------------------------------------------------------------
 * Buchstabenregister bei den Kundenadressen
 */
.letter-register {
    list-style-type: none;
}

.letter-register li {
    margin: 0 0 5px 0;
}

.letter-register a {
    font-size: 16px;
}

.letter-register a.disabled {
    pointer-events: none;
    cursor: default;
    color: #ccc;
}

.letter-table {
    table-layout: fixed;
}

.letter-table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

}

.letter-table-caption {
    font-size: 21px;
}

/* ---------------------------------------------------------------------------
 * Arrows
 */
a.gs-arrow-up:hover,
a.gs-arrow-down:hover {
    text-decoration: none
}

/* ---------------------------------------------------------------------------
* Kalkulationsfenster
*/
.kalkulations-table {
    margin-bottom: 0;
}

.kalkulations-footer {
    font-size: 10px;
    margin-bottom: 20px;
}

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

.kalkulation-summary-table {
    width: 60%;
}

.kalkulation-summary-table tbody tr {
    font-weight: bold;
}

.fat-row {
    border-top: 1px solid #63AC25;
    border-bottom: 3px double #63AC25;
    font-size: 18px;
    font-weight: bold;
}

.money {
    text-align: right;
}

/* ---------------------------------------------------------------------------
* Dokumente
*/
.hiders {
    cursor: pointer;

}

/* ---------------------------------------------------------------------------
 * Variantensuche
 */

.btn-variantensuche {
    margin-top: 15px;
}

.filter-list {
    padding: 0;
    list-style-type: none;
}

.filter-list div.checkbox {
    margin: 2px 0;
}

.filter-list label {
    font-size: 12px
}

/* Login */

.form-horizontal .has-warning.has-error .control-label,
.form-horizontal .has-warning.has-error .input-group-addon,
.form-horizontal .has-warning.has-error .help-block {
    color: #8a6d3b !important;
}

.form-horizontal .has-warning.has-error .form-control,
.form-horizontal .has-warning.has-error .input-group-addon {
    border-color: #8a6d3b !important;
}

.form-horizontal .has-warning.has-error .input-group-addon {
    background-color: #fcf8e3 !important;
}

/* fix spacing */
.m-0 {
    margin: 0 !important;
}

.mt-0,
.my-0 {
    margin-top: 0 !important;
}

.mr-0,
.mx-0 {
    margin-right: 0 !important;
}

.mb-0,
.my-0 {
    margin-bottom: 0 !important;
}

.ml-0,
.mx-0 {
    margin-left: 0 !important;
}

.m-1 {
    margin: 0.25rem !important;
}

.mt-1,
.my-1 {
    margin-top: 0.25rem !important;
}

.mr-1,
.mx-1 {
    margin-right: 0.25rem !important;
}

.mb-1,
.my-1 {
    margin-bottom: 0.25rem !important;
}

.ml-1,
.mx-1 {
    margin-left: 0.25rem !important;
}

.m-2 {
    margin: 0.5rem !important;
}

.mt-2,
.my-2 {
    margin-top: 0.5rem !important;
}

.mr-2,
.mx-2 {
    margin-right: 0.5rem !important;
}

.mb-2,
.my-2 {
    margin-bottom: 0.5rem !important;
}

.ml-2,
.mx-2 {
    margin-left: 0.5rem !important;
}

.m-3 {
    margin: 1rem !important;
}

.mt-3,
.my-3 {
    margin-top: 1rem !important;
}

.mr-3,
.mx-3 {
    margin-right: 1rem !important;
}

.mb-3,
.my-3 {
    margin-bottom: 1rem !important;
}

.ml-3,
.mx-3 {
    margin-left: 1rem !important;
}

.m-4 {
    margin: 1.5rem !important;
}

.mt-4,
.my-4 {
    margin-top: 1.5rem !important;
}

.mr-4,
.mx-4 {
    margin-right: 1.5rem !important;
}

.mb-4,
.my-4 {
    margin-bottom: 1.5rem !important;
}

.ml-4,
.mx-4 {
    margin-left: 1.5rem !important;
}

.m-5 {
    margin: 3rem !important;
}

.mt-5,
.my-5 {
    margin-top: 3rem !important;
}

.mr-5,
.mx-5 {
    margin-right: 3rem !important;
}

.mb-5,
.my-5 {
    margin-bottom: 3rem !important;
}

.ml-5,
.mx-5 {
    margin-left: 3rem !important;
}

/**
 * Custom form elements
 *    - Checkbox
 *    - Radios
 */

.radio label, .checkbox label {
    min-height: 20px;
    padding-left: 20px;
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
}

.c-checkbox,
.c-radio {
    margin-right: 4px;
}

.c-checkbox *,
.c-radio * {
    cursor: pointer;
}

.c-checkbox input,
.c-radio input {
    opacity: 0;
    position: absolute;
    margin-left: 0 !important;
}

.c-checkbox label .fa,
.c-radio label .fa {
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin-left: -20px;
    width: 20px;
    height: 20px;
    border-radius: 2px;
    border: 1px solid #ccc;
    margin-right: 5px;
    text-align: center;
    color: #fff;
    padding: 3px;
}

.c-checkbox label .fa:before,
.c-radio label .fa:before {
    margin-left: 1px;
}

.c-checkbox:hover label .fa,
.c-radio:hover label .fa {
    border-color: #428BCA;
}

.form-inline .c-checkbox label .fa,
.form-inline .c-radio label .fa {
    margin-left: 0;
}

.c-checkbox.c-checkbox-rounded label .fa,
.c-radio.c-checkbox-rounded label .fa,
.c-checkbox.c-radio-rounded label .fa,
.c-radio.c-radio-rounded label .fa {
    border-radius: 500px;
}

/* override for radio */
.c-radio label .fa {
    border-radius: 500px;
}

/* the icon */
.c-checkbox label .fa:before,
.c-radio label .fa:before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    text-align: center !important;
    font-size: 12px;
    line-height: 18px;
    vertical-align: middle;
}

/* Checked state */
.c-checkbox,
.c-radio {
    /* override for radio */
    /* Disable state */
    /* override for radio */
}

.c-checkbox label input[type=checkbox]:focus + .fa,
.c-radio label input[type=checkbox]:focus + .fa,
.c-checkbox label input[type=radio]:focus + .fa,
.c-radio label input[type=radio]:focus + .fa {
    border-color: #428BCA;
}

.c-checkbox label input[type=checkbox]:checked + .fa:before,
.c-radio input[type=checkbox]:checked + .fa:before,
.c-checkbox label input[type=radio]:checked + .fa:before,
.c-radio label input[type=radio]:checked + .fa:before {
    color: #fff;
    opacity: 1;
    transition: color 0.3s ease-out;
}

.c-checkbox label input[type=checkbox]:checked + .fa,
.c-radio label input[type=checkbox]:checked + .fa,
.c-checkbox label input[type=radio]:checked + .fa,
.c-radio label input[type=radio]:checked + .fa {
    border-color: #428BCA;
    background-color: #428BCA;
}

.c-checkbox label input[type=radio]:checked + .fa,
.c-radio label input[type=radio]:checked + .fa {
    background-color: #fff;
}

.c-checkbox label input[type=radio]:checked + .fa:before,
.c-radio label input[type=radio]:checked + .fa:before {
    color: #428BCA;
}

.c-checkbox label input[type=checkbox]:disabled + .fa,
.c-radio input[type=checkbox]:disabled + .fa,
.c-checkbox label input[type=radio]:disabled + .fa,
.c-radio input[type=radio]:disabled + .fa {
    border-color: #dddddd !important;
}

.c-checkbox label input[type=checkbox]:checked:disabled + .fa,
.c-radio input[type=checkbox]:checked:disabled + .fa,
.c-checkbox label input[type=radio]:checked:disabled + .fa,
.c-radio input[type=radio]:checked:disabled + .fa {
    background-color: #dddddd !important;
}

.c-checkbox label input[type=radio]:disabled + .fa,
.c-radio label input[type=radio]:disabled + .fa {
    background-color: #fff !important;
}

.c-checkbox label input[type=radio]:disabled + .fa:before,
.c-radio label input[type=radio]:disabled + .fa:before {
    color: #dddddd;
}

/* bootstramp fix */
.has-error .form-control.no-error {
    border-color: #ccc;
}

.has-error .form-control.no-error:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}

/* Ajax // Spinner */
#ajaxPopUp {
    display: none;
    position: fixed;
    z-index: 5000;
    width: 100%;
    height: 100%;
    /* Fallback for web browsers that doesn't support RGBa */
    background: #000;
    /* RGBa with 0.6 opacity */
    background: rgba(0, 0, 0, 0.7);
}

#spinner {
    display: none;
    position: fixed;
    z-index: 9999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

#spinner {
    width: 100%;
    text-align: center;
}

#spinner > div {
    width: 18px;
    height: 18px;
    background-color: #fff;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

#spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

#spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

/* custom upload */
.dragndrop {
    margin: -4px 0 0 -4px;
    transition: background-color 0.5s ease;
    min-height: 80px;
}

.dragndrop:hover {
    background: #f3f7f9;
}

.dragndrop label {
    margin: 4px;
}

.dragndrop:hover label {
    border-color: #89bceb;
    background-color: #89bceb;
}

.dragndrop input[type=file] {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.dragndrop .btn {
    margin: 4px;
}

.dragndrop .close {
    text-shadow: none;
    filter: none;
    opacity: .8;
    color: #fff;
}

.dragndrop .preview {
    max-width: 100%;
    margin: 4px;
    padding-right: 4px;
}

#newDokumentModal .alert {
    display: block;
    margin: 10px 0 0;
}

.preview.alert-dismissible {
    padding: 8px 35px 8px 8px;
    margin-bottom: 0;
}

.preview.alert-dismissible img {
    margin: 16px 0 0;
    max-width: calc(100% + 28px);
}

/* Dokumente */
.table.dokumente tr td .desc {
    color: #555;
    overflow: hidden;
}

.table.dokumente tr td a:hover {
    text-decoration: none;
}

.table.dokumente tr td a.touch-block {
    color: #333;
}

.table.dokumente tr td a .title {
    color: #337ab7;
}

.table.dokumente tr td a:hover .title {
    color: #23527c;
    text-decoration: underline;
}

.lable-dokument {
    vertical-align: text-top;
    padding-bottom: 4px;
    display: inline-block;
}

.cell-100 {
    width: 100px;
}

.cell-150 {
    width: 150px;
}

.d-block {
    display: block;
}

.font-size-14 {
    font-size: 14px;
}

.font-weight-normal {
    font-weight: normal;
}

/*
 * Callouts
 *
 * Not quite alerts, but custom and helpful notes for folks reading the docs.
 * Requires a base and modifier class.
 */

/* Common styles for all types */
.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}

.bs-callout p:last-child {
    margin-bottom: 0;
}

.bs-callout code {
    border-radius: 3px;
}

/* Tighten up space between multiple callouts */
.bs-callout + .bs-callout {
    margin-top: -5px;
}

/* Variations */
.bs-callout-danger {
    border-left-color: #ce4844;
}

.bs-callout-danger h4 {
    color: #ce4844;
}

.bs-callout-warning {
    border-left-color: #aa6708;
}

.bs-callout-warning h4 {
    color: #aa6708;
}

.bs-callout-info {
    border-left-color: #1b809e;
}

.bs-callout-info h4 {
    color: #1b809e;
}

/* Panel Hinweis */
.panel.hinweis p:last-of-type {
    margin-bottom: 0;
}

.fa-revert {
    transform: rotateY(180deg);
}

/* messages */
.error-message {
    list-style: none;
    padding: 0;
}

/* Dropdown */
.dropdown-item:focus, .dropdown-item:hover {
    color: #16181b;
    text-decoration: none;
    background-color: #e9ecef;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

/* Signature Pad */
#modal-signature .modal-body {
    height: 350px;
}

.signature-pad {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: 10px;
    width: 100%;
    height: 100%;
    max-width: 700px;
    max-height: 460px;
    border: 1px solid #e8e8e8;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
    border-radius: 4px;
    padding: 16px;
}

.signature-pad .signature-data {
    opacity: 0;
    pointer-events: none;
}

.signature-pad--body,
.signature-image {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    border: 1px solid #f4f4f4;
    height: 302px;
}

.signature-image img {
    position: absolute;
}

.signature-pad--body::before,
.signature-image::before {
    content: attr(data-date);
    position: absolute;
    top: calc(80% - 30px);
    width: 100%;
    height: auto;
    pointer-events: none;
    font-size: 14px;
    padding: 5px 0;
    z-index: 2;
}

.signature-pad--body::after,
.signature-image::after {
    content: 'Datum, Unterschrift';
    position: absolute;
    top: 80%;
    width: 100%;
    height: auto;
    border-top: 2px solid black;
    pointer-events: none;
    font-size: 14px;
    padding: 5px 0;
}

.signature-image::before,
.signature-image::after {
    padding-left: 5px;
    padding-right: 5px;
}

.signature-pad--body canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
}

.signature-pad--footer {
    color: #C3C3C3;
    text-align: center;
    font-size: 1.2em;
    margin-top: 8px;
}

.signature-pad--actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 8px;
}

.signature-pad--actions .column {
    padding: .1em;
}

.signature-pad--actions .button {
    margin: .2em;
}


@media (max-width: 480px) {
    .signature-pad--actions .button {
        display: block;
        width: 100%;
        min-height: 2em;
    }
}