/* kohnan ------------------------------------------------------------------------- */

body {
	text-align: 		center;
	vertical-align:		top;
	background-color:	#ffffff;
	background-image:	url(images/bg.jpg);
	background-repeat:	repeat;
	background-position:	left top;
	width: 			100%;
	height:			100%;
	padding:		0px;
	margin: 		0px;
	overflow:		scroll;
}
img {
	border:			none;
	padding:		0px;
	margin:			0px;
}
td {
	text-align:		left;
	vertical-align:		top;
}
a:link, a:visited, a:active {
	color:			#cc6666;
	background-color:	transparent;
	text-decoration:	none;
}
a:hover {
	color:			#6999bc;
	background-color:	transparent;
	text-decoration:	none;
}
td.text {
	color:			#003333;
	font-size:		16px;
	font-weight:		400;
	font-family:		"Hiragino Kaku Gothic Pro","僸儔僊僲妏僑 Pro W3","Osaka","HGP恨集窶","俵俽 俹僑僔僢僋","MS UI Gothic",sans-serif,"Arial","Helvetica";
	text-decoration:	none;
	line-height:		26px;
	padding-top:		24px;
	padding-left:		32px;
	padding-right:		72px;
	padding-bottom:		24px;
}
td.text_wide {
	padding-bottom:		40px;
}

/* text --------------------------------------------------------------------------- */

p {
	margin-top:		0px;
	margin-bottom:		16px;
}
span.list {
	line-height:		20px;
	text-indent:		-20px;
	margin-left:		20px;
	margin-bottom:		6px;
	display:		block;
}
span.list_short {
	line-height:		20px;
	margin-bottom:		6px;
	display:		block;
}
span.list_long {
	line-height:		20px;
	text-indent:		-80px;
	margin-left:		80px;
	margin-bottom:		6px;
	display:		block;
}
span.list span.list {
	line-height:		20px;
	text-indent:		-20px;
	margin-top:		4px;
	margin-left:		20px;
	margin-bottom:		6px;
	display:		block;
}
span.indent {
	margin-left:		24px;
	margin-right:		24px;
	padding-top:		8px;
	padding-bottom:		8px;
	display:		block;
}
span.indent_long {
	margin-left:		48px;
	margin-right:		24px;
	padding-top:		8px;
	padding-bottom:		8px;
	display:		block;
}
span.indent span.list {
	line-height:		20px;
	text-indent:		-20px;
	margin-left:		20px;
	margin-bottom:		4px;
	display:		block;
}
span.list_long {
	line-height:		20px;
	text-indent:		-80px;
	margin-left:		80px;
	margin-bottom:		4px;
	display:		block;
}
span.indent span.list_short {
	line-height:		20px;
	margin-bottom:		4px;
	display:		block;
}
span.indent_long span.list_short {
	line-height:		20px;
	margin-bottom:		0px;
	display:		block;
}

/* table -------------------------------------------------------------------------- */

table.magenta {
	color:			#330000;
	background-color:	#ffecec;
	border-collapse:	collapse;
	border-color:		#669999;
	border-style:		solid;
	border-width:		1px;
	margin-top:		4px;
	margin-bottom:		8px;
	display:		inline;
}
td.center {
	white-space:		nowrap;
	text-align:		center;
	border-color:		#cc9999;
	border-style:		solid;
	border-width:		1px;
	padding-top:		2px;
	padding-left:		12px;
	padding-right:		12px;
	padding-bottom:		2px;
}
td.left {
	white-space:		nowrap;
	text-align:		left;
	border-color:		#cc9999;
	border-style:		solid;
	border-width:		1px;
	padding-top:		2px;
	padding-left:		12px;
	padding-right:		12px;
	padding-bottom:		2px;
}
td.right {
	white-space:		nowrap;
	text-align:		right;
	border-color:		#cc9999;
	border-style:		solid;
	border-width:		1px;
	padding-top:		2px;
	padding-left:		12px;
	padding-right:		12px;
	padding-bottom:		2px;
}

/* frame -------------------------------------------------------------------------- */

