/* topmenu.css  */
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css');
@import url('/Styles/Library/vars.css');

:root {
    --main-bg: hsl(0, 0%, 93%);
    --main-fg: hsl(0, 0%, 7%);
    --hover-bg: hsl(205, 60%, 59%);
    --topmenu-connect-bg: #7b3ff2;
    --topmenu-connect-shadow: rgba(123, 63, 242, 0.45);
    --width: 330px;
    --font-family-karla: "Karla", sans-serif;
    --trans: all 0.5s ease-out !important;
}

@keyframes topMenuBounce {
    0%, 28%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    2% {
        transform: translateY(-1px) rotate(-1.4deg);
    }

    4% {
        transform: translateY(-1px) rotate(1.4deg);
    }

    6% {
        transform: translateY(0) rotate(0deg);
    }

    8% {
        transform: translateY(-1px) rotate(-1.4deg);
    }

    10% {
        transform: translateY(-1px) rotate(1.4deg);
    }

    12% {
        transform: translateY(0) rotate(0deg);
    }

    14% {
        transform: translateY(-1px) rotate(-1.4deg);
    }

    16% {
        transform: translateY(-1px) rotate(1.4deg);
    }

    18% {
        transform: translateY(0) rotate(0deg);
    }

    20% {
        transform: translateY(-1px) rotate(-1.4deg);
    }

    22% {
        transform: translateY(-1px) rotate(1.4deg);
    }

    24% {
        transform: translateY(0) rotate(0deg);
    }

    26% {
        transform: translateY(-1px) rotate(-1.4deg);
    }

    27% {
        transform: translateY(-1px) rotate(1.4deg);
    }
}

@keyframes topMenuConnectGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 var(--topmenu-connect-shadow);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(123, 63, 242, 0);
    }
}

/* ========== Base / Utilities ========== */
.dataTables_wrapper row {
    width: 100%;
}

.qtip-font-size {
    font-size: 15px !important;
    line-height: 1.3em !important;
    text-align: justify !important;
    word-wrap: break-word;
}

.ui-tooltip,
.qtip {
    max-width: 100vw;
}

:is(.ui-tooltip,.qtip) .ui-tooltip-content {
    text-align: justify;
}

body .hidden, .topBanner, #apiPage #smallFont, #smallFont {
    display: none !important;
    visibility: hidden;
}

    #smallFont + [for="smallFont"] {
        float: right;
        width: 2ch;
        padding-left: 1ch;
        transform: translateY(33%) rotate(-90deg);
        transition: transform .25s;
    }

    #smallFont:checked + [for="smallFont"] {
        transform: translateY(-33%) rotate(90deg);
    }

a {
    text-decoration: none;
    cursor: pointer;
}

    a[disabled] {
        pointer-events: none;
        cursor: not-allowed;
        color: #888 !important;
    }

