/* ==============================================
Layout Style Sheet (for version 5 browsers and above)

version:  1.0
author:   Philip Lee (MCUBE.TV)
date:     11 February 2006
================================================= */

/* =LAYOUT =INIT
================================================= */
hr	{
}
.imgright { float: right    }
.imgleft  { float: left     }
del.show  { display: inline }
#main .imgpad { padding: 0 }


/* =LAYOUT =CLEAR
================================================= */
#header,
#menu,
#menu li,
#menu ul,
#top,
#bottom,
#footer {
	margin: 0;
	padding: 0;
}

/* =CLEARFIX
================================================= */
/* Clear Fix Hacks: To ensure container div wraps around float elements
http://www.positioniseverything.net/easyclearing.html
http://www.positioniseverything.net/articles/onetruelayout/
*/
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {	display: inline-table; }

/* Hides from IE-mac \*/
.clearfix {display: block;}
/* End hide from IE-mac */


/* =LAYOUT =VERTICALLY ALIGNING CONTAINER DIV IN BROWSER WINDOW
=============================================================== */

/*\*/
#valign_outer, #valign_inner {
	height: 100%;
}
#valign_outer {
	margin: 0 auto;
	display: table;
}
#valign_inner {
	display: table-cell;
	vertical-align: middle;
	
	width: 770px; /* Opera needs to set the width here */
}
/**/
#valign_inner {
	/*white-space: nowrap;*/
}

/* in IEM solo shrink-wrap, no vert.center \*//*/
#valign_outer {
	text-align: center;
}
#container {
	display: inline-block;
	text-align: left;
	width: 1px;
}
/**/

/* =LAYOUT =STYLING
================================================= */
#container {	
	overflow: hidden;
	
	text-align: left;
	
	/*width: 45em !important;*/
	width: 770px;
	position: relative;
	
	margin: 1em auto;
	margin-bottom: 0;
}

/* commented backslash hack - hide from Mac IE \*/ 
/*#container {
	height:100%;
}*/

/* =MAIN IMAGE
================================================= */
#main-image {
	position: absolute;
	top: 0;
	right: 0;
}

/* =TOP
================================================= */
#top {
	position: relative;
	border: solid white;
	border-width: 1px 1px 0 1px;
}

#top h1 {
	float: left;
}

/* =BOTTOM
================================================= */
#bottom {
	position: relative;
	text-align: left;

	padding: 0.5em;
	
	min-height: 80px;
	border: solid white;
	border-width: 0 1px 1px 1px;
}

#bottom #contact {
	position: relative;
	float: left;
	width: 60%;
}

#bottom #contact h1 {
	margin: 0;
}

#bottom #contact h1 a:hover {
	background: none;
}

#bottom #contact #details {
	position: absolute;
	top: 50px;
	left: 66px;
	font-size: 0.7em;
}

/* =CONTENT
================================================= */
/* See typography.css */
#content	{
	position: relative;
	/*min-height: 300px;*/
	/*height: 25em;*/
	text-align: left;
	background: transparent;
	border: solid white;
	border-width: 0 1px;
}

#left {
	float: left;
	width: 200px;
}

#menu-box {
 	position: absolute;
 	top: 0px;
 	left: 0px;
 	
 	width: 200px;
 	height: 95%;
}

#main {
	float: left;
	position: relative;
}

#main a:hover	{
	background-color: #3798B5;
}

#section-text {
	padding: 0.5em;
	float: left;
	width: 342px;
	/*width: 335px;*/
	z-index:100;
	position:relative;
}

#section-text p {
 	margin: 0 0 1em 0;
}

#section-text p img {
	border: solid 1px white;
	margin: 0 1em 1em 0;
	float: left;
}


#section-text ul {
 	font-size: 0.75em;
 	margin-bottom: 2em;
	padding-left: 2em;
	list-style-image: url(../images/en/swimmer-icon.gif);
}

#section-text ol {
 	font-size: 0.75em;
 	margin-bottom: 1em;
	padding-left: 2em;
}

#section-text ul li, #section-text ol li{
	line-height: 130%;
}


