﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

p.policy-formula {
    font-size: small;
    margin: 0;
}

.black-border {
    border-color: black !important;
}

.inverse-background {
    background: white !important;
    border-style: solid;
}
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.read-only-spacing .form-group label {
    margin-bottom: 0;
}

.label-required {
    color: red;
}

.upload-file-modal .k-upload-selected {
    display: none;
}

.upload-file-modal .k-clear-selected {
    display: none;
}

.read-only-spacing .form-group .form-control-plaintext {
    padding: 0;
    color: dimgray;
}

.modal-dialog.bottom-modal {
    top: calc(100% - 300px);
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.white-space-normal .k-grid-header span {
    white-space: normal !important;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

tbody > td.clickable:before {
    font-family: FontAwesome;
    content: "\f07c";
    padding-right: 5px;
}

tbody > td.clickable.collapsed:before {
    content: "\f07b";
}

label {
    font-weight: 500;
    font-size: 16px;
}

.effective-date .k-picker-wrap {
    border-radius: 4px 0 0 4px;
}

    .effective-date .k-picker-wrap .k-select {
        border-radius: 0;
    }

.form-check-label {
    font-weight: normal;
}

#toast-container {
    position: absolute;
    top: 0;
    right: 0;
}

.input-group {
    margin-bottom: 1rem;
}

#CompanyPlanContainer .nav-tabs {
    border-bottom: none;
}

    #CompanyPlanContainer .nav-tabs .nav-item {
        z-index: 1;
    }

    #CompanyPlanContainer .nav-tabs .nav-link.active {
        background-color: #f8f8f8;
        border-color: #dee2e6 #dee2e6 #f8f8f8;
    }

.class-info form {
    margin-top: 30px;
    background: rgba(68, 18, 52, 0.1);
    padding: 10px;
}

.company-plan-form {
    background: rgba(68, 18, 52, 0.1);
    padding: 10px;
}

.grey-panel {
    background: rgba(68, 18, 52, 0.1);
    padding: 10px;
}

.fis-panel {
    margin: 10px;
}

.import-error-modal-body {
    max-height: 300px;
    overflow-y: auto;
}

#CompanyPlanContainer .nav-tabs .validation-error .nav-link {
    background-color: lightcoral;
    color: black;
}

#CompanyPlanContainer .nav-tabs .validation-success .nav-link {
    background-color: lightgreen;
    color: black;
}

#CompanyPlanContainer .nav-tabs .validation-warning .nav-link {
    background-color: yellow;
    color: black;
}

#CompanyPlanContainer .nav-tabs .validation-success .nav-link.active {
    background-color: darkgreen;
    color: white;
}

#CompanyPlanContainer .nav-tabs .validation-error .nav-link.active {
    background-color: darkred;
    color: white;
}

#CompanyPlanContainer .nav-tabs .validation-warning .nav-link.active {
    background-color: darkgoldenrod;
    color: white;
}

#CompanyPlanContainer .custom-file-input {
    max-width: initial;
}

input.overridable-input {
    background-color: yellow;
}

td.overridable-input {
    background-color: yellow;
}

#CompanyPlanContainer textarea {
    min-width: 100%;
    height: 120px;
}

#CompanyPlanContainer hr {
    max-width: 70px;
    border-top: 6px solid #550F2A;
    margin: 0 0 30px 0;
}

.max-100p {
    max-width: 100% !important;
}

.card-spacer {
    margin-top: 30px;
}

.text-large {
    font-size: 30px;
}

.grid-checkbox {
    height: 5px;
    width: 5px;
}

label[for=DataRequested].k-checkbox-label:before {
    height: 30px;
    width: 30px;
    line-height: 30px;
}

label[for=DataReceived].k-checkbox-label:before {
    height: 30px;
    width: 30px;
    line-height: 30px;
}

.renewalsGrid .k-edit-cell {
    text-align: center;
}

.policiesListGrid .k-edit-cell {
    text-align: center;
}

