@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;
}

.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;
}

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

.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: auto;
    padding: 1px 8px 1px 8px;
    background: #F1F1F1;
    border: 0px;
    border-radius: 5px;
    cursor: pointer;
    margin: 1px;
    box-shadow: 0px 1px 0px #5c5a5a88;
    border: 1px solid #bbb;
    font-size: 13px;
}

.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 {
    background-color: #28A745;
    border-color: #28A745;
    color: #fff;
    line-height: 20px;
}
.btn_green:hover {
    background-color: #39c459;
    border-color: #39c459;
    color: #fff;
}
.btn_green:focus {
    background: #39c459;
    color: #fff;
}
.btn_green:disabled {
    background: #dddddd;
    border-color: #dddddd;
}

.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;
}


/* 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:#009CD9;
    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: 75px;
    width: 90px;
    text-decoration: none;
    text-align: center;
    color: #000000;
    border: 1px solid #BABABA;
    font-size: 14px;
    padding-top: 40px;
    box-sizing: border-box;
    line-height: 15px;
}
#menu_main li.w_110 a {
    width: 110px !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{
    /* border: 1px solid #272444; */
    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 40px;
    background-position: center 7px;
}
.m_status a {
    background: url(../images/menu/m_status.png) no-repeat;
    background-size: auto 40px;
    background-position: center 7px;
}
.m_system a {
    background: url(../images/menu/m_system.png) no-repeat;
    background-size: auto 40px;
    background-position: center 7px;
}
.m_member a {
    background: url(../images/menu/m_member1.png) no-repeat;
    background-size: auto 40px;
    background-position: center 7px;
}
.m_rental a {
    background: url(../images/menu/m_rental.png) no-repeat;
    background-size: auto 40px;
    background-position: center 7px;
}
.m_report a {
    background: url(../images/menu/m_report.png) no-repeat;
    background-size: auto 40px;
    background-position: center 7px;
}
.m_day a {
    background: url(../images/menu/m_day.png) no-repeat;
    background-size: auto 40px;
    background-position: center 7px;
}
.m_pay a {
    background: url(../images/menu/m_pay.png) no-repeat;
    background-size: auto 40px;
    background-position: center 7px;
}
.m_rent a {
    background: url(../images/menu/m_rent.png) no-repeat;
    background-size: auto 40px;
    background-position: center 7px;
}
.m_rent_debt a {
    background: url(../images/menu/m_rent_debt.png) no-repeat;
    background-size: auto 40px;
    background-position: center 7px;
}
.m_cancel a {
    background: url(../images/menu/m_rent_cancel.png) no-repeat;
    background-size: auto 40px;
    background-position: center 7px;
}
.m_calc a {
    background: url(../images/menu/m_calc.png) no-repeat;
    background-size: auto 40px;
    background-position: center 7px;
}
.m_com a {
    background: url(../images/menu/m_com.png) no-repeat;
    background-size: auto 40px;
    background-position: center 7px;
}
.m_salary a {
    background: url(../images/menu/m_salary.png) no-repeat;
    background-size: auto 40px;
    background-position: center 7px;
}
.m_backup a {
    background: url(../images/menu/m_backup.png) no-repeat;
    background-size: auto 40px;
    background-position: center 7px;
}
.m_cut a {
    background: url(../images/menu/m_cut.png) no-repeat;
    background-size: auto 40px;
    background-position: center 7px;
}


#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 #0393cc;
    background-color: #009CD9;
}

#panels #menu_side li a.active {
    color: #000;
    background-color: #d2f1ff;
}

#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: 99;
    position: absolute;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.40);
    text-align: center;
    padding-top: 48vh;
    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_scroll {
    border: 0;
    border-collapse: collapse;
}
.tb_scroll tr {
    display: flex;
}
.tb_scroll td {
    flex: 1 auto;
    height: 25px;
    line-height: 25px;
    background: #ffffff;
    border-top: 1px solid transparent;
    border-bottom: 1px solid #676767;
    border-right: 1px solid #676767;
    border-left: 1px solid #676767;
    word-wrap: break;
    /* box-sizing: border-box; */
}
.tb_scroll thead tr:after {
    content: '';
    overflow-y: scroll;
    visibility: hidden;
    height: 0;
}
.tb_scroll thead th {
    flex: 1 auto;
    display: block;
    height: 30px;
    line-height: 30px;
    background-color: #dfdfdf;
    border-top: 2px solid #676767;
    border-bottom: 5px solid #676767;
    border-right: 1px solid #676767;
    border-left: 1px solid #676767;
    text-align: center;
}
.tb_scroll tbody {
    display: block;
    width: 100%;
    overflow-y:scroll;
    background: #C1C1C1;
}
.tb_scroll tbody td{
    height: auto;
}
.tb_scroll tbody tr:hover td {
    background: #f2f5ff;
}
.tb_scroll tfoot tr:after {
    content: '';
    overflow-y: scroll;
    visibility: hidden;
    height: 0;
}
.tb_scroll tfoot td{
    flex: 1 auto;
    display: block;
    /* width: 100%; */
    height: auto;
    background-color: #dfdfdf;
    border-top: 2px solid #dfdfdf;
    border-left: 1px solid #dfdfdf;
    border-right: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf; 
}
.tb_scroll .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_scroll .tb_paging .b_left {
    position: relative;
    float: left;
    width: 50%;
    height: auto;
}
.tb_scroll .tb_paging .b_right {
    position: relative;
    float: right;
    width:50%;
    height: auto;
}
.tb_scroll .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_scroll .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_scroll .tb_paging .nav_btn:hover {
    background-color: #dddddd;
}

