/* This is the Layout CSS stylesheet to layout most pages - CSS Document */
/* Version for Rugby Wanderers site */

/* The outer div is used to centre the page */
#outer {
       width: 80%;
	   background-color:#FFFFFF;
	   margin-top: 10px;
	   margin-bottom: 10px;
	   margin-left: auto;
	   margin-right: auto;
	   padding: 0px;
}

/* This contains the very top banner on the page and includes the main RW site branding */
#top_banner {
	position:absolute; 
	top:10px; 
	width:796px; 
	height:98px; 
	border-top: 2px solid #388EBF; border-left: 2px solid #388EBF; border-right: 2px solid #388EBF; 
	z-index:1; 
	background-image:  url(../images/top_banner.gif); 
}

#top_banner_recruitment {
	position:absolute; 
	top:10px; 
	width:796px; 
	height:98px; 
	border-top: 2px solid #388EBF; border-left: 2px solid #388EBF; border-right: 2px solid #388EBF; 
	z-index:1; 
	background-image:  url(../images/top_banner_recruitment.gif); 
}


/* Login Box goes in top right corner */
#login_box {
	position:absolute; 
	right: 0%;
	top:0px; 
	width:154px;
	height:97px; 
	background-color: #000000; 
	z-index:2;
}

/* This contains the top navigation menu. It appears below the Top Banner and above the Top Banner Ads */
#top_menu {
	position:absolute; 
	top:110px; 
	width:796px; 
	height:18px; 
	border-left: 2px solid #388EBF; border-right: 2px solid #388EBF; 
	background-color:#388EBF; 
	z-index:2;
}

/* TOP BANNER ADS TOP BANNER ADS TOP BANNER ADS TOP BANNER ADS TOP BANNER ADS */
/* This is the Background for the Top Banner Ads near the top of the page. */
#top_banner_ads_background {
	position:absolute; 
	top:128px; 
	width:786px; 
	height:100px; 
	padding-left:10px;
	vertical-align:middle;
	border-left: 2px solid #388EBF; border-right: 2px solid #388EBF; 
	background-color:#D4F0FE; 
	z-index:2;
	text-align:center;
}

/* This section contains the Top Banner Ads near the top of the page. */
#top_banner_ad_main {
	position:absolute; 
	left:10px;
	top:5px;
	width:610px; 
	height:90px; 
	border: 0px solid #388EBF; 
	background-color:#D4F0FE; 
	z-index:3;
	text-align:center;
/* Provides space for Main Banner Ad: 610px by 90px Top Margin 5px Bottom Margin 5px */

}
#top_banner_ad_right {
	position:absolute; 
	right: 7px;
	top:5px; 
	width:146px; 
	height:88px; 
	border: 1px solid #FFFFFF; 
	background-color:#FFFFFF; 
	z-index:3;
}
/* Provides space for Right Banner Ad: 146px by 90px */
/* END TOP BANNER ADS */

/* Provides space for multi-lingual Welcome Banner */
#welcome_banner {
	position:absolute; 
	top:228px; 
	width:796px; 
	height:53px; 
	border-left: 2px solid #388EBF; border-right: 2px solid #388EBF; 
	background-color:#D4F0FE; z-index:1; 
	background-image: url(../images/welcome_panel_3s.gif);
}
/* Provides space for Tour Wiki top banner menu, which replaces Welcome banner */
#wiki_banner {
	position:absolute; 
	top:228px; 
	width:796px; 
	height:53px; 
	border-left: 2px solid #388EBF; border-right: 2px solid #388EBF; 
	background-color:#D4F0FE; z-index:3; 
}

/* CONTENT SECTIONS CONTENT SECTIONS CONTENT SECTIONS CONTENT SECTIONS */

#content_main {
	position:absolute; 
	top:281px; 
	width:796px; 
	height:auto; 
	border-left: 2px solid #388EBF; border-right: 2px solid #388EBF; border-bottom: 2px solid #388EBF; 
	background-color:#FFFFFF; 
	padding-left:0px; z-index:2;
}

#content_left {
	float:left; 
	width:18%; 
	height:auto; 
	border: 0px solid #388EBF; 
	background-color: #FFFFFF; 
	z-index:3; 
}

#content_centre {
	float:left; 
	width:62%; 
	height:auto;
	border-left: 1px solid #CCCCCC; 
	border-right: 1px solid #CCCCCC;
	/*background: url(/images/content_centre_borders.gif) repeat-y; */
}

#content_centre_wide {
	float:left; 
	width:80%; 
	height:auto;
	border-left: 1px solid #CCCCCC; 
	border-right: 0px solid #CCCCCC;
/* Use this for wiki listings */
}



#content_centre_left {
	float:left; 
	width:49%; 
	height:auto;
}

#content_centre_right {
	float:right; 
	width:49%; 
	height:auto;
}

#content_centre_bottom {
	clear:both; 
	width:100%; 
	height:auto;
	}

#content_right {
	float:right;	
	width:18%; 
	height:auto; 
	border: 0px solid #388EBF; 
	background-color:#FFFFFF; 
	z-index:3;
}

/* Provides space for Main Tour Wiki world balls menu */

#wiki_main {
	background-color: #D4F0FE;
	height:325px;
	width: 460px;
	position: relative; 
	left: 10px;
}

/* END CONTENT SECTIONS */


#footer_box {
	background-color: #D4F0FE;
	height: auto;
	width: 796px;
	position: relative; 
	clear:both;
	overflow: visible;
	border-top: 1px solid #388EBF;
	border-right: 0px solid #333399;
	border-bottom: 0px solid #333399;
	border-left: 0px solid #333399;
	text-align:center;
	font-size: 85%;
	vertical-align: bottom;
	z-index: 1;
}

.2col_container {
   position: relative;
    width: 400px;
   height: 75px;
   }

.left-element {
   position: absolute;
   left: 0;
   width: 20%;
   }

.right-element {
   position: absolute;
   right: 0;
   width: 80%;
   text-align: left; /* depends on element width */
   } 

