/* Start of CMSMS style sheet 'SI Navigation Hor Menu' */
/********************
MENU
*********************/

/* hack for Internet Explorer */
* html div#menu_horiz {
   /* hide ie/mac \*/
   height: 1%;
   /* end hide */
}

/* 
background-color for the entire menu row, 
covering 100% of the width and text center-aligned 
*/
div#menu_horiz {
   background: url(images/cms/menuh_bg.gif) repeat-x;
   background-color: #444;  /* background color for the entire menu row */
   width: 100%;
   margin: 10px 0px 0px 0px;
}

/* 
the menu ul box has top and left border, 
right border is provided by the li elements 
*/
div#menu_horiz ul {
   margin: 0;
   padding: 0;
   border: none;
   height:2em;
}


/* menu list items */
div#menu_horiz li {
   float: left; /* makes the list horizontal */
   list-style: none; /* hides the list bullet */ 
   margin: 0;
}


/* the links, that is each list item */
div#menu_horiz a {
   padding: .5em 1em .5em 1em;  /* padding inside the list item box */
   margin: 0em; /* margin outside each list item box */
   text-decoration: none; /* no underline for links */
   color: #ccc;
   background: url(images/cms/menuh_bg.gif) repeat-x;
   background-color: #222;
   display: block; /* IE has problems with this, fixed above */
}


/* hover state for links */
div#menu_horiz li a:hover {
   margin: 0em; /* margin outside each list item box */
   background: url(images/cms/menuh_bgh.gif) repeat-x;
   background-color: #283041;
}

div#menu_horiz a.activeparent:hover {
   margin: 0em; /* margin outside each list item box */
   background: url(images/cms/menuh_bgh.gif) repeat-x;
   background-color: #283041;
   color: #ccc;
}

/* active parent, that is the first-level parent of a child page that is the current page */
div#menu_horiz li.activeparent a {
   margin: 0em; /* margin outside each list item box */
   background: url(images/cms/menuh_bga.gif) repeat-x;
   background-color: #222;
   color: #fff;
}

div#menu_horiz h3 {
   padding: .5em 1em .5em 1em; /* padding inside the list item box */
   margin: 0em; /* margin outside each list item box */
   text-decoration: none; /* no underline for links */
   color: #fff;
   background: url(images/cms/menuh_bga.gif) repeat-x;
   background-color: #333;
   display: block; /* IE has problems with this, fixed above */
   font-size: 1em;                           /* instead of the normal font size for <h3> */
}

/* End of 'SI Navigation Hor Menu' */

/* Start of CMSMS style sheet 'SI Navigation Ver Menu' */
/********************
MENU
*********************/
#menu_vert {
   padding: 0;
   margin: 0;
}

#menu_vert ul {
  width: 160px;
  margin: 0px 10px 0px 0px;
  padding: 0px;
}


#sidebar1 #menu_vert ul {
  background-color: #111111;
  height: 340px;
  padding: 0px;
}


/* menu li block */
#menu_vert li {
   list-style: none;
   margin: 0px;
   padding: 0px;
   display: block;
   height: 22px;
}

/* first level links */
div#menu_vert a {
   margin: 0px;
   text-decoration:none; /* no underline for links */
   display: block; /* IE has problems with this, fixed above */
   padding: 5px 0px 5px 10px; /* some air for it */
   color: #888; /* this will be link color for all levels */
   min-height:0em; /* Fixes IE7 whitespace bug */ 
}

/* hover state for all links */
div#menu_vert a:hover {
   color: #d83;
}

#sidebar1 div#menu_vert a:hover,
#sidebar1 div#menu_vert a.activeparent:hover {
   background-color:#222;
}

#sidebar2 div#menu_vert a:hover,
#sidebar2 div#menu_vert a.activeparent:hover {
   background:none;
}

div#menu_vert a.activeparent:hover {
   color: #d83;
}

/* 
active parent, that is the first-level parent 
of a child page that is the current page 
*/
div#menu_vert li a.activeparent {
   /* background: url(images/cms/menuv_bg.gif) repeat-y left top; */
   background-color: #000;
   color: #d83;
}

div#menu_vert ul li a.activeparent {
/*   background: url(images/cms/menuv_bg.gif) repeat-y left top; */
   background-color: #000;
   color: #d83;
}


