* {
	margin: 0;
	padding: 0;
}

body {
	background: #fff;
	color: #000;
	font-family: "Lucida Grande",Arial,Helvetica,Sans-Serif;
	font-size: 62.5%; /*76.1*/
}

img {
	border: 0;
}

a {
	outline: 0;
	color: #000;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.clearer {
	clear: both;
}

.clearfix:after {  /* f�r Firefox, IE8, Opera, Safari, etc. */
    content: ".";  
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
 
* + html .clearfix { /* f�r IE7 */
    display: inline-block;
}
 
* html .clearfix { /* f�r IE6 */
	height: 1%;
}

p {
	margin: 1em 0;
	font-size: 1.1em;
}

#wrapper {
	max-width: 1200px;
	margin: 20px auto;
}

#header {
	width: 100%;
	padding: 5px 0 20px 0;
}

#logo {
	width: 230px;
	float: left;
	margin: 0 100px 0 0;
}

#header h1 {
	margin: 10px 0 0 0;
	color: #155092;
}

/* main menu */
#mainmenu {
	margin: 0;
	padding: 0;
	float: left;
	list-style: none;
	height: 32px; /*--Set height of tabs--*/
	border-bottom: 1px solid #c0c0c0;
	border-left: 1px solid #c0c0c0;
	width: 100%;
}

#mainmenu li {
	float: left;
	margin: 0;
	padding: 0;
	height: 31px; /*--Subtract 1px from the height of the unordered list--*/
	line-height: 31px; /*--Vertically aligns the text within the tab--*/
	border: 1px solid #c0c0c0;
	border-left: none;
	margin-bottom: -1px; /*--Pull the list item down 1px--*/
	overflow: hidden;
	position: relative;
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
	background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
	background-color:#ededed;
}

#mainmenu .logout {
	float: right;
	border: 1px solid #c0c0c0;
}

#mainmenu li a {
	text-decoration: none;
	color: #666;
	display: block;
	font-size: 1.4em;
	font-weight: bold;
	padding: 0 20px;
	border: 1px solid #fff; /*--Gives the bevel look with a 1px white border inside the list item--*/
	outline: none;
}

#mainmenu li a:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
	background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
	background-color:#dfdfdf;
}

html #mainmenu li.active, html #mainmenu li.active a, html #mainmenu li.active a:hover  { /*--Makes sure that the active tab does not listen to the hover properties--*/
	background: #fff;
	color: #333;
	border-bottom: 1px solid #fff; /*--Makes the active tab look like it's connected with its content--*/
}

#content {
	border: 1px solid #c0c0c0;
	border-top: none;
	overflow: hidden;
	clear: both;
	float: left; width: 100%;
	background: #fff;
}

#inner-content {
	padding: 20px;
}

.button-left {
	float: left;
}

.button-right {
	float: right;
}

h2 {
	font-size: 1.5em;
	color: #155092;
	margin: 25px 0 5px 0;
	/*padding-left: 5px;
	border-left: 5px solid #ced3e6;*/
}

.list {
	border-collapse: collapse;
	width: 100%;
	margin-top: 20px;
}

.list th {
	background: #edf3fe;
	padding: 10px 8px;
	border-bottom: 1px solid #999;
	text-align: left;
	font-size: 1.3em;
	font-weight: bold;
}

.list td {
	padding: 10px 8px;
	border-bottom: 1px solid #e0e0e0;
	font-size: 1.2em;
}

.list td.right {
	text-align: right;
}

.list td.nowrap {
	white-space: nowrap;
}

.list tr:hover td, .list tr:focus td { /* highlight table rows */
	background-color: #f9f9f9;
}

.formtable {
	border-collapse: collapse;
	margin: 10px 0 20px 0;
}

.formtable.archiv {
	width: 100%;
}
.formtable.archiv td {
	border: 1px solid #e0e0e0;
	padding: 8px 5px!important;
	font-size: 1.1em;
	vertical-align: middle;
}

.formtable th {
	background: #edf3fe;
	padding: 10px 8px!important;
	border-bottom: 1px solid #999;
	text-align: left;
	font-size: 1.3em;
	font-weight: bold;
}

.formtable td {
	border-top: 1px solid #e0e0e0;
	border-bottom: 1px solid #e0e0e0;
	padding: 3px 5px!important;
	font-size: 1.2em;
	vertical-align: middle;
}

.formtable td input {
	font-size: 0.9em;
}

.formtable td select {
	font-size: 0.9em;
}

#lform .formtable td {
	line-height: 2em;
}

form {
	clear: both;
	margin: 10px 0 0 0;
}

fieldset {
	margin-top: 20px;
	padding: 20px;
	border: 1px solid #d0d0d0;
	-moz-border-radius: 5px 5px 5px 5px;
	-webkit-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
}

legend {
	font-size: 1.4em;
	font-weight: bold;
	color: #155092;
	padding: 0 4px;
	margin: 0;
}

.element {
	margin: 0 0 1.5em 0;
	font-size: 1.0em;
	vertical-align: middle;
}

.element img {
	vertical-align: middle;
}

.well {
	padding: 1em;
	font-size: 1.0em;
	background: #f5f5f5;
	border: 1px solid #d3d3d3;
	border-radius: 4px;
}

.element-left {
	float: left;
	/*width: 110px;*/
	width: auto;
	margin: 0 3em 1.5em 0;
	font-size: 1.0em;
}

