@charset "utf-8";

/* div{border:1px solid red;} */

input,
select {
    margin: 1px;
    padding: 2px;
}

input[type="time"] {
    padding: 0px;
}

button:hover {
    cursor: pointer;
}

form {
    height: auto;
    overflow: auto;
}

.rec {
    background: #ECECEC;
}

.input_bg_w:read-only {
    background: #ffffff !important;
}

.btn,
a.btn {
    width: auto;
    height: auto;
    padding: 5px 15px 5px 15px;
    background: #F1F1F1;
    border: 0px;
    border-radius: 4px;
    cursor: pointer;
    margin: 1px;
    box-shadow: 0px 1px 0px rgba(92, 90, 90, 0.6);
    border: 1px solid #bbb;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
}

.btn:hover,
a.btn:hover {
    background-color: #ececec;
}

.btn:disabled,
a.btn:disabled {
    background-color: #F1F1F1;
    opacity: 0.4;
    cursor: not-allowed;
}

.btn_w100 {
    width: 98% !important;
    height: 100% !important;
    margin-left: auto;
    margin-right: auto;
}

.btn_small {
    width: auto;
    height: 24px;
    line-height: 24px;
    padding-left: 8px;
    padding-right: 8px;
    background: #F1F1F1;
    border: 0px;
    border-radius: 2px;
    cursor: pointer;
    margin: 1px;
    box-shadow: 0px 1px 0px #5c5a5a88;
    border: 1px solid #bbb;
    font-size: 12px;
}

.btn_small:hover {
    background-color: #ececec;
}

.btn_small:disabled {
    background-color: #f1f1f1;
    opacity: 0.4;
    cursor: not-allowed;
}

.btn_sm {
    width: 35px;
    height: 35px;
    background: #F1F1F1;
    border: 0px;
    border-radius: 4px;
    cursor: pointer;
    margin: 1px;
    box-shadow: 0px 1px 0px #5c5a5a;
    border: 1px solid #bbb;
    font-size: 15px;
    line-height: 35px;
}

.btn_sm:hover {
    background-color: #ececec;
}

.btn_sm:disabled {
    background-color: #F1F1F1;
    opacity: 0.4;
    cursor: not-allowed;
}

.btn_sm_100 {
    width: 100%;
    height: 35px;
    background: #F1F1F1;
    border: 0px;
    border-radius: 4px;
    cursor: pointer;
    margin: 1px;
    box-shadow: 0px 1px 0px #5c5a5a;
    border: 1px solid #bbb;
    font-size: 15px;
    line-height: 35px;
}

.btn_btn_sm_100sm:hover {
    background-color: #ececec;
}

.btn_sm_100:disabled {
    background-color: #F1F1F1;
    opacity: 0.4;
    cursor: not-allowed;
}

.btn_xs {
    width: 80px;
    height: 25px;
    background: #F1F1F1;
    border: 0px;
    border-radius: 4px;
    cursor: pointer;
    margin: 2px;
    box-shadow: 0px 1px 0px #5c5a5a;
    border: 1px solid #bbb;
    font-size: 13px;
    line-height: 35px;
    text-align: left;
}

.btn_xs:hover {
    background-color: #ececec;
}

.btn_xs:disabled {
    background-color: #F1F1F1;
    opacity: 0.4;
    cursor: not-allowed;
}

.btn_link {
    width: 20px;
    height: 20px;
    background: #F1F1F1;
    border: 0px;
    border-radius: 4px;
    cursor: pointer;
    margin: 1px;
    box-shadow: 0px 1px 0px #5c5a5a;
    border: 1px solid #bbb;
    font-size: 15px;
    line-height: 35px;
    padding-left: 3px;
    padding-right: 3px;
}

.btn_link:hover {
    background-color: #ececec;
}

.btn_indigo,
a.btn_indigo {
    background-color: #4E6B9E;
    border-color: #4E6B9E;
    color: #fff;
    line-height: 20px;
}

.btn_indigo:hover {
    background-color: #819ac5;
    border-color: #819ac5;
    color: #fff;
}

.btn_indigo:disabled {
    background: #b1bac9;
    border-color: #b1bac9;
}

.btn_indigo:focus {
    background: #819ac5;
    color: #fff;
}

.btn_red,
a.btn_red {
    background-color: #DC3545;
    border-color: #DC3545;
    color: #fff;
    line-height: 20px;
}

.btn_red:hover {
    background-color: #ee5f5b;
    border-color: #ee5f5b;
    color: #fff;
}

.btn_red:disabled {
    background: #dddddd;
    border-color: #dddddd;
}

.btn_red:focus {
    background: #ee5f5b;
    color: #fff;
}

.btn_green,
a.btn_green {
    background-color: #28A745;
    border-color: #28A745;
    color: #fff;
    line-height: 20px;
}

.btn_green:hover,
a.btn_green:hover {
    background-color: #39c459;
    border-color: #39c459;
    color: #fff;
}