.menu-label,
.menu-span {
    font-family: var(--font-family-karla) !important;
}
/* ========== Header Layout / Top Menu ========== */
header {
    background: var(--color-bg-light, #f6f6f6);
    height: 51px;
    border-bottom: 1px solid #88888888;
    z-index: 10;
    position: relative;
}

    header a {
        text-decoration: none;
    }

    header * {
        box-sizing: border-box;
    }

    header #msidebar #ulTop {
        margin: 0 !important;
        float: left;
        list-style: none;
        padding: 0;
        transition: var(--trans);
    }

        body[data-topmenu-prompt="menu"] header #msidebar {
            animation: topMenuBounce 7s ease-in-out infinite;
            transform-origin: top left;
        }

        body[data-topmenu-prompt="menu"] header #msidebar:is(:hover, :focus-within) {
            animation-play-state: paused;
        }

        header #msidebar #ulTop .dropbtn {
            border: 1px solid color-mix(in hsl, var(--color-text), transparent 80%);
            border-top-width: 0;
            border-left-width: 0;
            background: var(--color-bg-light, #eee);
            cursor: pointer;
            display: inline-block;
            width: calc(var(--width) - 1px);
            height: 53px;
            line-height: 3em;
            position: relative;
            padding: 0 0 0 12px;
            margin: 0;
            z-index: 9;
            transition: var(--trans);
            border-bottom-right-radius: 8px;
        }

        header #msidebar #ulTop .menu-label {
            font-size: 1rem;
            font-weight: 600;
            padding-left: 10px;
            line-height: 3.15rem;
        }

        header #msidebar #ulTop > li {
            width: 100%;
            padding: 0 0 0 1px;
            position: relative;
            line-height: 1em;
        }

        header #msidebar #ulTop ul {
            padding: 10px 0;
            border: 1px solid color-mix(in hsl, var(--color-text), transparent 80%);
            border-radius: 20px !important;
            width: var(--width);
            background: var(--color-bg-dark);
            display: none;
            position: absolute;
            top: 50px;
            left: 0;
            min-width: 230px;
            background-color: var(--color-bg-light, #f6f6f6);
            box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .2);
            z-index: 15000;
            padding: 10px 0;
            border-radius: 10px;
        }

            header #msidebar #ulTop ul li a {
                font-size: 17px !important;
                display: block;
                padding: 0 1ch;
                font-size: 0.95rem;
                line-height: 1.5em;
                color: var(--color-text, #000);
                border-radius: 10px;
            }

                header #msidebar #ulTop ul li a span {
                    padding-left: 5px;
                }

            header #msidebar #ulTop ul li a:hover {
                    background: var(--color-primary, #56a1d5);
                    text-decoration: none;
                }

            body[data-topmenu-prompt="connect"] header #msidebar #ulTop ul li a#topmenu-connect-banks {
                background: var(--topmenu-connect-bg);
                color: #fff;
                animation: topMenuConnectGlow 1.5s ease-in-out infinite;
            }

                body[data-topmenu-prompt="connect"] header #msidebar #ulTop ul li a#topmenu-connect-banks :is(i, span) {
                    color: inherit;
                }

                body[data-topmenu-prompt="connect"] header #msidebar #ulTop ul li a#topmenu-connect-banks:is(:hover, :focus-visible) {
                    background: var(--color-primary, #56a1d5);
                    animation: none;
                }

        header #msidebar #ulTop .c-hamburger {
            display: block;
            position: relative;
            margin: 14px 0;
            padding: 0;
            width: 20px;
            height: 20px;
            font-size: 0;
            border: none;
            background: transparent;
            cursor: pointer;
            line-height: 65px;
            transition: background 0.3s;
        }

            header #msidebar #ulTop .c-hamburger:focus {
                outline: none;
            }

            header #msidebar #ulTop .c-hamburger span {
                display: block;
                position: absolute;
                top: 10px;
                left: 1px;
                right: 1px;
                height: 2px;
                background: var(--color-text);
                transition: background 0.3s;
            }

                header #msidebar #ulTop .c-hamburger span::before, header #msidebar #ulTop .c-hamburger span::after {
                    position: absolute;
                    left: 0;
                    width: 100%;
                    height: 2px;
                    background-color: var(--color-text);
                    content: "";
                    transition-duration: 0.3s;
                    transition-delay: 0;
                    transition-property: top, bottom, transform;
                }

                header #msidebar #ulTop .c-hamburger span::before {
                    top: -5px;
                }

                header #msidebar #ulTop .c-hamburger span::after {
                    bottom: -5px;
                }

        header #msidebar #ulTop #mnu:checked ~ .dropbtn .c-hamburger span {
            background: none;
        }

            header #msidebar #ulTop #mnu:checked ~ .dropbtn .c-hamburger span::before {
                top: 0;
                transform: rotate(45deg);
            }

            header #msidebar #ulTop #mnu:checked ~ .dropbtn .c-hamburger span::after {
                bottom: 0;
                transform: rotate(-45deg);
            }

    header #msidebar .logo {
        position: absolute;
        left: calc(var(--width) - 40px);
        top: 0;
        transform: translateX(-50%);
        margin: 2px 0;
        max-height: 44px;
        width: auto;
        transition: all 1s;
        pointer-events: none;
        z-index: 998;
        opacity: 1;
        transition: var(--trans);
    }

[data-bs-theme="dark"] header #msidebar .logo {
    opacity: .5;
}
/* ========== User Profile Dropdown ========== */
.right_header_nopadding {
    float: right;
}

.nomargin {
    margin: 0 !important;
}