.approval-grid-red {
    background-color: #E6B8B1;
}

.approval-grid-yellow {
    background-color: #FFEE10;
}

.approval-grid-green {
    background-color: #BBE6B1;
}

.approval-grid-blue {
    background-color: lightblue !important;
}

.btn-renewal-search {
    position: absolute;
    bottom: 20px;
}

.modal .policy-upload-document-modal {
    position: absolute;
    width: 600px;
    bottom: 0;
    left: 0;
    right: 0
}

.CompanyPlanEmployeeGrid .k-link {
    font-size: 13px;
}

.CompanyPlanEmployeeGrid .k-link {
    font-size: 13px;
}

.CompanyPlanEmployeeGrid td {
    font-size: 13px;
}

.claim-summary-count-item {
    margin-bottom: 20px;
}

.dashboard-summary-value {
    text-align: center;
    font-size: 50px;
    color: #5A214B;
}

.dashboard-summary-label {
    text-align: center;
    font-weight: 500;
}

.white-space-normal .k-grid-header th {
    white-space: normal !important;
}

.ratio-over-100 {
    background-color: lightpink;
}

.error {
    color: red;
}



.card-header > a, .card-header > a:active {
    display: block;
    color: black;
    text-decoration: none;
}

    .card-header > a:hover {
        color: black;
        text-decoration: none;
    }

.card-header a:before {
    font-family: "Font Awesome 5 Free";
    float: right;
    transition: all 0.5s;
}

.card-header.active a:before {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    transform: rotate(180deg);
}

a.validation-error {
    text-decoration: none;
    cursor: pointer;
    color: #FFFFFF;
}

.swim-lane-task {
    display: flex;
    overflow-x: auto;
    height: 600px;
    background-color: #f3f2f1;
    padding: 15px;
}

    .swim-lane-task .category-group > li {
        width: 300px;
        cursor: pointer;
    }

    .swim-lane-task .category-group {
        text-align: center;
    }

    .swim-lane-task li {
        list-style-type: none;
        padding: 0;
        margin: 0 !important;
    }

    .swim-lane-task ul {
        margin: 0 !important;
        padding: 0;
    }

    .swim-lane-task .card {
        border-color: #5A214B;
        border-radius: 3px;
        margin: 5px;
        cursor: pointer;
    }

    .swim-lane-task .card-body {
        padding: 5px;
        height: 100px;
    }

.add-task-swim-label {
    color: #6d6fac;
    text-align: left;
    padding-left: 10px;
    padding-top: 10px;
}

.circle {
    display: inline-block;
    color: #fff;
    background-color: #550f2a;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 500;
    line-height: 30px;
    width: 30px;
    height: 30px;
    text-align: center;
    padding-bottom: 5px;
}

.red-text {
    color: red;
}


.quote-details-headers.row div {
    background-color: #122944;
    color: white;
}

.base-rates .row div:nth-child(1) {
    background-color: #122944;
    color: white;
}

.base-rates .row div:nth-child(2) {
    color: black;
}

.quote-table {
    font-weight: 500;
    font-size: 16px;
}

    .quote-table .row div {
        padding-top: 2px;
        padding-bottom: 2px;
    }

    .quote-table .row:nth-child(1) div {
        border-top: 1px solid;
    }

    .quote-table .row:nth-child(n+1) div {
        border-bottom: 1px solid;
    }

    .quote-table .row div:nth-child(1) {
        border-left: 1px solid;
    }

    .quote-table .row div:nth-child(n+1) {
        border-right: 1px solid;
    }




    .quote-table .row div {
        padding-top: 2px;
        padding-bottom: 2px;
    }


.quote-surcharge .row div:nth-child(1) {
    background-color: #FFB7B7;
}

.quote-surcharge .row div:nth-child(2) {
    background-color: #fedcbb;
}


.quote-discounts .row div:nth-child(1) {
    background-color: #C6E0B4;
}

