﻿:root, [data-bs-theme=light] {
    --header-height: 3rem;
    --nav-width: 68px;
    --first-color: #4723D9;
    --first-color-light: #AFA5D9;
    --white-color: #F7F6FB;
    --body-font: 'Roboto', sans-serif;
    --normal-font-size: .9rem;
    --z-fixed: 100;
    --bs-primary: #bf1e2d;
    --bs-primary-rgb: 191, 30, 45;
    --bs-info-rgb: 13,110,253;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-Regular.ttf') format('truetype') font-weight-normal;
  /*  src: url('../fonts/calibri/calibri.eot?#iefix') format('embedded-opentype'), url('../fonts/calibri/calibri.woff') format('woff'), url('../fonts/calibri/calibri.ttf') format('truetype'), url('../fonts/calibri/calibri.svg#calibri') format('svg');*/
   /* font-weight: normal;
    font-style: normal;*/
}
/*.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #BF1E2D;
    --bs-btn-border-color: #BF1E2D;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #a51825;
    --bs-btn-hover-border-color: #a31724;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #a31724;
    --bs-btn-active-border-color: #a31724;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #BF1E2D;
    --bs-btn-disabled-border-color: #BF1E2D;
}*/
.btn-primary {
    background: transparent linear-gradient(180deg, rgba(235, 12, 12, 1) 0%, rgba(151, 0, 0, 1) 100%) 0% 0% no-repeat padding-box;
    border: none;
    box-shadow: none;
    /*font-size:15px;*/
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  
    background-color: #f3f3f3;
   
}

.form-sidebyside {
    display: grid;
    grid-template-columns: 110px auto;
    margin-bottom: 0.5rem;
}
/**, ::before, ::after {
    box-sizing: border-box
}
*/
body {
    font-family: 'Poppins', sans-serif !important;
    font-size:0.9rem
}
.dropdown-menu .dropdown-item{font-size:0.9rem}
.form-control, .select2-container--bootstrap-5 .select2-selection, .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option {
    font-size: inherit !important
}
a {
    text-decoration: none
}
/*Root*/
:root {
    --secondary-color: #044A70;
    --darkblue: #044A70;
}
/*.btn-outline-secondary {
    background: var(--darkblue);
    border-color: var(--darkblue);
}*/
.btn-outline-secondary:hover {
    background: var(--darkblue);
    border-color: var(--darkblue);
}
/*.btn-outline-primary:hover {
    color: #003551 !important;
    border-color: #003551 !important;
}*/
.form-check-input:checked {
    background-color: #003551;
    border-color: #003551;
}
.modal-body .bx.bx-trash {
    color:red !important;
}
.header {
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    background-color: #fff;
    z-index: var(--z-fixed);
    transition: .5s
}
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected, .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected="true"] {
    color: #fff;
    background-color: #003551 !important;
}
.btn-check + .btn:hover {
    color: #003551;
    background-color: var(--bs-btn-bg);
    border-color: #003551;
}
.btn-outline-dark{
    font-size:15px;
}
.form-switch .form-check-input {
  
    height: 1rem;
}
.header_toggle {
    color: var(--first-color);
    font-size: 1.5rem;
    cursor: pointer
}

.header_img {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden
}


.table thead tr th {
    font-weight: 500 !important;
    padding: 16px 15px;
    font-size: 15px;
}
.table tr td {
    
}

.btn-secondary-blue {
    color:white;
    background-color: #003b59
}
.hover-underline:hover{text-decoration:underline}
    .btn-secondary-blue:hover, .btn-secondary-blue:focus{
        color:white;
        background-color: #004769
    }
