/* reset all elems we use except for from inputs, checkboxes and textarea ....  */
body, div, p, blockquote, h1, h2, h3, h4, h5, h6,
span, address, acronym, dl, dt, dd, ul, ol, li,
form, fieldset, label, legend, img, a, em, strong, object, iframe,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
}

html {
	background-image:url(http://static.soyhincha.com/img/registration_bg.jpg);
	background-color: #0e0e0e;
	background-repeat: repeat-y;
	background-position: 50% 0;
}

#wrapper {
	background-image:url(http://static.soyhincha.com/img/registration_rail.png);
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: 50% 0;
	min-height: 700px;
}

body {
	font-family: arial, helvetica, sans-serif;
	font-size: 0.7em;
	color: #fff;
	text-align: center;
}

ul {
	list-style: none;
}

fieldset {
	border: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 100%;
}

td, th {
	vertical-align: top;
	text-align: left;
	font-size: 100%;
}

a img {
	border: none;
}

/* HJG - fix for dots on image links in FF3 */
a:focus, a:hover, a:active {
	outline: none;
}

#mainArea img {
	display: block;
}


/* ---------- generic classes ---------- */
.clear {
	clear: both;
}

.hidden {
    display: none;
}

.hiddenContent {
	text-indent: -5000em;
}

.inline {
	display: inline;
}

.clearAfter:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.left {
	text-align: left;
}

.center {
	text-align: center;
}

.right {
	text-align: right;
}

/* ----- rounded corners box ----- */
/* background and colors set in local css - ie profile.css */
.roundCornersBox .rtop,
.roundCornersBox .rbottom {
	display: block;
}

.roundCornersBox .rtop *,
.roundCornersBox .rbottom * {
	display: block;
	height: 1px;
	overflow: hidden;
}

.roundCornersBox .r1 {margin: 0 5px;}
.roundCornersBox .r2 {margin: 0 3px;}
.roundCornersBox .r3 {margin: 0 2px;}
.roundCornersBox .r4 {
	margin: 0 1px;
	height: 2px
}

/* -------- error messages  ---------- */
.error {
	padding-left: 20px;
	background: url(http://static.soyhincha.com/img/icon_error.png) 0 50% no-repeat;
}

.warning {
	padding-left: 20px;
	background: url(http://static.soyhincha.com/img/icon_warning.png) 0 50% no-repeat;
}

.errorMessage {
	color: #c00;
}

.header .errorMessage {
	position: relative;
	float: left;
	left: 10px;
	bottom: -.3em;
}

#contactForm label span.errorMessage,
.settingsForm label span.errorMessage {
	font-weight: normal;
	font-size: 85%;
}

/* sometimes error message is inside P tag - use 'display=block' param to set - always in h4 sub header? */
div#editGroup fieldset p.errorMessage {
	float: left;
}

/* summary error message in header - to generalize */
#groupDetail.edit .content fieldset div.header p.errorMessage {
	margin-bottom: 0;
	position: static;
	margin-left: 10px;
}

.joinForm .errorMessage {
	clear: left;
	display: block;
}


/* -------------------- Form Elements -------------------- */

select,
input.text,
input.wideText,
textarea {
	font-size: inherit;
	font-family: inherit;
}

input.text {
	width: 80%;
}

input.text.small {
	width: 5em;
}

