/****************************************************************************************
	FUBA.CSS
	
	Enthält alle Stile für den Haupt- und Seitensatzbereich, die nicht die einzelnen 
	Inhaltsseiten darstellen. 
	
	Stand: 15.07.2015, KD
 ****************************************************************************************/


/* ---------------------------------
	Grundeinstellungen
   --------------------------------- */

/* ...für alle Elemente: kein Rand, kein Abstand, gleiche Schriftart */
* {
	border-width: 0px;
	border-style: none;
	font-family: Trebuchet MS,Arial,Verdana;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}

/* ...für BODY-Element: */
body, html {
	background-color: #000000;
	color: #000000;
	font-size: 16px;
	height: 100%;
	overflow: auto;
	width: 100%;
}

body.smartphone,
body.tablet {
    background-image: url('images/background.jpg');
}

body.tippspiel {
	background-repeat: no-repeat;
}

/* bei bildschirmfüllenden Hintergründen wie bei PCs muss die Scrollfähigkeit für den body-Tag abgeschaltet werden,
   da dies vom eingebetteten img-Tag übernommen wird */
body.desktop { 
	overflow: auto;
}

body.desktop.canvas { 
	overflow: hidden;
}

body.dialog {
	background-color: #ffffff;
}

/* für Druckversion keine Hintergrundfarbe und -bilder */
body.printable {
	background-color: #ffffff;
	background-image: url('');
}

/* Links/Anker grundsätzlich in Schwarz und ohne Unterstreichung anzeigen */
a {
	color: #000000;
	text-decoration: none;
}

/* Zeilenumbrüche ohne (Schrift-)Höhe einsetzen */
br {
	font-size: 0px;
	height: 0px;
}

/* für alle Schalter einen hochstehenden Rahmen */
button, input[type="button"] , input[type="submit"] {
	background: linear-gradient(to bottom, white 20%, silver 100%);
	background-color: #dddddd;
	border-color: #dddddd #777777 #444444 #aaaaaa;
	border-radius: 3px;
	border-style: solid;
	border-width: 1px;
	cursor: pointer;
}

button:hover, input[type="button"]:hover , input[type="submit"]:hover {
	background: linear-gradient(to bottom, silver 20%, white 100%);
	background-color: #aaaaaa;
	border-color: #444444 #aaaaaa #dddddd #777777;
}

/* Header / Überschriften */
h1 {
	text-align: center;
}

h3 {
	color: #000000; 
	font-size: 15pt;
    text-align: center;
}

/* für alle Bildelemente immer eine zentrierte Vertikalausrichtung */
img {
	vertical-align: middle;
}

/* für alle Text-Eingabefelder einen tiefliegenden Rahmen */
input {
	background-color: #ffffff;
	border-color: #888888 #cccccc #dddddd #777777;
	border-width: 1px;
	border-style: solid;
}

/* für alle selektierten Text-Eingabefelder einen eingefärbten Hintergrund */
input.active {
	background-color: #eeddaa;
}

/* Text-Attribute wie Fettschrift o.ä. */
.normal {
	font-weight: normal;
}

.bold {
	font-weight: bold;
}

.italic {
	font-style: italic;
}

