/* ==================================== */
/* = Styles for Congres Intranet 2009 = */
/* ==================================== */
/* = (c)2008 Flurin Egger             = */
/* ==================================== */

/* Set font-size to 62.5% which should be 10px in most browsers but has the andvantage of being resizable. */
body{
/*  background: url(../images/backgrounds/body.gif) #e6e6e6 0 0 repeat-x;*/
	font-family: arial, helvetica, sans-serif;
	font-size: 62.5%;
	text-align: center;
	color: #531f5e;
}

#wrapper{
  width: 900px;
  text-align: left;
  margin: 0 auto; 
}


/* ================ */
/* = Autoclearing = */
/* ================ */

#body .bottom:after,
#navigation:after,
#navigation ul:after,
.bottom .teasers:after,
#sponsors ul.sub:after,
.page #news .wrapper:after,
.page #news ul:after{
	content: ".";
	visibility:  hidden;
	clear: both;
	display: block;
	height: 0px;
}


/* ============== */
/* = Navigation = */
/* ============== */

#header{
  display: block;
}

#navigation{
  position: relative;
  z-index: 2;
  margin-top: -3px;
  position: relative;
  background: url(../images/backgrounds/navigation-right.gif) top right no-repeat;
  padding-right: 5px;
  font: 1.7em "Bookman Old Style", georgia, times, serif;
}

#navigation ul{
  padding-left: 5px;  
  background: url(../images/backgrounds/navigation-left.gif) 0 0 no-repeat;
}

#navigation ul li,
#navigation ul li a{
  line-height: 47px;
  vertical-align: middle;
  height: 47px;
  color: #fff;
  float: left;
}

#navigation ul li a,
#navigation ul li a:link,
#navigation ul li a:visited{
  padding: 0 10px;
  border-right: 1px solid #531f5e;  
  text-decoration: none;
}

#navigation ul li a:hover{
  background: #531f5e;
  text-decoration: none;
}

#location{
  position: absolute;
  top: 0;
  right: 30px;
}

/* ========= */
/* =  Body = */
/* ========= */

#body{
  clear: both;
  background: url(../images/backgrounds/sponsors-middle.gif) top right repeat-y;  
}

#body .middle{
  background: url(../images/backgrounds/contentarea-page-middle.gif) bottom left repeat-y;
}

#body .bottom{
  margin-bottom: 10px;
  background: url(../images/backgrounds/contentarea-page-bottom.gif) bottom left no-repeat;
}

#content{
  float: left;  
  width: 590px;
  margin-right: 10px;
  padding: 12px 20px 30px 20px;  
}

/* ======== */
/* = News = */
/* ======== */

#news{
  font-size: 0.9em;
  float: none;
  clear: both;
  background: url(../images/backgrounds/news-page-top.gif) 0 0 no-repeat;
  margin-bottom: 10px;
}

#news .wrapper{
  background: url(../images/backgrounds/news-page-bottom.gif) left bottom no-repeat;  
}

#newsitems{
  float: left;
  width: 630px;
  margin-right: 10px;
  padding: 18px 25px;
}

#newsitems h3{
  display: inline;
  font-size: 1em;
}

#newsletter{
  float: left;
  width: 160px;
  padding: 18px 25px;  
}

#news h2{
  font-size: 1.8em;
  margin-bottom: 0.4em;  
}

#news ul{
  background: url(../images/backgrounds/news-ul.gif) -25px 0;
}

#news li{
  float: left;
  width: 170px;
  margin: 0 50px 0 0;
}

#news li.last{
  margin-right: 0;
}

#news a.more{
  color: inherit;
  font-style: italic;
}



/* ============ */
/* = Sponsors = */
/* ============ */

#sponsors{
  float: left;
  position: relative;
  z-index: 2;
  width: 260px;
  padding-bottom: 20px;
  margin-top: -105px;
  margin-bottom: 0px;
}

#sponsors .content,
#sponsors .head{
  background: url(../images/backgrounds/sponsors-middle.gif) top left repeat-y;  
  width: 224px;  
  padding: 0 18px;  
}

#sponsors .head{
  background: url(../images/backgrounds/sponsors-top.gif) 0 0 no-repeat;    
  padding-top: 14px;
}

#sponsors h2{
  text-align: right;
  background: url(../images/backgrounds/h2-sponsors.gif) 0 50% repeat-x;
}

.intranet_landing #sponsors h2{
  background: none;
}

#sponsors h2 img{
  padding-left: 10px;
  background: #fff;
}

#sponsors ul{
  text-align: center;
  padding: 24px 0;
}

#sponsors ul.sub{
  text-align: center;  
  border-top: 1px solid #c8c8c8;
}

#sponsors ul.sub li{
  margin: 0 0 3px 0;
}

#sponsors a.more{
  font-size: 0.9em;
  color: #7f7f7f;
  display: block;
  text-align: right;
  clear: both;
}

/* =========== */
/* = Teasers = */
/* =========== */

.top .teasers{
  height: 86px;  
  padding-bottom: 28px;
  background: transparent url(../images/backgrounds/contentarea-page-top.gif) bottom left no-repeat ;  
}