#userpro {
    background: var(--color-bg-light, #f6f6f6);
    margin: 0 !important;
    padding: 10px;
    border: 1px solid #88888888;
    border-top-width: 0 !important;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 8;
    min-width: 28ch;
    max-height: 52px;
    min-height: 52px;
    border-bottom-left-radius: 4px;
    transition: var(--trans);
    display: flex;
    flex-direction: column;
}

    #userpro > span {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #userpro .prolink {
        cursor: default;
        color: var(--color-primary);
    }

    #userpro ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #userpro > ul {
        max-height: 0;
        overflow: hidden;
        width: 28ch !important;
        float: right;
        clear: both;
        opacity: 0;
        transition: var(--trans);
    }

        #userpro > ul > li {
            clear: both;
        }

            #userpro > ul > li > ul {
                padding-left: 2ch;
                overflow: hidden;
                border-left: 1px solid #ddd;
                margin-left: 1ch;
                clear: both;
                display: flex;
                flex-direction: column;
                align-items: start;
            }

    #userpro:hover {
        border-bottom-left-radius: 20px;
        max-height: 15em;
    }

        #userpro:hover > ul {
            margin-top: 10px;
            max-height: 15em;
            opacity: 1;
        }
/* ========== Sidebar / Submenu basics (nested) ========== */
#msidebar {
    height: 100%;
    float: left;
}

    #msidebar ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

        #msidebar ul li {
            display: inline-block;
            position: relative;
        }

            #msidebar ul li a {
                background: transparent;
                transition: var(--trans);
            }
    /* first-level submenu */
    #msidebar li ul {
        background-color: var(--color-bg-light, #f6f6f6);
        position: absolute;
        left: 0;
    }

    #msidebar li li {
        position: relative;
        margin: 0;
        display: block;
        padding: 0;
    }
        #msidebar li li:has([disabled]) {
            cursor: not-allowed;
        }

        #msidebar li li:empty {
            height: .75em;
        }

        #msidebar li li ul {
            position: absolute;
            top: 0;
            left: 250px;
            margin: 0;
        }
/* generic sub-menu behaviour */
ul.sub-menu {
    display: none;
}

li.dropdown > a {
    background-position: right 20px;
    background-repeat: no-repeat;
}

li li.dropdown > a {
    background-position: right 16px;
}

.divSel {
    float: right;
    margin: 0 0 .5em;
    user-select: none;
}

    .divSel > a {
        margin: 0 -0.2ch !important;
        border: 1px dashed #222 !important;
    }

        .divSel > a:nth-of-type(1) {
            border-radius: 10px 0 0 10px !important;
        }

        .divSel > a:nth-of-type(2) {
            border-left: 1px solid transparent !important;
            border-right: 1px solid transparent !important;
        }

        .divSel > a:nth-of-type(3) {
            border-radius: 0 10px 10px 0 !important;
        }

        .divSel > a:hover {
            border: 1px dashed #bbb !important;
        }

        .divSel > a:is(:active, :focus) {
            box-shadow: inset 0 0 3px #000 !important;
        }

.topBanner ~ header .dropbtn {
    border-top: color-mix(in hsl, red, transparent 50%) 1px solid !important;
}

:is(#profit_content, #header_content, #main_content) h1 {
    color: var(--color-primary);
    margin: 0;
    position: absolute;
    top: -1.5em;
    left: 50%;
    z-index: 7;
    font-size: 24px;
    width: auto;
    display: inline-block;
    padding: 0;
    height: 0;
    overflow: visible;
    transform: translateX(-50%);
    font-weight: bold;
    pointer-events: none;
}

body:has(#header_content h1) :is(#profit_content, #main_content) h1 {
    display: none !important;
}

#header_content h1 {
    top: 0;
    text-align: center;
    line-height: .9;
    height: auto;
}

