* {
    margin: 0;
    padding: 0;
}


/*===== custom scrollbar ====== */
::-webkit-scrollbar {
    width: 10px;
    background: #e3e8ec;
}

::-webkit-scrollbar-thumb {
    border-radius: 7px;
    background-color: #aaa8a8;
    border: 3px solid #e3e8ec;
}

.floating-label-content {
    position: relative;
    margin-bottom: 20px;
}

.floating-label {
    color: #1e4c82;
    font-size: 15px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 15px;
    top: 8px;
    padding: 0 5px;
    background: #fff;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.floating-input,
.floating-select {
    font-size: 12px;
    display: block;
    width: 100%;
    height: 36px;
    padding: 0 20px;
    background: #fff;
    color: #637381;
    border: 1px solid #c4cdd5;
    border-radius: 4px;
    box-sizing: border-box;
}

.floating-input:focus,
.floating-select:focus {
    outline: none;
}

.floating-input:focus~.floating-label,
.floating-select:focus~.floating-label {
    top: -8px;
    font-size: 13px;
}

select.floating-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select.floating-select::-ms-expand {
    display: none;
}

.floating-input:not(:placeholder-shown)~.floating-label {
    top: -8px;
    font-size: 13px;
}

.floating-select:not([value=""]):valid~.floating-label {
    top: -8px;
    font-size: 13px;
}

.floating-select[value=""]:focus~.floating-label {
    top: 11px;
    font-size: 13px;
}

.floating-select:not([multiple]):not([size]) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath id='Path_1' data-name='Path 1' d='M371,294l4,6,4-6Z' transform='translate(-371 -294)' fill='%23003d71'/%3E%3C/svg%3E%0A");
    background-position: right 15px top 50%;
    background-repeat: no-repeat;
}

.error-input .floating-label {
    font-weight: 600;
    color: #dc3545;
}

.error-input .floating-select:not([multiple]):not([size]) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath id='Path_1' data-name='Path 1' d='M371,294l4,6,4-6Z' transform='translate(-371 -294)' fill='%239d3b3b'/%3E%3C/svg%3E%0A");
}

.error-input .floating-input,
.error-input .floating-select {
    border: 2px solid #dc3545;
    color: #dc3545;
}

.input-group {
    display: flex;
}

.input-group .floating-input {
    border-radius: 0 4px 4px 0;
    border-left: 0;
    padding-left: 0;
}

.input-group-append {
    display: flex;
    align-items: center;
    /*   margin-left:-1px; */
}

.input-group-text {
    display: flex;
    align-items: center;
    font-weight: 400;
    height: 34px;
    color: #323840;
    padding: 0 5px 0 20px;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
    border: 1px solid #3D85D8;
    border-radius: 4px 0 0 4px;
    border-right: none;
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 9999;
    width: 100%;
    height: 100vh;
    background: #787a7c5c;
}

.spinner {
    display: inline-block;
    width: 80px;
    height: 80px;
}

.spinner:after {
    content: " ";
    display: block;
    width: 50px;
    height: 50px;
    margin: 8px;
    border-radius: 50%;
    border: 4px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: spinner 1.2s linear infinite;
}

.custom-table-label {
    border: 1px solid #e8eef3;
    padding: 11px 10px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ac-service-card .venue-name {
    font-size: 18px;
}

.ac-service-fields {
    margin-bottom: 7px !important;
}

.ac-service-card input {
    width: 65px;
    padding: 5px 5px;
    background-color: transparent;
}

.ac-service-card input:focus {
    background-color: transparent;
}

.show-ac-card {
    display: flex;
}

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }

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

.navbar-nav .nav-item .nav-link i {
    font-size: 20px;
    margin-right: 0.5rem;
}

.navbar-nav .nav-item .nav-link .bi-circle-fill {
    font-size: 6px;
    margin-right: 0.5rem;
}

.navbar-vertical .navbar-brand .brand-details .brand-name {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    /* font-style: italic; */
}

.navbar-nav .dropdown .dropdown-menu .dropdown-item i {
    font-size: 18px;
    margin-right: 5px;
}

