body 
{
		margin: 0px;
		padding: 0px;
		font-size: 12px;
		font-family: Arial;
		/*font-weight: bold;*/
		/* Turn off font resizing */
		-webkit-text-size-adjust: none;   
}



/* Set the background color of the page when the body tag's class attribute is equal to portrait. 
   The expression body[class="value"] is a CSS attribute selector where "body" is the html element to be styled, "class" the body's attribute to be
   manipulated, and "value" the class attribute's value, which is either portrait, landscapeLeft, or landscapeRight.
   This expression is used to dynamically select a body style according to the class attribute value. For instance, if the body's class attribute is set
   to landscapeLeft, then all style declarations matching body[class="landscapeLeft"] will be used to style "Handling iPhone or iPod touch Orientation Events". 
   The JavaScript updateOrientation function in the iPhoneOrientation.js file is used to set the body's class attribute to one of these values.
   Further information about CSS attribute selectors can be found at  http://www.w3.org/TR/css3-selectors/#attribute-selectors.
 */
body[class="portrait"] 
{
		background: white;    	
}


/* Adjust a button when the body's class attribute is equal to portrait */
body[class="portrait"] .button    
{	
		background: white;
		width: 210px;
		height: 13px;
		
		padding: 10px 0px;
		margin: 10px auto;
		
		font-size: 15px;
		
		/* text is black on the button */
		color: black;
}


/* The leftContainer and rightContainer div elements are stacked up one after the other when the body's class attribute is equal to portrait. 
   They are both 200 pixels wide. */
body[class="portrait"] #leftContainer
{
		width: 200px;
		margin: auto auto;
}


body[class="portrait"] #rightContainer
{
		width: 200px;
		margin: auto auto;
}


/* Set the background color of the page when the body's class attribute is set to landscapeLeft */
body[class="landscapeLeft"] 
{
		background: white;
}


/* Adjust a button when the body's class attribute is set to landscapeLeft */
body[class="landscapeLeft"] .button  
{
		background: black;
}


/* The container div is evenly split between leftContainer and rightContainer when the body's class attribute is set to landscapeLeft.
   leftContainer and rightContainer are stacked side by side. leftContainer aligns buttons to the left side of the page; 
   rightContainer aligns buttons to the right side of the page. */
body[class="landscapeRight"] #header {
	background-image: url(mainLandscape.jpg);
}
body[class="landscapeLeft"] #header {
	background-image: url(mainLandscape.jpg);
}
body[class="landscapeLeft"] #leftContainer
{
		width: 50%;
		/* Align the div to the left of the page  */
		float: left;
}


body[class="landscapeLeft"] #rightContainer
{
		width: 50%;
		/* Align the div to the right of the page  */
		float: right;
}



/* Set the background color of the page when the body's class attribute is equal to landscapeRight */
body[class="landscapeRight"] 
{
		background: tan;
}


/* Adjust a button when the body's class attribute is equal to landscapeRight */
body[class="landscapeRight"] .button  
{
		background: darkred;
}


/* The container div is evenly split between leftContainer and rightContainer when the body's class attribute is set to landscapeRight.
   leftContainer aligns buttons to the left side of the page; rightContainer aligns buttons to the right side of the page. */
body[class="landscapeRight"] #leftContainer
{
		width: 50%;
		float: left;
}

body[class="landscapeRight"] #rightContainer
{
		width: 50%;
		float: right;
}


/* Draw a rounded rectangle around a text */
 .button    
{
		font-weight: bold;
		text-align: center;
		
		width: 130px;
		height: 13px;
		font-size: 10px;
		
		/* text is white on the button */
		color: white;	
	
		/* Draw a rectangle around a text */
		border: 1px solid black;    
		
		/* Round each corner of the generated rectangle */
		-webkit-border-radius: 5px;   
		padding: 5px 0px;
		margin: 5px auto;
}


/* Defines styling properties for the currentOrientation div, which shows a message that indicates iPhone's current orientation after rotation */
#currentOrientation
{		
		width: 280px;
		text-align: center;
		margin: 10px auto;
}


a
{
		text-decoration: none;
}


/* The container div contains four buttons that are evenly divided between the inner leftContainer and rightContainer div elements.
   Its width does not change when iPhone switches between portrait and landscape orientations. */
#container
{
		/* fixed width across all iPhone orientation changes */				
}
#outheader {
	width: 100%;
	height: 52px;
	background-image: url(headerr.gif);
	background-repeat: repeat-x;
}
#header {
	background-image: url(http://reg.fring.com/password/images/title_middle.gif);
	background-repeat: repeat-x;
	width: 100%;
	height: 52px;
}
.link {
	float: left;
	padding-left: 5px;
	margin-left: 15px;	
	background-image: url(dot.jpg);
	background-position: left 4px;
	background-repeat: no-repeat;
}
.link a, .linkf a {
	color: #868686;
}
#menu {
	height: 23px;
	width: 255px;
	text-align: left;
	margin-top: 15px;	
	margin-bottom: 5px;	
}
#copy {
	text-align: left;
	margin-top: 5px;
	padding-left: 5px;
}
a.downSub:hover {
	color:#82A410;
	font-family:Arial;
	font-size:12px;
	font-weight:bold;
	text-decoration:underline;
}
a.downSub:link {
	color:#82A410;
	font-family:Arial;
	font-size:12px;
	font-weight:bold;
	text-decoration:none;
}
.downSub {
	color:#82A410;
	font-family:Arial;
	font-size:12px;
	font-weight:bold;
	text-decoration:none;
}
#main {	
}
#main p {
	padding: 0px;
	margin: 0px;
	padding: 5px;
}
#main h3 {
	padding-left: 10px;
}
#main form {
	padding-left: 15px;
}
.linkf {
	float: left;
	padding-left: 24px;
	margin-left: 20px;
	height: 21px;	
	background-image: url(images/fringout_icon_small.gif);
	background-position: left 0px;
	background-repeat: no-repeat;
}