input.button {
	background: url(http://static.soyhincha.com/img/btn_black.jpg) no-repeat 50% 50%;
	padding: 1px 6px 2px;
	color: #5dccff;
	border: solid 1px #3b3b3b;
	cursor: pointer;
}

textarea {
	width: 80%;
}

input.checkbox,
input.r,
input.radio {
	vertical-align: -20%;
}

/* experimental - Safari hack - DA - 07/11/2008 */
body:last-child:not(:root:root) input.checkbox {
	vertical-align: 0; /* remove for now */
}

form p.item {
	clear: left;
}

input.text.default {
	color: #666;
}

textarea.default {
	color: #666;
}


/* ---------- new grey buttons ---------- */
span.buttonWrapper {
	display: block; /* not needed anymore - check safari first */
	display: table-cell; /* ffx2 doesnt understand inline-block. booh. */
	*display: inline-block;
	background: transparent url(http://static.soyhincha.com/img/btn_flashStyle_left.gif) 0 50% no-repeat;
	padding: 0 0 0 10px;
	white-space: nowrap;
	margin-bottom: 2px;
}

span.buttonWrapper input.btn,
input.btn.grey {
	display: block;
	padding: 0 10px 3px 0;
	*padding-bottom: 2px;
	background: url(http://static.soyhincha.com/img/btn_flashStyle_right.gif) 100% 0% no-repeat;
	height: 24px;
	/*width: 70px;*/ /* set width - looks better. for width: auto, set float: left for ie */
	color: #eee;
	font-weight: bold;
	font-size: 100%;
	border: none;
	cursor: pointer;
	float: left; /* seems this is now needed for login box... - because removed the width. duh. */
	/* so delete this again if we have width... */
}

.buttonWrapper input.btn:hover {
	color: #ABCCDA;
}

.buttonWrapper.medium input.btn {
	 width: 85px;
}

.buttonWrapper.long input.btn.submit,
.buttonWrapper.long input.btn.grey,
.buttonWrapper.long input.btn {
	width: 115px;
}


.buttonWrapper.spacing {
	margin-left: 5px;
}

/* when more than one button, need to float them - set container to clearAfter */
p.submit.clearAfter span.buttonWrapper {
	float: left;
	margin-right: 5px;
}

/* ---------- header area ---------- */
#headerWrapper {
	position: relative;
}

#header {
	background: #333;
	height: 100px;
	position: relative;
}

#header h1 {
	width: 199px;
	height: 61px;
    position: relative;
	left: 0;
	top: 15px;
	z-index: 10;
}

#header h1 a {
    display: block;
    text-indent: -5000em;
    position: absolute;
    left: 10px;
    top: 0;
   	width: 199px;
	height: 61px;
	overflow: hidden;
}

#header a {
	text-decoration: none;
}

#header a:hover {
	text-decoration: underline;
}

#header div.advertisement {
	position: absolute;
	top: 0;
	left: 0;
	width: 990px;
	height: 100px;
}

#header div.mastheadDefault {
	position: absolute;
}

#header div.leaderboard {
	position: relative;
	top: 5px;
	left: 248px;
	width: 728px;
	height: 90px;
}


/* ---------- login area ---------- */
#newlogbar {
	background-color: #000;
	height: 22px;
	width: 990px;
	position: relative;
}

#newlogbar div.tagline {
	color: #fff;
	font-weight: bold;
	padding: 4px 0 0 15px;
}

#loginContainer {
	/* width: 296px; Set in the loginBox file now */
	position: absolute;
	top: 0;
	right: 7px;
	padding: 4px 20px 4px;
	color: #FFF;
	font-weight: bold;
	z-index: 10;
}

#loginContainer .loggedin {
	width: 700px;
	text-align: right;
}

#loginContainer .loggedout {
	width: 296px;
}

#joinSignin {
	 text-align: right;
}

html>body #loginContainer {
	background: url(http://static.soyhincha.com/img/bg_login.png) no-repeat 0 100%;
}

#loginContainer #loginForm {
	padding-top: 0;
}

#loginContainer .loggedout #loginForm {
	padding-top: 15px;
	padding-bottom: 10px;
}

#loginContainer #loginForm p.errorMsg {
	font-size: 0.9em;
	background: red;
	padding: 2px;
	margin: 0 0 5px;
}

#loginContainer form p {
	float: left;
	margin: 0;
}

#loginContainer form p.enterEmail,
#loginContainer form p.full {
	clear: both;
	float: none;
	padding-top: 5px;
}

