*{
	box-sizing: border-box;
	-webkit-text-size-adjust: none;
}

html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

a{
	hide-focus:expression(this.hideFocus=true);
	outline:none;
	color:#3B5998;
}

a:hover{
	color:#B84949;
}

*:focus {
    outline: none;
}

.x-checkbox, .x-radio {
    cursor: pointer;
}

img{
	vertical-align:middle;
}

body {
    color: #333;
    font-family: Microsoft JhengHei,Comic Sans MS,arial,helvetica,sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 0;
    width: 100%;
	height: 100%;
    -webkit-text-size-adjust: none;
	background-color: #fff;
	overflow:hidden;
}

.login-body{
	background:url(../images/home_bg.jpg) no-repeat center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
 	background-size: cover;
}
	
.login-wrapper{
	position: absolute;
    width: 380px;
    height: 480px;
    left: 50%;
    top: 50%;
    margin-top: -240px;
    margin-left: -190px;
    border-radius: 10px;
    background-color: rgba(45,110,173,.65);
    box-shadow: 0 2px 2px rgb(0 0 0 / 20%), 0 1px 5px rgb(0 0 0 / 20%), 0 0 0 12px rgb(255 255 255 / 40%);
    background: -moz-linear-gradient(top, rgba(45,110,173,.9) 10%, rgba(45,110,173,.5) 100%);
    background: -webkit-linear-gradient(top, rgba(45,110,173,.9) 10%,rgba(45,110,173,.5) 100%);
    background: linear-gradient(to bottom,  rgba(45,110,173,.9) 10%,rgba(45,110,173,.5) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2d6eadd9', endColorstr='#2d6eada6',GradientType=0 );    
}

.login-header{
	padding: 40px 0 15px;
    text-align: center;
    border-radius: 10px;
}

.login-header img{
	width:240px;
}

.login-content{
	padding: 0 20px 0 70px;
    color: rgba(255,255,255,.8);
    font-size: 15px;
}

.login-content #login_id,.login-content #login_password{
	width:240px;
}

.login-content #login_rand{
	width:100px;
	display: inline-block;
}

.login-content #getcode{
	border: 1px solid #666;
    height: 33px;
    vertical-align: top;
}

.login-content .btn-refreshgif{
	font-size: 12px;
    border-color: rgba(255,255,255,.7);
    padding: 4px 6px;
    vertical-align: top;
}

.login-content .btn-login{
	position:relative;
	width:155px;
	height:45px;
	font-size:18px;
	border-color:rgba(255,255,255,.7);
	padding: 0 12px 0 42px;
}

.login-content .btn-login:after{
	position: absolute;
    content: '';
    background: url(../images/lock_white.png) center center no-repeat;
    background-size: 18px 16px;
    top: 0;
    left: 52px;
    width: 18px;
    height: 41px;
}

.login-content .btn-forgetpwd{
	vertical-align: top;
	border-color:rgba(255,255,255,.7);
}

.login-content .btn-login:hover, .login-content .btn-forgetpwd:hover, .login-content .btn-refreshgif:hover{
	color:#fff;
	border-color:#fff;
}
.login-content .form-group {
    margin-bottom: 15px;
}

.login-content .form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #666;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.login-content .checkbox,.login-content .radio {
    position: relative;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
}

.u-show-pwd-btn {
    position: absolute;
    height: 32px;
    width: 32px;
    border: none;
    background: url(../images/show_password.png) no-repeat center center;
    background-size: 24px 24px;
    right: 56px;
    opacity: .5;
    top: 1px;
    z-index:1;
    cursor:pointer;
}

.u-show-pwd-btn.u-hide {
	background: url(../images/hide_password.png) no-repeat center center;
	background-size: 24px 24px;
}

.global-outer{
	width: 100%;
	height:100%;
}

.global-title{
	background: url(../images/title.png) center center no-repeat;
    background-size: 100%;
    position: absolute;
    top: 15px;
    left: 15px;
    width: 200px;
    height: 50px;
    padding: 0;
    margin: 0;
    z-index: 2;
}

.global-menu{
	position:absolute;
	top:0;
	left:0;
	width: 240px;
	height:100%;
	background-color: #5388AB;
	border-right:10px solid #3479A7;
}

.global-menu-title-bg{
	position:absolute;
	top:0;
	left:0;
	width: 100%;
	height:70px;
	padding:0;
	margin:0;
	background: -moz-linear-gradient(top,  #3479a7 40%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #3479a7 40%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #3479a7 40%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3479a7', endColorstr='#FFFFFFFF',GradientType=0 ); /* IE6-9 */
	z-index:1;	
}

.global-menu-title-hr {
    position: absolute;
    top: 70px;
    left: 20px;
    width: 200px;
    height: 0;
    padding: 0;
    margin: 0;
    border-top: 1px dashed #b1d7f1;
    z-index: 3;
	display:none;
}

.global-menu-split{
    position: absolute;
    top: 0;
    right: -10px;
    width: 10px;
    height: 100%;
    background-color: rgba(255,255,255,0);
	cursor:col-resize;
}

.global-menu-split:hover{
    background-color: #1d5f8c;
}

.global-menu-container{
	height:100%;
	width:100%;
	padding-top:80px;
	overflow:hidden;
}

.global-menu-body{
    height: 100%;
    width: 100%;
    overflow-y: overlay;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #2A6288 #669BBF;
}

.global-menu-body::-webkit-scrollbar {
	width: 10px;
}

.global-menu-body::-webkit-scrollbar-track {
	background-color: #27648e;
    border-left: 4px solid #5388ab;
    border-right: 4px solid #5388ab;
}
 
.global-menu-body::-webkit-scrollbar-thumb {
	background-color: #1e5e88;
    //border-radius: 5px;
    background-image: repeating-linear-gradient(135deg, #1975b1 1px, #1e5e88 3px, #1e5e88 7px); 
}
 
.global-menu-body::-webkit-scrollbar-button {
	display:none;
}
 
.global-menu-body::-webkit-scrollbar-corner {
	display:none;
}

.global-menu-list{
    width: 100%;
    padding: 0 10px 10px 10px;
    margin: 0;
    color: #fff;
}


.global-container{
	padding-left:240px;
	padding-top: 50px;
	width: 100%;
	height:100%;
	background-color: #3479a7;
}

.global-head{
    background-color: #3479A7;
    height: 50px;
    width: calc(100% - 240px);
    top: 0;
    left: 240px;
    position: absolute;
    z-index: 3;
}

.global-outer.menubar_hide .global-menu{
	left:-230px;
}

.global-outer.menubar_hide .global-head{
	left:10px;
	width: calc(100% - 10px);
}

.global-outer.menubar_hide .global-menu-container{
	padding-left:10px;
}

.global-outer.menubar_hide .global-container{
	padding-left:10px;
}

.global-outer.menubar_hide .global-title{
	background: url(../images/title_hide.png) center center no-repeat;
    top: 4px;
    left: 12px;
    background-size: 95%;
    z-index: 4;
}

.global-menu-list ul{
	list-style-type: none;
	padding-inline-start:0;
	margin:0 0 5px;
}

.global-head .global-navbar{
    position: absolute;
    top: 10px;
    right: 10px;
    height: 30px;
    width: auto;
    overflow: hidden;
    text-align: right;
    font-size: 14px;
    color: rgba(255,255,255,.8);
	display: flex;
	align-items: center;
}

.global-navbar .icon-home{
	width:40px;
	height:30px;
}

.global-navbar .icon-home:after{
	position:absolute;
	content:'';
	background:url(../images/home_white.png) center center no-repeat;
	background-size:18px 16px;
	top:0;
	left:11px;
	width:18px;
	height:30px;
	opacity:.8;
}

.global-navbar .icon-user{
	padding: 0 16px 0 34px;
}

.global-navbar .icon-user:after{
	position:absolute;
	content:'';
	background:url(../images/user_white.png) center center no-repeat;
	background-size:16px 16px;
	top:0;
	left:12px;
	width:16px;
	height:30px;
	opacity:.8;
}

.global-navbar > div{
	height:100%;
    border-left: 1px solid rgba(255,255,255,.5);
    line-height: 30px;
	cursor:pointer;
	position:relative;	
}

.global-navbar > div:hover{
	background-color:rgba(0,0,0,.15);
}

.global-container.user_menu_open #user_menu_btn{
	background-color:rgba(0,0,0,.3);
}

#user_info{
	position: absolute;
    top: 40px;
    right: 10px;
    width: 210px;
    height: auto;
    background-color: #245475;
    z-index: 1001;
    display: none;
    padding: 20px;
    color: rgba(255,255,255,.8);
	text-align:center;
}