.btn_green:focus,
a.btn_green:focus {
    background: #39c459;
    color: #fff;
}

.btn_green:disabled,
a.btn_green:disabled {
    background: #b5e4c0;
    border-color: #b5e4c0;
}

.btn_yellow {
    background-color: #FFC107;
    border-color: #FFC107;
    color: #3d3d3d;
    line-height: 20px;
}

.btn_yellow:hover {
    background-color: #ffd558;
    border-color: #ffd558;
}

.btn_yellow:disabled {
    background: #dddddd;
    border-color: #dddddd;
}

.btn_yellow:focus {
    background-color: #FFC107;
    color: #3d3d3d;
}

.btn_blue {
    background-color: #00AAD4;
    border-color: #00AAD4;
    color: #fff;
    line-height: 20px;
}

.btn_blue:focus {
    background-color: #00AAD4;
    color: #fff;
}

.btn_blue:hover {
    background-color: #80cee2;
    border-color: #80cee2;
    color: #fff;
}

.btn_blue:disabled {
    background: #dddddd;
    border-color: #dddddd;
}

.btn_draft {
    background-color: #bfe2eb;
    border-color: #bfe2eb;
    line-height: 20px;
}

.btn_draft:focus {
    background-color: #bfe2eb;
}

.btn_draft:hover {
    background-color: #cce6ec;
    border-color: #cce6ec;
}

.btn_draft:disabled {
    background: #dddddd;
    border-color: #dddddd;
}

.btn_normal {
    background-color: #e4e4e4;
    border-color: #e4e4e4;
    line-height: 20px;
}

.btn_normal:focus {
    background-color: #EEEEEE;
}

.btn_normal:hover {
    background-color: #dddddd;
    border-color: #dddddd;
}

.btn_normal:disabled {
    background: #dddddd;
    border-color: #dddddd;
}

.box_status {
    width: 62px;
    height: auto;
    padding: 5px 0px 5px 0px;
    background: #f5f5f5;
    color: #ffffff;
    border-radius: 4px;
    margin: 1px;
    font-size: 12px;
    text-align: center;
}

.space {
    width: auto;
    height: 20px;
}


/* text */

.tx_center {
    text-align: center !important;
}

.tx_right {
    text-align: right !important;
}

.tx_left {
    text-align: left !important;
}

.tx_error {
    color: red !important;
    font-style: italic;
}

.tx_black {
    color: #202020 !important;
}

.tx_blue {
    color: rgb(16, 86, 207) !important;
}

.tx_red {
    color: red !important;
}

.tx_green {
    color: #07b301 !important;
}

.tx_yellow {
    color: #e9c602 !important;
}

.tx_gray {
    color: #e2e2e2 !important;
}

.tx_white {
    color: #ffffff !important;
}

.tx_unline {
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 1px;
    margin-right: 1px;
    border-bottom: 1px dotted #000000;
    width: auto;
    height: auto;
    color: #1c3fdb;
}

.tx_table {
    font-size: 12px !important;
} 

/* ย่อหน้า */
.tx_indent{
    text-indent: 50px;
}


/* backgroud */

.bg_white {
    background: #FFFFFF !important;
}

.bg_right {
    background: rgb(112, 112, 112) !important;
}


/* hr */

hr.hr_line {
    border: 0;
    height: 1px;
    background: #DDDDDD;
}


/* end Style */


/* ALl
----------------------------------------------- */

body,
th,
td {
    height: 100%;
    margin: 0;
    font-family: tahoma;
    font-size: 14px;
}

#container {
    width: 100%;
    height: auto;
    padding-top: 10px;
}

#header {
    z-index: 99;
    height: 40px;
    position: fixed;
    top: 0px;
    width: 100%;
    background-image: url(../images/logo/logo.png);
    background-size: 32px auto;
    background-repeat: no-repeat;
    background-position: 10px center;
    background-color: #21A465;
    /* background-color: #1765D1; */
    color: #FFFFFF;
    font-size: 14px;
    overflow: hidden;
}

.header-left {
    width: 50%;
    float: left;
    position: relative;
    padding-left: 50px;
    line-height: 40px;
    box-sizing: border-box;
}

.header-right {
    width: 50%;
    height: auto;
    line-height: 35px;
    float: right;
    position: relative;
    text-align: right;
    padding-right: 20px;
    box-sizing: border-box;
}

.header-right a {
    color: #fff;
    text-decoration: none;
}

.header-right a:hover {
    color: #afafaf;
}

.header_md {
    display: block;
}

.header_sx {
    display: none;
}

#menu {
    z-index: 98;
    background-color: #F3F3F3;
    width: 100%;
    height: auto;
    padding-bottom: 5px;
    position: fixed;
    top: 40px;
}

#menu_main {
    z-index: 98;
    float: left;
    position: relative;
    width: 100%;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-right: auto;
    margin-left: auto;
}

