/*-----------------------------
RESET STYLES
-----------------------------*/

html, body, form, fieldset, p, div, h1, h2, h3, h4, h5, h6{
	margin:0;
	padding:0;
	-webkit-text-size-adjust:none; /* This stops the iPhone from automatically changing the size of the text when you flip the phone */
	}
body{
	font-size: 16px;
	}
ul, li, ol, dl, dd, dt{
	list-style:none;
	padding:0;
	margin:0;
	}
 
/*-----------------------------
	SITE SPECIFIC STYLES
-----------------------------*/

body{
	background:#1A1763;
	font-family: Helvetica; /* Helvetica is on the iPhone already, so you may as well take advantage */
	color:#fff;
	}
p{
	font-size:16px;
	padding-bottom:8px;
	}
a{
	color:#0900ff;
	text-decoration:none;
	font-weight:bold;
	}
	
.small{
	font-size:9px;
}

.bold
{
 font-weight:bold;
}

.right {
	text-align:right;
}

.hide
{
	display:none;
	visibility: hidden;
}

.error
{
	border:thin solid #F00;
}

hr {
	width: 70%;
	background-color: #826F11;
	color: #826F11;
}

/*-----------------------------
	HEADINGS
-----------------------------*/

h1{
	display:block;
	font-size:36px;
	color:#FFD504;
	text-align:center;
	}
	
h2{
	display:block;
	font-size:18px;
	color:#1A1763;
	text-align:center;
	}

/*-----------------------------
	BASIC LAYOUT
-----------------------------*/

#page_wrapper{
	margin-left: auto;
	margin-right: auto;
	margin-top: 5px;
	padding: 15px;
	background: #fff;
	overflow: auto;
	width: 90%;
	-webkit-border-radius: 15px;
	color: #000;
	}

#links_wrapper{
	margin-left: auto;
	margin-right: auto;
	padding: 10px 15px 1px 15px;
	background: #fff;
	overflow: auto;
	width: 70%;
	-webkit-border-radius: 15px;
	color: #000;
	text-align:center;
	}
	
.button{
	font-weight:bold;
	font-size:18px;
}

.buttona{
	color:#3f3c94;
	font-weight:bold;
	font-size:18px;
}

.lable{
	width:100px;
	height:25px;
	float:left;
	font-weight:bold;
}

.field{
	width:180px;
	height:25px;
	float:left;
}

.lable2{
	width:280px;
	height:25px;
	overflow:auto;
	font-weight:bold;
	text-align:center;
	margin-left:auto;
	margin-right:auto;
}

.field2{
	width:280px;
	height:105px;
	overflow:auto;
	text-align:center;
	margin-left:auto;
	margin-right:auto;

}

.row{
	overflow:auto;
	margin-left:auto;
	margin-right:auto;
	width:280px;
}

.hide
{
	display:none;
	visibility: hidden;
}

.news_bar_post
{
	background-color:#826F11;
	color:#FFEA79;
	width:278px;
	height:19px;
	padding:5px;
	font-size:12px;
	-webkit-border-bottom-left-radius: 15px;
	-webkit-border-bottom-right-radius: 15px;
}

.news_bar
{
	background-color:#826F11;
	color:#FFEA79;
	width:278px;
	height:19px;
	padding:5px;
	-webkit-border-top-left-radius: 15px;
	-webkit-border-top-right-radius: 15px;
}
.news_body
{
	background-color:#FFEA79;
	padding:5px;
	width:278px;
	min-height:120px;
}

.news_bar_posts
{
	background-color:#826F11;
	color:#FFEA79;
	width:420px;
	height:19px;
	padding:5px;
	font-size:12px;
	-webkit-border-bottom-left-radius: 15px;
	-webkit-border-bottom-right-radius: 15px;
}

.news_bars
{
	background-color:#826F11;
	color:#FFEA79;
	width:420px;
	height:19px;
	padding:5px;
	-webkit-border-top-left-radius: 15px;
	-webkit-border-top-right-radius: 15px;
}
.news_bodys
{
	background-color:#FFEA79;
	padding:5px;
	width:420px;
}

.box{
	width:420px;
	padding: 5px;
	border:thin solid #666;
	margin-left:auto;
	margin-right:auto;
}

.odd{
	width:90%;
	background-color:#FFEA79;
	float:left;
	border:thin solid #000;
	padding:7px 5% 7px 5%;
	text-align:center;
	clear:both;
}

.even{
	width:90%;
	background-color:#FFEA79;
	float:left;
	border:thin solid #000;
	padding:7px 5% 7px 5%;
	text-align:center;
	clear:both;
}

.padding {
	padding: 3px;
}

.comment_box {
	width:278px;;
	border: solid thin #000;
	margin-left: auto;
	margin-right: auto;
	height: 190px;
}

.comment_tbbox {
	width:278px;
	height: 125px;
	text-align: center;
}

.comment_tblable {
	width:278px;
	text-align: center;
	padding-top: 10px;
}


.inthebox {
	text-align:center;
	margin-top:20%;
	font-weight:bold;
}

.avatar {
	margin-right:20px;
	margin-top:5px;
	margin-bottom:5px;
	float: left;
}

.clear {
	clear:both;
}

/*-----------------------------
	ORIENTATION CLEVERNESS
-----------------------------*/


#content_side,
#content_normal,
#content_flipped{
	display:none;
	}
.show_normal,
.show_flipped{
	width:320px;
	}
.show_side{
	width:480px;
	}

.show_side #content_side,
.show_normal #content_normal,
.show_flipped #content_flipped{
	display:block;
	}