/* ---- MINIMAL LIGHT BLUE AND MINIMAL DARK VARIABLES ---------------- */
/* ------------------------------------------------------------------ */

:root {
    --dashboard-color-body-bg: #fafafa;
    --pw-main-background: #fafafa;
    --pw-blocks-background: #ffffff;
    --pw-text-color: #000000;
    --pw-muted-color: #444444;

    --pw-masthead-background: #1e223b;
    --pw-masthead-text-color: rgba(255, 255, 255, 0.7);
    --pw-masthead-active-color: #ffffff;
    --pw-masthead-logo-color: #ffffff;
    --pw-masthead-border-color: rgba(255, 255, 255, 0.1);
    --pw-masthead-menu-item-background-hover: rgba(255, 255, 255, 0.1);
    --pw-masthead-input-background: #404358;
    --pw-masthead-input-color: #ffffff;
    --pw-masthead-input-border: transparent;

}

.ui-autocomplete .uk-nav-header {
    color: #fafafa;
}

/*.pw #pw-masthead .uk-navbar-nav > li.uk-active {*/
/*    border-bottom: 2px solid var(--pw-masthead-active-color);*/
/*    bottom: 2px;*/
/*}*/

/* ------ LOGIN & Masthead----------------------------------- */
.ProcessLogin #pw-mastheads {
    background-color: var(--pw-blocks-background);
}

.ProcessLogin #pw-mastheads svg .st0 {
    fill: #1D1D1B;
}

.ProcessLogin p.pw-login-links {
    display: none;
}

img.pw-logo {
    max-height: 50px;
    height: 50px !important;
}

/* ---- NOTICES & ALERTS -------------------------------------------- */

.pw-notices .NoticeMessage,
.pw-notices .NoticeWarning,
.pw-notices .NoticeError {
    border-radius: 4px;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.pw-notices .NoticeMessage {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

.pw-notices .NoticeWarning {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffeeba;
}

.pw-notices .NoticeError {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* ---- HEADER CTA -------------------------------------------------- */

.uk-navbar-right #fh-header-cta .uk-button {
    background-color: var(--pw-masthead-active-color, #ffffff) !important;
    color: var(--pw-masthead-background, #1e223b) !important;
    font-weight: 600;
    text-transform: none;
    padding: 0 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.uk-navbar-right #fh-header-cta .uk-button:hover {
    background-color: #ffffff;
    opacity: 0.9;
}

@media (max-width: 959px) {
    .uk-navbar-right #fh-header-cta {
        display: none;
        /* Hide on mobile to avoid overlap */
    }
}

/* -------- HIDE VERSION INFORMATION ----------------------------*/
.Dashboard__info {
    display: none;
}

#pw-footer>.pw-container>.uk-grid>.uk-first-column>.uk-margin-remove {
    display: none;
}

#ProcessLister .detail.version {
    display: none;
}

.ProcessDocumentation .version.detail {
    display: none;
}

#ProcessListerSelector.notes {
    display: none;
}
.has-tracy-debugbar #ProcessListerSelector.notes {
    display: block;
}

/* -------- HEADER SEARCH ----------------------------*/
#pw-masthead .pw-search-form .pw-search-input {
    width: min(38vw, 380px);
    max-width: min(38vw, 380px);

}

#pw-masthead .pw-search-form .pw-search-input:focus {
    height: 38px;
}


/* ------------ Process Page Edit  ----------------------------------*/

#main #content .fhm-input-invisible {
    border: none;
    background: transparent;
    color: var(--pw-text-color);
    opacity: 1;
}

.modal li.InputfieldSubmit {
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: right;
    background: var(--dashboard-color-body-bg) !important;
    width: 100vw !important;
    display: block;
    padding: 0.5rem;
    z-index: 9;
    border-top: 1px solid var(--pw-border-color);
}

/* Hide Filter in ListerPro for Substrat, Project, Client */
body.id-1164 #ProcessLister .WireTabs,
body.id-1164 #ProcessLister .WireTab,
body.id-1167 #ProcessLister .WireTabs,
body.id-1167 #ProcessLister .WireTab,
body.id-1168 #ProcessLister .WireTabs,
body.id-1168 #ProcessLister .WireTab {
    display: none !important;
}

body.id-1178 #main #pw-content-body dd {
    visibility: hidden;
}


/* --------- ListerPRO */




/* -------- ListerPRO preloader --------- */
.lds-default {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    margin: 20px
}

.lds-default div {
    position: absolute;
    width: 6px;
    height: 6px;
    background: lightgrey;
    border-radius: 50%;
    animation: lds-default 1.2s linear infinite;
}

.lds-default div:nth-child(1) {
    animation-delay: 0s;
    top: 37px;
    left: 66px;
}

.lds-default div:nth-child(2) {
    animation-delay: -0.1s;
    top: 22px;
    left: 62px;
}

.lds-default div:nth-child(3) {
    animation-delay: -0.2s;
    top: 11px;
    left: 52px;
}

.lds-default div:nth-child(4) {
    animation-delay: -0.3s;
    top: 7px;
    left: 37px;
}

.lds-default div:nth-child(5) {
    animation-delay: -0.4s;
    top: 11px;
    left: 22px;
}

.lds-default div:nth-child(6) {
    animation-delay: -0.5s;
    top: 22px;
    left: 11px;
}

.lds-default div:nth-child(7) {
    animation-delay: -0.6s;
    top: 37px;
    left: 7px;
}

.lds-default div:nth-child(8) {
    animation-delay: -0.7s;
    top: 52px;
    left: 11px;
}

.lds-default div:nth-child(9) {
    animation-delay: -0.8s;
    top: 62px;
    left: 22px;
}

.lds-default div:nth-child(10) {
    animation-delay: -0.9s;
    top: 66px;
    left: 37px;
}

.lds-default div:nth-child(11) {
    animation-delay: -1s;
    top: 62px;
    left: 52px;
}

.lds-default div:nth-child(12) {
    animation-delay: -1.1s;
    top: 52px;
    left: 62px;
}

@keyframes lds-default {

    0%,
    20%,
    80%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }
}




.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    opacity: 0.5;
    margin: 20px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #354b60;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #354b60 transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Lister Summary */
.fhm-lister-summary {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #eee;
    clear: both;
}
.fhm-lister-summary h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--pw-text-color);
}
.fhm-lister-summary .MarkupAdminDataTable {
    margin-bottom: 40px;
}