.global-container.user_menu_open #user_info{
	display:block;
}

.global-content{
	overflow: auto;
    height: 100%;
    width:100%;
    border-radius: 12px 0 0 0;
    background-color: #fff;
}

.user_avatar{
	position: relative;
    height: 85px;
    width: 100%;
}

.user_avatar > div{
    position: absolute;
    top: 50%;
    left: 50%;
    height: 76px;
    width: 72px;
    margin-top: -45px;
	margin-left: -36px;
    border-radius: 10px;
    background: url(../images/user_avatar_white.png) bottom center no-repeat;
    background-size: 80px 80px;
    opacity: .85;
}

.btn{
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.btn-blue, .btn-orange, .btn-gray, .btn-red, .btn-green, .btn-transparent{
	color:#fff;
}

.btn-transparent{
	background-color:transparent;
}

.btn-transparent:hover{
	background-color:rgba(0,0,0,.2);
}

.btn-blue{
	background-color:#428BCA;
}

.btn-blue:hover{
	background-color:#3071A9;
}

.btn-orange{
	background-color:#F88629;
}

.btn-orange:hover{
	background-color:#ED6F07;
}

.btn-gray{
	background-color:#888;
}

.btn-gray:hover{
	background-color:#666;
}

.btn-red{
	background-color:#D9534F;
}

.btn-red:hover{
	background-color:#C9302C;
}

.btn-green{
	background-color:#5CB85C;
}

.btn-green:hover{
	background-color:#449D44;
}

#user_info .user_role{
	font-size:12px;
	color:rgba(255,255,255,.8);
}

#user_info .user_name{
	font-size:16px;
	color:#fff;
	font-weight:bold;
}

#user_info .user_login{
	font-size:12px;
	color:rgba(152,183,197,.8);
}

#user_info button{
	width:100%;
	margin-bottom:4px;
}

.global-menu-list > ul > li{
    padding: 5px 10px;
    margin-bottom: 1px;
}

.global-menu-list > ul > li > div{
    padding: 3px;
	font-size:15px;
	color:rgba(0,0,0,.6);;
	font-weight:bold;
	cursor:pointer;
	position:relative;
}

.global-menu-list > ul > li > ul > li > div {
	position:relative;
    border-top: 1px solid rgba(255,255,255,.3);
    padding: 4px 4px 4px 19px;
	font-weight:500;
	cursor:pointer;
	font-size:15px;
}

.global-menu-list > ul > li > ul > li > div:hover {
	background-color:rgba(0,0,0,.1);
}

.global-menu-list > ul > li > ul {
	display:none;
}

.global-menu-list > ul > li.menu_open > ul {
	display:block;
}

.global-menu-list > ul > li > div > span.menu_indicator {
	position:absolute;
    top: 8px;
    right: 0;
	height:14px;
	width:14px;
	background:url(../images/carat-r-black.png) center center no-repeat;
	opacity: 0.4;
}

.global-menu-list > ul > li.menu_open > div > span.menu_indicator {
	display:none;
}

.global-menu-list > ul > li.menu_open > div{
    color:#000;
	//font-weight:bold;
	font-size:16px;
}

.global-menu-list > ul > li > ul > li.selected > div{
	background-color:rgba(0,0,0,.6);
}

.global-menu-list > ul > li > ul > li.selected > div:after{
	content: '';
    position: absolute;
    right: -6px;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 14.5px 0 14.5px 6px;
    border-color: transparent transparent transparent rgba(0,0,0,.6);
    line-height: 0px;	
}

.global-content{
	//padding-top:50px;
}

.global-content-left{
	float:left;
	width:60%;
	max-width:1000px
}

.global-content-right{
	float:left;
	width:40%;
	border-left:1px solid #bbb;
	padding: 10px;
	max-width:400px;
	height:100%;
}

@media (max-width: 1000px) {
	.global-outer:not(.menubar_hide) .global-content-left{
		float:left;
		width:100%;
		max-width:100%;
	}
	.global-outer:not(.menubar_hide) .global-content-right{
		float:left;
		width:100%;
		max-width:100%;
		height:auto;
	}
}

@media (max-width: 760px) {
	.global-outer.menubar_hide .global-content-left{
		float:left;
		width:100%;
		max-width:100%;
	}
	.global-outer.menubar_hide .global-content-right{
		float:left;
		width:100%;
		max-width:100%;
		height:auto;
	}
}

.global-content-left{
	@media (min-width: 760px) {
		float:left;
		width:60%;
	}
	@media (max-width: 760px) {
		width:100%;
	}
}

.global-content-right{
	@media (min-width: 1000px) {
		float:left;
		width:40%;
		border-left:1px solid #bbb;
		min-height:200px;
	}
	@media (max-width: 1000px) {
		float:left;
		width:100%;
		border-top:1px solid #bbb;
	}	
}

.global-outer.menubar_hide .global-content-left{
	@media (max-width: 760px) {
		width:100%;
	}
}

.global-outer.menubar_hide .global-content-right{
	@media (max-width: 760px) {
		width:100%;
		border-left-style:none;
		border-top:1px solid #bbb;
	}
}

#menu_chk_basic{
	background-color:#8eb4cd;
}

#menu_chk{
	background-color:#8eb4cd;
	//background-color:#bdaf9f;
}

#menu_sys{
	background-color:#8eb4cd;
	//background-color:#a2b9a1;
}

#global-dailog {
	position: fixed;
	left:0;
	top:0;
	width:100%;
	height:100%;
	background:rgba(80,80,80,.5);
	z-index:1200;
}

#dailog-content {
	position: relative;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 2px rgb(0 0 0 / 20%), 0 1px 5px rgb(0 0 0 / 20%), 0 0 0 12px rgb(255 255 255 / 50%);
    z-index: 101;
	max-width: 1200px;
    max-height: calc(100% - 60px);
    margin: 30px auto;
    width: calc(100% - 60px);
    max-width: calc(100% - 60px);
    overflow-y: auto; 
    overflow-x: hidden;
}

#dailog-content div.dailog-header{
    border-bottom: 1px solid #cccccc;
    font-size: 18px;
    font-weight: bold;
    color: #3B5998;
    position: sticky;
    left: 0;
    top: 0;
    width: 100%;
    background-color: #f8f8f8;
    padding: 10px 15px 5px;
    z-index: 900;	
}

#dailog-content div.dailog-body{
	padding: 5px 10px;
}

#dailog-content div.dailog-tail{
    text-align: right;
    position: sticky;
    right: 0;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #ccc;
    padding: 8px 8px 15px;
    background-color: #f8f8f8;
    z-index: 900;	
}