/*.active {
    color: #BF1E2D;
}*/
.table thead {
    /*background: #CECECE;*/
    background: #f3f3f3
}
.modal-body {
    padding: 25px;
}
.active > .page-link, .page-link.active {
    background-color: #A4A4A4;
    border-color: #A4A4A4;
}
.page-link {
    color: #4575E6;
}
.search-box .form-control {
    padding-left: 40px;
}
.Login.dropdown-toggle:after {
    content: none
}
.search-box .search-icon {
    font-size: 16px;
    position: absolute;
    left: 13px;
    top: 0;
    line-height: 38px;
}
.btn-outline-light-custom {
    /*border: 1px solid #eaeaea;*/ /*
    color: var(--bs-primary);*/
}
.btn.text-uppercase {
    letter-spacing: 0.5px;
}
.btn-check:checked + .btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check) + .btn:active {
    color: #fff;
    background-color: #003551;
    border-color: #003551;
}
.btn-group label {
    color: #171717;
}
.btn-outline-primary {
    border:1px solid #858585;
}

.btn-outline-light-custom:hover {
    color: #000;
    background-color: #ececec;
}
.bootstrap-datetimepicker-widget.dropdown-menu{
    width:auto !important;
}
#ItemsPerPageList {
    border: 1px solid #ddd;
}
.field-validation-error {
    font-size: 13px;
}
.form-label {
    color: #171717;
}
.table-responsive {
    border-radius: 8px;
}
table {
    border: transparent !important;
}
table tr td{
padding: 10px 15px !important;
}
tbody tr:nth-child(even) {
    background: #FBFBFB;
}
*:focus {
    outline: none;
}

.Top-Bg {
    background: linear-gradient(180deg, rgba(4, 74, 112, 1) , rgba(0, 48, 74, 1));
}


.header_img {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden
}

    .header_img img {
        width: 40px
    }

.menuBar .menuItem a.nav-link {
    border-bottom: 5px solid transparent;
}
.page_heading {
    font-size: 17px;
}
    .menuBar .menuItem a.nav-link.active {
        border-bottom: 3px solid #CF0000;
    }

.menuBar .dropdown-item.active, .dropdown-item:active {
    background-color: #bf1e2d;
}

.bg-gray {
    background-color: #f3f3f3;
}

.OppImg {
    width: 40px;
    height: 40px;
    background-color: #f3f3f3;
    /*border-radius: 5px;*/
}
.OppImg img {
    height:100%
}
.OppTab .nav-link{
    color:#000;
}
.cursor-pointer{cursor:pointer}
.btn.text-uppercase{letter-spacing:1px}
.profileimg {
    width: 200px;
    height: 200px;
}

.select2.select2-container--bootstrap-5 {
    width: 100% !important;
}

.pic-holder span {
    width: 10px;
    height: 10px;
    top: 10px;
    left: 10px;
}

.OppTab .nav-link {
    border-bottom: 2px solid transparent !important;
}

    .OppTab .nav-link.active {
        border-bottom: 2px solid #CF0000 !important;
    }
.nowrap {
    white-space: nowrap;
}
.se-pre-con {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 1051 !important;
    opacity: 1 !important;
    filter: hue-rotate(150deg);
    background: url(../images/pages/Preloader_4.gif) center no-repeat #fff;
}
/*Login css*/
.SingleLine::after {
    position: absolute;
    top: 14px;
    right: 0px;
    content: "";
    width: 2px;
    height: 20px;
    background: #D9D9D9;
}
/*.loginBg {
    background: url("../images/pages/Login-bg.png") no-repeat;
    background-size: cover;
    background-position: bottom;
}*/
.loginBgNew {
    background: url("../images/pages/account/NHV_LoginBG.png") no-repeat;
    background-size: cover;
    background-position: center;
}
.page-body-wrapper.full-page-wrapper {
    width: 100%;
    min-height: 100vh;
    padding-top: 0;
}

.page-body-wrapper {
    min-height: calc(100vh - 60px);
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    padding-left: 0;
    padding-right: 0;
    padding-top: 60px;
}

.content-wrapper {
    padding: 1.75rem 1.75rem;
    width: 100%;
    -webkit-flex-grow: 1;
    flex-grow: 1;
}

