.wrapper {
    display: flex;
    align-items: stretch;
    /*perspective: 1500px;*/
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: hsla(0,0%,100%,.98);
    /*box-shadow: 2px 2px 32px -7px rgb(0 0 0 / 15%);*/
    color: gray;
    transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
    transform-origin: bottom left; /* Set the transformed position of sidebar to center left side. */
}

#sidebar.active {
    margin-left: -250px;
    transform: rotateY(100deg); /* Rotate sidebar vertically by 100 degrees. */
}

#sidebarCollapse {
    width: 40px;
    height: 40px;
    background: #6d7fcc;
    margin-left: -5px;
}

#sidebarCollapse span {
    width: 80%;
    height: 2px;
    margin: 0 auto;
    display: block;
    background: white;
    transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
}

#sidebarCollapse span:first-of-type {
    /* rotate first one */
    transform: rotate(45deg) translate(2px, 2px);
}
#sidebarCollapse span:nth-of-type(2) {
    /* second one is not visible */
    opacity: 0;
}
#sidebarCollapse span:last-of-type {
    /* rotate third one */
    transform: rotate(-45deg) translate(1px, -1px);
}

#sidebarCollapse.active span {
    /* no rotation */
    transform: none;
    /* all bars are visible */
    opacity: 1;
    margin: 5px auto;
}

@media (max-width: 768px) {
    /* Reversing the behavior of the sidebar: 
       it'll be rotated vertically and off canvas by default, 
       collapsing in on toggle button click with removal of 
       the vertical rotation.   */
    #sidebar {
        margin-left: -250px;
        transform: rotateY(100deg);
    }
    #sidebar.active {
        margin-left: 0;
        transform: none;
    }

    /* Reversing the behavior of the bars: 
       Removing the rotation from the first,
       last bars and reappear the second bar on default state, 
       and giving them a vertical margin */
    #sidebarCollapse span:first-of-type,
    #sidebarCollapse span:nth-of-type(2),
    #sidebarCollapse span:last-of-type {
        transform: none;
        opacity: 1;
        margin: 5px auto;
    }

    /* Removing the vertical margin and make the first and last bars rotate again when the sidebar is open, hiding the second bar */
    #sidebarCollapse.active span {
        margin: 0 auto;
    }
    #sidebarCollapse.active span:first-of-type {
        transform: rotate(45deg) translate(2px, 2px);
    }
    #sidebarCollapse.active span:nth-of-type(2) {
        opacity: 0;
    }
    #sidebarCollapse.active span:last-of-type {
        transform: rotate(-45deg) translate(1px, -1px);
    }
}

body {
    font-family: 'Poppins', sans-serif;
    background: url(../image/bg.jpg) no-repeat;
    background-size: 100%;

}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #ffffff;
    color: #000;
}

#sidebar ul.components {
    padding: 20px 0;
    /*border-bottom: 1px solid #47748b;*/
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}
#sidebar ul li a:hover {
    color: #000000;
    background: #fff;
    box-shadow: 2px 2px 32px -7px rgb(0 0 0 / 15%)
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    color: #fff;
    background: #6d7fcc;
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: midnightblue;
    color: white;
}
#content {
    width: 100%;
    /*min-height: 100vh;*/
    transition: all 0.3s;
}
.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

#signin,#signup,#order_form, #home {
    min-height: 75vh;
}

/*status timeline ----------------------------------------------------------------------------------------------------*/
.timeline {
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.timeline li {
    transition: all 200ms ease-in;
    /*margin-bottom: -15px;*/
}

.timestamp {
    margin-bottom: 20px;
    padding: 0px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 100;
}

.timeline .status {
    padding: 0px 20px;
    display: flex;
    justify-content: center;
    border-top: 2px solid #D6DCE0;
    position: relative;
    transition: all 200ms ease-in;
    margin-top: 10px;
    margin-bottom: -10px
}

.timeline .status2 {
    margin-bottom: 40px !important;
}

.timeline .status h4 {
    font-size: 14px;
    font-weight: 600;
    padding-top: 10px;
}
.timeline .status:before {
    content: "";
    width: 25px;
    height: 25px;
    background-color: white;
    border-radius: 25px;
    border: 1px solid #ddd;
    position: absolute;
    top: -15px;
    left: 42%;
    transition: all 200ms ease-in;
}

.timeline li.complete .status {
    border-top: 2px solid #66DC71;
}
.timeline li.complete .status:before {
    background-color: #66DC71;
    border: none;
    transition: all 200ms ease-in;
}
.timeline li.custom .status:before {
    background-color: #66DC71;
    border: none;
    transition: all 200ms ease-in;
}
.timeline li.complete .status h4 {
    color: #66DC71;
}

@media (min-device-width: 320px) and (max-device-width: 700px) {
    .timeline {
        list-style-type: none;
        display: block;
    }

    .timeline li {
        transition: all 200ms ease-in;
        display: flex;
        width: inherit;
    }

    .timestamp {
        width: 100px;
    }

    .timeline .status:before {
        left: -8%;
        top: 30%;
        transition: all 200ms ease-in;
    }
}

/*status timeline end ----------------------------------------------------------------------------*/

#searchResult {
    width: 265px;
    position: absolute;
    top: 40px;
    right: 0;
    z-index: 1000;
}

