/**
* Table-HBZ Stylesheet fuer haevbw.de/vertragsziffernüberblick
* @version         1.0
* @lastmodified    13.12.2021
*/

/* #8058 - Sticky header for blue lines with health insurance companies */
#contract-table.table-hbz tr.text-white.bg-primary td {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #0052A4 !important; /* Bootstrap primary color */
}

/* #8058 - Make sure that the white cells on the left are also sticky */
#contract-table.table-hbz tr.text-white.bg-primary td.bg-white {
    position: sticky;
    top: 0;
    z-index: 11;
    background-color: #fff !important;
}

/* #8058 - Container for sticky behavior */
#contract-table.table-hbz {
    position: relative;
    overflow: visible;
}

/* #8058 - For better compatibility with different browsers */
#contract-table.table-hbz table {
    border-collapse: separate;
    border-spacing: 0;
    position: relative;
}

/* #8058 - Shadow for better visibility when scrolling */
#contract-table.table-hbz tr.text-white.bg-primary.is-sticky td {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* #8058 - Adjust top position for larger screens */
@media (min-width: 1440px) {
    #contract-table.table-hbz tr.text-white.bg-primary td {
        top: 5.75rem;
    }
}

.color-quali {
    color: #EFD522;
}
.color-quote {
    color: #319F49;
}
.color-zusatz {
    color: #c31924;
}
span.tab-icon{
    display: inline-flex;
}
.tab-icon::after {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    margin-left: 3px;
}

.quali::after {
    font-family: "Font Awesome 6 Pro"; font-weight: 900; content: "\f5a2"; color: #EFD522;
}

.quote::after {
    font-family: "Font Awesome 6 Pro"; font-weight: 900; content: "\f541"; color: #319F49;
}

.zusatz::after {
    font-family: "Font Awesome 6 Pro"; content: "\f15c"; color: #c31924;
}

.bg-table-light-grey {
    background-color: #f7f7f7;
}
.bg-table-grey {
    background-color: #e7e7e7;
}
    /*------------------------------------
      Tables
    ------------------------------------*/
#FirstCell {
    width: 16.875rem
}
.table-hbz div {
    line-height: 1.3;
    font-size: 0.98438rem;
}
.table-hbz tbody th {
    vertical-align: middle;
}
td small {
    font-weight: 400;
}
/*-----------------------------------
HBZ-Border
---------------------------------- */
/* line 7, ../../Data/Hausarzt-BW/Relaunch 2020 - NewGit/03.Protoyping/Front Template 3.2/bundles/app/vendor/bootstrap/scss/utilities/_borders.scss */
.border-strong {
    border: 0.0625rem solid #5c5c5c !important;
}

/* line 8, ../../Data/Hausarzt-BW/Relaunch 2020 - NewGit/03.Protoyping/Front Template 3.2/bundles/app/vendor/bootstrap/scss/utilities/_borders.scss */
.border-strong-top {
    border-top: 0.0625rem solid #5c5c5c !important;
}

/* line 9, ../../Data/Hausarzt-BW/Relaunch 2020 - NewGit/03.Protoyping/Front Template 3.2/bundles/app/vendor/bootstrap/scss/utilities/_borders.scss */
.border-strong-right {
    border-right: 0.0625rem solid #5c5c5c !important;
}

/* line 10, ../../Data/Hausarzt-BW/Relaunch 2020 - NewGit/03.Protoyping/Front Template 3.2/bundles/app/vendor/bootstrap/scss/utilities/_borders.scss */
.border-strong-bottom {
    border-bottom: 0.0625rem solid #5c5c5c !important;
}

/* line 11, ../../Data/Hausarzt-BW/Relaunch 2020 - NewGit/03.Protoyping/Front Template 3.2/bundles/app/vendor/bootstrap/scss/utilities/_borders.scss */
.border-strong-left {
    border-left: 0.0625rem solid #5c5c5c !important;
}
.border-x {
    border-left: 0.0625rem solid  #cfcfcf !important;
    border-right: 0.0625rem solid  #cfcfcf !important;
}

.border-left {
    border-left: 0.0625rem solid  #cfcfcf !important;
}

.border-right {
    border-right: 0.0625rem solid  #cfcfcf !important;
}

.border-white {
    border: 0.0625rem solid #fff !important;
}

/* line 8, ../../Data/Hausarzt-BW/Relaunch 2020 - NewGit/03.Protoyping/Front Template 3.2/bundles/app/vendor/bootstrap/scss/utilities/_borders.scss */
.border-white-top {
    border-top: 0.0625rem solid #fff !important;
}

