body {
    overflow: hidden;
    font-family: "Microsoft JhengHei";
    background-image: url('../images/background.png');
}
#main {
    padding-top: 50px;
    overflow-y: hidden;
    background-color: none;

}

#calLeft {
    width: 40%;
    float: left;
}
#calRight {
    width: 60%;
    float: left;
}

#discountLeft,#discountRight {
    width: 50%;
    float: left;
}

.padnum {
    width: 60px;
    height: 60px;
    background: orange;
    text-align: center;
    line-height: 60px;
    margin: 3px;
    border-radius: 10px;
    display: inline-block;
}

.padnumontouch {
    background: blue;
    color: white;
}
#num_pad {
}

#nums {
    width: 220px;
    float: left;
}
#specNum {
    width: 200px;
    float: left;
}

.rightnum {
    text-align: right;
}

.funcBut {
    display: block;
    margin: 3px;
    height: 62px;
    width: 120px;
    line-height: 60px;
}

.controlButs {
    line-height: 50px;
    font-size: 30px;
}
.controlButsSmall {
    width: 50%;
    line-height: 30px;
    font-size: 24px;
}

.myicons {
    margin-left: 20px;
}

#invoiceTable, .pastInvoiceTable {
    margin: 30px auto 0 auto;
    box-shadow: #ccc 0px 0px 5px;
    width: 100%;
    background: #fff;
}

.pastInvoiceTable {
    zoom: 0.7;
}

#invoiceTable tfoot {
    border: 2px #aaa dashed;
}

#invoiceBody {
    border: 2px #ccc solid;
}

#invoiceFrame {
    overflow: auto;
    background: rgba(255,255,255,0.6);
}

#productPanel {
    margin-top: 30px;
}

#pastInvoices {
    overflow: hidden;
}

.productPanel {
    margin: 10px 5px 10px 5px ;
    width: 250px;
    height: 150px;
    background: #eeeeee;
    border: 1px #f00 solid;
}

.productPic {
    width: 80px;
    display: block;
    margin: 0 auto 0 auto;
}

.productTitle {
    font-family: "Microsoft JhengHei";
    text-align: left;
    margin-top: 10px;
    background: rgba(255,255,255,0.85);
    padding: 5px;
    border_radius: 5px;
}
.productCategory {
    font-size: 14px;

}

.productSubCategory {
    text-align: right;
    font-size: 24px;
    color: darkred;
}

.smallSubCat {
    font-size: 20px;
}

.productColor {
    text-align: right;
    font-size: 20px;
    color: #666;
}
.productHead {
    text-align: right;
    font-size: 20px;
}

.productPrice {
    font-size: 18px;
    font-family: "Microsoft JhengHei";
    text-align: left;
    background: rgba(255,255,255,0.85);
    color: darkred;
    padding: 5px;
}

.catProducts {
    max-height: 600px;
}

#controlFrame {
    padding-top: 20px;
    background: #fff;
}

.slider {
    width: 90%;
    height: 630px;
    margin: 0px auto;
}

.slick-slide {
    margin: 0px 20px;
}

.slick-slide img {
//width: 100%;
}

.slick-prev:before,
.slick-next:before {
    color: black;
}


.slick-slide {
    transition: all ease-in-out .3s;
    opacity: .2;
}

.slick-active {
    opacity: .5;
}

.slick-current {
    opacity: 1;
}

.sliderTable {
    margin-top: 30px;
}

.pastInvoices {
    height: 650px;
    overflow-x: hidden;
    overflow-y: auto;
}

.latest {
    margin-left: 10px;
}

#lastInvoiceToPrint {
    border: 1px #00f dashed;
    padding: 10px;
    margin: 10px auto 10px auto;
    border-radius: 10px;
    line-height: 40px;
}

#productList {
    height: 900px;
    overflow: auto;
}
#productBreadCrumb {
    background: #666;
    color: white;
    font-size: 24px;
    padding: 5px 10px 5px 10px ;
    border-radius: 10px;
}

.productDisplayDistrict {
    display: inline-block;
    float: left;
    width: 230px;
    line-height: 80px;
    font-size: 30px;
    text-align: center;
    height: 80px;
    margin-left: 10px;
    margin-top: 10px;
    border-radius: 10px;
    border: 1px red solid;
    background: rgba(255,255,255,0.75);
    color: darkred;
}

.productDisplayDistrictSmall {
    font-size: 24px;
}

.breadcrumb {
    display: inline-block;
    background: none;
    padding: 0;
    line-height: 30px;
}