/* table fix 2 table */
.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; */
}
.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_form {
    border-collapse: collapse;
    margin-bottom: 5px;
}
.tb_form tr {
    width: 100%;
    height: auto;
}
.tb_form th, .tb_form td {
    height: 30px;
    line-height: 30px;
    padding: 5px;
}
.tb_list {
    border: 0;
    border-collapse: collapse;
}
.tb_list tr {
    width: 100%;
    height: auto;
}
.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;
}
.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;
}
.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;
}
.tb_list2 tr {
    width: 100%;
    height: auto;
}
.tb_list2 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;
}
.tb_list2 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;
}
.tb_list2 tr:hover td {
    background: #f2f5ff;
}

.tb_list3 {
    border: 0;
    border-collapse: collapse;
}
.tb_list3 tr {
    width: 100%;
    height: auto;
}
.tb_list3 td {
    height: 20px;
    padding: 2px;
    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;
}
.tb_list3 th {
    height: 25px;
    padding: 2px;
    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;
}


/* 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);
    -webkit-box-shadow: 2px 1px 4px 2px #525151;
    box-shadow: 2px 1px 4px 2px #525151;
}

#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;
    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: rgba(0, 156, 217, 0.452);
    text-align: center;
    font-size: 1.2em;
    color: #fff;
    padding:25px;
    box-sizing: border-box;
    -webkit-box-shadow: 2px 1px 4px 2px #525151;
    box-shadow: 2px 1px 4px 2px #525151;
    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;
}

/* page member 
----------------------------------------------- */
.mem_status_gr{
    width: 100%;
    height: 37px;
    line-height: 37px;
    text-align: center;
    background: #28A745;
    border-radius: 4px;
    color: #fff;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.mem_status_bl{
    width: 100%;
    height: 37px;
    line-height: 37px;
    text-align: center;
    background: #4d41f8;
    color: #fff;
    border-radius: 4px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.mem_status_rd{
    width: 100%;
    height: 37px;
    line-height: 37px;
    text-align: center;
    background: #DC3545;
    border-radius: 4px;
    color: #fff;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

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

.mem_photo img {
    width: 100%;
    height: auto;
}

.mem_photo {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 4px;
    margin-top: 10px;
    background: #b9b9b9;
}

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

/* Page rantal
------------------------------------------------ */
.tx_contract_title {
    font-size: 22px;
}

.tx_contract_title_s {
    font-size: 18px;
}

.box_payment_l {
    float: left;
    width: 46%;
    height: auto;
    /*border: 1px solid #D3D3D3;*/
}

.box_payment_r {
    float: right;
    width: 46%;
    height: auto;
    /*border: 1px solid #D3D3D3;*/
}

.box_payment_c {
    width: auto;
    height: auto;
    margin-bottom: 15px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 20px;
    padding-left: 20px;
    border: 1px solid #D3D3D3;
}

/* envelope */
.box_envelope_no {
    font-size: 22px;
    margin-left: 50px;
    margin-top: 20px;
    position: relative;
    width: auto;
    height: auto;
}

.box_envelope_mem {
    font-size: 22px;
    margin-top: 400px;
    position: relative;
    width: auto;
    height: auto;
    text-align: center;
}

.box_envelope_psn {
    font-size: 22px;
    margin-left: 380px;
    margin-right: 50px;
    margin-top: 400px;
    position: relative;
    width: auto;
    height: auto;
    text-align: left;
}

/*bill */
.bill_box {
    width: 100%;
    height: auto;
}

.bill_frame {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-bottom: 10px;
}

.bill_logo_box {
    width: 50%;
    height: auto;
    box-sizing: border-box;
    overflow: auto;
    float: left;
}

.bill_logo_photo img {
    width: 230px;
    height: auto;
}

.bill_logo_txt {
    width: 100%;
    height: auto;
    position: relative;
    font-size: 12px;
}

.bill_no_box {
    width: 30%;
    height: auto;
    overflow: auto;
    float: right;
    border: 1px solid #000000;
    border-radius: 5px;
}

.bill_no_title {
    width: 100%;
    height: 35px;
    font-size: 18px;
    line-height: 35px;
    text-align: center;
    background-color: #0F187E;
    color: #FFFFFF;
}

.bill_no_txt {
    width: 100%;
    height: auto;
    position: relative;
    font-size: 12px;
    padding: 10px;
    box-sizing: border-box;
    line-height: 18px;
}

.bill_cus_box {
    width: 100%;
    height: auto;
    float: right;
    border: 1px solid #000000;
    border-radius: 5px;
    box-sizing: border-box;
    line-height: 18px;
    padding: 5px 10px 5px 10px;
}

.bill_sign_box {
    width: calc(33% - 8px);
    height: auto;
    overflow: auto;
    border: 1px solid #000000;
    border-radius: 5px;
    margin-top: 10px;
    margin-right: 4px;
    margin-left: 4px;
    position: relative;
    float: left;
}

.bill_sign_title {
    width: 100%;
    height: 30px;
    line-height: 25px;
    text-align: center;
    background-color: #0F187E;
    color: #FFFFFF;
}

.bill_sign_txt {
    width: 100%;
    height: auto;
    position: relative;
    font-size: 12px;
    padding: 10px;
    box-sizing: border-box;
    line-height: 20px;
    text-align: center;
    padding-top: 30px;
}

#A4 {
    width: 210mm;
    height: 297mm;  
    padding: 10mm;
    background-color: #ffffff;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid #D3D3D3;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    box-sizing: border-box;
}

#A4_comtent{
    width: 190mm;
    height: 277mm;
    font-size: 12px;
    overflow: hidden;
}

