/**************************************************************
   Original Creater of the Template
 --------------------------------------------------------------
   AUTHOR:  Pat Heard (fullahead.org)
   DATE:    2006.03.19
   PURPOSE: Controls the layout of the site and styles
            the menus
 **************************************************************
   Adapted to Websitebaker CMS
 --------------------------------------------------------------
   AUTHOR:  Ivo Stettler (family-stettler.ch / asge.ch)
   DATE:    March 2007
 **************************************************************/

/**************************************************************
   #content: Sets the width of the site.  Make changes here
             to convert to a fixed width site.
 **************************************************************/

#content {  
  height: 100%;
  min-height: 100%;

  text-align: left;
}

#content,
#width {
  /* max-width hack for IE since it doesn't understand the valid css property */
  width: expression(document.body.clientWidth > 1000 ? "1000px" : "94%");  
  max-width: 1000px;
  margin: 0 auto;
}

#content[id],
#width[id] {
  width: 94%;
  height: auto;
}

/**************************************************************
   #header: Holds the site title and header images
 **************************************************************/

#header {
	position: relative;
	height: 120px;
	background-image: url(images/bg/asge_head_right.jpg);
}

/* Holds the site title and subtitle */
#header #title {
	position: absolute;
	z-index: 3;
	top: 10px;
	left: 130px;

	padding: 5px;
	text-align: right;
}

#header h1 {
	margin: 0;
	padding: 0;
	font: normal normal 900 3em "trebuchet ms", serif;
	letter-spacing: -2px; /*  text-transform: lowercase; */
	color: Navy;
}

#header h2 {
	position: absolute;
	top: 50px; /* 75px; */ /*	right: 0px; */
	margin: 0;
	padding: 0;
	font: normal 900 1em "trebuchet ms", serif; /*  text-transform: lowercase;  */
	color: Navy;
	letter-spacing: normal;
}


/* Sets where the header images will go */
#header img.left {
  position: absolute;
  z-index: 1; 

  top: 0;
  left: 0;
}

#header img.right {
	position: absolute;
	z-index: 0;
	top: 0;
/*	right: 0; */
	background-repeat: repeat-x;
}


#header img.balloons {
  position: absolute;
  z-index: 2;

  top: 70px;
  right: 400px;
}

/**************************************************************
   #breadcrumb: Shows the pathway
 **************************************************************/
#breadcrumb {
  background-color: #f1f1f1;
  border-top: 1px solid darkgray;
  border-bottom: 1px solid darkgray;
}

/**************************************************************
   #search: Search box
 **************************************************************/
#search {
  position: absolute;
  z-index: 4; 
	float: left;
	clear: both;
  right: 0px;
  bottom: 0px; 
	padding-left: 120px;
	padding-right: 20px;
}

/**************************************************************
   #mainMenu: The top level site menu
 **************************************************************/

#mainMenu {
  position: absolute;
  z-index: 4; 
  right: 0px;
  bottom: 0px; 
	float: left;
/*	width: 100%; */
/*	height: 38px; */
	clear: both;
/*	border-top: 1px solid darkgray; */
	border-bottom: 1px solid darkgray;
	vertical-align: bottom;
	padding-left: 120px;
}


#mainMenu ul {
  margin: 0;
  padding: 0;
}

#mainMenu li {
  display: inline;
  list-style: none;
  margin: 0;
  padding: 0;
}

#mainMenu li a {
  float: left;
  margin: 0 2px;
  padding: 5px 0.5em;

  font: 500 1.1em "trebuchet ms", serif;
  text-decoration: none;
/*  text-transform: lowercase; */
  color: #6e89dd;   /* #FFF; */
  background: #D6DFFF;
  border-top: 5px solid darkblue;
}

#mainMenu li a:hover,
#mainMenu li a.here,
#mainMenu li a.menu-current,
#mainMenu li a.menu-parent {
  color: white; /* midnightblue; */ 
/*  color: #65EBFF; */ 
  background: #6890EF;
  border-top: 5px solid darkblue;
}

#mainMenu li a.last {
  margin-right: 0;
}

/**************************************************************
   #login
 **************************************************************/
#loginBox {
/*  position: relative;
  top: 10px; 
  background:#d6dff7; */
/*	border: 1px solid darkgrey; */ /*#4169E1; */ 
}

.leftbox{
  position: relative;
/*  top: 10px; */
  margin-top: 10px; 
  background:#d6dff7;
	z-index: 1;
}

.leftboxHeader {
  position: relative;
  padding-left: 10px;
  padding-right: 10px;
	font: 600 1.4em "trebuchet ms", serif;
	background: white;
	color: #6890EF;
	border-top: 2px solid darkgrey;
	border-left: 2px solid darkgrey;
	border-right: 2px solid darkgrey;
	border-bottom: 1px solid darkgrey;
	z-index: 3;
}