button.x-btn {
	position:relative;
	color:#fff;
	cursor:pointer;
	height:26px;
	line-height:24px;
    background-color:#5CB85C;
	padding-right:8px;
	padding-left:8px;
	border-radius: 4px;
	font-weight:bold;
	font-size:14px;
	border-style:none;
	font-family: Microsoft JhengHei,Comic Sans MS,arial,helvetica,sans-serif;
}

button.x-btn.x-icon {
	padding-left:23px;
}

button.x-btn:hover {
	background-color:#449D44;
}

button.x-icon:after{
	content: '';
	position: absolute;
	left: 8px;
	top: 50%;	
	width:12px;
	height:12px;
	margin-top:-6px;
	background-size: 12px 12px;
	z-index:1;
}

button.x-btn-max{
	height:30px;
	font-size:16px;
	padding-right:12px;
	padding-left:12px;
}

button.x-icon.x-btn-max{
	padding-left:27px;
}

button.x-icon.x-btn-max:after{
	left:12px;
}

button.x-icon-login:after{
	background-image: url("../images/icons-png/lock-white.png");
}

button.x-icon-add:after{
	background-image: url("../images/icons-png/plus-white.png");
}

button.x-icon-pdf:after{
	background-image: url("../images/icons-png/pdf-white.png");
}

button.x-icon-accept:after{
	background-image: url("../images/icons-png/check-white.png");
}

button.x-icon-cancel:after{
	background-image: url("../images/icons-png/delete-white.png");
}

button.x-icon-comment:after{
	background-image: url("../images/icons-png/comment-white.png");
}

button.x-icon-user:after{
	background-image: url("../images/icons-png/user-white.png");
}

button.x-icon-refresh:after{
	background-image: url("../images/icons-png/refresh-white.png");
}

button.x-icon-excel{
	background-color:#4A9037;
}

button.x-icon-excel:hover{
	background-color:#268132;
}

button.x-icon-excel:after{
	background-image: url("../images/icons-png/excel.png");
}

button.x-icon-copy:after{
	background-image: url("../images/icons-png/action-white.png");
}

button.x-icon-grid:after{
	background-image: url("../images/icons-png/grid-white.png");
}

button.x-icon-map:after{
	background-image: url("data:image/svg+xml,%3Csvg height='14' viewBox='22 22 57 57' width='14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m49.6428574 20.5428571c-11.9052618.0786545-21.4958491 9.7875256-21.4285714 21.6928572 0 17.5857143 21.4285714 37.2214286 21.4285714 37.2214286s21.4285715-20.4071429 21.4285715-37.2214286c.0554572-11.9005134-9.5282724-21.6024423-21.4285715-21.6928572zm0 31.0214286c-3.7600325.0375613-7.1715507-2.1962164-8.6405491-5.6576177-1.4689985-3.4614013-.7054563-7.4670501 1.9338673-10.1453381s6.6333533-3.5004471 10.1159097-2.08233c3.4825564 1.4181172 5.7660868 4.7965352 5.7836293 8.5567144.0198944 5.1062259-4.0868475 9.2704047-9.1928572 9.3214286z' fill='%23fff' fill-rule='evenodd'/%3E%3C/svg%3E");
}

button.x-icon-unqualified:after{
	background-image: url("../images/icons-png/alert-white.png");
}

button.x-blue{
	background-color:#428BCA;
}

button.x-blue:hover{
	background-color:#3071A9;
}

button.x-orange{
	background-color:#F88629;
}

button.x-orange:hover{
	background-color:#ED6F07;
}

button.x-gray{
	background-color:#888;
}

button.x-gray:hover{
	background-color:#666;
}

button.x-red{
	background-color:#D9534F;
}

button.x-red:hover{
	background-color:#C9302C;
}

button.x-cyan{
	background-color:#51C9B0;
}

button.x-cyan:hover{
	background-color:#4EB49F;
}

button.x-yellow{
	background-color:#F7B731;
}

button.x-yellow:hover{
	background-color:#EFA50A;
}

div.x-app-content{
	padding:15px 20px;
	text-align:left;
	height: 100%;
}

div.x-app-content .title{
	text-align:left;
	font-size:17px;
	color:#333;
	font-weight:bold;
	padding:0 0 3px;
	border-bottom:1px solid #ccc;
	position:relative;
}

div.x-app-content div.x-app-content-body{
	height: calc(100% - 15px);
} 

div.x-input-box, div.x-select-box, div.x-search-box,span.x-input-box{
	position:relative;
	display:inline-block;
	border:1px solid #bbb;
	height:26px;
	border-radius: 4px;
	margin:0;
	background-color:#fff;
}

div.x-select-box, div.x-search-box{
	padding:0 4px 0 0;
}

div.x-checkbox-box{
	position:relative;
	display:inline-block;
	color:#333;
	height:26px;
}

div.x-checkbox-box label{
	border: 1px solid #bbb;
	border-radius: 4px;
	line-height: 24px;
	display: block;
	font-weight:bold;
	font-size:14px;
	cursor:pointer;
	padding-right:4px;
	padding-left:20px;	
}

div.x-checkbox-box input[type=checkbox]{
	display:none;
}

div.x-checkbox-box  input[type=checkbox]:checked + label:after {
	content: '';
	position: absolute;
	left: 3px;
	top: 50%;	
	width:14px;
	height:14px;
	margin-top:-7px;
	background-size: 14px 14px;
	z-index:32;
	background-image: url("../images/checkbox.png");
}

div.x-checkbox-box label:before{
	content: '';
	position: absolute;
	left: 5px;
	top: 7px;	
	width:10px;
	height:10px;
	border:1px solid #aaa;
}

div.x-select-box select{
	padding-right:16px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor:pointer;
	background-size: 11px 11px;
	background: url("../images/next_row.gif") no-repeat scroll right center;
	padding-right: 16px !important;
}
	
div.x-select-box select::-ms-expand {
    display: none;
}

div.x-search-box{
	padding-right:22px;
}

div.x-search-box button{
    position: absolute;
    top: 0;
    right: 0;
    height: 24px;
    width: 24px;
    cursor: pointer;
    background-color: #FEAA26;
    border-style: none;
    border-radius: 0 3px 3px 0;
}

div.x-search-box button:after{
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    background-size: 14px 14px;
    z-index: 30;
    background-image: url(../images/icons-png/search-white.png);
}

div.x-search-box button:hover{
	background-color:#FF7E1A;
}

div.x-input-box input, div.x-select-box select, div.x-search-box input,span.x-input-box input{
	border-style:none;
	font-size:14px;
	line-height:100%;
	padding:0 6px;
	margin:0;
	border-radius:4px;
	height:100%;
	font-family: Microsoft JhengHei,Comic Sans MS,arial,helvetica,sans-serif;
}


div.x-input-box input:disabled,span.x-input-box input:disabled{
	background-color:#f8f8f8;
}

.x-list-table{
	width:100%;
	text-align:left;
	border-collapse:collapse;
	border:1px solid #d0d0d0;
	border-style:outset hidden outset hidden;
	font-size:14px;
}

.x-list-table td,.x-list-table th{
	padding:4px;
	border:1px solid #d0d0d0;
}


.x-list-table th{
	position:relative;
	background-color:#e8e8e8;
	text-align:center;
}

.x-list-table tr:nth-child(even){
	background-color:#fafafa;
}

.x-list-table tr.x-even{
	background-color:#fafafa;
}

.x-list-table tr.x-odd{
	background-color:#ffffff;
}
	
