/* 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-family: verdana, Helvetica, sans-serif;
	font-size: 76%;
	color: #ffffff;
	line-height: 1.2em;
	text-align: left;
	background-color: #333333;
	background-image: url(images/cms/background.gif);
	background-repeat: repeat;
	margin-top: 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;
/* 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: inherit; 
   color: #666666; 
}

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


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

/*****************
basic layout 
*****************/
/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;     /* this centers wrapper */
   max-width: 80em; /* IE wont understand these, so we will use javascript magick */
   min-width: 60em;
   color: black;
}

#container {
	width: 900px;
	margin-left: auto;
	margin-right: auto;
	border-color: #ffffff;
	border-style: solid;
	border-width: 1px;
	background-color: #392285;
	position: relative;
	}

/*** banner ***
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#banner {
	height: 136px;
	border-bottom-color: #ffffff;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	background-image: url(images/cms/banner.gif);
	background-repeat: no-repeat;
	position: relative;
	}

div#banner h1 a {
/* you can set your own image here */
   position: absolute;
   top: 22px;
   left: 12px;
   width: 195px;
   height: 100px;             /* adjust according your image size */
   background: none;
   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 {
	position: absolute;
	bottom: 6px;
	right: 6px;
	width: 300px;
	text-align: right;
}

div#menu {
	height: 50px;
	}

div#breadcrumb {

	background-color: #b1b3dc;
	border-bottom-color: #333333;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	padding-top: 5px;
        padding-bottom: 6px;
	padding-left: 5px;
	color: #333333;
	clear: both;
	line-height: 1.3em;
}

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

div#mainArea {
	width: 562px;
	background-color: #ffffff;
	min-height: 770px;
	float: right;
	color: #333333;
	}

div#leftSide {
	width: 730px;
	float: left;
	background-image: url(images/cms/iso-logo.gif);
	background-position: bottom left;
	background-repeat: no-repeat;
	min-height: 770px;
	}

div#leftColumn {
	width: 167px;
	float: left;
	}
	
div#rightColumn {
	width: 166px;
	float: right;
	}

div#main {

}


/* 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-left: 20px;
   margin-right: 20px;
   clear: both;
}

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

div#print {
   float: right;
   margin-top: 20px;
   margin-right: 20px;
}


/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   	font-size: 170%;
	font-weight: normal;
	line-height: 1.3em;
	padding-top: 15px;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 5px;
}
div#content h2 {
	font-size: 160%;
	font-weight: normal;
	line-height: 1.3em;
	padding-top: 15px;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 5px;
}
div#content h3 {
   font-size: 160%;
	font-weight: normal;
	line-height: 1.3em;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 5px;
	}
div#content h4 { 
font-size: 110%;
font-weight: bold;
	line-height: 1.3em;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 5px;
}
div#content h5 {
   font-weight: normal;
	line-height: 1.3em;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 5px;
}
h6 {
   font-weight: normal;
	line-height: 1.3em;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 5px;
}
/* END HEADINGS */

/* LEFT SIDE */

div#leftColumn h2 {
	color: #ffffff;
	font-size: 170%;
	padding-top: 10px;
	padding-bottom: 10px;
	font-weight: normal;
	text-align: center;
	line-height: 1.3em;
	padding-left: 0;
	padding-right: 0;
	}

div#rightColumn h2 {
	color: #ffffff;
	font-size: 170%;
	padding-top: 10px;
	padding-bottom: 10px;
	font-weight: normal;
	text-align: center;
	line-height: 1.3em;
	padding-left: 0;
	padding-right: 0;
	}
	
/* Catologue */

div#catologue {
	width: 147px;
	height: 191px;
	background-image: url(images/cms/catalogue.jpg);
	background-repeat: no-repeat;
	margin-top: 10px;
	margin-left: 10px;
	}

div#catologue h2 a {
	display: block;
	height: 124px;
	color: #ffffff;
	line-height: 1.2em;
	font-weight: normal;
	text-align: center;
	text-decoration: none;
	padding-top: 60px;
	cursor: pointer;
	padding-left: 0;
 	padding-right: 0;
	}
	
div#catologue h2 a:hover {
	color: #CCCCCC;
	}

div#catologue2 {
	width: 147px;
	height: 191px;
	background-image: url(images/cms/catalogue.jpg);
	background-repeat: no-repeat;
	margin-top: 10px;
	margin-left: 8px;
	}

div#catologue2 h2 a {
	display: block;
	height: 124px;
	color: #ffffff;
	line-height: 1.2em;
	font-weight: normal;
	text-align: center;
	text-decoration: none;
	padding-top: 60px;
	cursor: pointer;
	padding-left: 0;
 	padding-right: 0;
	}
	
