/* Start of CMSMS style sheet 'RCUSA' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: center;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 12px;
   line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

td { vertical-align: top; }

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: transparent; 
   color: #666633; 
}

a:visited {
   text-decoration: underline;
   background-color: transparent;
  color: #333;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: underline;
   color: #587992;
}

.homeleft a:link, .homeleft a:hover { color: #ffffcc; }
.homeleft a:visited { color: #ADA86B; }

dfn {
  display: none;
}

/*****************
basic layout 
*****************/
body {
   background-image: url('/images/cms/bg_rcusa.gif');
   background-color: #826637;
   color: #333;
   margin: 0;   
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 0;
   margin: 0 auto;       /* this centers wrapper */
   /*
   max-width: 800px;    IE wont understand these, so we will use javascript magick 
   min-width: 800px;
   */
   width: 800px;
   background-color: #587992;
   color: black;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   height: 80px;    /* adjust according your image size */
   width: 800px;
   background: #fff;           
}

div#logo {
	background: #fff url(images/cms/logo_rcusa.gif) no-repeat top right; 
	height: 71px;
	width: 450px;
	float: right;
}

div#header h1 a {
	font-size: 2em; /* font size for h1 */
	line-height: 1em;
	margin: 0;
}

div#curve {
	background: #fff url(images/cms/curve.gif) no-repeat top left;
	display: block;
	width: 800px;
	height: 26px;
}

/* position for the search box */
div#search {
   width: 280px;    /* enough width for the search input box */
   float: left;
   text-align: left;
   padding: 22px 0 0 24px;
   margin: 0 1em;
   font-size: 10px;
   color: #666;
}

div.breadcrumbs {
   font-size: 10px;        
   border-bottom: 0px dotted #000;
   width: 800px;
   background: #587992;
   vertical-align: middle;
   height: 12px;
   color: #fff;
   text-align: left;
   margin-bottom: 2px;
}

.breadcrumbs a:link { color: #fff; }
.breadcrumbs a:visited { color: #fff; }

.homeleft {
	color: #fff;
	padding: 30px 20px 30px 20px;
	line-height: 15px;
	
}

.homeright {
	width: 438px;
	height: 471px;
	background: #587992;
}

.maincolumn {
	width: 645px;
	padding-left: 10px;
}

.maincolumnwithphotos {
	padding-left: 10px;
}

div.main {
   background: #fff;
   width: 650px;
   line-height: 14px;
}

.leftcolumn {
    width: 145px;
}

.rightphotos {
	width: 162px;
	background: #ada86b;
}

.rightphotos img {
	border-bottom: 1px #fff dashed;
}

div.sidebar {       
   display: inline;  /* FIX IE double margin bug */
   margin: 0;
   text-align: left;
   background: #ada86b;

}

div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #fff;
   width: 800px;

}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;       /* some air for footer */
   text-align: center;  /* centered text */
   margin: 0;
}

div#footer p a {
   color: #fff; /* needed becouse footer link would be same color as background otherwise */
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 3px 0 3px 0;
   border-bottom: 1px dashed #ada86b;
   margin: 3px 0 3px 0;
}

/* relational links under content */
div.left49 {
  width: 49%; /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}




/********************
CONTENT STYLING
*********************/
div#content {
  /* some air above and under menu and content */
   width: 800px;
   background: #587992;
   margin-top: 0;
   text-align: left;
}

/* HEADINGS */
div#content h1 {
   font-size: 1.5em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
   color: #333;
}
div#content h2 {
	color: #294B5F; 
	font-size: 1.5em; 
	text-align: left; 
/* some air around the text */
	padding-left: 1px;
	padding-bottom: 1px;
/* set borders around header */
	border-bottom: 1px solid #ada86b; 
	border-left: 0 solid #ada86b; 
        line-height: 1.5em;
/* and some air under the border */
        margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #294B5F; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}

li.currentpage h3 {
  color: #000;
}

div#content h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color: #294B5F; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}

#cntnt01searchinput {
	border: 1px solid #ccc;
	height: 15px;
	font-size: 10px;
	width: 140px;
	color: #666;
	margin: 0;
	padding: 2px 2px 0px 2px;
}

#submit_go {
	height: 16px;
	background: #fff;
	color: #444;
	font-size: 10px;
        border: 0;
}


h6 {
   color: #294B5F; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}

blockquote {
   margin-left: 15px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;
}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

div.clear {
    clear: both;
    display: none;
}

div.floatingright {
    float: right; 
    width: 220px; 
    margin: 4px 0 10px 10px; 
    padding: 10px; 
    border: 1px solid #587992;
    background: #f7fcff;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div.main ul,
div.main ol,
div.main dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
}

div.main ul li,
div.main ol li {
   margin: 0 0 0.25em 3em;
}

/* definition lists topics on bold */
div.main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div.main dl dd {
   margin: 0 0 1em 1em;
}

div.main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border: 0;
}

div#menu_horiz {
	background-color: #ada86b;
	margin: 0;
	border: 0;
        font-size: 12px;
}

div#menu_vert {
	background-color: #ada86b;
	width: 136px;
	margin: 0;
	border: 0;
}

/*nav links */
div#menu_horiz a:link, div#menu_vert a:link {
	color: #fff;
	font-weight: bold;
}

div#menu_horiz a:visited, div.breadcrumbs a:visited  {
        color: #fff;
        font-weight: bold;
}

div#menu_vert a:visited {
	color: #666633;
	font-weight: bold;
}

div#menu_horiz a:hover, div#menu_vert a:hover {
	color: #000;
	font-weight: bold;
}


/* END LISTS */

/* round boxes */


/* curve height, background image */

.sidebar .t, .sidebar .b, .sidebar .b b, .sidebar .t b {
height:8px;
background-image:url(images/cms/sidebar_corners.png);
}

.main .t, .main .b, .main .b b, .main .t b{
height:8px;
background-image:url(images/cms/main_corners.png);
}

.sidebar .c{
background:#ada86b;
border-color:#ada86b;
border: 0;
padding: 0;
}

.main .c{
background:#fff;
border-color:#ffffff;
border: 0;
padding: 0 8px 0 8px;
}

.round .c{
/* inner content padding */
}

.round .t, .round .b, .round .t b, .round .b b{
display:block;
overflow:hidden;
}
.round .t b, .round .b b{
float:right;
width:50%;
}

.roundright .t { background-image: none;  background-color: #ada86b; }

.roundright .t .r { background-position: top right }

.roundright .b .r{
background-position:bottom right;
}
.roundright .b{
background-image: none;  background-color: #ada86b;
}

.roundleft .t { background-position: top left; }
.roundleft .t .r { background-image: none;  background-color: #fff; }
.roundleft .b .r { background-image: none;  background-color: #fff; }
.roundleft .b { background-position: bottom left; }


.round .br{
clear:both;
display:block;
overflow:hidden;
height:0px;
}

#m6email, #m6username {
  margin-bottom: 1em;
}

#m6submit {
  margin-top: 1em;
}

/* End of 'RCUSA' */

