body {
	margin: 0;
	padding: 0;
	background-color: #eaf2f8;
  font-family: Segoe UI;
  font-size: 10pt;	
}

h3 {
	margin-top: 0px;
}

a img {
	position: relative;
	top: 4px;
	cursor: pointer;
}

select {
	padding-top: 2px;
	padding-bottom: 2px;
}

a.button {
	display: inline;
	text-decoration: none;
}

a.button > div {
	background: url('bg_button.png') repeat-x top #035584;
	padding: 0 6px 0 6px; 
	color: white;
	font-size: 8pt;
	text-decoration: none;
	height: 16px;
	width: auto;
	display: inline-block;
	cursor: pointer;
}

a.button > div:hover {
	background: #86CAFF;
	color: blue;
}

.button_panel a.button > div {
	min-width: 60px;
}

.result_table a.button > div {
	background: url(bg_button.png) repeat-x 0 5px;
	height: 22px;
}

.result_table a.button > div:hover {
	background: url(bg_button_hover.png) repeat-x 0 5px;
	color: blue;
}

a.page_number {
	text-decoration: none;
	margin-left: 5px; 
	margin-right: 5px;
	padding-bottom: 2px;

	font-size: smaller;

	color: #2f465e;

	border: 1px solid #dddddd;
	width: 28px;
	display: inline-block;
}

a.current_page {
	font-weight: bold;
	/* font-size: 1.25em; */
	background-color: #91a6bb;
}

div.page_title {
	width: 100%;
	margin-top: 2px;
}

div.page_title > span {
	background-color: #0071B2;
	padding: 4px 10px 6px 10px;
	border-radius: 5px;
	color: #ffffff;
	font-weight: bold;
	min-width: 350px;
	display: inline-block;
	margin: 0;
}

#main_table {
	border: 1px solid #00204b;
	
	margin-left: auto;
	margin-right: auto;
	
	width: 1100px;
}

#header {
	width: 100%;
}

#header_logo_1 {
	width: 200px;
	background: url('bg_001.png') repeat-x bottom;
	background-color: #0071b2;
}

#header_logo_2 {
	width: 30px;
	background: url('bg_header_logo_2.png') repeat-x bottom;
	background-color: #0071b2;	
}

#logo {
	width: 180px;
	height: 60px;
	margin-left: 25px;
	background: url('logo.png') no-repeat top left;
	background-color: transparent;
}

#top_title {
	padding-left: 14px;
	padding-right: 5px;
	height: 30px;
	background: url('bg_top_title.png') repeat-x bottom;
	background-color: #0071b2;
	
	color: #ffffff;
	font-size: 0.9em;
}

#main_menu {
	padding-left: 0px;
	padding-right: 5px;
	height: 30px; 
	background: url('bg_main_menu.png') repeat-x bottom;
	text-align: left;
}

#sub_menu {
	padding-left: 4px;
	padding-right: 5px;
	height: 26px; 
	background: url('bg_sub_menu.png') repeat-x bottom;
	background-color: #196795;
	text-align: left;
}

#logout {
	color: white;
}

#change_password {
	font-size: xx-small;
	color: #3169C6;
}

#nav_bar {
	padding-left: 5px;
	padding-right: 5px;
	height: 24px;
	background: url('bg_002.png') repeat-x bottom;
	
	color: #ffffff;
	font-size: 0.9em;
}

#nav_bar a, #nav_bar a:visited {
	color: #ffffff;
	text-decoration: underline;
}

#stage {
	min-height: 300px;
	background-color: #ffffff;
	
	padding: 4px;
}

#footer {
	background-color: #0071b2;
}

#reminder {
	width: 200px;
	background-color: #ffffff;
}

.reminder_panel {
	margin: 2px;
	padding: 0;
	border: 1px solid #00204b;
	border-radius: 6px;
	background-color: #F2F7FD;
}

.reminder_panel h4 {
	color: #00406B;
	margin: 0 0 4px 0px;
	padding: 0 6px 2px 6px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	background-color: #0071b2;
	color: #FFFFFF;
	font-weight: normal;
}

.reminder_panel > div {
	padding: 6px;
	margin-bottom: 10px;
	font-size: smaller;
}

div.reminder_entry {
	border: 1px solid #DDDDDD;
	border-radius: 6px;
	text-align: left;	
	padding: 0 0 15px 0;
	margin-bottom: 20px;
}

.reminder_title {
	background-color: #DDDDDD;
	padding: 0 10px 2px 10px;
	border-radius: 5px;
	color: #24313C;
	font-weight: bold;
	min-width: 4em;
	display: inline-block;
	margin: 0;
}

ul.type_list {
	margin: 0;
	padding: 0;
}

.type_list li {
	list-style: none;
	padding: 2px;
}

.type_list li span {
	display: inline-block; 
	width : 8em;
}

