/*

Cambridge Buddhist Centre - main stylesheet
cbc.css

Author: Matthew Pennell (digitalspoke@29digital.com)

Date created: 11/09/06
Last modified: 06/10/06

Colour palette:

Blue:				#1f3f73
Orange:			#fbb63a
Light orange:	#fbe1a2

*/

/* GENERAL RULES */

/* whitespace reset */
body,
form,
fieldset {
	margin: 0;
	padding: 0;
}

body {
	font: 80%/1.4 Arial, Helvetica, sans-serif;
	color: #000;
	background: #fff;
	text-align: center; /* for IE5 */
	margin: 0 0 50px 0;
}

h1, h2, h3, p, ul, ol, dl, blockquote {
	margin: 1em 0;
	padding: 0;
}

ul, ol {
	list-style: none;
}

img, fieldset {
	border: 0 none;
}

input {
	font-size: 100%;
}

cite, address {
	font-style: normal;
}

legend {
	display: none;
}

a:link {
	color: #365CA9;
	text-decoration: underline;
}

a:visited {
	color: #365CA9;
}

a:focus, a:hover, a:active {
	color: #E6871D;
}

.hidden {
	position: absolute;
	left: -999em;
}

.clear {
	clear: both;
}

.error {
	color: 				#FF0000;
	font-weight:		bold;
}

/* LAYOUT */

#wrapper {
	margin: 0 auto;
	width: 90%;
	min-width: 750px;
	max-width: 1000px;
	position: relative;
	padding-top: 0;
	text-align: left; /* for IE5 */
}
#wrapper-popup {
	margin: 0 auto;
	width: 90%;
	max-width: 400px;
	position: relative;
	padding-top: 0;
	text-align: left; /* for IE5 */
}

#content {
	margin-left: 236px;
	overflow: hidden;
}

#main {
	width: 63%;
	float: left;
}

#main-wide {
	width: 100%;
	float: left;
}



#news {
	width: 33%;
	margin-right: 4px;
	float: right;
	margin-left: 20px;
}

#news a {
	text-decoration: none;
}
#news a:hover {
	text-decoration: underline;
}

#eventbox {
	width: 200px;
	margin-right: 4px;
	float: right;
	margin-left: 20px;
}

#newcomers, #friends, #search, #email-bulletin {
	border: 2px solid #fbb63a;
	position: relative;
	width: 100%;
}

#search, #email-bulletin {
	border-width: 3px;
	width: 100%;
}

#sidebar {
	position: absolute;
	top: 82px;
	left: 0;
	width: 202px;
}

#search, #email-bulletin {
	background: #FCE6AF;
}

/* Added 4 Jan 2012, Damian Helme */
#search.i3 {
	padding-bottom: 5px
}

#footer {
	margin: 20px 0 0 236px;
	text-align: center;
	border-top: 2px solid #fbb63a;
	clear: left;
}

/* BRANDING */

#branding img {
	display: block;
	position: absolute;
	top: 23px;
	left: 10px;
}


/* Content Images */
#main .cimg_right, #main-wide .cimg_right {
	float: right;
	padding: 0 0 10px 10px;
	border: 1px;
}
#main .cimg_right img, #main-wide .cimg_right img {
	display: block;
	margin: 0;
	padding: 0 0 4px 0;
	border: none;
}

span.caption {
	display: block;
	clear: both;
	font-style: italic;
}
span.caption a {
	text-decoration: none;
}

#main img.left, #main-wide img.left {
	float: left;
	padding: 0 10px 10px 0;
	border: none;
}

/* MAIN CONTENT, TYPOGRAPHY */

/* Content Images */
#main p, #main-wide p {
	padding: 0;
	margin: 0 0 1em 0;
}


h1, h2 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}
h1 {
	font-weight: normal;
	font-size: 2em;
	color: #666;
	margin-bottom: 0.5em;
}
h2 {
	font-size: 1.25em;
	text-transform: uppercase;
	margin: 0.6em 0 0.2em 0;
	padding: 0;
}

h3 {
	font-size: 1.1em;
	margin: 0.6em 0 0.2em 0;
	padding: 0;
}

li h3 {
	margin-top: 10px;
}
h4 {
	font-size: 1em;
}

/* Side bars */

#sidebar h2 {
	font-size: 1.4em;
	font-weight: normal;
	letter-spacing: 1px;
	margin: 0 11px 5px 11px;
}

#sidebar p {
	margin: 0 11px 0 11px;
}

p.first {
	font-weight: bold;
}

