/*
---- Reset everything ----
*/

* {
    font-size: 100%;
    margin: 0;
    padding: 0;
}

/* 
---- Header and body ----
*/

html {
    margin: 0;
    padding: 0;
    height: 100%
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #FFF;
    color: #000;
    text-align: center;
    line-height: 125%;
    height: 100%;
    min-height: 100%;
}

/* 
---- layout rules ----
*/

#page {
    position: relative;
/*  height: 100%; */
    min-height: 100%;
    width: 75%;
    margin: 0 auto;
    border-right: 1px solid #142479;
    border-left: 1px solid #142479;
    background: url(../images/bbips-60x/Yuishinkai.png) no-repeat 98% 120px ;
}

#header {
    height: 70px;
    width: 65%;
    margin: 0 auto;
    padding-top: 20px;
}

#menu {
    width: 80%;
    margin: 0 auto ;
    padding: 20px 0 15px 0;
    border-bottom: 1px solid #142479;
}

#main {
    padding: 30px 0 0 140px;
    text-align: left;
}

.clear {   /* Make room for footer(?) */
    clear: both;
    height: 40px;
}

hr { margin: 1em 0 ; width: 80%; }

/* 
---- Navigation ----
*/

#menu li {
    display: inline;
    list-style-type: none;
    margin: 0px;
    padding: 0px 1px;
    font-size: 110%;
    line-height: 200%;
    white-space: nowrap;
}

#menu ul a {
    background-color: #FFF;
    color: #142479;
    text-decoration: none;
    padding: 6px 15px;
    font-weight: bold;
}

#menu #currentpage a {
    background-color: #FFF;
    color: #ae2b29;
}

#menu a:hover {
    color: #FFF;
    background-color: #142479;
}

#currentpage a:hover {
    background-color: white;
}

/*
---- Images ----
*/

img {
    float: left;
    border: none;
    padding: 0.2em;
}

#header img {
    padding: 0;
}

img.nofloat {
	float: none;
}

/*
---- lists ----
*/

#pipe ul {
    margin-left: -130px;
    width: 115px;
    float: left;
    padding-left: 0;
    display: inline;  
}

#pipe ul li {
    margin-left: 0;
    padding: 8px 0; 
/*  border-left: 1px solid #000; */
    list-style: none;
/*    display: inline;  */
}   

#pipe ul li.first {
    padding-top: 0;
}

ul.plain {
    margin: 0 0 1.2em 0; /*removes indent for IE&Opera*/
    padding:0; /*removes indent Mozilla family*/
    list-style-type: none; 
}

/*
---- Text ----
*/

p { 
    margin: 1em 0; 
    text-align: left; 
    width: 85%;
}

.centredEl {
	text-align: center;
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 0px;
}

a:link, a:visited {  
    color: blue; 
    font-weight: 100; 
    margin-bottom: 2px; 
    text-decoration: none;
}

a:hover { 
    color:  red; 
}