/* 
current pages in the default Menu Manager 
template are unclickable. This is for current page on first level 
*/
div#menu_vert h3 {
   /* background: url(images/cms/menuv_bg.gif) repeat-y left top; */
   background-color: #000;
   display: block; 
   padding: 1px 0px 1px 10px;  /* some air for it */
   color: #d83;                                 /* this will be link color for all levels */
   font-size: 15px;                           /* instead of the normal font size for <h3> */
   margin: 0;                                  /* as <h3> normally has some margin by default */
}

/* 
next level current pages, more padding, 
smaller font and no background color or bottom border 
*/
div#menu_vert ul h3 {
   color: #ccc;
   font-size: 15px     
}

#sidebar1 div#menu_vert ul h3 {
   color: #d83;     
}

#sidebar2 div#menu_vert ul h3 {
   color: #ccc;     
}
/* End of 'SI Navigation Ver Menu' */

/* Start of CMSMS style sheet 'SI Layout topmenu+3 cols' */
/*****************
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;
   font-size: 75.01%;
   line-height: 1em;
}

table { border-collapse: collapse; border-spacing: 0px;}

/*
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: 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: #d83; 
}

a:visited {
   text-decoration: underline;
/*   background-color: inherit; */
   color: #d83;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
/*   background-color: inherit; */
   color: #d83;
}

/*****************
basic layout 
*****************/
html {
   height: 100%;
   margin:0;
   padding:0;
}

body {
   background-color: #000;
/*   background: url(images/logo.png) center top; */
   margin:0; /* gives some air for the pagewrapper */
   color: #999;
   padding:0;
   height: 100%;
}

/* center wrapper, min max width */
div#pagewrapper {
   border: none;
   margin: 0 auto;     /* this centers wrapper */
   /* max-width: 80em; */ /* IE wont understand these, so we will use javascript magick */
   /* min-width: 60em; */
   color: #888;
}

table#box0 {
   margin: 0 auto;
   width: 850px;
   height: 100%;
}

table#box0 td {
   padding: 0;
}

td#b011 {
   vertical-align: top;
   text-align: left;
   padding:0px;
}
td#b021 {
   vertical-align: bottom;
   text-align: center;
   padding: 0px;
   height: 1em;
   line-height: 1em;
}

/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 85px; /* adjust according your image size */
   background: transparent;           
}

div#header h1, div#header div {
   padding:0;
   margin:0;
}

div#lang {
   padding:0;
   text-align:right;
   font-size:11px;
}

div#lang a, div#lang p, div#lang span {
   margin-left: 10px;
}

div#header h1 a {
/* you can set your own image here */
   background: url(images/logo.png) no-repeat 20px 10px;
   display: block; 
   height: 70px;             /* 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 */
}

div#search {
   float: right;
   width: 23em;     /* 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 1em; /* 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: 0em;      /* css shorthand rule will be opened to be "0 1em 0 1em" */
   color: #555;
}

#box0 div.breadcrumbs a {
   color: #777;
}


div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 

div#content {
   margin: 0.5em auto 1em 0; /* some air above and under menu and content */
}

div#main {
   width: 500px;   /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   padding:0;
   margin-right: 0px; /* and some air on the right */
   margin-left: 10px;
   float:left;
}

div#menuv {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: auto;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   padding:0;
   margin:0;
}

div#sidebar1 {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: auto;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   margin-left: 0;
}

div#sidebar2 {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: auto;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   margin-left: 0;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0 1%;
   width: 24%;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
}

div#footer {
   clear:both;       /* keep footer below content and menu */
   color: #777;
   border-top: 1px solid #222;
}

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: #d83; /* 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;
   margin: 1em;
   border-bottom: 1px dotted black;
}

/* relational links under content */
div.left49 {
  float: left;
  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: 1.5em;  /* font size for h1 */
   line-height: 1.5em;
   margin: 0 0 0.25em 0;
   color: #36a;
}

div#content h2 {
   color: #ccc; 
   font-size: 1em; 
   line-height: 2em;
   background: url(images/cms/line_dotted.gif) 0em 1.9em repeat-x;
   margin: 0 0 0.25em 0;
}

div#content h3 {
   color: #d83; 
   font-size: 1em;
   line-height: 1.2em;
   margin: 0 0 0.25em 0;
}

div#content h4 {
   color: #36a; 
   font-size: 1em;
   line-height: 1.2em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   font-size: 1em;
   line-height: 1.2em;
   margin: 0 0 0.25em 0;
}
h6 {
   font-size: 1em;
   color: #d83;
   line-height: 1.2em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.4em 0;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
}
blockquote {
   border-left: 10px solid #ddd;
}

/* End of 'SI Layout topmenu+3 cols' */