#menu_main ul {
    float: left;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

#menu_main li {
    float: left;
    position: relative;
    width: auto;
    margin-top: 2px;
    margin-right: 3px;
    margin-left: 3px;
}

#menu_main li a {
    display: block;
    height: 72px;
    width: 80px;
    text-decoration: none;
    text-align: center;
    color: #000000;
    border: 1px solid #BABABA;
    font-size: 14px;
    padding-top: 35px;
    box-sizing: border-box;
    line-height: 14px;
}

#menu_main li.w_90 a {
    width: 90px !important;
}

#menu_main li.w_130 a {
    width: 130px !important;
}

#menu_main li.active {
    background-color: #d2f1ff;
}

#menu_main li a:hover {
    color: #000000;
    background-color: #E5E5E5;
}

#menu_main_icon {
    width: 100%;
    height: auto;
    background: #d4d4d4;
    overflow: auto;
}

#menu_main_icon a {
    color: #272444;
    padding: 8px;
    margin: 4px;
    float: right;
    text-decoration: none;
}

#menu_main_icon {
    display: none;
}

.m_home a {
    background: url(../images/menu/m_home.png) no-repeat;
    background-size: auto 38px;
    background-position: center 4px;
}

.m_status a {
    background: url(../images/menu/m_status.png) no-repeat;
    background-size: auto 38px;
    background-position: center 4px;
}

.m_system a {
    background: url(../images/menu/m_system.png) no-repeat;
    background-size: auto 38px;
    background-position: center 4px;
}

.m_report a {
    background: url(../images/menu/m_report.png) no-repeat;
    background-size: auto 38px;
    background-position: center 4px;
}

.m_import a {
    background: url(../images/menu/m_import.png) no-repeat;
    background-size: auto 38px;
    background-position: center 4px;
}

.m_npl_new a {
    background: url(../images/menu/m_npl_new.png) no-repeat;
    background-size: auto 38px;
    background-position: center 4px;
}
.m_npl a {
    background: url(../images/menu/m_npl.png) no-repeat;
    background-size: auto 38px;
    background-position: center 4px;
}

.m_com a {
    background: url(../images/menu/m_com.png) no-repeat;
    background-size: auto 38px;
    background-position: center 4px;
}

.m_appoint a {
    background: url(../images/menu/m_appoint.png) no-repeat;
    background-size: auto 40px;
    background-position: center 4px;
}


.m_member a {
    background: url(../images/menu/m_member1.png) no-repeat;
    background-size: auto 38px;
    background-position: center 4px;
}

.m_loan_gold a {
    background: url(../images/menu/m_loan_gold.png) no-repeat;
    background-size: auto 38px;
    background-position: center 4px;
}

.m_loan_other a {
    background: url(../images/menu/m_loan_other.png) no-repeat;
    background-size: auto 38px;
    background-position: center 4px;
}

.m_contract a {
    background: url(../images/menu/m_contract.png) no-repeat;
    background-size: auto 38px;
    background-position: center 4px;
}


.m_day a {
    background: url(../images/menu/m_day.png) no-repeat;
    background-size: auto 38px;
    background-position: center 4px;
}

.m_pay a {
    background: url(../images/menu/m_pay.png) no-repeat;
    background-size: auto 38px;
    background-position: center 4px;
}

.m_rent a {
    background: url(../images/menu/m_rent.png) no-repeat;
    background-size: auto 38px;
    background-position: center 4px;
}

.m_over a {
    background: url(../images/menu/m_over.png) no-repeat;
    background-size: auto 38px;
    background-position: center 4px;
}

.m_cancel a {
    background: url(../images/menu/m_rent_cancel.png) no-repeat;
    background-size: auto 38px;
    background-position: center 4px;
}

.m_calc a {
    background: url(../images/menu/m_calc.png) no-repeat;
    background-size: auto 38px;
    background-position: center 4px;
}


.m_salary a {
    background: url(../images/menu/m_salary.png) no-repeat;
    background-size: auto 38px;
    background-position: center 4px;
}

.m_backup a {
    background: url(../images/menu/m_backup.png) no-repeat;
    background-size: auto 38px;
    background-position: center 4px;
}

.m_product a {
    background: url(../images/menu/m_gold.png) no-repeat;
    background-size: auto 38px;
    background-position: center 4px;
}

#panels {
    position: fixed;
    top: 120px;
    left: 0px;
    height: calc(100% - 120px);
    width: 170px;
    overflow-y: auto;
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    /* background-color: #c60aff; */
    border-right: 1px solid #E9E9E9;
    box-sizing: border-box;
}

#panels #menu_side {
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

#panels #menu_side ul {
    width: auto;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

#panels #menu_side li a {
    display: block;
    width: 100%;
    height: 30px;
    line-height: 30px;
    text-align: left;
    text-decoration: none;
    color: #000;
    margin-bottom: 1px;
    padding-left: 10px;
    box-sizing: border-box;
    border: 1px solid #dddddd;
}

