﻿/* LAYOUT Stylesheet */

/* column container */
.colmask {
	position:relative;	/* This fixes the IE7 overflow hidden bug */
	clear:both;
	float:left;
	width:100%;	/* width of whole page */
	overflow:hidden;	/* This chops off any overhanging divs */
}
/* common column settings */
.colmid,
.colleft {	float:left;
	width:100%;			/* width of page */
	position:relative;
}
.main,
.sidebar,
.rh-ads {	float:left;
	position:relative;
	padding:0 0 0 0;	/* no left and right padding on columns, just make them narrower instead only padding top and bottom is included here, make it whatever value you need */
	overflow:hidden;
}
/* 1 Column settings */
.onecol {
	/* background colour */
}
.onecol .colleft {
	right:980px;	/* width of the middle column */
	/* left column background colour */
}
.onecol .main {
	width:956px;	/* width minus left and right padding) */
	left:992px;		/* width plus left padding */
}

/* 3 Column settings */
.threecol {
	/* background colour */
}
.threecol .colmid {
	right:0px;		/* 0% width of the right column */
	/* center column background colour */
}
.threecol .colleft {
	right:737px;		/* 73% width of the middle column */
	/* left column background colour */
}
.threecol .main {
	width:713px;	/* 71% width of center column content (column width minus padding) */
	left:992px;		/* 101%  100% plus left padding of center column */
}
.threecol .sidebar {
	width:231px;	/*  26% Width of left column content (column width minus padding on either side) */
	left:36px;		/*  2% width of (right column) plus (center column left and right padding) plus (left column left padding) */
	/* right column background colour */
}
.threecol .rh-ads {
	width:0px;	/* 0% Width of right column content (column width minus padding on either side) */
	left:773px;		/* 76% Please make note of the brackets here: (100% - left column width) plus (center column left and right padding) plus (left column left and right padding) plus (right column left padding) */
}

.picture-left {
  margin: 5px 10px;
  float: left;
}

.picture-right {
  margin: 5px 10px;
  float: right;
}

/*****************
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: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

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

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

/* default link styles */
/* set all links to have underline and bluish color */
a,
a:link 
a:active { text-decoration: underline; }
a:visited { text-decoration: underline; }
/* remove underline on hover and change color */
a:hover { text-decoration: none; }

/*****************
basic layout 
*****************/
body {
   margin: 0;    /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;       /* this centers wrapper */
   margin-top: 5px;
   margin-bottom: 5px;
   max-width: 980px;   /* IE wont understand these, so we will use javascript magick */
   min-width: 980px;
}

/*** 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: 90px;     /* adjust according your image size */
  font-size: 16px;
  font-weight: bold; }

div#header a,
div#header h1 a {
  display: block; 
  height: 85px;       /* adjust according your image size */ 
  padding-top: 5px;
  font-size: 16px ;  /* font size for h1 */
  font-weight: bold;
  text-indent: 8px; 
  text-decoration:none; }

div#header h2,
div#header h2 a {
  display: block; 
  background-color: transparent;
  font-size: 12px ;  /* font size for h2 */
  font-weight: bold;
  text-decoration:none;  }

/* position for the search box */
div#search {
   font-size: 12px; 
   float: right;
   width: 390px;    /* enough width for the search input box */
   text-align: right;
   padding: 0.4em 0 0.02em 0;
   margin: 0 1em;
}
/* This makes firefox look like IE and Chrome */
input {
   font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size:13px;
}

div.breadcrumbs {
   padding: 10px 0 10px 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 10px;        /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0 10px;        /* css shorthand rule will be opened to be "0 1em 0 1em" */
}

div.breadcrumbs span.lastitem { font-weight:bold; } 

div.breadright {
	float: right;
	font-size: 10px ;  /* font size for h2 */
	font-weight: bold;
}

div#content {
   margin: 1.5em auto 2em 0;   /* some air above and under menu and content */
   clear: both;
}
/* keep footer below content and menu */
div#footer { clear: both; }

div#footer p {
   font-size: 10px;
   padding: 4px 0 10px 0;       /* some air for footer */
   text-align: center;  /* centered text */
   margin: 0;
}

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

/* 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 { }

/* HEADINGS */
div#content h1 {
	font-size: 18px; 
	text-align: left; 
/* some air around the text */
	padding-left: 8px;
	padding-bottom: 1px;
/* set borders around header */
	line-height: 28px;
/* and some air under the border */
	margin: 0 0 10px 0;
}

div#content h2 {
	font-size: 16px; /* font size for h1 */;
	line-height: 20px;
	margin: 0 0 3px 0;
/*	text-decoration: underline; */
}
div#content h3 {
	font-size: 14px;
	line-height: 16px;
	margin: 0 0 3px 0;
/*	text-decoration: underline; */
}
div#content h4 {
	font-size: 12px;
	line-height: 14px;
	margin: 0 0 3px 0;
/*	text-decoration: underline; */
}
div#content h5 {
	font-size: 11px;
	line-height: 13px;
	margin: 0 0 3px 0;
/*	text-decoration: underline; */
}
div#content h6 {
	font-size: 10px;
	line-height: 12px;
	margin: 0 0 3px 0;
/*	text-decoration: underline; */
}
/* END HEADINGS */

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

.formtext{
  font-size: 12px;
  margin: 0 0 1em 0; /* some air around p elements */
  line-height: 18px;
  padding: 0;	
}


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

table caption {
	font-size: 12px;
	font-weight: bold ;
}
table td {
	vertical-align: top ;
	text-align: left;
}
table td {
	padding-right: 10px; 
	padding-bottom: 10px;
}

/* 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 {
  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; }

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div#content ul,
div#content ol,
div#content dl {
   font-size: 12px;
   line-height: 16px;
   margin: 0 0 6px 0;
}
div#content ul li {
	margin: 0 0 1px 30px;
	padding-left: 6px;
}
div#content ol li {
	margin: 0 0 0.25em 3em;
}

/* definition lists topics on bold */
div#content dt,
div#content dl dt {
   font-size: 12px;
   font-weight: bold;
   margin: 0 0 0 0px;
}
div#content dd,
div#content dl dd {
   font-size: 11px;
   margin: 0;
   padding: 0 0 10px 0;
}

div#content dl {
  margin-bottom: 10px;
  padding-bottom: 10px;
}
/* END LISTS */

