/*****************
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 tag has been moved to style switcher file.
*/

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

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


/*****************
basic layout 
*****************/
body {
 width: 780px;
 line-height: 1.2em;
 margin: 8px auto;
 padding: 0;

}

/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image won't cut off
*/

div#header {
   height: 115px; /* adjust according your image size */
   background: transparent;  
   margin: 0 0 0 -2px;         
}

div#header h1 a {
/* you could set your own image here. No! In the switcher 
   background: url(../images/cms/logo_A_110h.png) no-repeat top left; */

   display: block; 
   
 /*  height: 115px;  adjust according your image size in switcher */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   border: none;  /* removes the dotted underline for the link, as the whole header is a link! */
}
/* Style switcher, which will keep the same styles in all style combos 
#styles {
	font-size: 0.8em;
	text-align: center;
	background-color:#dadada;
	position: absolute;
	top: 16px;
	right:16%;
	font-weight:bold; 
	padding:.3em .3em; 
	border: 1px solid #666;
	}
*/
/* position for the search box */
div#search {
   float: right;
   width: 23em;     /* enough width for the search input box */
   text-align: right;
   padding: 0.5em 0;
   margin: 0 1em;
   font-size:.8em;
}

div.breadcrumbs {
   padding: .5em 1em .5em 0; 
   font-size: 80%;             
   margin: 0 1em 0 0 ; 
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 

 div#content {
   margin: 1em auto 2em 0; /* some air above and under menu and content */
}


div#main {
   margin-left: 27%; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 3em; /* and some air on the right */
}

div#sidebar {
   float: left; /* set sidebar on the left side. Change to right to float it right instead. */
   width: 25%;  /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 1em;
   font-size:90%; /*This affects menu text also. Since the menu is most of the sidebar, most styles are set in the menu sheet. */
}


/* set any paragraph in the sidebar to the same apparent width as the menu items. */
div#sidebar p {
	width:73%;
}

div#footer {
   clear:both;       /* keep footer below content and menu */
   margin: 0 0 1.5em;
   background-color: inherit; /* same bg color as in header */


/*   color: gray; */
/*   border-top: 4pt solid #dadada;*/
}

div#footer p {
   font-size: 80%;  /* same as breadcrumbs */
   line-height: 1.5em;
   padding: 0;    
   text-align: right; 
   margin: 0;
}

div#footer a {
  font-weight: 600;
  border: 0; 
}

/* as we hid all hr for accessibility we create new hr with extra div element. Moved to switcher
div.hr {
   height: 1px;
   border-bottom: 1px solid #dadada;
}
 */

/* 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;
  font-size:.9em;
}

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

}

/* HEADINGS */

div#content h1, h2 {
   font-size: 1.3em; 
   text-align: left; 
   line-height: 1.3em; 
   padding: 0 0 0 5px; /*indents slightly*/
   margin: 0 0 .5em 0; /*air at bottom*/
}

div#content h3 {
   font-size: 1.1em;
   line-height: 1.3em;
     padding: 0 0 0 5px;
   margin: 0 0 .25em 0em;
}

div#content h4 {
   font-size: 1.0em;
   font-style: italic;
   line-height: 1.3em;
     padding: 0 0 0 5px;
   margin: 0 0 0.25em 0em;
}
div#content h5 {
   font-size: 1.0em;
   font-weight: bold;
   line-height: 1.3em;
   margin: 0 0 0.25em 10px;
}
h6 {
   font-size: 1em;
   font-style: italic;
   font-weight: bold;
   line-height: 1.3em;
   margin: 0 0 0.25em 10px;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1em 0;  /* some air around p elements */
   line-height:1.7em;
   padding: 0 0.8em 0 10px; /*0 2em 0 10px;*/
}

p.section {font-weight:bold}

.smallcaps {font-variant: small-caps}


table {
	float:none;
	vertical-align:top;
	text-align:left;
	margin: 0 0 1em 10px;
}

table#schedule {
	text-align:center;
	}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}

/* removed for browser defaults
em, i {
   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 {
   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.7em;
   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 */