.leftboxBody {
  position: relative;
  padding-left: 10px;
  padding-right: 10px;
	border-left: 2px solid darkgrey;
	border-right: 2px solid darkgrey;
	border-bottom: 2px solid darkgrey;
	z-index: 2;
}

#loginBox {
  position: relative;
  top: 10px; 
  background:#d6dff7; 
/*	border: 1px solid darkgrey; */ /*#4169E1; */ 
	z-index: 1;
}

div.loginHeader {
  position: relative;
/*  margin-left: 5px;
  margin-right: 5px; */
  padding-left: 10px;
  padding-right: 10px;
/*  top: 5px; */
	font: 600 1.4em "trebuchet ms", serif;
	background: white;
	color: #6890EF;
/*	border: 1px solid darkgrey; *//*#4169E1; */ 
	border-top: 2px solid darkgrey;
	border-left: 2px solid darkgrey;
	border-right: 2px solid darkgrey;
	border-bottom: 1px solid darkgrey;
	/*	background: #4169E1; */
	z-index: 3;
}

div.loginBody {
  position: relative;
/*  top: -1px; */
/*  margin-left: 5px;
  margin-right: 5px; */
  padding-top: 5px;
  padding-left: 10px;
  padding-right: 10px;
/*	font: 600 1.4em "trebuchet ms", serif;
	background: white;
	color: #6890EF; */
/*	border: 1px solid darkgrey; */ /*#4169E1; */ 
	border-left: 2px solid darkgrey;
	border-right: 2px solid darkgrey;
	border-bottom: 2px solid darkgrey;
	/*	background: #4169E1; */
	z-index: 2;
	
}

/**************************************************************
   .sideMenu: The side bar menu
 **************************************************************/
#sideMenu {
  position: relative;
  top: 5px; 
  background:#d6dff7; 
/*	border: 1px solid darkgrey; */ /*#4169E1; */ 
	z-index: 1;
}

#sideMenu div.menuHeader {
  position: relative;
        /*  margin-left: 5px;
          margin-right: 5px; */
  padding-left: 10px;
        /*  top: 5px; */
	font: 600 1.4em "trebuchet ms", serif;
	background: white;
	color: #6890EF;
/*	border: 1px solid darkgrey; */ /*#4169E1; */ 
	border-top: 2px solid darkgrey;
	border-left: 2px solid darkgrey;
	border-right: 2px solid darkgrey;
	border-bottom: 1px solid darkgrey;
      	/*	background: #4169E1; */
	z-index: 3;
}

#sideMenu div.menuBody{
  position: relative;
  top: -3px;
	border-left: 2px solid darkgrey;
	border-right: 2px solid darkgrey;
	border-bottom: 2px solid darkgrey;
/*  margin-left: 5px;
  margin-right: 5px; */
/*  padding-left: 10px; */
/*  position: relative;
  top: 5px; */
	/*	background: #4169E1; */
	z-index: 2;
}

ul.sideMenu {
*  position: relative;
/*  top: 5px; */ 
  margin: 0;
  padding: 0;  
  background: #d6dff7;
/*	border: 1px solid darkgrey; */ /*#4169E1; */ 
/*  list-style-image: url(images/bg/bullet_blue_small.gif); */
/*  list-style-type: none; */ 
}

.sideMenu li {
  display: inline;
  
  /* Needed since IE fails when you give it list-style: none; */  
  list-style-image: url(foo.gif);
  font: 400 1.1em "trebuchet ms", serif;
}

.sideMenu li.menu-current,
.sideMenu li.menu-sibling {
	font-weight: 500;
}


.sideMenu li a {
  display: block;
  margin: 0.2em 0;
  padding: 3px 5px;      
  text-decoration: none;
  color: darkblue; /* #6e89dd; */ /* darkblue; */ /* #6890EF; */ /* #FFF; */
} 

.sideMenu li a.menu-0 {
	display: block;
	padding-bottom: 5px;
	/*	color: #FFFFFF; */ /* #65EBFF; */
	background: #AFC6FF; /* #555; */
}

.sideMenu li a:hover {
	color: #FFFFFF;   /*#65EBFF; */
	background: #6890EF; /* #5F5F5F; */
}

/* Active menu item */
.sideMenu li.here,
.sideMenu li a.menu-current {
	display: block;
	padding-bottom: 5px;
	color: #FFFFFF; /* #65EBFF; */
	background: #6890EF; /* #555; */
}


