
/*
CSS - SCREEN 

Owner:
Hilary Barrett
onlineclarity.co.uk

Designer:
Dawud Miracle, Healthy WebDesign
www.dmiracle.com

Updated by Ewald Berkers

last revised: 6 September 2007
*/


/*  =====================================
	OVERALL LAYOUT  
	=====================================  */
	
body {
	margin: 0;
	padding: 0 2%;
font: normal 95%/115% "Trebuchet MS","Lucida Grande", arial, verdana, sans-serif;
	/*	font: normal 14px/115% "Trebuchet MS","Lucida Grande", arial, verdana, sans-serif;*/
	text-align: center;
	background: #ffffe1 url(http://www.onlineclarity.co.uk/img/bkgrd_top.gif) repeat-x 0 0;
	color: #000;
	border-color: #a3a5cb;
}



#wrap {
	margin: 0 auto;
	padding: 0;
	width: 750px;
	/*hjb from width 740*/
	/* hjb removing watermark
	 background: url(http://www.onlineclarity.co.uk/img/bkgrd_watermark_sidebar.gif) no-repeat  600px bottom; */
}

#wrap-noyi {
	margin: 0 auto;
	padding: 0;
	width: 750px;
	/*hjb from width 740*/	
}

#content {
	position: relative;
	/* eb: positioning added, so as to be able to do absolute positioning relative to this div */
	display: inline;
	/*hjb inline display attempting to fix lh margin in IE6 */
		margin: 35px 0 10px 20px;
	/*hjb added bottom margin */
	float: left;
	width: 485px;
	/*hjb changed width from 450px*/
}
#content-icc {
	margin: 3em 1em 2em 1.6em;
	width: 95%;
}
#sidebar {
	margin: 0 15px 0 20px;
	padding: 0;
	float: right;
	text-align: left;
	font-size: 90%;
	width: 190px;
	display: inline;
}


#masthead {
	clear: both;
	padding-left: 2em;
	text-align: left;
}

#nav-1 {
	margin: -10px 0 0 130px;
	/*hjb changed right margin from 180px*/
	padding: 0;
}


#bline {
	margin: 0;
	padding: 0;
	border-top: 1px solid #00005a;
	width: 100%;
	clear: both;
}

#nav-2 {
	margin: 0 0 0 0;
/*hjb changed from 0*/
	padding: 0 0 0 0;
	clear: both;
	text-align: left;
	background: url(http://www.onlineclarity.co.uk/img/navcurve_m.gif) repeat-x right 0;
}


#footer {
	clear: both;
	margin: 3em auto;
	padding: 0;
	padding-top: 9em;
	width: 750px;
}

#footer-reading {
	clear: both;
	margin: 3em auto;
	padding: 0;
	padding-top: 2em;
	width: 750px;
}

/*  =====================================
	LINKS 
	=====================================  */

a {
	color : #000099;
	text-decoration: underline;
}

a.link {
	color : #000099;
	text-decoration: underline;
}

a:visited {
	color : #666699;
	text-decoration: underline;
}

a:hover {
	color : #0000FF;
	text-decoration: underline;
}

a:active {
	color : #0000FF;
	text-decoration: none;
}



/*  =====================================
	GLOBAL NAV 
	=====================================  */


#masthead ul {
	margin: 12px 0 0 0;	
	padding: 0;
	list-style: none; 
	float: right;
	color: #fff;
	display: inline; 

}

#masthead ul li {
margin: 0;
	padding: 0;
	float:left;
/*including float: left; here corrects the vertical alignment of forum masthead dropdown in ff but breaks the login hidden form - causes it to shunt everything left. */
}

#masthead ul li a {

	float: left;
	/*with float:left included, forum masthead dropdown is bust in ff; login hidden form is working. Without it, the whole masthead menu stacks vertically */
	 margin: 3px 0 0 8px;
	padding: 0 8px 0 0;
	display: block;
	font-size: 87%;
	color: #fff;
	text-decoration: none;
	border-right: 1px solid #fff;
}

#masthead ul li a#login {
	border-right: 0;
	display: inline;

}
#masthead ul li#logn {
	border-right: 0;
	display: inline;
	/* float:none here cancels out effects of float left on the login form */
		float: none;
}

#masthead ul li a:hover {
	color: #e3dc8a;
}



/*  =====================================
	MASTHEAD
	=====================================  */

#masthead {
	background: url(http://www.onlineclarity.co.uk/img/logo.gif) no-repeat 0px 0;
	height: 124px;
}

