/*
 * $Id: k.css,v 1.12 2016/08/27 11:22:51 gerold Exp $
 * $Log: k.css,v $
 * Revision 1.12  2016/08/27 11:22:51  gerold
 * Hintergrundbild weg.
 *
 * Revision 1.11  2013/03/30 10:17:31  gerold
 * katzebildzubreitgefixt.
 *
 * Revision 1.10  2013/02/21 19:31:23  gerold
 * Change -markup reworked to preceed obsolete content.
 *
 * Revision 1.9  2012/11/11 23:37:50  gerold
 * More document structure.
 * Media query for small devices.
 * Som minor corrections.
 *
 * Revision 1.8  2012/10/17 17:45:15  gerold
 * Katzenquiz-Bild nach oben.
 * Typos.
 *
 * Revision 1.7  2012/01/23 12:44:41  gerold
 * Use z-index to have header + H1 stay on top.
 *
 * Revision 1.6  2012/01/03 14:44:53  gerold
 * Overview calendar.
 * Printing improved.
 *
 * Revision 1.5  2011/12/28 14:32:38  gerold
 * Printing.
 *
 * Revision 1.4  2011/12/28 11:12:10  gerold
 * BG image fixed.
 * New stamp look-alike paragrah style.
 * Minor cleanup.
 *
 * Revision 1.3  2011/12/25 20:12:10  gerold
 * Styling for oldies (IE) added.
 * Background image.
 * Workaround for :visited not working in Firefox.
 *
 * Revision 1.2  2011/12/14 15:35:36  gerold
 * Veranstalter-Schriftzuege inlined.
 *
 * Revision 1.1  2011/12/10 15:43:33  gerold
 * Initial revision
 *
 */
body {
    position: absolute;
    left: 0px;
    top: 100px;
    max-width: 900px;
    min-width: 480px;
    /* overflow-y: hidden;
    /* border: thin solid yellow; */

    color: black;
    font-family: Verdana, Lucida, sans-serif;
    font-size: small;

    background-color: #ddd;
}

*	{ font-family: inherit; }

th, td, div, p, h1, h2, h3 {
	font-family: Verdana, Lucida, sans-serif;
}
th, td, div, p {
	font-size: small;
}

p.tag {
	font-size: smaller;
	margin-top: 0;
}
p.progchange {
	border-color: #ae1620;
	border-style: solid;
	border-width: 0 0 0 thick;
	padding-left: 0.3em;
}
p.change {
	/* stamp-like box overwriting following content */
	color: mediumblue;
	background-color: #ddd;
	background-color: rgba(221, 221, 221, 0.7); /* slightly transparent #ddd */
	border-color: mediumblue;
	border-style: solid;
	border-width: medium;
	border-radius: 0.8ex;
	width: 50%;
	text-align: center;
	margin-top: -30px;
	margin-bottom: 0px;
/*	rotation-point: 15% 15%; */
/*	rotation: -25deg; */
/*	transform-origin: right bottom;
	transform: rotate(-25deg); */
 	-webkit-transform-origin: right bottom;
	-webkit-transform: rotate(-25deg);
	-moz-transform-origin: right bottom;
	-moz-transform: rotate(-25deg);
	-ms-transform-origin: right bottom;
	-ms-transform: rotate(-25deg);
	-o-transform-origin: right bottom;
	-o-transform: rotate(-25deg);}
p.type {
	float: right;
	margin: 0px;
}
table {
	width: 100%;
}
table.wm {
	width: auto;
	border-collapse: collapse;
	border: 1px solid #006699;
	/* ##frame: border; */
}
table.wm > caption {
	text-align: left;
	font-size: larger;
	padding-bottom: 0.5em;
}
table.wm th, table.wm td {
	border: 1px solid #006699;
}
td {
	vertical-align: top;
}

/* link properties are not inherited, since they are usually defined
 * in the readers default style sheet */