.top{
  position: relative;
  margin-top: -8px;
  padding-top: 8px;  
  background: url(../images/backgrounds/teasers-top-page.jpg) 0 0 no-repeat;
}

.bottom .teasers{
  position: relative;
  padding-top: 10px;
  padding-right: 260px;
}

.bottom .teasers,
.top .teasers{
  width: 640px;
}

.bottom{
  position: relative;  
  padding-bottom: 15px;
  background: url(../images/backgrounds/teasers-bottom.gif) left top no-repeat;
}

.teasers a{
  float: left;  
}

.top .teasers a{
  float: right;
}

.bottom .teasers a{
  padding-left: 9px;
}

.top .teasers a{
  padding-right: 9px;  
}


/* ================= */
/* = Home specific = */
/* ================= */

.home #body{
  padding-bottom: 10px;
}

.home  #body .middle{
  background: url(../images/backgrounds/contentarea-home-middle.gif) bottom left repeat-y;
}

.home #body .bottom{
  background: url(../images/backgrounds/contentarea-home-bottom.gif) bottom left no-repeat;
  margin-bottom: 0;
}

.home #content{
  width: 372px;
}

.home #news{
  float: left;
  clear: none;  
  background: none;
  width: 168px;
  margin-right: 10px;  
  padding: 12px 20px 20px 20px;
}

.home #news .wrapper{
  background: none;
}

.home #newsitems,
.home #newsletter{
  width: auto;
  padding: 0;
  margin: 0;
}

.home #news ul{
  background: none;
  margin-bottom: 1em;
}

.home #news li{
  float: none;
  margin: 0;
  border: none;
  border-bottom: 1px solid #b6b6b6;
  margin-bottom: 2em;
  padding-bottom: 2em;
  width: auto;
}

.home #news li.last{
  border: none;
}

.home #sponsors{
  margin-top: -149px;  
  margin-bottom: -85px;  
}

.home .top .teasers{
  height: 130px;
  background: transparent url(../images/backgrounds/contentarea-home-top.gif) bottom left no-repeat ;    
}

.home .top{
  height: 158px;
  background: url(../images/backgrounds/teasers-top-home.jpg) 0 0 no-repeat;  
}

.home .bottom .teasers{
  background: transparent url(../images/backgrounds/sponsors-bottom.gif) bottom right no-repeat ;  
}

/* =========================== */
/* = Landing specific styles = */
/* =========================== */

.landing #body{
  margin-top: 5px;
}

.landing #sponsors{
  float: left;
  position: relative;
  z-index: 2;
  width: 260px;
  padding-bottom: 20px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.intranet_landing #sponsors h2,
.landing #sponsors h2{
  font-size: 150%;
  color: #767474;
  text-transform: uppercase;
}
.intranet_landing #sponsors h2 span
.landing #sponsors h2 span{
  background: #fff;
  padding-left: 1em;
}


.landing #sponsors .head{
  background: url(../images/backgrounds/sponsors-landing-top.gif) 0 0 no-repeat;    
  padding-top: 14px;
}

.landing #content{
  background: url(../images/backgrounds/contentarea-page-top.gif) top left no-repeat;  
}


/* ======================== */
/* = Regular text content = */
/* ======================== */

a,
a:link,
a:visited{
  color: #531f5e;
  text-decoration: underline;  
}

a:hover{
  text-decoration: none;
}


#content h1{
  font-size: 2.2em;
  margin-bottom: 0.2em;  
}

.text{
  font-family: verdana,arial,helvetica, sans-serif;
  font-size: 1.2em;
  line-height: 1.6em;
}

.text h2{
  margin-bottom: 0.2em;
}

.text h3{
  
}

.text p,
.text ul{
  margin-bottom: 1em;
}

.text ul{
  list-style: disc outside;
  margin-left: 1.4em;
}

.text ul li{
  
}

.text table.smallerfont,
.text p.smallerfont{
  font-size: 0.9em;
}

.text table.smallestfont,
.text p.smallestfont{
  font-size: 0.8em;
}


/* ========== */
/* = Footer = */
/* ========== */

#footer{
  top: -5px;
  line-height: 35px;
  vertical-align:middle;
  text-align:right;
  padding: 0 10px;
  position: relative;
  clear: both;
  background: url(../images/backgrounds/footer.gif) 0 0 no-repeat;
}

#footer,
#footer a{
 color: #ae95b3;
}


/* ======== */
/* = Form = */
/* ======== */

table.form{
  border-spacing: 0;
  width: 100%;
  margin-bottom: 1em;
  margin-top: 0.5em;
}

table.form th,
table.form td{
  font-weight: normal;
  vertical-align: top;
  padding-bottom: 0.3em;
}

table.form .spaced th,
table.form .spaced td{
  padding-top: 1em;
}


table.form th{
  width: 240px;
}

table.form td input{
  width: 95%;
}

table.form td .radio input{
  width: auto;
}

table.form .invalid th label,
div.error{
  color: #d00;
}

div.error{
  padding: 10px 20px;
  background: #fee;
}

table.form div.error{
  background: none;
  padding: 0;
}

label em{
  color: #f00;
}