/* ========== Modals ========== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background-color: var(--color-modal-overlay, #000);
    opacity: .5;
    transition: opacity 0.5s;
}

    .modal-backdrop:not(.in, .show, [style*="block"]) {
        opacity: 0;
        pointer-events: none;
        transition: opacity .15s linear;
    }

    .modal-backdrop:is(.in, .show, [style*="block"]) {
        opacity: 0.7;
        pointer-events: all;
    }

:is(#profit_content, #main_content) :is(.modal, ~ .modal) {
    position: fixed;
    inset: 0;
    display: none;
    margin: 0;
    background: transparent;
    border: 0;
    pointer-events: none;
    left: 50%;
    width: 200vw;
    height: 200vh;
    transform: translateX(-50%);
    opacity: 0;
    -webkit-transition: opacity 0.15s linear;
    -moz-transition: opacity 0.15s linear;
    -o-transition: opacity 0.15s linear;
    transition: opacity 0.15s linear;
    --bs-modal-margin: 0 !important;
}

body:not(:has(link[href*="bootstrap"])) :is(#profit_content, #main_content) :is(.modal, ~ .modal) {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 1051;
    width: 100vw;
    transform: translateX(-50%);
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 1rem;
    box-shadow: none;
    background-clip: padding-box;
    outline: none;
    transition: opacity .3s linear, top .3s ease-out;
    overflow: visible;
    width: 100% !important;
    left: 0;
    right: 0;
    transform: translateX(0);
    min-width: 100vw;
}

:is(#profit_content, #main_content) :is(.modal, ~ .modal).fade {
    top: -25%;
}

:is(#profit_content, #main_content) :is(.modal, ~ .modal):is(.in, .show, [style*="block"]) {
    top: 0;
    transition: opacity .3s linear, top .3s ease-out;
    z-index: 1051;
    display: block !important;
    opacity: 1;
}

:is(#profit_content, #main_content) :is(.modal, ~ .modal).in.hide {
    display: block !important;
    visibility: visible;
}

:is(#profit_content, #main_content) :is(.modal, ~ .modal):not(:has(.modal-content)) {
    width: 60%;
    height: auto;
    pointer-events: auto;
}

:is(#profit_content, #main_content) :is(.modal, ~ .modal) > * {
    pointer-events: auto;
}

:is(#profit_content, #main_content) :is(.modal, ~ .modal) .modal-content {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    resize: both;
    background: var(--color-bg-light);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 1rem;
    min-width: 320px;
    max-width: 95vw;
    resize: both;
    overflow: visible;
    width: min-content !important;
}

:is(#profit_content, #main_content) :is(.modal, ~ .modal) .modal-header {
    padding: 9px 15px;
    min-height: 20px;
    line-height: 1;
    user-select: none;
    overflow: hidden;
    background: var(--color-bg-light);
    border-radius: 1rem 1rem 0 0;
    justify-content: space-between;
    width: 100%;
}

    :is(#profit_content, #main_content) :is(.modal.drag .modal-header, .modal .modal-header.drag) { cursor: move; }

    :is(#profit_content, #main_content) :is(.modal, ~ .modal) .modal-header :is(h2, h3, h4) {
        margin: 0;
        padding: 0;
        color: var(--color-primary);
        line-height: 30px;
        font-weight: 500;
        font-size: 18px;
        text-shadow: 2px 2px 8px #0004;
    }

    :is(#profit_content, #main_content) :is(.modal, ~ .modal) .modal-header :is(.maximize, .close) {
        float: right;
        box-sizing: border-box;
        width: 33px;
        padding: 12px 8px;
        border: 1px solid #888;
        border-bottom: none;
        line-height: 5px;
        font-size: 24px;
        background: transparent;
        color: var(--color-text);
        opacity: .35;
        cursor: pointer;
        order: 2 !important;
    }

    :is(#profit_content, #main_content) :is(.modal, ~ .modal) .modal-header .close {
        margin: -15px;
        width: 80px;
        padding: 13px;
        line-height: 1;
        font-size: 42px;
        border: 1px solid transparent;
        border-left: 1px solid #888;
        border-bottom: none;
        border-top-right-radius: 1rem;
        background: var(--color-bg-dark-trans, #0004);
        color: #888;
    }

    :is(#profit_content, #main_content) :is(.modal, ~ .modal) .modal-header .maximize {
        margin: -10px 14px 0 0;
    }

    :is(#profit_content, #main_content) :is(.modal, ~ .modal) .modal-header :is(.close, .maximize):is(:hover, :focus) {
        background: rgba(128, 128, 128, .5);
        color: #000;
        text-decoration: none;
        opacity: .5;
    }

:is(#profit_content, #main_content) :is(.modal, ~ .modal) .modal-body {
    position: relative;
    overflow: auto;
    resize: both;
    min-height: 320px;
    max-height: calc(100vh - 100px);
    min-width: min(320px, 95vw);
    max-width: 95vw;
    padding: 0;
    margin: 0;
    background: var(--color-bg-dark);
    border-top: 1px solid var(--color-border-muted, #ccc);
    clear: both;

    [action*="FileIt"] :is(#profit_content, #main_content) :is(.modal, ~ .modal) .modal-body {
        background: var(--color-bg-dark);
    }
}

:is(#profit_content, #main_content) :is(.modal, ~ .modal):has(.modal-footer) .modal-body {
    max-height: calc(100vh - 160px);
}

:is(#profit_content, #main_content) :is(.modal, ~ .modal) .modal-form {
    margin-bottom: 0;
}

:is(#profit_content, #main_content) :is(.modal, ~ .modal) iframe {
    position: relative;
    inset: 0;
    width: 100%;
    height: calc(100% - 1em);
    min-width: min(1000px, 95vw);
    z-index: 1060;
}

:is(#profit_content, #main_content) :is(.modal, ~ .modal) .modal-footer {
    padding: 14px 15px 15px;
    text-align: right;
    background: var(--color-bg-light, #f5f5f5);
    border-top: 1px solid var(--color-border-muted, #ddd);
    border-radius: 0 0 1rem 1rem;
    box-shadow: inset 0 1px 0 var(--color-bg-light, #fff);
}

    :is(#profit_content, #main_content) :is(.modal, ~ .modal) .modal-footer:is(::before,::after) {
        content: "";
        display: table;
    }

    :is(#profit_content, #main_content) :is(.modal, ~ .modal) .modal-footer::after {
        clear: both;
    }

    :is(#profit_content, #main_content) :is(.modal, ~ .modal) .modal-footer .btn + .btn {
        margin: 0 0 0 5px;
    }

    :is(#profit_content, #main_content) :is(.modal, ~ .modal) .modal-footer .btn-group .btn + .btn {
        margin-left: -1px;
    }

    :is(#profit_content, #main_content) :is(.modal, ~ .modal) .modal-footer.btn-block + .btn-block {
        margin-left: 0;
    }

    :is(#profit_content, #main_content) :is(.modal, ~ .modal) .modal-footer label.pull-right {
        float: right;
        display: block;
        padding: 1em 0;
    }
/* **** End Modals **** */
/* **** MediaStyles **** */
/* Smartphones (portrait and landscape) ----------- */
/* media queries: */
@media only screen and (max-height: 550px) {
    #header_content #msidebar #ulTop #myDropdown {
        overflow: auto !important;
    }
}

