/*------------------------------------
  Default Styles
------------------------------------*/
a:focus, a:active {
    outline: none;
}

a:focus-visible {
    outline: 2px solid #64b6df;
    outline-offset: 2px;
}

html, body {
    height: 100%;
    margin: 0;
    font-size: 14px;
}

.wrapper {
    min-height: 100%;
    /* Equal to height of footer */
    /* But also accounting for potential margin-bottom of last child */
    margin-bottom: -50px;
}

.bg-custom-grey {
    background-color: #f7f7f7;
}

.footer,
.push {
    height: 50px;
}

.footer {
    padding-top: 15px;
}

body {
    font-weight: 400;
    font-size: 1rem;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #555;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -moz-font-feature-settings: "liga", "kern";
    text-rendering: optimizelegibility;
    background-color: #fff;
}

.navbar-default {
    background-color: #fff;
    border: none;
    box-shadow: 0 0 2px #ccc;
    margin-bottom: 0;
}

    .navbar-default .navbar-nav > li > a {
        text-transform: uppercase;
        font-weight: 600;
        border-bottom: solid transparent 2px;
    }

        .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
            color: #63b7e0;
            background: none;
        }

    .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
        background: none;
        color: #63b7e0;
        border-bottom: solid #63b7e0 2px;
    }

.container > .navbar-header.navbar-center {
    margin: 0 auto 10px !important;
    width: 200px;
    display: block;
    float: none;
    text-align: center;
}

.page-header {
    background: #fafafa;
    padding: 0 0 0px 0;
    margin: 0 0 20px 0;
    border: none;
}

    .page-header h1 {
        margin-top: 1rem;
    }

    .page-header .breadcrumb {
        margin-bottom: 0;
        padding: 10px 0 0;
    }

        .page-header .breadcrumb a {
            color: #666;
        }

/*------------------------------------
  Typography
------------------------------------*/
.fa-10x {
    font-size: 10em;
}

.fa-1_5x {
    font-size: 1.5em;
}

.h1, .h2, .h3, .h4, .h5, .h6, .h7,
h1, h2, h3, h4, h5, h6 {
    line-height: 1.4;
}

.h1, h1 {
    font-size: 1.7rem;
}

.h2, h2 {
    font-size: 1.6rem;
}

.h3, h3 {
    font-size: 1.5rem;
}

    h3.popover-title {
        color: black;
    }

.h5, h5 {
    font-size: 1.1rem;
    font-weight: 600;
}

.h6, h6 {
    font-size: 1rem;
    font-weight: 300;
}

.g-font-size-24 {
    font-size: 24px;
}

.breadcrumb {
    padding: 8px 0;
    background: none;
    border-radius: 0;
}

p {
    font-size: 1rem;
}

.text-white {
    color: #fff;
}

.text-success {
    color: #72c02c;
}

.text-danger {
    color: #e62154;
}

.text-error {
    color: #a94442;
}

.text-warning {
    color: #f0ad4e;
}

.text-blue {
    color: #64b6df;
}

.text-grey {
    color: #777;
}

.block {
    display: block;
}

/*------------------------------------
  General Button Styles
------------------------------------*/

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.57143rem 1.42857rem;
    font-size: 1.07143rem;
    line-height: 1.5;
    border-radius: .25rem;
    position: relative;
    -webkit-transition: .2s ease;
    -o-transition: .2s ease;
    transition: .2s ease;
    cursor: pointer;
}

.disabled-btn-wrapper {
    cursor: not-allowed;
}

    .disabled-btn-wrapper .btn[disabled] {
        pointer-events: none;
    }

.btn.active.focus, .btn:focus, .btn:active:focus, .btn.active:focus {
    outline: 0 none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    border: none;
}

.btn-danger {
    color: #fff;
    background-color: #e64b3b;
}

    .btn-danger:hover, .alert-red .btn-danger {
        border-color: #ec7568;
        background-color: #ec7568;
    }

    .btn-danger:focus, .btn-danger.focus {
        color: #fff;
    }

    .btn-danger.disabled, .btn-danger:disabled {
        background-color: #e62154;
        color: #fff;
        border-color: #e62154;
    }

    .btn-danger:active, .btn-danger.active,
    .show > .btn-danger.dropdown-toggle {
        border-color: #e31a4e;
        background-color: #e31a4e;
    }