#loginContainer form p.enterEmail {
	padding-bottom: 12px;
}

#loginContainer a {
	color: #ABCCDA;
	text-decoration: none;
}

#loginContainer a:hover {
	color: #5dccff;
}

#loginContainer input {
	margin-left: 1px;
	font-size: .9em;
	font-weight: bold;
}

#loginContainer form input.text {
    width: 110px;
	border: solid 1px #00003e;
	padding: 2.5px 2px;
}

#loginContainer form label {
	display: block;
	color: #fff;
	text-align: left;
}

#loginContainer p.submit {
	margin:-2px 0 0;
}

#loginContainer form p.enterEmail label,
#loginContainer form p.full label {
	display: inline;
	margin-right: 15px;
}

#forgotEmail input.text { /* new button 07/25/2008 DA */
	float: left;
}

#forgotEmail span.buttonWrapper {  /* new button 07/25/2008 DA */
	float: left;
	margin:-2px 0 0;
}

/*
#loginContainer input.button {
	width: 4.8em;
}
*/

#loginContainer span.buttonWrapper { /* new button - 07/25/2008 DA */
	width: 48px;
	padding-left: 4px;
	margin-left: 4px;
}

#loginContainer span.buttonWrapper input.btn {
	width: 48px;
	font-size: 100%;
	padding: 1px 6px 5px 0;
}

#loginForm2 #forgotPswdArea p.errorMessage {
	padding: 0;
	margin: 0 0 3px 0;
}

/* hack to deal w flash ads in header overlapping login sliding box - DA 02/12/2008 */
iframe#flashShim {
	position: absolute;
	right: 0;
	top: 20px;
	background: transparent;
	width: 318px;
	border: 0;
}

iframe#flashShim.hidden {
	display: hidden;
}

#siHeaderLogo {
	position: absolute;
	top: 83px;
	width: 150px;
	height: 17px;
	background: url(http://static.soyhincha.com/img/logo_si_header_tm.png) no-repeat;
}

#siHeaderLogo p {
	text-indent: -5000em;
}

#nav {
	white-space: nowrap;
}

#nav_container {
	height: 39px;
	background: url(http://static.soyhincha.com/img/nav_background.gif) repeat-x top left;
	background-attachment: scroll;
	padding-left: 10px;
}

#nav,
#nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
}

#nav a {
    display: block;
	z-index:10;
}

#nav .selected {
	color:#FFC923;
}

#nav li {
	z-index:10;
	float: left;
	width: 194px;
}

#nav li ul {
	z-index:10;
	position: absolute;
	background: #1B1B1B;
	width: 200px;
	left: -999em;
}

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

.subnav li {
	padding: 3px 3px 0 3px;
}

.subnav li.last {
	padding: 3px;
}

.subnav li a {
	background-color: #3B3B3B;
	text-decoration: none;
	color: #9C9C9C;
	padding: 8px 3px 8px 10px;
	font-weight: bold;
	display: block;
	width: 180px;
}

.subnav li a:hover {
	background-color: #292929;
	color: #5dccff;
}

.link {
	height: 39px;
	font-weight: bold;
	font-size: 12px;
	color: #fff;
	text-decoration: none;
	vertical-align: middle;
	line-height: 29pt;
	background: url(http://static.soyhincha.com/img/nav_newhoverbkg_03.gif) no-repeat left top;
	background-position: 0px -39px;
	padding-left: 10px;
}

.link:hover {
	color: #B7D5E2;
	background-position: 0px 0px;
}

#homelink {
	height: 39px;
	border-top: #424242 1px solid;
	background: url(http://static.soyhincha.com/img/nav_home.png) no-repeat left top;
}

#homelink:hover {
	background-position: 0px -39px;
	border-top: #B7D5E2 1px solid;
}

.hometext {
	position: absolute;
	font-size: 0;
	left: -1000px;
	display: none;
}

/* ---------- subnav area ---------- */
/* no more... moved css to moderation.css - DA 03/10/2008 */


