body.top {
	background: white url(../images/top_bg.gif) repeat-x 0 138px;
}

div#header.top {
	height: 138px;
}

div#mainvisual {
	background: transparent url(../images/mainvisual_bg.png) repeat-y;
	width: 768px;
	height: 180px;
	overflow: hidden;
	text-align: center;
}

div#globalmenu.top {
	margin-top: 7px;
}

div#topcopy {
	width: 647px;
	margin: 25px auto 10px;
}

div#topcopy p {
	margin: 5px 0;
	line-height: 1.4;
}

/* @group Tab */

div#tab {
	width: 647px;
	height: 29px;
	overflow: hidden;
	margin: 10px auto 0;
}

div#tab li {
	float: left;
	margin-right: 1px;
}

div#tab li,
div#tab li a {
	display: block;
	width: 128px;
	height: 29px;
	background-color: transparent;
	background-repeat: no-repeat;
}

div#tab li.direct a {
	background-image: url(../images/tab_direct.png);
}

div#tab li.kana a {
	background-image: url(../images/tab_kana.png);
}

div#tab li a:link,
div#tab li a:visited {
	background-position: center top;
}

div#tab li a:hover,
div#tab li a:active {
	background-position: center center;
}

div#tab li a.selected:link,
div#tab li a.selected:visited,
div#tab li a.selected:hover,
div#tab li a.selected:active {
	background-position: center bottom;
}

/* @end */

/* @group Suggestion Window */

div.suggestion-window {
	position: absolute;
	border: 1px solid #ccc;
	padding: 0;
	background: white;
}

div.suggestion-window ul {
	list-style-type: none;
}

div.suggestion-window a:link,
div.suggestion-window a:visited {
	color: #0a48f1;
	background-image: none;
}

div.suggestion-window a:hover,
div.suggestion-window a:active {
	color: white;
	background: #2A7DE6 url(../images/list_bg.png) repeat-x center center;
}

div.suggestion-window a {
	display: block;
	text-decoration: none;
	color: #0a48f1;
	background: none;
}

div.suggestion-window a.active,
div.suggestion-window a.active:link,
div.suggestion-window a.active:visited,
div.suggestion-window a.active:hover,
div.suggestion-window a.active:active {
	color: white;
	background: #2A7DE6 url(../images/list_bg.png) repeat-x center center;
}



/* @end */

form#medicine-name-input {
	width: 647px;
	margin: 0 auto;
}

form#medicine-name-input fieldset {
	background: #f2f2f2;
	border: 2px solid #8DA7CF;
	border-top-width: 4px;
	padding: 5px 10px 10px;
}

form#medicine-name-input fieldset p.comment {
	width: 587px;
	height: 40px;
	margin: 0;
	padding: 0 15px;
	line-height: 40px;
	font-size: 12px;
	background: transparent url(../images/search_comment_bg.png) no-repeat center center;
}

table#input-medicine {
	margin: 10px auto;
	border-collapse: collapse;
}

table#input-medicine thead {
	
}

table#input-medicine thead th {
	text-align: left;
}

table#input-medicine thead th span {
	color: #004dc4;
}

table#input-medicine tbody th,
table#input-medicine tbody td {
	padding: 4px 1px;
}

table#input-medicine tbody th.label {
	background: transparent url(../images/lupe.gif) no-repeat left center;
	padding-left: 20px;
	text-align: left;
	height: 20px;
}

table#input-medicine tbody input {
	border: 1px solid #8DA7CF;
}

input.medi_name {
	width: 380px;
	font-size: medium;
}

input.standard_name {
	width: 60px;
	font-size: medium;
	text-align: center;
}


table#input-medicine tfoot td {
	padding-top: 5px;
}

table#input-medicine tfoot td.clear-button {
	text-align: left;
}

table#input-medicine tfoot td.add-button {
	text-align: right;
}

table#input-medicine tfoot td.attention,
#input-kana .attention {
	text-align: center;
}

#input-kana .attention {
	margin-top: 5px;
}

table#input-medicine tfoot td.attention a,
#input-kana .attention a {
	font-size: medium;
	font-weight: bold;
}
table#input-medicine tfoot td.attention a:link,
#input-kana .attention a:link {
	color: #f30000;
}
table#input-medicine tfoot td.attention a:visited,
#input-kana .attention a:visited {
	color: #cb1f1b;
}
table#input-medicine tfoot td.attention a:hover,
table#input-medicine tfoot td.attention a:active,
#input-kana .attention a:hover,
#input-kana .attention a:active {
	color: #ff7f0c;
}


div#search-bottom {
	height: 73px;
	background: transparent url(../images/search_form_bg.png) no-repeat right top;
}

div.arrow {
	height: 16px;
	background: transparent url(../images/arrow.png) no-repeat center center;
}



/* request card banner */
div.banner {
	border:1px solid #8DA7CF;
	height: 105px;
}