.btn-primary {
    color: #fff;
    background-color: #64b6df;
}

    .btn-primary:hover {
        border-color: #4899c1;
        background-color: #4899c1;
    }

    .btn-primary:focus, .btn-primary.focus {
        color: #fff;
    }

    .btn-primary.disabled, .btn-primary:disabled,
    .btn-primary.completed {
        background-color: #acdaf1;
        color: #fff;
        border-color: #acdaf1;
    }

    .btn-primary:active, .btn-primary.active,
    .show > .btn-primary.dropdown-toggle {
        border-color: #4899c1;
        background-color: #4899c1;
    }

.dropdown-button {
    z-index: 1;
}

    .dropdown-button.open {
        z-index: 2;
    }

.btn-default {
    color: #555;
    background-color: transparent;
}

.btn-outline-purple {
    border-color: #B200B2;
    color: #B200B2;
    background-color: #fff;
}

.btn-outline-default {
    color: #555;
    border-color: #555;
    background-color: transparent;
}

.btn-outline-primary {
    background: transparent;
    color: #64b6df;
    border-color: #64b6df;
}

.btn-outline-danger {
    background: transparent;
    color: #e64b3b;
    border-color: #e64b3b;
}

.editable-submit {
    margin-right: 5px;
    margin-top: 10px;
}

.editable-cancel {
    margin-top: 10px;
}

.table-actions .btn {
    width: 100%;
    margin-bottom: .5rem;
    padding: .375rem 1rem;
}

    .table-actions .btn .fa {
        margin-right: 5px;
    }

.list-group-item:first-child, .list-group-item:last-child {
    border-radius: 0;
}

.remove-last-child-border .list-group:only-child .list-group-item:last-child {
    border-bottom: none;
}

.list-group-item {
    border-width: 0 0 2px 0;
    line-height: 1.5rem;
}

    .list-group-item.selected {
        background-color: #ddd;
    }

.success-list-group-item {
    border-width: 0px;
    line-height: 1.5rem;
    padding: 10px 15px;
}

    .success-list-group-item .badge {
        float: left;
        margin-right: 5px;
        min-width: 20px;
        padding: 4px 4px;
    }

    .success-list-group-item.selected {
        color: #555;
        text-decoration: none;
        background-color: #f5f5f5;
    }
/*------------------------------------
  Tables
------------------------------------*/
.table {
    border-bottom: 1px solid #dee2e6;
}

    .table > thead > tr > th,
    .table > tbody > tr > td {
        color: inherit;
        vertical-align: middle;
        padding: 1.14286rem 1.42857rem 1.14286rem;
        border-bottom-color: #e1eaea !important;
        border-left-color: #e1eaea !important;
        border-right-color: #e1eaea !important;
        font-weight: 300;
        border-top: 1px solid #dee2e6;
    }

    .table > thead:first-child > tr:first-child > th {
        border-top: 1px solid #dee2e6;
    }

    .table th:first-child,
    .table td:first-child {
        border-left: 1px solid;
    }

    .table th:last-child,
    .table td:last-child {
        border-right: 1px solid;
    }

    .table thead th {
        font-weight: 400;
        border-bottom: none;
    }

.table-underline > thead:first-child > tr:first-child > th {
    border-top: none;
}

.table-underline th:first-child,
.table-underline td:first-child {
    border-left: none;
}

.table-underline th:last-child,
.table-underline td:last-child {
    border-right: none;
}

/*------------------------------------
  General Form Styles
------------------------------------*/

.form-control {
    color: #555;
    border-radius: .25rem;
    border-color: #ccc;
    padding: .6rem 1rem;
    height: 40px;
}

input.input-validation-error,
select.input-validation-error,
textarea.input-validation-error,
button.input-validation-error {
    border-color: #a94442 !important;
    border-width: 2px;
}

div.input-validation-error {
    border-color: #a94442 !important;
    border-width: 2px;
    border-style: solid;
    border-radius: 0.25rem;
    padding-left: 5px;
}

.u-heading {
    position: relative;
}

/*------------------------------------
  DataTables Processing Indicator
------------------------------------*/
div.dataTables_processing {
    background-color: #64b6df;
    color: #fff;
    z-index: 99999;
    border: none;
    border-radius: 0.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-size: 1rem;
    position: fixed !important;
}

