/* Start of CMSMS style sheet 'Layout: Left sidebar + 1 column' */
/*****************
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 {
   font-size: 13px;
   font-family: Verdana;
   background: #000 url(uploads/images/background.jpeg) repeat-x;
   background-attachment: fixed;
   margin: 0px auto;
   color: #b2b2b2;

}

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

/*
default link styles
*/

a
a:link 
a:active
a:visited {
   text-decoration: underline;
   background-color: #000; 
   color: #fff; 
}

/* remove underline on hover and change color */

a:hover {
   text-decoration: none;
   background-color: #000;
   color: #fff;
}

/*****************
basic layout 
*****************/

/* center wrapper, min max width */

div#pagewrapper {
   width: 960px;
   background: none;
   text-align: left;
   margin: 0 auto;       /* this centers wrapper */
}

div#topbar {
    height:auto;
    margin-top: 10px;
    margin-bottom: 1px;
    padding: 1px 0 1px 0;
}

div#topbar img {
    border: none;
}

/*** 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 {
    background: url(uploads/images/head.jpg) repeat-x;
    height:140px;
    padding:10;
    margin-top: 0px;
    margin-bottom: 0px;
    cursor:pointer;
}

div#header h1 a {
   background: url(uploads/images/headertitle.png) no-repeat 465px 20px;
   display: block;
   height: 125px;             /* adjust according your image size */
   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: 27em;    /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

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.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 

div#main {
   margin-left: 200px;  /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 0px;
   width: 700px;

}

div#sidebar {
    background: none;
    font-size: 12px;
    color:#fff;
    width: 185px;
    float: left;
    position:relative;
    margin-top: 22px;
    margin-bottom: 5px;
    display: inline;
}

* html div#sidebar {
    height: 440px;
}

div#sidebar ul {
	list-style: none;
	line-height: 16px;
	margin: 0px;
	background: #111;
	border-top: 1px solid #222222;
}

div#sidebar ul li {
	list-style: none;
	margin: 0;
	border-bottom: 1px solid #222222;
}
div#sidebar ul li a {
	color: #fff;
	display: block;
	text-decoration: none;
	margin-left: 5px;
	padding: 3px 0 3px 3px;
}
div#sidebar ul li a:link {
	color: #fff;
	display: block;
	text-decoration: none;
}
div#sidebar ul li a:visited {
	color: #fff;
	display: block;
	text-decoration: none;
}
div#sidebar ul li a:active {
	color: #fff;
	display: block;
	text-decoration: none;
}
div#sidebar ul li a:hover {
	color: #fff;
	text-decoration: none;
	background: #000;
}

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

div#content {
	width: 900px;
	margin-bottom: 5px;
	float: left;
	position:relative;
	padding: 5px;
	min-height: 485px;
	text-align: left;
}
div#content p {
	margin: 0;
	line-height: 18px;
	padding: 0 0 10px 0;
}
div#content p img {
	border: 3px solid #333;
	margin-bottom: 5px;
	margin-left: 45px;
}
div#content p a img {
	border: 3px solid #333;
	margin-bottom: 5px;
}
div#content p a:visited img {
	border: 3px solid #333;
	margin-bottom: 5px;
}
div#content p a:hover img {
	border: 3px solid #00AEEF;
	margin-bottom: 5px;
}
div#content h1 {
	font-size: 14px;
	font-family: Verdana;
	text-transform: uppercase;
	font-weight: bold;
	color: #fff;
	padding: 10px 40px 20px 40px;
	margin: 0;
}
div#content h1 a {
	color: #fff;
	text-decoration: underline;
}
div#content h1 a:hover {
	color: #fff;
	text-decoration: none;
}
div#content h2 {
	font-size: 14px;
	font-family: Verdana;
	color: #fff;
	text-transform: uppercase;
	border-bottom: 1px dotted #bfbfbf;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 10px;
	margin-left: 0px;
	padding-top: 3px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
div#content a {
	color: #c0c0c0;
	text-decoration: underline;
}
div#content a:hover {
	color: #fff;
	background: #000;
	text-decoration: none;
}
div#content h3 {
	font-size: 13px;
	font-family: Verdana;
	color: #fff;
	text-transform: none;
	font-weight: bold;
	margin-bottom: 10px;
	padding: 3px 0px 3px 0px;
	display: inline;
}
div#content h3 a {
	color: #fff;
	text-decoration: none;
}
div#content h3 a:hover {
	color: #fff;
	text-decoration: none;
}
div#content h4 {
	font-size: 35px;
	font-family: Trebuchet MS;
	color: #fff;
	text-transform: none;
	margin-bottom: 10px;
}
div#content h5 {
	font-size: 14px;
	font-family: Verdana;
	font-weight: bold;
	color: #fff;
	padding: 50px 0px 0px 5px;
}
div#content h6 {
	font-size: 16px;
	font-family: Verdana;
	font-weight: bold;
	color: #fff;
	padding-top: 50px;
	padding-left: 460px;

}



/* END HEADINGS */

/* TEXT */
.transparent {
	filter:alpha(opacity=50);
	-moz-opacity:0.5;
	-khtml-opacity: 0.5;
	opacity: 0.5;
}
.p1 {
	margin-top:0px;
}
.p1 img {
	border: 3px solid #333;
	margin: 5px;
	}
p {
   font-size: 1em;
   margin: 0 0 1.5em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
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 */
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-bottom: 1px solid #c0c0c0;
}

div#footer {
	font-size: 9px;
	font-family: Verdana;
	color: #fff;
	font-weight: normal;
	line-height: 1.5;
	text-align: center;
	border: 3px solid #151515;
	height: 30px;
	background: #111;
	margin-bottom: 5px;
	padding: 5px;
        clear: both;
}

#navbottom {
	background: none;
}
#navbottom li {
	display: inline;
	padding-right: 20px;
}
#navbottom li a {
	background: none;
	color: #ccc;
}
#navbottom li a:hover {
	background: #000;
	color: #fff;
}


/* END LISTS */
/* End of 'Layout: Left sidebar + 1 column' */