.filter-box {
    background-color: lightgrey;
    max-height: 50px;
    width: 100%;
}

.filter-menu-active {
    border-bottom: 2px solid #624bff;
}

.filter-box ul .filter-menu-items .filter-menu-link {
    font-size: 15px;
    font-weight: 600;
    color: black;
}

.filter-box ul .filter-menu-items {
    cursor: pointer;
}

.dropify-wrapper {
    border: 2px dashed #ced4da;
    background: #fff;
    border-radius: 6px;
    color: #6c757d;
}

.dropify-message .file-icon p {
    font-size: 14px !important;
}

.dropify-message .file-icon {
    font-size: 40px !important;
}

.cursor-pointer {
    cursor: pointer;
}

.br-100 {
    border-radius: 100px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #624bff;
    color: white;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #1e4c82;
}

.select2-container {
    font-size: 15px;
    width: 100% !important;
}

.select2-selection__rendered {
    font-size: 13px;
    padding-left: 20px !important;
}

.select2-container--default .select2-selection--single {
    border-color: #c4cdd5;
}

.search-btn {
    --bs-btn-padding-y: 5px;
    --bs-btn-padding-x: 10px;
}

.search-bar input {
    border-right: none;
}

.search-bar button {
    /* border: 1px solid #c4cdd5; */
    border-left: none;
    border-bottom-right-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.search-bar button:hover {
    border: 1px solid #c4cdd5;
    border-left: none;
    border-bottom-right-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.w-150 {
    width: 150px !important;
}

.m-b-20 {
    margin-bottom: 20px !important;
}

.fw-500 {
    font-weight: 500 !important;
}

input.parsley-error,
select.parsley-error,
textarea.parsley-error {
    border: 1px solid #dc3545;
    color: #dc3545;
    background-color: #fff;
}

input.parsley-success,
select.parsley-success,
textarea.parsley-success {
    color: #46884E !important;
    background-color: #fff !important;
    border: 1px solid #46884E !important;
}

.show-password {
    position: absolute;
    top: 3px;
    right: 10px;
    cursor: pointer;
}

.show-password i {
    font-size: 20px;
}

.fs-13 {
    font-size: 13px;
}

.cw {
    cursor: wait !important;
}

.badge-warning-soft {
    border: 1px solid;
    color: #ffc107;
}

.badge-success-soft {
    border: 1px solid;
    color: #198754;
}

.badge-danger-soft {
    border: 1px solid;
    color: #dc3545;
}

.badge-info-soft {
    border: 1px solid;
    color: #0dcaf0;
}

.report-card {
    width: 150px;
    color: black;
    padding: 10px 15px;
    border-radius: 10px;
}

.report-card .report-title {
    display: block;
    font-size: 14px;
}

.report-icons {
    margin: auto 10px;
    font-size: 20px;
}

.report-card .report-amount {
    font-size: 20px;
    font-weight: 600;
}

.date-filter .input-group-text {
    border-color: #c4cdd5;
    font-size: 13px;
    font-weight: 600;
    padding: 0 10px;
}

.date-filter-input {
    padding: 4px;
}

.select-reports .floating-label-content {
    margin-bottom: 0 !important;
}

.datepicker {
    width: 20%;
    padding: 10px !important;
}

.datepicker .table-condensed {
    width: 100%;
}

.theme-tabs .nav-link {
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #624bff;
    --bs-nav-link-padding-x: 2rem;
}

.bg-light-grey {
    background-color: #f7f7f7 !important;
}

.bs-avatar img:hover {
    transform: scale(2);
}

.bs-avatar img {
    transition: all 0.6s;
    object-fit: cover;
    z-index: 99;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 33px !important;
}

.select2-container .select2-selection--single {
    height: 36px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 4px !important;
}

.remove-row {
    color: red;
    cursor: pointer;
}

.ac-hrs:focus,
.ac-rent:focus,
.ac-rate:focus {
    box-shadow: none;
}

.fs-14 {
    font-size: 14px !important;
}

.border-bottom-dash {
    border-bottom: 1px dashed lightgrey;
}

.default-img {
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    line-height: 55px;
    color: #ffff;
}


.booking-info {
    font-size: 15px;
    font-weight: 500;
    color: #212b36;
    padding: 5px 0;
}

.mini-stats-wid .mini-stat-icon:before {
    background-color: #ffffff1a;
    content: "";
    height: 54px;
    left: 16px;
    position: absolute;
    top: -5px;
    transform: rotate(32deg);
    transition: all .4s;
    width: 8px;
}

.mini-stats-wid .mini-stat-icon:after {
    left: -12px;
    transition: all .2s;
    width: 12px;
}

.avatar-title {
    align-items: center;
    background-color: #556ee6;
    color: #fff;
    display: flex;
    font-weight: 500;
    height: 100%;
    justify-content: center;
    width: 100%;
}

@media (max-width:990px) {
    .select-reports {
        margin-bottom: 10px;
    }

    .date-filter {
        flex-direction: column;
    }

    .to-date {
        margin: 10px 0 !important;
    }

    .to-date .date-filter-input {
        padding-bottom: 4px !important;
    }

    .submit-btn {
        margin-left: 0 !important;
    }

    .report-card .report-title {
        font-size: 12px;
    }

    .report-card .report-amount {
        font-size: 13px;
        font-weight: 700;
    }

    .select2-container {
        width: 100% !important;
    }
    
    .company-logo{
        width:55% !important;
    }

    .res-mt-3{
        margin-top: 1rem !important;
    }
    
    .res-m-0{
        margin: 0 !important;
    }
    
    #filter_form .filter-submit-btn{
        margin:0 !important;
    }
}

@media (max-width:500px) {
    .header .navbar {
        padding: 0.625rem 0.5rem;
    }

    .header .navbar ul .add-sale {
        margin-right: 5px !important;
    }

    .header .navbar ul .quick-menu {
        margin-left: 0px !important;
    }

    .header-btn .btn {
        --bs-btn-padding-y: 0.25rem;
        --bs-btn-padding-x: 0.5rem;
        --bs-btn-font-size: 0.7rem;
        --bs-btn-border-radius: 0.2rem;
    }

    .header .navbar ul li a i {
        font-size: 20px !important;
    }

    .header .navbar ul li {
        margin-right: 0 !important;
    }

    .report-card-group {
        flex-wrap: wrap;
    }

    .report-card-group .report-card {
        margin-bottom: 10px;
    }

    .booking-info {
        font-size: 13px !important;
    }
    .card{
        min-height: unset !important;
        max-height: unset !important;
    }

    .table-section{
        min-height: unset !important;
        max-height: unset !important;
    }
}

@media (max-width:768px) {
    .filter-box ul {
        padding: 0 !important;
    }

    .filter-box ul .filter-menu-items {
        margin: 0 !important;
    }

    .filter-box ul .filter-menu-items .filter-menu-link {
        font-size: 12px;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .invoice-details h5 {
        padding-left: 12px !important;
    }

    .ac-service-card {
        margin-bottom: 15px !important;
    }

    .show-ac-card {
        flex-direction: column;
    }
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.invoice p {
    margin-bottom: 0px !important;
}

.company-details h5 {
    font-size: 18px;
}

.company-details p {
    font-size: 14px;
}

.divider-line {
    border-bottom: 1px solid #198754;
    margin-top: 10px;
    width: 97%;
    margin-left: 12px;
}

.invoice .customer-details h5,
.invoice .booking-details h5,
.invoice .heading {
    font-size: 18px;
    font-weight: 600;
}

.customer-details p {
    font-size: 14px;
}

.booking-details {
    font-size: 15px;
    padding-left: 30px;
}

.terms-conditions li {
    font-size: 13px;
}

.terms-conditions li span {
    font-weight: 600;
}

.print-estimate {
    display: none;
}

.estimate-table-heading td {
    padding: 7px 10px;
}

.estimate-table-fields td {
    border: 1px solid #e7e9eb;
    padding: 11px 10px;
}

.estimate-table-fields td input {
    font-size: 14px;
    border: 1px solid #e7e9eb !important;
    border-radius: 0.25rem !important;
    padding: 0.5rem !important;
}

.estimate-table-fields .select2-container {
    font-size: 12px;
    width: 100% !important;
}

.remove-row {
    cursor: pointer;
    color: red !important;
}

.add-row {
    cursor: pointer;
}

@media(max-width:768px) {
    .res-mb-5 {
        margin-bottom: 5px !important;
    }
}

@media print {
    .mb-p-0{
        margin-bottom: 0px !important;
    }
    .print-estimate {
        display: block;
    }

    .hide-content {
        display: none;
    }

    .btn {
        display: none;
    }

    .header {
        display: none;
    }

    .navbar-vertical.navbar {
        display: none;
    }

    .card, .shadow{
        box-shadow: none;
    }

    .contract-paper {
        margin: 0px !important;
        /* margin-top: 20px !important; */
        margin-left: -30px !important;
        margin-right: -30px !important;
    }

    .title {
        font-size: 18px !important;
    }

    .company-details h5 {
        font-size: 15px !important;
    }

    .company-details p {
        font-size: 12px !important;
    }

    .booking-details,
    .service-details,
    .vendor-details {
        font-size: 13px !important;
    }

    .divider-line {
        margin-top: 10px;
    }

    .customer-details h5,
    .booking-details h5,
    .heading {
        font-size: 14px !important;
    }

    .customer-name {
        font-size: 13px !important;
    }

    .customer-details p {
        font-size: 12px !important;
    }

    .event-details {
        font-size: 13px !important;
    }

    .venue-name {
        font-size: 14px !important;
    }

    .venue-details {
        font-size: 13px !important;
    }

    .service-details ol {
        font-size: 13px !important;
    }

    .final-amount-section {
        font-size: 13px !important;
    }

    .terms-conditions h5 {
        font-size: 13px !important;
    }

    .terms-conditions li {
        font-size: 10px !important;
    }

    .invoice .table {
        font-size: 13px;
    }

    .signatory img {
        width: 80px;
    }

    .payment-details {
        font-size: 14px;
    }

    .res-fs-13 {
        font-size: 13px;
    }
}

@media (max-width:500px) {
    .invoice .title {
        font-size: 18px !important;
    }

    .invoice .company-details h5 {
        font-size: 15px !important;
    }

    .invoice .company-details p {
        font-size: 12px !important;
    }

    .invoice .divider-line {
        margin-top: 15px;
        width: 92%;
        margin-left: 12px;
    }

    .invoice .customer-details h5,
    .invoice .booking-details h5,
    .invoice .heading {
        font-size: 15px;
    }

    .invoice .customer-details .customer-name {
        font-size: 14px !important;
    }

    .invoice .customer-details p {
        font-size: 12px;
    }

    .invoice .booking-details {
        padding-left: 0px;
        font-size: 14px;
    }

    .invoice .event-details {
        flex-direction: column;
    }

    .invoice .event-details div {
        margin-bottom: 5px;
    }

    .invoice .venue-name {
        font-size: 15px;
    }

    .invoice .venue-details {
        flex-direction: column;
        font-size: 14px;
    }

    .invoice .service-details {
        font-size: 14px;
    }

    .contract-paper .final-amount-section {
        text-align: left !important;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .contract-paper .terms-conditions h5 {
        font-size: 14px !important;
    }

    .contract-paper .terms-conditions .details ol li {
        font-size: 12px !important;
    }

    .create-invoice .event-details {
        flex-direction: column;
    }

    .create-invoice .event-details .ms-12 {
        margin-left: 0px !important;
    }

    .create-invoice .event-details .d-flex {
        margin-bottom: 10px !important;
    }

    .rent-invoice .final-amount-section,
    .service-invoice .final-amount-section {
        flex-direction: column-reverse;
    }

    .rent-invoice .final-amount-section .terms-conditions,
    .service-invoice .final-amount-section .terms-conditions {
        text-align: end;
    }

    .company-details{
        text-align: left !important;
    }

    .customer-contract-details{
        margin-top: 10px !important;
        padding-left: 12px !important;
    }

}