#panels #menu_side li a:hover {
    color: #FFF;
    border: 1px solid #d38f1a;
    background-color: #1765D1;
}

#navi {
    width: 100%;
    height: auto;
    padding: 5px 10px 5px 10px;
    margin-top: 0px;
    margin-bottom: 10px;
    font-size: 18px;
    border-bottom: 1px solid #d6d6d6;
    color: #808080;
    vertical-align: middle;
    box-sizing: border-box;
    overflow: auto;
}

#navi .navi_left {
    position: relative;
    float: left;
    width: 55%;
    height: auto;
    line-height: 35px;
    box-sizing: border-box;
}

#navi .navi_logo img {
    position: relative;
    float: left;
    margin-top: 5px;
    width: auto;
    height: 25px;
    margin-right: 5px;
}

#navi .navi_right {
    position: relative;
    float: right;
    width: 40%;
    height: auto;
    box-sizing: border-box;
}

#content {
    position: fixed;
    width: calc(100% - 170px);
    height: auto;
    left: 170px;
    top: 120px;
    right: 0;
    bottom: 0;
    overflow: auto;
    padding-left: 5px;
    padding-right: 5px;
    box-sizing: border-box;
}

#content_full {
    position: fixed;
    width: 100%;
    /* height: calc(100% - 125px); */
    height: auto;
    top: 125px;
    left: 0;
    right: 0;
    bottom: 0;
    box-sizing: border-box;
    z-index: 1;
}

#content_box {
    width: 100%;
    height: calc(100vh - 180px);
    padding: 0 10px 0 10px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
    overflow: hidden;
}

#content_box_detail {
    width: 100%;
    height: 100%;
    overflow: auto;
    padding-bottom: 50px;
    box-sizing: border-box;
}

#content_box_table {
    width: 100%;
    height: auto;
    overflow: auto;
}

.box_form {
    width: 100%;
    height: auto;
    padding: 20px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
    overflow: auto;
}

#loader {
    top: 0;
    z-index: 99999 !important;
    /* position: absolute; */
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.40);
    text-align: center;
    padding-top: 48vh;
    box-sizing: border-box;
}

#loader2 {
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 99999 !important;
    background: rgba(0, 0, 0, 0.40);
    text-align: center;
    padding-top: 200px;
    box-sizing: border-box;
}

.form_left_box {
    position: relative;
    float: left;
    height: auto;
}

.form_right_box {
    position: relative;
    float: left;
    height: auto;
    margin-left: 10px;
    margin-top: 2px;
}

/* Table head fix
----------------------------------------------- */
.tb_box {
    /* width: 100%; */
    height: auto;
}

.tb_box .tb_header {
    width: 100%;
    height: auto;
    overflow-y: scroll;
}

.tb_box .tb_body {
    width: 100%;
    height: auto;
    overflow-y: scroll;
    overflow-x: hidden;
    background: #C1C1C1;
    box-sizing: border-box;
}

.tb_box .tb_footer {
    width: 100%;
    height: 35px;
    overflow-y: scroll;
    background-color: #dfdfdf;
    /* border: 1px solid #676767; */
    box-sizing: border-box;
}

.tb_box .tb_footer .tb_paging {
    width: 100%;
    height: 35px;
    line-height: 35px;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
    font-weight: bold;
    overflow: hidden;
}

.tb_box .tb_footer .tb_paging .b_left {
    position: relative;
    float: left;
    width: 50%;
    height: auto;
}

.tb_box .tb_footer .tb_paging .b_right {
    position: relative;
    float: right;
    width: 50%;
    height: auto;
}

.tb_box .tb_footer .tb_paging .nav_txt {
    position: relative;
    float: right;
    width: auto;
    height: 26px;
    line-height: 26px;
    text-align: center;
    background-color: #c5c5c5;
    border: 1px solid #7c7c7c;
    margin-top: 3px;
    margin-left: 3px;
    border-radius: 2px;
    padding-left: 8px;
    padding-right: 8px;
}

.tb_box .tb_footer .tb_paging .nav_btn {
    position: relative;
    float: right;
    width: auto;
    height: 28px;
    text-align: center;
    background-color: #c5c5c5;
    border: 1px solid #7c7c7c;
    margin-top: 3px;
    margin-left: 3px;
    border-radius: 2px;
    cursor: pointer;
    padding-left: 8px;
    padding-right: 8px;
}

.tb_box .tb_footer .tb_paging .nav_btn:hover {
    background-color: #dddddd;
}



.tb_list {
    border: 0;
    border-collapse: collapse;
}

.tb_list tr {
    width: 100%;
    height: auto;
}

.tb_list td {
    height: 25px;
    line-height: 20px;
    padding: 3px;
    box-sizing: border-box;
    background: #ffffff;
    border-top: 1px solid #676767;
    border-bottom: 1px solid #676767;
    border-right: 1px solid #676767;
    border-left: 1px solid #676767;
}