div.frame_cyan_item {
	clear:			both;
	line-height:		16px;
	background-image:	url(images/frame_cyan_top.jpg);
	background-repeat:	no-repeat;
	background-position:	left top;
	height:			24px;
	padding-left:		24px;
}
span.frame_cyan_white {
	text-align:		left;
	vertical-align:		top;
	font-family:		HGP恨集窫,sans-serif;
	text-decoration:	none;
	background-image:	url(images/frame_cyan_bg.jpg);
	background-repeat:	no-repeat;
	background-position:	right top;
	padding-right:		16px;
}
div.frame_cyan_text {
	text-align:		left;
	vertical-align:		top;
	text-decoration:	none;
	background-image:	url(images/frame_cyan_bottom.jpg);
	background-repeat:	no-repeat;
	background-position:	left bottom;
	padding-top:		16px;
	padding-left:		20px;
	padding-right:		20px;
	padding-bottom:		4px;
	margin-bottom:		24px;
}
div.frame_magenta_item {
	clear:			both;
	background-image:	url(images/frame_magenta_top.jpg);
	background-repeat:	no-repeat;
	background-position:	left top;
	height:			24px;
	padding-left:		24px;
}
span.frame_magenta_white {
	text-align:		left;
	vertical-align:		top;
	color:			#330000;
	font-family:		HGP恨集窫,sans-serif;
	text-decoration:	none;
	line-height:		16px;
	background-image:	url(images/frame_magenta_bg.jpg);
	background-repeat:	no-repeat;
	background-position:	right top;
	padding-right:		16px;
}
div.frame_magenta_text {
	text-align:		left;
	vertical-align:		top;
	color:			#330000;
	text-decoration:	none;
	background-image:	url(images/frame_magenta_bottom.jpg);
	background-repeat:	no-repeat;
	background-position:	left bottom;
	padding-top:		16px;
	padding-left:		20px;
	padding-right:		20px;
	padding-bottom:		4px;
	margin-bottom:		24px;
}

/* history ------------------------------------------------------------------------ */

td.history_date {
	text-align:		left;
	vertical-align:		top;
	color:			#003333;
	font-size:		14px;
	font-weight:		400;
	font-family:		HGP恨集窶,sans-serif;
	text-decoration:	none;
	line-height:		16px;
	background-image:	url(images/history_line.jpg);
	background-repeat:	repeat-y;
	background-position:	right top;
	padding-top:		8px;
}
td.history_event {
	text-align:		left;
	vertical-align:		top;
	color:			#003333;
	font-size:		14px;
	font-weight:		400;
	font-family:		HGP恨集窶,sans-serif;
	text-decoration:	none;
	line-height:		16px;
	padding-top:		8px;
	padding-left:		16px;
}
td.history_event p {
	margin-bottom:		8px;
}

/* outpatient_photos ------------------------------------------------------------- */

div.outpatient_photos {
	float:			right;
	position:		relative;
	margin-left:		4px;
}
div.outpatient_doctor {
	text-align:		center;
	float:			left;
	margin-left:		2px;
}
div.outpatient_doctor a:link, div.outpatient_doctor a:visited, div.outpatient_doctor a:active {
	border-style:		solid;
	border-width:		1px;
	border-color:		#ffffff;
	display:		block;
}
div.outpatient_doctor a:hover {
	border-style:		solid;
	border-width:		1px;
	border-color:		#ffcccc;
	display:		block;
}
div.outpatient_doctor img {
	width:			75px;
	height:			100px;
	margin-top:		2px;
	margin-left:		4px;
	margin-right:		4px;
	display:		block;
}

/* week -------------------------------------------------------------------------- */

table.week {
	white-space:		nowrap;
	margin-top:		12px;
	margin-bottom:		12px;
}
td.corner {
	text-align:		left;
	vertical-align:		middle;
	white-space:		nowrap;
	border-right-color:	#669999;
	border-right-style:	double;
	border-right-width:	3px;
	border-bottom-color:	#669999;
	border-bottom-style:	solid;
	border-bottom-width:	1px;
}
td.day {
	text-align:		left;
	vertical-align:		middle;
	white-space:		nowrap;
	border-top-color:	#669999;
	border-top-style:	solid;
	border-top-width:	1px;
	border-right-color:	#669999;
	border-right-style:	double;
	border-right-width:	3px;
	padding-top:		6px;
	padding-left:		16px;
	padding-right:		16px;
	padding-bottom:		6px;
}
td.am {
	text-align:		center;
	vertical-align:		middle;
	white-space:		nowrap;
	color:			#cc99ac;
	background-color:	#fff3f3;
	border-right-color:	#669999;
	border-right-style:	dotted;
	border-right-width:	1px;
	border-bottom-color:	#669999;
	border-bottom-style:	solid;
	border-bottom-width:	1px;
	padding-top:		4px;
	padding-bottom:		4px;
}
td.pm {
	text-align:		center;
	vertical-align:		middle;
	white-space:		nowrap;
	color:			#99accc;
	background-color:	#eff6ff;
	border-right-color:	#669999;
	border-right-style:	dotted;
	border-right-width:	1px;
	border-bottom-color:	#669999;
	border-bottom-style:	solid;
	border-bottom-width:	1px;
	padding-top:		4px;
	padding-bottom:		4px;
}
td.doctor {
	text-align:		center;
	vertical-align:		middle;
	white-space:		nowrap;
	border-top-color:	#669999;
	border-top-style:	solid;
	border-top-width:	1px;
	border-right-color:	#669999;
	border-right-style:	dotted;
	border-right-width:	1px;
	padding-top:		6px;
	padding-left:		16px;
	padding-right:		16px;
	padding-bottom:		6px;
}
div.rota {
	text-align:		right;
	line-height:		16px;
	font-size:		12px;
	margin-right:		16px;
}
div.proviso {
	line-height:		16px;
	font-size:		12px;
	margin-top:		20px;
	margin-left:		12px;
	margin-bottom:		12px;
}