:link				{ color: #ae1620; text-decoration: underline; background-color: inherit;}
:visited, a:visited		{ color: #444;    text-decoration: underline; background-color: inherit;}
:link:hover, :visited:hover	{ color: #ae1620; text-decoration: underline; background-color: inherit;}
:link:active, :visited:active	{ color: #ae1620; text-decoration: underline; background-color: inherit;}

/*
a.inline_ical:link		{ text-decoration: none; }
a.inline_ical:visited		{ text-decoration: none;  color: #444;}
a.inline_ical:link:hover,  a.inline_ical:visited:hover,
a.inline_ical:link:active, a.inline_ical:visited:active { text-decoration: none; }
 */
h1 {
	color: #ccc;
	/* background-color: #ae1620; /* geht nicht - ueberdeckt Logo */
	font-size: x-large;
	text-align: right;
	max-width: 900px;
 	position: fixed;
 	top: 50px;
 	left: -0.5em;	/* should be "padding-right: 0.5em;" but that just makes the box wider */
	width: 100%;
	margin-bottom: 0;
	/* border: thin dotted green; /**/
	z-index: 1;
}

h2 {
	font-size: large;
	margin-bottom: 0;
}
h2.date	{ 
	/* border: thin dotted yellow; /**/
	font-size: medium;
	font-weight: normal;
}
h2.date:target, article.event:target, section:target {
	/* thanks http://stackoverflow.com/questions/6090882/css-top-of-page-after-page-jump */
	padding-top: 100px;	/* compensate header height when jumping to #internal links */
	margin-top: -100px;	/* eat up extra padding from line above */
}
article.event:target p.type {
	margin-top: 1em;
}
img.cat {
    	/* margin-top: -3ex; */
	z-index: 2;	/* avoid covering links */
	/* border: thin dotted green; */
}
h3 {
	font-size: medium;
	font-weight: lighter;
	margin-top: 0;
}
h4	{ font-size: small; }
h5	{ font-size: x-small; }

img {
	margin: 0;
}
img.bf {
	width: 101px; height: 44px; border: 0;
	display: inline;
	margin-bottom: -1px;
}
img.jil {
	width: 156px; height: 44px; border: 0;
	display: inline;
	margin-bottom: -2px;
}
img.lkk {
	width: 115px; height: 26px; border: 0;
	display: inline;
	margin-bottom: -1px;
	margin-left: 0.2ex;
}
img.cal {
    /* calendar icon */
    width: 24px;
    height: 24px;
    vertical-align: text-bottom;
    padding-bottom: 1px;
    border-bottom: thin solid #ae1620;
    /* border-bottom-left-radius: 3px; */
}
img.kk {
	width: 155px; height: 47px; border: 0;
	display: inline;
	margin-bottom: -14px;
}
img.rf {
	float: right;
	margin-left: 1em; /* broken in NS4 */
	margin-bottom: 1ex; /* broken in NS4 */
}
img.artist {
    float: right;
    padding-top: 1em;
    padding-bottom: 0.2em;
    padding-left: 0.5em;
}
img.artist.portrait {
    float: left;
    padding-left: 0;
    padding-right: 0.5em;
}
img.lf {
	float: left;
	margin-right: 1em; /* broken in NS4 */
	margin-bottom: 1ex; /* broken in NS4 */
}
div.rf {
	float: right;
	margin-left: 1em; /* broken in NS4 */
	margin-bottom: 1ex; /* broken in NS4 */
}
ul.genres {
	float: right;
	list-style-type: none;
	font-weight: bold;
	margin: 0px;
	padding: 0px;
	padding-top: 0.75ex;
	padding-left: 0.5em;
	/*  border: medium solid #BBB;
	border-radius: 0.6ex;  */
}

ul.genres li {
    display: inline;
    text-align: right;
}
ul.genres li:after { content: ", " }
ul.genres li:last-child:after { content: "" }

div.lf {
	float: left;
	margin-right: 1em; /* broken in NS4 */
	margin-bottom: 1ex; /* broken in NS4 */
}
div.rhalf {
	float: right;
	width: 50%;
}
div.lhalf {
	float: left;
	width: 50%;
}
div.nlhalf > h2 {
	margin-top: 1.5ex; /* IE6 doesn't get it right otherwise */
}
div.brk {
	clear: both;
}
div.lbrk {
	clear: left;
}

img#logo {
	padding: 0 0.5em ;
	margin: 0;
	/* position: absolute; */
	position: relative;
	top: 0px;
	border: 0;
	/* height: 96px; */
	/* border: thin solid yellow; /**/
}
/**************
 * NEW STUFF  *
 **************/
div.wrapper {
	margin: 0;
	/* border: thin solid blue; */
}

header, .oldie div#header-container {
    position: fixed;
    top:0;
    height: 100px;	/* same as the logo's */
    width: 100%;
    max-width: 900px;
    min-width: 650px;
    z-index: 1;
    background-color: #ae1620;
}

header>a {
    display: inline-block;
    height: 100%;
    /* text-decoration: none; */
}

section, .oldie div.section-wrapper {
    left: 0;
    padding-left: 12.5em;
    padding-right: 0.5em;
    /* padding: 100px 1em 0 13em; */
    /* border: thin solid yellow; */
}

dl.lineup dt {
    float: left;
    margin-right: 0.5em;
}
dl.lineup dt:after {
    	content: " \2013 "; /* 0x2013 = endash, the following space just terminates the hex number */
}
p time {
    vertical-align: top;
}
/**************
 * NAVIGATION *
 **************/

nav	{
	font-family: Verdana, Lucida, sans-serif;
	font-size: small;
	color: #ccc;
	background-color: #ae1620;
	margin: 0px 1em; /* broken in NS4 */
	/* background: 0;	/* no image here */
	/* border: thin solid white; */
}

nav#main, .oldie div#mainmenu {
	width: 11em;
	margin: 0;
	padding: 0.5ex 0.5em; /* */
	position: fixed;
	top: 101px;
}
.oldie div#mainmenu {
	/* IE glitch */
	left: -1em;
}
p.fineprint	{
	/* font-family: Verdana, Lucida, sans-serif; */
	font-size: smaller;
	/* border: thin solid red; */
}

