body {
    font-size: 12px!important;
	font-family: 黑體, 微軟正黑體, 宋體, Helvetica, Arial, sans-serif;
/*    font-family: Verdana, 宋体;*/
}
body.lang_en {font-size:11px;}
body.bodyfixed { height:100vh; overflow:hidden; }
img{ max-width: 100%;}
a { cursor: pointer; text-decoration: none; }
body a { color:#000;  }
body a:hover,body a:active { color:#000; text-decoration: none;}
a.disabled { pointer-events: none; }
div {
	-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
	padding:0; margin:0;
}
table { width: 100%; }
input[type=text],input[type=email],input[type=password] {
    width:100%;
    height:25px;
    line-height: 25px;
    padding-left:10px; 
    -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
    
    font-size:14px;
}
textarea { display:block; width:100%;
    min-height:100px;
    border:1px solid #ccc;
    -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
    border-radius: 3px;
    line-height: 1.5!important;

}


/* VH center div */
.div_center {
    position: absolute;
    left:50%;
    top: 50%;
    transform: translate(-50%,-50%);
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

.div_fullscreen {
    position:absolute;
    left:0;
    top:0;
    width: 100%;
    height: 100%;
}

.loading {
    position: absolute;
    width:100%;
    height:100%;
    background-color: rgba(0,0,0,0.1);
    z-index: 1000;
    font-size:300%;
}

/* box */
.box {
    background-color: #fff;
    border:1px solid #fff;
    filter: drop-shadow(6px 6px 7px rgba(0, 0, 0, 0.5));
/*    padding:10px;*/
    margin:10px auto;
}
.rounded { border-radius: 5px; }




/* lrdiv */
.lrdiv>.c { overflow-x:hidden; overflow-y:hidden; }
.lrdiv>.r { float:right; }
.lrdiv>.l { float:left;}
.lrdiv.half>.c,.lrdiv.half>.l,.lrdiv.half>.r { width:50%; }

/* lrdiv with responsive .resp */
@media (max-width:767px) { .lrdiv.resp>div { float:none; width:98%!important; }}
@media (max-width:1399px) { .lrdiv.resp1400>div { float:none; width:98%!important; }}
@media (max-width:999px) { .lrdiv.resp1000>div { float:none; width:98%!important; }}


.ui-btn .btn-primary { color:#fff; background-color: #3388cc; border-color:#3388cc; }
.ui-btn .btn-secondary { color:#fff; background-color: #6c757d; border-color:#6c757d; }
.ui-btn .btn-success { color:#fff; background-color: #28a745; border-color:#28a745; }
.ui-btn .btn-danger { color:#fff; background-color: #dc3545; border-color:#dc3545; }
.ui-btn .btn-warning { color:#212529; background-color: #ffc107; border-color:#ffc107; }
.ui-btn .btn-info { color:#fff; background-color: #17a2b8; border-color:#17a2b8; }
.ui-btn .btn-light { color:#212529; background-color: #f8f9fa; border-color:#f8f9fa; }
.ui-btn .btn-dark { color:#fff; background-color: #343a40; border-color:#343a40; }
.ui-btn .btn-link { color:#007bff; background-color: transparent; font-weight: 400; }

.div_caption {
    background: rgba(255,255,255,0.7);
    padding:10px;
    font-weight: bold;
    text-align: center;
    font-size:120%;
    box-sizing: content-box;
}

.div_field { padding:5px 10px; box-sizing: content-box;  }
.div_field>.c { height:30px; line-height: 30px;}
.div_field>.r { width:70%; height:30px; line-height: 30px;}
.div_field>.r>* { width:100%; line-height: 25px; }
/*
.div_field>div:first-child {
    width:30%;
    float: left;
}
*/
/*
.div_field>div:last-child { width: 70%; }
.div_field>div:last-child>* { width:100%;}
*/

.vm5 { margin-top:5px; margin-bottom:5px;}
.vm10 { margin-top:10px; margin-bottom:10px;}
.vm20 { margin-top:20px; margin-bottom:20px;}
.hm5 { margin-left:5px; margin-right:5px;}
.hm10 { margin-left:10px; margin-right:10px;}
.hm20 { margin-left:20px; margin-right:20px;}

.vp5 { padding-top:5px; padding-bottom:5px;}
.vp10 { padding-top:10px; padding-bottom:10px;}
.vp20 { padding-top:20px; padding-bottom:20px;}
.hp5 { padding-left:5px; padding-right:5px;}
.hp10 { padding-left:10px; padding-right:10px;}
.hp20 { padding-left:20px; padding-right:20px;}

.floatl { float:left!important; }
.floatr { float:right!important; }
.textl { text-align: left!important;}
.textc { text-align: center!important; }
.textr { text-align: right!important; }

span.alert { color: #f00; font-weight: bold; }

svg.svg-inline--fa { margin-left:5px; margin-right:5px; font-size:13px; }
i.fas,i.fab { margin-left:5px; margin-right: 5px; font-size:13px; }


/* class v */
.v_nav { padding:2px 10px; border-bottom: 5px solid #eee; margin-bottom:10px; font-size:90%;}
.v_nav>a { text-decoration: underline;}




ul.inline { list-style: none; margin:0; padding:0;}
ul.inline>li { display: inline-block; margin:5px;}
ul.inline>li .btn { margin:0;}


.btn {
    display: inline-block;
    border: 1px solid #ccc;
    padding: 8px;
    margin: 10px 5px;
    border-radius: 3px;
/*    background-color:rgba(252,177,3,0.9);*/
    background-color: #ffc107;
    border-color: #ffc107;
    color: rgba(80,80,80,1);
    box-shadow: 1px 1px 5px rgba(200,200,200,1);
    cursor: pointer;
    line-height: normal;
}
.btn:hover {
    background-color:rgba(252,177,3,1);
    color:rgb(255,255,255,1);
}
/*color:#212529;*/
.btn.btn-primary { color:#fff; background-color: #3388cc; border-color:#3388cc; }
.btn.btn-secondary { color:#fff; background-color: #6c757d; border-color:#6c757d; }
.btn.btn-success { color:#fff; background-color: #28a745; border-color:#28a745; }
.btn.btn-danger { color:#fff; background-color: #dc3545; border-color:#dc3545; }
.btn.btn-warning { color: rgba(80,80,80,1); background-color: #ffc107; border-color:#ffc107; }
.btn.btn-info { color:#fff; background-color: #17a2b8; border-color:#17a2b8; }
.btn.btn-light { color:#212529; background-color: #f8f9fa; border-color:#f8f9fa; }
.btn.btn-dark { color:#fff; background-color: #343a40; border-color:#343a40; }
.btn.btn-link { color:#007bff; background-color: transparent; font-weight: 400; }


/* modal #fafafa*/ 
.modal {
    position:fixed; width:100vw; height:100vh; top:0px; left:0px;
    background-color:#fcfcfc;
    overflow-y:auto;
}
.modal.modal-open {
    display: block;
	z-index:9999;
	-webkit-animation-name: zoomIn; -moz-animation-name: zoomIn; -ms-animation-name: zoomIn; animation-name: zoomIn;
	-webkit-animation-duration: 0.6s; -moz-animation-duration:0.6s; -ms-animation-duration:0.6s; animation-duration:0.6s;
}
.modal.modal-close {
	-webkit-animation-name: bounceOut; -moz-animation-name: bounceOut; -ms-animation-name: bounceOut; animation-name: bounceOut;
	-webkit-animation-duration: 0.6s; -moz-animation-duration:0.6s; -ms-animation-duration:0.6s; animation-duration:0.6s;
}
.modal>a { position:fixed; right:30px; top:20px; padding:10px; color:rgba(0,0,0,0.7); font-size:300%; z-index:999;}
.modal>a>svg { font-size:150%; }
.modal>a:hover { color:#000;}
.modal>div>div { margin:90px 60px 30px 60px; height:calc(100vh - 120px);  overflow-y: auto;  padding-bottom:300px;}
/*
.modal>div {display:table;  width:100%; height:100%; }
.modal>div>div { display:table-cell; text-align:center; vertical-align:middle; padding:50px;
	-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
	animation:fadeIn; -webkit-animation-duration: 1s; -moz-animation-duration:1s; -ms-animation-duration:1s; animation-duration:1s;
}
*/

@media (max-width:767px) {
    .modal>a { right:-5px; top:-10px;}
    .modal>div>div { margin:20px; height:calc(100vh - 40px); }
}

.infomodal {
    display: block;
	z-index:8888;
    position:fixed; width:100vw; height:100vh; top:0px; left:0px;
    background-color:#ffffff;
    overflow-y:auto;
}
.infomodal>a { position:fixed; right:20px; top:20px; padding:10px; color:rgba(0,0,0,0.7); font-size:300%; z-index:888;}
.infomodal>a>svg { font-size:150%; }
.infomodal>div>div { margin:50px 60px 30px 60px; height:calc(100vh - 80px);  overflow-y: auto;  padding-bottom:300px;}

@media (max-width:767px) {
    .infomodal>a { right:-5px; top:-10px;}
    .infomodal>div>div { margin:20px; height:calc(100vh - 40px); }
}


/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background-color: transparent;
/*  background: #f1f1f1;*/
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgba(136,136,136,0.5);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgba(136,136,136,0.8);
/*  background: #555;*/
}

.xdsoft_datetimepicker { z-index:10000;}

@font-face {
  font-family: 'Droid-Sans-Fallback';
    src:  url('Droid-Sans-Fallback.ttf.woff') format('woff'),
    url('Droid-Sans-Fallback.ttf.svg#Droid-Sans-Fallback') format('svg'),
    url('Droid-Sans-Fallback.ttf.eot'),
    url('Droid-Sans-Fallback.eot?#iefix') format('embedded-opentype'); 
    font-weight: normal;
    font-style: normal;
}

/* lrdiv */
.lrdiv,.lrdiv>div {-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
.lrdiv>.c { overflow-x:hidden; overflow-y:hidden; }
.lrdiv>.r { float:right; }
.lrdiv>.l { float:left;}
.lrdiv.half>.c,.lrdiv.half>.l,.lrdiv.half>.r { width:50%; }

/* lrdiv with responsive .resp */
@media (max-width:767px) { .lrdiv.resp>div { float:none; width:100%!important; }}
@media (max-width:1399px) { .lrdiv.resp1400>div { float:none; width:100%!important; }}
@media (max-width:999px) { .lrdiv.resp1000>div { float:none; width:100%!important; }}

/* logging div */
.logging {
    position: absolute;
    bottom:5px;
    right:5px;
    display:block;
    width:600px;
    height:200px;
    background-color: #fff;
    padding:5px 10px;
    border-radius: 5px;
    border: 1px solid #fff;
    filter: drop-shadow(6px 6px 7px rgba(0, 0, 0, 0.5));
    z-index:20000;
}
.logging>div {
    height:200px;
    overflow: auto;
}
.logging>.handle::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f31e";
    font-size: 13px;
}
.logging>div>div {
    border-bottom: 1px solid #ccc;
    padding:5px;
    font-size:80%;
}
.logging>.handle {
    position:absolute;
    top:0; left:0;
    width:15px;
    height:15px;
    background-color:#ffc;
}
error {
    color:#f00;
}
sql { color:green;}
info { color:blue;}
must { color:red; padding:0 3px; font-style: italic; font-size:80%; font-weight: normal;}
input[validresult=error] {
    border:2px solid red!important;
}
.checkmsg { line-height: normal; }
input[validresult=error]+.checkmsg { color:red; font-weight: bold; font-style: italic; }
input[validresult=ok] {
    border:2px solid #060!important;
}
input[validresult=ok]+.checkmsg { color:#060; font-weight: bold; font-style: italic; }
codefrom { font-size:90%; color:#999;}
/*@media (max-width:768px) { .logging { display:none;} }*/

.ui-tooltip, .arrow:after {
    background: #fff;
    border: 1px solid #ccc;
  }
  .ui-tooltip {
    padding: 10px 20px;
    color: #000;
    border-radius: 5px;
    font: bold 14px "Helvetica Neue", Sans-Serif;
    text-transform: uppercase;
    box-shadow: 0 0 7px #ccc;
  }
  .arrow {
    width: 70px;
    height: 16px;
    overflow: hidden;
    position: absolute;
    left: 50%;
    margin-left: -35px;
    bottom: -16px;
  }
  .arrow.top {
    top: -16px;
    bottom: auto;
  }
  .arrow.left {
    left: 20%;
  }
  .arrow:after {
    content: "";
    position: absolute;
    left: 20px;
    top: -20px;
    width: 25px;
    height: 25px;
    box-shadow: 6px 5px 9px -9px black;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .arrow.top:after {
    bottom: -20px;
    top: auto;
  }