#masthead h1 {
	display: none;
}

body.home #masthead {
	background: url(http://www.onlineclarity.co.uk/img/logo-home.gif) no-repeat 0px 0;	
}

/* #masthead img {
	  margin: 0 0 0 0;
	padding: 0;
	border: 0;
	float: left;
} */

#masthead li#membershipz img, #masthead li#searchz img 
{
	display: none;
}


/*
#masthead img.clarity {
	margin: -30px 0 0 8px;
	padding: 0;
	border: 0;
	display: inline;
}*/




/*  =====================================
	PRIMARY NAV 
	=====================================  */

#nav-1 {
	font-size: 1em;
	line-height: normal;
	clear: both;
}

#nav-1 ul {
	margin: 0;
	padding: 0;
	list-style: none;
	clear: both;
	height: 27px;
}

*body #nav-1 ul {		/* ie 6/7 hack */
	height: 30px;
}


#nav-1 li {
	display: inline;
/*	float: left;*/
	margin: 0;
	padding: 0;
}

#nav-1 li:hover {
	background-position: 0% -156px;
}


#nav-1 a {
	float: left;
	margin: 0 0 0 2px;
	background: url(http://www.onlineclarity.co.uk/img/navtab_stacked_left.gif) no-repeat left top;
	padding: 0 0 0 9px;
	border: 0;
	text-decoration: none;
/*	padding: 5px 9px 5px 0; */
}

#nav-1 a span {
	float: left;
	display: block;
	background: url(http://www.onlineclarity.co.uk/img/navtab_stacked_right.gif) no-repeat right top;
	padding: 5px 9px 5px 0;
	color: #697dbc;
}

	/* Hack for IE5-Mac \*/
#nav-1 a span {
	float: none;
}
	/* End IE5-Mac Hack */
	

#nav-1 a:hover {
/*	background-position: 0 -156px; */
	border: none;
}

#nav-1 a:hover span {
/*	background-position: 100% -156px; */
	border: none;
	color: #0d0d60;
	text-decoration: underline;
}



/*  =====================================
	PRIMARY NAV - WHERE AM I
	coded HTML - <body class="[section]">
	=====================================  */

body.learn #nav-1 a#learnleft,
body.readings #nav-1 a#readingsleft,
body.talk #nav-1 a#talkleft,
body.blog #nav-1 a#blogleft,
body.journal #nav-1 a#journalleft,
body.products #nav-1 a#productsleft,
body.members #nav-1 a#membersleft {
	background: url(http://www.onlineclarity.co.uk/img/navtab_stacked_left.gif) no-repeat 0 -156px;	
}

body.learn #nav-1 li#learnright span,
body.readings #nav-1 li#readingsright span,
body.talk #nav-1 li#talkright span,
body.blog #nav-1 li#blogright span,
body.journal #nav-1 li#journalright span,
body.products #nav-1 li#productsright span,
body.members #nav-1 li#membersright span {
	background: url(http://www.onlineclarity.co.uk/img/navtab_stacked_right.gif) no-repeat 100% -156px;
	color: #2b3b8e;
	font-weight: bold;
}



/*  =====================================
	SECONDARY NAV  
	=====================================  */

#nav-2 img {
	margin: 0;
	padding: 0;
	border: 0;
}

#nav-2 img.l {
	float: left;
}

#nav-2 img.r {
	float: right;
}

#nav-2 ul{
	margin: 3px 40px 0 0; 
	padding: 0; 
	font-size: 85%;
/*	display:  none; */
}

#nav-2 ul#nav-2-top {
	padding: 5px 0 0 0;
	margin-left: 144px;
	margin-top: 0;
}

#nav-2 ul#nav-2-bottom {
	border-top: 1px solid #e8e0a7;
	margin-left: 144px;
	padding-top: 3px;
}

#nav-2 li {
	display: inline;
	padding:  0;
	margin:  0;
}

#nav-2 ul li a, #subnav2 a {
	text-decoration: none;
	color: #2b3b93;
}

#nav-2 a:hover, #subnav2 a:hover {
	color: #0d0d60;
	text-decoration: underline;
}

#nav-2 strong , #subnav2 strong{
	font-weight: normal; 
	margin: 0 .5em 0 0.75em; 
	color: #776;
}




/*  =====================================
	SECONDARY NAV - NO SECONDARY NAV
	=====================================  */

body.none #nav-2,
body.home #nav-2 {
	background: url(http://www.onlineclarity.co.uk/img/navcurve_m_none.gif) repeat-x right 0;
	height: 30px;
}