p.updated {
	text-transform: uppercase;
	font-size: 0.8em;
	font-weight: bold;
	color: #333;
	letter-spacing: 0.2em;
	text-align: center;
	margin: 20px 0 20px 0;
	background: #eee;
}

#content img {
	clear: left;
	border: none;
	float: left;
	margin: 0 16px 16px 0;
}

/* Content Lists */

#content ul, #content ol {
	list-style: disc;
	padding-left: 2em;
}
#content ol {
	list-style: decimal;
}
#content dt {
	font-weight: bold;
}
#content dd {
	margin: 0 0 0.5em 2em;
}

/* Content Tables */

#content table {
	border-collapse: collapse;
	width: 100%;
	padding: 0;
	margin-left: 1px;
	border-bottom: 1px solid #1f3f73;
	border-right: 1px solid #1f3f73;
}
#content th {
	background: #1f3f73;
	color: #fff;
}
#content th, #content td {
	border-top: 1px solid #1f3f73;
	border-left: 1px solid #1f3f73;
	text-align: left;
	padding: 4px;
}


/* No borders */
#content table.noborder, #content table.noborder td {
	border: none;
	width: auto;
	vertical-align: top;
}
#content table.noborder img {
	border: none;
}

/* Whos who */
#content table.whoswho, #content table.whoswho td {
	border: none;
	width: auto;
}
#content table.whoswho td {
	vertical-align: top;
	text-align: center;
}
#content img.whosimg {
	float: none;
	margin: 0;
}

/* Event search */
#content table.event_search {
	border: none;
	width: 100%;
	background: #eee;
}
#content table.event_search tr {
	padding: 2px;
	margin: 0;
}
#content table.event_search td {
	border: none;
	width: auto;
	vertical-align: middle;
	padding: 0;
	margin: 0;
}
#content table.event_search td.right {
	text-align: right;
	padding: 0 10px 0 0;
	margin: 0;
	vertical-align: middle;
}

#content table#event_book_form {
	width: 95%;
	vertical-align: top;
}
#content table#event_book_form th{
	background-color:	#FFFFFF;
	color:				#1f3f73;
	font-weight: bold;
}
#content table#event_book_form input.money {
	display: 		inline;
	width: 			100px;
}

a.summary-link {
	text-transform: uppercase;
	font-size: 0.84em;
	text-decoration: none;
	font-weight: bold;
	position: absolute;
	bottom: -20px;
	right: 0;
}
.js a.summary-link {
	bottom: -38px;
}

/* NEWS BOXES */

#eventbox div h2, #news div h2 {
	font-size: 1.4em;
	font-weight: normal;
	letter-spacing: 1px;
	padding-bottom: 2px;
	margin: 0;
}
#eventbox ul, #news ul {
	margin: 0;
	padding: 3px 0 0.1em 0;
	list-style: none;
}
#eventbox li, #news li {
	margin-bottom: 0.6em;
}

/* THOUGHT FOR THE DAY */

#tftd {
	margin: 30px 34% 0 0;
	padding: 10px 0 0 0;
	font-family: Georgia, Times, serif;
	text-align: center;
	background: transparent url(/images/quoteleft.gif) no-repeat top left;
}
#tftd a {
	text-decoration: none;
}
#tftd span#ttitle {
	display: block;
	font-weight: bold;
	margin: 0;
	padding: 0;
	font-size:  0.9em;
}
#tftd span#tthought {
	display: block;
	font-size:  1.4em;
	line-height: 1.2em;
	font-style: italic;
	padding: 6px 40px 20px 15px;
	margin: 0 20px 0 20px;
	color: #666;
	background: transparent url(/images/quoteright.gif) no-repeat bottom right;
}


#tftd-left blockquote p {
	margin: 0;
	font-family: Georgia, Times, serif;
	line-height: 1.2em;
	font-size:  1.4em;
	text-align: left;
	color: #666;
	font-style: italic;
}



/* FORMS */

#sidebar form {
	margin: 0 11px;
}
#sidebar form select {
	width: 157px;
}


label {
	font-weight: bold;
	display: block;
	position: relative;
}

label span.labelhelp {
	font-weight: normal;
	font-size: 0.9em;
	position: absolute;
	display: block;
	right: 16px;
	top: 0;
}

input, select, textarea {
	display: block;
	border: 1px solid #1f3f73;
	margin: 3px 0 5px;
	font-family: Arial, Helvetica, sans-serif;
}
input.noborder {
	border: none;
}
input.hidden {
	border: none;
}
textarea {
	font-size: 1em;
}

input.floatleft {
	float: left;
	margin: 0 4px 0 0;
}
input.floatright {
	float: right;
	margin: 0 4px 0 0;
}


