/*
* admin loyalty.css
* File includes custom css only
******************************************************************************/

:root {
    --color-primary: #011F7C;
}


.topbar-nav.header #topbar{
    background: var(--color-primary);
}
.btn-primary{
    background: #011f7c  !important;
    border-color: #00207f;
}

.table > thead > tr > th
{
    color:#65666a
}

.navbar .navbar-item .nav-item.user-profile-dropdown a.user .media .media-body h6 {
    color: var(--color-primary);
    font-size: 16px;
}

.pull-left{
    width: auto;
    float:left
}
.pull-right{
    width: auto;
    float:right
}
        .page-title {
            float: none;
            margin-top: 0;
            margin-bottom: 0;
            align-self: center;
            padding-right: 15px;
            border-right: 1px solid #bfc9d4;
            margin-right: 15px;
        }
        .page-title h3 {
            margin-bottom: 0;
            font-size: 20px;
        }
        .page-header {
            display: flex;
            padding: 0;
            margin-bottom: 16px;
            margin-top: 30px;
            justify-content: start;
        }
        .breadcrumb-one {
            display: inline-block;
            align-self: center;
        }
        .breadcrumb-one .breadcrumb {
            padding: 0;
            vertical-align: text-bottom;
            margin-bottom: 0;
            background: transparent;
        }
        .breadcrumb-one .breadcrumb-item {
            align-self: center;
        }
        .breadcrumb-one .breadcrumb-item a {
            color: #888ea8;
            vertical-align: text-bottom;
        }
        .breadcrumb-one .breadcrumb-item a svg {
            width: 20px;
            height: 20px;
            vertical-align: sub;
        }
        .breadcrumb-one .breadcrumb-item.active a {
            color: #1b55e2;
        }
        .breadcrumb-one .breadcrumb-item span {
            vertical-align: text-bottom;
        }
        .breadcrumb-one .breadcrumb-item.active {
            color: #1b55e2;
            font-weight: 600;
        }
        .breadcrumb-one .breadcrumb-item+.breadcrumb-item {
            padding: 0px;
        }
        .breadcrumb-one .breadcrumb-item+.breadcrumb-item::before {
            color: #515365;
            font-size: 0;
            content: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" width="15" height="16" viewBox="0 0 24 24" fill="none" stroke="%23555" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>');
            vertical-align: text-top;
            padding: 0 6px;
        }


        @media(max-width: 575px) {
            .page-header {
                display: block;
            }
            .page-title {
                margin-bottom: 20px;
                border: none;
                padding-right: 0;
                margin-right: 0;
            }
        }


        /*
            Just for demo purpose ---- Remove it.
        */
        /*<starter kit design>*/

        /* .widget-one {

        } */
        .widget-one h6 {
            font-size: 20px;
            font-weight: 600;
            letter-spacing: 0px;
            margin-bottom: 22px;
        }
        .widget-one p {
            font-size: 15px;
            margin-bottom: 0;
        }

        /*</starter kit design>*/



/* Layout */
.layout-px-spacing {
    min-height: calc(100vh - 263px) !important;
}

/* Heading */
.card-heading:after {
    position: relative;
    content: "";
    height: 2px;
    width: 55px;
    background: var(--color-primary);
    border-radius: 50%;
    bottom: 9px;
    left: 15px;
    display: block;
}
.widget-content-area h3 {
    display: inline-block !important;
}
.widget-content-area h3:after,
.card-heading:after {
    left: 0 !important;
    bottom: -6px !important;
    width: 100% !important;
}
.card-label span {
    padding: 5px 20px;
    background-color: #011f7c;
    display: inline-block;
    border-radius: 16px;
    color: #fff;
}

/*Buttons*/
.btn:disabled:hover, .btn:disabled:focus {
    transform: none;
}
.btn:disabled:active:hover, .btn:disabled:active:focus {
    background-color: #e7515a;
}

/*Text */
.text-primary {
    color: var(--color-primary) !important;
}

/*Tabs*/
.simple-pills .nav-pills .nav-link.active, .simple-pills .nav-pills .show > .nav-link {
    background-color: var(--color-primary);
}

/* Page Title */
.page-title {
    border-right: 0;
}
.page-subtitle {
    font-size: 1.5rem;
}

/* Users */
.user-profile .widget-content-area .user-info-list ul.contacts-block {
    max-width: 500px;
}
.user-profile .widget-content-area .user-info-list ul.contacts-block strong {
    color: var(--color-primary);
}
.user-profile .widget-content-area .user-info-list ul.contacts-block svg {
    color: #1b55e2;
}
.user-profile .widget-content-area h3.label-text:after {
    display: none;
}
.contacts-block__item span {
    display: block;
    margin-left: 35px;
}
.reset-fields{
    display: none;
}
.reset-fields .toggle-pass {
    display: flex;
    gap: 20px;
}
.generate-rand {
    font-weight: 700 !important;
}


/* Modal */
.modal-content .modal-header h5 {
    color: var(--color-primary);
}
.modal-content .modal-footer button.btn[data-dismiss="modal"] {
    color: var(--color-primary);
}
/* .user-roles-table .table th {
    border : 0;
} */
.spinner-border {
    width: 18px;
    height: 18px;
    margin-right: 5px;
}