/* ---------- search area ---------- */
#SearchArea {
    margin-top: 5px;
	float: right;
	padding: 2px 0 2px;
}

#search {
	border-right: none;
	margin: 2px 0 0 0;
}

#search input.text {
	width: 128px;
	border: none;
	vertical-align: middle;
	background: #fff url(http://static.soyhincha.com/img/bg_input.gif) no-repeat;
	margin: 1px 1px 1px 2px;
	padding: 2px;
}

#search button {
	cursor: pointer;
	background: none;
	border: none;
	vertical-align: middle;
	margin: 0 10px 0 -5px;
}

#search a:link,
#search a:visited {
	color: #336;
	font-weight: bold;
}


/* ---------- containers ---------- */
#container {
	width: 990px;
	margin: 0 auto;
	text-align: left;
}

#mainArea {
	clear: both;
	background: #0e0e0e;
	z-index: 100;	/* for drop down menu - HJG 112607 */
	min-height: 220px; /* set min-height to deal w menu over flash ads in footer - 03/03/2008 - DA */
}

/* all except IE<7 win */
html>body #mainArea { /* legacy */
	 overflow: auto;
}

#mainContent {
	float: left;
	width: 780px;
	margin: 25px 10px 0 18px;
	padding: 0 0 25px; /* instead of margin - fix bug in ie7 when content is lined up w right col */
}

#mainContent.forum { width: 640px; }

#mainArea.messages #topContent {
	padding-bottom: 25px;
}

#rightSidebar {
	width: 162px;
	padding: 0 0 25px;
	float: left;
	margin-top: 25px;
}

#rightSidebar.forum {
	width: 302px;
}

#topContent {
	width: 952px;
	clear: both;
	margin: 1px 18px 0 18px;
}

#editSettings #topContent {
	margin-top: 20px;
}

/* new: adjust dimensions w classses instead of body class */
.detailPage #mainContent.wide, /* temporary - until we remove edit class in body */
#mainContent.wide {
	float: none;
	width: 952px;
	min-height: 350px;
	margin: 25px 18px 0 18px;
	padding: 0 0 25px;
}


/* ---------- Photo/Video detail pages ---------- */
.detailPage #mainContent {
	margin-top: 10px;
	width: 640px;
	margin-right: 10px;
}

.detailPage #rightSidebar {
	width: 302px;
	margin-top: 30px;
}

/* need to redo all this without creating exceptions to .detailPage -
this is a new template, so should use a new class - like photoDetailPage and start from scratch instead - DA */

/* HJG 02.20.08 - new 3 column photo detail page */
.detailPage.media #mainContent {
	margin: 10px 0 20px 20px;
	width: 778px;
	clear: both;
}

.detailPage.media #mediaDetailMainColumn {
	width: 466px;
	float: left;
}

.detailPage.media #midColumn {
	width: 302px;
	margin-left: 10px;
	float: left;
}

.detailPage.media #rightSidebar {
	margin-left: 10px;
	width: 162px;
	float: left;
}


/* ---------- homepage ---------- */
#homePage .detailPage #mainContent {
	margin-top: 10px;
	margin-right: 10px;
	width: 640px;
}

#homePage .detailPage #rightSidebar {
	margin-top:10px;
}


/* ---------- Detail pages ---------- */
body#mediaDetailPage #rightSidebar,
body#editSettings #rightSidebar,
body#groupDetail .detailPage #rightSidebar {
	margin-top: 10px;
}


/* ---------- Profile pages ---------- */
.profilePage #mainContent {
	margin-top: 15px;
	width: 726px;
	margin-left: 10px;
}

.profilePage.edit #mainContent {
	margin-top: 15px;
	width: 796px; /* changed width for new profile layout */
	margin-left: 10px;
	margin-right: 10px;
}

.profilePage.edit #topFriends {
	*width: 796px;
	overflow: hidden;
}