button {
	text-transform: uppercase;
	background: #1f3f73 url(/images/button-bg.png) no-repeat 100% 50%;
	padding-right: 18px;
	color: #fff;
	border: 0 none;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	letter-spacing: 0.05em;
	margin: 0.5em 0 1em;
	font-size: 1.4em;
}

/* MAIN NAVIGATION */

#navigation {
	text-align: right;
	text-transform: uppercase;
	font-size: 1.25em;
	font-weight: bold;
}
#navigation a {
	height: 100%;
	text-decoration: none;
	display: block;
	padding-right: 8px;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	border: 2px solid #fff;
}
#navigation a:hover, #navigation a:focus {
	border: 2px solid #fbb63a;
	color: #000;
}
#navigation li#here {
	border-right: 2px solid #fbb63a;
}
#navigation li#here a:hover, #navigation li#here a:focus {
	border-right: none;
	padding-right: 10px;
}
#navigation acronym {
	border-bottom-width: 0;
}

/* SUB NAV */

ul#navigation ul {
	margin: 0 0 10px 0;
	font-size: 0.8em;
	text-transform: capitalize;
}
ul#navigation ul li a {
	background: #fff;
}
ul#navigation ul a:hover, ul#navigation ul a:focus {
	color: #000;
}
ul#navigation ul li#selected a {
	color: #E6871D;
}
ul#navigation ul li#selected a:hover, ul#navigation ul li#selected a:focus {
	color: #000;
}

/* TOP NAVIGATION */

#topblock {
	clear: left;
	border-top: 2px solid #fbb63a;
	margin: 0;
	padding: 0;
}

#disciplines {
	margin: 0;
	padding: 0;
}

#disciplines li {
	display: inline;
	float: left;
	font-size: 1.1em;
	margin-right: 1.4em;
	list-style: none;
}

#disciplines li a {
	background-position: 50% 11px;
	background-repeat: no-repeat;
	white-space: nowrap;
	display: block;
	padding-top: 42px;
	text-align: center;
	text-decoration: none;
}

li.meditation a {
	background-image: url(/images/icons/meditation.png);
}
li.buddhism a {
	background-image: url(/images/icons/buddhism.png);
}
li.retreats a {
	background-image: url(/images/icons/retreats.png);
}
li.stress-reduction a {
	background-image: url(/images/icons/stress-reduction.png);
}
li.yoga a {
	background-image: url(/images/icons/yoga.png);
}
li.tai-chi a {
	background-image: url(/images/icons/tai-chi.png);
}

#disciplines li a:hover, #disciplines li a:focus {
	color: #ff7920;
}

/* Suckerfish dropdowns: http://www.htmldog.com/articles/suckerfish/dropdowns/ */

#disciplines li ul {
    position: absolute;
    width: 7em;
    width: 116px;
    left: -999em;
    background: #eee;
    border: 2px solid #fbb63a;
    border-top-width: 0;
    margin: 0;
    padding: 6px 0;
} 

#disciplines ul li  a {
	text-align: left;
	padding-top: 0;
	background-image: none;
	font-size: 0.85em;
	padding: 0 6px;
}

#disciplines li:hover ul,
#disciplines li.sfhover ul {
	left: auto;
}

/*
= FOOTER */

#footer p {
	margin: 0.5em 0;
}

#footer p.footnote {
	font-size: 0.9em;
	margin-top: 1em;
}

#footer acronym {
	border-bottom-width: 0;
}

a.org {
	text-decoration: none;
	color: #000;
}

a.org:hover, a.org:focus {
	background: transparent;
}

/* ROUNDED CORNERS */

.rounded {
	margin-bottom: 2.4em;
}

/* Top drop-down corners */

#disciplines .bl, #disciplines .br {
	width: 7px;
	height: 7px;
	position: absolute;
	font-size: 0;
}

.bl {
	left: -2px;
}
.br {
	right: -2px;
}
.bl, .br {
	bottom: -2px;
}
#disciplines .bl {
	background: url(/images/bl-bg.png);
}

#disciplines .br {
	background: url(/images/br-bg.png);
}


/* Rules for the top corners and border */
.bt {
	background: url(/images/box.png) no-repeat 100% 0;
	margin: 0 0 0 19px;
	height: 19px;
}

.bt div {
	height: 19px;
	width: 19px;
	position: relative;
	left: -19px;
	background: url(/images/box.png) no-repeat 0 0;
}

/* Rules for the bottom corners and border */
.bb {
	background: url(/images/box.png) no-repeat 100% 100%;
	margin: 0 0 0 19px;
	height: 19px;
}