/* Form Controls */
.form-control:not(.auth), .flatpickr-input[readonly], 
.search-input-group-style.input-group .input-group-prepend .input-group-text {
    border: 1px solid #f1f2f3;
    background-color: #f1f2f3 !important;
}
.search-input-group-style.input-group {
    border-radius: 6px;
    box-shadow: none;
}
.search-input-group-style.input-group,
.flatpickr-input[readonly] {
    width: 400px;
}
.custom-select {
    height: calc(1.4em + 1.4rem + 2px);
}
.switch.s-outline-primary input:checked + .slider {
    border: 2px solid var(--color-primary);
}
.switch.s-outline-primary input:checked + .slider:before {
    border: 2px solid var(--color-primary);
    background-color: var(--color-primary);
}
textarea {
    resize: none;
}
.custom-select {
    padding: .75rem 1.25rem;
}
.custom-select.is-invalid, .was-validated .custom-select:invalid {
    background-size: 17px;
}
.auth .form-form .form-form-wrap form .field-wrapper svg {
    margin-left: 10px;
    top: 22px;
}
.form-form .form-form-wrap form .field-wrapper input.auth {
    padding: 10px 0 10px 45px;
}
.form-form .form-form-wrap form .field-wrapper input.auth:autofill {
    border-radius: 10px;
}
.form-form .form-form-wrap form .field-wrapper input.auth:autofill:focus {
    border: 0;
}
.form-control:disabled:focus, .form-control[readonly]:focus {
    box-shadow: none;
}
.form-control.auth:disabled, .form-control[readonly].auth {
    background: transparent !important;
}
.form-control.auth:disabled:focus, .form-control[readonly].auth:focus {
    border-bottom: 1px solid #e0e6ed !important;
}
.select2-container {
    margin-bottom: 0 !important;
}
.select2-container--default .select2-selection--multiple {
    border: 0;
    padding: 7px 16px;
}
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: rgb(27 137 226 / 24%);
    color: var(--color-primary);
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    color: var(--color-primary);
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #d1e6fd;
    border: 1px solid #d1e6fd;
    padding: 0 10px;
}
.select2-container--default.select2-container--open .select2-selection--multiple {
    border: 1px solid #f1f2f3;
    background-color: #f1f2f3;
    box-shadow: 0 0 5px 2px rgba(194, 213, 255, 0.619608);
}
.select2-container--open .select2-dropdown {
    top: 3px;
}
.form-control-file {
    color: #00207f;
    background: #eee;
    padding: 8px;
    border-radius: 6px;
}
.form-control-file:hover {
    cursor: pointer;
}
.form-control-file::file-selector-button {
    text-align: center;
    background-color: #00207f;
}


/* Tables */
.table > tbody > tr > th,
.table > tbody > tr > td {
    font-size: 14px;
}
.view .table > thead > tr > th {
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 1px;
}
.table .date-cols {
    width: 250px;
    text-align: center;
}
.table .badge {
    box-shadow: none;
}
.table .date-cols .badge {
    display: block;
}
.fixed-table-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
}
.bootstrap-table .fixed-table-pagination > .pagination-detail .pagination-info {
    margin-right: 100px;
}
.bootstrap-table .fixed-table-pagination > .pagination ul.pagination > li {
    width: auto;
    height: 30px;
    line-height: 30px;
    background-color: #E0E6ED;
    color: #fff;
    margin: 0 3px;
    border-radius: 3px;
}
.bootstrap-table .fixed-table-pagination > .pagination ul.pagination > li.page-number.active {
    background-color: var(--color-primary);
}
.bootstrap-table .fixed-table-pagination > .pagination ul.pagination > li a {
    color: var(--color-primary);
}
.bootstrap-table .fixed-table-pagination > .pagination ul.pagination > li.page-number.active a {
    color: #fff;
}
.bootstrap-table .fixed-table-pagination > .pagination-detail {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.bootstrap-table .fixed-table-pagination > .pagination {
    position: absolute;
    bottom: 10px;
}
.bootstrap-table .search {
    width: 270px;
}

/* Customers */
.admin-customers .page-title {
    display: none;
}
.customer-user {
    background-color: #eee;
    padding: 20px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    text-align: center;
}
.customer-user svg {
    width: 70px;
    height: 70px;
}
#form-customers .flatpickr-wrapper {
    display: block;
}
#form-customers .flatpickr-input {
    width: 100%;
}



/* Patients */
.admin-patients .page-title {
    display: none;
}
.patient-table td, .patient-table th,
.cost-table td, .cost-table th {
    border: 0;
    padding: 5px 10px;
}
.patient-table.info th,
.cost-table.info th  {
    width: 120px;
}
.patient-table thead > tr > th {
    font-size: 1.2rem;
    background-color: #f9f9f9;
    text-align: center;
}
.table-row-heading th {
    background-color: #f9f9f9;
    padding: 8px;
    text-align: center;
}
.patient-history.details th.actions {
    width: 250px;
}
.patient-history.details td.actions {
    text-align: center;
}
.patient-history.details td.actions .badge {
    padding: 5px 12px;
    background-color: var(--color-primary);
}
.patient-history.details td.actions svg {
    width: 15px;
    height: 15px;
}
.patient-prescription .patient-table:not(.info) tr:hover {
    background-color: #f7f9ff;
}



/*Sales*/
.admin-orders .page-title {
    display: none;
}
.cost-table td {
    text-align: right;
}
.cost-table.total th, .cost-table.total td {
    font-size: 18px;
}

/*Error Views*/
.error404 .mini-text {
    color: #06207e;
}


/*Profile*/
.profile .toggle-pass {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/*Transactions*/
#table_transaction_details tr:first-child > th,
#table_orders tr:first-child > th {
    border-top: 0;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: #011f7c !important;
}

.nav-pills .nav-link {
    border: #011f7c 1px solid;
}