/* line 9, ../../Data/Hausarzt-BW/Relaunch 2020 - NewGit/03.Protoyping/Front Template 3.2/bundles/app/vendor/bootstrap/scss/utilities/_borders.scss */
.border-white-right {
    border-right: 0.0625rem solid #fff !important;
}

/* line 10, ../../Data/Hausarzt-BW/Relaunch 2020 - NewGit/03.Protoyping/Front Template 3.2/bundles/app/vendor/bootstrap/scss/utilities/_borders.scss */
.border-white-bottom {
    border-bottom: 0.0625rem solid #fff !important;
}

/* line 11, ../../Data/Hausarzt-BW/Relaunch 2020 - NewGit/03.Protoyping/Front Template 3.2/bundles/app/vendor/bootstrap/scss/utilities/_borders.scss */
.border-white-left {
    border-left: 0.0625rem solid #fff !important;
}
/**
* Print Stylesheet fuer haevbw.de/vertragsziffernüberblick
* @version         1.0
* @lastmodified    12.12.2021
*/

@media print {

    body {
        font-size: 9pt;
        line-height: 1.2;
    }
    .container {
        max-width: 100% !important;
    }
    .font-size-1 {
        font-size: 9pt;
    }
    h2 {
        font-size: 18pt;
    }
    #legend .font-size-2 {
        font-size: 13pt
    }
    #FirstCell {
        max-width: 25mm !important;
    }
    /*------------------------------------
      Tables
    ------------------------------------*/
    .table {
        color: #000;
        font-weight: 400;
        margin-bottom: 0;
        max-width: 100%;
    }

    /* line 6, ../../Data/Hausarzt-BW/Relaunch 2020 - NewGit/03.Protoyping/Front Template 3.2/bundles/app/scss/front/table/_table.scss */
    /* line 10, ../../Data/Hausarzt-BW/Relaunch 2020 - NewGit/03.Protoyping/Front Template 3.2/bundles/app/scss/front/table/_table.scss */
    .table td.bg-white {
        background-color: #fff !important;
    }
    .table td,
    .table th {
        background-color: inherit !important;
    }
    .table thead th {
        font-size: 0.84375rem !important;
        text-transform: uppercase;
        border-width: 0;
    }
    .container.space-2 {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .table-print-small th.p-3 {
        padding: 0.5rem !important;
    }

    .table-print-small td.p-3 {
        padding: 0.4rem !important;
    }

    .table-print-small td.py-3 {
        padding-top: 0.4rem !important;
        padding-bottom: 0.4rem !important;
    }

    .table-print-small td.py-4 {
        padding-top: 0.6rem !important;
        padding-bottom: 0.6rem !important;
    }

    .table-print-small thead th {
        border-top: 0.0625rem solid #f2f2f2;
        border-bottom: 0.0625rem solid #f2f2f2;
    }
    .table-print-small tr th div {
        font-size: 9pt;
    }
    .table-print-small td.font-size-1 {
        font-size: 9pt;
    }
    .table-print-small .px-4 {
        padding-left: 0.5rem !important;
        padding-right:0.5rem !important;
    }
    .table-print-small td a {
        text-transform: uppercase;
        font-weight: 700;
    }
    .table-print-small td small {
        font-weight: 400;
        font-size: 9pt;
    }
    .bg-table-primary{
        background-color: rgba(0, 82, 158, 1) !important;
        -webkit-print-color-adjust: exact;
    }
    thead.bg-table-primary th {
        background-color: rgba(0, 82, 158, 1) !important;
        -webkit-print-color-adjust: exact;
    }
    td.bg-table-soft-primary {
        background-color: rgba(0, 82, 158, 0.1) !important;
        -webkit-print-color-adjust: exact;
    }
    td.bg-table-soft-danger {
        background-color: rgba(237, 76, 120, 0.1) !important;
        -webkit-print-color-adjust: exact;
    }
    td.bg-table-light-grey {
        background-color: #f7f7f7 !important;
        -webkit-print-color-adjust: exact;
    }
    td.bg-table-grey {
        background-color: #e7e7e7 !important;
        -webkit-print-color-adjust: exact;
    }
    td.bg-table-soft-warning {
        background-color: rgba(255, 230, 0, 0.1) !important;
        -webkit-print-color-adjust: exact;
    }
    td.bg-table-soft-indigo {
        background-color: rgba(45, 21, 130, 0.1) !important;
        -webkit-print-color-adjust: exact;
    }
    td.bg-table-soft-success {
        background-color: rgba(0, 201, 167, 0.1) !important;
        -webkit-print-color-adjust: exact;
    }
}