#A4_comtent p {
    text-indent: 50px;
}

#A4_comtent table td {
    font-size: 12px;
}

#A4_comtent .tb_form {
    border-collapse: collapse;
}

#A4_comtent .tb_form th, .tb_form td  {
    border: 1px solid #000000;
    padding: 0 5px 0 5px;
    font-size: 12px;
}

#A4L {
    width: 297mm;
    height: 210mm;  
    padding: 10mm;
    background-color: #ffffff;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid #D3D3D3;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    box-sizing: border-box;
    
}

#A4L_comtent{
    height: 188mm;
    width: 277mm;
    font-size: 12px;
    overflow: hidden;
}

#A4L_comtent p {
    /* text-indent: 50px; */
}

#A4L_comtent table td {
    font-size: 12px;
}

#A4L_comtent .tb_form {
    border-collapse: collapse;
}

#A4L_comtent .tb_form th, .tb_form td  {
    border: 1px solid #000000;
    padding: 0 5px 0 5px;
    font-size: 12px;
}

#A6L {
    width: 210mm;
    height: 148mm;
    padding: 10mm;
    background-color: #ffffff;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid #D3D3D3;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    box-sizing: border-box;
    
}

#A6L_comtent{
    width: 190mm;
    height: 138mm;
    font-size: 12px;
    overflow: hidden;
}

#A6L_comtent table td {
    font-size: 12px;
}

#A6L_comtent .tb_form {
    border-collapse: collapse;
}

#A6L_comtent .tb_form th, .tb_form td  {
    border: 1px solid #000000;
    padding: 0 5px 0 5px;
    font-size: 12px;
}


/* บัญชีรับจ่าย
 ------------------------------------------------*/
#ajax_show_mt_list{
    height: calc(100% - 70px);
    width: 100%;
    box-sizing: border-box;
    overflow: auto;
    border: 1px solid #6d6c6c;
}
#ajax_show_mc_list{
    height: calc(100% - 70px);
    width: 100%;
    box-sizing: border-box;
    overflow: auto;
    border: 1px solid #6d6c6c;
}


/* PAGE payment
 ------------------------------------------------*/
/* 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: #009CD9;
    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: #009CD9;
        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 {
        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 {
        background-color: #d63636;
    }
    
    .m_btn_red:hover {
        background-color: #c71a1a;
        color: #fff;
    }
    
    .m_btn_blue {
        background-color: #009CD9;
    }
    
    .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;
}

/* Error */
.msg_info {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    padding-left: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.msg_success {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-top: 1px solid #66CC33;
    border-bottom: 1px solid #66CC33;
    background-color: #dfffc5;
    color: #59ad2e;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.msg_error {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-top: 1px solid #CC3333;
    border-bottom: 1px solid #CC3333;
    background-color: #FF8A8A;
    color: #b82b2b;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.msg_double {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-top: 1px solid #cca833;
    border-bottom: 1px solid #cca833;
    background-color: #fff2c6;
    color: #b3932b;
    padding-left: 20px;
    background-repeat: no-repeat;
    background-position: 50px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    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 input[type="text"].w_200 {
    width: 200px;
}
.form_style1 input[type="text"].w_100 {
    width: 100px;
}

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

.form_style_full ul {
    width: 100%;
    height: auto;
    overflow: auto;
    padding: 0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
}
.form_style_full ul li {
    float: left;
    padding: 5px;
    width: 100% !important;
    box-sizing: border-box;
}
.form_style_full ul li label {
    display: block;
}
.form_style_full input, .form_style_full select{
    width: 100% !important;
}



/* Dialog */

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

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

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


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

/* Validation 
---------------------------------------------------------*/

/* form.required {} */
.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;
}


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


html:-moz-full-screen {
    background: red;
}

html:-webkit-full-screen {
    background: red;
}

html:-ms-fullscreen {
    background: red;
    width: 100%; /* needed to center contents in IE */
}

html:fullscreen {
    background: red;
}

.img_mem img {
    width: 190px;
    height: auto;
    margin-left: 5px;
    margin-bottom: 10px;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    border: 1px solid #D7D7D7;
}

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