/* Master Maintenance */

body {
	margin: 0;
	background: white;
}

body * {
	margin: 0;
	padding: 0;
	line-height: 1;
	font-size: small;
}

ul, ol {
	list-style: none;
}

img {
	border: 0;
}

.clear {
	clear: both;
}
.clear-left {
	clear: left;
}
.clear-right {
	clear: right;
}

a:link, a:visited {
	color: #0186e3;
}

a:hover, a:active {
	color: #24c6fe;
}

/* @group Menu on Table */

ul.menuontable {
	text-align: right;
	margin-bottom: 5px;
}

ul.menuontable li {
	display: inline;
	padding: 0 0 0 5px;
}

ul.menuontable li a.add {
	padding: 0 2px 0 18px;
	background: transparent url(add.png) no-repeat left center;
}

ul.menuontable li a.edit {
	padding: 0 2px 0 18px;
	background: transparent url(pencil.png) no-repeat left center;
}

ul.menuontable li a.search {
	padding: 0 2px 0 18px;
	background: transparent url(magnifier.png) no-repeat left center;
}

ul.menuontable li a.list {
	padding: 0 2px 0 18px;
	background: transparent url(table.png) no-repeat left center;
}

ul.menuontable li a.stop {
	background: transparent url(stop.png) no-repeat left center;
}



ul.menuontable + table.list {
	margin-top: 0;
}

ul.menuontable + table.detail {
	margin-top: 0;
}

/* @end */

/* @group List Table */

table.list {
	width: 95%;
	margin: 10px auto 30px;
	border-top: 1px solid #b8b8b8;
	border: solid rgb(204, 204, 204);
	border-right-width: 1px;
	border-width: 1px;
	border-collapse: collapse;
}

table.list thead {
	
}

table.list thead th {
	background: #ccc url(grey_gradation_80v.png) repeat-x top center;
	border-left: 1px dotted #ccc;
	border-bottom: 1px solid #ccc;
	white-space: nowrap;
}

table.list thead tr.nolinks th {
	padding: 5px 0;
}

table.list thead th a {
	display: block;
	padding: 5px;
	white-space: nowrap;
}

table.list th a:hover {
	background: #e9f3fc;
}

table.list thead th.selected a {
	background-color: #6e89b7;
	background-repeat: no-repeat;
	background-position: right center;
	color: white;
}

table.list thead th.selected a span {
	font-size: x-small;
	padding-left: 2px;
}

table.list thead th.selected a:hover {
	background-color: #96b2e2;
}

table.list tr {
	border-left: 1px solid #ccc;
	padding: 5px;
}

table.list td {
	border-bottom: 1px solid #ccc;
	padding: 5px;
}

table.list td.date {
	text-align: center;
	font-family: 'Lucida Sans Typewriter', 'Monaco', 'Courier', monospace;
}

table.list td.edit {
	text-align: center;
	white-space: nowrap;
}

table.list td.edit a {
	padding: 2px 6px 2px 18px;
	color: #454545;
	text-decoration: none;
	background-repeat:  no-repeat;
	background-position: center left;
}

table.list td.edit a:hover {
	color: #007d00;
	text-decoration: underline;
}

table.list td.edit a.detail {
	background-image: url(page_white_text.png)
}

table.list td.edit a.edit {
	background-image: url(pencil.png);
}

table.list td.edit a.delete {
	background-image: url(delete.png);
}

table.list td.edit a.user {
	background-image: url(user.png);
}

table.list td.edit a.stop {
	background-image: url(stop.png);
}

table.list td.edit a.download {
	background-image: url(download.png);
}

table.list td.edit a.enquete {
	background-image: url(attachment.png);
}


/*
table.list tr.colored {
	background: #f3fff3;
}
*/
table.list tr.hover {
	background: #d5fddb;
}

table.list tbody tr.hidden td {
    background-color: #E0E0E0;
    border-bottom: 1px solid #ccc;
}

/*
table.list td span {
	padding: 0 5px;
}
*/

table.list td.order {
	vertical-align: middle;
	text-align: center;
	width: 40px;
	padding: 3px 25px;
}

