/*-------------pos-----------------*/
.pos_body {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 0px;
}
.poscard {
    background: #fff;
    padding: 10px;
    box-shadow: 0px 1px 2px #00000038;
}
.fill-height-auto {
    padding: 5px 17px;
    height: calc(100vh - 148px);
    overflow: auto;
}
.p_box {
    width: 100%;
    height: 164px;
    border: 1px solid #c1c1c1;
    margin-bottom: 0px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    padding: 0.5rem;
    cursor: pointer;
}
.p_box img {
    width: 100%;
    height: 80px;
    object-fit: contain;
    margin-bottom: 8px;
}
.pstock {
    position: absolute;
    top: 3px;
    left: 3px;
    background: var(--color1);
    color: #fff;
    padding: 1px 7px;
    font-size: 11px;
    border-radius: 5px;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}
.pname {
    display: block;
    font-size: 14px;
    text-align: center;
    width: 100%;
    height: 30px;
    line-height: 1;
    white-space: break-spaces;
    overflow: hidden;
    margin-bottom: 5px;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}
.pprice {
    text-align: center;
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: green;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}
.p_box:focus,.p_box:hover{
    background: #e9ffd0;
    border-color: #b4d78b;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.p_box.stockout {
    background: #f9caca;
    border-color: rgb(236, 153, 153);
}
.p_box.stockout:hover,.p_box.stockout:focus{
    border-color: rgb(235, 87, 87);
}
.p_box.stockout .pprice{
    color: red;
}
.p_box.stockout .pstock{
    background: red;
}
.qtySelector{
    border: 1px solid var(--color1);
    width: 100px;
    height: 27px;
    margin: auto;
    display: flex;
    align-items: center;
    border-radius: 6px;
    overflow: hidden;
}
.qtySelector .fa{
    padding: 7px 5px;
    width: 36px;
    height: 100%;
    cursor: pointer;
    font-size: 11px;
    background: var(--color1);
    color: #fff;
}
.qtySelector .fa.clicked{
	font-size: 11px;
	padding: 7px 5px;
}
.qtySelector .fa-minus{
	border-right: 1px solid #ddd;
}
.qtySelector .fa-plus{
	border-left: 1px solid #ddd;
}
.qtySelector .qtyValue{
	border: none;
	padding: 3px;
	width: 100%;
	height: 100%;
	text-align: center
}
.cart_item {
    padding: 0.5rem;
    border: 1px solid #d9d9d9;
    border-radius: 7px;
    margin-bottom: 8px;
    background: #efefef;
    position: relative;
}
.cpname {
    position: absolute;
    font-size: 14px;
    color: #000;
    right: 6px;
    left: 6px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.cprice {
    position: absolute;
    top: 30px;
    left: 8px;
    font-weight: bold;
    color: green;
}
.cdiscount {
    position: absolute;
    top: 30px;
    right: 8px;
    font-weight: bold;
    color: green;
}
.ctax {
    position: absolute;
    top: 60px;
    right: 8px;
    font-weight: bold;
    color: green;
}
.cart_dtls {
    overflow: auto;
    position: relative;
    height: calc(100vh - 219px);
    border: 1px solid var(--color1);
}
.cart_dtls .table>tbody>tr {
    background-color: #ddc8c8;
}
.cart_dtls .table>tbody>tr:nth-of-type(2n+1) {
    background-color: #ede3e3;
}
.cart_dtls .table>tbody>tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}
.priceinp{
    width: 81px;
    border: 1px solid #c1c1c1;
    padding: 2px 5px;
    border-radius: 5px;
    background: #fff;
}
.cart_dtls .table>tbody>tr>td .btn{
    padding: 2px 5px;
}
.additions_customers {
    padding-left: 20px;
    padding-right: 20px;
}
.cart_dtls .table {
    font-size: 12px;
    vertical-align: middle;
}
.damt i.fa{
    cursor: pointer;
    color: #FF5722;
    font-size: 14px;
}
.cart_dtls .table thead{
    position: sticky;
    top: -1px;
    z-index: 1;
    left: 0;
}
.pos_buttons label{
    color: #777777;
}
.pos_buttons h6{
    color: #000;
    font-size: 16px;
}
.pos_buttons .btn-group{
    width: 100%;
}
.cursor-pointer{
    cursor: pointer;
}
.pos_buttons {
    padding-right: 20px;
}

.swal-icon:first-child {
    margin-top: 32px;
}
.swal-icon {
    width: 80px;
    height: 80px;
    border-width: 4px;
    border-style: solid;
    border-radius: 50%;
    padding: 0;
    position: relative;
    box-sizing: content-box;
    margin: 20px auto;
}

.swal-icon--warning {
    border-color: #f8bb86;
    -webkit-animation: pulseWarning .75s infinite alternate;
    animation: pulseWarning .75s infinite alternate;
}
.swal-icon--warning__body, .swal-icon--warning__dot {
    position: absolute;
    left: 50%;
    background-color: #f8bb86;
}
.swal-icon--warning__body {
    width: 5px;
    height: 47px;
    top: 10px;
    border-radius: 2px;
    margin-left: -2px;
}
.swal-icon--warning__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-left: -4px;
    bottom: -11px;
}
.holdrefmodal h3{
    font-size: 21px;
}
.holdrefmodal .form-control{
    max-width: 280px;
    margin: auto;
    height: 40px;
}
.others_charges .back_pos {
    display: none;
}
@media screen and (max-width: 1199px)  {

    .pos_buttons {
        padding-right: 10px;
    }
    .checkcart{
        display: inline-block;
    }
}
@media only screen and (max-width : 576px) {
    .p_box {
        height: 133px;
    }
    .pname {
        font-size: 11px;
        height: 24px;    
    }
    .pprice {
        font-size: 12px;
    }
    .p_box img {
        width: 100%;
        height: 60px;
    }
    .pstock {
        font-size: 9px;
    }
    .pos_body .select2-container--classic .select2-selection--single .select2-selection__rendered {
        line-height: 22px;
        font-size: 11px;
    }
    .pos_body .select2-container--classic .select2-selection--single .select2-selection__arrow {
        height: 22px !important;
    }
    .pos_body .select2-container .select2-selection--single {
        height: 24px !important;
    }
    .pos_body .input-group .btn {
        position: relative;
        z-index: 2;
        padding: 2px 6px;
    }
    .pos_body .form-control {
        padding: .175rem .55rem;
        font-size: 1rem;
    }
    .cart_dtls {
        overflow: auto;
        padding: 10px 0px;
        height: calc(100vh - 62px);
    }
    .poscard.cart_dtls .table {
        font-size: 11px;
    }
    .cart_dtls .table thead {
        top: -11px;
    }
    .additions_customers {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 111px;
    }
    .fill-height-auto {
        height: calc(100vh - 299px);
        position: absolute;
        top: 111px;
        left: 0;
        right: 0;
    }
    .pos_buttons{
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }
    .responsive_cart_list {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        z-index: 99;
        transform: translate(101%, 0px);
        transition: all 0.3s;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
    }
    .responsive_cart_list.open{
        transform: translate(0%, 0px);
    }

    .pos_buttons label {
        font-size: 11px;
    }
    .pos_buttons h6 {
        font-size: 14px;
    }
    .pos_buttons .btn {
        padding: 6px !important;
    }
    .select2-dropdown {
        border-radius: 0px !important;
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1051;
        bottom: 0 !important;
        /* max-height: calc(100vh - 300px); */
        max-height: 240px;
        box-shadow: 0px 0px 20px #0000007a;
    }
    .others_charges .back_pos {
        display: block;
    }
}