.x-list-table tr:hover,.x-list-table tr.u-hover{
	background-color:#D6E4F8;
}

.x-list-table td.x-even{
	background-color:#fafafa;
}

.x-list-table td.x-odd{
	background-color:#ffffff;
}

.x-list-table td.x-actionitem{
	text-align:center;
}

.x-list-table td.x-actionitem img {
	visibility: hidden;
}

.x-list-table tr:hover > td.x-actionitem img,.x-list-table tr.u-hover > td.x-actionitem img {
	visibility: visible;
}

.x-list-table tr.selected > td.action_bar img {
	visibility: visible !important;
}

.x-list-no-data{
	margin-top:-1px;
	border-top:1px solid #d0d0d0;
	border-bottom:1px solid #d0d0d0;
	padding:5px;
	text-align:center;
	color:#D9534F;
	font-size:14px;
	background-color:#FEF8F8;
}

.x-form {
	font-size:14px;
}
.x-form .x-formitems{
	border-spacing:0;
}

.x-form .x-itemgroup .label{
	padding:4px 5px;
	font-size:16px;
	font-weight:bold;
	display:block;
	color:#3B5998;
}

.x-form .x-formitems > tbody > tr{
	height:36px
}

.x-form .x-formitems .group-title{
	position:relative;
	border-bottom:1px solid #ccc;
	padding:2px 0;
	font-weight:bold;
	vertical-align:bottom;
	font-size:16px;
}

.x-form .x-formitems .label{
	padding:5px;
	text-align:center;
	line-height:16px;
	font-weight:bold;
	background-color:#f0f0f0;
	border-right:1px solid #ddd;
}

.x-form .x-formitems .field{
	padding:5px;
	text-align:left;
}

.x-form .x-formitems .actionButton{
	padding:10px 0 20px;	
}

.x-form .x-formitems .field,.x-form .x-formitems .label{
	border-bottom:1px solid #ddd;
}

.x-form .x-formitems.no-split-line .field,.x-form .x-formitems.no-split-line .label{
	border-bottom-style:none;
}
	
.x-form div.x-input-box,.x-form span.x-input-box{
	height:24px;
}

.x-form div.x-input-box input,.x-form span.x-input-box input{
	font-size:14px;
}

.info_table .label{
	text-align:right;
	line-height:16px;
	font-weight:bold;
}

.x-form .x-formitems .label .required{
	display:inline-block;
	height:12px;
	width:16px;
	background:url(../images/icons/bullet_red.gif) no-repeat;
	margin-left:-16px;
}

.x-form .x-actionbar{
	padding:8px;
	text-align:center;
}

div.x-textarea-box{
	position:relative;
	display:inline-block;
	border:1px solid #aaa;
	border-radius: 4px;
	padding:4px 6px;
	margin:0;
	background-color:#fff;
}

div.x-textarea-box textarea{
	border-style:none;
	resize: none;
	font-size:14px;
	padding:0;
	margin:0;
	font-family: Microsoft JhengHei,Comic Sans MS,arial,helvetica,sans-serif;
}

.x-check-list input[type=checkbox],.x-check-list input[type=radio]{
	display:none;
}

.x-check-list label{
	color:#888;
	cursor:pointer;
	border-style:none;
	font-size:14px;
	line-height:22px;
	border-radius: 6px;
	font-weight:bold;
	background-color:#eee;
	padding:0 6px;
	white-space: nowrap;
	display: inline-block;
	margin-right: 5px;
    margin-bottom: 5px;	
}

.x-form .x-formitems .field.x-check-list{
	padding-bottom:0;
}

.x-check-list label:hover{
	background-color:#ccc;
	color:#333;
}

.x-check-list input[type=checkbox]:disabled + label:hover, .x-check-list input[type=radio]:disabled + label:hover,.x-check-list input[type=checkbox]:disabled + label, .x-check-list input[type=radio]:disabled + label{
	background-color: #fff;
    color: #bbb;
    border: 1px solid #ccc;
    cursor: default;
}

.x-check-list input[type=checkbox]:checked + label, .x-check-list input[type=radio]:checked + label{
	background-color:#428BCA;
	color:#fff;
}

#tr_sample .x-check-list input[type=checkbox]:checked + label, #tr_sample .x-check-list input[type=radio]:checked + label{
	background-color:#c76d61;
}

#tr_city .x-check-list input[type=checkbox]:checked + label, #tr_city .x-check-list input[type=radio]:checked + label{
	background-color:#da9c56;
}

.row-delete, .row-delete a{
	color:#AA3D39;
	text-decoration: line-through;
}

.blockUI.blockMsg{
	border-radius: 10px;
	box-shadow: 1px 2px 10px 0px rgba(20%,20%,40%,0.7);
}

.blockUI.blockMsg h1{
	color:#fff !important;
	font-size:16px !important;
	display: table-cell;
    vertical-align: middle;
    height: 76px;
	padding-left:76px;
	padding-right:8px;
    text-align:left;
}
	
.blockUI.blockMsg h1:after{
	content:'';
	position:absolute;
	left: 16px;
	top: 16px;
	width:48px;
	height:48px;
	background-image:url("../images/uiblock_icon.gif");
}

.x-treeview-dropdown span.x-dropdown-btn{
	position:relative;
}

.x-treeview-dropdown span.x-dropdown-btn:after{
	content: '';
	position: absolute;
	top: 9px;
	left: -14px;
	width: 0;
	height: 8px;
	background-color: transparent;
	border-style: solid solid solid solid;
	border-width: 4px 4px 0 4px;
	border-color: #000 transparent transparent transparent;
}

.x-treeview-dropdown .x-ou-treeview{
    position: absolute;
    width: 482px;
    height: 210px;
    left: -1px;
    top: 28px;
    z-index: 1000;
    background-color: #fff;
    overflow-y: auto;
    border: 1px solid #aaa;
    padding: 8px 0 15px;
    box-shadow: 1px 2px 10px 0px rgb(51 51 102 / 70%);
    border-radius: 5px;
    display:none;
}

.x-treeview-dropdown.open .x-ou-treeview{
	display:block;
}

.x-ou-treeview ul{
	list-style-type: none;
	padding-inline-start:16px;
	margin:0;
}

.x-ou-treeview li{
	position: relative;
	padding-left:14px;
}

.x-ou-treeview li>ul{
	display:none;
}

.x-ou-treeview li > div{
    padding: 2px 5px 2px 25px;
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.x-ou-treeview li > span.x-icon-group{
    background-image: url(../images/icons/group.png);
    position: absolute;
    width: 16px;
    height: 16px;
    left: 18px;
    top: 3px;
    z-index: 1;
}

.x-ou-treeview li > span.x-icon-user{
    background-image: url(../images/icons/user.png);
    position: absolute;
    width: 16px;
    height: 16px;
    left: 18px;
    top: 3px;
    z-index: 1;
}

.x-ou-treeview li > div:hover{
	background-color:#D6E4F8;
}

.x-ou-treeview li.selected > div{
	background-color:#ffcb9a;
	cursor:default;
}

.x-ou-treeview li > span.x-indicator{
    position: absolute;
    top: 5px;
    left: 3px;
    width: 12px;
    height: 12px;
}

.x-ou-treeview li.caret > span.x-indicator{
    background-color: transparent;
    border-style: solid solid solid solid;
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent #666;
    cursor: pointer;
}

.x-ou-treeview li.caret.open > span.x-indicator{
	transform: rotate(90deg);
    top: 7px;
    left: 0;
}

.x-ou-treeview li.caret.open > ul{
	display:block;
}

#app_ou_list_head{
	padding:4px;
	border-top:1px solid #d0d0d0;
	border-bottom:1px solid #d0d0d0;
	background-color:#e8e8e8;
	font-weight:bold;
	text-align:center;
	position: relative;
}

