@charset "utf-8";
/* ************************************************************ */
/* € Common - CSS */
/* ************************************************************ */

:root{
	--body-color: var(--color7);
	/* --body-color: #FFF; */
	--body-edit-color: var(--color7);
	--text-color: var(--color1);
	--text-bg-color: var(--color5);
	/* --link-color: var(--color2); */
	--link-color: var(--color1);
	--line-color: var(--color4);
	--border-color: var(--color3);
	--header-color: var(--color4);
	--tab-bg-color: var(--color5);
	--list-header-color: var(--color2);
	--list-color1: var(--color5);
	--list-color2: var(--color6);
	--edit-tab-color: var(--color6);
}

/* BODY STYLES */
html, body, form{
	margin:0;
	padding:0;
}
body{
	font-family:Tahoma, Arial, Helvetica, sans-serif;
	font-size:small;
	color:#333333;
	background-color: var(--body-color);
}
body.edit, body.index{
	width:988px;
	background:url(../images/edit_bg.png?=20221103) repeat-y var(--body-edit-color);
}
img{
	border: none;
}

/* Tags */
img{
	border: none;
}
textarea, select, input{
	font-family:Tahoma, Arial, Helvetica, sans-serif;
}
textarea{
	font-size:small !IMPORTANT;
	white-space:pre-wrap;
}
input[type="submit"], input[type="button"]{
	min-width:70px;
	height:24px;
	font-weight: bold;
	border:solid 1px #A7A7A7;
	background:url(../images/button.png) repeat-x;
	color: var(--link-color);
}
input[type="submit"]:hover, input[type="button"]:hover{
	border:solid 1px var(--link-color);
}
input[type="submit"]:disabled, input[type="button"]:disabled{
	color:#999;
	border:solid 1px #CCCCCC;
}
input[type="submit"].long, input[type="button"].long{
	min-width:140px;
}

table{
	border-collapse:collapse;
	border-spacing:0;
}
th{
	font-weight:normal;
	font-size:8pt;
}

a:link, a:visited{
	color: var(--link-color);
	text-decoration:none;
}
a:hover{
	text-decoration:underline;
}

h1{
	margin:0;
	padding:0;
	font-size:20px;
	font-weight:bold;
	color: var(--text-color);
}
div.container h1{
	transform: skewX(160deg);
	margin-left: 5px;
	padding-left: 10px;
	color: var(--text-color);
	border-left: 20px solid var(--text-color);
}
h2{
	margin:0;
	padding:0;
	font-size:18px;
	color: var(--text-color);
	/* color: var(--color2); */
}
h3{
	margin:0 2px 5px 2px;
	padding: 4px 10px;
	font-size:14px;
	color: var(--text-color);
	border-left: 20px solid var(--border-color);
	background-color: var(--text-bg-color);
}
table h3{
	margin-bottom: 0;
}

hr{
	height: 2px;
	background-color: var(--line-color);
	border: 0;
}

hr.dashed{
	background-color: var(--body-color);
	border-top: dashed;
	border-color: var(--line-color);
}

/* Calendar arrows */
a.prev{
	display: block;
	width: 22px;
	height: 22px;
}
a.next{
	display: block;
	width: 22px;
	height: 22px;
}

/* Fieldset */
fieldset{
	padding:10px;
	padding-top:0px;
	border: solid 2px var(--border-color);
}
legend{
	color: var(--text-color);
	font-weight:bold;
	padding:5px;
}

/* Text Boxes */
input[type="text"], input[type="password"], textarea{
	border:1px solid #A5ACB2;
	margin:0;
	padding:2px;
	/* height:18px; */

}
input.required, textarea.required{
	background-color:#FFFFD7;
}
input.list_required, textarea.list_required{
	background-color:#FFFFD7;
}
input.readonly, textarea.readonly{
	background-color:#EEEEEE;
}
input.number, input.price, input.rate, input.qty, span.number, span.price, span.rate, span.qty, 
td.number, td.price, td.rate, td.qty{
	text-align:right;
}
input.number, input.price, input.rate, input.qty, input.date, span.number, span.price, span.rate, span.qty, span.date, th.number, 
th.price, th.rate, th.qty{
	width:100px;
}
input[type="text"].days, input[type="text"].time, input[type="text"].hours{
	width:50px;
	text-align: right;
}
input.red{
	color:#DB0000;
}
input.faint{
	color:#999;
}
input[type="text"]:focus, input[type="password"]:focus, textarea:focus{
	border:solid 1px #DB0000;
}

