/* Start of CMSMS style sheet 'bicyclesetc' */
/*****************
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: Arial, Helvetica, sans-serif;
   font-size: 12px;
   line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/

div {
   font-size: 12px;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}


/*****************
links
*****************/

a {
   color: #CC0000;
   text-decoration: underline;
}

a:hover {
   color: #666666;
   text-decoration: none;
}

a:visited {
   color: #CC0000
   text-decoration: underline;
}

/*****************
basic layout 
*****************/
body {
   background: #FFFFFF url(images/cms/background.jpg) repeat-x 0 0px; 
   color: #000000;
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;     /* this centers wrapper */
   max-width: 800px; /* IE wont understand these, so we will use javascript magick */
   min-width: 800px;
   background-color: #fff;;
   color: black;
   min-height: 440px;
}

/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 79px; /* adjust according your image size */
   background: #CC0000;           
}

div#header h1 a {
/* you can set your own image here */
   background: #CC0000 url(images/cms/logo_bicyclesetc_header.jpg) no-repeat 0 0px; 
   display: block; 
   height: 79px;             /* 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#content {
   margin: 1em 0 1em 0; /* some air above and under menu and content */
}

div#footer {
   clear:both;       /* keep footer below content and menu */
   color: #CC0000;
}

div#footer p {
   font-size: 9px;
   text-align: center; /* centered text */
   margin:0;
}

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

/* TEXT */
p {
   font-size: 12px;
   line-height:1.4em;
}

#content ul {
   margin: 0 17px 0 26px;  /* some air around p elements */
   line-height:1.4em;
}

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

#homeimage {
   padding-top: 0px;
   text-align: center;
   width: 590px;
   height: 370px;
}
/* End of 'bicyclesetc' */

/* Start of CMSMS style sheet 'Navigation - Primary' */
/********************
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/background_navigation.gif) center repeat-x;
   border: 1px solid #000000;
   border-width: 1px 0;
   width: 100%;
   margin: 0;
}

/* 
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;
   height:2.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 {
   font-weight: bold;
   padding: .6em 1.8em .6em 1.8em; /* padding inside the list item box */
   margin: 0; /* margin outside each list item box */
   text-decoration: none; /* no underline for links */
   color: #000000;
   display: block; /* IE has problems with this, fixed above */
}

/* hover state for links */
div#menu_horiz li a:hover {
    text-decoration: underline; /* no underline for links */
    color: #333333;
    font-weight: bold;
}
/* hover state for links */
div#menu_horiz li a:active {
    text-decoration: none; /* no underline for links */
    color: #CC0000;
    font-weight: bold;
}

div#menu_horiz a.activeparent:hover {
   color: #CC0000;
   text-decoration: underline; /* no underline for links */
   font-weight: bold;
}

/* active parent, that is the first-level parent of a child page that is the current page */
div#menu_horiz li.activeparent a {
   font-weight: bold;
   color: #CC0000;
}
div#menu_horiz h3 {
   padding: .6em 1.8em .6em 1.8em; /* padding inside the list item box */
   margin: 0; /* margin outside each list item box */
   text-decoration: none; /* no underline for links */
   color: #CC0000;
   display: block; /* IE has problems with this, fixed above */
   font-size: 1em;                           /* instead of the normal font size for <h3> */
}

.currentpage {
  padding: .6em 1.8em .6em 1.8em; /* padding inside the list item box */
   margin: 0; /* margin outside each list item box */
   text-decoration: none; /* no underline for links */
   color: #CC0000;
   font-weight: bold;
}
/* End of 'Navigation - Primary' */

/* Start of CMSMS style sheet 'Navigation - Secondary' */
/********************
Navigation - Secondary
*********************/

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

#navigation_secondary {
        margin: 0 auto;
	padding: 0;
	padding-bottom: 30px;
	width: 100%;
	display: block;
}

#navigation_secondary h1 {
	color: #000;
	float: left;
	display: inline;
	font-size: 26px;
	line-height: 1em;
	margin-left: 0px;
}

/* 
the menu ul box has top and left border, 
right border is provided by the li elements 
*/

#navigation_secondary ul#submenu ul {
   float: left;
   display: inline;
   list-style: none;
   margin: 0;
   margin-top: 9px;
   margin-left: 11px;
   padding: 0;
   position: relative;
   z-index: 9001;
}

/* submenu list items */
#navigation_secondary ul#submenu li {
   list-style: none; /* hides the list bullet */ 
   float: left;
   display: inline;
   font-size: 12px;
}

/* the links, that is each list item */
#navigation_secondary ul#submenu li a {
   color: #CC0000;
   text-decoration: none;
   float: left;
   display: inline;
   padding: 0px 9px;
   border-left: 1px solid #cccccc;
}

/* hover state for links */
#navigation_secondary ul#submenu li a:hover {
   color: #666666;
   text-decoration:underline;
}

/* hover state for links */
#navigation_secondary ul#submenu li a:active {
   color: #CC0000;
   text-decoration:none;
}

#navigation_secondary .currentpage {
   border-left: 1px solid #cccccc;
   padding: 0px 9px;
   text-decoration: none; /* no underline for links */
   color: #000000;
   font-weight: 400;
}
/* End of 'Navigation - Secondary' */

