/*
 * JOBSELECTION.css – Corporate Style v2 (myCIVIS)
 *
 * Design tokens from czrm_newui_styles.css:
 *   Primary   : #d11525
 *   Text body  : #21242c
 *   Background : #f3f4f8
 *   Gray-100   : #ebedef
 *   Gray-600   : #686b74
 *   Font       : "Fira Sans", sans-serif
 */

/* ============================================================
   FONT AWESOME 4 (required for UserWidget icons: fa-user, fa-users, fa-sort-desc etc.)
   ============================================================ */

@font-face {
    font-family: "FontAwesome";
    src: url("../fonts/font-awesome/fontawesome-webfont.eot?v=4.7.0");
    src: url("../fonts/font-awesome/fontawesome-webfont.eot?v=4.7.0#iefix") format("embedded-opentype"),
         url("../fonts/font-awesome/fontawesome-webfont.woff?v=4.7.0") format("woff"),
         url("../fonts/font-awesome/fontawesome-webfont.ttf?v=4.7.0") format("truetype"),
         url("../fonts/font-awesome/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular") format("svg");
    font-weight: normal;
    font-style: normal;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fa-sign-out:before {
    content: "\f08b";
}

/* ============================================================
   GLOBAL – body / typography
   ============================================================ */


body {
    background-color: #f3f4f8;
    color: #21242c;
    font-family: "Fira Sans", sans-serif;
}

/* ============================================================
   HEADER (#main_header)
   ============================================================ */

#main_header {
    background-color: #d11525;
    border-bottom: none;
}

#main_header .container {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

#masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#masthead > .d-none.d-md-inline {
    color: #ffffff;
    text-align: left;
}

#logo .mycc_logo {
    width: 56px;
    height: 50px;
    fill: #ffffff;
    color: #ffffff;
}

#corporate {
    color: #ffffff;
    font-size: 0.875rem;
}

#corporate a,
#corporate span {
    color: #ffffff;
}

#corporate a:hover {
    color: rgba(255,255,255,0.8);
    text-decoration: underline;
}

.js-corporate-sep {
    color: rgba(255,255,255,0.5);
    margin: 0 0.4rem;
    font-weight: 300;
}

/* ============================================================
   NAVBAR (#bkfc_navbar)
   ============================================================ */

#bkfc_navbar a:focus,
#bkfc_navbar a:focus-visible,
#bkfc_navbar button:focus,
#bkfc_navbar button:focus-visible {
    outline: none;
    box-shadow: none !important;
}

#bkfc_navbar {
    background-color: #ffffff;
}

#bkfc_navbar header {
    display: flex;
    align-items: center;
    padding: 0;
}

#bkfc_navbar header h1 {
    color: #21242c;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    padding: 0.625rem 1rem 0.625rem 0;
    white-space: nowrap;
}

#bkfc_navbar header button {
    display: none;
}

#bkfc_navbar header button,
#bkfc_navbar header button i {
    color: #21242c;
    border-color: rgba(0,0,0,0.3);
}

#bkfc_navbar header .shortcut {
    display: none;
}

#bkfc_navbar header .shortcut a,
#bkfc_navbar header .shortcut i {
    color: #21242c;
}

#bkfc_navbar #bkfc_collapsible_navbar {
    background-color: #ffffff;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}

@media (min-width: 992px) {
    #bkfc_navbar #bkfc_collapsible_navbar {
        display: flex !important;
    }
}

#primary_nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

#service_nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
}

#service_nav > .js-nav-title {
    flex: 1;
    color: #21242c;
    font-weight: 700;
}


.js-nav-logo {
    display: flex;
    align-items: center;
    padding: 0 0.5rem 0 0;
}

.js-img-nav-logo {
    height: 32px;
    width: auto;
}

@media (max-width: 991.98px) {
    #bkfc_navbar header button {
        display: inline-block;
        background: transparent;
        border: 1px solid rgba(0,0,0,0.3);
        border-radius: 4px;
        padding: 0.375rem 0.5rem;
        margin-left: auto;
    }

    #bkfc_navbar header .shortcut {
        display: inline-block;
        margin-left: 0.5rem;
    }

    #bkfc_navbar #bkfc_collapsible_navbar {
        flex-direction: column;
        align-items: flex-start;
        flex: none;
    }

    #bkfc_navbar #bkfc_collapsible_navbar.collapse:not(.show) {
        display: none !important;
    }

    #primary_nav,
    #service_nav {
        flex-direction: column;
        width: 100%;
    }
}

#primary_nav li a,
#service_nav li a {
    display: block;
    padding: 0.625rem 0.9375rem;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 700;
}

#primary_nav li a,
#primary_nav li a i {
    color: #37393d;
}

