/* 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 {
   text-align: left;
   font-family:"Lucida Grande",Tahoma,Helvetica,sans-serif;
   font-size: 11px;
   line-height: 1em;
   background-color: #F1F3F6;
}

/*
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
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: none;
/* 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: #B23B03; 
}

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


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

/*****************
basic layout 
*****************/
body {
   color: #333;
   margin: 0px;
   padding: 0px;
}

/* center wrapper, min max width */
div#pagewrapper {
height:100%;
background-color: #F1F3F6;
margin-bottom:1px;
width: 916px;
background-image: url(images/bg.png);
background-repeat: repeat-y;
position: relative;
margin-left: auto;
margin-right: auto;
padding-left: 40px;
padding-right: 40px;
}


/*** 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: #232833 url(images/header-bg.png) repeat-x scroll 0 0;
height: 86px;     
}

div#header h1 a {
/* you can set your own image here */
   background-image: url(images/logo.png);
   background-repeat: no-repeat;
   display: block;
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
height:66px;
position: absolute;
/*top: 35px;*/
/*left:25px;*/
position:absolute;
top:9px;
width:336px;
}

/* position for the search box */
div#search {
   position: absolute;
   width: 23em;    /* enough width for the search input box */
   text-align: right;
   margin-left: 650px;
   margin-top: 10px;
  
}
div#search input#searchb{
border: 1px solid #636D84;
background-color: #CCCED1;
}

div.breadcrumbs {
   padding: 10px;
   font-size: 90%;        /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0px;        /* css shorthand rule will be opened to be "0 1em 0 1em" */
background-color: #3F465A;
color: #FFFFFF;
}
div.breadcrumbs a{
color: #FFFFFF;
}
div.breadcrumbs span.lastitem { 
   font-weight:bold; 
}

div#content {
   margin: 0em auto 0em 0;   /* some air above and under menu and content */
}
div#content table.lentele_1{
border-top: 1px solid #CCCED1;
border-right: 1px solid #CCCED1;
width: 100%;
}
div#content table.lentele_1 tr td{
border-left: 1px solid #CCCED1;
border-bottom: 1px solid #CCCED1;
padding: 10px;
}
div#content table.lent_33{
width: 100%;
}
div#content table.lent_33 tr td{
padding: 10px;
}
div#content table.lent_33 tr td img{
border: 1px solid black;
margin: 3px;
}
td#content_td {
background-color: #E6EAF2;
}

div#sidebar {
  /*float: left;     
   width: 26%;    */
   margin-left: 0;
   background-color: #dce0e8;
}

div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #B7BBC7;
   background-color: #323C53; /* same bg color as in header */
   padding-bottom: 10px;
}

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: 1em;
   border-bottom: 1px dotted #B7BBC7;
   margin: 1em;
}

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

div.right49 {
  float: right;
  width: 29%;
  text-align: right;
  padding-right: 20px;
}




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

}

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
padding-top: 5px;
padding-bottom: 15px;
color: #B23B03;
padding-left: 0px;
line-height: 19px;
}
div#content h3 {
   color: #3F465A; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #3F465A; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color: #3F465A; 
   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 {
   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: 100%;


}

/* 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: 0px;
border: 0px;
}

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: normal;
   margin: 0px;
background-image: url(images/menu_sep.gif);
background-repeat: no-repeat;
background-position: 3px center;
}
div#main dl dt a{
padding-left: 10px;
}
div#main dl dd {
   margin-top:5px;
margin-bottom: 5px;
margin-left: 10px;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}
div.news{
margin-left: 8px;
margin-right: 8px;
margin-top: 16px;
margin-bottom: 16px;
/*border: 1px solid #B7BBC7;*/
}
div.news_wrapper{
/*padding-top: 3px;
padding-bottom: 3px;*/
}
div.news_wrapper div.NewsSummaryLink a{
text-indent: 20px;
background-image: url(images/menu_active.gif);
background-repeat: no-repeat;
background-position: 5px 5px;
padding-top: 5px;
padding-bottom: 5px;
display: block;
text-decoration: none;
}
div.NewsSummarySummary{
padding: 5px;
}
div#sidebar div.news h3{
/*font-weight: bold;
font-size: 123px;
color: #B23B03;
background-color: #B7BBC7;
padding-left: 5px;
padding-top: 8px;
padding-bottom: 8px;*/
font-family:Arial,Helvetica,sans-serif;
font-weight:bold;
color: #444444;
font-size: 13px;
}
div#content_container{
min-height: 500px;
font-size: 11px;
}
*html div#content_container{
height: 500px;
}
div#content_container{
margin-left: 20px;
margin-right: 20px;
color: #444444;
padding-top: 15px;
}
/* END LISTS */
table#content_table{
margin: 0px;
padding: 0px;
width: 916px;
}
table#content_table tr td#sidebar_td{
background-color:#DCE0E8;
width: 250px;
}
div#content_container .NewsSummaryMorelink{
}
div#content_container .NewsSummary{
margin-top: 5px;
margin-bottom: 10px;
}
div#tags h2{
color: #7F7777;
font-size: 12px;
line-height: 18px;
padding: 0px;
}
div#header_welcome{
color: #B7BBC7;
padding-top: 4px;
}
div#header_welcome strong{
font-weight: normal;
}
div#rss_feed{
position: absolute;
margin-top: -26px;
margin-left: 202px;
}
ul.downloads{
list-style-type: none;
list-style-image: none;
}
ul.downloads li{
list-style-type: none;
list-style-image: none;
}
ul.downloads li a{
text-decoration: none;
}
#menuwrapper,
#f_menu{
text-align:center;
}
table.contactform tr td input.fbsubmit{
border: 1px solid #3F465A;
width: auto;
background-color: #E6EAF2;
cursor: pointer;

}
table.contactform tr td select,
table.contactform tr td input{
width: 150px;
border: 1px solid #CCCED1;
}
table.contactform tr td select{
font-size: 1em;
padding: 1px 0px 1px 0px;
}
table.contactform tr td textarea{
width: 250px;
height: 150px;
border: 1px solid #CCCED1;
}
/* End of 'Layout: Left sidebar + 1 column' */

