
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --user-section-bg: lightgray;
    --text-color-primary: #000;
    --text-color-inverse-primary: white;
    --text-color-secondary: #5B5B5B;
    --text-color-tertiary: #9ca3af;
    --primary-bg: #22772D;
    --primary-bg-darker: #103c16;
    --primary-bg-active: #22772d1a;
    --primary-bg-selected: #D3E4D5;
    --btn-primary-text: #FCFCFC;
    --btn-primary-bg: #2B9545;
    --status-green-bg: #49B95C;
    --status-red-bg: #FC2020;
    --main-background: rgba(244, 244, 244, 0.60);
    --main-content-margin: 0 0 0 1rem;
    --neutral-bg: #C7C6C6;
    --work-background: #FFF;
    --readonly-bg: #F6F6F6;
    --sb-track-color: #fff;
    --sb-thumb-color: #22772D;
    --sb-size: 0.5rem;
    --text-header-table: #6b7280;
}

.sms-icon-button {
    cursor: pointer;
}
.sms-icon-button--primary {
    color: var(--primary-bg) !important;
}
    .sms-icon-button:hover {
        opacity: 0.7;
    }

.sms-button.e-btn.e-flat:focus,
.sms-button.e-btn:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .95), 0 0 0 4px var(--primary-bg);
}


.sms-dialog__title {
    color: var(--text-color-primary) !important;
    font-size: 1.25rem !important;
    font-style: normal;
    font-weight: 400 !important;
    line-height: normal;
}

.sms-dialog__label {
    color: var(--text-color-primary);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.sms-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sms-form__control {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sms-btn-primary {
    color: var(--btn-primary-text) !important;
    text-align: center !important;
    font-size: 0.875rem !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: normal !important;
    border-radius: 0.3125rem !important;
    border: 1px solid var(--neutral-bg) !important;
    background: var(--btn-primary-bg) !important;
    padding: 0.5rem 2.5rem !important;
}

.sms-btn-outline-danger {
    background-color: transparent !important;
    border-color: var(--status-red-bg) !important;
}

.sms-btn-tertiary {
    color: var(--text-color-primary) !important;
    text-align: center !important;
    font-size: 0.875rem !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    border-radius: 0.3125rem !important;
    border: 1px solid var(--neutral-bg) !important;
    background: var(--work-background) !important;
    padding: 0.5rem 2.5rem !important;
}

@media only screen and (max-width: 750px) {
    .sms-btn-primary {
        padding: 0.5rem 1rem !important;
    }

    .sms-btn-tertiary {
        padding: 0.5rem 1rem !important;
    }
}

.sms-image-counter {
    padding: 0px 6px;
    margin-left: 5px;
    transform: translateY(1px);
    border: 2px solid var(--primary-bg);
    color: var(--primary-bg);
    font-weight: bold;
    border-radius: 1rem;
}

.e-input-focus {
    border-color: var(--primary-bg) !important;
    box-shadow: 0 0 0 1px var(--primary-bg) !important;
}

.e-input::selection {
    background: var(--primary-bg) !important;
}

.e-dropdown-btn:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .95), 0 0 0 4px var(--btn-primary-bg) !important;
}

.sms-error-message {
    display: block;
    color: var(--status-red-bg);
    margin-top: 0.25rem;
}

#app {
    height: 100vh;
}

.sms-divider {
    width: 100%;
    height: 0.0625rem;
    background: #D6D6D6;
}

.sms-divider-vertical {
    width: 0.0625rem;
    background: #D1D4DC;
}

*::-webkit-scrollbar {
    width: var(--sb-size) !important;
    height: var(--sb-size) !important;
}

*::-webkit-scrollbar-track {
    background: var(--sb-track-color) !important;
    border-radius: 3px !important;
}

*::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color) !important;
    border-radius: 3px !important;
}

.e-yscroll::-webkit-scrollbar {
    height: var(--sb-size) !important;
}

.e-blazor-toast-close-icon {
    margin-top: 0 !important;
    right: 20px !important;
    top: 12px !important;
}