/* Select */
select{
	margin:0;
	border:1px solid #A5ACB2;
	height:22px;
}
select.required{
	background-color:#FFFFD7;
}
select.list_required{
	background-color:#FFFFD7;
}
select.readonly{
	background-color:#EEEEEE;
}

/* Width */
input[type="text"].tiny, select.tiny, th.tiny, td.tiny, span.tiny{
	width:50px;
}
select.tiny{
	width:56px;
}
input[type="text"].short, textarea.short, th.short, td.short, span.short{
	width:100px;
}
select.short{
	width:106px;
}
input[type="text"].middle, input[type="password"].middle, input[type="file"].middle, textarea.middle, th.middle, td.middle, span.middle{
	width:200px;
}
select.middle{
	width:206px;
}
input[type="text"].long, input[type="password"].long, input[type="file"].long, textarea.long, th.long, td.long, span.long{
	width:300px;
}
select.long{
	width:306px;
}
input[type="text"].full, input[type="file"].full, textarea.full, span.full{
	width:800px;
}
select.full{
	width:806px;
}
input[type="text"].approver_comments{
	width:400px;
}

/* Checkbox & Radio */
input[type="checkbox"], input[type="radio"]{
	margin:4px 1px;
}

/* List */
ul{
	list-style-type:none;
	margin:0;
	padding:0;
}


/* HEADER STYLES */
div#header{
	background-color: var(--header-color);
	border-bottom: 3px solid var(--border-color);
	padding:10px 15px 0 15px;
}
body.edit div#header{
	border-bottom:3px solid var(--border-color);
	position: fixed;
	width:958px;
	z-index: 1;
}

div#header td{
	white-space:nowrap;
	margin:0;
	padding:0;
}
div#header td.tab{
	width:250px;
	height:40px;
	background-color: var(--text-color);
}
div#header td.tab h1{
	margin:0;
	padding:0;
	line-height:40px;
	text-align:center;
	font-size:18px;
	color:#FFF;
}
div#header td#icons img{
	margin:0;
	margin-left: 5px;
	vertical-align:middle;
}
div#header td#icons span{
	display:inline-block;
	width: 100px;
	text-align:left;
	vertical-align: middle;
	margin-top: 5px;
}
div#header td#icons a, div#header td#icons span{
	color: #FFFFFF;
	text-shadow: 1px 1px 1px #000;
	width: 50px;
}
div#header td#icons a:hover, div#header td#icons span.selected{
	font-weight: bold;
}

/* MAIN TAB STYLES */
table.menu{
	border-collapse: separate;
	border-spacing:3px;
	font-size:9pt;
}
table.menu td.menu_tab{
	text-align:center;
	line-height:26px;
	white-space:nowrap;
	width:130px;
}
table.menu td.menu_tab_left{
	width:15px;
}
td.menu_tab_right{
	font-size:8pt;
	white-space:nowrap;
	text-align: right;
	width: 150px;
}
td.menu_tab_right a{
	font-weight: bold;
	display: inline-block;
	margin-top: 2px;
}
table.menu td.menu_tab a{
	color:#999999;
	background-color: var(--tab-bg-color);
	display: block;
	text-decoration:none;
	font-weight:normal;
	border-top:3px solid #CCC;
}
table.menu td.menu_tab a:hover, table.menu td.selected a{
	color: var(--link-color);
	background-color: var(--body-color);
	text-decoration:none;
	font-weight:bold;
	border-top:3px solid var(--link-color);
}

/* SUB TAB STYLES */
body.edit table.menu td.menu_tab a{
	background-color: var(--edit-tab-color);
}
body.edit table.menu td.menu_tab a:hover, body.edit table.menu td.selected a{
	background-color: var(--tab-bg-color);
}
div.tab_body{
	border-top: 3px solid var(--header-color);
	padding:10px 0;
	overflow:auto;
}
div.tab_content{
	display: none;
}

/* Common Styles */
.left{
	text-align:left;
}
.right{
	text-align:right;
}
.center{
	text-align:center;
}
.top{
	vertical-align:top;
}
.bottom{
	vertical-align:bottom;
}
.red{
	color:#DB0000;
}
div.footer{
	text-align:right;
	margin-top:15px;
}
div.spacer{
	margin-bottom:10px;
	clear:both;
}
div.spacer_narrow{
	margin-bottom:5px;
	clear:both;
}
div.clear{
	clear:both;
}
.transparent{
	background-color: var(--body-color);
}