table.list td.order img {
	width: 16px;
	height: 16px;
}

table.list td.order a {
	display: block;
	width: 16px;
	height: 16px;
}

table.list td.order a.up {
	float: left;
}

table.list td.order a.down {
	float: right;
}

table.list td.order a.hidden {
	visibility: hidden;
}

/* @end */

/* @group Detail Table */

table.detail {
	width: 100%;
	margin: 20px 0;
	border-collapse: collapse;
}

table.detail.join {
	margin-top: 0;
	border-top: none;
}

table.detail th {
	text-align: right;
	border-bottom: 1px solid #ccc;
	padding: 5px 10px 5px 10px;
	vertical-align: top;
	line-height: 1.3;
	white-space: nowrap;
	color: #0e6dbd;
	font-weight: normal;
}

table.detail td {
	border-bottom: 1px solid #ccc;
	padding: 6px 10px 3px 3px;
	vertical-align: top;
	line-height: 1.3;
}

table.detail td span {
	padding: 0 5px;
}

/* @end */

/* @group Form */

form.input {
	
}

form.input input, 
form.input textarea,
form.input select {
	padding: 2px 1px;
	line-height: 1;
	font-family: 'Lucida Grande', 'HiraKakuPro-W3', 'MS PGothic';
}

form.input fieldset {
	border-top: 1px solid #ccc;
	border: none;
	padding: 10px 0 0;
	width: auto;
	margin: 20px 0 0;
}

form.input fieldset.separate {
	border-bottom: 1px solid #cbcbcb;
}

form.input fieldset legend {
	font-size: medium;
	line-height: 1.5;
	color: #40940f;
	font-weight: bold;
	padding: 2px 5px;
}

form.input fieldset p.remarks {
	
}

form.input fieldset table {
	width: 100%;
	border-collapse: collapse;
	border-top: 1px solid #ccc;
}

form.input fieldset table.fields tr.colored {
	background: #eff2f7;
}

form.input fieldset table th {
	padding: 3px 3px 3px 10px;
	text-align: left;
	border-bottom: 1px solid #ccc;
	color: #db400f;
	line-height: 20px;
	width: 200px;
}

form.input fieldset table td {
	padding: 3px 10px 3px 3px;
	border-bottom: 1px solid #ccc;
	line-height: 20px;
}

form.input fieldset table label {
	padding: 0 10px 0 0;
}

form.input fieldset table td div.errormessage {
	background-color: #ffefe7;
	color: #ff2121;
	line-height: 1.5;
	padding: 0 4px;
}

.required {
	color: #f30;
	font-weight: bold;
	font-family: Courier;
	padding: 0 3px 0 0;
}

form.input div.submit,
form.input div.submit-create {
	padding: 10px;
	margin: 0;
	text-align: center;
	background: #f5f5f5 url(submit_bg.png)  repeat-x center top;
	border-top: 1px solid #ccc;
}

form.input div.submit input.entry,
form.input div.submit input.update,
form.input div.submit input.return,
form.input div.submit input.delete,
form.input div.submit input.remake {
	display: block;
	margin: 4px auto;
	width: 200px;
	height: 26px;
	border: none;
	font-size: 13px;
	font-weight: bold;
	cursor: pointer;
	line-height: 26px !important;
	padding: 0;
}

form.input div.submit input.entry {
	background: transparent url(submit_blue.png) no-repeat top center;
	color: #0050ff;
}

form.input div.submit input.entry:hover {
	background: transparent url(submit_blue.png) no-repeat bottom center;
	color: white;
}

form.input div.submit input.update {
	background: transparent url(submit_green.png) no-repeat top center;
	color: #009b17;
}

form.input div.submit input.update:hover {
	background: transparent url(submit_green.png) no-repeat bottom center;
	color: white;
}

form.input div.submit input.return,
form.input div.submit input.delete,
form.input div.submit input.remake {
	background: transparent url(submit_red.png) no-repeat top center;
	color: #dd3e15;
}

form.input div.submit input.return:hover {
	background: transparent url(submit_red.png) no-repeat bottom center;
	color: white;
}