/*  =====================================
	SECONDARY NAV - WHERE AM I
	coded HTML - <li><a href="" id="on2">
	=====================================  */
	
#nav-2 li a#on2 {
	font-weight: bold;
	font-size: 95%;
}




/*  =====================================
	TERTIARY NAV 
	=====================================  */

#nav-3 {
	margin: 80px 15px 0 0;
	/*hjb changed top margin from 3em*/
	padding: 0px 5px;
/*	width: 100%;	*/
	width: 173px;
	background: #fffbdd;
	border-top: 1px solid #e8e0a7;
	border-bottom: 1px solid #e8e0a7;
}

#nav-3 h3 {
font-family: Georgia, "Times New Roman", serif;
	color: #00005a;
	font-size: 110%;
	margin-left: 20px;
	margin-bottom: 0;
	margin-top: 15px;
}

#nav-3 ul {
	margin: 0;
	margin-top: 0;
	padding: 0;
	padding-top: 12px;
	padding-bottom: 12px;
	color: #dee2fe;
}

#nav-3 li {
	display: inline;
}

#nav-3 li a {
	margin-left: 20px;
	margin-right: 20px;
	padding-left: 12px;
	background: url(http://www.onlineclarity.co.uk/img/link_bullet.gif) no-repeat 0 5px;
	display: block;
	text-decoration: none;
	color: #2b3b93;
}

#nav-3 li a:hover {
	color: #0d0d60;
	text-decoration: underline;
}




/*  =====================================
	TERTIARY NAV - WHERE AM I
	coded HTML - <li><a href="" id="on3">
	=====================================  */
	
#nav-3 li a#on3 {
	font-weight: bold;
	font-size: 95%;
}




/*  =====================================
	SIDEBAR IMAGES / CONTENT
	=====================================  */
	
#sidebar img {
	background: transparent;
	margin: 0;
	padding: 0;
	border: 0;
}

#sidebar div.text {
	margin: 0 15px 0 0;
	padding: 0px 5px;
	width: 100%;
	background: #fffbdd;
	border-top: 1px solid #e8e0a7;
	border-bottom: 1px solid #e8e0a7;
}






/*  =====================================
	HEADINGS
	=====================================  */

#content h1, #content h2, #content h3, #content h4, #content-icc h1, #content-icc h2, #content-icc h3, #content-icc h4 {
	font-family: Georgia, "Times New Roman", serif;
	color: #00005a;
	font-size: 180%;
}

#content h1, #content-icc h1 {
	font-size: 140%; line-height: 1.2;
}

#content h2, #content-icc h2 {
	font-size: 120%; line-height: 1.1;
}

#content h3, #content-icc h3 {
	font-size: 105%; line-height: 1.1;
}
#content h4, #content-icc h4 {
	font-size: 100%; line-height: 1;
	}



/*  =====================================
	CONTENT
	=====================================  */

#content, #content-icc {
	text-align: left;
}

.shrink {
	font-size: 85%;
	color: #000;
}

.lft {
	font-size: 85%;
	color: #fff;
}

.sm {
	font-size: 75%;
	color: #000;
}

.small {
	font-size: 70%;
}

#content ul, #content ol {
	
}

#content li {
	
}




/*  =====================================
	TEXT FLOATED INTO SIDEBAR & ALIGNED
	wrap all elements in <div class="lineup">
	=====================================  */

.lineup { 
	position: absolute;
	left: 515px;	/* eb: width #content:485px + 30px spacing  */
	width: 195px; 
/*	float: right;
	margin-top: 0;
	margin-top: -1em; 
	margin-right: -225px;	*/
	text-align: justify;
}

*body .linedup {
/*	margin-right: -250px;
	margin-left: 30px;
	margin-top: 0;		*/
}

.linedup {
	position: absolute;
	left: 515px;	/* eb: width #content:485px + 30px spacing  */
	width: 195px; 
/*	float: right;
	margin-top: 0;
	margin-top: -1em;
	margin-right: -225px;	*/
		border-top: 1px solid #e8e0a7;
	border-bottom: 1px solid #e8e0a7;
	}
.linedup p, .linedup td, .linedup li {
	font-size: 85%;
	margin-left: 25px;
	}
.linedup h3 {
	margin-left: 25px;
	}
.linedup img {
	display: block;
	margin: 1em auto 0 auto;
}


/*  =====================================
	BOX STYLES FROM OLD SITE
	=====================================  */