#app_ou_list_head span.x-actionitem{
	position: absolute;
	width:38px;
	height:100%;
	vertical-align: middle;
	top:0;
	padding: 4px;
}

#app_ou_list_head .x-actionitem.x-delete{
    border-left: 1px solid #ddd;
    right:0;
}

#app_ou_list_head .x-actionitem.x-sort{
    border-left: 1px solid #ddd;
    right:38px;
    opacity:.7;
}

#app_ou_list_head .x-actionitem.x-add{
    border-right: 1px solid #ddd;
    left:0;
}

#app_ou_list_head .x-actionitem.x-edit{
    border-right: 1px solid #ddd;
    left:38px;
}

#app_ou_list ul{
	list-style-type: none;
	padding-inline-start:0;
	margin:0;
}

#app_ou_list li>ul{
	display:none;
}

#app_ou_list li.caret.open > ul{
	display:block;
}

#app_ou_list li{
	position: relative;
	margin:0;
}

#app_ou_list li > div{
	border-bottom:1px solid #ddd;
	position: relative;
}

#app_ou_list li > div > div > span, #app_ou_list li > div > div > a {
	display: table-cell;
}

#app_ou_list li > div > div > a {
	padding:4px;
}

#app_ou_list li > div > span.x-actionitem{
	position: absolute;
	width:38px;
    padding: 4px 10px;
	height:100%;
	vertical-align: middle;
	top:0;
}

#app_ou_list li > div > div > span{
	width:20px;
}

#app_ou_list li > div > div > span.x-indicator, #app_ou_list li > div > div > span.x-icon-group{
    position: relative;
}

#app_ou_list li.caret > div > div > span.x-indicator:after{
    content: '';
    position: absolute;
    top: 8px;
    left: 7px;
    width: 12px;
    height: 0;
    background-color: transparent;
    border-style: solid solid solid solid;
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent #666;
    cursor: pointer;
}

#app_ou_list li.caret.open > div > div > span.x-indicator:after{
	transform: rotate(90deg);
    top: 15px;
    left: 0;
}

#app_ou_list li > div > div > span.x-icon-group:after{
    content: '';
    background-image: url(../images/icons/group.png);
    position: absolute;
    width: 16px;
    height: 16px;
    left: 2px;
    top: 5px;
}

#app_ou_list>ul>li>div>div{
	padding-left:10px;
}

#app_ou_list>ul>li>ul>li>div>div{
	padding-left:30px;
}

#app_ou_list>ul>li>ul>li>ul>li>div>div{
	padding-left:50px;
}

#app_ou_list>ul>li>ul>li>ul>li>ul>li>div>div{
	padding-left:70px;
}

#app_ou_list>ul>li>ul>li>ul>li>ul>li>ul>li>div>div{
	padding-left:90px;
}

#app_ou_list>ul>li>ul>li>ul>li>ul>li>ul>li>ul>li>div>div{
	padding-left:110px;
}

#app_ou_list>ul>li>ul>li>ul>li>ul>li>ul>li>ul>li>ul>li>div>div{
	padding-left:130px;
}

#app_ou_list .x-actionitem.x-delete{
    border-left: 1px solid #ddd;
    right:0;
}

#app_ou_list .x-actionitem.x-sort{
    border-left: 1px solid #ddd;
    right:38px;
}

#app_ou_list .x-actionitem.x-add{
    border-right: 1px solid #ddd;
    left:0;
}

#app_ou_list .x-actionitem.x-edit{
    border-right: 1px solid #ddd;
    left:38px;
}

#app_ou_list li>div:hover{
	background-color:#D6E4F8;
}

#app_ou_list li>div>span.x-actionitem img{
	visibility: hidden;
}

#app_ou_list li>div:hover>span.x-actionitem img{
	visibility: visible;
}


#content_news_list,#content_news_show{
    padding: 10px 10px;
    text-align: left;
}

.news_head{
	font-size: 14px;
    background-color: #f0f3f5;
    border-radius: 10px;
    padding: 10px 15px 20px;
}

.news_head .news_subject{
	font-size: 18px;
    font-weight: bold;
    padding-left: 48px;
    position: relative;
}

.news_head .news_subject a{
	color:#333;
}

.news_head .news_subject a:hover{
	color:#3071A9;
}

.news_head .news_content a{
	text-decoration: none;
	color:#1E5FAE;
}

.news_head .news_content a:hover{
	text-decoration: underline;
	color:#AF661D;
}

.news_head .news_publish{
	padding: 2px;
    font-size: 13px;
    color: #926b43;
    font-weight: normal;
}

.news_head .news_content{
	padding: 5px 0 3px 48px;
    font-size: 14px;
    line-height: 20px;
    color: #333;
    border-top: 1px dashed #bbb;
    margin-top: 3px;
}

.splitbar{
	//margin-top:8px;
	height:8px;
	//border-top:1px dashed #ccc;
}

.news_list{
	position: relative;
    padding: 8px 0;
    border-top: 1px dashed #ddd;
}

#content_news_list > div.news_list:last-child{
	border-bottom: 1px dashed #ddd;
}

.news_list .news_publish span{
	background-color: #e0eaff;
    color: #436d92;
    font-size: 12px;
    border: 1px solid #7baad4;
    position: absolute;
    padding: 2px 8px 3px;
    border-radius: 5px;
    top: 6px;
}

.news_subject img{
position: absolute;
    border-radius: 22px;
    border: 3px solid #bbb;
    height: 44px;
    width: 44px;
    left: -1px;
    top: 0;	
}

.news_list .news_subject{
	font-size:16px;
	line-height:20px;
	padding-left:90px;
	font-weight:bold;
}

.news_subject a{
	text-decoration: none;
	color:#333;
}

.news_subject a:hover{
	text-decoration: underline;
	color:#3071A9;
}

.news_show{
	//padding:10px;
}

.news_show .news_header{
	padding-bottom:5px;
	padding-right:100px;
	border-bottom:1px solid #ccc;
	margin-top:-30px;
	margin-bottom:10px;
}

.news_show .news_subject{
	font-size:18px;
	color:#428BCA;
	font-weight:bold;
}

.news_show .news_publish{
	padding-top:3px;
	font-size:12px;
	color:#888;
}

.news_show .news_content{
	font-size:14px;
	line-height:22px;
	color:#333;
}

.news-attach-list a{
	font-size:14px;
	text-decoration: none;
	color:#1E5FAE;
}

.news-attach-list a:hover{
	text-decoration: underline;
	color:#AF661D;
}

.title_menu{
	position:absolute;
	bottom:-1px;
	right:5px;
	font-size:14px;
}

.title_menu span{
	float:right;
	margin-right:5px;
	padding:1px 10px;
	border:1px solid #ccc;
	border-bottom:0px;
	background-color: #eee;
	color:#666;
	cursor:pointer;
	z-index:1;
}

.title_menu span:hover{
	border:1px solid #ccc;
	border-bottom:0px;	
	background-color: #aaa;
	color:#fff;
}

.title_menu .selected,.title_menu .selected:hover{
	margin-top: -5px;
    padding: 3px 10px;
    border: 1px solid #ccc;
    border-bottom: 0px;
    cursor: default;
    font-weight: bold;
    color: #000;
    background: #fff;
    border-top: 3px solid #f1a637;
    border-radius: 3px 3px 0 0;
}