nav hr {
	margin-top: 0;
	margin-bottom: 0;
	border: 0px solid;
	background-color: #bbb; /* Mozilla */
	color: #bbb;		/* IE6.0 */
}

nav p, nav ul , .oldie div#mainmenu p, .oldie div#mainmenu ul {
	margin-top: 0;
	margin-bottom: 0.3ex;
	color: #bbb;					/* ns4 */
	background-color: inherit;
	font-family: Verdana, Lucida, sans-serif;	/* ns4 */
	font-size: small;				/* ns4 */
}

/* link properties are not inherited, since they are usually defined
 * in the readers default style sheet */
nav :link, 	     .oldie div#mainmenu :link		 { color: #fff; text-decoration: none;	   background-color: inherit; font-weight: normal;}
nav :visited, 	     .oldie div#mainmenu :visited	 { color: #ddd; text-decoration: none;	   background-color: inherit; font-weight: normal;}
nav :link:hover,     .oldie div#mainmenu :link:hover,
nav :visited:hover,  .oldie div#mainmenu :visited:hover	 { color: #fff; text-decoration: underline; background-color: inherit;}
nav :link:active,    .oldie div#mainmenu :link:active,
nav :visited:active, .oldie div#mainmenu :visited:active { color: #fff; text-decoration: underline; background-color: inherit;}

nav h2 {
	font-size: large;
	margin: 0.5ex 0ex 1pt 0pt;
	/* margin: 0.3em 0; */
/*	border: thin solid red;	*/
}

/* nav  img.menuitem {
	border: thin dotted ;
}

nav  img.linknb {
	border: 0pt ;
}
 */
