/*----------------------------------------------------------------------------
	main.css

	this css-file contains all definitions, that are independend from the
	colorschemes.

	(c) Schlund + Partner AG


	----------------------------------------------------------------------
	Modified and extended by Barti Bartman for the Sports-Template

	This CSS-File uses the original "Tanteks Box Modell Hack"
	http://www.tantek.com/CSS/Examples/boxmodelhack.html

	NOTE:
	Older W3C CSS validators return errors when the voice-family property
	is used in a 'screen' style sheet. This is an error in the W3C CSS
	validator itself. The validator should report a warning, not an error,
	when properties which are unsupported by a particular medium are used,
	and this has been reported to the W3C:

 ----------------------------------------------------------------------------*/


/*----------------------------------------------------------------------------
 styles for specific classes and ids
----------------------------------------------------------------------------*/


/*-- global container ------------------------------------------------------*/

#container {
	position: relative;
	padding: 0;
	margin: 0 auto;
	text-align: left;
	width: 751px;
}

/*-- main container: contains all between header and footer ----------------*/

#main_container {
  clear: both;
	padding: 0;
	margin: 0;
	position: relative;
}

/*--- the main container is devided in sub containers ----------------------*/

#sub_container2 {
	width: 635px;
	margin-left: 60px;
}

#content_container {
	overflow: hidden;
	margin: 0;
	padding: 0;
	width:630px;
}

/*--- header ---------------------------------------------------------------*/

#header	{
	position: absolute;
	padding: 0;
	margin: 0;
	height: 391px;
	width: 751px;
}

/*--- key visual -----------------------------------------------------------*/

#key_visual {
	position: absolute;
	top: 0px;
	left: 8px;
	width: 735px;
	height: 335px;
}

/*--- logo -----------------------------------------------------------------*/

#logo {
	width: 276px;
	height: 38px;
	position: absolute;
	top: 216px;
	left: 0px;
}

/*--- caption (as text or background image) --------------------------------*/

#slogan {
	position: relative;
	text-align: center;
	margin: 0;
	color:#FFF;
	
}

#news-box	{
	position:relative;
	float:right;
	padding: 10px;
	margin: 20px 0px 20px 40px;
	height: 100%;
	width: 78px;
	background:#d8cca8;
	border:4px solid #c8bc97;
}

.floatleft {float:left}

.floatright {float:right}

h2 {color:#FFFFFF}


/*new nav*/

/*------------------------------------*\
	NAV
\*------------------------------------*/
#nav{
	float:left;
	width: 697px;
	list-style:none;
	font-weight:normal;
	margin-bottom:0px;
	z-index:1000;
	background:#aea27d;
	font-family:Georgia, "Times New Roman", Times, serif;	
	border-bottom:1px solid #fff;
	
}




#nav li{
	float:left;
	margin-right:3px;
	position:relative;
	display:block;
	
	
}
#nav li a{
	display:block;
	padding:8px 5px 8px 5px;
	color:#2b2213;
	background:#d8cca8;
	text-decoration:none;
	

	/*text-shadow:1px 1px 1px rgba(0,0,0,0.75); /* Text shadow to lift it a little */
	/*-moz-border-radius:2px;
	-webkit-border-radius:2px;
	border-radius:2px;*/
}
#nav li a:hover{
	color:#fff;
	background:#3f3626; /* Solid colour fall-back */
	/*background:rgba(107,12,54,0.75);*/ /* It'll look nice semi-transparent */
	text-decoration:none;
}

