/* Start of CMSMS style sheet 'Navigation: Top' */
/********************
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-color: #FFFFFF;/* background color for the entire menu row */
   width: 745px;
   margin: 0;
   padding: 0;
 /*  position: absolute;*/

}

/* 
the menu ul box has top and left border, 
right border is provided by the li elements 
*/
div#menu_horiz ul {
   margin: 0;
   padding-left: 50px;
/* position: relative; left: 50px;*/
	border-right: solid 1px #7798A7;
	/*border-bottom: solid 1px #7798A7;*/
	list-style: none;
	width: 695px;
	  background: #FFFFFF url(images/layout/menu_bg.jpg) no-repeat;  
	float: left;
}


/* 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 {

	display: block;
	float: left;

	/*width: 106px;*/
/*	width: 93px;*/
	padding: 0 1.1em;
	line-height: 2em;
	/*background: url(images/navigation/divider.gif) repeat-y left top;*/
	text-decoration: none;
	color: #6E7B82; /*#7798A7;*/
	font-weight: bold;
	text-transform: uppercase;
	text-align: center;
}

div#menu_horiz ul #i1 a
{
	background-image: none;
} 

div#menu_horiz ul a:hover
{
	color: #D96C00;
}

div#menu_horiz .selected a
{
/*    background-color: #273F49;*/
    color: #D96C00;
}


div#menu_horiz .selected a:hover
{
  /*  background-color: #273F49;*/
    color: #D96C00;
}



/* hover state for links */
div#menu_horizX li a:hover {
   background-color: #C3D4DF;
}
div#menu_horizX a.activeparent:hover {
   background-color: #C3D4DF;
   color: #18507C;
}

/* active parent, that is the first-level parent of a child page that is the current page */
div#menu_horizX li.activeparent a {
   background: #385C72 url(images/cms/arrow-down.gif) no-repeat 0.4em center; 
   color: #fff;
}


/* End of 'Navigation: Top' */

/* Start of CMSMS style sheet 'Cataloger' */
.category_items
{
    margin-top: 2em;
}

.category_item
{
    float: left;
    width: 480px;
    margin-bottom: 1.5em;
    border-left: 2px solid #273F49;
    border-bottom: 1px solid #273F49;
background: #273F49 url(images/layout/detail.gif) 0 2.5em repeat-x;
}

div#content .category_item img
{

    float: left;
   margin-top: 0;
   margin-right:15px;
   margin-bottom: 15px;
    border: 2px solid #273F49;
    border-left: none;
}

.category_item a {

    font-weight: bold;   
color: white;
line-height: 1.5em;
}

.category_item a:visited {

    font-weight: bold;   
color: white;
line-height: 1.5em;
}

.category_item a:hover
{

color: white;
}



.category_item .number
{
background: #FFFFFF url(images/layout/number.gif) top left repeat-x;
line-height: 1em;
}

.category_item .detail
{
    margin-left: 2em;
    padding-left: 20px;
    padding-right: 10px;
    font-size: 90%;
}

.catnav
{
    clear: both;
}

.catnav a
{
    text-decoration: none;
}

.catnav a:hover
{
    text-decoration: none;
}
/* End of 'Cataloger' */

/* Start of CMSMS style sheet 'Diary' */
/*
Example stylesheet for Calendar module

For using this "big"-class insert something like this in your page
or template;

{cms_module module='Calendar' table_id='big'}

*/

#content #diary
{
    font-size: 90%;

}

#content #diary h1
{
background: #FFFFFF url(images/layout/diary_bg.jpg) bottom left no-repeat;
padding-left: 1em;
padding-top: 1.5em;
padding-bottom: 0.5em;
font-size: 14px;
width: 480px;
}

#content #diary .top
{
background: #FFFFFF url(images/layout/diary_simple_bg.jpg) bottom left no-repeat;
width: 485px;
}

* html p {
height: 1%;
margin-left: 0;
}


#diary .calendar-event
{
    clear: both;
    width: 480px;
    border-left: 2px solid #273F49;
    border-bottom: 1px solid #273F49;
    background: #273F49 url(images/layout/detail.gif) 0 0 repeat-x;

}

#diary .header
{
    float: left;
    padding-left: 1em;
    width: 170px;
}

#diary .calendar-event-title
{
  font-weight: bold;
color: #273F49;
line-height: 1.2em;
margin-left: 220px;
padding-top: 0.5em;
padding-bottom: 0.25em;
}

#diary .calendar-date-from
{
  font-weight: bold;
   color: #273F49;
line-height: 1.2em;
margin-right: -3px;
padding-top: 0.5em;
padding-bottom: 2.5em;
 }

#diary .calendar-summary
{
 margin-left: 220px;
 /*margin-bottom: 0.5em;*/
}

#diary .calendar-summary p
{
    margin-bottom: 0.5em;
}

#diary .clear
{

 clear: both;
}
/* End of 'Diary' */