.profilePage #leftSidebar {
	float: left;
	width: 216px;
	margin-left: 18px;
	margin-top: 15px;
}

.profilePage.edit #rightSidebar {
	width: 162px;
	margin-top: 15px;
}


/* ---------- Registration page ---------- */
#registrationPage #mainContent {
	width: 642px;
	margin: 0 10px 0 18px;
}

#registrationPage #rightSidebar {
	width: 302px;
	margin-top: 0;
}

/* ---------- Edit Group page ---------- */
#groupDetail.edit #mainContent {
	margin-left: 18px; /* ie6 otherwise picks up edit profile 10px */
}

/* ---------- School detail page ---------- */
#mainArea.detailPage.school #mainContent,
#mainArea.detailPage.school #rightSidebar {
	margin-top: 0;
}

/* ---------- Affiliates landing ---------- */
#mainArea.affiliatesLanding #mainContent {
	margin-top: 10px;
	width: 640px;
}

#mainArea.affiliatesLanding #rightSidebar {
	width: 302px;
	margin-top: 10px;
}

#primetimePage #rightSidebar {
	margin-top: 10px;
}

#rankings #rightSidebar {
	margin-top: 10px;
}

/* ---------- footer ---------- */
#footer {
	clear: both;
	background: #0e0e0e;
	color: #fff;
	width: 990px;
	padding: 0 0 25px;
}

#footer ul {
	text-align: center;
	padding: 15px 0 10px 0;
	font-weight: bold;
}

#footer ul li {
	display: inline;
	padding: 3px 10px 3px;
	background: url(http://static.soyhincha.com/img/separator_footer.gif) no-repeat 100% 50%;
}

#footer ul li.last {
	background: none;
}

#footer a:link,
#footer a:visited {
	color: #fff;
	text-decoration: underline;
}

#footer a:hover,
#footer a:active {
	text-decoration: underline;
	color: #5dccff;
}

#footer p {
	text-align: center;
	color: #fff;
}

#footer .siteDescription {
	/* width: 75%;
	margin: 6px auto; 
	text-indent: -2000em;*/
}

/* --------* 3rd party styles - autocompleter from mootools ---------- */
/* replaces autocompleter.css */
div.autocompleter-loading {
	float: left;
	clear: right;
	width: 20px;
	height: 16px;
}

ul.autocompleter-choices {
	position: absolute;
	margin:	0;
	padding: 0;
	list-style:	none;
	border:	1px solid #eee;
	background-color:	#fff;
	border-right-color:	#ddd;
	border-bottom-color: #ddd;
	text-align:	left;
	font-family: verdana, geneva, arial, helvetica, sans-serif;
	z-index: 10001;
}

ul.autocompleter-choices li {
	position: relative;
	padding: 0.1em 1.5em 0.1em 1em;
	cursor:	pointer;
	font-weight: normal;
	font-size:	1em;
	color:	#000;
}

ul.autocompleter-choices li.autocompleter-selected {
	background-color: #444;
	color: #fff;
}

ul.autocompleter-choices span.autocompleter-queried {
	font-weight: bold;
}

ul.autocompleter-choices li.autocompleter-selected span.autocompleter-queried {
	color: #9FCFFF;
}

/* Leaderboard Pages */
#leaderBoard_landing #mainContent {
	width: 640px;
	margin-top: 15px;
}

#leaderBoard #mainContent {
	width: 605px;
	margin: 15px 10px 0 10px;
}

#leaderBoard #leftSidebar {
	float: left;
	width: 162px;
	margin: 15px 0 0 22px;
	*margin-left: 11px;
}

#leaderBoard_landing #rightSidebar, #leaderBoard #rightSidebar {
	width: 302px;
	float: left;
	margin-top: 15px;
}

#leaderBoard #rightSidebar {
	width: 162px;
}

.team_autocomplete {
	width: 250px;
	height: 22px;
	font-size: 20px;
}

#groupDetail #topContent {
	margin-top:15px;
}