div#catologue2 h2 a:hover {
	color: #CCCCCC;
	}

/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
   line-height: 1.4em;
   margin: 0 20px 1em 2em;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 2em;
}

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



/* Products */

div#products {
	padding-bottom: 20px;
	}
	
div#products ul {
	list-style: none;
	width: 99%;
	margin-left: 0;
	}
	
div#products ul li {
	display: inline;
	float: left;
	background-image: url(images/cms/product-back.gif);
	background-repeat: no-repeat;
	height: 144px;
	width: 162px;
	margin-left: 19px;
	margin-bottom: 19px;
	}

div#products ul li h2 {
	font-weight: normal;
	font-size: 90%;
	text-align: center;
	padding-top: 8px;
	padding-left: 0;
	padding-right: 0;
	}
	
div#products ul li h2 a {
	color: #ffffff;
	text-decoration: none;
	display: block;
	height: 24px;
	}
	
div#products ul li h2 a:hover {
	color: #CCCCCC;
	}

div#products ul li h3 {
	font-weight: normal;
	font-size: 80%;
	text-align: center;
	padding-top: 9px;
	padding-left: 0;
	padding-right: 0;
	}

div#products ul li h3 a {
	color: #ffffff;
	text-decoration: none;
	display: block;
	height:23px;
	}
	
div#products ul li h3 a:hover {
	color: #CCCCCC;
	}
	
div#products ul li a img {
	border-color: #333333;
	border-style: solid;
	border-width: 1px;
	margin-left: 9px;
	}

/* TEXT */
p {
   margin-right: 20px;
   margin-left: 20px;
   line-height: 1.4em;
   padding-bottom: 15px;
}

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

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


/* FOOTER SECTION */

div#footer {
	 width: 910px;
	 margin-left: auto;
	 margin-right: auto;
	 color: #ffffff;
	 }

div#copy {
	width: 300px;
	float: left;
	padding-top: 4px;
	}

div#copy p {
	text-align: left;
	padding-top: 0;
	}
	
div#footer a {
	text-decoration: none;
	color: #ffffff;
	}

div#footer a:hover {
	text-decoration: underline;
	}
	
div#menuBottom {
	width: 500px;
	float: right;
	text-align: right;
	margin-right: 10px;
	}

div#menuBottom ul {
	list-style: none;
	width: 99%;
	padding-top: 5px;
	}

div#menuBottom ul li {
	display: inline;
	}

div#menuBottom ul li a {
	float: right;
	padding-left: 5px;
	padding-right: 5px;
	border-left-color: #ffffff;
	border-left-style: solid;
	border-left-width: 1px;
	}
	
div#menuBottom ul li .last {
	border-left: none;
	}

div#news h2 {
	font-size: 160%;
	color: #392285;
	font-weight: normal;
	text-align: center;
	padding-top: 10px;
	padding-bottom: 10px;
}

/* TABLES */

div#content table {
      margin-left: 15px;
      clear: both;
}

div#content th {
     text-align: center;
     border: 1px solid #333;
     background-color: #666666;
     color: #fff;
     padding-bottom: 4px;
     font-weight: normal;
}

div#content td {
     text-align: center;
     border: 1px solid #666666;
}

.odd {
   background-color: #eaebf8;
}

.imageRight {
   float: right;
   padding: 4px;
   border: solid 1px #666666;
   margin-right: 20px;
   margin-bottom: 20px;
   margin-left: 10px;
   margin-top: 20px;
}

.imageLeft {
   float: left;
   padding: 4px;
   border: solid 1px #666666;
   margin-left: 20px;
   margin-bottom: 20px;
   margin-right: 10px;
   margin-top: 20px;
}

.image {
  margin-left: auto;
  margin-right: auto;
  padding: 4px;
  border: solid 1px #666666;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Home Page Pipes */

#pipes {
  background-image:  url(images/cms/pipes-left.png);
  background-repeat: no-repeat;
  width: 176px;
  height: 232px;
  position: absolute;
  left: 0;
  top: 500px;
}

#pipes2 {
  background-image:  url(images/cms/pipes-right.png);
  background-repeat: no-repeat;
  width: 151px;
  height: 264px;
  position: absolute;
  right: 0;
  top: 600px;
}

/* Valid */

#valid {
  margin-top: 10px;
  text-align: right;
  clear: both;
}

.clear {
   clear: both;
}
/* END LISTS */

.tableTop {
   background: #666;
   color: #ffffff;
}
.smallTable {
   font-size: 80%;
}
/* End of 'Layout: Left sidebar + 1 column' */