#primary_nav li.active a,
#primary_nav li a:hover {
    color: #21242c;
    background-color: transparent;
    text-decoration: underline;
}

#service_nav li a {
    color: #37393d;
}

#service_nav li a:hover {
    color: #21242c;
    text-decoration: underline;
}

/* ============================================================
   MAIN CONTENT (#main_content)
   ============================================================ */

#main_content {
    min-height: 60vh;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

#main_content .body-content {
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

/* ============================================================
   FOOTER (#main_footer)
   ============================================================ */

#main_footer {
    background-color: #ebedef;
    color: #21242c;
    padding: 0.75rem 0 0.5rem 0;
    border-top: 1px solid #d0d2d8;
}

#main_footer .it-brand-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #b0b3ba;
    padding-bottom: 0.5rem;
}

#main_footer .it-brand-wrapper .box-img img {
    max-height: 48px;
    width: auto;
}

#main_footer .it-brand-wrapper .box-par p {
    font-size: 1rem;
    font-weight: 600;
    color: #21242c;
    margin: 0;
}

#main_footer > .container > hr {
    border-color: #b0b3ba;
    margin: 0.25rem 0 0.5rem 0;
}

#main_footer p {
    font-size: 0.9rem;
    color: #505258;
    margin-bottom: 0.25rem;
    line-height: 1.6;
}

.js-footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.75rem 0;
}

a.js-footer-link {
    display: block;
    font-size: 0.9rem;
    color: #505258;
    text-decoration: underline;
    padding: 0;
    line-height: 1.8;
}

a.js-footer-link:hover {
    color: #21242c;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.js-btn-default {
    margin-top: 0.25em;
    margin-bottom: 0.25em;
    min-width: 120px;
}

.js-btn-nav {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: #d11525;
    --bs-btn-border-color: #b00e1e;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #b00e1e;
    --bs-btn-hover-border-color: #8b0e19;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #8b0e19;
    --bs-btn-active-border-color: #8b0e19;
    --bs-btn-disabled-bg: #ebedef;
    --bs-btn-disabled-border-color: #d0d2d8;
    --bs-btn-disabled-color: #686b74;
    min-width: 120px;
    margin-top: 0.25em;
    margin-bottom: 0.25em;
}

.js-btn-list {
    width: 100%;
    text-align: left;
    white-space: normal;
}

/* ============================================================
   PAGE BLOCKS (GroupsPage)
   ============================================================ */

.js-groups-block {
    margin-top: 1.5rem;
}

.js-groups-block:empty {
    margin-top: 0;
}

.js-groups-block h4 {
    margin-bottom: 0.5rem;
}

/* ============================================================
   PAGE BLOCKS (SelectionsPage)
   ============================================================ */

.js-selections-block {
    margin-top: 1.5rem;
}

.js-selections-block h4 {
    margin-bottom: 0.5rem;
}

/* ============================================================
   PAGE BLOCKS (ResultsPage)
   ============================================================ */

.js-results-block {
    margin-top: 1.5rem;
}

.js-results-block h3 {
    margin-bottom: 0.5rem;
}

.js-btn-wishes {
    min-width: 120px;
    margin-right: 5px;
}

.js-btn-jobs {
    width: 36px;
    height: 36px;
    margin-right: 6px;
    padding: 0;
    flex-shrink: 0;
}

.js-btn-jobs:hover {
    background: url(../img/JobAddPlus.png) no-repeat center / 28px 28px;
    color: transparent;
}

/* COMBOBOXES*/

.js-combobox {
    display: block;
    width: 100%;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #21242c;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #b0b3ba;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.js-combobox:focus {
    border-color: #d11525;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(209, 21, 37, 0.25);
}

.js-combobox:disabled {
    background-color: #ebedef;
    color: #686b74;
    opacity: 1;
}

/* TEXTBOXES */

.js-textbox {
    display: inline;
}

/* LABELS and TEXT */

.js-txt-debug {
    font-size: smaller;
    font-family: 'Courier New';
}

.js-txt-result-status-none {
    display: block;
    color: #d11525;
    font-weight: bold;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    width: 100%;
}

