/* Peter Ihrler, 9.5.2006 */
/* ****************** Common Style  ************** */
@media all {
	* { box-sizing:border-box; }

	body {
		font-family: Arial, Helvetica, sans-serif;
		margin: 0px;
		padding: 0em;
		font-size: 0.8em;
		color: #003366;
		width: 100%;
		height: 100%;
	}

	a {
		color: #003366;
	}

	#alles {
		padding: 9em 1em 3em;
		margin: 0 auto;
	}

	hr {
		color: #003366;
	}

	img {
		border: 0;
	}

	div#title {
		background-color: #1e3169;
		color: #eeeeee;
		text-align: center;
		padding: 1px;
		text-transform: lowercase;
	}

	/**Störende Definitionen von main_campus.css überschreiben**/
	#wrapper, #inhalt, #header { 
		width:100% !important;
		margin: 0 !important;
	}
	/****/
	
	#header {
		position:fixed;
		top: 0;
		left: 0;
		padding:1rem;
		background-image: -webkit-gradient(linear, left top, left bottom, from(#000d3c), to(#1e3169));
		background-image: -webkit-linear-gradient(top, #000d3c, #1e3169);
		background-image:    -moz-linear-gradient(#000d3c, #1e3169);
		background-image:      -o-linear-gradient(#000d3c, #1e3169);
		background-image:         linear-gradient(#000d3c, #1e3169);
		background-color: #000d3c;/*#7d26cd;*/
		background-repeat: no-repeat;
		background-position: center;
	}

	a#home {
		margin: 0;
		padding: 0;
		border: 1px;
		border-color: white;
		background: url(kuLogo.gif) no-repeat center;
		border-left-style: solid;
		border-right-style: solid;
		height: 130px;
		width: 100px;
		display: block;
		background-color: white;
		float: left;
		min-height: 80px;
	}

	a#home:hover {
		background: url(kuLogo.gif) no-repeat center;
		background-color: rgb(255,204,51);
	}

	a#univis {
		margin: 2px;
		border: 1px;
		border-color: #A9A9A9;
		margin-left: 10px;
		background: url(Vorlesungsverzeichnis.gif) no-repeat center;
		border-style: solid;
		height: 1em;
		width: 3em;
		display: block;
		float: left;
		background-color: white;
	}

	a#univis:hover {
		border-color: black;
	}

	a#wints {
		margin: 2px;
		border: 1px;
		border-color: #A9A9A9;
		margin-left: 10px;
		background: url(win2000l.gif) no-repeat center;
		border-style: solid;
		height: 1em;
		width: 1em;
		display: block;
		float: left;
		background-color: white;
	}

	a#wints:hover {
		border-color: black;
	}

	a#mail {
		margin: 2px;
		border: 1px;
		border-color: #A9A9A9;
		margin-left: 10px;
		background: url(imailc.gif) no-repeat center;
		border-style: solid;
		height: 1em;
		width: 1em;
		display: block;
		float: left;
		background-color: rgb(255,204,51);
	}

	a#mail:hover {
		border-color: black;
	}

	a#lsf {
		margin: 2px;
		border: 1px;
		border-color: #A9A9A9;
		margin-left: 10px;
		background: url(lsfhut.gif) no-repeat center;
		border-style: solid;
		height: 1em;
		width: 1em;
		display: block;
		float: left;
		background-color: rgb(255,204,51);
	}

	a#lsf:hover {
		border-color: black;
	}

	.alt {
		display: none;
	}

	.center {
		text-align: center;
	}

	.left {
		text-align: left;
	}

	.right {
		text-align: right;
	}

	dt {
		font-weight: bold;
	}

	div#info {
		background-color: #003366;
		color: white;
		text-align: right;
		vertical-align: top;
		padding: 1px;
		padding-right: 10px;
	}

	span#login {
		font-style: italic;
		float: left;
	}

	ul#menu {
		display: inline;
		background-color: #003366;
		color: white;
		margin: 0;
		text-transform: lowercase;
	}

	ul#menu li {
		display: inline;
	}

	ul#menu a {
		color: white;
		text-decoration: none;
	}

	ul#menu a:hover {
		color: white;
		text-decoration: underline;
	}

	div#top {
		background-color: white;
		height: 100px;
		border-top-style: solid;
		border-bottom-style: solid;
		border-width: 0px;
		border-color: black;
	}

	div#toolbox {
		background-color: #eeeeee;
		margin-left: 0px;
		margin-right: 0px;
		padding: 5px;
		margin-bottom: 0px;
		white-space: nowrap;
		margin-top: 0.5em;
		border-width: 1px;
		font-size: 1.5em;
		border-top-style: solid;
		border-color: #A9A9A9;
		border-bottom-style: solid;
	}

	div#toolbox h1 {
		margin-left: 10px;
		display: inline;
		font-size: 1em;
	}

	div#toolbox ul {
		display: inline;
		list-style-type: none;
		padding: 0;
		margin: 0;
	}

	div#toolbox li {
		display: inline;
	}

	div#nav {
		clear: left;
		float: left;
		margin-top: 2em;
		margin-right: 2em;
		font-size: 0.85em;
		border-style: solid;
		border-width: 1px;
		background-color: #eeeeee;
		padding: 0px;
		border-color: #1e3169;
	}

	div#nav ul {
		list-style-type: none;
		margin: 0px;
		padding: 5px;
	}

	div#nav ol {
		margin-top: 0px;
		margin-bottom: 0px;
	}

	div#nav ul li {
		padding: 3px;
	}

	div#nav ol li {
		padding: 3px;
		padding-left: 0px;
		margin-left: 0px;
	}

	div#nav a {
		color: #1e3169;
		text-decoration: none;
	}

	div#nav a:hover {
		text-decoration: underline;
	}

	div#nav div {
		background-color: #1e3169;
		color: #eeeeee;
		text-align: center;
		padding: 2px;
	}

	div#main {
		color: #003366;
		margin: 0px;
		margin-top: 2em;
		float: left;
		padding: 0;
		width: 70%;
	}

	fieldset {
		margin-top: 1em;
		border-color: #1e3169;
		border-style: solid;
		border-width: 1px;
	}

	legend {
		font-size: 1.2em;
		color: white;
		background: #1e3169;
	}

	.message, .errtxt {
		color: red;
	}

	input.invalid, select.invalid, option.invalid {
		background: #ffaaaa;
	}

	table {
		font: small Verdana, "Andale Mono", Courier, "Courier New", monospace;
		white-space: wrap;
		font-size: 0.85em;
		border-collapse: collapse;
		border-spacing: 0;
		border-style: none;
	}

	table.result, table.fieldset {
		margin: 0 0 1em 0;
		font: small Verdana, "Andale Mono", Courier, "Courier New", monospace;
		width: 100%;
		max-width: 1280px;
		font-size: 9pt;
		border-collapse: collapse;
		border-spacing: 0;
		border-width: 1px;
		border-style: solid;
		border-color: #1e3169;
		background: #eee;
	}

	table.result td a:link, table.fieldset td a:link, 
	table.result td a:visited, table.fieldset td a:visited, 
	table.result td a:active, table.fieldset td a:active,
	table.result th a, table.fieldset th a,
	table.result th a:link, table.fieldset th a:link,
	table.result th a:visited, table.fieldset th a:visited,
	table.result th a:active, table.fieldset th a:active
	{
		text-decoration: underline;
		color: #1e3169;
	}

	table.result tr td:first-child, table.fieldset tr td:first-child, 
	table.result tr td:nth-child(2), table.fieldset tr td:nth-child(2){
		width:4%;
	}
	table.result tr td:nth-child(3), table.fieldset tr td:nth-child(3) {
		width:55%;
	}
	table.result tr td:nth-child(4), table.fieldset tr td:nth-child(4) {
		width:15%;
	}

	table.result td {
		border-width: 1px;
		border-style: solid;
		border-color: #d3d3d3;
	}

	table.result th {
		border-width: 1px;
		border-style: solid;
		border-color: #eeeeee;
	}

	table.result th, table.fieldset th {
		text-align: left;
		background: #1e3169; /*Ursprünglich: #0066ff*/
		color: #eee;
		font-weight: bold;
	}

	table.result td.num {
		text-align: right;
		font: small Verdana, "Andale Mono", Courier, "Courier New", monospace;
		font-size: 1em;
	}

	table.result tr.sum {
		/*	background:lightgrey; */
		font-weight: bold;
	}

	table.result tr.sum td {
		border-width: 1px;
		border-style: solid;
		border-color: #eee;
	}

	table.result tr:nth-child(odd) {
		background: #e5ebef;
	}

	table.result caption, table.fieldset caption {
		font-weight: bold;
		text-align: left;
		color: #003366;
		font-size: 1.2em;
	}

   
}
/***** Smartphone *****/
@media screen and (max-width:480px) {
	
	#alles {
		padding-top:25vw;
	}

	
	table.result,
	table.result thead, table.result tbody,
	table.result tr,
	table.result th, table.result td {
		display:block;
		width:100% !important;
	}

	table.result {
		background-color:transparent;
		border: none;
	}

	table.result tr {
		margin-bottom: 1em;
	}

	table.result th, table.result td {
		overflow-x:auto;
	}
	table.result td:empty::before {
		content:"\200B";
	}
	
	img {
		width:100%;
		height:100%;
	}
}
@media screen and (orientation:landscape) and (max-height:480px) {
	#header {
		position:static;
	}
	#alles {
		padding-top: 0;
	}
}

