/* Browser */
@media screen and (min-width: 1100px) {
    .jpos-popup {
        width: 60%;
        left: 20%;
    }

    .product-list {
        height: 98%;
        width: 40%;
        margin-right: 2%;
    }

    .customer-map {
        height: 98%;
        width: 28%;
        margin-right: 2%;
    }

    .receipt-list {
        height: auto;
        width: 28%;
    }
}

/* Pad */
@media screen and (max-width: 1099px) and (min-width: 601px) {
    .jpos-popup {
        width: 70%;
        left: 15%;
    }

    .product-list {
        height: 98%;
        width: 40%;
        margin-right: 2%;
    }

    .customer-map {
        height: 98%;
        width: 28%;
        margin-right: 2%;
    }

    .receipt-list {
        height: auto;
        width: 28%;
    }
}

/* Phone*/
@media screen and (max-width: 600px) {
    .jpos-popup {
        width: 90%;
        left: 5%;
    }

    .product-list {
        height: 300px;
        width: 100%;
    }

    .customer-map {
        margin-top: 20px;
        height: 300px;
        width: 100%;
    }

    .receipt-list {
        margin-top: 20px;
        margin-bottom: 20px;
        height: auto;
        width: 100%;
    }
}

/* popup */
.jpos-popup {
    position: absolute;
    height: 80%;
    box-shadow: 4px 4px 6px 0 rgba(0, 0, 0, 0.5);
    top: 10%;
    z-index: 5;
    box-sizing: border-box;
    background: #272c33;
}

.jpos-popup .jpos-popup-top {
    width: 100%;
    height: 50px;
}

.jpos-popup .jpos-popup-top h3 {
    margin-top: 10px;
    text-align: center;
    color: #ffffff;
}

.jpos-popup .jpos-popup-body {
    width: 100%;
    height: 85%;
    overflow: auto;
}