.boxoutr {
background: #ffffbb;
float: right;
width: 30%;
margin-left: 30px;
margin-bottom: 20px;
padding-top: 20px;
border: 2px groove #00005a;
}
.boxoutr p, .boxoutl p {
margin-left: 10px;
margin-right: 10px;
margin-bottom: 10px;
margin-top: 0px;
font-size: 85%;
color: #3A3C70;
}
.boxoutl {
background: #ffffbb;
float: left;
width: 30%;
margin-right: 30px;
margin-bottom: 20px;
padding-top: 20px;
border: 2px groove #00005a;
}
.logo {
background: #ffffbb;
float: left;
margin-right: 30px;
margin-bottom: 20px;
}
.boxoutc {
background: #ffffbb;
display: block;
width: 100%;
margin-right: 30px;
margin-left: 30px;
margin-bottom: 20px;
padding-top: 20px;
border: 2px groove #00005a;
}

.boxoutcs {
background: #ffffbb;
display: block;
width: 100%;
margin-right: 30px;
margin-left: 30px;
margin-bottom: 20px;
padding-top: 20px;
border: 2px groove #00005a;
}

.boxoutc p, .boxoutcs p {
margin-left: 10px;
margin-right: 10px;
margin-bottom: 10px;
margin-top: 0px;
font-size: 90%;
color: #3A3C70;
}


.boxlines {
background: #ffffbb;
display: block;
width: 95%;
margin-right: 30px;
margin-left: 30px;
margin-bottom: 20px;
padding-top: 20px;
border-top: 1px solid #e8e0a7;
border-bottom: 1px solid #e8e0a7;
}

.invite {
background: #ffffbb url(http://www.onlineclarity.co.uk/images/invite.jpg) no-repeat bottom;
display: block;
width: 350px;
margin-right: 30px;
margin-left: 30px;
margin-bottom: 20px;
padding-top: 20px;
border-top: 1px solid #e8e0a7;
border-bottom: 1px solid #e8e0a7;
}

.boxlines p, .boxlines ul, .boxlines td, .invite p, .invite ul, .invite td {
	font-size: 85%;
	margin-left: 25px;
	}
.boxlines input {
margin-left: 25px;
}
.boxlines h3, .boxlines h4, .invite h3 {
	margin-left: 25px;
	}




/*  =====================================
	MISC
	=====================================  */

hr {
	color: #00005a;
	height: 2px;
}

p.small {
	font-size: 80%;
}

#fixedtipdiv{
position:absolute;
padding: 2px;
border:1px solid black;
font:normal 12px Trebuchet MS;
line-height:18px;
z-index:100;
}

.bigyellow {
background-color: #ffffee;
color: #00005a;
font-size: 10pt;
font-family: Trebuchet MS, arial;
}
.biggeryellow {
background-color: #ffff66;
color: #00005a;
font-size: 14pt;
font-family: Trebuchet MS, arial;
border-radius: 10px;
cursor: pointer; cursor: hand;
}


div.free{
	color: #fff;
	text-decoration: none;
}
a.free, a.free:visited {
	font-size:87%;
	color: #fff;
	text-decoration: none;
}

a.free:hover {
	color: #e3dc8a;
}

a.freerow, a.freerow:visited {
text-decoration: none;
color: #00005a;
}
a.freerow:hover {
text-decoration: underline;
}

/*  =====================================
	FORMS 
	=====================================  */

input, select, textarea {
background-color: #ffffee;
color: #00005a;
font-size: 10pt;
font-family: Trebuchet MS, arial;
}

input.clear {
background-color: transparent;
}

	
/*  =====================================
	FOOTER
	=====================================  */

#footer h6 {
	margin: 0 3em;
	padding: 3px;
	/*hjb increased padding from 0*/
	font-weight: normal;
	font-size: 80%;
}

/*hjb added this 'a' thing */
#footer a {
margin: 0 25px 0 25px;
}

a.lft:link {
color : #ffff88;
text-decoration : none;
background : transparent;
font-size : 12px;
}
a.lft:visited {
color : #ffff88;
background : transparent; 
text-decoration : none;
font-size : 12px;
}
a.lft:active {
color : #ffff00;
background : transparent; 
text-decoration : none;
font-size : 12px;
} 
a.lft:hover {
color : #ffff00;
background : transparent; 
text-decoration : underline;
font-size : 12px;
}

/*  =====================================
	FOOTER-ICC
	=====================================  */