#section-text ul ul, 
#section-text ul ol, 
#section-text ol ol,
#section-text ol ul {
 	font-size: 1em;
 	margin-bottom: 1em
}


#section-text table {
 color: white;
 margin-bottom: 1em;
}

#section-text table th {
 text-align:left;
 border-bottom: solid 1px #fff;
}

#section-text table td {
 padding: 0em 0.5em 0.5em 0;
}


/* =MENU
================================================= */
ul#menu,
ul#menu2 {
	list-style-type: none;
	float: left;
}

ul#menu {
	max-width: 580px;
}

ul#menu2 {
	margin: 145px 0 0 0;
	padding: 0;
}

#menu li,
#menu2 li {
	display: block;
	float: left;
	position: relative;
	text-align: left;
	margin-bottom: 0;
}	



#menu li a:link,
#menu li a:visited,
#menu2 li a:link,
#menu2 li a:visited {
	text-decoration: none;
	display: block;
	border: none;
	background: none;
}

#menu2 li {
	font-size: 0.95em;
}	


#menu2 li a:link,
#menu2 li a:visited {
	display: inline;
	margin-right: 0.3em;
	margin-left: 0.3em;
}


#menu li a:link,
#menu li a:visited {
  	font-family: "lucida grande", arial, helvetica, sans-serif;
	font-size: 0.8em;
	color: #777777;
	padding: 0.3em;
	margin-right: 1em;

}

#menu2 li a:link,
#menu2 li a:visited {
  	font-family: arial, helvetica, sans-serif;
	font-size: 0.6em;
	color: white;
	padding: 0;
}

#menu li.aquatics a:link,
#menu li.aquatics a:visited {
	color: #dc241f;
}

#menu li.fsa-csa a:link,
#menu li.fsa-csa a:visited {
	color: #dc241f;
}

#menu li.total-immersion-home a:link,
#menu li.total-immersion-home a:visited {
	color: #2082c2;
}

#menu li.chirunning a:link,
#menu li.chirunning a:visited {
	color: #dc241f;
}

#menu li.triathlon a:link,
#menu li.triathlon a:visited {
	color: #000;
}

#menu2 li.terms a:link,
#menu2 li.terms a:visited {
	margin-left: 0;
}

#menu li.aquatics a:hover,
#menu li.fsa-csa a:hover,
#menu li.total-immersion-home a:hover,
#menu li.chirunning a:hover,
#menu li.triathlon a:hover,
#menu li.contact a:hover
{
	color: white;
	background-color:#35a2da;
}


#menu2 li a:hover,
#menu2 li a:active {
	/*color:#04409e;*/
	color: #2082C2;
	background-color: transparent;
}


#menu abbr {
	border: none;
}


/* =SUBMENU
================================================= */
ul#submenu {
	list-style-type: none;
	/*background: #003c80 url("../images/en/background-menu-item.jpg") 0 0 repeat-x;*/
	padding: 1em;
	margin: 0;
	max-width: 100%;
}

ul#submenu li {
	/*border-left: solid 4px #00a19d;*/
	padding-left: 0.4em;
	font-size: 0.8em;
	font-size: 0.75em;
	text-align: right;

}

ul#submenu li a:link, 
ul#submenu li a:visited {
  	font-family: arial, helvetica, sans-serif;
  	text-transform: uppercase;
  	font-style: oblique;
  	font-weight: bold;
	color: white;	
	border-bottom: none;
}

ul#submenu li a:hover, 
ul#submenu li a:active {
	color: #04409e;
}

/* =EXTRA MENUS
================================================= */
#extra-menus {
	padding: 1em;
	text-align: right;
}

#extra-menus h5 {
	background: none;
	margin: 0;
	padding: 0;
}


#extra-menus ul	{
	margin: 0 0 1em 0;
	padding: 0;
	list-style-type: none;
}

#extra-menus ul	li {
	margin-bottom: 0.5em;
	line-height: 90%;
}


#extra-menus ul li a {
	font-size: 0.7em;
}