.x-text-btn{
	padding:1px 4px 1px 4px;
	background-color:#ddd;
	border:1px solid #bbb;
	font-size:12px;
	color:#666;
	cursor:pointer;
	border-radius: 4px;	
}

.x-text-btn:hover{
	background-color:#333;
	border:1px solid #333;
	color:#ffffff;
}

.x-text-btn-disabled{
	border-radius: 4px;
	padding:1px 4px 1px 4px;
	background-color:#eee;
	border:1px solid #ccc;
	font-size:12px;
	color:#aaa;
}

.x-text-btn-selected{
	background-color:#333;
	border:1px solid #333;
	color:#ffffff;
}

.page-bar-head{
	border-top:1px solid #d0d0d0;
	background-color:#eaeaea;
	padding:2px 5px;
	text-align:right;
}

.page-bar-tail{
	border-bottom:1px solid #d0d0d0;
	background-color:#eaeaea;
	padding:2px 5px;
	text-align:right;
}

th:has(> span.x-sortable){
	padding-right:20px;
}

th span.x-sortable{
	content:'';
	position:absolute;
	right: 2px;
	top: 6px;
	width:20px;
	height:16px;
	background:url("../images/sortable.png") center center no-repeat;
	cursor:pointer;
	opacity: .7;
}

th span.x-sortable.x-sort-asc{
	background-image:url("../images/sort_asc.png");
}

th span.x-sortable.x-sort-desc{
	background-image:url("../images/sort_desc.png");
}

.x-sort-list{
	overflow-y:auto;
	overflow-x:hidden;
	width:100%;
	text-align:left;
	font-size:14px;
}

.x-sort-list div{
	padding: 4px;
    width: 100%;
    border: 1px solid #fff;
    padding-left: 32px;
    position: relative;
}

.x-sort-list div:nth-child(even){
	background-color:#fafafa;
}

.x-sort-list div:hover,.x-sort-list div.u-hover{
	background-color:#D6E4F8;
	border:1px dashed #666;
}

.x-sort-list div.x-selected{
	background-color:#ffc99f;
}

.x-sort-list div img.sort-handle {
	cursor: move;
    opacity: .15;
    position: absolute;
    left: 12px;
    top: 7px;
}

.x-sort-list div:hover img.sort-handle {
	opacity: 1;
}

div.x-actionbar span.x-remark{
    color: #d9534f;
    position: absolute;
    left: 20px;
    margin-top: -5px;
}

select.x-select{
    height: 26px;
    border-radius: 4px;
    border: 1px solid #bbb;
    padding: 0 20px 0 5px;
    font-size: 14px;
    font-family: Microsoft JhengHei,Comic Sans MS,arial,helvetica,sans-serif;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background: url(../images/icons-png/carat-d-black.png) no-repeat right center transparent;
    background-size: 10px 9px;
    background-position: right 5px center;
}

select.x-select option.x-delete{
	color:red;
	text-decoration: line-through;
}

span.x-is-active{
    font-size: 14px;
    font-weight: normal;
    position: absolute;
    right: 20px;
    top: 21px;	
}
span.x-is-active input{
	cursor:pointer;
}

.x-sort-list div.x-delete{
	color:#d9534f;
	text-decoration: line-through;
}

.x-check-type-tab {
	margin-bottom: 5px;
    background-color: #ddd;
    border: 1px solid #bbb;
    padding: 8px;
    margin-right: -1px;
    cursor: pointer;
    font-weight: normal;
    border-radius: 5px 0 0 5px;
    border-right: 1px solid #ddd;
    margin-left: 25px;
    line-height: 20px;
}

.x-check-type-tab.x-selected {
	background-color: #fff;
    border-left: 3px solid #f1a637;
    border-right: 1px solid #fff;
    margin-left: 15px;
    font-weight: bold;
}

div.x-check-type-tab span.x-cnt.x-show{
	color:#fff;
	background-color:#666;
	padding:2px 6px;
	border-radius: 8px;
	white-space: nowrap;
	margin-left:4px;
	text-decoration: none;
	font-size:12px;		
}

div.x-check-type-pnl{
	position: relative;
	padding:4px;
}

div.x-check-type-pnl div.x-add-pnl{
	position: absolute;
    right: -10px;
    top: 33px;
    width: 600px;
    height: 400px;
    border: 15px solid #666;
    z-index: 40;
    color: #666;
    font-weight: normal;
    border-radius: 8px;
    background-color: #666;
    display: none;
    padding-top: 28px;
}

div.x-check-type-pnl div.x-add-pnl > div.x-body{
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: #fff;
}

div.x-check-type-pnl div.x-add-pnl div.x-title{
	font-size: 16px;
    color: #fff;
    position: absolute;
    top: 0;
    font-weight: bold;
    width: 100%;
    text-align: left;
    vertical-align: text-bottom;
}

div.x-check-type-pnl div.x-add-pnl div.x-title > button{
	background-color: #666;
	border: 1px solid #aaa;
	float: right;
}

div.x-check-type-pnl div.x-add-pnl div.x-title > button{
	background-color: #666;
	border: 1px solid #aaa;
	float: right;
}

div.x-check-type-pnl div.x-add-pnl div.x-title > button:hover{
	background-color: #888;
}

div.x-check-type-pnl div.x-open div.x-add-pnl{
	display:block;
}

div.x-check-type-pnl div.x-open > button.x-icon-add{
	background-color:#666;
	border-radius: 4px 4px 0 0;
}

div.x-check-type-pnl div.x-open > button.x-icon-add:before{
    content: '';
    position: absolute;
    background-color: #666;
    top: 26px;
    right: 0;
    width: 100%;
    height: 3px;
}

tr.x-check_item.x-hide{
	display:none;
}

div.x-check-type-pnl img.sort-handle{
	opacity:.5;
	cursor:move;
}

div.x-check-type-pnl table.x-list-table tr:nth-child(even){
	background-color:#fff;
}

div.x-check-type-pnl table.x-list-table tr:hover,div.x-check-type-pnl table.x-list-table tr.u-hover{
	background-color:#D6E4F8;
}

div.x-check-type-pnl th.x-title-caption{
	border-right-style: none;
    text-align: left;
    color: #000;
    font-size: 16px;
}

div.x-check-type-pnl th.x-title-btn{
	text-align: right;
    border-left-style: none;
}

#check_type_tabs{
	margin-top:10px;	
}

#sampling_unit_account_pnl input[type=checkbox]:checked + label{
	color:#0075ff;
}

.ui-datepicker{
    font-size:14px;
    padding: 8px 8px 2px;
    box-shadow:1px 2px 10px 0px rgba(80,80,80,0.7);
    border: 1px solid #aaa;
    margin-top:3px;
    background-color:#fff;
    z-index:1201 !important;
}

.ui-datepicker table{
	font-size:14px;
	margin: 0 0 10px;
}

.ui-datepicker table tr td:nth-child(6) a,.ui-datepicker table tr th:nth-child(6) span{
	color:#17a917;
}

.ui-datepicker table tr td:nth-child(7) a,.ui-datepicker table tr th:nth-child(7) span{
	color:#bb0000;
}

.ui-datepicker td span, .ui-datepicker td a{
	padding:5px;
	text-align:center;
}

.ui-datepicker .ui-datepicker-calendar td a{
	border: 1px solid #fff;
    background: #fff;
	border-radius: 12px;
}

.ui-datepicker .ui-datepicker-calendar td a:hover{
	border: 1px solid #f4f4f4;
    background: #f4f4f4;
}

.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year{
	margin:0 5px;
    width:55px;
    font-size:14px;
    border-style: none;
}