@media only screen and (max-width: 1280px) {
    body {
        overflow: hidden;
        font-family: "Microsoft JhengHei";
        background-image: url('../images/background.png');
    }
    #main {
        padding-top: 50px;
        overflow-y: hidden;
        background-color: none;

    }

    #calLeft {
        width: 40%;
        float: left;
    }
    #calRight {
        width: 60%;
        float: left;
    }

    #discountLeft,#discountRight {
        width: 50%;
        float: left;
    }

    .padnum {
        width: 60px;
        height: 60px;
        background: orange;
        text-align: center;
        line-height: 60px;
        margin: 3px;
        border-radius: 10px;
        display: inline-block;
    }

    .padnumontouch {
        background: blue;
        color: white;
    }
    #num_pad {
    }

    #nums {
        width: 220px;
        float: left;
    }
    #specNum {
        width: 200px;
        float: left;
    }

    .rightnum {
        text-align: right;
    }

    .funcBut {
        display: block;
        margin: 3px;
        height: 62px;
        width: 120px;
        line-height: 60px;
    }

    .controlButs {
        line-height: 50px;
        font-size: 30px;
    }
    .controlButsSmall {
        width: 50%;
        line-height: 30px;
        font-size: 24px;
    }

    .myicons {
        margin-left: 20px;
    }

    #invoiceTable, .pastInvoiceTable {
        margin: 30px auto 0 auto;
        box-shadow: #ccc 0px 0px 5px;
        width: 100%;
        background: #fff;
    }

    .pastInvoiceTable {
        zoom: 0.7;
    }

    #invoiceTable tfoot {
        border: 2px #aaa dashed;
    }

    #invoiceBody {
        border: 2px #ccc solid;
    }

    #invoiceFrame {
        overflow: auto;
        background: rgba(255,255,255,0.6);
    }

    #productPanel {
        margin-top: 30px;
    }

    #pastInvoices {
        overflow: hidden;
    }

    .productPanel {
        margin: 5px 3px 5px 3px ;
        width: 180px;
        height: 100px;
        background: #eeeeee;
        border: 1px #f00 solid;
    }

    .productPic {
        width: 80px;
        display: block;
        margin: 0 auto 0 auto;
    }

    .productTitle {
        font-family: "Microsoft JhengHei";
        text-align: left;
        margin-top: 2px;
        background: rgba(255,255,255,0.85);
        padding: 3px;
        border_radius: 5px;
    }
    .productCategory {
        font-size: 12px;

    }

    .productSubCategory {
        text-align: right;
        font-size: 16px;
        color: darkred;
    }

    .smallSubCat {
        font-size: 14px;
    }

    .productColor {
        text-align: right;
        font-size: 16px;
        color: #666;
    }
    .productHead {
        text-align: right;
        font-size: 16px;
    }

    .productPrice {
        font-size: 12px;
        font-family: "Microsoft JhengHei";
        text-align: left;
        background: rgba(255,255,255,0.85);
        color: darkred;
        padding: 2px;
    }

    .catProducts {
        max-height: 600px;
    }

    #controlFrame {
        padding-top: 20px;
        background: #fff;
    }

    .slider {
        width: 90%;
        height: 630px;
        margin: 0px auto;
    }

    .slick-slide {
        margin: 0px 20px;
    }

    .slick-slide img {
    //width: 100%;
    }

    .slick-prev:before,
    .slick-next:before {
        color: black;
    }


    .slick-slide {
        transition: all ease-in-out .3s;
        opacity: .2;
    }

    .slick-active {
        opacity: .5;
    }

    .slick-current {
        opacity: 1;
    }

    .sliderTable {
        margin-top: 30px;
    }

    .pastInvoices {
        height: 650px;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .latest {
        margin-left: 10px;
    }

    #lastInvoiceToPrint {
        border: 1px #00f dashed;
        padding: 10px;
        margin: 10px auto 10px auto;
        border-radius: 10px;
        line-height: 40px;
    }

    #productList {
        height: 900px;
        overflow: auto;
    }
    
    #productBreadCrumb {
        background: #666;
        color: white;
        font-size: 20px;
        padding: 5px 10px 5px 10px ;
        border-radius: 10px;
    }

    .productDisplayDistrict {
        display: inline-block;
        float: left;
        width: 150px;
        line-height: 50px;
        font-size: 20px;
        text-align: center;
        height: 50px;
        margin-left: 5px;
        margin-top: 5px;
        border-radius: 10px;
        border: 1px red solid;
        background: rgba(255,255,255,0.75);
        color: darkred;
    }

    .productDisplayDistrictSmall {
        font-size: 16px;
    }

    .breadcrumb {
        display: inline-block;
        background: none;
        padding: 0;
        line-height: 30px;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    /* CSS */

    #invoiceTable {
        zoom: 0.5;
    }

    #productPanel {
        zoom: 0.75;
    }

    #controlButs {
        zoom: 0.75;
    }

    #pastInvoices {
        zoom: 0.7;
    }

    #tmpInvs {
        zoom: 0.7;
    }

    #todayAccount {
        zoom: 0.7;
    }

    .controlButs {
        line-height: 30px;
        font-size: 20px;
    }

    .controlButsSmall {
        width: 50%;
        line-height: 30px;
        font-size: 16px;
    }

    .productTitle {
        font-size: 12px;
    }

    .productPrice {
        font-size: 12px;
    }

    .productPic {
        width: 40px;
    }
    .productPanel {
        width: 140px;
    }
}