.quote-discounts .row div:nth-child(2) {
    background-color: #fedcbb;
}





.application {
    @*background-color: red;
    *@ display: flex;
    @*flex-direction:row;
    *@ align-items:center;
    margin-bottom: 10px;
}

.pickerWidth {
    width: 100%;
}


.loading-spinner-fis {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(73, 73, 73, 0.479);
    left: 0;
    top: 0;
}

    .loading-spinner-fis::before,
    .loading-spinner-fis::after {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 50px;
        height: 50px;
        transform: translate3d(-50%, -50%, 0);
        transform-origin: left top;
        border-top: 6px solid rgba(85, 15, 42, .65);
        border-right: 6px solid rgba(85, 15, 42, .65);
        border-bottom: 6px solid transparent;
        border-left: 6px solid rgba(85, 15, 42, .65);
        border-radius: 50%;
        content: '';
    }

    .loading-spinner-fis::before {
        animation: rotate-spinner 1s infinite cubic-bezier(.030, .565, .895, .415);
    }

    .loading-spinner-fis::after {
        animation: rotate-spinner 2s infinite cubic-bezier(.030, .565, .895, .415);
    }


.quote-table {
    margin-top: 10px;
}


#autoViewTaskModal {
    margin: 0 !important;
}

    #autoViewTaskModal .modal-body {
        max-height: 500px;
        overflow: auto;
    }

.form-dirty-warning {
    margin-top: 10px !important;
    margin-left: 0px !important;
}

}

.auto-active-grid-tab {
    background-color: #F0F0F0;
}

    .auto-active-grid-tab a {
        color: #495057 !important;
    }


.kendo-toolbar-input {
    margin-top: 20px;
    margin-left: 20px;
}

    .kendo-toolbar-input input {
        width: 400px !important;
        margin-right: 5px;
        border-radius: 5px;
    }

    .kendo-toolbar-input button {
        padding: 5px;
    }

    .kendo-toolbar-input .k-grid-excel {
        margin-right: 40px;
    }


.k-combobox, .k-datepicker, .k-dropdown, k-picker {
    width: auto !important;
}

.form-check-input.form-control {
    height: 25px;
}

.k-grid {
    min-height: 200px;
}



.btn-action {
    color: #930034;
    background-color: #FCE8EA;
    border-color: #930034;
}

    .btn-action:hover {
        color: #930034;
        background-color: #FCE8EA;
        border-color: #930034;
        text-decoration: underline;
    }

    .btn-action:focus, .btn-action.focus {
        box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
    }

    .btn-action.disabled, .btn-action:disabled {
        opacity: 0.5;
    }

    .btn-action:not(:disabled):not(.disabled):active, .btn-action:not(:disabled):not(.disabled).active,
    .show > .btn-action.dropdown-toggle {
        opacity: 0.5;
    }

        .btn-action:not(:disabled):not(.disabled):active:focus, .btn-action:not(:disabled):not(.disabled).active:focus,
        .show > .btn-action.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
        }


.card-header {
    background-color: #122944;
    color: white
}

    .card-header > a {
        color: white;
    }

.nav-tabs .nav-link.active {
    color: #EDB32E !important;
    background-color: #122944 !important;
    border-color: #122944 !important;
}

.nav-tabs .nav-link {
    color: #122944 !important;
    border-color: #122944 !important;
    background-color: #FFFFFF !important;
}

.k-tabstrip .k-tabstrip-item {
    color: #122944 !important;
    border-color: #122944 !important;
    background-color: #FFFFFF !important;
}

.k-tabstrip .k-active.k-tabstrip-item .k-link {
    color: #EDB32E !important;
    background-color: #122944 !important;
    border-color: #122944 !important;
}

.k-content {
    background-color: #E2E5E8 !important;
}

#AdministrationMenuDiv {
    background-color: #122944 !important;
}



.sidebar-inner {
    background-color: #122944 !important;
}

