/*
* Medical-note.com CSS
*
*/

html{
	margin:0;
	padding:0;
	height:100%;
}

body{
	margin:0;
	padding:0;
	height:100%;
}

p{
	margin:0 10px 10px;
}

table{
	font-size: 11pt;
}

a{
	color: #981793;
	padding:5px;
}

div#header h1{
	height:80px;
	line-height:80px;
	margin:0;
	padding-left:10px;
	background: #EEE;
	color: #79B30B;
}

* html div#container{
    height:100%;
}

div#container{
    margin:0px auto;
    position:relative;
    min-height: 100%;
}

body > #container {
    height: auto;
}

div#wrapper{
	float:left;
	width:100%;
	padding-bottom:60px;

}

div#content{
	margin: 0 10px;
	margin-right: 200px;
}

div#content p{
	line-height:1.2;
}

div#content h2{
	height:30px;
	line-height:30px;
	margin:0;
	padding-left:10px;
	background: #EEE;
	color: #79B30B;
}

div#advertise{
	background:#FFFFFF;
	float:right;
	width:200px;
	margin-left:-200px;
}

div#footer{
    position:absolute;
    bottom:0px;
    height:1em;
    width:100%;
	background: #FFF;
	color: #FFF;
}

div#footer p{
	margin:0;
	padding:5px 10px;
}

div#extra{
	font: 76% arial,sans-serif;
}

.res{
	font: 86% arial,sans-serif;
}

/*-----------------------------
	Global Navigation
-------------------------------*/

ul#globalNavi {
	margin: 0;
	padding: 0;
	width: 500px; /* 必ずwidthの設定をしてください */
}

ul#globalNavi:after {
	height: 0;
	visibility: hidden;
	content: ".";
	display: block;
	clear: both;
}

ul#globalNavi li {
	margin: 0;
	padding: 0;
	float: left;
	width: 120px; /* ボタンの幅 */
	line-height: 1;
	list-style-type: none;
    border-width:2px;
    border-color:#FFEEDB;
    border-style:ridge;
}

ul#globalNavi li a {
	padding: 0.6em 10px; /* ボタンの厚みはここで調整 */
	display: block;
	position: relative;/* IE6でマウス反応領域がおかしいのをFix */
	font-size: 12px;
	color: #333;
	text-align: center;
	text-decoration: none;
	background-color: #eee;
}

ul#globalNavi li a:hover {
	color: #000;
	background-color: #ddd;
}