/*--- DROPDOWN ---*/
#nav ul{
	list-style:none;
	position:absolute;
	left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
	opacity:0; /* Set initial state to transparent */
	-webkit-transition:0.25s linear opacity; /* Make the dropdown fade-in in Webkit */
	z-index:999;
	
	
	
}
#nav ul li{
	padding-top:1px; /* Introducing a padding between the li and the a give the illusion spaced items */
	float:none;
	border-bottom:1px solid #fff;
}
#nav ul a{
	white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
	display:block;
	color:#fff;
}
#nav li:hover ul{ /* Display the dropdown on hover */
	left:0px; /* Bring back on-screen when needed */
	opacity:1; /* Fade to opaque */
}
#nav li:hover a{ /* Set styles for top level when dropdown is hovered */
	background:#7d6e56; /* Solid colour fall-back */
	color:#fff;
	/* background:rgba(107,12,54,0.75); It'll look nice semi-transparent */
	text-decoration:none;
}
#nav li:hover ul a{ /* Override some top level styles when dropdown is hovered */
	text-decoration:none;
	-webkit-transition:-webkit-transform 0.075s linear;
}
#nav li:hover ul li a:hover{ /* Set styles for dropdown when items are hovered */
	background:#594e3b; /* Solid colour fall-back */

	/*background:rgba(51,51,51,0.75); /* It'll look nice semi-transparent */
	/*text-decoration:underline;*/
	-moz-transform:scale(1.05);
	-webkit-transform:scale(1.05);
	border-bottom:1px solid #fff;
}












/*--- main navigation ------------------------------------------------------*/

#main_nav_container {
	position: relative;
	margin: 0px 7px;
	width: 695px;
	padding:0;
}

#main_nav_list {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#main_nav_list li {
	float: left;
	margin: 0;
	padding: 0;
}

/*--- main navigation items ------------------------------------------------*/

a.navimain_current { 
	margin: 0;
  padding: 0;
  display: block;
	float:left;
	height: 27px;
  width: 150px;
}

a.navimain_link {
	margin: 0;
  padding: 0;
  display: block;
	float:left;
	height: 27px;
  width: 150px;
}

/*--- subnavigation --------------------------------------------------------*/

.sub_nav_container {
	position: relative;
	top: -2px;
	clear: both;
	padding: 0;
	margin: 0;
	width: 345px;
}

.sub_nav_list {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.sub_nav_list li {
	float: left;
	margin: 0;
	padding: 0;
}

/*--- subnavigation items --------------------------------------------------*/

a.navisub_current {
	margin: 0;
	padding: 0px 0px;
	height: 21px;
	voice-family: "\"}\"";
	voice-family: inherit;
	height: 21px;
	width: 114px;
	display: block;
	float:left;
	text-align:center;
}

a.navisub_link {
	margin: 0;
	padding: 0px 0px;
	height: 21px;
	voice-family: "\"}\"";
	voice-family: inherit;
	height: 21px;
	width: 114px;
	display: block;
	float:left;
	text-align:center;
}

/*--- content --------------------------------------------------------------*/

.content table {
	border-width: 4px;
}

.content th {
	padding: 3px 2px 3px 10px;
	font-weight:normal;
}

.content td {
	padding: 3px 2px 3px 10px;
}

/*--- footer ---------------------------------------------------------------*/

#footer {
	margin: 0;
	padding: 0;
	width: 775px;
}

#footer_text {
	padding: 10px 0 10px 0;
	margin: 0 30px 0 30px;
	text-align: center;
}



/*----------------------------------------------------------------------------
  default-styles for html-elements
----------------------------------------------------------------------------*/

/*--- body -----------------------------------------------------------------*/

body#main_body {
	margin: 0;
	padding: 0;
	text-align: center;
}

/*--- paragraph ------------------------------------------------------------*/

.content p {
	margin: 5px 0 20px 0;
	padding: 0;
}

/*--- forms ----------------------------------------------------------------*/

.content fieldset {
	padding: 15px;
	border-style: solid;
	border-width: 1px;
}

.content input {
	border-style: solid;
	border-width: 1px;
}

.content textarea {
	border-style: solid;
	border-width: 1px;
}

/*--------------------------------------------------------------------------*/

.hidden { display: none; }

/*--------------------------------------------------------------------------*/