.tb_list th {
    height: 25px;
    line-height: 25px;
    padding: 3px;
    box-sizing: border-box;
    background-color: #dfdfdf;
    border-top: 2px solid #676767;
    border-bottom: 5px solid #676767;
    border-right: 1px solid #676767;
    border-left: 1px solid #676767;
}

.tb_list td.sum {
    border-top: 3px solid #666;
    border-left: 1px solid #FFF;
    border-bottom: 1px solid #FFF;
}

.tb_list td.sum_under {
    border-top: 3px solid #666;
    border-bottom: 7px double #666;
}

.tb_list tr:hover td {
    background: #f2f5ff;
}

.tb_list2 {
    border: 0;
    border-collapse: collapse;
}



/* box
----------------------------------------------- */

.box {
    width: 100%;
    height: auto;
    overflow: auto;
    padding: 5px;
    box-sizing: border-box;
}


/* page Login
----------------------------------------------- */

#login_row {
    position: absolute;
    width: 800px;
    height: auto;
    box-sizing: border-box;
    top: 50%;
    left: 50%;
    margin-left: -400px;
    margin-top: -180px;
}

#login_main {
    position: relative;
    float: left;
    width: 60%;
    height: auto;
    padding: 10px;
    box-sizing: border-box;
}

#login_mobile {
    position: relative;
    float: left;
    width: 40%;
    height: auto;
    padding: 10px;
    box-sizing: border-box;
}

#login_main #login {
    width: 100%;
    height: 320px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 2px 1px 5px 1px #383838;
}

#login_main #login_header {
    background-image: url(../images/logo/logo.png);
    background-repeat: no-repeat;
    background-size: 35px auto;
    background-position: 20px center;
    height: 60px;
    line-height: 60px;
    padding-left: 65px;
    font-size: 18px;
    /* background-color: #009CD9; */
    background-color: #21A465;
    color: #FFFFFF;
}

#login_main #login_content {
    height: auto;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

#login_main #login_content input[type="text"],
#login_main #login_content input[type="password"] {
    width: 98%;
}

#login_mobile #mobile {
    width: 100%;
    height: 320px;
    background-color: #21A465;
    /* background: rgba(0, 156, 217, 0.452); */
    /* background-color: rgb(247, 176, 55, 0.452); */
    text-align: center;
    font-size: 1.2em;
    color: #fff;
    padding: 25px;
    box-sizing: border-box;
    box-shadow: 2px 1px 5px 1px #383838;
    cursor: pointer;
}

#login_mobile #mobile #mobile_img {
    position: relative;
    float: left;
    width: 100%;
    height: auto;
}

#login_mobile #mobile #mobile_txt {
    position: relative;
    float: left;
    width: 100%;
    height: auto;
}

.login_error {
    height: auto;
    padding-left: 50px;
    background-color: #FFD8D9;
    border-top: 1px solid #FF0004;
    border-bottom: 1px solid #FF0004;
    color: #FF0004;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 10px;
    margin-right: 10px;
    margin-left: 10px;
}


/* page system
----------------------------------------------- */

.box_status_gr {
    width: 100%;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #28A745;
    border-radius: 4px;
    color: #fff;
}

.box_status_gy {
    width: 100%;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #b39801;
    border-radius: 4px;
}

.box_status_rd {
    width: 100%;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #DC3545;
    border-radius: 4px;
    color: #fff;
}

.box_status_cc {
    width: 100%;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #cacaca;
    border-radius: 4px;
    color: #000;
}


/* Tabs
--------------------------------------------- */
.tabs-box {
    widows: 100%;
    height: calc(100% - 100px);
    padding: 10px;
    box-sizing: border-box;
    overflow: auto;
}

#tabs1 { 
    padding: 0px; 
    background: none; 
    border-width: 0px; 
} 
#tabs1 .ui-tabs-nav { 
    padding-left: 0px; 
    background: transparent; 
    border-width: 0px 0px 1px 0px; 
    -moz-border-radius: 0px; 
    -webkit-border-radius: 0px; 
    border-radius: 0px; 
} 
#tabs1 .ui-tabs-panel { 
    background: #fff; 
    border-width: 0px 1px 1px 1px; 
}



/* status */

.st_r {
    width: 35px;
    height: 35px;
    text-align: center;
    background-color: #12FD00;
    margin-left: auto;
    margin-right: auto;
    line-height: 35px;
    border-radius: 5px;
}

.st_s {
    width: 35px;
    height: 35px;
    text-align: center;
    color: #FFFFFF;
    background-color: #0034FF;
    margin-left: auto;
    margin-right: auto;
    line-height: 35px;
    border-radius: 5px;
}