#searchResult li {
    cursor: pointer;
}

.add_product_area {
    background-color: #eee;
}

.order-product-list {
    margin: -1.25rem;
    padding: 18px;
    border: none;
    border-radius: 0;
}

.border-red{
    border:2px solid red;
    padding: 10px;
}
.card-header {
    padding: 2rem 1.25rem;
}
#accordion_order_records .card-header .flex-grow-1 {
    align-self: center;
}
.flow-info-view-button {
    position: absolute;
    top: 30px;
}
.loader {
    display: flex;
}
.loader .loader-center {
    text-align: center;
    width: 500px;
    height: 500px;
    background: url("https://ic.gtim.com/image/loading2.gif") center no-repeat;
}
.popover-body {
    padding: 20px;
}

.hide{
    display: none;
}
.right_wrapper {
    background: hsla(0,0%,100%,.98);
    box-shadow: 2px 2px 32px -7px rgb(0 0 0 / 15%);
}
i.fa {
    margin-right: 10px;
}
.text-red {
    color: red;
}
table .collapse.in {
    display: table-row !important;
}
.css-overflow {
    overflow: auto;
}
.css-max-height {
    max-height: 300px;
}
.bg-black {
    background-color: black !important
}
.text-black {
    color: black !important
}
.text-white {
    color: white !important
}
.b-bottom {
    border-bottom: 1px solid black
}
.print-form-2 {
    color: black;
    font-family: Calibri !important;
}
.print-form-2 .top {
}
.print-form-2 .top .col-sm-5 .form-logo {
    padding: 10px;
}
.print-form-2 .top .col-sm-5 .checkbox {
    line-height: .8em;
}
.print-form-2 .top .col-sm-5 .form-logo p {
    font-size: 1rem;
}
.print-form-2 .top .col-sm-7 {
    padding-top: 2.6em;
}
.print-form-2 .top .col-sm-7 p{
    border-bottom: 1px solid black;
    line-height: .9em;
    color: black;
}
.print-form-2 .table-bordered td, .print-form-2 .table-bordered th {
    border: 2px solid black !important
}
.print-form-2 .sign-section {
    border: 2px solid black;
    padding: 0 0 0 10px;
}
.pstn-relative {
    position: relative;
}
#cu_list {
    position: absolute;
    display: none;
    border: 1px solid gray;
    height: 300px;
    overflow: scroll;
    background: white;
    z-index: 100;
    top: 38px;
    left: 358px;
}
#cu_list ul {

}
#cu_list li {
    padding: 0.5rem 1rem;
    cursor: pointer;
}
.mt-20 {
    margin-top: 20px !important;
}
.pull-right {
    float: right;
}
.text-black {
    color: black;
}
.sec-one {
    margin-top: 8px;
}
.sec-one p {
    line-height: 2.2rem;
    color: black;
}
.text-right {
    text-align: right !important;
}
.text-center {
    text-align: center;
}
.mb-10 {
    margin-bottom: 10px !important;
}
.print-form-2 .top .col-sm-12 {
    border-bottom: 3px solid black;
}
.font-size-40 {
    font-size: 40px !important;
}
.text-bold {
    font-weight: bold;
}
.print_border-bottom {
    border-bottom: 1px solid black !important;
}
.print_black_box {
    padding: 6px;
    background: black;
    color: white;
}
.print_arrow {
    width: 0;
    height: 0;
    border-top: 50px solid transparent;
    border-left: 30px solid black;
    border-bottom: 50px solid transparent;
    margin-right: 20px;
}
.p-l-20 {
    padding-left: 40px !important;
}
.print-form-2 {
    background: white;
}
.print-form-2 table.print_total_table td {
    border-left: 0 !important;
    border-right: 0 !important;
    width: 50%;
}
.print-form-2 table td, .print-form-2 table th {
    padding: 0.4rem;
}
.print-form-2 {
    line-height: 1.2;
}
.border-no {
    border: 0 !important;
}
.print-form-2 table.print_total_table td.border-no {
    /*border: 0 !important;*/
}
.border-1 {
    border: 1px solid black;
}
.print-form-2 .p-2 {
    padding: 0.3rem !important;
}