form.input div.submit table {
	border-collapse: collapse;
	border: none;
	margin: 0 auto;
}

form.input div.submit table td {
	padding: 0 8px;
}

form.input div.submit.separate {
	margin-top: 20px;
}

form.input fieldset div.submit {
	background-image: none;
	background-color: white;
	border: none;
}

form.input fieldset div.submit td {
	border: none;
}

ul.errors {
	margin: 10px;
	padding: 4px;
	border: 1px solid #ffd4ca;
	background: #ffefe7 url(../images/errors_bg.png) repeat-x center center;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}

ul.errors li {
	color: #ff002c;
}

form.input fieldset table tr.error th,
form.input fieldset table tr.error td {
	background: #ffefe7 url(../images/errors_bg.png) repeat-x center center;
}

form.input table ul.hiddens li {
	margin-right: 2em;
	float: left;
	white-space: nowrap;
}

form.input span.helptext {
	padding-left: 10px;
	color: #666;
	line-height: 1;
}

/* @group Input Form Size */

input.sizeSSS {
	width: 30px;
}

input.sizeSS {
	width: 60px;
}
input.sizeS {
	width: 110px;
}
input.sizeM {
	width: 150px;
}
input.sizeL {
	width: 230px;
}
input.sizeLL {
	width: 350px;
}

form.input textarea {
	width: 450px;
}
textarea.sizeLL {
	height: 280px;
}
textarea.sizeL {
	height: 180px;
}
textarea.sizeM {
	height: 100px;
}
textarea.sizeS {
	height: 70px;
}
textarea.sizeSS {
	height: 2.3em;
}
textarea.sizeSSS {
	height: 1em;
}
	
/* @end */

textarea#css, textarea#javascript {
	width: 500px;
	font-family: 'Lucida Sans Typewriter', 'Courier New', 'Courier', monospace;
}

textarea#source {
	font-family: 'Lucida Sans Typewriter', 'Courier New', 'Courier', monospace;
}

textarea#html {
	width: 500px;
	height: 400px;
	font-family: 'Lucida Sans Typewriter', 'Courier New', 'Courier', monospace;
}

/* @end */

/* @group Pager UL */

ul.pager {
	text-align: center;
}

ul.pager li {
	display: inline;
	margin: 0 1px;
}

ul.pager li a,
ul.pager li span {
	padding: 2px 5px;
}

ul.pager li.page a {
	border: 1px solid #ccc;
	text-decoration: none;
}

ul.pager li.page a:link,
ul.pager li.page a:visited {
	
}

ul.pager li.page a:hover,
ul.pager li.page a:active {
	background: #ccc;
	color: white;
}

ul.pager li.page span {
	border: 1px solid #57bb3a;
	text-decoration: none;
	color: #57bb3a;
}

/* @end */

/* @group Local Menu */

div.localmenu {
	
}

div.localmenu div.caption {
	padding-left: 20px;
	float: left;
}

div.localmenu ul.menu {
	margin-right: 30px;
	margin-top: 5px;
	float: right;
}

div.localmenu ul.menu li {
	display: inline;
	padding: 5px 10px;
	margin: 0;
	border: 1px solid #ccc;
	background: #efefef;
	-webkit-border-radius: 4px;
}

div.localmenu ul.menu li.selected {
}

div.localmenu ul.menu li a {
	padding: 3px;
	text-decoration: none;
}

div.localmenu ul.menu li.selected a {
	color: #666;
}

div.localmenu ul.menu li a.edit {
	padding-left: 18px;
	background: transparent url(pencil.png) no-repeat left center;
}

div.localmenu ul.menu li a.add {
	padding-left: 18px;
	background: transparent url(add.png) no-repeat left center;
}

div.localmenu ul.menu li a.list {
	padding-left: 18px;
	background: transparent url(table.png) no-repeat left center;
}

div.localmenu ul.menu li  a.sheet {
	padding-left: 18px;
	background: transparent url(tool.png) no-repeat left center;
}

div.localmenu ul.menu li  a.order {
	padding-left: 18px;
	background: transparent url(cart.png) no-repeat left center;
}

