
body {
	width: 100% ;
	height: 100%;
	*overflow-y: hidden;
	margin-top: 0;
    margin-left: auto;
    margin-right: auto;
   	padding: 0px;
	font-size: 15px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
	font-family: Arial, "Microsoft JhengHei UI", "Microsoft JhengHei", "HeiTi TC", sans-serif;
	color: #000;
	background-color: #EEEEEE;
	text-align: center;
}

h5 {
    font-weight: bold;
    display: inline-block;
    font-size: 1em;
    margin: 0 0.5em 0 0.5em;
}

a {
	color: unset;
	text-decoration: none;
}
a:hover {
	color: #0000FF;
	text-decoration: none;	
}

a.disabled {
  pointer-events: none;
  cursor: default;
}

img {
		max-width: 270px;
		max-height: 270px;
    -ms-interpolation-mode: bicubic;
}

input[type=text], input[type=number], input[type=password], input[type=file]{
    line-height: 1.2em;
    font-size: 15px;
}

input[type="number"] {
	text-align: right;
}

select, option {
		font-size: 15px;
    height: 1.7em;
}

label {
    line-height: 1.2em;
}

textarea {
    vertical-align: top; 
    line-height: 1.2em;
    font-size: 16px;
}
.wrap	{ 
	text-align: center;
	padding-left: 15px;
	padding-right: 15px;
}

ul {
	padding-inline-start: 0px;
}	


@media screen and (max-width: 500px) {
.wrap	{ 
	padding-left: 2px;
	padding-right: 2px;
}
}
.wrap:before, .wrap:after {
    display: table;
    line-height: 0;
    content: "";
}
.wrap:after { clear: both }


.caption {
	background-color: #789;
	color: white;
	font-size: 18px;
	*font-weight: bold;
    line-height: 2.5em;
}

.sub-caption {
	background-color: #789;
	color: white;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 8px;
	font-size: 16px;
	font-weight: bold;
    line-height: 1.5em;
}