.st_ns {
    width: 35px;
    height: 35px;
    text-align: center;
    color: #FFFFFF;
    background-color: #0034FF;
    margin-left: auto;
    margin-right: auto;
    line-height: 35px;
    border-radius: 5px;
}

.st_c {
    width: 35px;
    height: 35px;
    text-align: center;
    background-color: #E8FF00;
    margin-left: auto;
    margin-right: auto;
    line-height: 35px;
    border-radius: 5px;
}

.st_n {
    width: 35px;
    height: 35px;
    text-align: center;
    background-color: #FF0004;
    margin-left: auto;
    margin-right: auto;
    color: #FFFFFF;
    line-height: 35px;
    border-radius: 5px;
}


/*
-------------------------------------------------*/

.idx_box_status {
    width: 200px;
    height: auto;
    margin-top: 10px;
    margin-right: 5px;
    margin-bottom: 5px;
    margin-left: 5px;
    position: relative;
    float: left;
}

.idx_box_status_h {
    width: 100%;
    height: 35px;
    background-color: #808080;
    color: #FFFFFF;
    text-align: center;
    line-height: 35px;
    border: 1px solid #c9c9c9;
}

.idx_box_status_b {
    width: 100%;
    height: auto;
    /* background-color: #FFFFFF; */
    border: 1px solid #c9c9c9;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 15px;
}


/*
----------------------------------------------- */

body {
    background-color: #f7f7f7;
    margin: 0px;
    background-color: #fff;
}

@media only screen and (min-width: 1024px) {
    body {
        background-color: #F3F3F3;
    }
}


/* ส่วน container ครอบทุกไอดี -------------------------------------------- */

#m_container {
    margin-top: 3%;
    margin-left: auto;
    margin-right: auto;
    width: 350px;
    /* box-shadow: 0 0 3px #c4c4c4; */
}

@media only screen and (max-width: 1024px) {
    #m_container {
        margin-top: 0%;
        width: 100%;
    }
}


/* ส่วน header // logo สำนักงาน -------------------------------------------- */

#m_header {
    background-color: #1765D1;
    max-width: 100%;
    padding: 10px 15px;
    color: #fff;
    font-size: 18px;
}


/* ส่วน navbar // สาขาที่ตั้ง -------------------------------------------- */

#m_navbar {
    max-width: 100%;
    padding: 15px 20px;
    height: 20px;
    background-color: #fff;
    border-bottom: 1px solid #e6e6e6;
}

#m_navbar .m_navbar_left {
    float: left;
    width: 75%;
    text-align: left;
}

#m_navbar .m_navbar_right {
    float: right;
    width: 25%;
    text-align: right;
}


/* ส่วน เมนู -------------------------------------------- */

#m_menu {
    background-color: #F3F3F3;
    max-width: 100%;
    padding: 5px 15px;
    color: #808080;
}

.m_menu_navi {
    margin: 0px 10px;
}

.m_menu_nav {
    width: 100%;
    position: relative;
}

.m_menu_nav ul {
    width: 100%;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.m_menu_nav li {
    position: relative;
    width: auto;
    margin: 4px 3px 4px 3px;
}

.m_menu_nav li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    text-align: left;
    color: #000000;
    border: 1px solid #BABABA;
    font-size: 15px;
    box-sizing: border-box;
    line-height: 15px;
}

.m_menu_nav li a:hover {
    background-color: #E5E5E5;
}


/* ส่วน ชื่อแต่ละหน้า -------------------------------------------- */

#m_navi {
    max-width: 100%;
    padding: 15px 20px;
    height: 25px;
    background-color: #fff;
}

#m_navi .m_navi_left {
    float: left;
    width: 75%;
    text-align: left;
}

#m_navi .m_navi_right {
    float: right;
    width: 25%;
    text-align: right;
}


/* ส่วน ตาราง -------------------------------------------- */

#m_content {
    max-width: 100%;
    padding: 5px 20px;
    background-color: #fff;
}

.m_tb_list {
    border: 0;
    border-collapse: collapse;
    font-size: 14px;
}

.m_tb_list tr {
    width: 100%;
    height: auto;
}

.m_tb_list td {
    height: 25px;
    line-height: 25px;
    padding: 3px;
    box-sizing: border-box;
    background: #ffffff;
    border-top: 1px solid transparent;
    border-bottom: 1px solid #676767;
    border-right: 1px solid #676767;
    border-left: 1px solid #676767;
}

.m_tb_list th {
    height: 30px;
    line-height: 30px;
    padding: 3px;
    box-sizing: border-box;
    background-color: #dfdfdf;
    border-top: 2px solid #676767;
    border-bottom: 5px solid #676767;
    border-right: 1px solid #676767;
    border-left: 1px solid #676767;
}


/* ส่วน login -------------------------------------------- */

.m_login_box {
    margin-left: auto;
    margin-right: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: auto;
    background-color: #FBFBF9;
    /* box-shadow: 0 0 3px #424242; */
}