/* @end */

div.datepickercontainer {
	position: absolute;
	padding: 3px;
	border: 1px solid #ccc;
	background: #efefef;
	-webkit-border-radius: 5px;
	z-index: 100;
}

div.datepickercontainer-mat {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
}

/* @group Date Picker */

div#ui-datepicker-div {
	z-index: 200;
}

div.datepickercontainer {
	position: absolute;
	display: none;
	background: #efefef url(../images/datepicker_bg.gif);
}

div.datepickercontainer.draggable {
	cursor: move;
}

div.datepickercontainer td {
	vertical-align: top;
}

div.datepickercontainer td.time h4 {
	height: 15px;
}

div.datepickercontainer td.time {
	padding-top: 4px;
	padding-left: 10px;
	width: 180px;
}

div.datepickercontainer td.time h4.hours {
	background: transparent url(../images/timepicker_hours_title.png) no-repeat left center;
}

div.datepickercontainer td.time h4.minutes {
	background: transparent url(../images/timepicker_minutes_title.png) no-repeat left center;
	margin: 5px 0 3px;
}

div.datepickercontainer td.time ul {
	margin: 3px 0;
}

div.datepickercontainer td.time ul li {
	float: left;
}

div.datepickercontainer td.time ul li a {
	display: block;
	width: 28px;
	height: 18px;
	text-align: center;
	line-height: 18px;
	margin: 1px;
	font-family: sans-serif;
	font-weight: bold;
	text-decoration: none;
	overflow: hidden;
}

div.datepickercontainer td.time ul.hours li a {
	background-image: url(../images/timepicker_hours.png);
}

div.datepickercontainer td.time ul.minutes li a {
	background-image: url(../images/timepicker_minutes.png);
}

div.datepickercontainer td.time ul li a:link,
div.datepickercontainer td.time ul li a:visited {
	background-position: center top;
}

div.datepickercontainer td.time ul li a:hover {
	background-position: center center;
}

div.datepickercontainer td.time ul li a:active {
	background-position: center bottom;
	line-height: 20px;
}

div.datepickercontainer td.time ul.hours li a:link,
div.datepickercontainer td.time ul.hours li a:visited {
	color: #727272;
}

div.datepickercontainer td.time ul.hours li a:hover {
	color: #04c364;
}

div.datepickercontainer td.time ul.hours li a:active {
	color: #2d905f;
}

div.datepickercontainer td.time ul.hours li a.selected:link,
div.datepickercontainer td.time ul.hours li a.selected:visited,
div.datepickercontainer td.time ul.hours li a.selected:hover,
div.datepickercontainer td.time ul.hours li a.selected:active {
	background-position: center bottom;
	line-height: 20px;
	color: #2d905f;
}

div.datepickercontainer td.time ul.minutes li a:link,
div.datepickercontainer td.time ul.minutes li a:visited {
	color: #727272;
}

div.datepickercontainer td.time ul.minutes li a:hover {
	color: #0452c3;
}

div.datepickercontainer td.time ul.minutes li a:active {
	color: #2c5890;
}

div.datepickercontainer td.time ul.minutes li a.selected:link,
div.datepickercontainer td.time ul.minutes li a.selected:visited,
div.datepickercontainer td.time ul.minutes li a.selected:hover,
div.datepickercontainer td.time ul.minutes li a.selected:active {
	background-position: center bottom;
	line-height: 20px;
	color: #2c5890;
}

form.input input.datetimepicker,
form.input input.datepicker {
	background: transparent url(../../images/icon/calendar.png) no-repeat left center;
	padding-left: 20px;
	font-family: monospace;
}

form.input input.datetimepicker {
	width: 140px;
}

form.input input.datepicker {
	width: 90px;
}

div.datepickercontainer td.time div.help {
	font-size: x-small;
	padding-top: 5px;
}

img.cleardate {
	cursor: pointer;
	padding-left: 5px;
}

div.datepickercontainer img.close {
	position: absolute;
	cursor: pointer;
	right: 4px;
	bottom: 4px;
}

/* @end */

