/*
site
*/
    /*
    匯入
    */
        @import url('../inc/jQueryScroll/jquery.mCustomScrollbar.css');

    /*
    結構
    */
        input[readonly]{
        /*
        note: over-ride browser's default readonly style
        */
            background-color: #f5f5f5 !important;
        }

        /* tool */
            .red_border{
                border: 1px solid red;
            }
            .relative{
                position: relative;
            }
            .dashed{
                border-top: 1px dashed #dfcfbf;
            }
            .center{
                margin: 0 auto;
            }
            .font_size9{
                font-size: 9pt;
            }
            .font_size10{
                font-size: 10pt;
            }
            .font_size11{
                font-size: 11pt;
            }
            .font_size12{
                font-size: 12pt;
            }

        /* front_html, front_body */
            .front_html, .front_body{
                position: relative;
                margin: 0;
                padding: 0;
                background-color: #f8ecd4;
                font-family: "微軟正黑體","Microsoft JhengHei","Heiti TC";
                overflow-x: hidden;
            }

        /* 導覽列 */
            .mx-navbar{
                top: 0px;
                border: 0px;
                background-color: #41210f !important;
                height: 50px;
            }
            .mx-navbar .mx-navbar-header{
                background-color: #41210f !important;
            }
            .mx-navbar .navbar-toggle{
                border-color: #41210f !important;
                background-color: #41210f !important;
            }
            .mx-navbar .navbar-toggle:link {
                border-color: #41210f !important;
            }
            .mx-navbar .navbar-toggle:visited {
                border-color: #41210f !important;
            }
            .mx-navbar .navbar-toggle:hover {
                border-color: #41210f !important;
            }
            .mx-navbar .navbar-toggle:active {
                border-color: #41210f !important;
            }
            .mx-navbar .mx-navbar-brand{
                width: 184px;
                position: absolute;
                top: 1px;
                left: 0;
                right: 0;
                margin-left: auto;
                margin-right: auto;                
            }
            .mx-navbar .icon-bar{
                background-color: #c39452 !important;
            }
            .mx-navbar-logo{
                margin-top: -10px;
            }
            .mx-navbar .navbar-collapse{
                width: 50%;
                float: right;
                background-color: #edd4ac !important;
                font-size: 10pt;
            }
            .mx-navbar .navbar-collapse li{
            }
            .mx-navbar .navbar-collapse span{
                display: block;                
                font-weight: bolder;                
            }
            .mx-navbar .navbar-collapse .xs_menu_ch{
                font-size: 12pt;
                color: #4f3220;
                /*text-shadow: 1px 1px 1px #4f3220;*/
            }
            .mx-navbar .navbar-collapse .xs_menu_en{
                font-size: 10pt;
                color: #b79068;
            }   
            .mx-navbar .navbar-collapse .dashed{
                margin: 0 auto;
                width: 80%;
                border-top: 1px dashed #bc966e;
            }   

        /* m_content */
            .m_content{
                position: relative;
                padding: 0;
                padding-top: 35px;
            }

            .m_news_div{
                position: absolute;
                top: 12%;
                left: -1.5%;
            }
            .m_news_text_content{
                padding: 0;
                width: 85%;
                /*font-weight: bold;*/
                font-weight: normal;
                color: #5c3723;     
                padding-top: 2px;
            }
            .m_news_text_content:not(:first-child){
                border-top: 1px dashed #dfcfbf;
            }
            .m_news_text_content span{
                display: block;
                /*margin: 1.5px 0;*/
            }

            .m_product_div{
                position: absolute;
                width: 85%;
                top: 8%;
                overflow-x: hidden;
                overflow-y: auto;
                left: 0;
                right: 0;
                margin-left: auto;
                margin-right: auto;
            }
            .m_product_div .mCSB_scrollTools{
                height: 85%;
                margin: 20px 0px 20px 0px;
            }
            .m_product_div .mCSB_draggerRail{
                background-color: #E3C493;
                vertical-align: middle;
                border: 0px solid;
                width: 10px;
                box-shadow: -2px 2px 2px #666 inset;
            }
            .m_product_div .mCSB_dragger{
                background: url('../img/scroll_line.png') 50% 50% no-repeat #63350C;
                border-radius: 5px;
                z-index: 2;
            }
            .m_product_div .mCSB_dragger_bar{
                display: none;
            }
            .m_product_div .mCSB_buttonUp, .m_product_div .mCSB_buttonDown{
                color: black;
            }
            .m_product_div .col-xs-12:not(:first-child){
                position: relative;
                margin-top: 10px;
            }
            .m_product_div .m_coffee_type{
                position: relative;
                margin-top:8px;
                float:left;
                clear:both;
            }
            .m_product_div .m_product_code{
                position: relative;
                font-weight: bold;
                color: #5c3723;            
                font-size: 12pt;
            }
            .m_product_div .m_product_name{
                position: relative;
                font-weight: bold;
                /*color: #5c3723;  */
                color: #6A3906;
                font-size: 12pt;
            }
            .m_product_div .m_product_new{
                position: relative;
                font-weight: bold;
                color: #e40000;  
                font-size: 12pt;
            }
            .m_product_div .m_product_price{                
                position: relative;
                display: block;
                /*color: #744010;      */
                color: #956134;
                font-size: 11pt;
                margin-top: -10px;
                margin-left: 5%;
                margin-bottom: 2px;
            }
            .m_product_div .m_product_cont{
                position: relative;                
                /*color: #908882;*/
                color: #5A504C;
                font-size: 11pt;
                margin-left: 5%;
                margin-bottom: 0;
            }
            
            .m_category_div{
                position: absolute;
                right: 2%;
                top: 2%;
                overflow: hidden;
                border: 0px solid red;
                z-index: 99;
            }
            .m_category_div .m_category_row{
                position: absolute;
                border: 0px solid red;
                overflow: hidden;
                padding-top: 23%;
                border: 0px solid red;
                left: 0;
                right: 0;
                margin-left: auto;
                margin-right: auto;     
            }
            .m_category_div .m_category_row > div{
                padding: 0;
            }
            .m_category_div .m_category_row .m_category_content{
                font-size: 10px;
                -webkit-transform: scale(0.83);
                -o-transform: scale(1);
                display: inline-block
                font-weight: bold;
                margin: 0 auto;
                color: #5d3c20;
                border: 0px solid red;
                width: 100%;
            }

            .m_search{
                position: absolute;
                right: 3%;
                bottom: 23%;
            }

            @media screen and (min-width: 300px) and (max-width: 400px) {
                .m_category_div .m_category_row{
                    left: 12%;
                }
                .m_product_div .m_coffee_type{
                    width: 12px;
                    height: 12px;
                }
            }
            @media screen and (min-width: 400px) and (max-width: 500px) {
                .m_product_div .m_coffee_type{
                    width: 14px;
                    height: 14px;
                    top: -2px;
                }
            }
            @media screen and (min-width: 500px) and (max-width: 600px) {
                .m_product_div .m_coffee_type{
                    width: 16px;
                    height: 16px;
                    top: -3px;
                }
            }
            @media screen and (min-width: 600px) and (max-width: 700px) {
                .m_product_div .m_coffee_type{
                    width: 18px;
                    height: 18px;
                    top: -4px;
                }
            }
            @media screen and (min-width: 700px) and (max-width: 800px) {
                .m_product_div .m_coffee_type{
                    width: 20px;
                    height: 20px;
                    top: -5px;
                }
            }
            @media screen and (min-width: 800px) and (max-width: 900px) {
                .m_product_div .m_coffee_type{
                    width: 22px;
                    height: 22px;
                    top: -6px;
                }
            }
            @media screen and (min-width: 900px) and (max-width: 1023px) {
                .m_product_div .m_coffee_type{
                    width: 22px;
                    height: 22px;
                    top: -7px;
                }
            }