@media (min-width: 768px) {
    [data-font-size="small"] .page-content {
        min-width: 1000px;
    }

    #header_content #msidebar #ulTop {
        border-radius: 0 0 20px 0 !important;
    }

        #header_content #msidebar #ulTop ul {
            max-height: 0 !important;
            background: var(--color-bg-light);
            border-bottom-width: 0;
            border-top-width: 0;
            border-radius: 0 0 20px 0 !important;
            overflow: hidden !important;
            padding: 0 !important;
            opacity: 0.5;
            display: block !important;
            transition: var(--trans) !important;
        }

    :is(#header_content #msidebar #ulTop:hover,#header_content #msidebar #ulTop #mnu:checked) ul, :is(#header_content #msidebar #ulTop:hover,#header_content #msidebar #ulTop #mnu:checked) ~ ul {
        border-bottom-width: 1px !important;
        max-height: 100vh !important;
        opacity: 1 !important;
        top: 50px !important;
    }

    :is(#header_content #msidebar #ulTop:hover,#header_content #msidebar #ulTop #mnu:checked) ~ .dropbtn, :is(#header_content #msidebar #ulTop:hover,#header_content #msidebar #ulTop #mnu:checked) .dropbtn {
        border-bottom-right-radius: 0;
    }
}

@media only screen and (max-width: 767px) {
    .dataTables_wrapper {
        overflow-x: scroll;
        width: 100%;
    }

    #header_content {
        background: transparent !important;
        border: none;
    }

        #header_content #msidebar {
            position: absolute;
            top: 0;
            left: 0;
            z-index: 0;
        }

            #header_content #msidebar #ulTop .dropbtn {
                background: transparent;
                margin: 0;
                border: none;
            }

            #header_content #msidebar #ulTop ul {
                transition: all 1s;
                opacity: 0;
                top: 0 !important;
                max-height: 0;
            }

    :is(#header_content #msidebar #ulTop:hover,#header_content #msidebar #ulTop #mnu:checked) ul, :is(#header_content #msidebar #ulTop:hover,#header_content #msidebar #ulTop #mnu:checked) ~ ul {
        transition: var(--trans);
        top: 50px !important;
        max-height: 100vh;
        opacity: 1;
        display: block;
        overflow: hidden;
    }

    :is(#header_content #msidebar #ulTop:hover,#header_content #msidebar #ulTop #mnu:checked) .dropbtn {
        border-bottom-right-radius: 0;
    }

    #header_content #msidebar .logo {
        left: 20ch;
        opacity: 1;
    }

    #header_content #userpro {
        background: color-mix(in hsl, var(--color-bg-light), transparent 5%);
        position: absolute !important;
        z-index: 9999 !important;
    }

        #header_content #userpro a {
            color: var(--color-primary);
        }

            #header_content #userpro a:hover {
                color: var(--color-secondary);
            }

    body, #userpro > ul > li:first-child, .right_header, .homePageWidget {
        text-align: center;
    }

    #userpro > ul > li > ul {
        align-items: center;
    }

    .c-mask {
        top: 133px !important;
    }

    #header_content {
        padding: 10px 0 0;
        border-bottom: none !important;
    }

    #msidebar {
        text-align: left;
    }

    #profit_sidebar a:hover {
        opacity: 0.8;
    }

    .headline {
        display: none;
    }

    .printBtn {
        display: none;
    }

    .right_header {
        display: block !important;
        margin-top: 8px !important;
    }

        .right_header a {
            width: 99%;
            height: auto;
            display: block;
            margin: 0 2% 10px;
            box-sizing: content-box;
            -moz-box-sizing: content-box;
            -webkit-box-sizing: content-box;
        }

    .homePageWidget {
        float: none;
        width: 100%;
        margin: 0 !important;
    }

    .noMobile {
        display: none;
    }
}
/* iPads (portrait and landscape) ----------- */
@media only screen and (min-width : 768px) and (max-width : 1024px) {
    .dataTables_wrapper {
        overflow-x: scroll;
        width: 100%;
    }

    #profit_content .table th, #profit_content .table td {
        padding: 10px 0 !important;
        line-height: 20px;
        text-align: left;
        vertical-align: top;
        border-top: 1px solid #dddddd;
        font-size: 14px;
    }

    :root[data-font-size="small"] #profit_content .table th, #profit_content .table td {
        padding: 0 .125rem !important;
    }

    #profit_content .table td, #userpro > ul > li:first-child, .right_header, .headline, .homePageWidget {
        text-align: center;
    }

    .headline {
        margin: 15px 0 10px;
        float: left;
        width: 50%;
        font-size: 32px;
        font-size: 3.2rem;
    }

    .homePageWidget {
        float: none;
        width: 100%;
        margin: 0 !important;
    }

    .headSmall {
        font-size: 20px;
        font-weight: 400;
        display: block;
    }

    #profit_content img {
        max-width: 100vw;
    }

    .right_header {
        float: right;
        display: block;
        margin: 15px 1% 0 0;
    }

        .right_header a {
            width: 99%;
            height: auto;
            display: block;
            float: left;
            margin: 0 2%;
            box-sizing: content-box;
            -moz-box-sizing: content-box;
            -webkit-box-sizing: content-box;
        }

    .noMobile {
        display: none;
    }

    p {
        line-height: 1.2;
    }

    #upload_box {
        display: none;
    }

        .footer {
            font-size: 0.8em;
        }

        .footer #last img {
            display: none;
        }

    .home_header {
        padding-top: 0;
        font-size: 1.2em;
    }

    .uppercase {
        text-transform: uppercase;
        font-weight: 400;
        font-size: 1em;
        padding: 0px;
    }

    #home_top {
        margin: 0 0 2em;
    }
}
/* Smaller Monitors ----------- */
@media only screen and (min-width : 1025px) and (max-width : 1224px) {
    #profit_content .table th, #profit_content .table td {
        padding: 10px 0 !important;
        line-height: 20px;
        text-align: left;
        vertical-align: top;
        border-top: 1px solid #dddddd;
        font-size: 14px;
    }

    #profit_content .table td {
        text-align: center !important;
    }

    #profit_content .totalText {
        text-align: left;
        padding-left: 5px;
    }

    .headSmall {
        font-size: 20px;
        font-weight: 400;
        display: block;
    }

    .right_header {
        float: right;
        display: block;
        margin: 30px 2.5% 0 0;
    }
}
/* Desktops and laptops ----------- */
@media only screen and (min-width : 1224px) {
    .container, .footer {
        width: 1050px;
    }
}
/* Largest screens ----------- */
@media only screen and (min-width : 1824px) {
    .container, .footer {
        width: 1200px;
    }
}