nav  li#k {
	color: yellow;
	margin-bottom: -6px;
}


.oldie div#mainmenu {
	font-family: Verdana, Lucida, sans-serif;
	font-size: small;
	background-color: #ae1620;
	margin: 0px 1em; /* broken in NS4 */
	color: #ccc;
}

table.ovcal {
	/* border: thin solid black; */
	margin-top: 0.5ex;
}

table.ovcal th, table.ovcal td {
	font-size: smaller;
	text-align: center;
	border: thin solid #bbb;
}

td.B {	background-color:	darkblue;	} 
td.R {	background-color:	red;	} 
td.W {	background-color:	darkgreen;	} 
td.J {	background-color:	darkgoldenrod;	}
td.X {	background-color:	dimgray;	}

@media print {
    body {
	background-image: none;
	background-color: white;
	max-width: none;
	min-width: 0;
	/* border: thin solid yellow; */
    }
    nav {
  	 display: none;
    }
    img#logo {
  	display: none;
  	height: 0;
    }
    header, .oldie div#header-container {
  	display: none;
    }
    section, .oldie div.section-wrapper {
	padding-left: 0px;
	padding-top: 1ex;
	/* border: thin solid yellow; */
    }
    h1 {
	position: static;
	text-align: left;
	max-width: none;
	left: 0;
	/* der: thin dotted green; /**/
    }
    h2.date	{ 
	padding-top: 0;
	margin-top: 0;
	/* border: thin dotted yellow; /**/
    }
    :link, :visited, a:visited	{ text-decoration: none; }
    section > p.change {
    	font-family: Times, serif;
	color: mediumblue !important;
    }
    /* Generate small floating URLs from links in H1 headings */
    h2 > a[href]:after {
    	content: "-> " attr(href);
    	display: block;
    	float: right;
    	font-size: 8pt;
    }
    /* Do not show URLs from links in .va paragraphs */
    .va a[href]:after { content: ""; }
    /* Do not show ical links when printing */
    a.inline_ical { display: none; }
}
@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
    body {
	top:	0px;
	max-width: none;
	min-width: 0;
	/* border: thin solid yellow; */
	
	background-image: none;
	background-position: 0 0;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-color: #ddd;
	color: black;
	font-family: Verdana, Lucida, sans-serif;
	font-size: small;
    }
    
    h1 {
	    color: black;
	    /* background-color: #ae1620; /* geht nicht - ueberdeckt Logo */
	    position: static;
	    text-align: left;
	    max-width: none;
	    /* top: ; */
	    /* width: 100%; */
	    /* border: thin dotted green; */
	    margin-top: 0.5ex;
	    z-index: 0;
    }
    
    h2.date	{ 
	    /* border: thin dotted yellow; /**/
	    /* thanks http://stackoverflow.com/questions/6090882/css-top-of-page-after-page-jump */
	    padding-top: 0ex;	/* compensate header height when jumping to #internal links */
	    margin-top: 0px;	/* eat up extra padding from line above */
    }
    
    img.bf, img.jil, img.lkk , img.kk {
	    /* display: none; */
    }
    img#logo {
	    padding: 0 0.5em ;
	    margin: 0;
	    /* position: absolute; */
	    position: static;
	    top: 0px;
	    border: 0;
	    width: 300px;
	    height: 72px;
	    /* border: thin solid yellow; /**/
    }
    img.rf, img.lf , div.rf, div.lf {
	float: none;
	margin: 0px;
	margin-top: 1ex;
    }
    img.artist, img.artist.portrait {
    	padding: 0;
	float: none;
    }
    img.cat {
    	/* too wide for iphone 4 etc. */
    	width: 300px;
    	height: 102px;
    }
    article.event:target {
	/* thanks http://stackoverflow.com/questions/6090882/css-top-of-page-after-page-jump */
	padding-top: 5.5ex;	/* compensate menu height when jumping to #internal links */
	margin-top: -5.5ex;	/* eat up extra padding from line above */
    }
    /* hide all */
    section:not(:target) article.event, section:not(:target) H1 {
    	display: none;
    }
    /* but not the selected and all following events */
    section article.event:target,
    article.event:target ~ article.event:not(:target) {
    	display: block;
    }
    /* ... unless the whole month is selected */
    section:target article.event {
    	display: block
    }
    /**************
     * NEW STUFF  *
     **************/
    div.wrapper {
	    margin: 0;
	    /* border: thin solid blue; */
    }
    
    header, .oldie div#header-container {
	    background-color: #ae1620;
	    width: 100%;
	    max-width: none;
	    min-width: 0;
	    height: 72px;	/* same as the logo's */
	    position: static;
	    z-index: 0;
    }
    
    
    section, .oldie div.section-wrapper {
	    padding: 0 0.5em;
	    top: 0px;
	    /* border: thin solid blue; /* */
	    /* border: thin solid yellow; */
    }
    section:target, nav div.submenu:target {
	/* thanks http://stackoverflow.com/questions/6090882/css-top-of-page-after-page-jump */
	padding-top: 5.5ex;	/* compensate header height when jumping to #internal links */
	margin-top: -5.5ex;	/* eat up extra padding from line above */
    }
    
    /**************
     * NAVIGATION *
     **************/
    
    nav	{
	    font-family: Verdana, Lucida, sans-serif;
	    font-size: small;
	    color: #ccc;
	    background-color: #ae1620;
	    margin: 0px 1em; /* broken in NS4 */
	    /* background: 0;	/* no image here */
	    /* border: thin solid white; */
    }
    
    nav#main, .oldie div#mainmenu {
	/*  position: relative;
	 *  left: 0;
	 *  top: 101px;
	 *  padding-left: 12.5em;
	 */
	position: static; /* */
	width: auto; /*100%; */
	top: 72px;
	/*x-margin: default;
	/* margin-top:-30px; */
	/*x-padding-top: 0ex;
	x-padding-bottom: 0ex;
	x-padding-left: 0.5em; /* default; */
	/* border: thin solid white; /* */
    }
    p.fineprint	{
	    /* font-family: Verdana, Lucida, sans-serif; */
	    font-size: smaller;
	    /* border: thin solid red; */
    }
    
    /* hide all submenus, except when selected */
    nav div.menuwrapper {
	    display: inline-block;
	    vertical-align: top;
    }
    nav div.submenu:not(:target) {
    	display: none;	
    }
    
    /* link properties are not inherited, since they are usually defined
     * in the readers default style sheet */
    nav :link, 	     .oldie div#mainmenu :link		 { color: #fff; text-decoration: none;	   background-color: inherit; font-weight: normal;}
    nav :visited, 	     .oldie div#mainmenu :visited	 { color: #ddd; text-decoration: none;	   background-color: inherit; font-weight: normal;}
    nav :link:hover,     .oldie div#mainmenu :link:hover,
    nav :visited:hover,  .oldie div#mainmenu :visited:hover	 { color: #fff; text-decoration: underline; background-color: inherit;}
    nav :link:active,    .oldie div#mainmenu :link:active,
    nav :visited:active, .oldie div#mainmenu :visited:active { color: #fff; text-decoration: underline; background-color: inherit;}
    
    nav h2 {
	    /* margin: 0px; */
	    border: medium solid #BBB; /* */
	    border-radius: 0.6ex;
	    padding: 0 0.2em;
	    /* padding-left: 0.2em; */
	    /* padding-right: 0.2em; */
	    display: inline-block;
    }
    
    nav hr, .oldie div#mainmenu hr {
	    display: none; /* */
    }
    table.ovcal {
	    /* border: thin solid black; */
	    /* float: right; */
	    width: auto;
	    /* margin-right: 1em; */
	    /* margin-top: 2ex; */
    }
}