.m_login_header {
    padding: 18px 20px;
    color: #fff;
    background-color: #009CD9;
    font-size: 18px;
}

.m_login_form {
    padding: 15px 20px 25px 20px;
}

.m_login_form input[type="text"],
.m_login_form input[type="password"] {
    padding: 2px 0px;
    width: 100%;
}

@media only screen and (min-width: 768px) {
    .m_login_box {
        max-width: 50%;
    }
}

@media only screen and (min-width: 1280px) {
    .m_login_box {
        max-width: 25%;
    }
}


/* ส่วน ปุ่ม และ สี -------------------------------------------- */

.m_btn,
a.m_btn {
    color: #fff;
    padding: 4px 5px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
}

.m_btn_red,
a.m_btn_red {
    background-color: #d63636;
}

.m_btn_red:hover,
a.m_btn_red:hover {
    background-color: #c71a1a;
    color: #fff;
}

.m_btn_blue,
a.m_btn_blue {
    background-color: #009CD9;
}

.m_btn_blue:hover,
a.m_btn_blue:hover {
    background-color: #0281b3;
    color: #fff;
}


/* form
----------------------------------------------- */

.form_box {
    width: 100%;
    height: auto;
    overflow: auto;
    border: 1px solid #e2e2e2;
    padding: 20px 10px 20px 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.form_style1 ul {
    width: 100%;
    height: auto;
    overflow: auto;
    padding: 0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
}

.form_style1 ul li {
    float: left;
    padding: 5px;
    width: auto;
    box-sizing: border-box;
}

.form_style1 ul li label {
    display: block;
}

.form_style1 select.w_200 {
    width: 200px;
}

.form_style1 select.w_100 {
    width: 100px;
}

/* width
----------------------------------------------- */

.w_200,
input[type="text"].w_200 {
    width: 200px !important;
}

.w_150,
input[type="text"].w_150 {
    width: 150px !important;
}

.w_100,
input[type="text"].w_100 {
    width: 100px !important;
}

.w_100p,
input[type="text"].w_100p {
    width: 99% !important;
}

/* Dialog */

.ui-dialog-titlebar {
    background-image: url(../images/logo/logo.png);
    background-repeat: no-repeat;
    background-size: 25px auto;
    background-position: 10px center;
}

.ui-dialog-title {
    padding-left: 30px;
}

.ui-widget-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0.6;
}


/* end All ++++++++++++++ */

/* Paper
---------------------------------------------------------*/
.A4_box{
    position: relative;
    width: 211mm;
    height: 298mm;
    border: 1px solid #f3f3f3;
    background-color: #ffffff;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    -webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5);
    box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5);
}

.A4{
    position: relative;
    width: 210mm;
    height: 297mm;
    padding: 20px;
    box-sizing: border-box;
}

.EVO_box{
    position: relative;
    width: 235mm;
    height: 115mm;
    border: 1px solid #f3f3f3;
    background-color: #ffffff;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    -webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5);
    box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5);
}

.EVO{
    position: relative;
    width: 234mm;
    height: 114mm;
    padding: 20px;
    box-sizing: border-box;
}


/* row
----------------------------------------------------------------- */

.row {
    position: relative;
    width: 100%;
    height: auto;
    overflow: auto;
    box-sizing: border-box;
}

.col_1 {
    width: 8.333333%;
    position: relative;
    float: left;
    height: auto;
    padding: 3px;
    overflow: auto;
    box-sizing: border-box;
}

.col_2 {
    width: 16.666667%;
    position: relative;
    float: left;
    height: auto;
    padding: 3px;
    overflow: auto;
    box-sizing: border-box;
}

.col_3 {
    width: 25%;
    position: relative;
    float: left;
    height: auto;
    padding: 3px;
    overflow: auto;
    box-sizing: border-box;
}

.col_4 {
    width: 33.333333%;
    position: relative;
    float: left;
    height: auto;
    padding: 3px;
    overflow: auto;
    box-sizing: border-box;
}

.col_5 {
    width: 41.666667%;
    position: relative;
    float: left;
    height: auto;
    padding: 3px;
    overflow: auto;
    box-sizing: border-box;
}

.col_6 {
    width: 50%;
    position: relative;
    float: left;
    height: auto;
    padding: 3px;
    overflow: auto;
    box-sizing: border-box;
}

.col_7 {
    width: 58.333333%;
    position: relative;
    float: left;
    height: auto;
    padding: 3px;
    overflow: auto;
    box-sizing: border-box;
}

.col_8 {
    width: 66.666667%;
    position: relative;
    float: left;
    height: auto;
    padding: 3px;
    overflow: auto;
    box-sizing: border-box;
}

.col_9 {
    width: 75%;
    position: relative;
    float: left;
    height: auto;
    padding: 3px;
    overflow: auto;
    box-sizing: border-box;
}