/*btn*/
.btn {
	display: inline-block;
	padding: 4px 12px;
	margin-bottom: 0;
	margin-left: 1em;
	font-size: 14px;
	line-height: 20px;
	color: #3d3d3d;
	font-weight: bold;
	text-align: center;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
	vertical-align: middle;
	cursor: pointer;
	background-color: #f1f1f1;
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e3e3e3) );
	background-image: -webkit-linear-gradient(top, #ffffff, #e3e3e3);
	background-image: -o-linear-gradient(top, #ffffff, #e3e3e3);
	background-image: linear-gradient(to bottom, #ffffff, #e3e3e3);
	background-image: -moz-linear-gradient(top, #ffffff, #e3e3e3);
	background-repeat: repeat-x;
	border: 1px none #aeaeae;
	border-color: #d2d2d2;
	border-color: rgba(0, 0, 0, 0.2);
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	filter: progid:DXImageTransform.Microsoft.gradient(  startColorstr=  '#ffffffff', endColorstr=  '#ffe3e3e3', GradientType=  0 );
	filter: progid:DXImageTransform.Microsoft.gradient(  enabled=  false );
	-webkit-box-shadow: 1px -1px 0 0 rgba(0, 0, 0, 0.25) inset;
	-moz-box-shadow: 1px -1px 0 0 rgba(0, 0, 0, 0.25) inset;
	box-shadow: 1px -1px 0 0 rgba(0, 0, 0, 0.25) inset;
}

.btn:hover {
	color: #272727;
	text-decoration: none;
	background-position: 0 50px;
	-webkit-transition: background-position 0.2s linear;
	-moz-transition: background-position 0.2s linear;
	-o-transition: background-position 0.2s linear;
	transition: background-position 0.05s linear;
}

.btn:focus {
	outline: thin dotted #333;
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}

.btn.disabled, .btn[disabled] {
	background-color: #dadada;
	color: #3d3d3d;
	cursor: default;
	background-image: none;
	filter: none;
	opacity: 0.65;
	filter: alpha(opacity =   65);
	-webkit-box-shadow: 1px -1px 0 0 rgba(0, 0, 0, 0.25) inset;
	-moz-box-shadow: 1px -1px 0 0 rgba(0, 0, 0, 0.25) inset;
	box-shadow: 1px -1px 0 0 rgba(0, 0, 0, 0.25) inset;
}

.btn-warning {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #f3ae3d;
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbcc71), to(#ec920d) );
	background-image: -webkit-linear-gradient(top, #fbcc71, #ec920d);
	background-image: -o-linear-gradient(top, #fbcc71, #ec920d);
	background-image: linear-gradient(to bottom, #fbcc71, #ec920d);
	background-image: -moz-linear-gradient(top, #fbcc71, #ec920d);
	background-repeat: repeat-x;
	border-color: #e77e0c;
	border-color: rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.35);
	filter: progid:DXImageTransform.Microsoft.gradient(  startColorstr=  '#fffbcc71', endColorstr=  '#ffec920d', GradientType=  0 );
	filter: progid:DXImageTransform.Microsoft.gradient(  enabled=  false );
}

.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled] {
	color: #ffffff;
	background-color: #ec920d;
}

.btn-danger {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #e14137;
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fd5f49), to(#c82627) );
	background-image: -webkit-linear-gradient(top, #fd5f49, #c82627);
	background-image: -o-linear-gradient(top, #fd5f49, #c82627);
	background-image: linear-gradient(to bottom, #fd5f49, #c82627);
	background-image: -moz-linear-gradient(top, #fd5f49, #c82627);
	background-repeat: repeat-x;
	border-color: #bb1c1c;
	border-color: rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.35);
	filter: progid:DXImageTransform.Microsoft.gradient(  startColorstr=  '#fffd5f49', endColorstr=  '#ffc82627', GradientType=  0 );
	filter: progid:DXImageTransform.Microsoft.gradient(  enabled=  false );
}

.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled] {
	color: #ffffff;
	*background-color: #c82627;
}

.btn-success {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #7fac4f;
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#96c363), to(#67953a) );
	background-image: -webkit-linear-gradient(top, #96c363, #67953a);
	background-image: -o-linear-gradient(top, #96c363, #67953a);
	background-image: linear-gradient(to bottom, #96c363, #67953a);
	background-image: -moz-linear-gradient(top, #96c363, #67953a);
	background-repeat: repeat-x;
	border-color: #53822c;
	border-color: rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.35);
	filter: progid:DXImageTransform.Microsoft.gradient(  startColorstr=  '#ff96c363', endColorstr=  '#ff67953a', GradientType=  0 );
	filter: progid:DXImageTransform.Microsoft.gradient(  enabled=  false );
}

.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled] {
	color: #ffffff;
	background-color: #67953a;
}

.btn-info {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #75bae3;
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#98d8f7), to(#5aa2d3) );
	background-image: -webkit-linear-gradient(top, #98d8f7, #5aa2d3);
	background-image: -o-linear-gradient(top, #98d8f7, #5aa2d3);
	background-image: linear-gradient(to bottom, #98d8f7, #5aa2d3);
	background-image: -moz-linear-gradient(top, #98d8f7, #5aa2d3);
	background-repeat: repeat-x;
	border-color: #4790c8;
	border-color: rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.35);
	filter: progid:DXImageTransform.Microsoft.gradient(  startColorstr=  '#ff98d8f7', endColorstr=  '#ff5aa2d3', GradientType=  0 );
	filter: progid:DXImageTransform.Microsoft.gradient(  enabled=  false );
}

.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled] {
	color: #ffffff;
	background-color: #5aa2d3;
}

/*end btn*/

.info {
	background: #FFF
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	background-image: url("/img/info.png");
	background-repeat: no-repeat;
	background-position: 9px 50%;
	padding: 0.4em 0.4em 0.4em 30px;
}

.caution {
	clear:both;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	background-image: url("/img/caution.png");
	background-repeat: no-repeat;
	background-position: 9px 50%;
	padding: 0.4em 0.4em 0.4em 30px;
}

.high-light , .high-light a {
	color: red;
}

.light , .light a {
	color: #555;
}

.lighter , .lighter a {
	color: #AAA;
}

.bold , .bold a {
	font-weight: bold;
}

.bolder , .bolder a {
	font-weight: bolder;
}

.safe , .safe a {
	color: #8C5;
}

.scrollList {
	overflow-y: scroll;
}

.scrollList::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); 
	border-radius: 0px;
	width: 18px;
	background-color: #F5F5F5;
}

.scrollList::-webkit-scrollbar {
	width: 15px;
	background-color: #F5F5F5;
}

.scrollList::-webkit-scrollbar-thumb {
	border-radius: 1px;
	-webkit-box-shadow: inset 0 0 3px rgba(0,0,0,.3); 
	background-color: #668;
}


#main{
	overflow-y: auto;
	padding-bottom: 25px;
	padding-top: 10px;	
	background: #FFFFFF;
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#FFFFFF), to(#EEEEEE));
	background: -webkit-linear-gradient(#FFFFFF, #EEEEEE);
	background: -moz-linear-gradient(#FFFFFF, #EEEEEE);
	background: -ms-linear-gradient(#FFFFFF, #EEEEEE);
	background: -o-linear-gradient(#FFFFFF, #EEEEEE);
	background: linear-gradient(#FFFFFF, #EEEEEE);
	-pie-background: linear-gradient(#FFFFFF, #EEEEEE);	
}

#main::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); 
	border-radius: 0px;
	width: 18px;
	background-color: #F5F5F5;
}

#main::-webkit-scrollbar
{
	width: 15px;
	background-color: #F5F5F5;
}

#main::-webkit-scrollbar-thumb
{
	border-radius: 1px;
	-webkit-box-shadow: inset 0 0 3px rgba(0,0,0,.3); 
	background-color: #668;
}

#navbar {
  overflow: hidden;
  background-color: #333;
}

.content {
  padding: 16px;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.sticky + .content {
  padding-top: 50px;
}


header{
	*background-color:mediumpurple;
	background-color:rebeccapurple;
	height: 50px;
}

.header-box{
	margin-top: 15px;
	float: right;
	padding-right: 15px;
}

.logo{
	float: left;
	font-size: 25px;
	color: #FFFFFF;
	padding-left: 10px;
	line-height: 1.8;
}

.logo img{
	height:50px;
}


.logo span{
	letter-spacing: 1px;
	font-size: 18px;
	font-weight: bold;
	margin-left: 15px;
	padding-top: 10px;
}

.logo a, .logo a:hover{
	color: #FFFFFF;
}

.logo-text span{
	line-height: 2.2;
	font-size: 22px;
	font-weight: bolder;
}

.logo-text a, .logo-text a:hover{
	color: #FFFFFF;
}

.main-box {
	border-radius: 8px;
	width: 100%;
	/*overflow: hidden;*/
	line-height: 1.8;
	border: 1px solid #EEEEEE;
	background: #F9F9F9;
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#F9F9F9), to(#FFFFFF));
	background: -webkit-linear-gradient(#F9F9F9, #FFFFFF);
	background: -moz-linear-gradient(#F9F9F9, #FFFFFF);
	background: -ms-linear-gradient(#F9F9F9, #FFFFFF);
	background: -o-linear-gradient(#F9F9F9, #FFFFFF);
	background: linear-gradient(#F9F9F9, #FFFFFF);
	-pie-background: linear-gradient(#F9F9F9, #FFFFFF);
    border-radius: 10px;
    width: 100%;
    float: left;
}

.sideleft {
    width: 12.5%;
	min-height:450px;
    float: left;
	text-align: left;
    overflow: hidden;
}

.sideleft-content {
	width: 87.3%;
	overflow-x: auto;
	overflow-y: auto;
	min-height:810px;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #EEEEEE;
	background: #FFFFFF;
}

.list {
	width: 100%;
	float: left;
	margin: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}

.list ul {
	display: flex;
	flex-wrap: wrap;
	padding: 0px;
	margin-block-start: 0.2em;
  margin-block-end: 0.2em;
}

.list ul li {
	display: block;
	flex: 1 1 23%;
	padding: 5px;
	border: 1px solid #E8E8E8;
	margin-left: 10px;
	margin-right: 5px;
	margin-bottom: 5px;
	border-radius:5px;
}

.list ul li .current , .vlist .current {
	background: #8899DD
}

.list ul li .current a ,.vlist .current a {
	color: white;
}

.list ul li legend , .vlist legend{
	padding: 5px;
	text-align: center;
	font-weight: bold;
	width: 98%;
	color: #FFF;
	background: #8899DD
}

.list ul li legend a , .vlist legend a{
	color: #0F0;
}

ul.list-item {
	color:#00F;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}

ul.list-item li {
	display: block;
	flex: 1 1 15%;
	overflow-x: auto;
}

/* vertical list */
.vlist {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  display: -webkit-flex;
  -webkit-flex-wrap: wrap;
  -webkit-flex-direction: column; 
  height: 720px;
}

.v-flex-50 {
	width: 25%;
	-webkit-flex: 0 0 50%;
	flex: 0 0 50%;
	padding: 5px;
	border: 1px solid #E8E8E8;
	border-radius:5px
}

.v-flex-100 {
	width: 25%;
	-webkit-flex: 0 0 100%;
	flex: 0 0 100%; 
	-webkit-order: 1;
	order: 1;
	padding: 5px;
	border: 1px solid #E8E8E8;
	border-radius:5px
}

.list-box-caption {
	background: #456;	
	color : white;
	margin-top: 0px;
	padding-top: 6px;
}

.list-box {
	background: #9AB;
	margin-top : 5px;
	padding: 6px;
}

.list-box:hover {
	background: #123;	
	color  : white;
}

.list-box .bold {
	font-weight: bold;
}

.list-box .bolder {
	font-weight: bolder;
}

.float-right {
	float: right;
}

.float-left {
	float: left;
}

.edit-box {
	background: #F5F5F5;	
	margin-bottom: 3px;
	padding: 0px 5px 0px 0px;
	border: 1px solid #E8E8E8;
	border-radius:5px;
}

.edit-box:hover {
	background: #ddd;	
	cursor: pointer;
}

.drag-box {
	background: #fff;	
	border: 0.1px solid #E8E8E8;
	width: 100%;
	line-height: 2.12em;
}

.drag-box:hover {
	background: #eee;	
}

.drag-box:active a {
	color: #f00;	
}

.drag-box-50 {
	background: #fff;	
	border: 0.1px solid #E8E8E8;
	width: 50%;
}

.drag-box-50:hover {
	background: #eee;	
}

.drag-box-50:active a {
	color: #f00;	
}

.dialog, .dialog-ext {
	 width: 40%; 
	 text-align: center;
}

.p-t-5 {
  padding-top: 5px !important;
}
.p-r-5 {
  padding-right: 5px !important;
}
.p-l-5 {
  padding-left: 5px !important;
}
.p-b-5 {
  padding-bottom: 5px !important;
}
.padding-5 {
  padding: 5px !important;
}
.p-t-10 {
  padding-top: 10px !important;
}
.p-r-10 {
  padding-right: 10px !important;
}
.p-l-10 {
  padding-left: 10px !important;
}
.p-b-10 {
  padding-bottom: 10px !important;
}
.padding-10 {
  padding: 10px !important;
}
.p-t-15 {
  padding-top: 15px !important;
}
.p-r-15 {
  padding-right: 15px !important;
}
.p-l-15 {
  padding-left: 15px !important;
}
.p-b-15 {
  padding-bottom: 15px !important;
}
.padding-15 {
  padding: 15px !important;
}
.p-t-20 {
  padding-top: 20px !important;
}
.p-r-20 {
  padding-right: 20px !important;
}
.p-l-20 {
  padding-left: 20px !important;
}
.p-b-20 {
  padding-bottom: 20px !important;
}
.padding-20 {
  padding: 20px !important;
}
.m-t-5 {
  margin-top: 5px;
}
.m-r-5 {
  margin-right: 5px;
}
.m-l-5 {
  margin-left: 5px;
}
.m-b-5 {
  margin-bottom: 5px;
}
.m-t-10 {
  margin-top: 10px;
}
.m-t-20 {
  margin-top: 20px;
}
.m-t-30 {
  margin-top: 30px;
}
.m-t-50 {
  margin-top: 50px;
}
.m-r-10 {
  margin-right: 10px;
}
.m-l-10 {
  margin-left: 10px;
}
.m-b-10 {
  margin-bottom: 10px;
}

@media screen and (max-width: 1000px) {
.sideleft-content {
	width: 100%;
	overflow: auto;
	min-height:0px;
}

.list ul {
	display: block;
	float: none;
}
.list ul list-box {
	display: block;
	float: none;
}

#relation_list {
	display: flex;
	float: none;
}

.list ul li {
	margin-left: 2px;
	margin-right: 2px;
	padding: 0px;
}

}}
