.padding_tb_10{padding:10px 0}.margin_b_10{margin-bottom:10px}.fs_small{font-size:.8em}.main-container{padding-top:10px}@media (max-width:767px){.main-container{padding-top:0}}.main-container h1{padding-bottom:10px;border-bottom:1px dotted #ccc;margin-bottom:15px}.backoffice_form{margin:40px 70px}@media (max-width:767px){.backoffice_form{margin:10px 0}}.table thead th{text-align:center}.frm_admin h3{color:#2e6da4;border-bottom:1px solid #ebf3f9}.frm_view{font-size:1.3em}.view_label{display:block;font-weight:400;padding:2px 0;color:grey}.view_img{padding:5px 0}.view_imgs{padding:5px 2px}/*# sourceMappingURL=default.css.map */
.font-weight-bold{font-weight: bold;}
.font-weight-normal{font-weight: normal;}
.fs11{font-size: 11px;}
.fs12{font-size: 12px;}
.fs13{font-size: 13px;}
.fs14{font-size: 14px;}
.fs15{font-size: 15px;}
.fs16{font-size: 16px;}
.fs17{font-size: 17px;}
.fs18{font-size: 18px;}
.fs19{font-size: 19px;}
.fs20{font-size: 20px;}
*
{
    font-family: 'Kanit', sans-serif;
}
.font-no-style
{
    font-family : "Helvetica Neue","Helvetica",Arial,sans-serif !important;
}

.navbar
{
    margin-bottom: 5px;   
}

.navbar-brand img
{
    height:45px; 
    vertical-align:middle; 
    display:inline-block;
}
.navbar-brand span.title
{
    display: none;
}
/* XS */
@media(max-width : 767px)
{
    .navbar-brand span.title
    {
        display: inline-block;
    }
}


.tr-subtotal td
{
    background-color: #deeaee;
}

.tr-danger td 
{
    background-color : #ffcccc !important;
}

.padding-end-page
{
    padding-bottom: 40px;
}

/*
   ==== Slider Switch====
<label class="switch">
  <input type="checkbox">
  <span class="slider round"></span>
</label>
*/
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin-bottom: 0px;
}

.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: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

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

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

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

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
/*==== END Slider Switch====*/

.text-nowrap
{
    white-space: nowrap;
}
.textbox-center
{
    text-align: center;
}

/*fixed table width problem*/
.table td,
.table th
{
    /*white-space:normal !important;*/
}


.header_underline
{
    border-bottom:  1px dashed #ddd;
    padding-bottom:  5px;
}

/* แสดง Button เหมือน Mobile */
.header_with_button
{
    position: relative;

}
.header_with_button :after
{
    clear: both;
}

.header_with_button .btn 
{
    float: left;
}

/* แสดงวันที่ Title*/
.txt_date_word
{
    font-weight: bold;
    font-size: 20px;
}
.txt_date
{
    font-weight: normal;
    font-size: 14px;
}    

.label-success-outline
{
    background-color: transparent;
    border: 1px solid #5fb95f;
    color: #5fb95f;
}

.btn-success-outline
{
    background: none;
    color: green;
    border: 1px solid green;
}
.btn-danger-outline
{
    background: none;
    color: #990D11;
    border: 1px solid #990D11;
}
.btn-warning-outline
{
    background: none;
    color: #B79B0C;
    border: 1px solid #B79B0C;
}

dl dt
{
    color: #007a99;
    font-weight: normal;
}
.badge-danger
{
    background-color: #990D11;
    color: #fff;    
}

.ligth-sign
{
    border-radius: 50%;
    width: 14px;
    height: 14px;
    line-height: 20px;
    vertical-align: middle;
    opacity: 0.4;
}

#ajax-loading {
    margin-left: 5px;
    background-image: url('../images/please_wait.gif');
    background-repeat: no-repeat;
    color: #1d5987;
}

