a:link {color: #4f4fff;}
a:visited{color: #4f4fff;}
a:hover{color: #0000ff;}
a:active{color: #ffff00;}

.pageheader {
  border:0px;
  width: 100%;
  min-width: 860px;
}

.pagefooter {
  border:0px;
  width: 100%;
  min-width: 860px;
}
.mainbox {
  background:#fff;
  padding:0 9px;
  margin:0px auto;
  position:relative;
  top:0; left:0;
  border:1px solid #fff;/* stop margin collapse*/
  border-left:1px solid #000;
  border-right:1px solid #000;
  z-index:2;
  min-width: 860px;
  min-height:0;/* ie7 haslayout fix*/
}
.mainbox p {
  padding:10px;
  margin:0 0 8px 0;
}
.mainbox .inner{
  background:#fff;
  padding-top:10px!important;
  padding-bottom:10px!important;
  margin-top:-10px!important;
  margin-bottom:-10px!important;
  min-height:0;/* ie7 haslayout issues fix*/
  position:relative;
  top:0; left:0;
  border-top:1px solid #000;
  border-bottom:1px solid #000;
  z-index:2
}
.mainbox .top,
.mainbox .base{
  margin:-11px -10px 0 -10px;
  background:url("bordercorner-left.png") no-repeat left top;
  height:10px;
  position:relative;
  top:0; left:0;
  clear:both;
  z-index:-1;/* drag corner under background*/
}
.mainbox .base{
  background-position:left bottom;
  margin:0 -10px -11px -10px;
}
.mainbox .top span,
.mainbox .base span{
  background:url("bordercorner-right.png") no-repeat right top;
  display:block;
  height:10px;
}
.mainbox .base span {
  background-position:right bottom;
}
.mainbox .content {
  width:100%;
  background:#fff;
  margin:-9px 0 10px 0;
  padding:0;
}
/* for ie6 */
* html .mainbox .inner,
* html .mainbox {
  height:1px;/* ie6 haslayout issues fix*/
}
* html .mainbox .content {
  margin:-20px 0 -15px 0;
  padding-top:10px;
  padding-bottom:0;
}

.mypage_box {
  width: 220px;
  height: 100px;
  text-align: center;
  display: block;
  float: left;
}