.print-form-2 .table-bordered {
    border: 0 !important;
}
.print-form-2 input.form-control {
    padding: .175rem .35rem;
    height: 25px;
    font-size: 16px;
    border: none;
}
.border-bottom-1 {
    border-bottom: 1px solid black !important;
}
.loading3 img{
    width: 50%;
}
#stock_display .badge {
    font-size: 100% !important;
    padding: .15em .2em !important;
}
.cursor-pointer {
    cursor: pointer !important;
}
.p-relative{
    position: relative;
}
.p-absolute{
    position: absolute;
}
.update_max_div, .update_onorder_div, .update_eta_div, .update_qty_div  {
    position: absolute;
    z-index: 100;
    padding: 20px;
    background: white;
    border: 1px solid gray;
}
.max-stock, .on-order, .qty-stock {
    font-size: 16px !important
}
.model-sum {
    background: gray;
    color: white;
}
.width-20 {
    width: 20px !important;
}
.width-80 {
    width: 80px !important;
}
.width-1200 {
    width: 1200px !important;
}
.width-130 {
    width: 130px !important;
}
.width-200 {
    width: 200px !important;
}
.brand-sum {
    background: #6d7fcc;
}
.height-auto {
    height: auto !important;
}
.list-group-item {
    padding: .35rem 0.65rem
}
.bg-success {
    background: yellowgreen !important;
}
ul.brand li label {
    margin: 0;
}
.filter-brand-section {
    height: 200px;
    overflow: auto;
}

.out-of-stock {
    position: absolute;
    z-index: 100;
    right: 0;
    top: 0;
    background: gainsboro;
    padding: 6px;
}
.product-list-view-add-cart {
    padding: 10px;
    border-top: 1px solid #ccc;
    margin: 0;
    background-color: whitesmoke;
    border: 2px solid white;
    -webkit-box-shadow: 2px 4px 14px -2px rgba(0,0,0,0.36);
    -moz-box-shadow: 2px 4px 14px -2px rgba(0,0,0,0.36);
    box-shadow: 2px 4px 14px -2px rgba(0,0,0,0.36);
}
.product-option-box {
    position: absolute;
    z-index: 1000;
    min-width: 200px;
    right: 0;
    width: 100%;
}
.my-close-btn {
    padding: .25rem 0 .25rem .5rem !important;
    border-radius: 1.2rem !important;
    margin-top: -5px;
    margin-right: -5px;
}
.p-x-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.product-list-view-add-cart .badge {
    border-radius: 0px !important;
    margin-bottom: 4px;
}
.product-option-section {
    max-height: 300px;
    overflow: auto;
}
#loading-area {
    position: absolute;
    z-index: 10000;
    width: 100%;
    height: 100%;
    background: white;
    opacity: .5;
    text-align: center;
}
.mb-20 {
    margin-bottom: 20px !important;
}
.custom-border-1 {
    border: 1px solid gray;
    padding: 8px;
}
.pt-34 {
    padding-top: 34px;
}
.print-only {
    display: none !important;
}
.border1 {
    border-color: sandybrown !important;
    border-width: 4px !important;
}
.display_no {
    display: none !important;
}

.modal-full {
  max-width: 96%; /* Full width */
  margin: 2%; /* Remove default margin */
}
.modal-full .modal-content {
  width: 100%; /* Full width */
  height: 100%; /* Full height */
}
h1 {
    font-size: 1.5rem;
}
.product-side-menu-collapse-btn span {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/*Small devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px) {
    h1 {
        font-size: 1.2rem;
    }
}

/*// Medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {
    h1 {
        font-size: 1.2rem;
    }
    .btn {
        font-size: 0.8rem
    }
}

/*// Medium devices (tablets, less than 992px)*/
@media (min-width: 767.98px) {
/*    .btn {
        font-size: 0.8rem
    }*/
}
.header2 h1 {
    margin-bottom: 0;
}
.header2 {
    margin-bottom: 20px; border-bottom: 1px solid #ccc;
}

.loading-parent {
    position: absolute;
    z-index: 1000;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100vh; /* Full viewport height for demonstration */
}