﻿/* login page */
.iblogo {
    padding: 0;
    list-style-type: none;
    position: fixed;
    bottom: 10px;
    right: 10px; /* Adjust right positioning */
}

.message-box {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    height: 300px !important;
    width: 100%;
}

.verificate {
    display: none;
}

.color-profile-100 {
    background: #71749b;
}

.color-profile-200 {
    background: #90c090;
}

.color-profile-300 {
    background: #c6c6a1;
}

.color-profile-400 {
    background: #91bcc6;
}

.color-success-200 {
    color: #71749b;
}

.color-info-200 {
    color: #90c090;
}

legend {
    font-size: .8rem;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #dee2e6;
    opacity: 1;
}

fieldset {
    display: block;
    margin: 10px;   
    padding: 10px;
    min-inline-size: min-content;
    border-width: 1px;
    border-style: groove;
    border-color: var(--primary);
    border-image: initial;
}

fieldset legend {
    font-size: 1em;
/*    font-weight: bold;*/
    color: var(--info);
    padding: 0 10px;
}

 


.subheader-title {
    font-weight: 300 !important;
}


.dt-buttons {    
    margin-bottom: 5px;
}


.CreateButton {
    margin-left: 0.5em;
}

.input-validation-error {
    border-color: #cc0066 !important;
}

.tab-error {
    color: #cc0066 !important;
}

.table thead th {
    vertical-align: text-top;
    border-bottom: 2px solid #e9e9e9;
}

table.table-hover tbody tr:hover {
    background: #f5f5f5;
}

.table-condensed {
    font-size: 0.7rem;
    text-align: left;
    vertical-align: middle;
}


.validation-summary-errors {
    padding: 15px;
    margin-bottom: 20px;
    box-sizing: border-box;

}

    .validation-summary-errors ul {
        list-style-type: disc;
        color: #bdafd1;
        padding: 0px;
    }

        .validation-summary-errors ul li {
            margin: 0px 0px 10px;
            box-sizing: border-box;
            display: list-item;
            font-weight: bold;
        }

.validation-summary-valid ul {
    list-style-type: disc;
    color: var(--warning);
    padding: 0px;
}

    .validation-summary-valid ul li {
        margin: 0px 0px 10px;
        box-sizing: border-box;
        display: list-item;
        font-weight: bold;
    }


.modal-inner {
    height: 100vh;
    width: 100%;
}

    .modal-inner .modal-header {
        height: 10vh;
    }

    .modal-inner .modal-footer {
        height: 12vh;
    }

    .modal-inner.modal-body {
        height: 60vh;
        overflow-y: auto
    }

@media (min-width: 992px) {
    .modal-lg {
        max-width: 600px;
    }
}

.modal-transparent .modal-content {
    /*background: rgba(15, 14, 17, 0.95);*/
    background: #111518;
    color: #706f6f !important;
}


.mod-skin-dark:not(.mod-skin-light) .modal-transparent .modal-content {
    background: rgba(44, 44, 44, 0.97);
    -webkit-box-shadow: none;
    box-shadow: none;
}



.modalValidationSummary {
    padding: 0 30px;
    margin-bottom: 0px;
}

    .modalValidationSummary ul {
        margin: 0px;
    }

.form-group.required .form-label::after {
    content: " *";
    color: #f00;
}

.dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

.scrollable {
    overflow: auto;
    width: 100px; /*adjust this width depending to amount of text to display */
    height: 200px; /*adjust height depending on number of options to display */
    border: 1px #bdafd1 solid;
}

    .scrollable select {
        border: 1px;
    }


.panel-content {
    overflow-wrap: break-word;
}

.nav {
    list-style: none;
    font-weight: lighter;
    margin-bottom: 20px;
    float: left;
    width: 100%;
    position: relative;
    z-index: 5;
}

    .nav li {
        float: left;
        margin-right: 10px;
        position: relative;
    }

    .nav a:hover {
        color: #fff !important;
        background-color: #868e96;
        text-decoration: underline;
    }


    .nav ul {
        background-color: #fff;
        list-style: none;
        position: absolute;
        left: -9999px;
    }

        .nav ul li {
            padding-top: 1px;
            float: none;
        }

        .nav ul a {
            white-space: nowrap;
        }

    .nav li:hover ul {
        left: 0;
    }

 
div.note-dropdown-menu {
    overflow-y: auto;
    max-height: 400px; /*recommend keep it approx 50 px less than height of editor itself*/
    width: auto; /*SM's setting was too narrow for its own style DDL */
}
.mod-skin-dark:not(.mod-skin-light) .note-toolbar .note-btn {
    background: #6c6c6c;
}

.nav li:hover ul a {
    text-decoration: none;
}

    .nav li:hover ul li a:hover {
        background-color: teal;
    }

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: #544e83 !important;
}

.nav .nav-link:not([class^="btn-"]):not([class*=" btn-"]) {
    font-weight: 400;
    font-size: 0.8125rem;
}

.breadcrumb > li.breadcrumb-item {
    max-width: 230px !important;
}

.swal2-container {
    z-index: 999999999;
}

.swal2-html-container {
    font-size: 14px !important;
}

.overlay {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999999;
    background: rgba(255,255,255,0.3) url("/Images/loading-image.svg") center no-repeat;
    background-size: 70px 70px;
}

body.loading {
    overflow: hidden;
}

    body.loading .overlay {
        display: block;
    }