.js-txt-result-status-info {
    display: block;
    color: #17334f;
    font-weight: bold;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.js-txt-result-status-assigned {
    display: block;
    color: #0b7437;
    font-weight: bold;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.js-txt-filterpanel-label {
    white-space: nowrap;
}

.js-txt-message-title-inline {
    font-weight: bold;
}

.js-bar-navigation-buttons {
    background-color: #ebedef;
    padding: 5px 10px 5px 10px;
    border: none;
    margin-top: 50px;
    width: 100%;
}

.js-bar-message-title {
    background-color: #eeeeee;
    padding: 5px 10px 5px 10px;
    border: none;
    width: 100%;
}

.js-summary-note {
    margin-top: 20px;
    font-weight: bold;
}

.js-results-note {
    margin-top: 20px;
    font-weight: bold;
}

/* TABLES */

.js-table-test td {
    padding: 5px 10px 5px 10px;
}

.js-table-events td {
    min-width: 70px;
    vertical-align: top;
}

.js-table-events-inline td {
    vertical-align: middle;
}

.js-table-summary-properties {
    margin-bottom: 24px;
    width: 100%;
}

.js-table-summary-properties tr {
    border-top: solid thin;
    border-bottom: solid thin;
    border-color: #ebedef;
}

.js-table-summary-properties td {
    padding: 15px;
}

.js-table-results-assigned {
    width: 100%;
}

.js-table-results-unassigned {
    color: #686b74;
    width: 100%;
}

.js-table-results-row0 {
    background-color: #ffffff;
}
.js-table-results-row1 {
    background-color: #f3f4f8;
}

.js-table-wishes-normal {
    width: 100%;
}

.js-table-wishes-normal th {
    padding-left: 10px;
    padding-right: 10px;
    background-color: #686b74;
    color: #ffffff;
}

.js-table-wishes-normal td {
    padding: 5px 10px 5px 10px;
}
.js-table-wishes-move {
    color: #686b74;
    width: 100%;
}
.js-table-wishes-move th {
    padding-left: 10px;
    padding-right: 10px;
    background-color: #686b74;
    color: #ffffff;
}
.js-table-wishes-move td {
    padding: 10px;
}
.js-table-wishes-row0 {
    background-color: #ffffff;
}
.js-table-wishes-row1 {
    background-color: #f3f4f8;
}
.js-table-wishes-row2 {
    background-color: #fdf0f1;
}
.js-table-wishes-row2 th {
    padding: 10px;
    background-color: #fdf0f1;
    color: #21242c;
}

.js-table-filterpanel td {
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-style: none;
    vertical-align: middle;
    white-space: nowrap;
}   

.js-table-filterpanel select {
    padding: 0;
}

.js-table-jobs-normal {
    width: 100%;
}

.js-table-jobs-normal th {
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
    background-color: #686b74;
    color: #ffffff;
}

.js-table-jobs-normal td {
    padding: 0 5px 0 5px;
    white-space: pre;
    border: none;
    vertical-align: middle;
}

.js-table-jobs-row0 {
    background-color: #ffffff;
}

.js-table-jobs-row1 {
    background-color: #f3f4f8;
}

.js-table-jobs-row_selected {
    background-color: #fdf0f1;
}

.js-table-jobs-row_combined {
    background-color: #fff8e1;
}

.js-table-summary {
    width: 100%;
}

.js-table-summary-row0 {
    background-color: #ffffff;
}

.js-table-summary-row1 {
    background-color: #f3f4f8;
}

.js-table-selectioninfo {
    width: 100%;
}

.js-table-selectioninfo td {
    font-weight: bold;
}

.js-table-selectioninfo td:first-child {
    display: flex;
    align-items: flex-start;
    gap: 0.5em;
}

.js-table-selectioninfo td:first-child::before {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: url(../img/MsgInfo.png) no-repeat center / contain;
    margin-top: 0.1em;
}

.js-table-selectionevents {
    color: #686b74;
    width: 100%;
}

/* IMAGES */

.js-img-message-icon-inline {
    max-width: 48px;
    max-height: 48px;
    width: auto;
    height: auto;
}

.js-img-message-icon {
    max-width: 48px;
    max-height: 48px;
    width: auto;
    height: auto;
}

/* ============================================================
   B2C USER DROPDOWN
   ============================================================ */

.js-b2c-dropdown {
    position: relative;
}

.js-b2c-dropdown-toggle {
    display: block;
    padding: 0.625rem 0.9375rem;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 700;
    color: #37393d;
}

.js-b2c-dropdown-toggle:hover {
    color: #21242c;
    text-decoration: underline;
}

.js-b2c-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 1000;
    min-width: 220px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    list-style: none;
    margin: 2px 0 0 0;
    padding: 0.5rem 0;
}

.js-b2c-dropdown-menu.show {
    display: block;
}

.js-b2c-dropdown-menu li {
    padding: 0;
}

.js-b2c-dropdown-header {
    display: block;
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #21242c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

.js-b2c-dropdown-taxnumber {
    font-weight: 400;
    color: #666;
    font-size: 0.8rem;
}

.js-b2c-dropdown-divider {
    border-top: 1px solid #e9ecef;
    margin: 0.375rem 0;
}

.js-b2c-dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #37393d;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 700;
}

.js-b2c-dropdown-item:hover {
    background-color: #f5f5f5;
    color: #21242c;
    text-decoration: none;
}