div.filter {
	/* width: 100%; */
	margin: 4px;
	padding: 10px;
	
	border: 1px solid #dddddd;
	border-radius: 4px;
}

div.filter h3 {
	text-align: right;
	margin: 0; padding: 0;
	position: relative;
	top: -10px; right: -10px;
}

div.filter h3 span {
	background-color: #dddddd;
	padding: 0px 20px 4px 20px;
	border-radius: 3px;
}

div.media_item {
	width: 120px;
	height: 116px;
	
	margin-top: 4px;
	padding: 2px;
	
	display: inline-block;
	overflow-y: hidden;
	overflow-x: hidden;
	text-align: center;
	
	border: 1px solid #dddddd;
	border-radius: 4px;
}

div.media_item img {
	width: 116px;
	height: 94px;
}

div.media_item div {
	text-align: left;
	position: relative;
	top: -15pt;
}

div.media_item div p {
	margin: 0;
	padding-left: 2px;
	width: 116px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow-x: hidden;
}

div.media_item span {
	float:right;
	position: relative;
	left: -5px;
	top: -3px;
}

div.media_item span a img {
	width: 16px;
	height: 16px;
}

table.result_table th {
	font-weight: bold;
	border-bottom: 1px solid #DDDDDD;
}

table.result_table tr {
	line-height: 2em;
	cursor: pointer;
}

table.result_table tbody tr:hover {
	background-color: #DDDDFF;
}

table.result_table tr td {
	border-bottom: 1px dotted #DDDDDD;
	padding-left: 2px; padding-right: 2px;
}

tr.result_table td p, table.result_table tr td p {
	display: inline-block;
	height: 1.75em;
	margin: 0; padding: 0;
	white-space: nowrap;
	word-wrap: break-word;
	overflow-x: hidden;
	overflow-y: hidden;
	text-overflow: ellipsis;	
}

table.entry_table tbody tr td {
	padding-bottom: 2px;
	/* vertical-align:top; */
}

table.entry_table tr td {
	border-bottom: 1px dotted #DDDDDD;
	padding-left: 2px; padding-right: 2px;
}

table.entry_table tr td a {
	position: relative;
	top: -3px;
}

/* 16-Oct-2012 split this style to 2 styles
table.entry_table tr td input:not([type=radio]), table.entry_table tr td input:not([type=checkbox]) {
	width: 95%;
}
*/

table.entry_table tr td input {
	width: 95%;
}

table.entry_table tr td input[type=radio], table.entry_table tr td input[type=checkbox] {
	width: 100%;
}

table.page_entry {
	margin: 4px;
}

table.page_entry td {
	padding: 2px;
}

table.entry_table td input {
  width: 97.5%;
}

table.entry_table td select {
  width: 100%;
}

tr.result_table {
  border-bottom: 1px dotted #DDDDDD;
  cursor: pointer;
}

tr.result_table td {
  border-bottom: 1px dotted #DDDDDD;
}

table.lang_table td {
	padding: 2px 4px 2px 0;
	/* margin: 0 2px 0 2px; */
}

img.ct_slide {
	width: 120px;
	height: 90px;
}

input[readonly] {
	background-color: #E0E0E0;
	border: none;
	border-radius: 3px;
	padding: 3px;
}

input.number { text-align: right; }

.price { width: 6em; text-align: right; }
.price_note { width: 30em; }

.required:before {
	color: red;
	font-weight: bold;
	content: '* ';
}

/** CRK Dialog **/
.dialog {
	margin-left: auto; margin-right: auto; 
	margin-top: 40px; margin-bottom: auto;
	border: 1px solid #999999; 
	border-radius: 10px; 
	background-color: white;
}

.dlg_top_left {
	background-image: url(dlg_top_left.png);
	background-repeat: no-repeat;
	background-position: top left;
	width: 8px;
	height: 29px;
}

.dlg_top_center {
	background-image: url(dlg_top_center.png);
	background-repeat: repeat-x;
	background-position: top;
	height: 29px;
	font-size: 1.25em;
	font-weight: bold;
	color: #FFFFFF;
}

.dlg_top_right {
	background-image: url(dlg_top_right.png);
	background-repeat: no-repeat;
	background-position: top right;
	width: 8px;
	height: 29px;
}

.dlg_bottom_left {
	background-image: url(dlg_bottom_left.png);
	background-repeat: no-repeat;
	background-position: bottom left;
	width: 8px;
	height: 15px;
}

.dlg_bottom_center {
	background-image: url(dlg_bottom_center.png);
	background-repeat: repeat-x;
	background-position: bottom;
	height: 15px;
	font-size: 1.25em;
	font-weight: bold;
	color: #FFFFFF;
}

.dlg_bottom_right {
	background-image: url(dlg_bottom_right.png);
	background-repeat: no-repeat;
	background-position: bottom right;
	width: 8px;
	height: 15px;
}