.jpos-popup .off {
    font-size: 14pt;
    font-weight: 700;
    color: #616366;
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

.jpos-popup .off:hover {
    color: #ff6200;
}

/* jpos */
.jpos {
    width: 100%;
    position: absolute;
    height: 100%;
    z-index: 5;
    box-sizing: border-box;
    background: #272c33;
    font-family: sans-serif;
    font-size: 11px;
    font-weight: normal;
    font-style: normal;
    float: none;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
}

.jpos .jpos-menubar {
    overflow: auto;
    width: 100px;
    height: 100%;
    background-color: rgb(46, 41, 38);
    float: left;
}

.jpos .jpos-menubar .menubar-son {
    color: rgb(93, 88, 85);
    outline: none;
    font-family: sans-serif;
    font-size: 11px;
    font-weight: normal;
    font-style: normal;
    float: none;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    border: none;
    position: relative;
    height: 100px;
    width: 100%;
    background-color: transparent;
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: center;
    background-position-y: 30%;
}

.jpos .jpos-menubar .menubar-son .menu-text {
    position: absolute;
    display: block;
    bottom: 18px;
    width: 100%;
    left: 0px;
}

.jpos .jpos-menubar .menubar-son .menu-logo {
    margin-top: -20px;
    height: 55%;
    width: 60%;
}

.menu {
    cursor: pointer;
}

.menu:hover {
    background-color: rgb(195, 128, 101) !important;
    color: rgb(242, 232, 231) !important;
}

.ticket {
    background-image: url("images/ticket-basic.png");
}

.ticket:hover {
    background-image: url("images/ticket-hover.png") !important;
}

.normal {
    background-image: url("images/normal-basic.png");
}

.normal:hover {
    background-image: url("images/normal-hover.png") !important;
}

.locker {
    background-image: url("images/locker-basic.png");
}

.locker:hover {
    background-image: url("images/locker-hover.png") !important;
}

.sports {
    background-image: url("images/sports-basic.png");
}

.sports:hover {
    background-image: url("images/sports-hover.png") !important;
}

.lesson {
    background-image: url("images/lesson-basic.png");
}

.lesson:hover {
    background-image: url("images/lesson-hover.png") !important;
}

.jpos .jpos-bodybar {
    height: 100%;
    overflow: auto;
    background-image: linear-gradient(90deg, rgb(195, 128, 101), rgb(119, 84, 78) 50%, rgb(50, 47, 56)) !important;
    float: left;
}

.jpos .jpos-bodybar .bodybar-top {
    text-align: right;
    white-space: nowrap;
    overflow-x: auto;
    width: 100%;
    height: 60px;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.jpos .jpos-bodybar .bodybar-top select {
    font-size: 11pt;
    outline: none;
    cursor: pointer;
    float: left;
    color: white;
    height: 25px;
    background: transparent;
    margin-top: 18px;
    border: 1px solid white;
    margin-left: 10px;
}

.jpos .jpos-bodybar .bodybar-top select option {
    color: black;
}

.jpos .jpos-bodybar .bodybar-top h1 {
    float: left;
    cursor: pointer;
    color: rgb(242, 232, 231);
    margin-top: 20px;
    font-size: 16pt;
    font-weight: 800;
    display: inline-block;
}

.jpos .jpos-bodybar .bodybar-top .top-menu {
    margin-top: 4px;
    cursor: pointer;
    height: 50px;
    width: 90px;
    color: rgb(242, 232, 231);
    margin-left: 50px;
    cursor: pointer;
    position: relative;
    text-align: left;
    border: none;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: left;
    background-size: 24px;
    outline: none;
}

.jpos .jpos-bodybar .bodybar-top .top-menu:hover {
    color: #ff6200;
}

.new-product {
    background-image: url("images/plus-basic.png");
}

.new-product:hover {
    background-image: url("images/plus-hover.png");
}

.modify-product {
    background-image: url("images/modify-basic.png");
}

.modify-product:hover {
    background-image: url("images/modify-hover.png");
}

.delete-product {
    background-image: url("images/delete-basic.png");
}

.delete-product:hover {
    background-image: url("images/delete-hover.png");
}

.jpos .jpos-bodybar .bodybar-top .top-menu img {
    margin-top: 12px;
    margin-right: 10px;
    width: 24px;
}

.jpos .jpos-bodybar .bodybar-top .top-menu a {
    position: absolute;
    right: 7px;
    top: 20px;
}

.jpos .jpos-bodybar .bodybar-body {
    width: 100%;
    height: 85%;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.jpos .jpos-bodybar .bodybar-body .jpos-body {
    float: left;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
}


/**
    Product List
 */
.product-list .body-grid {
    height: calc(100% - 50px);
    overflow: auto;
}

.product-list .body-grid .grid-son {
    padding: 10px;
    box-sizing: border-box;
    height: 140px;
    width: 100%;
    cursor: pointer;
}


.product-list .body-grid .grid-son:hover {
    background-color: #ff6200 !important;
}

.product-list .body-grid .grid-son .son-preview {
    position: relative;
    background-color: #f2e8e7;
    float: left;
    width: 30%;
    height: 100%;
    line-height: 80px;
    border-radius: 5px;
}

.product-list .body-grid .grid-son .son-preview img {
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    margin: auto;
    right: 0px;
}

.product-list .body-grid .grid-son .son-content {
    position: relative;
    float: left;
    padding: 10px;
    box-sizing: border-box;
    width: 70%;
    height: 100%;
}

.product-list .body-grid .grid-son .son-content h1 {
    cursor: pointer;
    color: rgb(242, 232, 231);
    font-size: 12pt;
    font-weight: 800;
    display: inline-block;
}

.product-list .body-grid .grid-son .son-content h2 {
    cursor: pointer;
    color: rgb(242, 232, 231);
    font-size: 12pt;
    font-weight: 800;
    display: inline-block;
    position: absolute;
    right: 0px;
}

.product-list .body-grid .grid-son .son-content a {
    font-family: sans-serif;
    font-size: 11px;
    font-weight: 300;
    font-style: normal;
    float: none;
    color: rgb(242, 232, 231);
}

.product-list .body-grid .grid-son .son-content .son-content-town {
    height: 50px;
    width: 100%;
    overflow: auto;
}

.product-list .body-grid .grid-son .son-content .son-content-town a {
    display: block;
}

/**
    Customer Map
 */
.customer-map .customer-body {
    width: 100%;
    height: calc(100% - 50px);
    padding: 10px;
    box-sizing: border-box;
    overflow: auto;
}

.customer-map .customer-body .customer-body-son {
    overflow: auto;
    height: auto;
    width: 100%;
    text-align: center;
    padding-bottom: 10px;
}

.customer-map .customer-body .customer-body-son h1 {
    color: rgb(178, 167, 165);
    text-align: center;
}

.customer-map .customer-body .customer-body-son .preview-window {
    text-align: center;
    float: left;
    width: 30%;
    height: 100%;
    overflow: hidden;
}

.customer-map .customer-body .customer-body-son .preview-window img {
    border-radius: 100%;
    max-width: 100%;
    max-height: 100%;
}


.customer-map .customer-body .customer-body-son .content-window {
    text-align: left;
    padding: 10px;
    box-sizing: border-box;
    float: left;
    margin-left: 5%;
    width: 65%;
    height: 100%;
}

.customer-map .customer-body .customer-body-son .content-window h2 {
    cursor: pointer;
    color: rgb(242, 232, 231);
    font-size: 12pt;
    font-weight: 800;
    margin-bottom: 10px;
}

.customer-map .customer-body .customer-body-son .content-window a {
    cursor: pointer;
    display: block;
    color: rgb(242, 232, 231);
    font-size: 10pt;
    font-weight: 400;
}

.customer-map .customer-body .customer-body-son-bro {
    height: auto;
    width: 100%;
    border-top: 1px solid rgb(207, 194, 192);
    padding: 10px;
    box-sizing: border-box;
    position: relative;
}

.customer-map .customer-body .customer-body-son-bro input {
    margin-top: 5px;
}

.customer-map .customer-body .customer-body-son-bro .lockerroom-top {
    /*margin-bottom: 15px;*/
}

.customer-map .customer-body .customer-body-son-bro h1 {
    font-size: 13pt;
    margin-top: 30px;
    color: rgb(178, 167, 165);
    text-align: center;
}

.customer-map .customer-body .customer-body-son-bro h2 {
    text-align: center;
    cursor: pointer;
    color: rgb(242, 232, 231);
    font-size: 12pt;
    font-weight: 600;
    margin-bottom: 10px;
}

.customer-map .customer-body .customer-body-son-bro a {
    cursor: pointer;
    display: block;
    color: rgb(242, 232, 231);
    font-size: 11pt;
    font-weight: 300;
    margin-bottom: 5px;
}

.customer-map .customer-body .customer-body-son-bro p {
    display: inline-block;
    color: rgb(242, 232, 231);
    font-size: 11pt;
    font-weight: 300;
    margin-right: 10px;
}

.customer-map .customer-body .customer-body-son-bro .find-locker {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    border: none;
    width: 100%;
    height: 27px;
    margin-bottom: 20px;
    outline: none;
    padding: 5px;
    font-size: 10pt;
    font-weight: 300;
    color: white;
    box-sizing: border-box;
}

.customer-map .customer-body .customer-body-son-bro .find-locker::placeholder {
    color: rgb(189, 192, 185);
}

.customer-map .customer-body .customer-body-son-bro select {
    margin-top: 5px;
    margin-bottom: 15px;
    width: 100%;
    font-size: 10pt;
    outline: none;
    cursor: pointer;
    color: white;
    height: 28px;
    background: #5f4f4d;
    border: none;
}

.customer-map .customer-body .customer-body-son-bro .jpos-date {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    border: none;
    width: 100%;
    height: 27px;
    margin-bottom: 20px;
    outline: none;
    padding: 5px;
    font-size: 10pt;
    font-weight: 300;
    color: white;
    box-sizing: border-box;
}

.customer-map .customer-body .customer-body-son-bro .jpos-input {
    background-color: rgba(0, 0, 0, 0.3);
    /*border-radius: 5px;*/
    border: none;
    width: 120px;
    margin-left: 10px;
    height: 27px;
    margin-bottom: 10px;
    outline: none;
    padding: 5px;
    font-size: 10pt;
    font-weight: 300;
    color: white;
    box-sizing: border-box;
}

.customer-map .customer-body .customer-body-son-bro .jpos-input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #909090;
}

.customer-map .customer-body .customer-body-son-bro textarea {
    background-color: rgba(0, 0, 0, 0.3);
    /*box-shadow: 4px 4px 6px 0 rgba(0, 0, 0, 0.5);*/
    border-radius: 2px;
    border: none;
    width: 100%;
    height: 80px;
    margin-top: 5px;
    margin-bottom: 25px;
    outline: none;
    resize: none;
    padding: 5px;
    font-size: 10pt;
    font-weight: 300;
    color: white;
    box-sizing: border-box;
}

.customer-map .customer-body .customer-body-son-bro textarea::placeholder {
    color: rgb(189, 192, 185);
}

.customer-map .customer-body .customer-body-son-bro .will-buy {
    color: #3b3531;
    font-weight: 700;
    display: inline-block;
    margin-left: 5px;
    font-size: 10.5pt;
}

/**
    Receipt List
 */

.receipt-list {
    background-color: #f7f7f7 !important;
    position: relative;
}

.receipt-list:after {
    background: linear-gradient(-45deg, #4c444b 16px, transparent 0), linear-gradient(45deg, #5e4e51 16px, transparent 0);
    background-repeat: repeat-x;
    background-size: 30px 30px;
    content: " ";
    display: block;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 30px;
}

.receipt-list .top-search h1 {
    color: #735b58;
}

.receipt-list .receipt-body {
    width: 100%;
    height: 80%;
    padding: 10px;
    box-sizing: border-box;
    overflow: auto;
}

.receipt-list .receipt-body .receipt-body-son {
    width: 100%;
    height: 120px;
    border-bottom: 1px solid #e1dce2;
    padding-bottom: 10px;
    box-sizing: border-box;
}

.receipt-list .receipt-body .receipt-body-son .receipt-body-preview {
    background-color: #453f47;
    float: left;
    width: 30%;
    height: 100%;
    line-height: 120px;
    text-align: center;
    border-radius: 2px;
}

.receipt-list .receipt-body .receipt-body-son .receipt-body-preview img {
    max-width: 90%;
    max-height: 90%;
    vertical-align:middle;
}

.receipt-list .receipt-body .receipt-body-son .receipt-body-content {
    float: left;
    position: relative;
    box-sizing: border-box;
    margin-left: 2%;
    width: 65%;
    height: 100%;
}

.receipt-list .receipt-body .receipt-body-son .receipt-body-content h1 {
    cursor: pointer;
    color: black;
    font-size: 11pt;
    overflow: auto;
    font-weight: 600;
    margin-bottom: 3px;
    height: 17px;
    white-space: nowrap;
}

.receipt-list .receipt-body .receipt-body-son .receipt-body-content h2 {
    position: absolute;
    right: 0px;
    cursor: pointer;
    font-size: 11pt;
    font-weight: 400;
    float: right;
    color: #ff6200;
}

.receipt-list .receipt-body .receipt-body-son .receipt-body-content a {
    font-family: sans-serif;
    font-size: 11px;
    font-weight: 300;
    font-style: normal;
    float: none;
    color: black;
    display: block;
}

.receipt-list .receipt-body .receipt-body-bro {
    width: 100%;
    padding: 5px;
    height: auto;
    box-sizing: border-box;
}

.receipt-list .receipt-body .receipt-body-bro .receipt-body-tab {
    height: 40px;
}

.receipt-list .receipt-body .receipt-body-bro .receipt-body-tab .tab-btn {
    white-space: nowrap;
    overflow-x: hidden;
    cursor: pointer;
    height: 30px;
    width: 33%;
    outline: none;
    font-size: 12pt;
    font-weight: 700;
    border: none;
    color: #493b3f;
    box-sizing: border-box;
    border-bottom: 2px solid transparent;
    background: transparent;
}

.receipt-list .receipt-body .receipt-body-bro .receipt-body-tab .tab-btn:hover {
    border-bottom: 2px solid #493b3f !important;
}

.receipt-list .receipt-body .receipt-body-bro h1 {
    font-size: 15pt;
    font-weight: 800;
    margin-top: 10px;
    margin-bottom: 10px;
    color: black;
    text-align: right;
}

.receipt-list .receipt-body .receipt-body-bro .jpos-isr {
    height: 40px;
    float: left;
    margin-top: 10px;
    width: 27%;
    margin-left: 18%;
    font-size: 10pt;
}

.receipt-list .receipt-body .receipt-body-bro .jpos-buy {
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12pt;
    font-weight: 500;
    margin-top: 10px;
    background-color: #ff6200;
    color: whitesmoke;
    outline: none;
    border: none;
    width: 50%;
    margin-left: 5%;
}

.receipt-list .receipt-body .receipt-body-bro .jpos-buy:hover {
    background-color: #1e88e5;
}

.receipt-list .receipt-body .receipt-body-bro .receipt-way {
    min-height: 30px;
    margin-bottom: 10px;
    position: relative;
}

.receipt-list .receipt-body .receipt-body-bro .receipt-way p {
    font-size: 11pt;
    font-weight: 300;
    color: red;
    position: absolute;
    top: 20px;
    right: 45%;
}

.receipt-list .receipt-body .receipt-body-bro .receipt-way a {
    cursor: pointer;
    font-size: 14pt;
    font-weight: 400;
    margin-top: 10px;
    color: black;
    display: block;
}

.receipt-list .receipt-body .receipt-body-bro .receipt-way select {
    position: absolute;
    right: 0px;
    top: 0px;
    height: 25px;
    width: 40%;
    cursor: pointer;
}

.receipt-list .receipt-body .receipt-body-bro .receipt-way input {
    margin-top: 5px;
    font-size: 12pt;
    width: 100%;
    color: black;
    height: 30px;
    border: none;
    border-bottom: 1px solid #2b2b2b;
    background: none;
    outline: none;
}

.receipt-list .receipt-body .receipt-body-bro .receipt-way .tiny {
    font-size: 9pt;
    width: 40%;
    border-bottom: 1px solid #a6a6a6;
    text-align: center;
    float: right;
    margin-right: 2px;
}

.top-search {
    overflow-x: auto;
    white-space: nowrap;
    height: 50px;
    line-height: 30px;
    text-align: right;
    padding: 10px;
    box-sizing: border-box;
}

.top-search h1 {
    font-style: normal;
    cursor: pointer;
    color: rgb(242, 240, 208);
    font-size: 14pt;
    font-weight: 600;
    display: inline-block;
    float: left;
}

.top-search .sort {
    display: inline-block;
    cursor: pointer;
    color: white;
    float: left;
    border-left: 1px solid #dabfa65e;
    margin-left: 10px;
    padding-left: 10px;
}

.top-search .sort img {
    width: 15px;
    height: 15px;
    float: right;
    margin-top: 6px;
    margin-left: 5px;
}

.top-search .search {
    margin-top: 3px;
    width: 105px;
    height: 26px;
    display: inline-block;
    border-bottom: 1px solid rgb(242, 240, 208);
}

.top-search .search img {
    width: 20px;
    margin-right: 10px;
}

.top-search .search input {
    width: 65px;
    color: rgb(242, 240, 208);
    height: 20px;
    border: none;
    background: none;
    float: right;
    outline: none;
}

.top-search .search input::placeholder {
    color: #f2e8e7;
}

.jpos-tiny-popup {
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
    position: absolute;
    padding: 10px;
    height: auto;
    z-index: 5;
    box-sizing: border-box;
    background-color: rgba(0,0,0,0.8);
    border-radius: 5px;
    color: white;
    font-size: 9pt;
    font-weight: 300;
    width: 210px;
}

.jpos-tiny-popup img {
    width: 15px;
    height: 15px;
    margin-bottom: 5px;
}

.jpos-tiny-popup .jpos-tiny-popup-top {
    height: 20px;
    text-align: center;
    padding: 5px;
    box-sizing: border-box;
}

.jpos-tiny-popup .jpos-tiny-popup-body {
    height: calc(100% - 20px);
    overflow: auto;
}

.jpos-tiny-popup .jpos-tiny-popup-body a {
    color: rgb(238, 233, 233);
    font-size: 11pt;
    top: 10px;
    left: 30px;
    position: absolute;
    font-weight: 400;
}

.jpos-tiny-popup .off {
    font-size: 8pt;
    font-weight: 500;
    color: #cccccc;
    cursor: pointer;
}

.jpos-tiny-popup .off:hover {
    color: #ff6200;
}

.receipt-list .receipt-body .receipt-body-bro .receipt-way label{
    margin-top: 5px;
    color: #838383;
    height: 30px;
    border: none;
    background: none;
    outline: none;
    line-height: 31px;
}


.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 30px;
    margin-right: 10px;
    vertical-align: middle;
}

.switch input {display:none;}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

p#toggle-label{
    margin:0px 10px;
    float: right;
    font-size:15px;
    font-weight:bold;
    line-height: 30px;
}

.grid-son .son-content select{
    font-size: 11pt;
    outline: none;
    cursor: pointer;
    float: left;
    color: white;
    height: 25px;
    background: transparent;
    border: 1px solid white;
    z-index: 100;
    position: absolute;
    width: 60px;
}

.grid-son .son-content select option{
    color: black;
}

.locker-view-icon{
    width: 17px;
    position: absolute;
    right: 15px;
    top: 131px;
    cursor: pointer;
}

.recently-recommend-area{
    position: absolute;
    display: flex;
    width: auto;
    height: auto;
    z-index: 101;
    border: 1px #737373 solid;
    background: #2e2e2e;
    color: white;
    border-radius: 5px;
}

.recently-recommend-area .recently-recommend-li{
    display: flex;
    width: 90px;
    height: 25px;
    font-size: 12px;
    justify-content: center;
    align-items: center;
    background: rgb(46, 46, 46);
    padding: 3px 0;
    cursor: pointer;
}
.recently-recommend-area .recently-recommend-li:hover{
    background: rgb(120, 120, 120);
}