.list-timetables {
	font-size: 1.2em;
	margin: 0.5em 0;
}

.table-heading {
	margin: 20px 0 0 0;
	font-size: 1.1em;
	font-weight: bold;
}

.offtime-heading {
	margin: 0.5em 0;
	font-size: 1.0em;
	clear: both;
}

.offtimes {
	margin: 0.5em 0;
	font-size: 1.0em;
}

.offtimes-text {
	margin: 0.5em 0;
	font-size: 1.1em;
}

.checkboxes-heading {
	margin: 0.5em 0;
	font-size: 1.0em;
	clear: both;
}

.checkboxes {
	margin: 0.5em 0;
	font-size: 1.1em;
}

label {
	display: block;
	width: auto;
	padding-bottom: 2px;
	font-size: 1.1em;
	font-weight: bold;
}

label.noblock {
	display: inline;
	width: auto;
	padding-bottom: 2px;
	font-size: 1.1em;
	font-weight: bold;
}

label.checkbox {
  display: block;
  padding-left: 15px;
  text-indent: -15px;
}

input[type="checkbox"] {
  width: 13px;
  height: 13px;
  padding: 0;
  margin:0;
  vertical-align: bottom;
  position: relative;
  top: -1px;
  *overflow: hidden;
}

input {
	font-size: 1.1em;
	border: 1px solid #ccc;
	background: #fcfcfc;
	margin-right: 5px;
	-moz-border-radius: 5px 5px 5px 5px;
	-webkit-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
}

input[type="text"]:hover, input[type="text"]:focus, textarea:hover, select:hover, checkbox:hover {
	border: 1px solid #A4A4A4;
	background: #fff;
}

input[type="text"], input[type="password"] {
	padding: 4px;
}

.input-text-40 {
	width: 280px;
}

.input-text-20 {
	width: 140px;
}

.select-40 {
	width: 280px;
}

select {
	font-size: 1.1em;
	border: 1px solid #ccc;
	background: #fcfcfc;
	padding: 2px 5px;
	-moz-border-radius: 5px 5px 5px 5px;
	-webkit-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
}

.select_400 {
	width: 400px;
}


input[type="button"], input[type="submit"] {
	cursor: pointer;
	padding: 4px 20px 4px 20px;
	margin: 10px 10px 0 0;
}

.archive,
.export-pdf,
.export-xml,
.button-cancel,
.button-save {
	margin: 10px 10px 0 0;
}

#lecturers_subjects {
	width: 370px;
}

/*label.error {
	float: none;
	color: red;
	padding-left: 0.5em;
	vertical-align: top;
}*/

label.error {
	/*margin-left: 10px;
	width: auto;
	display: inline;*/
	color: red;
	font-weight: normal;
}

.formtable td .error {
	font-size: 0.9em;
}

.button-delete,
.button-export,
.button-copy,
.button-mail {
	font-size: 0.9em !important;
}

.button-add-small,
.button-delete-small {
	padding: 2px 7px !important;
	margin: 0px !important;
}

.button-add-ot-small {
	font-size: 0.9em !important;
	padding: 2px 7px !important;
	margin: 0px !important;
}

.message-box {
	margin: 1em 0 2em 0;
	padding: 0 1em;
}

#setSelectedAll,
#setSelectedNone {
	padding: 0px !important;
	margin: 0px !important;
	cursor: pointer;
}

#select-date,
#edit-lecturer-subjects {
	font-size: 0.8em !important;
	margin: 0 !important;
	padding: 0 3px !important;
}

/*.message-box-icon {
	float: left;
	margin-right: 0.5em;
}*/

.msg-busy {
	font-size: 0.8em;
	color: red;
}


/* sidebar */
#sideBar {
	position: fixed;
	width: auto;
	height: auto;
	top: 10px;
	right:0px;
	background: #fff;
	
}

#sideBarTab {
	float: left;
	height: 26px;
	width: 26px;
}

#sideBarTab img {
	border: 0px solid #FFFFFF;
}

#sideBarContents {
	float: left;
	overflow: hidden !important;
	width: 300px;
	/*height: 100px;*/
	border: 1px solid #c0c0c0;
}

* html #sideBarContentsInner { 
   height: expression( this.scrollHeight > 299 ? "300px" : "auto" ); /* sets max-height for IE */
}

#sideBarContentsInner {
	padding: 0 10px;
	width: 280px;
	max-height: 300px; /*700*/
	overflow: auto;
}

#select-date,
#select-lecturer,
#select-subject,
#select-room {
    padding: 3px!important;
}

#select-date .ui-button-text,
#select-lecturer .ui-button-text,
#select-subject .ui-button-text,
#select-room .ui-button-text {
	padding: 0;
}

/* dataTables */
.dataTables_wrapper {
	margin-top: 20px;
}
.dataTable.list th,
.dataTable.formtable th {
	border-color: #999;
}
.dataTable.list td {
	border-bottom: 0;
}
.dataTables_wrapper .dataTables_filter input {
	padding: 4px;
}
table.dataTable.no-footer {
    border-color: #ddd;
}
/*
#lecturerTable_wrapper {
	font-size: 1.2em;
	margin-top: 20px;
}

#lecturerTable_length label {
	font-size: 1em;
}

#lecturerTable_length select option {
	font-size: 1em;
}

#lecturerTable th, 
#lecturerTable td {
	padding: 15px 12px!important;
}
*/