.sidebar {
    background-color: #122944 !important;
}

.header-container {
    background-color: #122944 !important;
    color: white !important;
}

.centerLogout {
    color: white !important;
}

.sidebar-toggle {
    color: white !important;
}

.search-icon-close {
    color: white !important;
}


.search-icon {
    color: white !important;
}

.centerLogout .btn {
    color: white !important;
}

.sidebar-logo .peer.peer-greed {
    margin-left: auto;
    margin-right: auto;
}

.card-header {
    color: white !important;
}

.page-container {
    background-color: #122944 !important;
}


.main-content {
    background-color: white;
}


.k-switch-on .k-switch-track {
    border-color: #930034 !important;
    background-color: #930034 !important;
}




.btn-primary {
    color: white !important;
    background-color: #441234 !important;
    border-color: #930034 !important;
}

    .btn-primary:hover {
        color: white !important;
        background-color: #441234 !important;
        border-color: #441234 !important;
    }

    .btn-primary:focus, .btn-primary.focus {
        box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5) !important;
    }

    .btn-primary.disabled, .btn-primary:disabled {
        opacity: 0.5 !important;
    }

    .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
    .show > .btn-primary.dropdown-toggle {
        opacity: 0.5 !important;
    }

        .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).primary:focus,
        .show > .btn-primary.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5) !important;
        }

.quoteDetailsButton {
    color: #E23C54;
}

.k-button.k-toolbar-button {
    color: #930034 !important;
    background: #FCE8EA !important;
    border: 1px solid #930034 !important;
}

.k-button {
    color: #930034 !important;
    background: #FCE8EA !important;
    border: 1px solid #930034 !important;
}

.k-table-thead {
    background: #122944 !important;
    color: white !important;
}

.k-sort-icon {
    color: white !important;
}

.app.msi {
    background-color: #122944;
}

.quoteShading .quote-table .row div:nth-child(1) {
    background-color: #122944;
    color: white;
}

.transportation-quote-section-h3 {
    color: #122944;
}

.k-table-td a {
    color: #E23C54 !important;
}

.main-content {
    background: #E2E5E8;
}

    .main-content h3:first-of-type {
        color: #122944 !important;
        text-align: left !important;
        border-left-color: #EDB32E !important;
        border-left-style: solid;
        border-left-width: thick;
        padding-left: 10px;
    }


    .main-content h4:first-of-type {
        color: #122944 !important;
        text-align: left !important;
        border-left-color: #EDB32E !important;
        border-left-style: solid;
        border-left-width: thick;
        padding-left: 10px;
    }


.sticky-container {
    position: relative;
}

.sticky-header-accent {
    position: sticky;
    top: 60px;
    background-color: white;
    padding: 10px 0;
    margin-bottom: 15px;
    z-index: 100;
    color: #122944 !important;
    text-align: left !important;
    border-left-color: #EDB32E !important;
    border-left-style: solid;
    border-left-width: thick;
    padding-left: 10px;
}

.k-pager-numbers button {
    color: #E23C54;
}

    .k-pager-numbers button.k-selected {
        background-color: #FCE8EA;
    }

.nav-tabs .nav-link:hover {
    border-color: #122944;
}


.k-hierarchy-cell.k-table-td a {
    color: #122944 !important;
}


.dashboard-items-title {
    color: #122944
}

.btn {
    color: #930034 !important;
    background: #FCE8EA !important;
    border: 1px solid #930034 !important;
}


.k-grid {
    border-radius: 10px;
    padding: 2px !important;
}


.province-combobox {
    min-width: 300px;
    width: 100%;
    max-width: 500px;
}



/* Global styling for all phone number inputs */
input.phone-input {
    max-width: 280px;
    width: 100%;
    font-size: 16px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}

input.phone-input:focus {
    border-color: #930034;
    outline: none;
    box-shadow: 0 0 4px rgba(147, 0, 52, 0.5);
}

input.phone-input::placeholder {
    color: #888;
    font-style: italic;
}