/* record ------------------------------------------------------------------------- */

table.record {
	white-space:		nowrap;
	color:			#003333;
	width:			376px;
	border-color:		#336666;
	border-top-style:	solid;
	border-bottom-style:	solid;
	border-top-width:	1px;
	border-bottom-width:	1px;
}
td.record_item {
	text-align:		left;
	padding-left:		16px;
}
td.record_description {
	white-space:		nowrap;
	text-align:		right;
	padding-right:		16px;
}

/* acceptance --------------------------------------------------------------------- */

table.acceptance {
	white-space:		nowrap;
	width:			376px;
	margin-top:		16px;
	margin-bottom:		8px;
	display:		inline;
}
td.acceptance_name {
	white-space:		nowrap;
	text-align:		left;
	border-top-color:	#336666;
	border-top-style:	dotted;
	border-top-width:	1px;
	padding-top:		8px;
	padding-left:		12px;
	padding-bottom:		2px;
}
td.acceptance_from {
	white-space:		nowrap;
	text-align:		left;
	border-top-color:	#336666;
	border-top-style:	dotted;
	border-top-width:	1px;
	padding-top:		8px;
	padding-right:		12px;
	padding-bottom:		2px;
}
td.acceptance_stay {
	white-space:		nowrap;
	text-align:		left;
	padding-left:		96px;
	padding-right:		12px;
	padding-bottom:		10px;
}

/* doctors ------------------------------------------------------------------------ */

img.doctors_clear {
	display:		block;
	clear:			both;
}
div.doctors_frame {
	text-align:		center;
	width:			96px;
	height:			128px;
	margin-left:		4px;
	margin-right:		4px;
	float:			left;
}
div.doctors_frame a:link, div.doctors_frame a:visited, div.doctors_frame a:active {
	width:			100%;
	height:			100%;
	border-style:		solid;
	border-width:		1px;
	border-color:		#ffffff;
	display:		block;
}
div.doctors_frame a:hover {
	width:			100%;
	height:			100%;
	border-style:		solid;
	border-width:		1px;
	border-color:		#ffcccc;
	display:		block;
}
div.doctors_name {
	color:			#336666;
	line-height:		16px;
}
div.doctors_portrait {
	text-align:		center;
	background-color:	#ffffff;
	width:			120px;
	height:			136px;
	padding-left:		24px;
	padding-right:		6px;
	padding-bottom:		16px;
	float:			right;
}
div.doctors_portrait img {
	width:			90px;
	height:			120px;
}
div.doctors_item {
	color:			#996666;
	text-align: 		left;
	background-image:	url(images/doctors_line.jpg);
	background-repeat:	repeat-x;
	background-position:	left bottom;
	font-size:		12px;
	font-weight:		400;
	font-family:		HGP恨集窶,sans-serif;
	margin-top:		12px;
	margin-bottom:		6px;
}
div.doctors_text {
	line-height:		18px;
	background-image:	url(images/doctors_line.jpg);
	background-repeat:	repeat-x;
	background-position:	left bottom;
	text-indent:		-20px;
	padding-left:		32px;
	padding-right:		20px;
	padding-bottom:		1px;
	margin-bottom:		6px;
}
div.doctors_message {
	line-height:		20px;
	background-image:	url(images/doctors_line.jpg);
	background-repeat:	repeat-x;
	background-position:	left bottom;
	padding-top:		2px;
	padding-left:		8px;
	padding-right:		12px;
	padding-bottom:		2px;
}
