/*Login page CSS  Start*/
.page-header.login-header{
    min-height: calc(100vh - 8rem);

}

.loginBgImg{
    background-image: url(../assets/img/curved-images/curved6.webp);
}
.pass_showhide {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 14px;
    width: 18px;
    text-align: center;
    cursor: pointer;
}
@media (max-width: 991.98px) {
    .oblique{
        right: 0;
    }
}
@media (max-width: 575.98px) {
    .page-header.login-header{
        min-height: calc(100vh - 9.5rem);

    }
}
/*Login page CSS  End*/


/*Header CSS Start*/
.navbar-vertical .navbar-nav .nav-item .nav-link .icon.icon-sm{
    flex: 0 0 32px;
}
@media (max-width: 1199.98px) {
    .main-content .navbar-main .container-fluid{
        padding: 0 !important;
    }
    .mobile-header,
    .navbar-main .collapse,
    .navbar-main [aria-label="breadcrumb"]{
        width: 100%;
    }
    .navbar-main .collapse{
        background: #ffffff;
        padding: 1rem;
    }
    .main-content.mt-1{
        margin-top: 0 !important;
    }
    .main-content .navbar-main{
        margin: 0 !important;
        padding: 0;
    }
    .main-content .navbar-main .py-1{
        padding-bottom: 0rem!important;
        padding-top: 0rem!important;
    }
    .navbar-main [aria-label="breadcrumb"]{
        margin-top: 1rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .mobile-header .navbar-brand{
        margin-right: auto !important
    }
}
@media (max-width: 767.98px) {
    .mobileSearchBar{
        position: absolute;
        left: 0;
        top: 0;
        height: 0;
        width: 100%;
        padding: 0;
        background: #ffffff;
        box-shadow: 0 20px 27px 0 rgba(0,0,0,.05);
        z-index: -1;
        opacity: 0;
        transition: ease-in-out 0.3s all;
    }
    .mobileSearchBar.active{
        top: 100%;
        height: 100%;
        padding: 1rem;
        opacity: 1;
        z-index: 1;
    }
    .mobile-header .mt-2{
        margin-top: 0 !important;
    }
    .mobile-header .navbar-brand{
        padding: 0;
    }
    .mobile-header .navbar-brand img{
        height: 40px;
    }
    .navbar-main [aria-label="breadcrumb"]{
        display: none;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/*Header CSS End*/
/* .custom-scroll{
    scrollbar-width: thin;
    scrollbar-color: #cccccc transparent;
} */
.custom-scroll::-webkit-scrollbar {
    height: 0.5rem;
    width: 0.375rem;
    background-color: #F6F6F6;
    position: relative;
    border-radius: 1rem;
}

.custom-scroll::-webkit-scrollbar-track {
    border-radius: 1rem;
    position: relative;
}
.custom-scroll::-webkit-scrollbar-thumb {
    /*margin: 0.125rem;*/
    border-radius: 1rem;
    background-image: linear-gradient(310deg,#006838,#37B34A,#D6DE23);
}

.obj-fit-cover{
    object-fit: cover;
}
.imgupload-thumbanil{
    width: 5rem;
    height: 5rem;
    flex: 0 0 5rem;
    overflow: hidden;
    background-color: #d2d6da;
    position: relative;
    border-radius: 5px;
}
.removeImg{
    position: absolute;
    top: 3px;
    right: 3px;
    line-height: 0;
    display: inline-block;
}

.addMoreBtn{
    width: 2.5rem;
    height: 2.5rem;
    max-width: 100%;
    text-align: center;
    padding: 0;
    position: relative;
}

.addMoreBtn i{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}


.select2-container--bootstrap-5 .select2-selection{
    min-height: calc(1.5rem + .75rem + 4px);
    border-color: #d2d6da;
    border-radius: .5rem;
}
.select2-container--bootstrap-5.select2-container--focus .select2-selection, .select2-container--bootstrap-5.select2-container--open .select2-selection{
    border-color: #94cc33;
    box-shadow: 0 0 0 2px #a2cf2f;
}

.subtotalTitle{
    width: 8rem;
    word-break: normal;
    margin-right: 2rem;
    text-align: right;
}

.subtotalTitle + p{
    min-width: 4rem;
}


.address {
    overflow: hidden;
    width: 15rem;
    white-space: normal;
    max-height: 31px;
    transition: height 200ms;
}

.address + a {
    font-size: .75rem;
    display: block;
    background: #fff;
    z-index: 1;
    position: relative;
}
.tableDescription {
    overflow: hidden;
    width: 15rem;
    white-space: normal;
    max-height: 1.875rem;
    transition: height 200ms;
}
.tableDescription.tableDescriptionCustomer {
    word-break: break-word;
    white-space: pre-wrap;
}
[data-readmore] + a,
.description + a {
    font-size: .75rem
}

.select2-selection__rendered span.d-block{
    display: none !important;
}

.sa-button-container{
    display: flex;
    flex-direction: column-reverse;

}
.sa-button-container .cancel.btn-default{
    box-shadow: none;
    margin-bottom: 0;
    padding: 0;
}
@media (max-width: 767px){
    .sweet-alert{
        padding: 3.125rem 2rem;
    }
}
.sa-confirm-button-container .btn-primary{
    background-image: linear-gradient(310deg,#006838,#37B34A,#D6DE23);
    box-shadow: none;
}

.sweet-alert .lead{
    font-size: 1rem;
}

@media (min-width: 576px){
    #viewOrderModal .modal-dialog{
        max-width: 1140px;
    }
    
    /* #createOrderModal .modal-dialog{
        max-width: 1140px;
    } */
}
@media (min-width: 1400px) { 
    .viewOrderModal-xl .modal-dialog{
        max-width: 1440px !important;
    }
}
@media (min-width: 1200px){
    .viewOrderModal .modal-dialog{
        max-width: 1000px;
    }
    /* #createOrderModal .modal-dialog{
        max-width: 1140px;
    } */
}


.order-tabs .moving-tab .nav-link.active{
    background-image: linear-gradient(310deg,#006838,#37B34A,#D6DE23);
    color: transparent !important;
}
.order-tabs .nav.nav-pills .nav-link.active{
    color: #ffffff;

}


.dashboardRow .icon-shape{
    position: relative;
}
.dashboardRow .icon-shape svg{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

/*Table Data Search Bar*/
.table-search-data {
    width: 14rem;
    max-width: 100%;
}
.filterDiv {
    width: 10rem;
    max-width: 100%;
}
.table-search-data .form-control{
    padding-right: 4.063rem;
}
.table-search-data .btn{
    margin: 0;
    width: 2.5rem;
    height: 2.5rem;
    top: 0;
    right: 0;
    padding: 0;
}
.table-search-data .btn svg{
    width: 1rem;
    height: 1rem;
}
.clearSearchText{
    top: 0.40rem;
    right: 2.813rem;
    width: 1.25rem;
    text-align: center;
}

@media (min-width: 1200px){
    .dashboardRow .col-xl-3{
        flex: 0 0 auto;
        width: 33.33333333%;
    }
}
@media (min-width: 1600px){
    .dashboardRow .col-xl-3{
        flex: 0 0 auto;
        width: 20%;
    }
}
@media (max-width: 1399.98px) {
    .table-search-data{
        width: 14rem;
    }
    .importaddBtns .btn.btn-sm{
        padding: 0.5rem 1rem;
    }
}
@media (max-width: 1199.98px) {

}

@media (max-width: 575.98px) {
    .importaddBtns .btn{
        width: 100%;
        margin-top: 0.5rem;

    }
    .table-search-data {
       width: 100%;
        max-width: 100%;
    }
}


.modal-open .toast-container{
    z-index: 9999;
}
.error{
    color: red;
    margin-bottom: 0;
}

.text-warning.no-order{
    color: red !important;
}
.text-warning.enterd-order{
    color: green !important;
}
.bootstrap-datetimepicker-widget.dropdown-menu{
    background: #f9f9f9;
}

.checkRadioBtns .bg-gradient-primary{
    background-image: none;
    background-color: #99a3b3;
}
.checkRadioBtns .btn-check:checked + .bg-gradient-primary{
    background-image: linear-gradient(310deg,#006838,#37B34A,#D6DE23);
}

.checkRadioBtns .btn.bg-gradient-primary:hover{
    background-color: #99a3b3;
    border-color: #99a3b3;
}

.modal.show.openRepeatModal .modal-dialog .modal-content:after{
    content: '';
    background: rgba(0,0,0,0.5);
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.option-image{
    object-fit: cover;
    border-radius: 5px;
    flex: 0 0 30px;
    margin-right: 5px;
}
.product-select2 + .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered{
    /* margin-top: -2px; */
}
.product-select2 + .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered > span a{
    display: inline-block;
}
.product-select2 + .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered > span{
    display: flex;
    align-items: center;
    font-size: 14px;
}
.product-select2 + .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered > span span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-select2 + .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered > span a img.option-image{
    width: 25px;
    height: 25px;
    object-fit: contain;
}
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option span img.option-image{
    width: 30px;
    height: 30px;
    object-fit: contain;
    background-color: #fff;
    padding: 2px;
}
.card-container{
    min-height: calc(100vh - 7rem);
}
.card-container .pageTableResposive{
    min-height: calc(100vh - 8.5rem);
    max-height: calc(100vh - 13rem);
}

.card-container.order-card-container{
    min-height: calc(100vh - 16rem);
}
.card-container.order-card-container .pageTableResposive{
    min-height: calc(100vh - 13rem);
    max-height: calc(100vh - 16.5rem);
}

@media (max-width: 1399.98px) {
    .card-container.mb-4{
        margin-bottom: 1rem !important;
    }
    .card-container.order-card-container .pageTableResposive{
        min-height: calc(100vh - 17.5rem);
        max-height: calc(100vh - 17.5rem);
    }
}

/*Table CSS*/
.pageTableResposive{
    max-height: calc(100vh - 28rem);
    overflow-y: auto;

}
@media (max-width: 1399.98px) {
    .pageTableResposive{
        max-height: calc(100vh - 26.5rem);
    }   
}
.pageTableResposive.pageTableMinHeight{
    min-height: 12rem;
}
.pageTableResposive .table thead th {
    position: sticky;
    top: 0;
    white-space: nowrap;
    background: #ffffff;
    opacity: 1 !important;
    z-index: 1;
}
.pageTableResposive .table thead th:after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-bottom: 1px solid #e9ecef;
    z-index: -1;
}
/* .pageTableResposive{
    scrollbar-width: thin;
    scrollbar-color: #cccccc transparent;
} */
.pageTableResposive::-webkit-scrollbar {
    height: 0.5rem;
    width: 0.375rem;
    background-color: #F6F6F6;
    position: relative;
    border-radius: 1rem;
}

.pageTableResposive::-webkit-scrollbar-track {
    border-radius: 1rem;
    position: relative;
}
.pageTableResposive::-webkit-scrollbar-thumb {
    /*margin: 0.125rem;*/
    border-radius: 1rem;
    background-image: linear-gradient(310deg,#006838,#37B34A,#D6DE23);
}


.ui-widget.ui-widget-content{
    z-index: 2000
}


.modal-open .tooltip{
    z-index: 1045;
}

body.custom-backdrop #createOrderModal .modal-dialog .modal-content:after{
    content: '';
    position: absolute;
    opacity: 0.5;
    background: #000;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: calc(.75rem - 1px);
}

/*Mobile Common CSS Start*/
@media (max-width: 575.98px) {
    .card .card-body,
    .card .card-header,
    .container-fluid.py-4{
        padding: 1rem !important;
    }
    .card .card-header.pb-0 {
        padding-bottom: 0!important;
    }
    .card .card-header.mb-2 {
        margin-bottom: 0!important;
    }
    .card .card-body.p-1{
        padding: 0.25rem!important;
    }
    .card .card-body.px-0{
        padding-left: 0!important;
        padding-right: 0!important;
    }
}
/*Mobile Common CSS End*/


@media (min-width: 576px) {
    .printLabelModal .modal-dialog.modal-lg {
        max-width: 842px;
    }
}
@media (max-width: 575.98px) {
    .vertical-rotate-list{
        text-align: center;
    }
}

.form-select-lg~.select2-container--bootstrap-5 .select2-selection--multiple .select2-search{
    padding-top: 4px;
}
.form-select-lg~.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice{
    font-size: 0.875rem;
}
.form-select-lg~.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove {
    width: 0.75rem;
    height: 0.75rem;
    padding: .5rem;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23676a6d'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/0.75rem auto no-repeat;
}
.form-select-lg~.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove:hover {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/0.75rem auto no-repeat
}
.form-select-lg~.select2-container--bootstrap-5 .select2-selection--multiple .select2-search .select2-search__field::-moz-placeholder {
    color: #adb5bd;
    opacity: 1;
    font-size: .875rem;
}

.form-select-lg~.select2-container--bootstrap-5 .select2-selection--multiple .select2-search .select2-search__field:-ms-input-placeholder {
    color: #adb5bd;
    opacity: 1;
    font-size: .875rem;
}

.form-select-lg~.select2-container--bootstrap-5 .select2-selection--multiple .select2-search .select2-search__field::placeholder {
    color: #adb5bd;
    opacity: 1;
    font-size: .875rem;
}


a.click_customer{
    color: #67748e;
}
a.click_customer:hover{
    color: #006838;
}

.product_secton .row.mb-3:last-child {
    margin-bottom: 0 !important;
}
/* Create Order Modal Start */
@media (min-width: 768px) {
    .createorder_product .form-control-label{
            display: none !important;
    }
}
/* Create Order Modal End */

.no_order_label.badge{
    background: #8392ab;
    color: #fff !important;
}
.badge.text-warning {
    background: #fbcf33;
    color: #fff !important;
}
.badge.text-success {
    background: #82d616;
    color: #fff !important;
}



.sidenav-footer .dropdown .dropdown-menu.dropdown-menu-end{
    bottom: calc(100% + 3.5rem);
    top: auto;
    left: 0 !important;
    width: 100%;
    right: auto !important;
    min-width: 11.5rem;
}
.sidenav-footer .dropdown .dropdown-menu.dropdown-menu-end:before {
    left: 20px;
    right: auto;
    top: auto;
    bottom: -20px;
    transform: rotate(180deg);
}

.sidebar-profile svg.arrow_pro{
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transition: transform 0.25s ease-in-out;
    -webkit-transition: transform 0.25s ease-in-out;
    -moz-transition: transform 0.25s ease-in-out;
    -ms-transition: transform 0.25s ease-in-out;
    -o-transition: transform 0.25s ease-in-out;
}
.sidebar-profile[aria-expanded="true"] svg.arrow_pro{
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
}
.background_red{
    background: red !important;
    cursor: pointer;
}

@media (min-width: 992px) {
    #createOrderModal .modal-fullscreen .modal-body{
        overflow-y: hidden;
    }
}


@media (max-width: 1399.98px) {
    textarea.customer_comment{
        max-height: 13rem;
    }
}
@media (max-width: 991.98px) {
    .col-ipad-lg-4.h-100{
        height: auto !important;
    }
}


.product_label_section .form-control-label{
    margin-bottom: 0;
}
.create-modal-body select.form-select.error + .select2-container--bootstrap-5 .select2-selection,
.create-modal-body input.error{
    border-color: red;
    box-shadow: none;
}
.product_secton label.error{
    display: none !important;
}
.load_cuq{
    line-height: normal;
    font-size: 0.875rem;
    margin-bottom: -0.5rem;
}
.load_cuq a{
    margin-right: 0.25rem;
    display: inline-block;
}
@media (max-width: 1399.98px) {
    .load_cuq{
        line-height: normal;
        font-size: 0.75rem;
        margin-bottom: -0.15rem;
    }
}


.errorIcon {
    right: 11px;
    top: 10px;
    font-size: 14px;
    line-height: normal;
    display: inline-block;
    color: red;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
}

.create-modal-body select.form-select.error + .select2-container--bootstrap-5 + label.error + span.errorIcon,
.create-modal-body input.error + label.error + span.errorIcon, 
.create-modal-body input.error + span.errorIcon{
    visibility: visible;
    opacity: 1;
}
.create-modal-body select.form-select.error + .select2-container--bootstrap-5 + label.error + span.errorIcon{
    right: 31px;
}


.cuqSelectTag + .select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered {
    display: inline-flex;
    gap: 5px;
    vertical-align: middle;
}
.cuqSelectTag + .select2-container--bootstrap-5 .select2-selection--multiple .select2-search{
    display: inline-block;
    width: auto;
    max-width: 100%;
    vertical-align: middle;
}
.cuqSelectTag.form-select-lg~.select2-container--bootstrap-5 .select2-selection{
    font-size: 1rem;
}
.cuqSelectTag.form-select-lg~.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice{
    font-size: 0.75rem;
    margin-bottom: 2px;
}

.form-select-lg.select2Common~.select2-container--bootstrap-5 .select2-selection{
    font-size: 0.875rem;
    min-height: calc(1.25rem + 1.5rem + 4px);
    display: flex;
    align-items: center;
}