input.sin-input {
    max-width: 280px;
    width: 100%;
    font-size: 16px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}

    input.sin-input:focus {
        border-color: #930034;
        outline: none;
        box-shadow: 0 0 4px rgba(147, 0, 52, 0.5);
    }

    input.sin-input::placeholder {
        color: #888;
        font-style: italic;
    }



/* Global style for the CreateOrUpdateAddressModal */

#createOrUpdateAddressModal.fis-modal .modal-dialog {
    max-width: 1000px;
    width: 95%;
    height: 90vh;
    margin: auto;
    display: flex;
    align-items: center;
}

#createOrUpdateAddressModal .modal-content {
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#createOrUpdateAddressModal .modal-header {
    background-color: #122944;
    color: #fff;
    border-bottom: 1px solid #dee2e6;
    padding: 15px 20px;
}

#createOrUpdateAddressModal .modal-title {
    font-size: 18px;
    font-weight: 600;
}

#createOrUpdateAddressModal .modal-body {
    padding: 20px;
    overflow-y: auto;
}

#createOrUpdateAddressModal .modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #dee2e6;
    background-color: #f8f9fa;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}



.floating-scroll-btn {
    position: fixed;
    top: 84px;
    right: 20px;
    z-index: 9999;
}

.floating-scroll-btn button {
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    border-radius: 30px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    background-color: #4c224c;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0.6;
    pointer-events: auto;
}

.floating-scroll-btn button:hover {
    background-color: #4c224c;
    transform: translateY(-2px);
    opacity: 1.0;
}

.scroll-arrow {
    font-size: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}


.btn-tabstrip-style {
    color: #122944 !important;
    border: 1px solid #122944 !important;
    background-color: #FFFFFF !important;
    font-weight: 500;
    transition: color 0.2s, background-color 0.2s;
}

.btn-tabstrip-style:hover,
.btn-tabstrip-style:active,
.btn-tabstrip-style:focus {
    color: #EDB32E !important;
    background-color: #122944 !important;
    border-color: #122944 !important;
}


/* 1. Base style for the transition to make it smooth */
.sidebar {
    transition: width 0.3s ease;
}

/* 2. When the menu is collapsed, shrink the sidebar and hide text/arrows */
.app.is-collapsed .sidebar {
    width: 80px; /* Adjust this to the exact width of your icons */
    overflow: hidden; /* Prevents text from showing up outside the collapsed bar */
}

.app.is-collapsed .sidebar .sidebar-menu .title,
.app.is-collapsed .sidebar .sidebar-menu .arrow {
    display: none; /* Hide titles and arrows in the collapsed state */
}

/* 3. On HOVER, expand the sidebar and show the text/arrows again */
.app.is-collapsed .sidebar:hover {
    width: 280px; /* The full width you want the menu to expand to */
}

.app.is-collapsed .sidebar:hover .sidebar-menu .title,
.app.is-collapsed .sidebar:hover .sidebar-menu .arrow {
    display: inline; /* Or 'inline-block' if you need more spacing control */
}


/* Default State (Menu is EXPANDED) */
/* Show the full logo and hide the small one */
.app .logo-full {
    display: block;
}

.app .logo-collapsed {
    display: none;
}

/* Collapsed State (Menu is COLLAPSED) */
/* Hide the full logo and show the small one */
.app.is-collapsed .logo-full {
    display: none;
}

.app.is-collapsed .logo-collapsed {
    display: block;
}

.email-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    outline: none;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,.2);
    z-index: 2147483000; /* very high to float above Kendo toolbars/modals */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0078d4; /* Fluent primary */
    color: #fff;
    transition: transform .08s ease-in-out, box-shadow .08s ease-in-out, opacity .2s;
}

.email-fab:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,.28);
}

.email-fab:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
}

.email-fab__icon {
    font-size: 22px;
    line-height: 1;
    display: inline-block;
    pointer-events: none;
}