/* Submenu of active menu item */
.sideMenu li.here ul {
  margin: 0;
  padding: 0;
}

.sideMenu li.here ul li a,
.sideMenu li.menu-1 {
  display:block;
  padding-left: 25px;
  font: 400 1em verdana, arial, sans-serif; 
  color: #FFF;  
  background: url(images/bg/bullet_blue.gif) no-repeat 10px 0px; 
}

.sideMenu li.menu-2 {
  display:block;
  margin-left: 15px;
  padding-left: 25px;
  font: 400 1em verdana, arial, sans-serif; 
  color: #FFF;    
  background: url(images/bg/bullet_blue.gif) no-repeat 10px 0px;
}

.sideMenu li.here ul li a:hover {
  color: darkblue; /* #6e89dd; */   /* #9FF3FF; */
  background: #d6dff7 /*#5F5F5F*/ url(images/bg/bullet_blue.gif) no-repeat 10px 0px;
}



/**************************************************************
   #page: Holds the main page content.
 **************************************************************/

#page {
  float: left;
  width: 100%;
  clear: both;  
  padding-bottom: 1em;
}

.page_content {
	/*  background: #FFFFFF; */
	/*  padding: 1em 1em 1em 1em; */  
	
  font: 400 1em verdana, arial, sans-serif;
  line-height: 140%;
	
}

.page_content td {
  font: 400 0.8em verdana, arial, sans-serif;
  line-height: 140%;
/*	padding: 1em 1em 1em 1em; */ 
	padding-left: 1em;
	padding-right: 1em;
}

/**************************************************************
   #footer: The page footer - will stick to the bottom if not
            enough content.
 **************************************************************/

#footer {
	float: right;
	width: 100%;
	clear: both; /*  margin-top: -3.8em; */
/*	background-image: url(images/bg/max_foot_bg.jpg); */
  background-color: #f1f1f1;
	background-position: right;
	background-repeat: no-repeat;
	border-top: 1px solid darkgray; 
}

/* Sets the width of the footer content */
#footer #width {
  position: relative;
  z-index: 3;
  font-size: 0.85em;
  padding-top: 10px; /* 27px; */
}


/**************************************************************
   AnyNews module (Display News on any page)
 **************************************************************/
#myNews h2 {
  position: relative;
  /*top:10px; */
  color: darkblue;
	background: #AFC6FF;
	margin-top: 30px;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
	padding-right: 5px;
  border-bottom: 1px solid darkgrey;
  font-weight: 600;
}

/**************************************************************
   News module
 **************************************************************/
 
.post_header h2{
  color: darkblue;
	background: #AFC6FF;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
	padding-right: 5px;
  border-bottom: 1px solid darkgrey;
  font-weight: 600;

}
.post_top {
  color: darkblue;
	background: #AFC6FF;
}
.post_title,
.post_date {
/*  color: darkblue;
	background: #AFC6FF; */
/*  background-color: #DCDCDC;
  color: #000000;*/
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
	padding-right: 5px;
  border-bottom: 1px solid darkgrey;
}

.post_title a {
  font-weight: 600;
 	text-decoration: none;
  color: darkblue;
/* 	font-weight: 600; */
}

.post_title a:hover {
 	font-weight: 600;
 	color: white;
 	text-decoration: none;

}
.page_content .post_date { 
  text-align: right;
  font-size: 0.7em;
  font-weight: 500;
}
.post_short {
  text-align: justify;
  padding-bottom: 5px;
  padding-top: 5px;
	padding-left: 5px;
	padding-right: 5px;
}



/**************************************************************
   Width classes used by the site columns
 **************************************************************/

.width100 {
  width: 100%;
}

.width75 {
  width: 74%;
}

.width50 {
  width: 49.7%;
}

.width33 {
  width: 32.7%;
}

.width25 {
  width: 24.7%;
}

/**************************************************************
   Alignment classes
 **************************************************************/

.floatLeft {
  float: left;
}

.floatRight {
  float: right;
}

.alignLeft {
  text-align: left;
}

.alignRight {
  text-align: right;
}



/**************************************************************
   Generic display classes
 **************************************************************/

.clear {
  clear: both;
}

.block {
  display: block;
}

.small {
  font-size: 0.8em;
}

.green {
  color: #A1FF45;
}

.red {
  color: #EA1B00;
}

.grey {
  color: #666;
}

.grey a {
  color: #999;
}

.grey a:hover {
  color: #EEE;
}

.contentBlock {
  margin-bottom: 2em;
  background: #FFFFFF; 
}

.gradient {
  margin-bottom: 2em;
/*  background: #555 url(images/bg/gradient.jpg) repeat-x bottom left; */ 
  background: #555; 
}

