* {
    margin: 0;
    padding: 0;
    list-style: none;
    outline: none;
    box-sizing: border-box;
}

:root {
    --red: #D10C15;
    --grey: #A5A5A5;
    --black: #000000;
}

/* Common CSS Start */
body {
    font-family: 'Open Sans', sans-serif;
}

label {
    font-weight: 400;
    font-size: 14px;
}

::placeholder {
    font-weight: 400;
    font-size: 14px;
    color: var(--grey);
}

.form-check-input:focus {
    box-shadow: unset;
}

.form-check-input:checked {
    background-color: var(--red);
    border-color: var(--red);
}

.text-red {
    color: var(--red);
}

.action-btn-grp {
    width: max-content;
}

.action-btn {
    width: 26px;
    height: 26px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Common CSS Over */

/* Sign in page CSS Start */
.sign-in-main {
    width: 100%;
    height: 100vh;
    background-image: url(../images/hero-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    z-index: 1;
    overflow: auto;
}

.sign-in-main:after {
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.475) 0%, rgba(0, 0, 0, 0.855) 100%);
    z-index: -1;
}

.sing-in-content {
    padding: 40px 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.section-title {
    font-weight: 700;
    font-size: 30px;
}

.sign-in-card {
    width: 460px;
}

.sign-in-card .card-header {
    border-radius: 5px 5px 0px 0px;
    background: rgba(209, 12, 21, 0.03);
    padding: 16px 0;
    text-align: center;
    font-weight: 600;
    font-size: 20px;
}

.sign-in-card .card-body {
    padding: 30px;
}

.card-body-password {
    background: #FFFFFF;
    box-shadow: 0px 0px 20px rgb(31 31 31 / 10%);
    border-radius: 5px;
}

.text-content {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: var(--grey);
    text-align: center;
}

.form-control {
    height: 40px;
    padding: 0 15px;
}

.form-control:focus {
    border-color: var(--red);
    box-shadow: unset;
}

.form-control:focus~label {
    color: var(--red);
}

.password-field {
    position: relative;
}

.password-field .eye-icon {
    position: absolute;
    top: 55%;
    right: 10px;
    cursor: pointer;
}

.forgot-link,
.back-to-signin-link {
    color: var(--black);
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-check input,
.form-check label {
    cursor: pointer;
}

.form-check-input {
    accent-color: var(--red);
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.forgot-link:hover,
.back-to-signin-link:hover {
    text-decoration: underline;
    color: var(--black);
}

.btn-grp {
    gap: 15px;
}

.submit-btn {
    width: 100%;
    height: 40px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    background-color: var(--red);
    color: #fff;
}

.submit-btn:hover {
    color: #fff;
    opacity: 0.9;
}

.login-with-google {
    font-size: 14px;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #4285f4;
}

.login-with-google:focus {
    box-shadow: unset;
}

/* Sign in page CSS Over */

/* Dashboard Page CSS Start */
.dashboard-main {
    display: flex;
}

.sidebar {
    width: 250px;
    height: 100vh;
    background: #FFFFFF;
    box-shadow: 0px 4px 10px rgb(51 51 51 / 10%);
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.sidebar-head {
    height: 64px;
    box-shadow: 0px 4px 10px rgba(51, 51, 51, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-body {
    padding: 15px;
}

.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-menu-item {
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.sidebar-menu-item a {
    padding: 15px 12px;
    display: flex;
    gap: 10px;
    color: var(--black);
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
}

.sidebar-menu-item:hover {
    border-color: var(--red);
    background: rgba(209, 12, 21, 0.03);
}

.sidebar-menu-item:hover .icon path {
    fill: var(--red);
}

.sidebar-menu-item.active {
    background-color: var(--red);
}

.sidebar-menu-item.active a {
    color: #fff;
}

.sidebar-menu-item.active .icon path {
    fill: #fff;
}

.sidebar-menu-item .icon {
    min-width: 20px;
    text-align: center;
}

.sidebar-footer {
    margin-top: auto;
}

.sidebar-footer-top {
    padding: 15px;
    overflow: hidden;
}

.sidebar-footer-top p {
    font-weight: 400;
    font-size: 12px;
    margin: 0;
    position: relative;
}

.sidebar-footer-top p:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background: #E0E0E0;
    top: 50%;
    margin-left: 5px;
}

.sidebar-footer-bottom {
    padding: 20px 15px;
    background: rgba(209, 12, 21, 0.03);
    font-weight: 400;
    font-size: 14px;
}

.main {
    width: calc(100% - 250px);
    margin-left: auto;
    height: 100vh;
}

.header {
    background: #FFFFFF;
    box-shadow: 0px 4px 10px rgba(51, 51, 51, 0.1);
    height: 64px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tag-line {
    font-weight: 400;
    font-size: 14px;
    margin: 0;
}

.avatar {
    width: 30px;
    height: 30px;
    display: inline-block;
    text-align: center;
    line-height: 30px;
    background: rgba(209, 12, 21, 0.03);
    border: 1px solid #D10C15;
    font-weight: 600;
    font-size: 12px;
    color: var(--red);
    border-radius: 50%;
    text-transform: uppercase;
}

.profile-menu button:focus {
    outline: none;
    box-shadow: unset;
}

.profile-menu .dropdown-toggle::after {
    background-image: url(../images/arrow-down.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: 0;
    width: 10px;
    height: 5px;
    margin-left: 10px;
}

.profile-menu .dropdown-menu .dropdown-item {
    font-weight: 400;
    font-size: 14px;

}

.profile-menu .dropdown-menu .dropdown-item:hover,
.profile-menu .dropdown-menu .dropdown-item:focus {
    background-color: rgba(209, 12, 21, 0.03);
    color: #000;
}

.main-body {
    padding: 25px 20px;
}

.breadcrumb .breadcrumb-item,
.breadcrumb .breadcrumb-item a {
    font-size: 14px;
    font-weight: 400;
    color: var(--grey);
    text-decoration: none;
}

.breadcrumb .breadcrumb-item a:hover {
    text-decoration: underline;
}

.section-title h3 {
    font-weight: 700;
    font-size: 22px;
    margin: 0;
}

.btn-fill-black,
.swal-button--confirm {
    border-radius: 5px;
    padding: 0 16px;
    height: 34px;
    text-align: center;
    background-color: var(--black);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
}

.btn-fill-black:hover,
.swal-button--confirm:hover {
    color: #fff;
    background-color: var(--black) !important;
    opacity: 0.9;
}

.btn-fill-black:focus,
.swal-button--confirm:focus {
    outline: none;
    box-shadow: unset;
}

.btn-outline,
.swal-button--cancel {
    border-radius: 5px;
    padding: 0 16px;
    height: 34px;
    text-align: center;
    background-color: transparent;
    border: 1px solid #E0E0E0;
    color: var(--black);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
}

.btn-outline:hover,
.swal-button--cancel:hover {
    color: var(--black);
    background-color: transparent !important;
    opacity: 0.9;
}

.btn-outline:focus,
.swal-button--cancel:focus {
    outline: none;
    box-shadow: unset;
}

.modal-header {
    border-radius: 5px 5px 0px 0px;
    background: rgba(209, 12, 21, 0.03);
    padding: 16px 0;
    text-align: center;
    font-weight: 600;
    font-size: 20px;
    position: relative;
}

.modal-header h5 {
    width: 100%;
}

.modal-header .btn-close {
    position: absolute;
    width: 22px;
    height: 22px;
    background: unset;
    padding: 0;
    right: 20px;
    border-radius: 50%;
    margin: 0;
    display: flex;
}

.modal-header .btn-close:focus {
    outline: none;
    box-shadow: unset;
}

.modal-body {
    padding: 20px;
}

/* Dashboard Page CSS Over */

/* Custom datatable css start */
.custom-datatable {
    background: #FFFFFF;
    box-shadow: 0px 0px 20px rgba(31, 31, 31, 0.1);
    border-radius: 5px;
}

.custom-datatable .dataTables_length,
.custom-datatable .dataTables_filter {
    margin: 15px 20px;
}

.custom-datatable .dataTables_length label,
.custom-datatable .dataTables_filter label {
    font-weight: 400;
    font-size: 14px;
    color: #6C6C6C;
}

.custom-datatable .dataTables_length label select {
    padding: 0 15px;
    width: 80px;
    height: 34px;
    border: 1px solid #E0E0E0;
    border-radius: 5px;
    margin: 0 10px;
    cursor: pointer;
    -webkit-appearance: none;
    background-image: url(../images/arrow-down.png);
    background-size: 9px;
    background-repeat: no-repeat;
    background-position: 80%;
    background-color: transparent;
}

.custom-datatable .dataTables_filter label {
    color: transparent;
}

.custom-datatable .dataTables_filter label input {
    border: 1px solid #E0E0E0;
    border-radius: 5px;
    height: 34px;
    padding-left: 40px;
    background-image: url(../images/search-icon.png);
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: 15px center;
    min-width: 250px;
}

.custom-datatable table thead {
    background: #fef8f8;
}

table.dataTable thead .sorting_desc {
    background-image: url(../images/sort_desc.png);
    /* background-position: 87% 30% !important; */
}

.custom-datatable table thead tr th:last-child {
    background-image: unset;
    text-align: right;
}

.custom-datatable table thead tr th,
.custom-datatable table tbody tr td {
    font-size: 14px;
    border-color: #E0E0E0;
}

.custom-datatable table thead th,
.custom-datatable table thead td {
    padding: 10px 20px;
    border-color: #E0E0E0;
}

.custom-datatable table tbody tr td {
    padding: 10px 20px;
    vertical-align: middle;
}

/* .sorting_1 {
    text-transform: capitalize;
} */

.custom-datatable .table>:not(:last-child)>:last-child>* {
    border-bottom-color: #E0E0E0;
    border-top: 1px solid #E0E0E0;
}

.custom-datatable table {
    border-bottom: 0 !important;
}

.custom-datatable .dataTables_info,
.custom-datatable .dataTables_paginate {
    padding: 22px 20px !important;
    font-size: 14px;
    display: flex;
}

.custom-datatable .dataTables_info {
    margin-top: 5px;
}

.custom-datatable .paginate_button {
    width: 34px;
    height: 34px;
    line-height: 34px;
    padding: 0 !important;
    border: 1px solid #E0E0E0 !important;
    border-radius: 5px !important;
    background: transparent !important;
    margin-left: 10px !important;
    transition: all 0.3s ease;
}

.custom-datatable .paginate_button:focus {
    outline: none !important;
    box-shadow: unset !important;
}

.custom-datatable .paginate_button:hover,.custom-datatable .paginate_button.current {
    background: rgba(209, 12, 21, 0.03) !important;
    border: 1px solid var(--red) !important;
}

.custom-datatable .paginate_button.previous {
    background-image: url(../images/previous.png) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.custom-datatable .paginate_button.next {
    background-image: url(../images/next.png) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.custom-datatable tbody tr.odd .fa-minus,
.custom-datatable tbody tr.even .fa-minus {
    display: none;
}

.custom-datatable tbody tr.odd.shown .fa-minus,
.custom-datatable tbody tr.even.shown .fa-minus {
    display: block;
}

.custom-datatable tbody tr.odd.shown .fa-plus,
.custom-datatable tbody tr.even.shown .fa-plus {
    display: none;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover{
    color:#000!important
}
/* Custom datatable css over */

.mobile-menu,
.close-sidebar {
    display: none;
}

/* Loading Spinner */
#loading {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: rgb(0 0 0 / 50%);
    z-index: 9999999999;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner,
.loading-spinner::after {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.loading-spinner {
    border-top: 3px solid rgba(255, 255, 255, 1);
    ;
    border-right: 3px solid rgba(255, 255, 255, 1);
    ;
    border-bottom: 3px solid rgba(255, 255, 255, 1);
    ;
    border-left: 3px solid #2dce89;
    position: relative;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-name: loading-spinner-animation;
    animation-name: loading-spinner-animation;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-duration: 0.8s;
    animation-duration: 0.8s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
}

@-webkit-keyframes loading-spinner-animation {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes tw-loading-spinner-animation {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


/* Toaster css */
.toast-message {
    background: #FFFFFF;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 15px;
    padding: 15px;
    position: absolute;
    right: 30px;
    top: 30px;
    text-align: left;
    z-index: 10;
}

.toast-message.hide {
    display: none;
}

.toast-message .close {
    position: absolute;
    right: 10px;
    background: transparent;
    border: 0;
    font-size: 20px;
    padding: 0;
    margin: 0;
    width: 25px;
}

.toast-message p {
    font-size: 16px;
    font-weight: 400;
    color: #111;
    margin-bottom: 0;
}


.toast-message img {
    margin-top: 6px;
    vertical-align: top;
    display: inline-block;
    margin-right: 10px;
}

.toast-content {
    display: inline-block;
}

.toast-message h6 {
    color: #04C600;
    font-size: 18px;
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 4px;
    text-align: left;
}

.list-modal .modal-body ul li {
    margin-bottom: 15px;
}

.mode {
    color: #000;
}

.reload {
    width: 22px;
    height: 22px;
}

.errors {
    font-size: 13px;
    color: #D10C15;
    margin-left: 2px
}

.swal-title {
    font-weight: 700;
    font-size: 22px;
    margin: 0;
    color: var(--black);
}

.swal-icon--warning__body,
.swal-icon--warning__dot {
    background-color: var(--red) !important;
}

.swal-icon--warning__body {
    /* height: 27px; */
}

.swal-icon {
    transform: scale(0.8);
    border-color: var(--red) !important;
}

.swal-icon--success {
    border-color: hsla(98, 55%, 69%, .2) !important
}

.swal-text {
    text-align: center;
}

.swal-icon--success:before {
    top: -17px
}

/* @keyframes pulseWarning {
    0% {
        border-color: var(--red);
    }
    100% {
        border-color: var(--red);
    }
  } */
.search-main .search-icon {
    position: absolute;
    z-index: 1;
    background: transparent;
    border: 0;
    height: 100%;
}

.search-main input {
    padding-left: 35px;
    /* border-radius: .25rem!important; */
}

/* Add selectbox css */
.name-field {
    position: relative;
}

.select2-dropdown {
    z-index: 1200 !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #f56036 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #ff0000 !important;
    border-color: #ff0000 !important;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove>span {
    color: #fff !important;
}

.select2-container--default .select2-results__option--selected,
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    background-color: #ff0000 !important;
    color: white;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    max-height: 78px;
    overflow: auto;
    display: block !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: var(--red) !important;
}

.activeTab {
    padding: 10px 16px;
    display: flex;
    gap: 5px;
    background: #fef8f8;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
}

.activeTab p {
    font-size: 14px;
    color: #000;
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
}

.group-row .below {
    font-weight: 700;
    font-size: 20px;
    background: #fef8f8;
}
.mode_client_user{
    border-top: 0!important;
}
/* Media query start */
@media (min-width: 576px) {
    .add-client-modal .modal-dialog {
        max-width: 460px;
    }

    .table-responsive {
        overflow-x: hidden;
    }
}

@media screen and (min-width:1280px) and (max-width:1400px) {
    .sing-in-content {
        padding: 20px 0;
    }
}

@media screen and (max-width:1024px) {
    .toast-message {
        width: 300px;
    }
}

@media (max-width: 991px) {

    /* Dashboard page css start */
    .sidebar {
        position: fixed;
        z-index: 2;
        left: -250px;
        transition: all 0.3s ease;
    }

    .sidebar.active {
        left: 0;
    }

    .close-sidebar {
        display: block;
        position: absolute;
        width: 22px;
        height: 22px;
        background: unset;
        padding: 0;
        right: 10px;
        top: 10px;
        border-radius: 50%;
        margin: 0;
        display: flex;
    }

    .main {
        width: 100%;
    }

    .header {
        gap: 20px;
    }

    .mobile-menu {
        display: block;
    }

    .tag-line,
    .dropdown-toggle,
    .profile-menu .dropdown-menu .dropdown-item {
        font-size: 12px;
    }

    .avatar {
        width: 25px;
        min-width: 25px;
        height: 25px;
        line-height: 22px;
        font-size: 10px;
        margin-right: 10px !important;
    }

    .section-title {
        align-items: center;
    }

    .section-title h3 {
        font-size: 18px;
    }

    .custom-datatable table {
        white-space: nowrap;
    }

    .custom-datatable .dataTables_length {
        margin: 10px 10px 0;
        text-align: left !important;
    }

    .custom-datatable .dataTables_filter {
        margin: 0 10px 10px 10px !important;
    }

    .custom-datatable .dataTables_length label,
    .custom-datatable .dataTables_filter label {
        font-size: 12px;
    }

    .custom-datatable .dataTables_filter label {
        width: 100%;
    }

    .custom-datatable .dataTables_filter label input {
        width: 100%;
        margin-left: 0;
        margin-top: -8px;
    }

    .custom-datatable .dataTables_filter label input::placeholder {
        font-size: 12px;
    }

    .custom-datatable table thead tr th,
    .custom-datatable table tbody tr td {
        font-size: 12px;
    }

    table.dataTable thead th,
    table.dataTable thead td,
    .custom-datatable table tbody tr td {
        padding: 5px 10px !important;
    }

    .custom-datatable .form-check {
        margin-bottom: 0;
        padding-left: 0;
        margin-right: 5px !important;
    }

    .custom-datatable .form-check .form-check-input {
        width: 15px;
        height: 15px;
        margin-left: 0;
        margin-right: 5px;
    }

    .custom-datatable .dataTables_info {
        padding: 10px 10px 0 !important;
        font-size: 12px;
    }

    .custom-datatable .dataTables_paginate {
        padding: 10px 10px !important;
        margin-top: 0 !important;
    }

    .custom-datatable .paginate_button.previous {
        margin-left: 0 !important;
    }

    .custom-datatable .paginate_button {
        width: 26px;
        height: 26px;
        line-height: 25px;
        background-size: 6px !important;
        font-size: 12px;
    }

    .toast-message {
        width: 300px;
        bottom: 21px;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Dashboard page css over */
}

@media (max-width:767px) {
    .header {
        flex-wrap: wrap;
        gap: 11px;
        padding: 14px 20px;
        height: auto;
    }

    .mobile-menu {
        flex-basis: 50%;
    }

    .activeTab {
        width: 100%;
        order: -1;
        padding: 12px;
    }

    .activeTab p {
        font-size: 12px;
    }
}

@media (max-width: 576px) {

    /* Sign in page CSS Start */
    .sing-in-content {
        padding: 12px 0;
    }

    .section-title {
        font-size: 18px;
    }

    .sign-in-card {
        width: 340px;
        margin: 0 auto;
    }

    .sign-in-card .card-body {
        padding: 16px;
    }

    .btn-grp {
        flex-direction: column;
    }

    .submit-btn {
        width: 100% !important;
    }

    .login-with-google {
        width: 100% !important;
    }

    /* Sign in page CSS over */
}

@media screen and (max-width:991px) {
    .toast-message {
        width: 300px;
        bottom: 21px;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}
