#efficy-logo {
    background: url(../imgnew/UnitedPetfood_Main.svg) left center no-repeat;
    background-size: auto 1.5rem;
    width: 150px;
    height: 2.8125rem;
    margin-left: 12px
}

#efficy-logo-mini {
    display: inline-block;
    background: url(../imgnew/UnitedPetfood_Main.svg) left center no-repeat;
    background-size: auto 2rem;
    width: -webkit-fill-available;
    height: -webkit-fill-available;
    background-position: center;
}
button.action, .button.action {
    background-color: #ce6a63!important;
    color: #fff;
}
#desktop-nav {
    background: #022E59 /*linear-gradient(175deg, #04192C 10vh, #00203C 95vh);*/
}

/* COLOR OF LOGIN BUTTON */
#logon-form button.primary {
    background-color: #022E59 !important;
}

/* LOGIN BUTTON FULL WIDTH*/
.oauth-button {
    max-width: none !important;
}

/* REQUIRED FIELD */
.tabs-content-item label.required::after {
    content: "*";
    display: block;
    float: right;
    color: #ce6a63;
}

label.required:has(+ *:not(input):empty), 
label.required:has(+ *[value=""]), 
label.required:has(+ *[value="0"]), 
label.required:has(+ * a:last-of-type[class*="select2-default"]),
label.required:has(+ * ul.select2-choices > li:only-of-type) {
    color: #ce6a63 !important;
    font-weight: bold !important;
}

label.required + *:not(input):empty, 
label.required + *[value=""], 
label.required + *[value="0"], 
label.required + * a:last-of-type[class*="select2-default"],
label.required + * ul.select2-choices:has(li:only-of-type) {
    border-color: #ce6a63 !important;
}
 
/* OPPO SUB STATUS */ 
article:has(div#edit-entity-info > span.i-Oppo) label.required[for="F_STATUS_SUB"]:has(+ * a.i-info) /* Label */,
article:has(div#edit-entity-info > span.i-Oppo) label.required[for="F_STATUS_SUB"] +* a.i-info /* i icon */,
article:has(div#edit-entity-info > span.i-Case) label.required[for="STATUS"]:has(+ * a.i-info) /* Label */,
article:has(div#edit-entity-info > span.i-Case) label.required[for="STATUS"] +* a.i-info /* i icon */ {
    color: #ff9034 !important;
    font-weight: bold !important;
}

/* EFFICY FEEDBACK POPUPS */
#jira-feedback {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999999;
    background: #21945D;
    color: #fff;
    padding: .25rem .5rem .125rem .375rem;
    font-size: 12px;
    line-height: 18px;
    border-top-right-radius: 4px;
    cursor: pointer;
    display: none;
}

#intercom-container {
    display: none !important;
}

/* CATEGORY FORMS */
#category-contents .category-form label.required::after {
	content: "*";
    display: block;
    float: right;
    color: #de4343;
}

.categoryGroup .section-title {
    font-style: normal; 
    font-weight: 600;
    font-size: 1rem;
}

.hideTitle .section-title {
    display: none;
}

.category-form label {
    font-size: .875rem;
}

/* STATUS DROPDOWN CONSULT */
li.lifeCycleStatus {
    margin-right: 1rem !important; 
    padding-top: 0.5rem;
    font-size: .875rem;
}
/* TOOL TIPS */
a.i-info {
    margin: 0 0 0rem;
}

.info-btn-absolute::before {
    top: 0rem !important;
}

div.edit-name a.i-info {
    font-size: 1rem;
    height: 2.375rem;
    line-height: 1.25rem;
    margin-bottom: 0;
    padding: 0;
    padding-right: 2.125rem;
}

/* REMOVE EFFICY FOOTER */
#footer {
    padding: 1.65rem !important;
}
#footer > div{
    display: none;
}

/* RE-ALIGN LOGON AND LOGOFF BOX */
#logon-form {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: auto !important;
    min-height: fit-content !important;
}

/* DIFFERENT SIZE LOGON AND LOGOFF BOX DEPENDING ON SCREEN WIDTH */
@media only screen and (max-width: 1024px), print {
    #logon-form {
        width: 50% !important;
    }
}
@media only screen and (min-width: 1025px), print {
    #logon-form {
        width: 20% !important;
    }
}

/* DISPLAY LINK SIDE PANEL ONLY ON LARGE SCREENS */
@media only screen and (min-width: 640px) and (max-width: 1024px), print {
    #edit-relations {
        position: absolute;
        overflow-y: auto;
        z-index: 1001;
        transition: transform 500ms ease 0s;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
	}
    .edit-commands {
        position: relative;
        padding-left: 16px;
        padding-right: 16px;
    }
    .space-between {
        flex-direction: row;
    }
    #edit-main {
        padding-top: 3.4375rem;
    }
    .continent {
        margin-top: 0.75em !important;
    }
}

@media only screen and (max-width: 641px), print {
    .edit-commands {
        padding-bottom: 10px;
    }
    .space-between {
        flex-direction: row;
    }
}

/* Inline error message */
#powerTip.error-message.warning:has(> span.message) {
    position: absolute;
    left: 0 !important;
    top:0 !important;
    width: 100%;
}

#powerTip.error-message.warning > span.message {
    display: block;
    width: calc(100% - 35px);
    overflow: auto;
    scrollbar-color: white transparent;
}

#powerTip.error-message.warning .close-button {
    border: 3px solid white;
    background-color: white;
}
 
/* BETTER ALIGNMENT IN GRID */
.data-grid td, .data-grid .icon-cell:not(.hide-for-print) {
    padding: .375rem 1.5rem;
}

/* SCROLLABLE TABLE */
.table-scroll-container {
    overflow: auto;
    scroll-behavior: smooth;
}

/* SCROLLBAR */
*{ 
    scrollbar-width: inherit;
}

/* TABLE HEADER STICK TO TOP */
table.data-grid thead, table.data-grid thead > tr, table.data-grid th {
    position: sticky;
    top: 0;
    z-index: 99;
}

/* TABLE HEIGHT */
/* HEIGHT OF GRID IN LIST */
.table-scroll-container,
table.data-grid > tbody {
    max-height: calc(100vh - 300px);
}

/* HEIGHT OF GRID IN DASHBOARD */
.widget-content > .grid-data,
.widget-content > .grid-data > .table-scroll-container,
.widget-content > .grid-data > table.data-grid > tbody {
    height: 100%;
    padding-bottom: 12px;
} 

/* HEIGHT OF GRID IN SEARCH RESULT SCREEN */
body:has(#search-result) .table-scroll-container,
body:has(#search-result) table.data-grid > tbody {
    max-height: calc(100vh - 330px);
}

/* REMOVE EMPTY SUM ROWS FROM (none) VIEWS */
.sumrow {
    display: none;
}

/* REMOVE RIGHT SCROLLBAR */
#desktop-main{
    margin-bottom: unset !important;
    padding-bottom: unset !important;
}

#page-host {
    margin-bottom: unset !important;
    padding-bottom: unset !important;
    min-height: 90vh;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.desktop .continent {
    min-height: fit-content !important;
    border-radius: 12px !important;
    padding-bottom: 12px !important;
}

/* NAVBAR ON TOP OF OTHER ELEMENTS */
#desktop-nav {
    z-index:999;
}

/* SEARCH DETAILS */
body:has(#search-details) {
    max-height: 80vh;
}

#search-details {
    width: auto;
    border-radius: 12px;
}

@media only screen and (min-width: 40.063em), print {
    #search-details {
        margin: auto .75rem 1rem .75rem;
    }
}