/* Start of CMSMS style sheet 'Layout: Home' */
/*****************
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: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;	
	font-weight: normal;
	color: #333333;
	text-decoration: none;
}

/*
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 {
	background-color: transparent;
	text-decoration: underline;
	color: #D96C00;
}

a:visited {
	background-color: transparent;
	text-decoration: underline;
	color: #D96C00;
}


/* underline on hover  */
a:hover {
        color: #273F49;
	text-decoration: underline;
}

/*****************
basic layout 
*****************/
body {
   background-color: #FCF8F5;
   color: #333;
   margin: 1em; /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
	width: 750px;
	position: relative;
	left: 50%;
	margin-top: 15px;
	margin-left: -375px;
        
}

/* box model hack for wrapper*/
* html #contentwrapper
{
	width: 749px;
	w\idth: 750px;
}
html #contentwrapper
{
	width: 750px;
}
#contentwrapper
{
	border-left: solid 1px #2B3E46;
	background: url(images/layout/bg.jpg) repeat-y left top;
}

/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 77px; /* adjust according your image size */
   background: #385C72;           
}

div#header h1 a {
/* you can set your own image here */
   background: #385C72 url(images/layout/banner.jpg) no-repeat; 
   display: block; 
   height: 77px;             /* 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 {
   clear: both;
   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 */
   color: #6E7B82;
}



div#content {
   margin-left: 20px;
}

div#top_content {
   clear: both;
   height: 9.5em;
   width: 745px;
   background: #2B3E46 url(images/layout/random/comp2.jpg) no-repeat;
}

div#top_content blockquote {
   position: relative;
   left: 50px;
   top: 40px;
   width: 440px;
   color: #FFFFFF;
   border: none;
   background: transparent url(images/layout/close_quote.gif) no-repeat bottom right;
}

div#top_content blockquote p {
   padding-right: 15px;
}

div#top_content img {
    background: url(images/layout/random_bg.gif) no-repeat -2px;
}

div#title {
   height: 55px;
   width: 745px;
   background: #2B3E46 url(images/layout/title_home_bg.jpg) no-repeat;
}

div#main {
	width: 480px;
	float: left;
}

div#sidebar {
   margin-left: 550px;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 160px;    /* sidebar width, if you change this please also change #main margins */
   /*display: inline;*/  /* FIX ie doublemargin bug */
   font-size: 90%;
}

/* 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 */
}

#footer
{
	background: #2B3E46;
        color: #FFFFFF;
	clear: both;
	width: 745px;
	border-top: solid 1px #2B3E46;
	border-right: solid 1px #2B3E46;
	padding: 5px 0 0 0;
	text-align: center;
	font-size: 90%;
        line-height: 2em;
}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;      /* some air for footer */
   text-align: center; /* centered text */
   margin:0;
   color: #FFFFFF;
}

div#footer a {
   color: #FFFFFF; /* needed becouse footer link would be same color as background otherwise */
   text-decoration: none;
}

div#footer a:hover {
   text-decoration: underline;
}

div#photocopyright
{
	float: left;
        font-size: 80%;
        margin-left: 20px;
        padding-top: 0.5em;
	padding-bottom: 0.5em;
}

div#sitedesign
{
        margin-left: 550px;
        font-size: 80%;
	padding-top: 0.5em;
padding-bottom: 0.5em;
}

/* 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;
}


/********************
CONTENT STYLING
*********************/
div#content img {
    float: left;
    margin: 0.3em 1.5em 1.5em 0; 
    border: solid 4px #2B3E46;
}

/* HEADINGS */

/* only used on homepage, I think */
div#title h1 {
	font-size: 16px;
	color: #D96C00;
       margin: 0;
       margin-left: 20px;
       padding-top: 1em;
       padding-bottom: 1.5em;
}
div#content h2 {
	font-size: 16px;
	color: #D96C00;
        text-align: left; 
/* some air around the text */
   padding-bottom: 1em;

}
div#content h3 {
   color: #294B5F; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}

div#content .contentimg {
   margin: 1.5em 1.5em 1.5em 0; 
   border: 1px solid red;
}
div#sidebar h1 {
   margin: 0;
   padding: 0 0 0.5em 0;
   color: #2B3E46;
   font-size: 100%;
   font-weight: bold;
   text-transform: uppercase;   
   border-bottom: 2px solid #273F49;
   margin-bottom: 0.5em;
}
div#sidebar h2 {
        margin: 1em 0 0 0;
	padding: 0 0 0.2em 0.5em;
	color: #2B3E46;
/*	background: #FFFFFF url(images/box_header.gif) repeat-y;*/
	font-size: 120%;
	font-weight: bold;
	text-transform: uppercase;
}
div#sidebar img {
   margin-left: 35px;
   margin-bottom: 35px;
   margin-top: 35px;
   /*border: 1px solid #DF7000;*/
}

/* 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;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
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%;   /* smaller font size, as these are usually not so important data */
}

/* END TEXT */

/* LISTS */
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;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */
/* End of 'Layout: Home' */