div.banner div {
	margin: 5px;
}

div.banner strong {
	color: #0F4EB0;
	font-weight: bold;
	font-size: 115%;
}

div#requestcard-banner {
	width: 415px;
	float: left;
}

div#requestcard-banner div.caption {
	padding-top:10px;
}

div#requestcard-banner div span {
	padding-left: 0.1em;
}

div#requestcard-banner div img {
	float: left;
	margin:0;
	padding:0;
}

div#requestcard-banner a {
	margin-left:1em;
	padding-left: 20px;
	background: transparent url(../images/arrow_icon.gif) no-repeat left center;
	color: #0F4EB0;
	font-weight:bold;
	text-decoration: none;
}

div#qrcode-banner {
	width: 218px;
	margin-left:424px;
}

div#qrcode-banner img {
	float:right;
	margin:0;
	padding:0;
}


div#qrcode-banner span.caption {
	font-size: 11px;
	line-height: 1.2;
}

/* @group 50 Keys */

fieldset#input-kana .layout {
	position: relative;
	width: 605px;
	height: 300px;
	margin: 10px auto 0;
}

fieldset#input-kana .layout .keys {
	position: absolute;
	width: 135px;
	height: 270px;
	top: 0;
	left: 0;
}

fieldset#input-kana .layout .keys img {
	display: block;
	width: 26px;
	height: 26px;
	margin: 0 1px 1px 0;
	overflow: hidden;
	float: left;
}

fieldset#input-kana .layout .keys img.ya,
fieldset#input-kana .layout .keys img.yu {
	margin-right: 28px;
}

fieldset#input-kana .layout .keys img.backspace {
	margin-top: 4px;
	width: 66px;
} 

fieldset#input-kana .layout .keys img.reset {
	margin-top: 4px;
	width: 67px;
} 

fieldset#input-kana .layout .inputed {
	position: absolute;
	width: 435px;
	height: 24px;
	line-height: 24px;
	top: 0;
	right: 0;
	background: #666;
	border: 1px solid #666;
	padding: 0 5px;
}

fieldset#input-kana .layout .inputed span {
	font-size: 13px;
	line-height: 24px;
	color: white;
	font-weight: bold;
	padding-right: 4px;
}

fieldset#input-kana .layout .candidates {
	position: absolute;
	width: 445px;
	height: 272px;
	top: 26px;
	right: 0;
	border: 1px solid #ccc;
	background: white url(../images/50keys_candidates_bg.png) no-repeat left top;
	overflow: auto;
}

fieldset#input-kana .layout .candidates ul li {
	border-bottom: 1px solid #efefef;
}

fieldset#input-kana .layout .candidates ul li a {
	display: block;
	padding: 3px 6px;
	text-decoration: none;
}

fieldset#input-kana .layout .candidates ul li a:link,
fieldset#input-kana .layout .candidates ul li a:visited {
	color: #333;
}

fieldset#input-kana .layout .candidates ul li a:hover,
fieldset#input-kana .layout .candidates ul li a:active {
	background: rgb(10, 72, 241);
	color: white;
}

fieldset#input-kana .layout .keys img.hover {
	cursor: pointer;
}

fieldset#input-kana .limit {
	display: none;
	text-align: right;
}

fieldset#input-kana ul.selected {
	margin: 10px 5px;
}

fieldset#input-kana ul.selected li {
	background: transparent url(../images/selected_left.png) no-repeat left center;
	margin: 2px;
	float: left;
}

fieldset#input-kana ul.selected li div.bg {
	position: relative;
	height: 21px;
	background: transparent url(../images/selected_right.png) no-repeat right center;
	padding: 2px 24px 2px 9px;
	line-height: 21px;
	color: white;
	white-space: nowrap;
}

* html fieldset#input-kana ul.selected li {
	background-image: none;
	display: inline;
	float: none;
}

* html fieldset#input-kana ul.selected li div.bg {
	background: transparent url(../images/selected_ie6.png);
	margin-right: 4px;
	float: left;
}

fieldset#input-kana ul.selected li div.bg a.remove {
	position: absolute;
	display: block;
	width: 15px;
	height: 15px;
	top: 5px;
	right: 6px;
	background: transparent url(../images/selected_remove.png) no-repeat;
}

fieldset#input-kana ul.selected li div.bg a.remove:link,
fieldset#input-kana ul.selected li div.bg a.remove:visited {
	background-position: right center;
}

fieldset#input-kana ul.selected li div.bg a.remove:hover,
fieldset#input-kana ul.selected li div.bg a.remove:active {
	background-position: left center;
}

fieldset#input-kana .layout .firstnavi,
fieldset#input-kana .layout .searching {
	position: absolute;
	top: 40px;
	left: 170px;
}

fieldset#input-kana .layout .searching {
	display: none;
}

/* @end */