/*Alert*/ 
#wrap_alert
{
    position: fixed;
    right: 10px;
    width: 400px;
    bottom: 30px;      
    z-index: 888;
}
@media(max-width : 767px)
{
    #wrap_alert
    {
        left: 10px;
        width: auto;
        max-height: 500px;
        overflow: scroll;        
    }
}
#wrap_alert .list-group
{
    margin-bottom: 5px;
}
#wrap_alert #btn_dismiss_alert
{
    display: none;
}

#wrap_alert_rice, #wrap_alert_appointment
{
    padding: 10px;    
    background-color: #FFE6E6;
    box-shadow: 0 5px 13px 0 rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 5px 13px 0 rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 0 5px 13px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 5px 13px 0 rgba(0, 0, 0, 0.1);
    -o-box-shadow: 0 5px 13px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 8px;
}
/*EndAlert*/ 

/*pagination*/
.pagination li
{
    font-size: 18px;
}

/* XS */
@media(max-width : 767px)
{
    .header_with_button h1 
    {
        text-align:  right;
    }
    .breadcrumb
    {
        display: none;
    }
    .txt_date_word
    {
        padding-top: 8px;
        display: block;
        font-size: 16px;
    }
    .form-col-xs-padding-tb
    {
        padding-top: 10px;
    }
}

