@charset "utf-8";

a{
    cursor: pointer;
}

/* table
----------------------------------------------------------------- */
.tb_list {
    border: 0;
    border-collapse: collapse;
}
.tb_list tr {
    width: 100%;
    height: auto;
}
.tb_list th {
    height: 22px;
    line-height: 22px;
    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;
    text-align: center;
}
.tb_list td {
    height: 25px;
    padding: 2px;
    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 tr:hover td {
    background: #f2f5ff;
}

.tb_list2 {
    border: 0;
    border-collapse: collapse;
}
.tb_list2 tr {
    width: 100%;
    height: auto;
}
.tb_list2 th {
    height: 22px;
    line-height: 22px;
    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;
}
.tb_list2 td {
    height: 22px;
    padding: 10px;
    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_list2 tr:hover td {
    background: #f2f5ff;
}

.tb_sub {
    border: 0;
    border-collapse: collapse;
}
.tb_sub tr {
    width: 100%;
    height: auto;
}
.tb_sub th {
    height: 22px;
    line-height: 22px;
    padding: 2px;
    box-sizing: border-box;
    background-color: #facfbd;
    border-top: 1px solid #c0c0c0;
    border-bottom: 1px solid #c0c0c0;
    border-right: 1px solid #c0c0c0;
    border-left: 1px solid #c0c0c0;
    text-align: center;
}
.tb_sub td {
    height: 25px;
    padding: 2px;
    box-sizing: border-box;
    background: #ffffff;
    border-top: 1px solid #c0c0c0;
    border-bottom: 1px solid #c0c0c0;
    border-right: 1px solid #c0c0c0;
    border-left: 1px solid #c0c0c0;
}


.tb_form {
    border: 0;
    border-collapse: collapse;
}
.tb_form tr {
    width: 100%;
    height: auto;
}
.tb_form th {
    height: 22px;
    line-height: 22px;
    padding: 2px;
    box-sizing: border-box;
    background-color: #ffffff;
    border-top: 2px solid #676767;
    border-bottom: 5px solid #676767;
    border-right: 1px solid #676767;
    border-left: 1px solid #676767;
    text-align: center;
}
.tb_form td {
    height: 25px;
    padding: 2px;
    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;
}


td.td_r_none{
    border-right: 1px solid rgba(255, 255, 255, 0) !important;
}
td.td_t_none{
    border-top: 1px solid rgba(255, 255, 255, 0) !important;
}
td.td_b_none{
    border-bottom: 1px solid rgba(255, 255, 255, 0) !important;
}
tr.tr_active td {
    background: #ffd0d0;
}

td.sum {
    border-top: 3px solid #666 !important;
    border-left: 1px solid #FFF !important;
    border-bottom: 1px solid #FFF !important;
}
td.sum_under {
    border-top: 3px solid #666 !important;
    border-bottom: 7px double #666 !important;
}

tr.tr_sum_under td{
    border-top: 3px solid #666 !important;
    border-bottom: 7px double #666 !important;
}


/* Text
----------------------------------------------------------------- */
.tx_unline {
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 1px;
    margin-right: 3px;
    color: #0f13df;
    border-bottom: 1px solid #c7c7c7;
    /* border-bottom: 1px solid #0066ff; */
}
.tx_unline2 {
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 1px;
    margin-right: 3px;
    border-bottom: 1px solid #7a7a7a;
}

/* Paper
----------------------------------------------------------------- */
.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 2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    box-sizing: border-box;
}

.A4_content{
    width: 190mm;
    height: 277mm;
    font-size: 14px !important;
    overflow: hidden;
}
.A4_content .A4_body{
    height: calc(100% - 35px);
    width: 100%;
}

.A4_content .A4_footer{
    height: 25px;
    width: 100%;
    padding-top: 10px;
}

.A4_content p {
    text-indent: 50px;
}

.A4_content .tb_sign table td {
    font-size: 12px;
    padding: 5px;
    line-height: 20px;
}

.A4_content .tb_form {
    border-collapse: collapse;
}

.A4_content .tb_form th, .A4_content .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_content{
    height: 188mm;
    width: 277mm;
    font-size: 12px;
    overflow: hidden;
}

.A4L_content table td {
    font-size: 12px;
}

.A4L_content .tb_form {
    border-collapse: collapse;
}

.A4L_content .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_content{
    width: 190mm;
    height: 138mm;
    font-size: 12px;
    overflow: hidden;
}

.A6L_content table td {
    font-size: 12px;
}

.A6L_content .tb_form {
    border-collapse: collapse;
}

.A6L_content .tb_form th, .tb_form td  {
    border: 1px solid #000000;
    padding: 0 5px 0 5px;
    font-size: 12px;
}

.P9X55 {
    width: 21cm;
    height: 14cm;
    overflow:hidden;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}
.P9X55 .P9X55_box{
    margin-top: 0.5cm;
    margin-left: 0.5cm;
    width: 20cm;
    height: 13cm;
}

.P4X6 {
    width: 8.5cm;
    height: 15.3cm;
    background-color: #ffffff; 
    overflow:hidden;
    margin-left: auto;
    margin-right: auto;
}
.P4X6 .P4X6_box{
    margin-top: 0.5cm;
    margin-left: 0.5cm;
    width: 7.5cm;
    height: 14.3cm;
    line-height: 1.5em;
}


/* Validation
---------------------------------------------------------*/

input:focus {
    outline: #ffad6a auto 8px !important;
    box-shadow: none !important;
}
input:hover{
    border-color: #ffad6a;
}


label.error {
    color: red;
    font-size: 12px;
}

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;
}



/*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;
}