.e-toast-title:first-child {
    padding: 0 0 0 10px !important;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.c-p {
    cursor: pointer;
}


.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text-layout {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 4rem) 0 auto 0.4rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.d-none {
    display: none;
}

.e-kanban-header {
    padding-top: 6px !important;
}

.e-item-count {
    display: none !important;
}

.e-outline {
    width: 201px;
    height: 40px;
}

.wo-ceh-right .wo-ceh-save {
    width: 200px;
    height: 40px;
    color: #22772D !important;
    /*padding: 8px 50px !important;*/
    box-shadow: none !important;
    border: 1px solid #22772D !important;
    font-size: 16px;
    border-radius: 5px;
}

.wo-ceh-right .wo-ceh-CWO, .wo-cj-right .wo-cj-CWO, .wo-ceh-right .wo-ceh-gi {
    /*width: 200px;*/
    height: 40px;
    background: #22772D !important;
    color: #FFF !important;
    /*padding: 8px 50px !important;*/
    box-shadow: none !important;
    border: 1px solid #22772D !important;
    font-size: 16px;
    border-radius: 5px;
}

.wo-create-btn .e-success {
    width: 200px;
    height: 40px;
}

.wo-search-container .e-input-group {
    position: relative !important;
    height: 40px !important;
    width: 264px;
    background-color: #E0E0E0 !important;
    border-color: #E0E0E0 !important;
    box-shadow: none !important;
}

    .wo-search-container .e-input-group input {
        position: relative;
        top: 5px;
        right: 10px;
    }

.wo-search-container .e-icons.e-search:before {
    font-size: 22px !important;
}

.wo-search-container .e-icons.e-search:hover {
    background: none !important;
}

.wo-ceh-wh {
    height: 40px;
    background-color: #FFF !important;
    color: #000 !important;
    box-shadow: none !important;
    border: 1px solid #000 !important;
    font-size: 16px;
    border-radius: 5px;
}

    .wo-ceh-wh:hover {
        color: #e0e0e0;
    }

.hd-search-container .e-input-group {
    position: relative !important;
    height: 40px !important;
    width: 480px !important;
    background-color: #E0E0E0 !important;
    border-color: #E0E0E0 !important;
    box-shadow: none !important;
}

    .hd-search-container .e-input-group input {
        position: relative;
        top: 6px;
        right: 10px;
    }


.hd-search-container .e-icons.e-search:before {
    font-size: 22px !important;
}

.hd-search-container .e-icons.e-search:hover {
    background: none !important;
}

.hd-search-container .e-icons.e-search:before {
    font-size: 22px !important;
}

.wo-ce-ew-left .e-acrdn-header {
    background: var(--primary-bg-selected) !important;
}

.wo-ce-cb-search .e-input-group {
    position: relative !important;
    height: 40px !important;
    width: 573px !important;
    border-color: #E0E0E0 !important;
    box-shadow: none !important;
}

.wo-ccust-search .e-input-group {
    position: relative !important;
    height: 40px !important;
    width: 380px !important;
    background-color: #E0E0E0 !important;
    border-color: #E0E0E0 !important;
    box-shadow: none !important;
}
    .wo-ccust-search .e-input-group input {
        height: 100% !important;
    }

.wo-ccust-data .e-input-group {
    position: relative !important;
    height: 40px !important;
    box-shadow: none !important;
}
.wo-ccust-data .e-input-group:not(.invalid) {
    border-color: #E0E0E0 !important;
}
    .wo-ccust-data .e-input-group input {
        height: 100% !important;
    }

.wo-ccust-search .e-icons.e-search:before {
    font-size: 22px !important;
}

.wo-ccust-search .e-textbox {
    position: relative;
    top: 4px;
    right: 4px;
}

    .e-icons.e-search:before {
        content: "\e754";
        font-size: 22px !important;
    }

.wo-ce-ew-container .e-accordion {
    border-width: 1px;
}

.wo-ce-cb-date .e-datepicker {
    width: 230px !important;
    height: 40px !important;
    background: #E0E0E0 !important;
}

.wo-ce-cb-date .e-date-icon {
    background: #E0E0E0 !important;
}

.wo-ce-left-sr-multb textarea {
    width: 560px !important;
    height: 99px !important;
    background-image: url('../img/subtract.png');
    border-radius: 5px !important;
}

.wo-ce-cb-search .e-icons.e-search:before {
    font-size: 22px !important;
}

.wo-ce-cb-search .e-icons.e-search:hover {
    background: none !important;
}

.wo-kanban .e-kanban .e-kanban-table .e-header-cells:nth-child(1) {
    background: #E0E0E0 !important;
    background-color: #E0E0E0 !important;
}

.wo-kanban .e-header-cells:nth-child(2) {
    background-color: #E0E0E0 !important;
}

.wo-kanban .e-header-cells:nth-child(3) {
    background-color: #FBC98E !important;
}

.wo-kanban .e-header-cells:nth-child(4) {
    background-color: #FBC98E !important;
}

.wo-kanban .e-header-cells:nth-child(5) {
    background-color: var(--primary-bg-selected) !important;
}

.wo-kanban .e-header-cells:nth-child(6) {
    background-color: #FBC98E !important;
}

.wo-kanban .e-header-cells:nth-child(7) {
    background-color: var(--primary-bg-selected) !important;
}

.e-grid .e-headercelldiv {
    font-size: 12px !important;
}

.f-14 {
    font-size: 14px;
}

.crm-search-container .e-input-group {
    position: relative !important;
    height: 40px !important;
    width: 350px !important;
    background-color: #E0E0E0 !important;
    border-color: #E0E0E0 !important;
    box-shadow: none !important;
}

    .crm-search-container .e-input-group input {
        position: relative;
        top: 5px;
        right: 10px;
    }

.crm-search-container .e-icons.e-search:before {
    font-size: 22px !important;
}

.crm-search-container .e-icons.e-search:hover {
    background: none !important;
}

.sticky-position {
    position: sticky;
    top: 0;
    z-index: 999;
}

a.pointer {
    text-decoration: none;
}

@media only screen and (min-width: 600px) and (max-width: 900px) {
    /* Styles for portrait mode tablets */
    .wo-create-btn .e-success {
        min-width: 126px;
        max-width: 145px;
        height: 40px;
    }

    .e-outline {
        min-width: 126px;
        max-width: 145px;
        height: 40px;
    }
}

/* Target tablets in landscape mode (900px to 1200px) */
@media only screen and (min-width: 900px) and (max-width: 1200px) {
    /* Styles for landscape mode tablets */
    .wo-create-btn .e-success {
        min-width: 126px;
        max-width: 145px;
        height: 40px;
    }

    .e-outline {
        min-width: 126px;
        max-width: 145px;
        height: 40px;
    }
}

.form-group{
    margin-bottom:1.5rem;
}

@media(min-width:992px){
    .form-group{
        margin-bottom:0px;
    }
}