.u-heading:after {
    content: "";
    display: inline-block;
    border-top-style: solid;
    border-color: inherit;
    width: 3.14286rem;
    border-top-width: 2px;
    margin-top: .3rem;
    margin-bottom: 1rem;
}

.u-heading .edit-action {
    position: absolute;
    right: 0;
}

p.bq-text-lg {
    text-transform: uppercase;
}



.label {
    border-radius: 50px;
    padding: .285rem 1.08rem !important;
    font-size: 1rem !important;
}

.label-empty {
    color: #64b6df;
    border: 1px solid #64b6df;
}

    .label-empty a {
        color: #64b6df;
    }

.label-default {
    background: #f5f9f9;
    color: #53585e;
    white-space: normal;
    display: inline-block;
    text-align: center;
    line-height: 21px;
    padding-top: 5px !important;
    max-width: 170px;
}

.label-grey {
    background-color: #555;
}

.label-warning {
    background-color: #f0ad4e;
}

.label-success {
    background-color: #72c02c;
}

.label-error {
    background-color: #a94442;
}

.label-blue {
    background-color: #64b6df;
}

.label-dark-blue {
    background-color: #4765a0;
}

.label-purple {
    background-color: #D900D9;
}

.label-salmon {
    background-color: #EC7E7B;
}
.label-dark-blue {
    background-color: #4765a0;
}

.label-purple {
    background-color: #9b6bcc;
}

.label-yellow {
    background-color: #F3E77F;
}

.label-danger {
    background-color: #d9534f;
}

.label-danger {
    background-color: #d9534f;
}

.label .badge:empty {
    display: inline-block;
    padding: 4px;
    margin-right: 10px;
    font-size: 0;
    min-width: auto;
}

label.color-red.error {
    color: #a94442 !important;
    font-size: 13px;
    font-weight: bold;
    padding: 0 !important;
    margin: 0 !important;
}

.label-wrapped {
    white-space: normal;
    display: block;
    line-height: 1.8em;
    border-radius: 10px;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #64b6df;
    border-color: #64b6df;
}

.tools {
    min-height: 200px;
    margin-left: 10px;
}

input[readonly].inputdisabled,
textarea[readonly].inputdisabled {
    background-color: #fff;
    border: none;
    text-overflow: ellipsis;
}

/*------------------------------------
  Progress bar
------------------------------------*/
.progress {
    font-size: 1rem;
    line-height: inherit;
    height: 3px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 0
}
/*
.progress-bar {
    background-color: #00bed6;
    height: 3px;
}*/

.progress-bar-red {
    background: #e74c3c;
}

.progress-bar-blue {
    background: #00bed6;
}

/*------------------------------------
  Tabs
------------------------------------*/
.nav-tabs {
    border: none;
}

.tab-content {
    padding: 5px;
    margin-bottom: 50px;
}

.nav-tabs > li > a {
    padding: 0 0 5px 0;
    margin-bottom: 5px;
    border-bottom: 0;
    color: #333;
    margin-right: 20px;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    border: none;
    border-bottom: 2px solid #555555;
    background: transparent;
}

/*------------------------------------
 Spacers
------------------------------------*/
.mb-0 {
    margin-bottom: 0;
}

.margin-left-5 {
    margin-left: 5px;
}

.margin-left-10 {
    margin-left: 10px;
}

.margin-left-20 {
    margin-left: 20px;
}

.margin-left-50 {
    margin-left: 50px;
}

