﻿.custom-primary {
    color: #26A69A;
}

.custom-toggle-width {
    width: 120px !important;
}

.custom-bg-primary {
    background-color: #E3F4F2;
}


.custom-h {
    display: flex;
    flex-direction: column;
    max-height: 100% !important;
}


.custom-btn {
    color: white;
    background-color: #26A69A;
    border: none;
    border-radius: 5px;
    font-size: 14px;
}

.custom-btn:hover {
    color: white !important;
    background-color: #229489 !important;
}

.custom-btn-alt{
    color: #26A69A;
    background-color: #D7EFED;
    border: none;
    border-radius: 5px;
    font-size: 14px;
}

.custom-btn-alt:hover {
    color: #26A69A;
    background-color: #c5f0ec;
    border: none;
    border-radius: 5px;
    font-size: 14px;
}

.footer-link {
    color: #26A69A;
    text-decoration: none;
}

.footer-link:hover {
    color: #EC631D;
}

.custom-psd-btn {
    color: #26A69A;
    background-color: #f0f2f5;
}

.custom-psd-btn:hover {
    background-color: #E6F2F1 !important;
    color: #26A69A;
}

/* radio button */

.Radio {
    display: inline-flex;
    align-items: center;
}


.Radio-Input {
    margin: 0 0.5em 0;
}



.full-height {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.cstm-card-height {
    height: calc(100vh - 9rem);
}

.grid-container {
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.grid-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.grid-wrapper {
    flex: 1;
    min-height: 0;
    height: 100%;
}

.card.grid-container {
    display: flex;
    flex-direction: column;
}

.card.grid-container .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0 !important;
    margin: 0 !important;
}

/* Prevent double scrollbars in grid */
.e-grid {
    overflow: hidden !important;
}

.e-grid .e-gridcontent {
    overflow-x: auto !important;
    overflow-y: auto !important;
}

.e-grid .e-gridpager {
    border-top: 1px solid #dee2e6;
    background: #f8f9fa;
    padding: 8px 15px;
}

/* Remove margin from grid container cards to prevent extra spacing 
.card.border-0.shadow-sm {
    margin-bottom: 0 !important;
}*/

/* Ensure grid containers have no extra margins 
.d-flex.flex-column .card {
    margin-bottom: 0 !important;
}
    */
.color-primary {
    color: #FD671A;
}

.bg-cstm-primary {
    background: #fd671a1f !important;
}

.cstm-pills-pos {
    position: relative;
    top: -1px;
}

.custom-lh-title {
    line-height: 1;
}

.cstm-lh {
    line-height: 1.2;
}

.cstm-user-name {
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 95%;
    margin-bottom: -4px;
}

.icon-more2:hover {
    color: #454545 !important;
}

.fs-cstm {
    font-size: large;
}

.badge-cstm {
    background: #3872b3;
    color: #fff;
}

/* Kanban Board Stylings */
.e-kanban .e-kanban-header .e-header-cells .e-item-count {
    font-size: small !important;
}

.e-kanban .e-kanban-content .e-content-row.e-swimlane-row .e-content-cells .e-swimlane-header .e-swimlane-text {
    color: #FD671A !important;
    font-weight: 500 !important;
}

.e-kanban .e-kanban-content .e-content-row.e-swimlane-row .e-content-cells .e-swimlane-header .e-item-count{
    color: black !important;
    opacity: 1 !important;
    font-weight: 600 !important;
}

.e-kanban .e-kanban-content .e-content-row .e-content-cells .e-card-wrapper .e-card, .e-kanban .e-kanban-content .e-content-row .e-content-cells .e-card-container .e-card {
    border-radius: 0 !important;
}

.e-kanban .e-kanban-content .e-content-row.e-swimlane-row .e-content-cells .e-swimlane-header .e-swimlane-row-expand, .e-kanban .e-kanban-content .e-content-row.e-swimlane-row .e-content-cells .e-swimlane-header .e-swimlane-row-collapse {
    position: relative !important;
    top: 3px !important;
}

.e-kanban .e-kanban-table .e-header-cells:hover {
    box-shadow: 0px 0px 2px 3px #f1f1f1;
}


.e-card-container:has(span#hideme) {
    display: none;
}

.e-card-container .e-empty-card {
    display: none !important;
}

.swimlane-template.e-swimlane-template-table {
    color: #FD671A !important;
    font-weight: 500 !important;
    font-size: 1.1em !important; 
    margin-left: 2px !important;
}

/*Top Anchor Button Custom Stylings */
.btn-to-top {
    z-index: 1 !important;
}

/* Speed Dial Stylings */

.e-speeddial-popup .e-speeddial-li-icon {
    height: 39px !important;
    width: 39px !important;
    font-size: x-large !important;
    color: #292929 !important;
}

.e-fab.e-btn .e-btn-icon{
    margin-top: 2.5px !important;
}


/* SF QueryBuilder Stylings */

.e-query-builder .e-group-header .e-group-action .e-btn {
    background: lightgrey !important;
    border: 0;
    color: black;
    position: relative;
    top: -2px;
}

.e-query-builder .e-group-header .e-btn-group .e-btn, .e-query-builder .e-group-header .e-btn-group .e-css.e-btn {
    background: #7ab1ff !important;
    border-color: #0D8AEE !important;
}

.e-btn-group .e-btn:active, .e-btn-group input:active + label.e-btn, .e-btn-group input:checked + label.e-btn, .e-css.e-btn-group .e-btn:active, .e-css.e-btn-group input:active + label.e-btn, .e-css.e-btn-group input:checked + label.e-btn {
    background-color: #0D8AEE !important;
    border: #0D8AEE !important;
}

.e-query-builder .e-btn-group input:checked + label.e-btn, .e-query-builder .e-btn-group .e-btn.e-qb-toggle.e-active-toggle {
    background-color: #0D8AEE !important;
    border: #0D8AEE !important;
}

/* SfTab Stylings */
.e-tab .e-content > .e-item {
    min-height: 586px !important;
    height: 590px !important;
}

/* Form Height Tab */
.custom-form-height {
    height: 268px;
    overflow: auto;
}

.floating-button {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 2 !important;
}

/* Speed Dial Stylings */
.e-speeddial-popup .e-speeddial-ul {
    padding: 0.625rem !important;
    margin-bottom: 0.61rem !important;
    border-radius: 0.9rem !important;
    background-color: #8dbbffeb !important;
    box-shadow: 0 -1px 2px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.24) !important;
}

.e-speeddial-li .e-speeddial-li-icon {
    background: #0d6efd !important;
    border-color: #0d6efd !important;
    color: #fff !important;
}

.e-speeddial-li .e-speeddial-li-text:hover {
    background: #0d6efd !important;
    border-color: #0d6efd !important;
    color: #fff !important;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-content {
    flex: 1;
    display: flex;
    min-height: 0;
}

.content-wrapper {
    flex: 1;
    min-height: 0;
}