#footer-icc h6 {
	margin: 0 1em;
	padding: 3px;
	/*hjb increased padding from 0*/
	font-weight: normal;
	font-size: 80%;
}

/*hjb added this 'a' thing */
#footer-icc a {
margin: 0 10px 0 10px;
}

a.lft:link {
color : #ffff88;
text-decoration : none;
background : transparent;
font-size : 12px;
}
a.lft:visited {
color : #ffff88;
background : transparent; 
text-decoration : none;
font-size : 12px;
}
a.lft:active {
color : #ffff00;
background : transparent; 
text-decoration : none;
font-size : 12px;
}
a.lft:hover {
color : #ffff00;
background : transparent; 
text-decoration : underline;
font-size : 12px;
}



/*===================
TABS VISIBILITY
=====================*/


.tabPage {
	/* Hide all tab pages, until someone clicks on a tab, then show these pages one at a time. */
   display: none;
}




/*  =======================================
	STYLES FOR HIDDEN MASHTHEAD LOGING FORM
	=======================================  */

#hiddenform {
  margin: 0px;
  padding: 30px 0 0 0;
  display: none;
  font-size: 80%;
  text-align: right;
}

#hiddenmenu {
  margin: 0px;
  padding: 0px 0 0 0;
  display: none;
  font-size: 80%;
  text-align: right;
}

*body #hiddenform, *body #hiddenmenu {
	padding-top: 10px;
}

.row {
	display: block;
	margin-bottom: 4px;
}

.shoprow {
		display: block;
		margin-bottom: 2px;
}

#hiddenform label {
	color: #070441}

#hiddenform input {
	font-size: 90%;
	color: #070441;
	background-color: #ffffcc;
	border-top-color:#ffffee;
   border-left-color:#ffffee;
   border-right-color:#E8E0A7;
   border-bottom-color:#E8E0A7;
	
}
/* new tooltip css to work with sidebar sign-up forms */
<style type="text/css">

span.link {
    	position: relative;
}

    span.link a span {
    	display: none;
}

span.link a:hover {
    	font-size: 99%;
    	font-color: #000000;
}

span.link a:hover span {
    display: block;
    	position: absolute;
    	margin-top: 10px;
    	margin-left: -10px;
	    width: 175px; padding: 5px;
    	z-index: 100;
    	color: #000000;
    	background: #FFFFAA;
    	font: 12px "trebuchet ms", sans-serif;
    	text-align: left;
    	text-decoration: none;
}
/* Small red text at 90 degrees */
.spin {

/* Safari */
-webkit-transform: rotate(-90deg);

/* Firefox */
-moz-transform: rotate(-90deg);

/* IE */
-ms-transform: rotate(-90deg);

/* Opera */
-o-transform: rotate(-90deg);

/* Internet Explorer */
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);

color: #FF0000;
font: 7px "verdana", sans-serif;
display: inline-block;
font-weight: bold;

}

   /*==============
   BUTTON STYLE LINK
 this needs to be an id (#) not a class because the font colour on a class is overridden by main link settings and looks washed out
 pretty sure this means only one such button per page.
   ================*/

   #btn {
  background: #ffff66;
  background-image: -webkit-linear-gradient(top, #ffff66, #fafac3);
  background-image: -moz-linear-gradient(top, #ffff66, #fafac3);
  background-image: -ms-linear-gradient(top, #ffff66, #fafac3);
  background-image: -o-linear-gradient(top, #ffff66, #fafac3);
  background-image: linear-gradient(to bottom, #ffff66, #fafac3);
  -webkit-border-radius: 15;
  -moz-border-radius: 15;
  border-radius: 15px;
  text-shadow: 1px 1px 1px #8d92b8;
  -webkit-box-shadow: 0px 1px 2px #666666;
  -moz-box-shadow: 0px 1px 2px #666666;
  box-shadow: 0px 1px 2px #666666;
  font-family: "Trebuchet ms", arial;
  color: #00005a;
  font-size: 20px;
  padding: 10px 15px 10px 15px;
  text-decoration: none;
}

#btn:hover {
  background: #d6b946;
  background-image: -webkit-linear-gradient(top, #d6b946, #ffff44);
  background-image: -moz-linear-gradient(top, #d6b946, #ffff44);
  background-image: -ms-linear-gradient(top, #d6b946, #ffff44);
  background-image: -o-linear-gradient(top, #d6b946, #ffff44);
  background-image: linear-gradient(to bottom, #d6b946, #ffff44);
  text-decoration: none;
}

</style>

