/* Start of CMSMS style sheet 'TricTrac Layout 2009' */
/*****************
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: Arial, Helvetica, sans-serif;
   font-size: 11px;
   line-height: 1.5em;
   left-padding:auto;
   right-padding:auto;
   color: #666666;
}

/*
set font size for all divs,
this overrides some body rules
*/

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

/*
default link styles
*/

#boxes a, #rightcontent a, #contentfull a, #boxes a:link, #rightcontent a:link, #contentfull a:link {
color:#4572b6;
font-weight: bold;
text-decoration: none;
}

#boxes a:active, #rightcontent a:active, #contentfull a:active {
color:#4572b6;
text-decoration: none;
font-weight: bold;
background-color: inherit;  
}

#boxes a:visited, #rightcontent a:visited, #contentfull a:visited {
color:#4572b6;
text-decoration: none;
font-weight: bold;
background-color: inherit;
}

#boxes a:hover, #rightcontent a:hover, #contentfull a:hover  {
text-decoration: underline;
font-weight: bold;
}


/*****************
basic layout 
*****************/
body {
   background: #333e57 URL('images/2009/background_2009.jpg') center top no-repeat;
   color: #555;
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;       /* this centers wrapper */
   width:962px;
   background-color: transparent;
   color: #000;
}


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

div#header h1 a {
/* you can set your own image here */
   background: transparent url(images/2009/headerlogo.gif) no-repeat;
   display: block;
   height: 97px; 
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

/* position for the search box */
div#search {
   float: right;
   width: 23em;    /* enough width for the search input box */
   text-align: right;
   margin: 12px 12px 0px 0px;
}

div#search input {
   font-size:11px;
   background-color:#ffffff;
   margin-bottom: 4px;
   width: 145px;
   text-align: left;
   padding: 2px 3px;
   border: 0px none;
}

.search-button {
   display: none;
}

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

div#content {
   background: #fff;
   margin: 0 0 0 0;   /* some air above and under menu and content */
}

div#main {
   background-color: #fff;
   width: 100%;
   height: 100%;
   margin: 0;
}
 
div#rightcontent {
    /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   width: 618px;
   float: right;
   margin: 35px 92px 35px 52px;
   height:100%;
   /* and some air on the right */
}

div#rightcontent ul li {
	list-style-position: outside;
	list-style-image: url(images/2009/boxes_listitem.gif);
}

div#clearit {
   clear: both;
}

div#splash {
   display: block;
   line-height: 1.5em;
   padding: 25px 52px 18px 52px;
   background: #fff url(images/2009/pagesplitter.gif) no-repeat bottom;
   font-size: 12px;
   color: #6d6d6d;
}

div#splash .splash-lefttop {
   vertical-align: top;
   padding: 8px 0 25px 0;
}

div#splash .splash-leftbottom {
   vertical-align: top;
   padding-bottom: 25px;
}

div#splash .splash-right {
   vertical-align: bottom;
   text-align: right;
   margin: 0;
}


div#splash h2 {
   font-size: 24px;
   line-height: 20px;
   font-weight: bold;
   text-align: left;
}

div#boxes {
/* you can set your own image here */
   display: block;
   padding: 27px 0px 35px 30px;
   background-color: #fff;
}

div#boxes .column {
   color: #666666;
   padding: 15px 37px 0 0;
   vertical-align: top;
}

div#boxes .column ul {
   margin-left: -10px;
   line-height: 1.5em;
}

div#boxes .column ul li {
	list-style-position: outside;
	list-style-image: url(images/2009/boxes_listitem.gif);
}

div#contentfull  {
/* you can set your own image here */
   display: block;
   width: 600px;
   padding: 32px 181px 35px 181px;
   background-color: #fff;
}

div#contentfull table, div#rightcontent table {
   border-bottom: 1px solid #4572b6;
   margin: 0;
   padding: 0;
}

div#contentfull table td,  div#rightcontent table td {
   margin: 0;
   padding: 4px;
   border-top: 1px solid #4572b6;
   border-bottm: none none;
   border-left: none none;
   border-right: none none;
}

div#contentfull table th, div#rightcontent table th {
   margin: 0;
   padding: 4px;
   background-color: #343E57;
   color: #fff;
   font-size: 13px;
   font-weight: bold;
   border-top: 1px solid #343E57;
   border-bottom: 1px solid #343E57;
   border-left: none none;
   border-right: none none;
}

div#leftpadding {
   width: 200px;     /* sidebar width, if you change this please also change #main margins */
   border:1px solid;
   border-color: #fff;
   margin-right: 25px;
   line-height: 22px;
}

div#mainmenu {
   background-image: url(images/2009/menuwrapper_back.gif);
   background-repeat: no-repeat; 
   height: 40px;
   width: 100%;     /* sidebar width, if you change this please also change #main margins */
   /* display: inline;  FIX IE double margin bug */

}

div#footer {
   clear: both;       /* keep footer below content and menu */  
   background: #293247 url(images/2009/footer_back.gif) top left no-repeat;
   height: 37px;
}

div#footer p {
   font-size: 11px;
   padding: 10px 0px 9px 30px;       /* some air for footer */
   text-align: left;  /* centered text */
   margin: 0;
   color: #fff;
}

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

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

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

/* HEADINGS */


h1 {
   font-size: 24px; /* font size for h1 */
   font-family: Arial, Helvetica, sans-serif;
   color: #000;
   font-weight: bold;
   line-height: 28px;
   margin-top: 0px;
   margin-bottom: 20px;
}

h2 {
   font-size: 22px; /* font size for h1 */
   font-family: Arial, Helvetica, sans-serif;
   color: #000;
   font-weight: bold;
   line-height: 1.2em;
   margin-top: 0px;
   margin-bottom: 16px;
}
div#content h3 {
   font-family: Arial, Helvetica, sans-serif;
   color: #000; 
   font-size: 14px;
   line-height: 1.3em;
   margin: 0 0 0.1em 0;
}
div#content h4 {
   font-family: Arial, Helvetica, sans-serif;
   color: #000; 
   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;
}
h6 {
   color: #294B5F; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   margin: 0 0 1.7em 0; /* some air around p elements */
   line-height: 1.6em;
   padding: 0;
   color:#555;
}



}
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;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */

ul,
ol,
dl {
   color:#555;
   font-size: 1.0em;
   line-height:1.4em;
   margin: 0 0 1.4em 0;
}

ul li,
ol li {
   margin: 0 0 0.25em 1.4em;
}


div#boxes ul,
div#boxes ol,
div#boxes dl {
   font-size: 11px;
   margin-left: -10px;
   line-height: 1.5em;
   list-style-position: outside;
   list-style-image: url(images/2009/boxes_listitem.gif);
}
div#boxes ul li,
div#boxes ol li {
   margin: 0 0 0.25px 26px;
}

/* UNDERMENU */


div#mainmenu ul,
div#mainmenu ol,
div#mainmenu dl {
  margin: 0 0 0 0;
}

div#mainmenu ul li,
div#mainmenu ol li {
   margin: 0 0 0.25em 0px;
}


div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}


/* END LISTS */
/* End of 'TricTrac Layout 2009' */