/* ****************** Style for printing ************** */
@media print {
	.noprint {
		display: none;
	}

	div#title {
		display: none;
	}

	div#nav {
		display: none;
	}

	div#top {
		display: none;
	}

	div#main {
		float: none;
		padding: 0px;
		margin: 0px;
		margin-left: 1px;
	}

	body {
		background-image: none;
		color: black;
		padding: 0px;
		margin: 0px;
	}

	thead {
		display: table-header-group;
	}

	table.result, table.fieldset {
		background: white;
		white-space: wrap;
		font-size: 0.8em;
		border-collapse: collapse;
		border-spacing: 0;
		border-width: 1px;
		border-style: solid;
		border-color: black;
		width: 100%;
		max-width: 1024px;
	}

	table.result caption, table.fieldset caption {
		font-weight: bold;
		text-align: left;
		color: black;
		font-size: 14pt;
	}

	table.result td, table.fieldset td {
		border-width: 1px;
		border-style: solid;
		border-color: black;
		color: black;
	}

	table.result th, table.fieldset th {
		text-align: left;
		color: black;
		font-weight: bold;
		border-width: 1px;
		border-style: solid;
		border-color: black;
		color: black;
		background: white;
	}

	table.result td.num {
	}

	table.result tr.sum {
		font-weight: bold;
		border-color: black;
		background: white;
		font-style: italic;
	}

	table.result td a:link, table.fieldset td a:link {
		text-decoration: none;
		color: black;
	}

	table.result td a:visited, table.fieldset td a:visited {
		text-decoration: none;
		color: black;
	}

	table.result td a:active, table.fieldset td a:active {
		text-decoration: none;
		color: black;
	}

	table.result th a:link, table.fieldset th a:link {
		text-decoration: none;
		color: black;
	}

	table.result th a:visited, table.fieldset th a:visited {
		text-decoration: none;
		color: black;
	}

	table.result th a:active, table.fieldset th a:active {
		text-decoration: none;
		color: black;
	}
}