/* Text-Farben */
.black { color:#000; }
.white { color:#fff; }
.blue {	color:#00f; }
.green { color:#0f0; }
.red { color:#f00; }
.yellow { color:#ff0; }
.orange { color:#f60; }
.brown { color:#860; }
.darkgreen { color:#080; }
.darkblue {	color:#008; }
.darkred { color:#800; }

/* Standard-Hintergrundfarben */
.bg_black { background-color:#000; }
.bg_white { background-color:#fff; }
.bg_blue { background-color:#00f; }
.bg_green { background-color:#0f0; }
.bg_red { background-color:#f00; }
.bg_yellow { background-color:#ff0; }
.bg_orange { background-color:#f60; }
.bg_brown { background-color:#860; }
.bg_darkgreen { background-color:#080; }
.bg_darkblue { background-color:#008; }
.bg_darkred { background-color:#800; }
.bg_transparent { background-color:transparent; }

/* Textfarben in Abhängigkeit der gewählten Kategorie/Seite */
.txt_ad { color: #FF6666; }
.txt_ch { color: #78FF65; }
.txt_co { color: #78FF65; }
.txt_ev { color: #FF6666; }
.txt_fo { color: #78FF65; }
.txt_hi { color: #78FF65; }
.txt_mp { color: #FF6666; }
.txt_pw { color: #FF6666; }
.txt_pu { color: #68C5FF; }
.txt_r1 { color: #E8A115; }
.txt_r2 { color: #E8A115; }
.txt_r3 { color: #E8A115; }
.txt_r4 { color: #E8A115; }
.txt_r5 { color: #E8A115; }
.txt_r6 { color: #E8A115; }
.txt_sp { color: #78FF65; }
.txt_st { color: #68C5FF; }
.txt_tx { color: #E8A115; }
.txt_wm { color: #68C5FF; }
.txt_xt { color: #68C5FF; }

/* Hintergrundfarben in Abhängigkeit der gewählten Kategorie/Seite */
.ad { background-color: #FF6666; }
.ch { background-color: #78FF65; }
.co { background-color: #78FF65; }
.ev { background-color: #FF6666; }
.fo { background-color: #78FF65; }
.hi { background-color: #78FF65; }
.mp { background-color: #FF6666; }
.pu { background-color: #68C5FF; }
.pw { background-color: #FF6666; }
.r1 { background-color: #E8A115; }
.r2 { background-color: #E8A115; }
.r3 { background-color: #E8A115; }
.r4 { background-color: #E8A115; }
.r5 { background-color: #E8A115; }
.r6 { background-color: #E8A115; }
.sp { background-color: #78FF65; }
.st { background-color: #68C5FF; }
.tx { background-color: #E8A115; }
.wm { background-color: #68C5FF; }
.xt { background-color: #68C5FF; }

/* speziell für Debugging-Ausgaben */
div.debug,
div.debug_result,
div.debug_value {
	background-color: #cccccc;
	border: 2px solid #ff0000;
	color: #000000;
}

div.debug_array {
	background-color: #cccccc;
	border: 2px solid #ff0000;
	color: #000088;
}

div.debug_sql {
	background-color: #cccccc;
	border: 2px solid #ff0000;
	color: #008800;
}

/* Ausrichtungen */
.left {
	text-align: left;
}

.center {
	text-align: center;
}

.right {
	text-align: right;
}

.top {
	vertical-align: top;
}

.middle {
	vertical-align: middle;
}

.bottom {
	vertical-align: bottom;
}

/* Textkürzungen */
.shorten {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	/* eine Breitenangabe sollte mind. vorhanden sein, z.B. width: 100%; */
}
   

/* ---------------------------------
	Hintergrund (bildschirmfüllend)
   --------------------------------- */

.bg_canvas {
	position: relative;
	z-index: 1;
}

.bg_content {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 2;
	overflow: auto;
}



/* ---------------------------------
	Inhaltsbereich
   --------------------------------- */

.content_page {
    background-repeat: repeat-y;
    background-position: left top;
    margin-left: auto;
    margin-right: auto;
	position: relative;
	left: 0px;
    text-align: left;
    top: 0px;
}

#page {
    width: 993px;
}

.desktop #page {
    width: 1020px;
}

#details-story #page {
    background-image: none; 
    width: 891px;
}

.tippspiel #page {
    background-image: url('images/wm-background.gif');
}

.tippspiel.smartphone #page,
.tippspiel.tablet #page {
    background-size: 992px auto;
}

.basic .content_page {
    background-image: none; 
    background-repeat: no-repeat;
}

.smartphone #page {
	overflow: auto;
}


/* ---------------------------------
	Inhaltsbereich - Kopfleiste
   --------------------------------- */

#header {
    background-image: url('images/fuba_logo.gif');
    background-position: 15px 10px;
    background-repeat: no-repeat; 
    background-size: 963px 120px;
    height: 140px;
}

.desktop #header {
    background-size: 990px 120px;
    position: fixed;
    width: 1020px;
    z-index: 9;
}


/* ---------------------------------
	Login-Bereich
   --------------------------------- */

div#form_login {
	background-color: #202020;
	border: 1px solid #5d5d5d;
	border-radius: 4px;
	color: #a0a0a0;
	cursor: default;
	font-size: 12px;
	padding: 8px;
	position: absolute;
	right: 20px;
	top: 20px;
	width: 210px;
	z-index: 9;
}

div#form_login input {
	width: 120px;
}

div#form_login span {
	color: #ffffff;
	display: inline-block;
	font-weight: bold;
	margin-left: 8px;
	width: 75px;
}

div#form_login div.login_passwd {
	display: none;
	height: 55px;
	margin-top: 8px;
}

div#form_login div.login_passwd div.buttons {
	margin-top: 15px;
	padding-right: 5px;
	text-align: right;
}

div#form_login div.login_passwd button {
	background-color: #c0c0c0;
	border-radius: 2px;
	color: #222222;
	font-size: 8pt;
	height: 20px;
}

div#form_login div.login_passwd button[type="button"] {
	background-color: #202020;
	background-image: linear-gradient(to bottom, black 25%, silver 100%);
	border: 1px solid #5d5d5d;
	color: #a0a0a0;
	width: 130px;
}

div#form_login div.login_passwd button[type="button"]:hover {
	background-color: #393939;
	background-image: linear-gradient(to bottom, silver 25%, black 100%);
	color: #c0c0c0;
}

div#form_login div.login_passwd button[type="submit"] {
	background-image: linear-gradient(to bottom, #a0a0a0 40%, white 90%);
	border: 1px solid #f0f0f0;
	width: 70px;
}

div#form_login div.login_passwd button[type="submit"]:hover {
	background-color: #393939;
	background-image: linear-gradient(to bottom, white 40%, #a0a0a0 90%);
	color: #888888;
}