/* Container */
div.index{
	width:400px;
	margin:100px auto;
	clear:both;
}
div.container{
	padding:15px;
	padding-bottom:0;
}
body.edit div.container{
	padding-top: 65px;
}
div.edit{
	width:1000px;
}


/* Table (common) */
table.nowrap th, table.nowrap td{
	white-space:nowrap;
}

/* Table (List) */
table.list{
	border-collapse: separate;
	border-spacing: 2px;
}
table.list tr{
	background-color: var(--list-color1);
}
table.list tr.even{
	background-color: var(--list-color2);
}
table.list tr.inactive{
	background-color:#B1B1B1;
}
table.list tr:hover{
	background-color:#FFFFD7;
}

table.list tfoot tr{
	background-color: var(--body-color);
	font-weight:bold;
}
table.list tfoot tr:hover{
	background-color: var(--body-color);
}

table.list th{
	background-color: var(--list-header-color);
	/* background-color: var(--border-color); */
	color: #FFFFFF;
	border-bottom:2px solid var(--body-color);
	padding: 3px;
	white-space:nowrap;
	text-align: center;
	text-shadow: 1px 1px 1px var(--text-color);
}
table.list th a{
	color: #FFFFFF;
}
table.list th.date{
	width:85px;
}
table.list th.wrap{
	white-space:normal;
}
table.list td{
	padding: 4px 4px;
	white-space:nowrap;
}
table.list td a{
	font-weight:bold;
	padding-left:10px;
}
table.list th.input, table.list td.input{
	padding:0;
	text-align:center;
}
table.list td.input a{
	padding-left:0;
	background-image: none;
}
table.list td.input img{
	vertical-align:middle;
}
table.list td.left{
	text-align:left;
}
table.list td.wrap{
	white-space:normal;
}
/* table.list input[type="submit"], table.list input[type="button"]{
	height:22px;
} */

/* Table (Criteria) */
table.criteria{
	border-collapse: separate;
	border-spacing:3px;
	font-size:8pt;
	/* width:1000px; */
}
table.criteria th{
	width:100px;
	text-align:right;
	padding-right:10px;
	white-space:nowrap;
}
table.criteria td{
	padding: 0;
	white-space:nowrap;
}
table.criteria td.right{
	padding-right:0;
}
table.criteria td.title{
	width: 300px;
}

/* Table (Edit) */
table.edit{
	border-collapse: separate;
	border-spacing:5px;
	font-size:8pt;
}
table.edit th{
	text-align:right;
	padding:0 5px 0 5px;
	white-space:nowrap;
	background-color: var(--text-bg-color);
	color: var(--text-color);
	width:95px;
	height:21px;
}
table.edit th.normal, table.edit td.normal{
	white-space:normal;
}
table.edit td{
	padding:0 10px 0 0;
	white-space:nowrap;
}
table.edit td.right{
	padding-right:0;
}
table.edit td.title{
	padding:0;
}
table.edit td.button{
	padding:0;
	margin:0;
	text-align:right;
}
table.edit td.title h4{
	margin:0;
}
table.edit td span:not(.ui-icon){
	display: block;
	margin: 0;
	padding: 0 2px;
	height: 20px;
	line-height: 20px;
	color: #000;
	font-size: small;
	background-color:#EEEEEE;
	border:1px solid #A5ACB2;
	overflow: hidden;
}
table.edit td a{
	font-size: small;
	font-weight:bold;
	padding-left:10px;
}
/* table.edit input[type="submit"], table.edit input[type="button"]{
	height:22px;
} */

/* Table (Footer) */
table.footer{
	border-collapse: separate;
	border-spacing:3px;
}
table.footer th{
	width:70px;
	text-align:right;
	padding-right:10px;
	white-space:nowrap;
}
table.footer td{
	padding:0;
	white-space:nowrap;
}

/* Error message */
div#message{
	padding:5px;
	color:#DB0000;
	font-weight:bold;
}

/* >>> TRF22-069 #2 14/01/2023 K.Ono */
@media screen and (max-width: 987px){
	body.edit, body.index{
		width:100%;
	}
	body.edit div#header{
		position:relative;
		width:100%;
	}
	body.edit div.container{
		padding-top: 15px;
	}
}
/* <<< TRF22-069 #2 14/01/2023 K.Ono */
