html, body {
    position: relative;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    overscroll-behavior-x: none;
    padding: 0;
    width: 100vw;
}

*:not{
    box-sizing: border-box;
}

.fa-light {
    font-family: "Font Awesome 6 Pro" !important;
}

nav {
    align-items: center;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1), 0 8px 16px rgba(0, 0, 0, .1);
    color: black;
    display: flex;
    font-size: 14px;
    justify-content: space-between;
    height: 38px;
    padding: 3px 10px 4px 10px;
    user-select: none;
    -moz-user-select: none;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

nav img {
    max-width: 60px;
    zoom: 1.25;
}

nav .uTabsHeader label {
    padding: 3px 15px;
    font-size: 13px;
}

nav .tourButton {
    color: #666;
    cursor: pointer;
    font-size: 12px;
    margin-right: 25px;
}

#secondaryNav {
    background: #00000005;
    box-shadow: 0 1px 2px 0 #00000016;
    height: 35px;
    margin-top: 48px;
    margin-bottom: 10px;
}

main {
    height: 100%;
    padding-top: 38px;
}

#loggedInUserDetails {
    cursor: pointer;
    font-size: 12px;
}

.customPopoverClass {
    background-color: #FFF;
    border-top: 1px solid #00000010;
    border-left: 1px solid #00000010;
    box-shadow: 1px 3px 8px 0 #00000015;
    margin-right: 5px;
    padding: 4px;
}

.customPopoverClass.showArrowDecorator {
    border-top: 1px solid #00000010;
}

.customPopoverClass.showArrowDecorator.bottom::before {
    border-top: 1px solid #00000010;
    border-left: 1px solid #00000010;
}

.customPopoverClass.showArrowDecorator::before {
    background-color: #FFF;
}

.customPopoverClass * {
    font-size: 12px;
}

#ENTRY_FORM .uNavDrawer_container{
    width: 30vw !important;
    right: 0 !important;
    position: fixed;
    left: unset !important;
}

#ENTRY_FORM .uNavDrawer_container #menuContainer {
    display: none;
}

.uNavDrawer_container {
    box-shadow: -1px 1px 2px 0 #00000050;
}

#u_allNavsOpen .navInContainer {
    border-radius: 2px 0 0 2px;
    border: 0;
    padding: 0 !important;
    min-height: 44px !important;
    background: white;
    color: black;
    font-weight: 600;
    box-shadow: -1px 1px 1px 0 #00000050;
    border-right: 1px solid #00000016;
    transform: translateY(-2px);
}

.my-button {
    color: black;
    background-color: #00000010;
    border: unset;
    padding: 5px 7px;
}

.width-max-content {
    width: max-content !important;
}

#builder, #lineage {
    padding: 0 !important;
}

#builderIcon {
    background: white;
    bottom: 10px;
    border-radius: 2px;
    box-shadow: 0 0 6px 0 #00000032;
    cursor: pointer;
    position: fixed;
    right: 8px;
}

#builderIcon #builderCommands {
    display: none;
    flex-direction: column;
}

#builderIcon.showInput #builderCommands {
    bottom: -10px;
    display: flex;
    position: absolute;
    right: 55px;
}

#builderIcon #builderCommand {
    border: none;
    box-shadow: 0 0 3px 0 #00000032;
    font-size: 12px;
    height: 45px;
    margin-bottom: 10px;
    padding: 5px 7px;
    outline: none !important;
    width: 300px;
}

my-report {
    width: 100%;
}

::marker {
    color: #00000090;
    font-size: 8px;
}

/* Hand on table */
.handsontable {
    font-size: 11px !important;
}

.handsontable .wtHolder {
    height: 100% !important;
    max-height: calc(100vh - 120px) !important
}

::-webkit-scrollbar {
    max-width: 6px;
    max-height: 6px;
}

/* Track */
::-webkit-scrollbar-track {
    background: white; 
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #eee;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #999; 
}

.uMainModal_Body {
    box-shadow: none !important;
}

input[type="color"]:disabled {
    opacity: 0.4;
}

select {
    background: none;
    border: none;
    border-radius: 0;
    font-size: 11px;
    height: 30px;
    width: calc(100% - 9px);
}

.form-switch .form-check-input {
    height: 15px;
    width: 30px;
    border-radius: 7px;
}

.accordion-body {
    padding: 8px 4px;
    background: #fafafa;
    border-inline: thin solid #00000010;
}

.accordion-body * {
    font-size: 10px !important;
}

.uPopover .configContainer {
    padding: 14px 0 !important;
    margin: 0;
    border-bottom: thin solid #00000010;
}

.uPopover .configContainer:not(.show-border-bottom):not(:has(+ .configContainer)) {
    border-bottom: 0;
}

.accordion-body select {
    background-color: white;
}

.accordion-button {
    height: 30px;
    padding: 6px 4px;
}

.accordion-button::after {
    background-size: 12px;
    height: 12px;
    width: 12px;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFFFFF'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.accordion-button:not(.collapsed) {
    color: white;
    background-color: #6667ab;
}

.fa-light.fa-crosshairs-simple {
    font-size: 8px !important;
    margin-left: 8px;
}

.text-primary {
    color: #6667ab !important;
}

.gs-id-0 > .grid-stack-item > .ui-resizable-se {
    right: 3px !important;
    bottom: 1px !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="%23666" stroke-linecap="round" stroke-linejoin="round" stroke-width="1" ><path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708"/></svg>');
    background-size: 20px;
    transform: rotate(45deg);
}

.harbour-msg-yellow {
    background: #ffead9;
    border: thin solid #FDA769;
    font-size: 10px;
    padding: 4px;
}

.harbour-msg-green {
    background: #d1e3cd;
    border: thin solid #252E3D;
    font-size: 10px;
    padding: 4px;
}

.harbour-msg-red {
    background: #ffabbe;
    border: thin solid #C72B4F;
    font-size: 10px;
    padding: 4px;
}

.filter-hover {
    padding: 2px;
}

.text-red {
    color: #C72B4F !important;
}

.text-green {
    color: rgb(25,135,84) !important;
}

#myReportVisualizationConfig .accordion-button:not(.collapsed) {
    background-color: white;
    color: black;
}

#reportStyling .accordion-button:not(.collapsed)::after {
    filter: brightness(0)
}

#analysisResults .accordion-button:not(.collapsed) {
    color: unset;
    background-color: unset;
}