.ui-datepicker select.ui-datepicker-month{
    width:65px;
}

.ui-datepicker-header.ui-corner-all{
	padding: 5px 0;
	background-color: #e7e8da;
	text-align:center
}

.ui-datepicker-trigger{
	vertical-align: text-top;
    width: 18px;
    cursor: pointer;
    margin-right: 2px;
}

.ui-state-active {
    border: 0 solid #b91200 !important;
    background: #b91200 !important;
    color:#fff !important;

}

.ui-state-highlight{
    border: 0 solid #ca7b06 !important;
    background: #ca7b06 !important;
    color:#fff !important;
}

#tr_city button.x-btn, #tr_sample button.x-btn, #check_result_pnl > tbody > tr > th:first-child button.x-btn{
	height: auto;
    line-height: 20px;
    background-color: #f4f4f4;
    color: #999;
    border: 1px solid #ccc;   
    font-size: 12px;
    padding: 0 5px;
    margin-right:2px;
    margin-bottom:3px;
    font-weight: normal;
}

#tr_city button.x-btn:hover, #tr_sample button.x-btn:hover, #check_result_pnl > tbody > tr > th:first-child button.x-btn:hover{
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    color: #666;
}

#tr_city td.label div, #tr_sample td.label div{
	margin-top:8px;
}

#plan_sample_count_pnl{
	max-width:100%;
	max-height:400px;
	min-height:56px;
	overflow:auto;
	background-color:#fff;
	//background-color: #f6f6f6;
	//background-size: 6px 6px;
	//background-image: repeating-linear-gradient(135deg, #aaa 0, #aaa 0.6px, #f6f6f6 0, #f6f6f6 50%);	
}

#plan_sample_count_pnl.x-farmer-count-pnl,#plan_sample_count_pnl.x-check-sampling{
	max-height:240px;
}

#plan_sample_count_pnl.x-report-count-pnl{
	max-height: calc(100% - 45px);
}

#plan_sample_count_pnl.fullScreen{
	max-height: 100%;
    height: 100%;
    border: 10px solid #3479A7;
    border-radius: 8px;
    border-top-width: 36px;
}

#plan_sample_count_pnl div.x-close-btn{
	display:none;
}

#plan_sample_count_pnl.fullScreen div.x-close-btn{
    display: block;
    position: absolute;
    top: 0px;
    right: 17px;
    color: #fff;
    z-index: 100000;
    font-size: 26px;
    cursor:pointer;
}

#plan_sample_count_pnl.fullScreen:before{
	content: '應採樣本數(全螢幕模式) ==按Esc結束全螢幕==';
    position: absolute;
    top: 8px;
    left: 12px;
    width: 100%;
    height: 20px;
    color: #fff;
    background-color: transparent;
    z-index: 100000;
    font-size: 18px;
}

#plan_sample_count_pnl.x-farmer-count-pnl.fullScreen:before{
	content: '受檢名單統計(全螢幕模式) ==按Esc結束全螢幕==';	
}

#plan_sample_count_pnl.x-report-count-pnl.fullScreen:before{
	content: '檢驗統計(全螢幕模式) ==按Esc結束全螢幕==';	
}

#plan_sample_count_pnl.x-check-sampling.fullScreen:before{
	content: '採樣統計(全螢幕模式) ==按Esc結束全螢幕==';	
}

#plan_sample_count_pnl th.x-head-fix.x-col-fix{
	min-width:100px;
	z-index:902
}

#plan_sample_count_pnl input[name='plan_count']{
	width:100%;
	min-width:38px;
	text-align:right;
	border:1px solid #ccc;
}

#plan_sample_count_pnl td.x-zero, #plan_sample_count_pnl td.x-zero input[name='plan_count']{
	color:#ccc;	
}

#plan_sample_count_pnl.x-edit-mode table > tbody > tr > td:nth-child(even){
	color:#427cff;
}

#plan_sample_count_pnl.x-edit-mode table > tbody > tr > td:nth-child(even).x-zero, #plan_sample_count_pnl.x-edit-mode table > tbody > tr > td:nth-child(even).x-zero a{
	color:#bbd0ff;
}

#plan_sample_count_pnl.x-check-sampling table > tbody > tr > td.x-zero a{
	color:#bbd0ff;
}

#plan_sample_count_pnl input[name='plan_count']:focus{
	border:1px solid #666;
	color:#333 !important;
}

#plan_sample_count_pnl table{
	border-style: hidden;
	max-width:100%;
	max-height:100%;
	width:auto;
	height:auto;
	background-color:#fff;
}

#plan_sample_count_pnl table th{
	white-space: nowrap;	
}

#plan_sample_count_pnl table tr:nth-child(even), #plan_sample_count_pnl table tr:hover{
	background-color:#fff;
}

#plan_sample_count_pnl table tbody tr.x-focus th{
	background-color:#666;
	color:#fff
}

#plan_sample_count_pnl table thead th.x-focus{
	background-color:#666;
	color:#fff
}

#plan_sample_count_pnl table tbody td.x-focus{
	background-color:#D6E4F8;
}

#plan_sample_count_pnl table tbody tr.x-focus td{
	background-color:#D6E4F8;
}

#plan_sample_count_pnl table td{
	text-align:right;
	max-width: 80px;
	font: 400 13.3333px Arial;
}

#plan_sample_count_pnl table tr:last-child td, #plan_sample_count_pnl table tr:last-child th{
	border-top:1px double #888;
}

#plan_sample_count_pnl.x-check-sampling table tr td:last-child,#plan_sample_count_pnl.x-check-sampling table tr th:last-child{
	border-left:1px double #888;
}

#plan_sample_count_pnl.x-edit-mode table > tbody > tr > td:nth-child(odd),#plan_sample_count_pnl.x-edit-mode table > thead > tr:nth-child(2) > th:nth-child(even), #plan_sample_count_pnl.x-edit-mode table > thead > tr:first-child > th:not(.x-col-fix){
	border-right:1px double #888;
}

#plan_sample_count_pnl.x-add-mode table > tbody > tr > td,#plan_sample_count_pnl.x-add-mode table > thead > tr:first-child > th:not(.x-col-fix){
	border-right:1px double #888;
}

#plan_sample_count_pnl.x-report-count-pnl table > tbody > tr > td:nth-child(3n+1),#plan_sample_count_pnl.x-report-count-pnl table > thead > tr:nth-child(2) > th:nth-child(3n), #plan_sample_count_pnl.x-report-count-pnl table > thead > tr:first-child > th:not(.x-col-fix){
	border-right:1px double #888;
}

#plan_sample_count_pnl.x-check-sampling table thead tr th{
	min-width:50px;
}

#plan_sample_count_pnl.x-check-sampling.x-plan-type-0 table tr:last-child td, #plan_sample_count_pnl.x-check-sampling.x-plan-type-0 table tr:last-child th{
	border-top:1px solid #ccc;
}

#plan_sample_count_pnl.x-check-sampling.x-plan-type-0 table tbody tr:nth-child(even) td, #plan_sample_count_pnl.x-check-sampling.x-plan-type-0 table tbody tr th:first-child{
	border-bottom:1px double #888;
}

#plan_sample_count_pnl table td.x-ok{
	background-color:#ebfbea;
}

#plan_sample_count_pnl table td.x-ng{
	background-color:#fff1f1;
}

#plan_sample_count_pnl table tbody td.x-focus.x-ok, #plan_sample_count_pnl table tbody tr.x-focus td.x-ok{
	background-color:#dbf7da;
}