@media only screen {
    [data-bs-theme="dark"] .modal-backdrop {
        background-color: var(--color-modal-overlay-dark, #181825);
    }
}

@media print {
    #header_content, #sidebar, #profit_content h1, .profit_menu, .printBtn, .primaryButton, #instruction, #txtStartDate, #txtEndDate, #btnGenerateReport, #addNotes, #printIcon, .customerSelect, .contact-callout, .report_container h2, .zEWidget-launcher {
        display: none !important;
    }

    #profit_content {
        width: 100%;
        background: #fff;
        margin: 0;
        box-shadow: 0;
    }

    #tblBalanceSheet, #tblBalanceSheet td, #tblBalanceSheet tr, #tblBalanceSheet th {
        border: none !important;
        margin: 0;
        padding-bottom: 0.5em !important;
        padding-top: 0.5em !important;
        font-size: 14px !important;
    }

    input {
        border: none;
        box-shadow: none;
        font-weight: bold;
        color: #000;
    }

    #tblProfitLossPrintBody {
        margin: 10px 0 !important;
    }

    #profit_content #tblProfitLossPrintBody th, #profit_content #tblProfitLossPrintBody td {
        padding: 1px;
        text-align: left !important;
        vertical-align: middle !important;
        border-left: 1px solid #dddddd !important;
    }

    .table {
        border-right: 1px solid #dddddd !important;
        border-bottom: 1px solid #dddddd !important;
        width: 95% !important;
    }

    .groupTotalName:last-child {
        background-color: aqua !important;
        color: #000 !important;
        display: inline-block !important;
    }

    .modal, [class*="modal"] {
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        top: 0 !important;
        overflow: visible !important;
        transform: none !important;
    }

    .modal-backdrop {
        border: none;
    }

    :root {
        --smfont: 12pt;
        --sm2font: 12.75pt;
        --lgfont: 15pt;
        --titlefont: 13.5pt;
        --title2font: 12.75;
        --datefont: 12pt;
    }

    #profit_content {
        --color-text: hsl(0, 0%, 7%);
        --color-bg-dark: hsl(0, 0%, 100%);
        --color-bg-light: hsl(0, 0%, 100%);
        /* everything else inherits your global brand vars */
    }

    @page {
        margin: 1cm;
    }

    body,
    html {
        color: var(--color-text, #111);
        background: var(--color-bg-dark, #fff);
        font-size: 14px;
    }

    .content {
        padding-top: 0px !important;
    }

    .swMain .stepContainer div.content,
    #PrintMainDiv {
        background: #fff !important;
        border-width: 0 !important;
        margin-bottom: 0px !important;
        padding-bottom: 0px !important;
    }

    .stepContainer {
        max-height: 100% !important;
    }

    .report_container {
        padding: 0px !important;
        margin: 0px !important;
    }

    input[type="text"] {
        width: 50%;
        text-align: center;
        border: none !important;
        box-shadow: none !important;
    }

    #tblBalanceSheet,
    #tblGeneralLedger,
    #tblAccountsTable {
        margin-top: 0px !important;
    }

        #tblBalanceSheet,
        #tblBalanceSheet :is(td, tr, th, th :is(span, label)),
        #tblGeneralLedger,
        #tblGeneralLedger th {
            border: none !important;
            padding-top: 0 !important;
            margin-top: 0 !important;
            font-size: var(--sm3font) !important;
        }

            #tblBalanceSheet tr td + td span {
                display: inline-block;
                min-width: 85px;
                padding-top: 0px !important;
            }

            #tblBalanceSheet,
            #tblBalanceSheet :is(td, tr, th) {
                padding-bottom: 7px !important;
            }

                #tblBalanceSheet thead tr:last-child th {
                    padding-bottom: var(--belowdate) !important;
                }

                #tblBalanceSheet thead th {
                    border: none !important;
                }

                #tblBalanceSheet thead th, #tblBalanceSheet th span {
                    padding: 0px !important;
                    margin: 0px !important;
                }

    #tblBalanceSheetBody span a:first-of-type {
        color: black;
    }

    #tblBalanceSheet thead th span:is(#MainContent_lblbalanceCompany, #MainContent_lblbalanceCompany2), .lblCompanyName {
        font-size: var(--titlefont) !important;
        margin: 0 auto !important;
    }

    #tblBalanceSheet thead th span.balance_title, .txtbalance_edit_print {
        font-size: var(--title2font) !important;
        color: black;
        width: 350px !important;
        text-align: center;
        display: inline-block;
    }

    label#edate {
        font-size: var(--datefont) !important;
        text-align: center;
        display: block;
        margin-bottom: var(--belowdate) !important;
    }

    .Assets1, .Current_Liabilities_Section {
        font-size: var(--titlefont) !important;
    }

    #tblBalanceSheetBody :is(tr.balanceSheet td + td span, span, a) {
        font-size: var(--smfont) !important;
        color: var(--color-text, #000) !important;
    }

    #divBalanceSheet {
        border: none !important;
    }

    .tblBalanceSheet input[type="text"] {
        width: 50%;
        text-align: center;
        border: none !important;
        box-shadow: none !important;
    }

    .income_title {
        font-size: var(--titlefont) !important;
        color: black;
    }

    #tblProfitLossPrint tr th input:is([type="text"], span) {
        font-size: var(--title2font) !important;
        color: black;
        width: 350px !important;
        text-align: center;
    }

    .control-label {
        padding: 10px 0 !important;
        font-size: var(--titlefont) !important;
        text-align: center;
        display: block;
        border: none !important;
        box-shadow: none !important;
        width: 60% !important;
        color: var(--color-text, #000) !important;
    }

    .date-label {
        font-size: var(--datefont) !important;
        text-align: center;
        display: block;
        margin-bottom: 0px !important;
        padding-bottom: var(--belowdate) !important;
    }

    #tblProfitLossPrintBody > tr :is(> td > label, > td) {
        font-size: var(--sm3font) !important;
    }

    #tblProfitLossPrintBody tr.profitloss_2 td a {
        font-size: var(--smfont) !important;
        color: var(--color-text, #000);
    }

    .txtincome_title {
        font-size: var(--titlefont) !important;
        color: var(--color-text, #000) !important;
        font-weight: bold;
    }

    #divtransactionbody {
        margin-top: 0px !important;
    }

    #tblProfitLossPrint td {
        border-left: none !important;
    }

    .Current_Liabilities_Section {
        margin-top: 20px !important;
    }

    #tblProfitLossPrint tr td + td span {
        min-width: 75px !important;
    }

    #profit_content :is(#tblBalanceSheet, #tblGeneralLedger, #tblProfitLossPrint).table {
        margin-top: 0px !important;
    }

    #tblProfitLossPrint, #tblProfitLossPrint th {
        border: none !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
        font-size: 12pt !important;
    }

    #tblProfitLossPrintBody tr:last-child > th {
        border: none !important;
    }

    #tblProfitLossPrintBody, #tblProfitLossPrintBody :is(td, label, a) .totalText {
        font-size: var(--sm2font) !important;
    }

    hr {
        border-color: var(--color-text, #000) !important;
        border-width: thin !important;
        border-top-style: solid !important;
        border-bottom-style: solid !important;
        margin: 0px !important;
    }

    #tblIncome .table td {
        padding: 1px !important;
    }

    #tblIncome .table th {
        padding: 8px !important;
    }

    #tblGeneralLedger th {
        border: none !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
        border-right: none !important;
    }

    #profit-content .stepContainer .table, #divtransactionbody, .report_container {
        margin: 0 !important;
        padding: 0 !important;
    }

    #profit_content td a {
        color: hsl(0, 0%, 7%) !important;
    }
}
