/* (C) 2007 Freiraus Verlag / montodesign.com
/* global settings
----------------------------------------------------------------------------*/
body
{
    background-color: #606060;
    font: 70%  'Helvetica Neue', Helvetica, Verdana, sans-serif;
    margin-top: 1.5em;
    line-height: 1.5em;
}

h2
{
    font-size: 100%;
    font-weight: bold;
    padding-bottom: 0;
    border-bottom: solid 1px #666;
    margin-bottom: 1em;
}

h3 
{
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 0.5em;
    font-size: 100%;
}

p
{
    margin-bottom: 0;
}
span.super
{
    vertical-align: super;
    font-size: 80%;
}
div#header-wrapper, div#main
{
    width: 1000px;
    background-color: #fff;
}

div#main
{
    float: left;
    width: 950px;
    padding: 25px;
    margin-right: 200px;
}

div#header-wrapper
{
    margin-top: 0px;
}

div#header-wrapper img
{
    margin-bottom: 10px;
}

div#content
{ 
    min-height: 500px; 
    height: auto !important; /* CSS compliant browsers */ 
    height: 500px; /* IE6 sees this and creates height if needed */ 
}

div#content img.center
{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

div#sidebar
{
    float: right;
    width: 300px;
    height: 400px;
    overflow: auto;
    padding: 0px;
    padding-right: 10px;
    color: #333;
    
    /* fix for IE6 float double margin */
    display: inline;
}

div.content
{
    width: 500px;
    float: left;
}

div.touren
{
    width: 800px;
}
div.touren h2, div#infos h2
{
    padding-top: 2em;
}

div.touren, div.touren h3, div#infos
{
    line-height: 1.5em;
}

div.touren div.sidebar
{ 
    float: right;
    width: 200px;
}

div.touren div.sidebar_offset
{ 
    margin-right: 11px;
}

div.touren div.sidebar_offset p
{ 
    font-weight: bold;
    vertical-align: bottom;    
}

div.touren div.sidebar_offset img
{ 
    float: none;
    margin:0;
    margin-right: 15px;
}

div.touren div.tourinfo,
div.touren div.tourinfo h3
{
    font-style: italic;
    color: #555;
}

div.touren div.tourinfo div
{
    margin-top: 50px;
    padding: 1em;
    font-size: 90%;
    color: #555;
    border: 1px solid #c9252c;
}

div#infos h3 img,
div.tourinfo img
{
    float: none;
    margin: 0;
    display: inline;
    vertical-align: middle;
}

div.touren p
{
    margin-bottom: 1em;
}

div.touren span
{
    padding: 1em;
}

div.touren ol li
{
    font-weight: bold;
}

div#sidebar a.slimbox
{
    float: left;
    margin: 5px;
    padding: 0;
}

div#sidebar p
{
    text-align: right;
    margin-bottom: 0.5em;
    font-weight: bold;
}

div#ads
{
    position: absolute;
    left: 1025px;
    top: 165px;
}

div#copyright p
{
    width: 950px;
    padding: 25px;
    font-size: 90%;
    text-align: center;
    color: #333;
    background: #fff;
    padding-bottom: 1.5em;
}

ul
{
    list-style: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 1em;
    text-indent: -1em;
}

ul li
{
    margin-bottom: 0.5em;
}

ul#nav li
{
    margin-bottom: 0;
}
div#sidebar img, 
div.tourinfo a img
{
  	margin: 0;
  	margin: 0px;
  	padding: 4px;
  	border: 1px solid #D9E0E6;
  	border-bottom-color: #C8CDD2;
  	border-right-color: #C8CDD2;
}

div#content
{
    float: left;
    width: 500px;
    padding-right: 110px;
    /* fix for IE6 float double margin */
    display: inline;
}

div#header
{
    padding: 10px;
    text-align: center;
}



/* 2-level menu */
div#nav-wrapper
{
    background-color: #c9252c;
    width: 100%;
}

#nav
{
    float: left;
    width: 975px;
}

#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
}

#nav a {
	display: block;
	padding: 25px 0 0 0;
	overflow: hidden;
	height: 0px !important; 
	height /**/:25px; /* for IE5/Win only */
}

#nav a:hover
{
    background-position: 0 -25px;
}
#nav li { /* all list items */
	float: left;
	wizdth: 10em; /* width needed or else Opera goes nuts */
	margin-left: 1.5em;
	display: inline; /* fix double-margin bug */
}

#nav li ul li
{
    margin-left: 0;
    display: inline; /* fix double-margin bug */
}

#nav li.right
{
    float: right;
}

#nav li ul { /* second-level lists */
	position: absolute;
	width: 100px;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	z-index: 1005;
}

#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}




#tstart a  
{
    width: 29px;
    background: url(../img/menu/start.gif) top left no-repeat;
}

