/* ---- css for cornwallbuddhists.org ---*/
/* ----------- main bits ----------------- */

* {
padding: 0;
margin: 0;
border: 0;
}

body {
font-size: 62.5%;
}

/*---layout divs---*/
/*---wrapper goes round everything---*/
#wrapper {
font-family: Verdana, Arial, Helvetica, sans-serif; 
font-style: normal; font-weight: normal; 
color: #000; background-color: #fff;
width: 100%;
}

/*---headline contains title and any logos---*/
#headline {
background-color: #fff;
width: 100%;
height: 100px;
}


/*---left navigation container---*/
#navl {
float: left;
width: 16%;
margin-top: 5px; margin-left: 5px;
}

/*---right container for block and right navigation---*/
#outer {
float: right;
border: none;
width: 82%;
}

/*---inner container for text and right navigation---*/
#block {
float: left;
width: 78%; text-align: left;
}

/*---right navigation block---*/
#navr {
float: right;
width: 19%;
margin-top: 5px; margin-right: 5px;
}

/*---main text block inside container to distinguish it from the inserts---*/
#main {
margin: 5px;
}

/*---bottom block---*/
#bottom {
width: 100%;
border-top: 1px solid #f00;
}

/*---left insert---*/
.l {
float: left;
width: 49%; text-align: left;
}

/*---right insert---*/
.r {
float: right;
width: 49%; text-align: left;
}

/*---check margins for p---*/
p {
font-size: 1.3em; color: #222;
line-height: 1.4em;
margin: 5px;
}

/* --------standard image no border----------- */
img {
border: 0;
}

/* --------headings----------- */
h1, h2, h3, h4 {
font-weight: bold;
}

h1 {
text-align: left;
padding-left: 360px;
} 

h2, h3, h4 {
text-align: center; 
padding: 0.1em;
}

h1 {
color: #000;
background-color: #fff;
font-size: 3em; line-height: 1em;
padding-top: 1em;
}

h2 {
color: #222;
background-color: #fff;
font-size: 1.6em;  line-height: 1.6em;
}

h3 {
font-size: 1.4em; line-height: 1.4em; 
color: #333;
background-color: #fff;
}

h4 {
font-size: 1.3em; line-height: 1.3em; 
color: #333;
background-color: #fff;
}
/* ------------------ classes ------------------- */

/* ---image floating left--- */
.imagel {
margin: 5px;
padding: 5px;
border: none;
float: left;
}

/* ---image floating right--- */
.imager {
margin: 5px;
padding: 5px;
border: none;
float: right;
}

/* ---image centred needs this div class--- */
.imagecentre {
margin: 5px;
width: 100%;
text-align: center;
}

/* ---image floating left with no margin for banner--- */
.imagetopleft {
margin: 0px;
padding: 0px;
border: none;
float: left;
}

/* ---to ensure tag contents go below any right and left elements above it--- */
.clearboth {
clear: both;
}

/* ---alternative divider to ensure next tag contents go below any right and left elements above it--- */
hr.zero {
clear: both;
height: 0;
width: 100%;
}

/* ---to give inserts a colour and border--- */
.l p, .r p {
border: 1px solid #f00;
background-color: #fc9;
padding: 5px;
margin-bottom: 4px;
}

.l p.heading, .r p.heading {
text-align: center;
font-weight: bold;
}

/* ---------- urls and navigation------------ */
a {
font-weight: bold;  text-decoration: none;
}

a:link {
color: #00f;
}

a:visited {
color: #0f0;
}

a:hover {
color: #f00;
}

/* --- to style headline navigation --- */
#headline li {
list-style-type: none;
display: inline;
font-size: 1.2em; font-weight: bold;
padding: 5px;
float: right;
}

/* ---------- to colour left navigation centre it and give it a border------------ */
#navl #navr ul {
margin: 0;
}

#navl ul li, #navr ul li {
line-height: 1.5em;
list-style-type: none;
text-align: center;
padding: 5px;
display: block;
font-size: 1.2em; font-weight: bold;
background-color: #fd8;
}


/* --------- remove navigation from printing --------- */
@media print {
body {
font: medium "Times New Roman", Times, serif;
color: #000; background-color: #fff;
}

a:link, a:visited {
font-weight: normal;
color: #000; background-color: #fff;
}

.navl, .navr, .bottom, #headline li {
display: none;
}
}

/*--- content last modified November 27 2008 ---*/