.margin-top-5 {
    margin-top: 5px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-15 {
    margin-top: 15px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-40 {
    margin-top: 40px;
}

.margin-top-60 {
    margin-top: 60px;
}

.margin-top-70 {
    margin-top: 70px;
}

.margin-right-5 {
    margin-right: 5px;
}

.margin-right-15 {
    margin-right: 15px;
}

.table tr td.actionColClass {
    padding-left: 0px;
    padding-right: 0px;
}

.margin-right-10 {
    margin-right: 10px;
}

.margin-right-20 {
    margin-right: 20px;
}

.no-padding {
    padding: 0 !important;
}

@media(min-width: 1200px) {
    .no-padding-lg {
        padding: 0 !important;
    }
}

.padding-sm {
    padding: 40px 40px;
}

.padding-top-5 {
    padding-top: 5px;
}

.padding-left-5 {
    padding-left: 5px;
}

.padding-x-10 {
    padding-left: 10px;
    padding-right: 10px;
}

.padding-y-25 {
    padding-top: 25px;
    padding-bottom: 25px;
}

.pb-20 {
    padding-bottom: 20px;
}

.margin-bottom-5 {
    margin-bottom: 5px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-bottom-15 {
    margin-bottom: 15px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.margin-bottom-25 {
    margin-bottom: 25px;
}

.margin-bottom-30 {
    margin-bottom: 30px;
}

.margin-bottom-35 {
    margin-bottom: 35px;
}

.margin-bottom-40 {
    margin-bottom: 40px;
}

.margin-bottom-45 {
    margin-bottom: 45px;
}

.margin-bottom-50 {
    margin-bottom: 50px;
}

.margin-bottom-55 {
    margin-bottom: 55px;
}

.margin-bottom-60 {
    margin-bottom: 60px;
}

.margin-bottom-70 {
    margin-bottom: 70px;
}

.margin-bottom-80 {
    margin-bottom: 80px;
}

.margin-bottom-90 {
    margin-bottom: 90px;
}

.margin-bottom-100 {
    margin-bottom: 100px;
}

.medium {
    font-size: 95%;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.ellipsis-hover:hover {
    overflow: visible;
}

.ellipsis2 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.ellipsis-width-100 {
    max-width: 100%;
}

.ellipsis-width-50 {
    max-width: 50%;
}

.ellipsis-width-99 {
    max-width: 90%;
}

.field-validation-error > ul > li {
    color: #a94442;
}

.comment-wrapper {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

    .comment-wrapper:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

.icon-circle {
    width: 60px;
    height: 60px;
    color: #fff;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    background-color: #72c02c;
}

@media (max-width: 353px) {
    .btn-separator-margin {
        margin-bottom: 5px;
    }
}

@media(min-width: 768px) {

    .btn-top-margin {
        margin-top: -70px;
    }
}

.form-control-clear {
    top: 3px;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

.table > tbody > tr > td.no-top-border {
    border-top: 0;
}

/* Ratings */
.rating {
    margin-bottom: 4px;
    font-size: 15px;
    line-height: 27px;
    color: #404040;
}

    .rating:last-child {
        margin-bottom: 0;
    }

    .rating input {
        position: absolute;
        left: -9999px;
    }

    .rating label {
        display: block;
        float: right;
        height: 17px;
        margin-top: 5px;
        padding: 0 2px;
        font-size: 17px;
        line-height: 17px;
        cursor: pointer;
    }

    .rating label {
        color: #878787;
        -ms-transition: color 0.3s;
        -moz-transition: color 0.3s;
        -webkit-transition: color 0.3s;
    }

    .rating input:checked ~ label {
        color: #F79646;
    }

    .rating input + label:hover,
    .rating input + label:hover ~ label {
        color: #F79646;
    }

.fa-star-o.text-muted {
    color: #77777791;
}

/* Custom Checkbox Style */

/* The container */
.custom-radio {
    display: inline-block;
    position: relative;
    padding-left: 0 !important;
    margin-right: 6px !important;
    margin-bottom: 12px !important;
    cursor: pointer;
    font-size: 16px !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #f7f7f7;
    color: #000000;
    text-align: center !important;
    width: 40px;
    height: 40px;
    padding-top: 8px;
}

    /* Highlight container on hover */
    .custom-radio:hover {
        background-color: white;
    }

    /* Hide the browser's default radio button */
    .custom-radio input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 40px;
    width: 100%;
    border: 2px solid #cecece;
    display: block;
}

/* On mouse-over, show a blue border */
.custom-radio:hover input ~ .checkmark {
    border: 2px solid #43b9e4;
}

/* When the radio button is checked, add a blue border */
.custom-radio input:checked ~ .checkmark {
    border: 6px solid #43b9e4;
}

.media {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.media-separator {
    border-top: 1px solid #eee;
    margin-bottom: 20px;
    margin-top: 20px
}

.alert-top-nav {
    margin-bottom: 0;
    border-width: 0 0 1px 0;
    border-radius: 0;
}

.alert-pink {
    color: #fff;
    background-color: #ffc0cb;
    border-color: #ebccd1;
}

.alert-red {
    color: #fff;
    background-color: #e64b3b;
    border-color: #ebccd1;
}

.alert-purple {
    color: #fff;
    background-color: #B200B2;
    border-color: #ebccd1;
}

    .alert-purple hr {
        border-top-color: #e4b9c0;
    }

    .alert-purple .alert-link {
        color: #843534;
    }

.v-pa-25 {
    padding-top: 1.8rem !important;
    padding-bottom: 1.8rem !important;
}

.v-pa-30 {
    padding-top: 2.14rem !important;
    padding-bottom: 2.14rem !important;
}

.g-pa-25 {
    padding: 1.8rem !important;
}

.g-pa-30 {
    padding: 2.14rem !important;
}

.u-shadow-v11 {
    box-shadow: 0 0 2px #ccc;
}

.rounded {
    border-radius: .25rem !important;
}

.reg-header h3 {
    margin: 0 0 2rem;
    text-align: center;
}

.reg-page {
    padding: 2.14rem !important;
    box-shadow: 0 0 2px #ccc;
    border-radius: .25rem !important;
}

@media (max-width: 600px) {
    .logo img {
        margin: 9px 10px 0 15px !important;
    }

    .navbar-header {
        margin: 0 !important;
    }

    .navbar-default .navbar-toggle {
        margin-right: 0 !important;
    }

    .profile-btns {
        margin: 1rem !important;
        width: 100%;
        text-align: center;
    }

    .view-ratings-link {
        display: block;
    }

    .table-controls > div {
        margin-bottom: 10px;
    }

    .table-controls .btn-group {
        width: 100%;
    }

    .table-controls .btn {
        width: 100%;
    }
}

label.toggle {
    font-weight: 400;
    font-size: 1rem;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #555;
}

.toggle {
    position: relative;
    display: block;
    margin-bottom: 4px;
    padding-right: 61px;
    font-size: 15px;
    line-height: 27px;
    color: #404040;
    cursor: pointer;
}

    .toggle.disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    .toggle:last-child {
        margin-bottom: 0;
    }

    .toggle input {
        position: absolute;
        left: -9999px;
    }

    .toggle i {
        content: '';
        position: absolute;
        top: -4px;
        left: 0;
        display: block;
        width: 185px;
        height: 28px;
        border: 2px solid #e5e5e5;
        border-radius: 12px;
        background: #fff;
        -ms-transition: border-color 0.3s;
        -moz-transition: border-color 0.3s;
        -webkit-transition: border-color 0.3s;
    }

    /*Active/Inactive toggle*/
    .toggle.active i {
        width: 93px;
    }

        .toggle.active i:after {
            content: 'Inactive';
        }


    .toggle.active input:checked + i {
        width: 93px;
    }

        .toggle.active input:checked + i:before {
            right: 63px;
        }

        .toggle.active input:checked + i:after {
            content: 'Active';
            text-align: right;
            right: 16px;
        }

    .toggle.on input:checked + i:before {
        right: 35px;
        background-color: #2da5da;
    }

    /*On/Off toggle*/
    .toggle.on i {
        width: 63px;
    }

        .toggle.on i:after {
            content: 'Off';
        }

    .toggle.on input:checked + i {
        width: 63px;
    }

        .toggle.on input:checked + i:before {
            right: 83px;
        }

        .toggle.on input:checked + i:after {
            content: 'On';
            text-align: right;
        }

        .toggle.on input:checked + i:before {
            right: 35px;
            background-color: #2da5da;
        }

    .toggle i:after {
        content: 'No Payment Recorded';
        position: absolute;
        top: 5px;
        right: 8px;
        left: 8px;
        font-style: normal;
        /*font-size: 9px;*/
        line-height: 13px;
        /*font-weight: 700;*/
        text-align: left;
        color: #5f5f5f;
    }

    /*On/Off toggle*/

    .toggle i:before {
        content: '';
        position: absolute;
        z-index: 1;
        top: 2px;
        right: 4px;
        display: block;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        opacity: 1;
        background-color: #ddd;
        -ms-transition: right 0.2s;
        -moz-transition: right 0.2s;
        -webkit-transition: right 0.2s;
    }

    .toggle input:checked + i {
        width: 111px;
    }

        /*On/Off toggle*/

        .toggle input:checked + i:after {
            content: 'Completed';
        }

        /*On/Off toggle*/

        .toggle input:checked + i:before {
            background-color: #2da5da;
        }

    .toggle:hover i {
        border-color: #8dc9e5;
    }

    .toggle input:checked:focus + i {
        border-color: #2da5da;
    }

    .toggle input:checked + i {
        border-color: #2da5da;
    }

    .toggle.state-error i,
    .toggle.state-error input:checked + i {
        background: #fff0f0;
    }

    .toggle.state-success i,
    .toggle.state-success input:checked + i {
        background: #f0fff0;
    }

    .toggle.state-disabled {
        cursor: default;
        opacity: 0.5;
    }

        .toggle.state-disabled:hover i {
            border-color: #e5e5e5;
        }

.btn-group-toggle .btn-outline-primary.active {
    background-color: #64b6df;
    color: #fff;
}

/*****************************/
/*    custom file input      */
/*****************************/
.custom-file {
    position: relative;
    display: inline-block;
    width: 100%;
    height: calc(2.7rem + 2px);
    margin-bottom: 0;
    font-weight: 100;
}

.custom-file-input {
    position: relative;
    /* z-index: 2; */
    width: 100%;
    height: calc(2.7rem + 2px);
    margin: 0;
    opacity: 0;
}

.custom-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: calc(2.7rem + 2px);
    font-weight: 400;
    padding: 0.65rem .75rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    cursor: pointer;
}

    .custom-file-label.disabled {
        background-color: #eee;
    }

    .custom-file-label::after {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        /* z-index: 3; */
        display: block;
        height: calc(calc(2.7rem + 2px) - 1px * 2);
        padding: .65rem .75rem;
        line-height: 1.5;
        font-size: 1.07143rem;
        color: #fff;
        background-color: #64b6df;
        content: "Browse";
        border-left: 1px solid #ced4da;
        border-radius: 0 .25rem .25rem 0;
    }

.valign-middle {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

/* Switch button group*/
.btn-group.switch .btn-outline-danger.active {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

.btn-group.switch .btn-outline-primary.active {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.btn-group.switch .btn-outline-danger.focus {
    outline: none;
}

/* custom radio button for track */
.boxradio div {
    clear: both;
    overflow: hidden;
}

.boxradio label {
    width: 100%;
    border-radius: 3px;
    border: 1px solid #ccc;
    font-weight: normal;
}

    .boxradio label.error {
        border: none;
    }

    .boxradio label:hover {
        border-color: #43b9e4;
    }

.boxradio input[type="radio"]:empty,
.boxradio input[type="checkbox"]:empty {
    display: none;
}

    .boxradio input[type="radio"]:empty ~ label,
    .boxradio input[type="checkbox"]:empty ~ label {
        position: relative;
        padding-left: 75px;
        padding-top: 20px;
        padding-bottom: 20px;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

        .boxradio input[type="radio"]:empty ~ label:before,
        .boxradio input[type="checkbox"]:empty ~ label:before {
            content: '\f00c';
            font-family: "FontAwesome";
            font-size: xx-large;
            color: #ccc;
            text-align: center;
            position: absolute;
            top: -1px;
            bottom: 0;
            left: -1px;
            width: 2em;
            border-right: 1px solid #ccc;
            border-radius: 3px 0 0 3px;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
        }

.boxradio input[type="radio"]:hover:not(:checked) ~ label,
.boxradio input[type="checkbox"]:hover:not(:checked) ~ label {
    color: #555;
}

    .boxradio input[type="radio"]:hover:not(:checked) ~ label:before,
    .boxradio input[type="checkbox"]:hover:not(:checked) ~ label:before {
        color: #64b6df;
        border-right-color: #43b9e4;
    }

.boxradio input[type="radio"]:checked ~ label,
.boxradio input[type="checkbox"]:checked ~ label {
    color: #fff;
    background-color: #64b6df;
}

    .boxradio input[type="radio"]:checked ~ label:before,
    .boxradio input[type="checkbox"]:checked ~ label:before {
        content: '\f00c';
        font-family: "FontAwesome";
        font-size: xx-large;
        text-align: center;
        color: #fff;
        border-right-color: #fff;
        background-color: #ccc;
    }

.boxradio input[type="radio"]:disabled:checked ~ label,
.boxradio input[type="checkbox"]:disabled:checked ~ label {
    background-color: #eee;
    color: #555;
    cursor: not-allowed;
}

    .boxradio input[type="radio"]:disabled:checked ~ label:before,
    .boxradio input[type="checkbox"]:disabled:checked ~ label:before {
        background-color: #eee;
        color: #555;
        border-left: 1px solid #ccc;
        border-top: 1px solid #ccc;
        border-right-color: #ccc;
    }

.boxradio input[type="radio"]:focus ~ label:before,
.boxradio input[type="checkbox"]:focus ~ label:before {
    box-shadow: 0 0 0 3px #999;
}

.boxradio-primary input[type="radio"]:checked ~ label:before,
.boxradio-primary input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #64b6df;
}

/*.boxradio input[type="radio"]:disabled:checked ~ label,
.boxradio input[type="checkbox"]:disabled:checked ~ label {
    background-color: #eee;*/
    /*border-color: #ccc;*/
/*}*/

/*    .boxradio input[type="radio"]:disabled:checked ~ label:before,
    .boxradio input[type="checkbox"]:disabled:checked ~ label:before {
        background-color: #eee;
        border-left: 1px solid #ccc;
        border-top: 1px solid #ccc;
        border-right-color: #ccc;
    }*/

.boxradio input[type="radio"]:disabled ~ label:hover,
.boxradio input[type="checkbox"]:disabled ~ label:hover {
    border-color: #ccc !important;
}

    .boxradio input[type="radio"]:disabled ~ label:hover:before,
    .boxradio input[type="checkbox"]:disabled ~ label:hover:before {
        /*border-right-color: #999 !important;*/
    }



/* Auto Complete Textbox*/

.autocomplete {
    position: relative;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
    -webkit-box-shadow: inset 0 3px 3px rgba(0, 0, 0, .75);
    box-shadow: inset 0 3px 3px rgba(0, 0, 0, .75);
}

    .autocomplete-items div {
        padding: 3px;
        cursor: pointer;
        background-color: #fff;
        /*border-bottom: 1px solid #d4d4d4;*/
    }

        /*when hovering an item:*/
        .autocomplete-items div:hover {
            background-color: #e9e9e9;
        }

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
    background-color: #e9e9e9 !important;
    /*color: #ffffff;*/
}
.idea {
    border-radius: 50%;
    margin-right: 5px;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.idea-on {
    background-color: #64b6df;
    color: white;
}

.idea-off {
    background-color: #fff;
    color: #777;
}
/* Give margin before every group in filters to separeate from each other*/
ul.multiselect-container > li.multiselect-group {
    margin-top: 10px;
}

ul.multiselect-container {
    padding-bottom: 10px;
}

/* Search Text Preview */
.searchTextPreview {
    color: #707070;
    border-top: none;
    padding-top: 0px;
    padding-bottom: 10px;
}

tr:has(+ .searchTextPreview ) td {
    padding-bottom: 9px !important;
}

.searchTextPreview td {
    border-top: none !important;
    padding-top: 0px !important;
}

    .searchTextPreview td p {
        font-size: 12px !important;
    }

.margin-top-1rem {
    margin-top: 1rem;
}
    
.modal {
    overflow: auto !important;
}

@media (min-width: 768px) {

    /* Modal Dialogs */
    .modal-tall .modal-dialog {
        height: 715px;
    }


    /*.modal-tall .modal-content {
         height: 100%; 
    }*/

    .modal-tall #successModalBody {
        height: 81%;
    }

        .modal-tall #successModalBody .modal-body {
            height: 100%;
        }
}

@media (min-width: 992px) {

    /* Modal Dialogs */
    .modal-tall .modal-dialog {
        height: 700px;
        margin: 10px auto;
    }


    /*    .modal-tall .modal-content {
         height: 100%; 
    }*/
}

.modal-90w {
    width: 85%;
    max-width: none !important;
}

.modal-100w {
    width: 100%;
    max-width: none !important;
}

@media (max-width: 768px) {
    #CompanyRejectIntroDialog .modal-dialog {
        width: 95%;
        margin: 10px auto;
    }

    #CompanyRejectIntroDialog .modal-footer {
        padding: 10px;
        text-align: center;
    }

        #CompanyRejectIntroDialog .modal-footer button {
            display: inline-block;
            width: 45%;
            margin: 3px;
        }
}

.smartphone {
    position: relative;
    width: 360px;
    height: 740px;
    margin: auto;
    border: 16px #e2e2e2 solid;
    border-top-width: 60px;
    border-bottom-width: 60px;
    border-radius: 36px;
}

    /* The horizontal line on the top of the device */
    .smartphone:before {
        content: '';
        display: block;
        width: 60px;
        height: 5px;
        position: absolute;
        top: -30px;
        left: 50%;
        transform: translate(-50%, -50%);
        background: #fff;
        border-radius: 10px;
    }


    /* The screen (or content) of the device */
    .smartphone .content {
        width: 330px;
        height: 620px;
        max-height: 620px;
        background: white;
        overflow-y: auto;
        overflow-x: hidden;
    }
/* 
        .smartphone p {
            margin: 0px;
        } */

.ql-picker.ql-addEmailTag {
    width: 195px;
    min-width: 195px;
}

#subjToolbar.ql-toolbar.ql-snow,
#subjToolbar.ql-toolbar.ql-snow .ql-picker-label,
#bodyToolbar.ql-toolbar.ql-snow .ql-picker-label,
.ql-toolbar.ql-snow .ql-picker-label {
    border: none;
    padding-right: 20px;
}

#bodyToolbar.ql-toolbar.ql-snow {
    border-bottom: none;
}

#subjToolbar.ql-toolbar.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg {
    margin-left: 5px;
}

#subjToolbar.ql-toolbar.ql-snow .ql-picker-label::before {
    border: none;
}

.quill .ql-editor p {
    padding: 0 0 10px;
}

.ql-addEmailTag.ql-picker {
    display: block !important;
    width: 100% !important;
    height: 34px !important;
    padding: 6px 3px !important;
    font-size: 14px !important;
    line-height: 1.42857143 !important;
    color: #555 !important;
    background-color: #fff !important;
    background-image: none !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
}

    .ql-addEmailTag.ql-picker.ql-expanded .ql-picker-options {
        max-height: 200px;
        overflow-y: auto;
        left: 0px;
    }

.ql-addEmailTag .ql-picker-label:before,
.ql-addEmailTag .ql-picker-item:before {
    content: attr(data-label) !important;
}

/* Flex */
.f-grid {
    display: flex;
    flex-wrap: wrap;
    row-gap: 5px;
}

.f-grid-item-20 {
    flex-basis: 20%;
}

.f-grid-item-25 {
    flex-basis: 25%;
}

.f-grid-item-33 {
    flex-basis: 33%;
}

.flex {
    display: flex;
}

.f-justify-content-space-between {
    justify-content: space-between;
}

.label:hover .removeTag {
    display: inline-block;
}

.removeTag {
    display: none;
    border-radius: 50%;
    border: 2px solid #fff;
    /* margin-left: 5px; */
    position: relative;
    left: 10px;
    background: transparent;
    height: 20px;
    width: 20px;
    line-height: 10px;
    padding-left: 4.5px;
    font-size: smaller;
    padding-top: 3px;
}


.col-md-3.truncate {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/*------------------------------------
  AI Insight Widget
------------------------------------*/
.floating-widget {
    position: fixed !important;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 500px;
    min-width: 250px;
    min-height: 200px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: height 0.3s ease;
}

.widget-header {
    padding: 10px 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
    cursor: move;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.widget-body {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    min-height: 100px;
}

.widget-footer {
    display: flex;
    /*flex-grow: 1;*/
    min-height: 50px;
    justify-content: end;
    padding: 10px;
    border-top: 1px solid #e5e5e5;
}

.minimize-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 0 5px;
}

.floating-widget.minimized {
    height: 41px !important; /* Height of header */
    min-height: auto !important;
    resize: none !important;
}

    .floating-widget.minimized .widget-body {
        display: none;
    }

    .floating-widget.minimized .widget-footer {
        display: none;
    }
