/* Start of CMSMS style sheet 'Layout: Default Template' */
/*****************
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;
}

/*
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 {
/* 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: #230a6d; 
}

a:visited {
   background-color: inherit;
}


/* remove underline on hover and change color */
a:hover {
   background-color: #F4F4F4;
}

/*****************
basic layout 
*****************/
body {
   background-image:url(images/cms/body_bg.png);
   background-repeat:repeat-x;
   background-color: #A3A3A3;
   color: #000000;
   margin:0;    /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 0px solid #aeaeae;
   border-top:none;
   border-bottom:none; 
   margin: 0 auto;       /* this centers wrapper */
   max-width: 900px;   /* IE wont understand these, so we will use javascript magick */
   min-width: 900px;
   background:none;
   color: black;
}


/*** 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 {
   height: 75px;    /* adjust according your image size */
   background-color: #FFFFFF;       
}

h1#logo{
height:58px;
width:105px;
display:block;
background-image:url(images/cms/main_logo.png);
background-repeat:no-repeat;
float:left;
margin-top:6px;
}


/* 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;
}

span#breadcrumb {
   display:block;
  margin-bottom:15px;
  font-size:80%;
}

span#breadcrumb a{
text-decoration:none;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 

div#top_links {
display:block;
background:#EEEEEE;
float:right;
font-size:80%;
color:gray;
}

div#top_links ul{
display:block;
width:100%;
height:23px;
padding:0 8px 0 8px;
}

div#top_links ul li{
display:inline;
}

div#top_links ul a{
text-decoration:none;
color:gray;
line-height:20px;
}

div#button_workshop {
width:294px;
height:38px;
display:block;
margin-bottom:7px;
background-image:url(images/cms/button_workshop.png);
background-repeat:no-repeat;
background-color:none;
}

div#button_workshop a{
display:block;
width:100%;
height:100%;
background:none;
}

div#button_workshop a{
background:none;
}

a#newsbutton {
display:block;
background-image:url(images/cms/button_see_more.png);
background-repeat:no-repeat;
height:17px;
width:87px;
margin:11px 0 0 0;
      float:right;
}

    #button_signup {
display:block;
      width: 104px;
      height: 18px;
      margin: 0;
      padding: 0;
      border: 0;
      background: transparent url(images/cms/button_signup_now.png) no-repeat top left;
      text-indent: -1000em;
      vertical-align: middle;
      cursor: pointer; /* hand-shaped cursor */
      cursor: hand; /* IE 5.x */
      float:right;
    }

    #button_submit {
display:block;
      width: 80px;
      height: 31px;
      margin: 0;
      padding: 0;
      border: 0;
      background: transparent url(images/cms/button_submit.png) no-repeat top left;
      text-indent: -1000em;
      vertical-align: middle;
      cursor: pointer; /* hand-shaped cursor */
      cursor: hand; /* IE 5.x */
    }


a#footerlink {
display:block;
background-image:url(images/cms/footer_note.png);
background-repeat:no-repeat;
width:599px;
height:21px;
float:right;
margin-top:12px;
}

a#footerlink:hover {
background-color:#d72025;
}

a#archivelink {
display:block;
background-image:url(images/cms/button_newsletter_archive.png);
background-repeat:no-repeat;
width:102px;
height:15px;
float:left;
overflow:hidden;
margin:1px 0 0 2px;
}

a.buttonmore {
display:block;
float:right;
height:31px;
width:135px;
background-image:url(images/cms/button_more.png);
background-repeat:no-repeat;
margin-right:22px;
}

div#menu_holder {
height:43px;
background:none;
overflow:hidden;
}

div#menu_holder a{
color:gray;
}

div#content {
   margin: 0 auto 0em 0;   /* some air above and under menu and content */
   padding-top:14px;
   min-height:550px;
   display:block;
   background:none;
}

div#main {
   margin-left: 301px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 0; /* and some air on the right */
   margin-top:0;
   display:block;
background:#FFFFFF;
min-height:740px;
border-top:6px solid #EEEEEE;
border-left:6px solid #EEEEEE;
border-right:6px solid #EEEEEE;
border-bottom:29px solid #EEEEEE;
padding:15px;
}

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 294px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
   background:none;
   padding:0;
}

div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #000000;
   background: none;
   font-size: 90%;
   display:block;
   height:30px;
   padding-bottom:50px;
}

div#footer p a {
   color: #000000; /* needed becouse footer link would be same color as background otherwise */
}

div#bottom_menu {
float:left;
width:40%;
padding-top:0.2em;
}

div#bottom_menu a {
display:inline-block;
padding:0.5em;
text-decoration:none;
color:#000000;
}

div#bottom_menu a:hover {
background:#D72025;
color:white;
}

div#bottom_copyright {
float:right;
width:60%;
text-align:right;
}

/* as we hide all hr for accessibility we create new hr with extra div element */
hr {
color: #fff; 
background-color: #fff; 
border: 1px dotted gray; 
border-style: none none dotted;
display:block;
   margin: 0px 0px 5px 0;
}

/* 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
*********************/

label#topsearch {
  display:inline-block;
  padding:0;
  margin:0;
}

div#content {

}

div#tel_number {
display:block;
float:right;
margin-top:2.8em;
margin-right:1.8em;
}

div#tel_number span {
font-size:1.2em;
line-height:1.2em;
font-weight:bold;
}


/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}

div#content h2#pagetitle {
line-height:1em;
}

div#content h2 {
	color: #D72025; 
	font-size: 1.6em; 
	line-height: 1.4em; 
	text-align: left; 
font-weight:normal;
font-family:trebuchet ms;
padding-bottom:10px;
}

div#content h3 {
   color: black; 
   font-size: 1.3em;
   line-height: 1.2em;
   margin: 0 0 0.3em 0;
   text-decoration:none;
font-weight:normal;
font-family:trebuchet ms;
}

div#sidebar h2 {
   color: #D72025;
	font-size: 1.3em; 
	text-align: left; 
	padding-bottom: 0.5em;
  padding-left:0.66em;
}

div#content h3 a {
   text-decoration:none;
   color: #D72025; 
}

h4 {
   color: #D72025; 
   font-size: 10px;
   line-height: 1em;
   margin: 0 0 0.25em 0;

}
div#content h5 {
   color: #D72025; 
   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: 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;
}


/* END LISTS */

/* End of 'Layout: Default Template' */