#tslowenien a  
{
    width: 58px;
    background: url(../img/menu/slowenien.gif) top left no-repeat;
}

#ttourengebiet a  
{
    width: 73px;
    background: url(../img/menu/tourengebiet.gif) top left no-repeat;
}

#ttourenfuehrer a  
{
    width: 72px;
    background: url(../img/menu/tourenfuehrer.gif) top left no-repeat;
}

#tgallerie a  
{
    width: 45px;
    background: url(../img/menu/gallerie.gif) top left no-repeat;
}

#treisen a  
{
    width: 38px;
    background: url(../img/menu/reisen.gif) top left no-repeat;
}

#tdownloads a  
{
    width: 24px;
    background: url(../img/menu/downloads.gif) top left no-repeat;
}

#tlinks a  
{
    width: 30px;
    background: url(../img/menu/links.gif) top left no-repeat;
}

#timpressum a  
{
    width: 112px;
    background: url(../img/menu/impressum.gif) top left no-repeat;
}

#tbestellung a  
{
    width: 85px;
    background: url(../img/menu/buchbestellung.gif) top left no-repeat;
}

#tsub1 a  
{
    width: 100px;
    background: url(../img/menu/submenu1.gif) top left no-repeat;
}

#tsub2 a  
{
    width: 100px;
    background: url(../img/menu/submenu2.gif) top left no-repeat;
}

#tsub3 a  
{
    width: 100px;
    background: url(../img/menu/submenu3.gif) top left no-repeat;
}

#tsub4 a  
{
    width: 100px;
    background: url(../img/menu/submenu4.gif) top left no-repeat;
}

#tsub5 a  
{
    width: 100px;
    background: url(../img/menu/submenu5.gif) top left no-repeat;
}

#treisensub1 a  
{
    width: 100px;
    background: url(../img/menu/touren.gif) top left no-repeat;
}

#treisensub2 a  
{
    width: 100px;
    background: url(../img/menu/infos.gif) top left no-repeat;
}

#treisensub3 a  
{
    width: 100px;
    background: url(../img/menu/guides.gif) top left no-repeat;
}

#treisensub4 a  
{
    width: 100px;
    background: url(../img/menu/anmeldung.gif) top left no-repeat;
}

/* end 2-level menu */

/* clearfix: http://www.positioniseverything.net/easyclearing.html
----------------------------------------------------------------------------*/
.clearfix:after 
{
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix
{ 
    display: inline-block;
}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */



/* slideshow
----------------------------------------------------------------------------*/
#myGallery
{
    width: 600px !important;
    height: 400px !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #999;
}

.jdGallery .slideElement
{
    background-color: #fff !important;
}

.jdGallery .loadingElement
{
    background-color: #fff !important;
}


/* error handling
----------------------------------------------------------------------------*/
.error
{
    color: red;
    padding: 20px 0;
}

.errorlist
{
    color: red;
}
/* copy from Django admin */
.errornote { font-size:12px !important; display:block; padding:4px 5px 4px 25px; margin:0 0 3px 0; border:1px solid red; color:red;background:#ffc url(../img/admin/icon_error.gif) 5px .3em no-repeat; }

/* download table
----------------------------------------------------------------------------*/
table.downloads caption 
{
    margin-top: 1.5em;
    background-color: #fff;
    font-weight: bold;
}

th, td {
    padding: 8px 6px 8px 0;
    border-bottom: 1px solid #b5b5b5;
    vertical-align: top;
}

th p.normal 
{
    font-weight: normal;
}
table.downloads th {
    color: #999;
}

table.downloads td a, table.downloads td.titel {
/*    FIXME: cause 1px offset in downloads table display: block;*/
    font-weight: bold;
}

tr.highlight
{
    background: #efefef;
}


em
{
    background: #fff;
    font-weight: bold;
    font-style: normal;
}

/* guides
----------------------------------------------------------------------------*/
p.guide
{
    margin-bottom: 40px;
}
p.guide img
{
    float: right;
    margin-top: 0;
    margin-left: 20px;
    border: 1px solid #ccc;
}

/* reservation table
----------------------------------------------------------------------------*/
table#anmeldung th, 
table#anmeldung td
{
    border: none;
}
table#anmeldung th
{
    float: left;
    width: 12em;
}
/* AGB
----------------------------------------------------------------------------*/
div#agb ol.nested
{
    margin-left: 3em;
}

div#agb p
{
    margin-bottom: 1em;
}

/* Gallery
----------------------------------------------------------------------------*/
div#gallery
{
    background: transparent url(/media/static/img/ajax-loader-big.gif) 50% 50% no-repeat;
}

div#galleries img
{
    vertical-align: middle;
    margin-right: 10px;
}

div#galleries a
{
    color: black;
    font-weight: bold;
    text-decoration: none;
}