/***********
  Table on XS Flex 
    Used on 
    - Delivery
***********/
@media(max-width : 767px)
{
    .table-responsive.table-flex-xs
    {
        width:100%;
        overflow:hidden;
        border: none;
    }
    .table-responsive.table-flex-xs table
    {
        width:100%;
        max-width:100%;
        overflow:hidden;
        border: none;
    }
    .table-responsive.table-flex-xs table thead
    {
        display:none;
    }
    .table-responsive.table-flex-xs table tbody tr 
    {
        display:flex;
        flex-direction: row;
        flex-wrap: wrap; 
        position: relative;
        border: 1px solid #ddd;
        border-bottom: 1px solid #ccc;
        box-shadow: 2px 2px #ccc;
        margin-bottom: 5px;
    }
    .table-responsive.table-flex-xs table tbody tr td 
    {
        display:block;
        border: none !important;
    }

    /* Case table delivery */
    .table-responsive.table-flex-xs table#tbl_delivery tbody tr td:nth-child(1)
    {
        position: absolute;
        bottom : 4px;
        right: 2px;
        font-size: 1.4rem;
        color: #bbb;
        background-color: #ededed;
        border-radius: 8px;
        padding: 2px 8px;
    }
    .table-responsive.table-flex-xs table#tbl_delivery tbody tr td:nth-child(2),
    .table-responsive.table-flex-xs table#tbl_delivery tbody tr td:nth-child(3)
    {
        width:100%;
    }
    .table-responsive.table-flex-xs table#tbl_delivery tbody tr td:nth-child(2)
    {
        font-size:2.0rem;
        white-space: normal;
    }
    /* End Case table delivery */

    /* Case table edit rice */
    .table-responsive.table-flex-xs table#tbl_rice_list tbody tr td:nth-child(1)
    {
        font-size: 2.0rem;
        font-weight:bold;
        width: 100%;
    }
    .table-responsive.table-flex-xs table#tbl_rice_list tbody tr td:nth-child(2),
    .table-responsive.table-flex-xs table#tbl_rice_list tbody tr td:nth-child(3)
    {        
        width: 50%;
    }
    .table-responsive.table-flex-xs table#tbl_rice_list tbody tr td:nth-child(4)
    {        
        width: 100%;
    }
    /* EndCase table edit rice */

    /* Table bill debt*/
    .table-responsive.table-flex-xs table#tbl_bill_debt tbody tr td:nth-child(1)
    {
        font-size: 16px;
        width: 100%;       
        white-space: normal;
    }
    .table-responsive.table-flex-xs table#tbl_bill_debt tbody tr td:nth-child(4)
    {
        padding-left: 20px;
    }
    /* EndCase table bill debt */

    /* Table Rice all*/
    .table-responsive.table-flex-xs table#tbl_rice_all tbody tr td:nth-child(1)
    {
        display: none;
    }
    .table-responsive.table-flex-xs table#tbl_rice_all tbody tr td:nth-child(2)
    {
        font-size: 22px; 
        padding-right: 15px;
        width: 100%;
    }
    .table-responsive.table-flex-xs table#tbl_rice_all tbody tr td:nth-child(3)
    {
        position: absolute;
        right: 10px;
        top: 5px;
    }
    .table-responsive.table-flex-xs table#tbl_rice_all tbody tr td:nth-child(8)
    {
        width: 30%;
    }
    /* EndCase table Rice all */

    /* Case table print_bill */    
    .table-responsive.table-flex-xs table#tbl_print_bill tbody tr td:nth-child(1)
    {
        position: absolute;
        top : 4px;
        left: 2px;
        font-size: 1.4rem;
        color: #bbb;
        border-radius: 8px;
        padding: 2px 8px;
    }
    .table-responsive.table-flex-xs table#tbl_print_bill tbody tr td:nth-child(2)
    {
        display: none;
    }
    .table-responsive.table-flex-xs table#tbl_print_bill tbody tr td:nth-child(3)
    {
        position: absolute;
        bottom : 4px;
        right: 2px;
        font-size: 1.4rem;
        color: #bbb;
        background-color: #ededed;
        border-radius: 8px;
        padding: 2px 8px;
    }
    .table-responsive.table-flex-xs table#tbl_print_bill tbody tr td:nth-child(4)
    {
        margin-left : 30px;
        font-size:1.0em;
        white-space: normal;
    }
    .table-responsive.table-flex-xs table#tbl_print_bill tbody tr td:nth-child(6)
    {
        width:100%;
    }
    /* End Case table print_bill */

    /* Table Purchase*/
    .table-responsive.table-flex-xs table#tbl_purchase_all tbody tr td:nth-child(1)
    {
        position: absolute;
        bottom : 4px;
        right: 2px;
        font-size: 1.4rem;
        color: #bbb;
        background-color: #ededed;
        border-radius: 8px;
        padding: 2px 8px;
    }
    .table-responsive.table-flex-xs table#tbl_purchase_all tbody tr td:nth-child(2)
    {
        width: 100%;
        color: gray;
        font-size: 15px;
    }
    .table-responsive.table-flex-xs table#tbl_purchase_all tbody tr td:nth-child(3),
    .table-responsive.table-flex-xs table#tbl_purchase_all tbody tr td:nth-child(4)
    {
        width: 50%;
        text-align: left;
    }
    .table-responsive.table-flex-xs table#tbl_purchase_all tbody tr td:nth-child(4)
    {
        color:steelblue;
        font-weight: bold;
    }
    .table-responsive.table-flex-xs table#tbl_purchase_all tbody tr td:nth-child(5)
    {
        position: absolute;
        top : 0px;
        right: 4px;
    }
    .table-responsive.table-flex-xs table#tbl_purchase_all tbody tr td:nth-child(6),
    .table-responsive.table-flex-xs table#tbl_purchase_all tbody tr td:nth-child(7)
    {
        width: 50%;
    }
    .table-responsive.table-flex-xs table#tbl_purchase_all tbody tr td:nth-child(8),
    .table-responsive.table-flex-xs table#tbl_purchase_all tbody tr td:nth-child(9)
    {
        text-align: left;
        width: 100%;
    }
    /* EndCase table Purchase */

}

/* width > XS*/
@media(min-width : 768px)
{
    #wrap-btn-multi-select
    {
        text-align: right;
    }
}

@media print
{
    .col-print-1 {width:8%;  float:left;}
    .col-print-2 {width:16%; float:left;}
    .col-print-3 {width:25%; float:left;}
    .col-print-4 {width:33%; float:left;}
    .col-print-5 {width:42%; float:left;}
    .col-print-6 {width:50%; float:left;}
    .col-print-7 {width:58%; float:left;}
    .col-print-8 {width:66%; float:left;}
    .col-print-9 {width:75%; float:left;}
    .col-print-10{width:83%; float:left;}
    .col-print-11{width:92%; float:left;}
    .col-print-12{width:100%; float:left;}

    .hide-print
    {
        display: none;
    }

    a[href]:after {
        content: none !important;
    }

}
