
#wrapper {
  position: relative;
  width: 760px;
  height: auto;

  border-left: 1px solid #000000;
  border-right: 1px solid #000000;
  text-align: center;
  margin:0 auto;
}
#mlink {
  margin-left : 540px;
  margin-top : 0px;
  text-align: right;
}
#header {
  width: auto;
  height: 150px;
  background-color: #e7e7e7;
}
#header strong{
  float: left;
  margin-left : 20px;
  padding-top: 10px;
  text-align: left;
}
#header IMG{
  float: left;  
  margin-left : 530px;
  margin-top: 20px;
  padding-top: 0px;   
 text-align: left;
}
#header h1{
  margin-left : 50px;
  margin-top: -10px;
  padding-top: 0px;  
}
#header p{
  float: left;  
  margin-left : 548px;
  margin-top: -23px;
  padding-top: 0px;   
 text-align: left;
}
.hmenu {
  margin: 0;
  padding: 4px;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000; 
  background-color: #000064;
}
.hmenu a{
  float: left;
  display: block;
  margin-right: 4px;
  padding: 3px;
  width: 110px;
  height: 20px;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
}
.hmenu a:link {
  color: #ffffff;
  text-decoration:none;
  border:1px solid #828282;
}
.hmenu a:visited {
  color: #ffffff;
  text-decoration:none;
  border:1px solid #828282;
}
.hmenu a:hover {
	color:#936;
	text-decoration:none;
	border-style:none;
	background-color:  #cccccc;
}
.hhmenu a:active{
	color:#ffffff;
	text-decoration:none;
	border-style:none;
	background-color: #d0ffff;
}

.floatclear{
  clear: left;
}

#subnavi {
  float: right;
  width: 200px;
  height: auto;
  padding: 0 10px 0 0;
}
#subnavi h2{
  margin-bottom: 0.5em;
  margin-top: 20px;
  border-bottom: 1px dotted #c0c0c0;
  color: #000000;
  font-size: 20px;
  text-align:center;
}
#subnavi-i {
  float: left;
  width: 200px;
  height: auto;
  padding: 0 10px 0 0;
}
#subnavi-i h2{
	margin-bottom: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-left: 0px;
	padding-top: 2px;
	padding-right: 2px;
	padding-bottom: 2px;
	padding-left: 2px;
	color: #000000;
	font-size: 15px;
	text-align: center;
	border-width: 0px;
	border-style: solid;
	border-color: #0000ff;
	background-color: #dbdbdb;
}
ul.smenu-i {
	font-size: 14px;
	font-weight: normal;
	text-align: left;
	margin-top: 0px;
	margin-left: 0px;
	padding-left: 0px;
	line-height: 0px;
}
ul.smenu-i li {
  list-style-type: none;
}
ul.smenu-i li a{
	display: block;
	padding-top: 2px;
	padding-right: 2px;
	padding-bottom: 2px;
	padding-left: 10px;
	line-height: 20px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #ffffff;
	border-left-width: 3px;
	border-left-style: solid;
	border-left-color: black;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: black;
	background-color: #005087;
	color: #ffffff;	
       text-decoration: none;
	margin-top: 0px;
	margin-right: 20px;
	margin-bottom: 0px;
	margin-left: 15px;
	width: 165px;
}
ul.smenu-i ul{
  margin: 0;
  padding: 0;
}
ul.smenu-i ul li a {
	background-color: #ffffff;
	color: #000000;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #aacfff;
	line-height: 15px;
}
ul.smenu-i li a:hover {
	color:#936;
	text-decoration:none;
	border-color: #eeff99;
	background-color: #EFD1E0;
}
ul.smenu-i ul li a:hover{
  background-color: #faffda
}
.bgsn-box{
	float: left;
	width: 190px;
	height: auto;
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
	border-width: 1px;
	border-style: solid;
	border-color: navy;
}
ul.smenu {
  font-size: 14px;  
  font-weight: bold;
  text-align: center;
  margin-top: 0;
  margin-left: 5px;
  padding-left: 0;
  line-height: 0px;
}
ul.smenu li {
  list-style-type: none;
}
ul.smenu li a{
  display: block;
  padding: 5px 5px;
  width: 150px;
  line-height: 20px;
  text-decoration: none;
  border-bottom: 1px solid #ffffff;
  background-color: #005087;
  color: #ffffff;
  margin:0 auto;
}
ul.smenu li a:hover {
	color:#936;
	text-decoration:none;
	border-color: #eeff99;
	background-color: #EFD1E0;
}
ul.smenu ul{
  margin: 0;
  padding: 0;
}
ul.smenu ul li a {
  background-color: #ffffff;
  color: #000000;
  border-bottom: solid 1px #aacfff;
  line-height: 15px;
 
}
ul.smenu ul li a:hover{
  background-color: #faffda
}
#maincontents-i {
  float: left;
  width: auto ;
  height: auto;
  background-color: #ffffff;
}
maincontents-s {
  float: left;
  width: 550px;
  height: auto;
  background-color: #ffffff;
}
#maincontents-r {
  float: left;
  width: 550px;
  height: auto;
  background-color: #ffffff;
}
#maincontents {
  float: left;
  width: 550px;
  height: auto;
  background-color: #ffffff;
}

#footer {
  padding: 0 10px 10px 10px;
  background-color: #d5fea7;
  clear:both;
  text-align: right;
  border-top: 2px solid #000000;
}
.fmenu {
  padding: 10px;
  text-align: right;
}
.fmenu a:link {
  color: #000000;
  text-decoration:none;
  border-bottom:1px solid #000000;
}
.ffmenu a:visited {
  color: #c04784;
  text-decoration:none;
  border-bottom:1px solid #c04784;
}
.fmenu a:hover {
  color:#936;
  text-decoration:none;
  border-style:none;
  background-color: #EFD1E0;
}
.ffmenu a:active{
  color:#936;
  text-decoration:none;
  border-style:none;
  background-color: #EFD1E0;
}