.styled-checkbox {
    position: absolute;
    opacity: 0;
}

    .styled-checkbox + label {
        position: relative;
        cursor: pointer;
        padding: 0;
    }

        .styled-checkbox + label:before {
            content: "";
            margin-right: 10px;
            display: inline-block;
            vertical-align: text-top;
            width: 20px;
            height: 20px;
            /*background: white;*/
            border: 1px solid #ccc;
        }

    .styled-checkbox:hover + label:before {
        background: #044A70;
    }

    .styled-checkbox:focus + label:before {
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
    }

    .styled-checkbox:checked + label:before {
        background: #044A70;
    }

    .styled-checkbox:disabled + label {
        color: #b8b8b8;
        cursor: auto;
    }

        .styled-checkbox:disabled + label:before {
            box-shadow: none;
            background: #ddd;
        }

    .styled-checkbox:checked + label:after {
        content: "";
        position: absolute;
        left: 5px;
        top: 11px;
        background: white;
        width: 2px;
        height: 2px;
        box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
        transform: rotate(45deg);
    }

/*End*/
/*profile upload*/
/*.profile-pic-wrapper {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}*/
.pic-holder {
    text-align: center;
    position: relative;
    border-radius: 5px;
    width: 200px;
    height: 200px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

    .pic-holder .pic {
        width: 200px;
        height: 200px;
        -o-object-fit: cover;
        object-fit: cover;
        -o-object-position: center;
        object-position: center;
    }

    .pic-holder .upload-file-block,
    .pic-holder .upload-loader {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-color: rgba(90, 92, 105, 0.7);
        color: #f8f9fc;
        font-size: 12px;
        font-weight: 600;
        opacity: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
    }

    .pic-holder .upload-file-block {
        cursor: pointer;
    }

    .pic-holder:hover .upload-file-block,
    .uploadProfileInput:focus ~ .upload-file-block {
        opacity: 1;
    }

    .pic-holder.uploadInProgress .upload-file-block {
        display: none;
    }

    .pic-holder.uploadInProgress .upload-loader {
        opacity: 1;
    }

.circle-icon{
    width:40px;
    height:40px;
}
.circle-icon .bx{
    margin-top:5px;
}
.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    border-color: transparent;
}
/* Snackbar css */
.snackbar {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 14px;
    transform: translateX(-50%);
}

    .snackbar.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}



@media all and (min-width: 992px) {
    .dropdown-menu {
        width: 13rem;
    }
    .datepicker.dropdown-menu {
        width:auto !important;
    }
    .mega-submenu {
        left: 100%;
        top: 0;
        min-width: 25rem;
    }

    .ktm-mega-menu {
        position: static;
    }

    .mega-menu {
        left: 0;
        right: 0;
        width: 100%;
    }

    .dropdown-menu li {
        position: relative;
    }

    .dropdown-menu .submenu {
        display: none;
        left: 100%;
        top: 0;
    }

    .dropSubMenu.dropdown-menu > li:hover > .submenu,
    .dropdown.menuItem:hover > .dropSubMenu.dropdown-menu {
        display: block;
    }
}


/*form validations*/

input[type="text"].input-validation-error, input[type="email"].input-validation-error, select.input-validation-error + .select2-container--bootstrap-5 .select2-selection {
    border-color: red;
}

.read-only p{margin:0}

.table-sm > :not(caption) > * > * {
    padding: .25rem .25rem;
}


@media (min-width:1181px) {
    .details-grid {
        display: grid;
        grid-template-columns: auto 350px;
        grid-gap: 20px;
    }
    .toggle-notes {
        display: none
    }
    #notesDetail .notes-list {
        height: calc(100vh - 382px)
    }
}

@media (max-width:1180px)
{
    #notesDetail {
        position: fixed;
        right: -300px;
        top: 0;
        bottom: 0;
        width: 300px;
        transition: all 0.20s;
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)
    }
    .toggle-notes {
        display:inline-block
    }
#notesDetail .notes-list{
    height: calc(100vh - 240px);
}
    #notesDetail.open{right:0; }
}

@media (min-width:992px){
    header nav.navbar{padding:0}
}

.activity-icon {
    background: #f3f3f3;
    border-radius: 50%;
    height: 32px;
    width: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* border: 1px solid #e4e4e4;*/
}


tbody tr.referral-overdue {
    background-color: rgb(255 0 0 / 6%)
}

tbody tr.referral-overdue .referral-date{
    color: red;
    font-weight: 600
}

.accordion-toggle th.expand-button:after {
    top: 28%;
}