.slimScrollBar {
    width: 8px !important;
    opacity: 0.5 !important;
    background: rgb(151, 151, 151) !important;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto {
    padding: 0.5rem;
}


.card-title {
    margin-bottom: 0;
}

p.card-text {
    color: #66666a;
}

.card-columns .card:hover {
    border: solid 2px #a38cc6;
}

.card-columns .card {
    min-height: 200px;
    border: solid 2px transparent;
}

ul.no-list.result-action-btn {
    padding: 0;
}

    ul.no-list.result-action-btn li {
        list-style: none;
    }

.table.life th, .table.life td {
    min-width: 100px;
}

.container.center.page-intro {
    max-width: 100%;
}

.table.life th.lastcol, .table.life td.lastcol {
    text-align: center;
}

/* button adjustments */
.btn.md {
    min-width: 122px !important;
}



#tab_quotation_offer table.table.table-responsive tr td {
    width: 16% !important;
}
#tab_quotation_offer table.table.table-responsive tr td:nth-child(1) {
    width: 26% !important;
}
#tab_quotation_offer table.table.table-responsive tr td.hidden-xs.lastcol ul li {
    display: flex;
    gap: 4px;
}
    #tab_quotation_offer table.table.table-responsive tr td.hidden-xs.lastcol ul li .btn.md {
        min-width: 124px !important;
        padding: 8px 0;
    }
    #tab_quotation_offer table.table.table-responsive tr td.hidden-xs.lastcol{text-align: center;}

  

.select2-dropdown {
    z-index: 10000;
}

.dataTables_filter {
    display: flex !important;
    -webkit-box-align: start !important;
    -ms-flex-align: start !important;
    align-items: flex-start !important;
}


/* toolbar */

.record-title {
    font-weight: 400 !important;
    font-size: medium;
    color: var(--primary);
    background: inherit;
}
.panel-header {
    position: relative;
}

.vip-badge {
    position: absolute;
    top: 10px; /* Adjust as needed */
    right: 10px; /* Adjust as needed */
}
.deceased-badge {
    position: absolute;
    top: 30px; /* Adjust as needed */
    right: 10px; /* Adjust as needed */
}
.sticky-container {
    position: sticky;
    top: 5px;
    z-index: 200;
    background-color: inherit;
    border-left: 8px solid;
    border-left-color: var(--theme-success-600);
    padding: 10px 10px 10px;
}
/* keeping this for old toolbar backward compatibility */
.d-flex.panel-toolbar {
    position: sticky;
    z-index: 200; /* keeping toolbar sticky and above header bar */
    top: 0;
    background: inherit;
    border-left: 8px solid;
    border-left-color: var(--theme-success-600);
    padding: 10px 10px 10px;
}

.toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 5px;
}

.toolbar-button {
    margin-left: 10px;
    padding: 8px 16px;
    cursor: pointer;
}

    .toolbar-button i {
        margin-right: 5px;
    }

@media (max-width: 600px) {
    .toolbar-button {
        margin-left: 5px;
        padding: 6px 12px;
        font-size: 0; /* Hide button text in mobile view */
    }

    .toolbar-button i {
        margin-right: 0;
        font-size: 18px; /* Set icon size in mobile view */
    }
}

/* datatable toolbar buttons */
.desktop-dt-buttons-container {
    display: inline-block;
}

.mobile-dt-buttons-container {
    display: none;
}

@media (max-width: 576px) {
    .desktop-dt-buttons-container {
        display: none;
    }

    .mobile-dt-buttons-container {
        display: block;
        margin-bottom: 10px;
    }
}

/* datatable row level action toolbar  */

.dtr-control {
    display: flex;
    gap: 2px;
    /* flex-wrap: wrap;  Allow buttons to wrap to the next line on smaller screens */
    justify-content: flex-start; /* Align buttons to the left on smaller screens */
}


/* copy input field */

.copy-icon {
    display: none;
    position: absolute;
    right: 10px;
    top: 60%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1rem;
}

.title-copy-icon {
    display: none;
    position: absolute;
    right: 10px;
    top: 30%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
}

.form-group:hover .copy-icon {
    display: inline-block;
}
.form-group:hover .title-copy-icon {
    display: inline-block;
}


/* text handling */

.uppercase {
    text-transform: uppercase;
}

/* progress bar for hub */

.progress {
    font-size: 0.4rem;
}

.input-code {
    padding: 10px;
    border: 1px solid var(--primary);
    width: 50px;
    height: 50px;
    margin: 2px;
    text-align: center;
    font-size: 30px;
}

/* Customize the SSRS toolbar and View Report button */

.iframeContainer iframe {
    height: 100% !important;
    width: 100% !important;
}

/* DTE datatable editor */
div.DTED_Lightbox_Wrapper {
    position: fixed;
    top: 0;
    left: 50%;
    margin-left: -280px;
    width: 610px;
    height: 100%;
    z-index: 999;
}

/* profile account and image */
input[type="file"] {
    display: none;
}



.profile-image-container {
    position: relative;
    display: inline-block;
}


.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Fallback for any profile images in header area */
.page-header .profile-image {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #fff !important;
    flex-shrink: 0 !important;
}

.role-badge {
    margin: 2px;
    font-size: 0.85em;
}

.upload-progress {
    display: none;
    margin-top: 10px;
}

.image-upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
    font-size: 14px;
}