.bb div {
	height: 19px;
	width: 19px;
	position: relative;
	left: -19px;
	background: url(/images/box.png) no-repeat 0 100%;
}

/* Insert the left border */
.i1 {
	padding: 0 0 0 19px;
	background: url(/images/borders.png) repeat-y 0 0;
}

/* Insert the right border */
.i2 {
	padding: 0 19px 0 0;
	background: url(/images/borders.png) repeat-y 100% 0;
}

/* Wrapper for the content. Use it to set the background colour and insert some padding between the borders and the content. */
.i3 {
	background: #fff;
	border: 0 none !important;
}

/* Sidebar boxes use different images */
#sidebar .bt,
#sidebar .bt div,
#sidebar .bb,
#sidebar .bb div {
	background-image: url(/images/sb-box.png);
}
#sidebar .i1,
#sidebar .i2 {
	background-image: url(/images/sb-borders.png);
}
#sidebar .i1 {
	padding-left: 5px;
}
#sidebar .i2 {
	padding-right: 5px;
}




/* EVENT STUFF */

/* Icons on event listings */
#content div.event_icons {
	float: right;
	clear: none;
}
#content div.event_icons img {
	margin: 0;
	padding: 0 0 0 4px;
	border: none;
	clear: none;
}


/* Icons on event details */
#content img.event_desc_icon {
	float: left;
	margin: 0;
	padding: 0 4px 0 0;
}

/* Event Tabs */
#content ul#tabs {
	font-size: 1.1em;
	margin: 0;
	padding: 0;
	border: 1px solid white;
}
#content ul#tabs li {
	background: white;
	border: 2px solid #fbb63a;
	display: block;
	float: right;
	padding: 2px 4px;
	margin: 0 6px 0 0;
	position: relative;
	top: 2px;
	z-index: 2;
}
#content ul#tabs li.tab-on {
	font-weight: bold;
	border-bottom: 2px solid white;
}
#content ul#tabs li.tab-off {
	background: #FCF3E8;
}
#content ul#tabs li a{
	text-decoration: none;
}


#content div#eventblock {
	 border: 2px solid #fbb63a;
	 border-bottom: none;
	 margin: 0;
	 padding: 0;
	 clear: right;
}
#content div#eventblock div.eventlisting {
	border-bottom: 2px solid #fbb63a;
	padding: 6px;
}
#content div#eventblock div.dates {
	background-color: #FCF3E8;
	padding: 2px;
	margin: 0 0 6px 0;
}

p.printonly {
	display: none;
}

#esearch {
	background: url(/images/magnify.gif) no-repeat top right;
 	padding-right: 20px;
}

.alert {
	color: red;
	text-align: center;
	font-style: italic;
}

/* EVENT ICONS */
a#ed_enquire {
	background: url(/images/ed_book.gif) no-repeat 2px 0;
 	padding-left: 24px;
}
a#ed_book {
	background: url(/images/ed_enq.gif) no-repeat 1px 1px;
 	padding-left: 24px;
}
a#ed_sim {
	background: url(/images/ed_sim.gif) no-repeat 2px 0;
 	padding-left: 24px;
}
span#ed_simoff {
	background: url(/images/ed_simoff.gif) no-repeat 2px 0;
 	padding-left: 24px;
	display: block;
	color: #999;
}
a#ed_subrev {
	background: url(/images/ed_subrev.gif) no-repeat 0 0;
 	padding-left: 24px;
}
span#ed_subrevoff {
	background: url(/images/ed_subrevoff.gif) no-repeat 0 0;
 	padding-left: 24px;
	display: block;
	color: #999;
}
a#ed_viewrev {
	background: url(/images/ed_readrev.gif) no-repeat 2px 2px;
 	padding-left: 24px;
}
span#ed_viewrevoff {
	background: url(/images/ed_readrevoff.gif) no-repeat 2px 2px;
 	padding-left: 24px;
	display: block;
	color: #999;
}
a#ed_print {
	background: url(/images/ed_print.gif) no-repeat 3px top;
 	padding-left: 24px;	
}
a#ed_send {
	background: url(/images/ed_send.gif) no-repeat left top;
 	padding-left: 24px;	
}
a#ed_back {
	background: url(/images/back.gif) no-repeat 4px top;
 	padding-left: 24px;
}
a#ed_search {
	background: url(/images/magnify.gif) no-repeat 4px top;
 	padding-left: 24px;
}

p.special {
	display: none;
}

.user_input {
	background-color: #8A8AFF;
}