/* =FOOTER
================================================= */
#footer {
	text-align: right;
	clear:both;
	font-size: 0.6em;
	font-family: arial, verdana, "trebuchet MS", helvetica, sans-serif;
	padding: 0.5em 0 0 0;
	
	/*width: 770px;*/
	margin: 0 auto;
	margin-bottom: 1em;
}

/* =PORTLET
================================================= */
#testimonial {
	margin: 0;
	padding: 230px 0.5em 0 0.5em;
	float: right;
	width: 185px;
}

.register #testimonial {
	padding-top: 270px;
}


.portlet	{
	font-size:0.85em;
	position:relative;
	float: right;
}

.portlet h2 {
	color: #2082C2;
	margin-bottom: 0;
}

.portlet p {
	/*text-align: justify;*/
	font-family: arial, helvetica, sans-serif;
}

.portlet a img {
	float: left;
	margin: 0 0.5em 0 0;
	border: solid 2px #3798B5;
}

.portlet .title {
	margin: 0 0 0.4em 0;
	font-size: 0.9em;
}

.portlet .title a {
	/*text-transform: uppercase;*/
	font-family: arial, helvetica, sans-serif;
	font-weight: bold;
}

#testimonial .portlet {
	background: transparent url("../images/en/background-portlet.png") 0 0 repeat;
	padding: 0.5em;
	margin-bottom: 1em;
	text-align: right;
}

#testimonial .portlet p {
	text-align: left;
}

#testimonial .portlet p cite {
	font-size: 1.5em;
}


#testimonial .portlet .title {
	margin: 0.5em 0 0 0;
}


.portlet a:link,
.portlet a:visited {
	border: none;
}

.portlet a:hover,
.portlet a:active {
	color: #2082C2;
	background-color: transparent;
}

/* =PRODUCTS
================================================= */
#products h4 {
	background: #35a2da;
	padding: 0.2em 0.5em;
}

#products h5 {
	margin-bottom: 0.5em;
	font-size: 95%;
}

#products h6 {
	background: none;
	margin: 0 0 0.5em 0;
	padding: 0;
	font-weight: bold;
	font-size: 80%;
}

#products ul {
	margin: 0 0 0 110px;
}


#products .buy a {
	/*display: block;
	text-indent: -9999px;
	background: transparent url("../images/en/buy.gif") 0 0 no-repeat;*/
	background-color: #ff6600;
	/*color: #ffcc00*/
}

#products .buy a:hover {
	background-color: #fff;
	color:#04409e;
}


/* =LOGIN FORM
================================================= */
#login_frame {
	position:absolute;
	right:0;
	bottom:0;
	width:22em;
	padding:0;
}


#login_frame form {
	padding: 0;
	margin: 0;
}

#login_frame fieldset {
	margin-top: 0;
	border: 0;
}

#login_frame fieldset#details {
	margin: 0;
	padding: 0;
	text-align: right;
}

#login_frame #details input {
	padding:0;
	margin-right: 0.5em;
	width: 6em;
}

#login_frame #details label {
	/*font-family: arial, helvetica, sans-serif;*/
	text-align: right;
	margin-right: 0.4em;
	margin-left: 0.6em;
}

#login_frame #details .submit {
	background: none;
	border:none;
	max-width: 32px;
	width: 32px;
}

#login_frame #error {
	font-size: x-small;
	color: red;
	margin: 0;
	padding: 0.2em 0.5em 0.5em 0.5em;
	text-align: right;
}


#logout {
	text-align: right;
	padding: 0 1em 0 1em;
	font-family: arial, helvetica, sans-serif;
	
	/* Need blackground color if not text will look ugly when using moo.fx*/
	background-color: white;
}

#logout #username {
	font-weight: bold;
}

#logout #logoutlink {
	font-size: x-small;
}

/* =CONTACT
================================================= */
#addresses {
 	font-size: 1em;
 	list-style-type: none;
 	padding: 0;
}

#addresses li {
	margin-bottom: 2em;
	margin-left: 2em;
}

#addresses h4 img {
	display: inline;
	margin-right: 0.5em;
	border: solid 1px black;
}

#addresses h5 {
	font-size: 1.2em;
	background: none;
	padding: 0;
	margin-bottom: 0;
}