#plan_sample_count_pnl table tbody td.x-focus.x-ng, #plan_sample_count_pnl table tbody tr.x-focus td.x-ng{
	background-color:#f7d9d9;
}

#plan_sample_count_pnl th.x-col-fix, #plan_sample_count_pnl th.x-col-fix2{
	z-index:901;
	position:sticky;
	left:0;
    padding: 4px 10px;
}

#plan_sample_count_pnl.x-check-sampling tbody th.x-col-fix{
	width:80px;
	min-width:80px;
}

#plan_sample_count_pnl.x-check-sampling tbody th.x-col-fix2{
	left:80px;
}

#plan_sample_count_pnl.x-check-sampling tbody th.x-col-fix2:before{
	content:'';
	position:absolute;
	left: -1px;
	top: 0;
	height: 28px;
	width:49px;
	border-left:1px solid #ccc;
}


#plan_sample_count_pnl th.x-head-fix{
	z-index:901;
	position:sticky;
	top:0;
	height:28px;
}

#plan_sample_count_pnl th.x-head-fix2{
	z-index:901;
	position:sticky;
	top:28px;
	height:28px;
}

#plan_sample_count_pnl th.x-col-fix:after,#plan_sample_count_pnl th.x-col-fix2:after{
	content:'';
	position:absolute;
	right: 0;
	top: 0;
	width:0;
	height:100%;
	border-right:1px solid #888;
}

#plan_sample_count_pnl th.x-head-fix:before{
	content:'';
	position:absolute;
	left: 0;
	top: 0;
	height:100%;
	width:100%;
	border-top:1px solid #ccc;
	border-bottom:1px solid #888;
}

#plan_sample_count_pnl.x-check-sampling th.x-head-fix:before{
	height:calc(100% - 1px);
}

#plan_sample_count_pnl.x-edit-mode th.x-col-fix.x-head-fix:before, #plan_sample_count_pnl.x-add-mode th.x-head-fix:before{
	height:calc(100% - 1px);
}

#plan_sample_count_pnl th.x-head-fix2:before{
	content:'';
	position:absolute;
	left: 0;
	top: -1px;
	height: 27px;
	width:100%;
	border-top:1px solid #ccc;
	border-bottom:1px solid #888;
}

div.x-fullscreen-btn{
	position: absolute;
    left: -5px;
    top: -5px;
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,.2) url(../images/fullscreen.png) center center no-repeat;
    z-index: 903;
    background-size: 50%;
    border-radius: 16px;
    cursor: pointer;
    border: 2px solid rgba(255,255,255,.5);
}

div.x-fullscreen-btn:hover{
	background-color:rgba(0,0,0,.4);
}

#plan_sample_count_pnl.fullScreen div.x-fullscreen-btn{
	display:none;
}

td.x-right{
	text-align:right;
}

tr.x-top-border td, tr.x-top-border th{
	border-top:1px double #888;
}

td.x-left-border, th.x-left-border{
	border-left:1px double #888;
}

table.x-report-table tr:nth-child(even), table.x-report-table tr:hover{
	background-color:#fff;
}

table.x-report-table tr.x-odd td{
	background-color:#fafafa;
}

table.x-report-table tr.x-odd th{
	background-color:#e0e0e0;
}

table.x-report-table tbody tr.x-focus th{
	background-color:#666;
	color:#fff
}

table.x-report-table tbody tr.x-focus td{
	background-color:#D6E4F8;
}


table.x-report-table td.x-zero{
	color:#ccc;	
}

input.es-input {
    background: url(../images/icons-png/carat-d-black.png) right center no-repeat;
    height: 26px;
    border: 1px solid #bbb;
    border-radius: 4px;
    padding: 0 5px;
    padding-right: 20px!important;
    font-size: 14px;
    background-size: 10px 9px;
    background-position: right 5px center;
}

td.x-registered a{
	color:#449D44;
}

table.x-filter-bar{
	width:100%;
	border-spacing:0;
	background-color:#fffcf2;
}

table.x-filter-bar td{
	padding:0 0 4px 0;
}

table.x-filter-bar td > button, table.x-filter-bar td > div.x-checkbox-box, table.x-filter-bar td > div.x-search-box, table.x-filter-bar td > select{
	margin-top:4px;
	vertical-align:bottom
}

table.x-filter-bar td > select, table.x-filter-bar td > div.x-checkbox-box{
	background-color:#fff;
}

#check_result_pnl > tbody > tr > th:first-child{
	font-size:15px;
	padding: 8px;
}

#check_result_pnl > tbody > tr > td:last-child{
	vertical-align:top;
}

#check_result_pnl > tbody > tr > th:first-child > div{
	margin-top:8px;
}

#check_result_pnl, #check_result_pnl > tbody > tr > th, #check_result_pnl > tbody > tr > td{
	border-color:#bbb;
}

#check_result_pnl table{
	border-style: hidden;
}

#check_result_pnl table tr.x-ng{
	background-color:#fff1f1;
}

#check_result_pnl table tr.x-ok{
	background-color:#ebfbea;
}

#check_result_pnl > tbody > tr:hover{
	background-color:unset;
}

#ng_board{
	position: absolute;
    width: 100px;
    height: 100px;
    background-color: #d6000038;
    border-radius: 50px;
    right: -20px;
    top: -30px;
    z-index: 800;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    color: #bf0000;
    border: 8px solid #d6000038;
    z-index: 901;
}

#ng_board > div:first-child{
	font-size: 12px;
    padding: 30px 0 0;
    margin-left: -6px;
}

#ng_board > div:last-child > span:first-child{
    font-size: 20px;
}

#ng_board{
  animation: blinker 3s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

div.x-header-btn{
    position: fixed;
    height: 30px;
    background-color: rgba(255,255,255,.05);
    border-radius: 6px;
    left: 240px;
    top: 10px;
    z-index: 800;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.4);
    line-height: 27px;
    cursor: pointer;
}

div.x-header-btn:hover{
	background-color: rgba(255,255,255,.1);
	color: rgba(255,255,255,.8);
	border: 1px solid rgba(255,255,255,.6);
}

div.x-header-btn.x-icon-leftarrow{
	padding: 0 11px 0 27px;
}

div.x-header-btn.x-icon-leftarrow:after{
	content: '';
	position: absolute;
	left: 8px;
	top: 50%;	
	width:14px;
	height:14px;
	margin-top:-7px;
	background:url(../images/icons-png/arrow-l-white.png) right center no-repeat;
    opacity: .6;	
}

div.x-to-do div.x-title{
	font-size:16px;
	font-weight:bold;
	padding: 2px 5px 5px;
}

div.x-to-do td, div.x-to-do th{
	border-width:1px 0 1px 0;
	padding:2px 6px;
	border-color: #e4e4e4;
}

div.x-to-do a{
	text-decoration:none;	
}

#todo_sampling{
	background-color: #f9dbb4;
    padding: 5px;
    margin-bottom: 10px;
    border-radius: 8px;	
}

#todo_sampling  th{
	background-color:#faecda;
}

#todo_result{
	background-color: #c7e1b1;
    padding: 5px;
    margin-bottom: 10px;
    border-radius: 8px;	
}

#todo_result th{
	background-color:#e2eed8;
}

td.label .x-ok-legend, td.label .x-ng-legend{
    position: relative;
    font-size: 12px;
    font-weight: normal;
    padding-left: 15px;
    text-align: left;
}

td.label .x-ok-legend:after, td.label .x-ng-legend:after{
	content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 11px;
    height: 11px;
    background-color: #e4c8c8;
    border: 1px solid #fff;
}

td.label .x-ok-legend:after{
    background-color: #bfd8b3;
}