.col_10 {
    width: 83.333333%;
    position: relative;
    float: left;
    height: auto;
    padding: 3px;
    overflow: auto;
    box-sizing: border-box;
}

.col_11 {
    width: 91.666667%;
    position: relative;
    float: left;
    height: auto;
    padding: 3px;
    overflow: auto;
    box-sizing: border-box;
}

.col_12 {
    width: 100%;
    position: relative;
    float: left;
    height: auto;
    padding: 3px;
    overflow: auto;
    box-sizing: border-box;
}


/* Validation
---------------------------------------------------------*/
.error {
    background: #ffb5b5;
    outline: #fc3b3b auto 5px;
}

label.error {
    color: red;
    font-size: 14px;
    font-style: italic;
}

input[type="text"].error {
    background: #ffb5b5;
    outline: #fc3b3b auto 5px;
}

input[type="checkbox"].error {
    outline: #fc3b3b auto 5px;
    background-color: #ff0000 !important;
}

input[type="radio"].error {
    background: #ffb5b5;
    outline: #fc3b3b auto 5px;
}

input[type="password"].error {
    background: #ffb5b5;
    outline: #fc3b3b auto 5px;
}

input[type="time"].error {
    background: #ffb5b5;
    outline: #fc3b3b auto 5px;
}

input[type="file"].error {
    background: #ffb5b5;
    outline: #fc3b3b auto 5px;
}

textarea.error {
    background: #ffb5b5;
    outline: #fc3b3b auto 5px;
}

select.error {
    background: #ffb5b5;
    outline: #fc3b3b auto 5px;
}

input[readonly] {
    background-color: #F7F7F7;
}

textarea[readonly] {
    background-color: #F7F7F7;
}


/*error*/

.alert_success {
    width: 100%;
    height: auto;
    line-height: 30px;
    border-top: 1px solid #66CC33;
    border-bottom: 1px solid #66CC33;
    background-color: #E8FFD9;
    padding-left: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
    color: #66CC33;
}

.alert_error {
    width: 100%;
    height: auto;
    line-height: 30px;
    border-top: 1px solid #CC3333;
    border-bottom: 1px solid #CC3333;
    background-color: #ffdcdc;
    padding-left: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    color: #CC3333;
}

.alert_table {
    width: 100%;
    height: 30px;
    line-height: 30px;
    padding-left: 20px;
    background-color: #FCFFE6;
    color: darkgoldenrod;
    box-sizing: border-box;
    /* border: 1px solid darkgoldenrod; */
}

.alert {
    width: 100%;
    height: 30px;
    line-height: 30px;
    padding-left: 20px;
    background-color: #FCFFE6;
    color: darkgoldenrod;
    box-sizing: border-box;
    border: 1px solid darkgoldenrod;
}


input[type="checkbox"].chkUser {
    display: none;
}

input[type="checkbox"].chkUser {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: -2px 2px 0 0;
    vertical-align: middle;
    cursor: pointer;
}

input[type="checkbox"][disabled].chkUser {
    cursor: not-allowed;
    opacity: 0.4;
}


/* ----------- modal box -------------- */
#modal_panels{
    position: relative;
    float: left;
    left: 0px;
    height: calc(100% - 120px);
    width: 170px;
    overflow-y: auto;
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    border-right: 1px solid #E9E9E9;
    box-sizing: border-box;
}

#modal_panels #menu_side {
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

#modal_panels #menu_side ul {
    width: auto;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

#modal_panels #menu_side li a {
    display: block;
    width: 100%;
    height: 30px;
    line-height: 30px;
    text-align: left;
    text-decoration: none;
    color: #000;
    margin-bottom: 1px;
    padding-left: 10px;
    box-sizing: border-box;
    border: 1px solid #dddddd;
}

#modal_panels #menu_side li a:hover {
    color: #FFF;
    border: 1px solid #d38f1a;
    background-color: #1765D1;
}

#modal_content {
    position: relative;
    float: left;
    width: calc(100% - 180px);
    height: auto;
    overflow: auto;
    padding-left: 5px;
    padding-right: 5px;
    box-sizing: border-box;
}


/* Payment insert
--------------------------------------- */
.pay_box_left{
    position: relative;
    float: left;
    width:calc(100% - 430px);
    height: auto;
    /* padding: 10px; */
    /* background: #39c459; */
    box-sizing: border-box;
}
.pay_box_right{
    position: relative;
    float: right;
    width:420px;
    height: auto;
    padding: 10px;
    border: 1px solid #dadada;
    border-radius: 4px;
    background: #ffffff;
    box-sizing: border-box;
}

.box_red{
    width: 100%;
    height: auto;
    background-color: #ffd5d5;
    padding: 10px;
    box-sizing: border-box;
    overflow: auto;
    margin-bottom: 10px;
}

input[type="file"] {
    border: 1px solid #d1d1d1;
    background-color: #fff;
    display: inline-block;
    padding: 3px 3px;
    cursor: pointer;
}