body {
	margin: 0;
	padding: 0 0 20px;
	/*	background: transparent url('../images/body_bg.jpg') no-repeat center top;*/
	min-height: 100%;
	font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif";
	font-size: 10px;
	font-size: 69.5%;
}

#actions, .actions {
	line-height: 3em;
	margin-bottom: 1.5em;
}

#paging, .paging {
	margin: 0;
	width: 100%;
	text-align: center;
	vertical-align: top;
	height: 40px;
	line-height: 30px;
}

#move-button {
	width: 20px;
	height: 20px;
	display: block;
	background-image: url('../images/move_icon.png');
}

.paging-select {
}

button, select, input, textarea {
	font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif";
	font-size: 100%;
}

input[type="text"], input[type="password"], textarea {
	border: 1px solid #888;
}

input:focus, textarea:focus, select:focus {
	background-color: #f8f8f8;
	border: 1px groove #832F2F;
	outline: 1px groove #832F2F;
}

#sidebar input[type="text"], #sidebar input[type="password"] {
	width: 190px;
}

#sidebar select {
	width: 190px;
	border: 1px solid #888;
}

input[type="text"].long, input[type="password"].long {
	width: 250px;
}

textarea.higher {
	height: 300px;
}

textarea.longest {
	width: 900px;
}

input[type="text"].longer, input[type="password"].longer, textarea.longer {
	width: 450px;
}

input[type="text"].bignumber {
	width: 110px;
	font-size: 200%;
	text-align: center;
}

input[type="file"].long {
	width: 250px;
}

input[type="file"].longer {
	width: 400px;
}

input[type="text"].short {
	width: 70px;
}

input[type="text"].shorter {
	width: 40px;
}

input[type="text"].datetime, input[type="text"].datetime-nojs {
	width: 90px;
}

input[type="text"].number {
	width: 50px;
	text-align: right;
}

.field-error {
	margin-left: 10px;
}

input[type="text"].err, select.err, textarea.err {
	border: 1px solid red;
	background-color: yellow;
}

select.long {
	min-width: 250px;
	border: 1px solid #888;
	padding: 0.0em 0.0em;
}

select.short {
	min-width: 70px;
}

textarea.twice {
	height: 2.5em;
	width: 255px;
}

textarea.eval-comment, textarea.deadline-postponed-reason {
	height: 6em;
	width: 400px;
}

fieldset {
	padding: 0;
	border: 0;
	margin-top: 25px;
}

h1 {
	font-size: 1.5em;
	padding: 0.5em 10px;
	color: #832F2F;
	background: #f8f8f8;
	font-family: Arial, sans-serif;
}

h1 a {
	color: #832F2F;
}

#sidebar h2 {
	background: #ddd;
	text-align: center;
	margin: 0;
	padding: 0.5em 0;
}

h2, h3, h4, h5, h6 {
	font-size: 1.2em;
	margin: .6em 0;
}

table {
	margin: 0 0 0 0;
	border-collapse: collapse;
	width: 100%;
}

table td, table th {
	border: 1px solid #eee;
	text-align: left;
	padding: .6em 10px;
}

.removed {
	color: #666;
}

.ui-button {
	outline: 0;
	margin: 0;
	padding: .4em 1em .5em;
	text-decoration: none;
! important;
	cursor: pointer;
	position: relative;
	text-align: center;
}

.ui-dialog .ui-state-highlight, .ui-dialog .ui-state-error {
	padding: .3em;
}

.no-close .ui-dialog-titlebar-close {
	display: none
}

.amount {
	font-size: 150%;
	font-weight: bolder;
	padding-top: 0;
	padding-bottom: 0;
}

.hidden {
	display: none;
}

#result-message {
	background-color: #eee;
	padding: 6px;
	color: green;
	font-weight: bolder;
	margin: 3px 0;
}

#error-message {
	background-color: #eee;
	padding: 6px;
	color: red;
	font-weight: bolder;
	margin: 3px 0;
}

.gray {
	background-color: #f8f8f8;
}

/* css for timepicker */
.ui-timepicker-div .ui-widget-header {
	margin-bottom: 8px;
}

.ui-timepicker-div dl {
	text-align: left;
}

.ui-timepicker-div dl dt {
	height: 25px;
	margin-bottom: -25px;
}

.ui-timepicker-div dl dd {
	margin: 0 10px 10px 65px;
}

.ui-timepicker-div td {
	font-size: 90%;
}

.ui-tpicker-grid-label {
	background: none;
	border: none;
	margin: 0;
	padding: 0;
}

.ui-timepicker-rtl {
	direction: rtl;
}

.ui-timepicker-rtl dl {
	text-align: right;
}

.ui-timepicker-rtl dl dd {
	margin: 0 65px 10px 10px;
}

.ui-autocomplete-loading {
	background: white url('custom-theme/images/ui-anim_basic_16x16.gif') right center no-repeat;
}

.ui-button-text {
	font-size: 0.92em;
}

input.ui-button {
	font-size: 0.96em;
}

#file-results td {
	border-bottom: 1px solid #ddd;
}

#header {
	height: 82px;
	background: #993333;
	color: white;
}

#header a, #header a:visited {
	color: white;
}

#header #owl {
	float: left;
	background: url('../images/etms.jpg') no-repeat;
	height: 82px;
	width: 210px;
}

#header #header-menu {
	float: left;
	height: 1em;
}

#header #hotline {
	float: right;
	width: 150px;
	height: 50px;
	margin: 10px 10px 10px 30px;
}

#header #hotline table {
	background-color: #a34F4F;
	border-color: transparent;
	margin-top: -7px;
}

#header #hotline table td {
	background-color: #a34F4F;
	border-color: #993333;
	padding: 4px;
}

#header #login-data {
	float: right;
	width: 200px;
	text-align: right;
	margin: 33px 0;
}

#content {
	margin: 0 auto;
	text-align: left;
	min-height: 600px;
    /*background: url('../images/background.gif') top left repeat-y;*/
}

#sidebar {
	float: left;
	width: 200px;
	margin: 0;
	padding: 1em 5px;
}

#main {
	margin: 0 0 0 210px;
	padding: 0.5em 1em;
	font-size: 100%;
}

#footer {
	clear: both;
	margin: 2em 1em;
}

hr.cleaner {
	clear: both;
	height: 1px;
	margin: -1px 0 0 0;
	padding: 0;
	border: none;
	visibility: hidden;
}

.clear {
	clear: both
}

.activity-dialog table {
	font-size: 90%;
}

.even-odd tr:nth-child(even) {
	background-color: #f8f8f8;
}

.clicked-row, .even-odd tr:hover {
	background-color: #E3BFBF !important;
}

.right {
	text-align: right;
}

.strong {
	text-weight: bolder;
}

.accreditation-value {
	font-size: 150%;
	text-weight: bolder;
}

.activity-status-created {
	font-weight: bolder;
	color: orange;
}

.activity-status-confirmed {
	font-weight: bolder;
	color: green;
}

.activity-status-confirmed_auto {
	font-weight: bolder;
	color: green;
}

.activity-status-sent_to_confirmation {
	font-weight: bolder;
	color: navy;
}

.activity-status-not_confirmed {
	font-weight: bolder;
	color: grey;
}

.accreditation-schedule-status-in_progress {
	font-weight: bolder;
	color: orange;
}

.accreditation-schedule-status-finished {
	font-weight: bolder;
	color: green;
}

.accreditation-status-in_preparation {
	font-weight: bolder;
	color: navy;
}

.accreditation-status-active {
	font-weight: bolder;
	color: green;
}

.accreditation-status-inactive {
	font-weight: bolder;
	color: grey;
}

.accreditation-status-in_accreditation_process {
	font-weight: bolder;
	color: orange;
}

.document-status-proposal {
	font-weight: bolder;
	color: black;
}

.document-status-updated {
	font-weight: bolder;
	color: navy;
}

.document-status-before_confirmation {
	font-weight: bolder;
	color: orange;
}

.document-status-confirmed {
	font-weight: bolder;
	color: green;
}

.document-status-cancelled {
	font-weight: bolder;
	color: gray;
}

.goal-status-suggested {
	font-weight: bolder;
	color: red;
}

#dialog-modal {
	width: 150px;
}

#dialog-modal #progress {
	background-image: url("../images/progress-loading.gif");
	width: 32px;
	height: 32px;
	display: block;
	margin: auto;
	margin-top: 15px;
}

.goal-status-created {
	font-weight: bolder;
	color: navy;
}

.goal-status-corrected {
	font-weight: bolder;
	color: maroon;
}

.goal-status-sent_to_confirm {
	font-weight: bolder;
	color: orange;
}

.goal-status-confirmed {
	font-weight: bolder;
	color: green;
}

.goal-status-deleted {
	font-weight: bolder;
	color: grey;
}

.goal-status-finished {
	font-weight: bolder;
	color: black;
}

.activity-value {
	font-size: 150%;
}

tr.border-top-none td {
	border-top: none;
}

tr.border-bottom-none td {
	border-bottom: none;
}

.sub-tree-1 {
	padding: 0;
	border: none;
	padding-left: 50px;
}

.sub-tree-1 table {
	padding: 0;
	margin: 0;
	border-top: none;
}

.sub-tree-1 td {
	background: #f8f8f8;
}

.no-display {
	display: none;
}

.ui-autocomplete {
	max-height: 300px;
	overflow-y: auto;
	/* prevent horizontal scrollbar */
	overflow-x: hidden;
	/* add padding to account for vertical scrollbar */
	padding-right: 20px;
}

/* IE 6 doesn't support max-height
 * we use height instead, but this forces the menu to always be this tall
 */
* html .ui-autocomplete {
	height: 300px;
}

.priority-low {
	color: grey;
}

.priority-normal {
	color: navy;
}

.priority-high {
	color: red;
	font-weight: bolder;
}

.grey {
	color: grey;
}

.barometer {
	margin-top: 10px;
	margin-bottom: 10px;
	text-align: center;
	width: 300px;
}

.barometer td {
	text-align: center;
}

.department-fulfilling-legend {
	width: 150px;
}

.department-fulfilling-legend th, .department-fulfilling-legend td {
	border: none;
}

.sort-icon {
	float: right;
	display: inline-block;
}

ul.personal-module {
	list-style-type: square;
	margin-top: 5px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-left: 20px;
}

ul.personal-module li {
	margin-bottom: 10px;
}

ul.personal-module li span[class^="seminars-cnt"], ul.personal-module li span[class^="lectures-cnt"] {
	float: left;
	margin-left: 3px;
	font-weight: bold;
}

ul li .riv {
	color: grey;
}

.label {
	background-color: #B0B0B0;
	border: 1px solid #898989;
	color: #F8F8F8;
	display: inline-block;
	height: 14px;
	margin-left: 4px;
	padding-left: 4px;
	padding-right: 4px;
}

#change-riv-form {
	margin-top: 15px;
}

#change-riv-form label {
	margin-right: 15px;
}

#change-riv-form #error {
	margin-top: 5px;
	color: red;
}

td.personal-module.subj-name.ok {
	background-color: #13C700;
}

td.personal-module.subj-name.false {
	background-color: #D71B1B;
}

.coeficient {
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
	border: medium none !important;
	color: #808080;
	float: left;
	margin-right: 5px !important;
	position: relative !important;
}

.plus-minus-buttons {
	float: left;
	margin-left: 5px;
	margin-right: 5px;
	margin-top: -1px;
}

.plus-minus-buttons .plus-button, .plus-minus-buttons .minus-button {
	float: left;
	cursor: pointer;
}

.planning-teachers {
	margin-top: 5px;
	margin-bottom: 5px;
}

.planning-teachers .teacher-name {
	float: left;
	margin-bottom: 5px;
}

.planning-teachers .teacher-name:hover {
	text-decoration: underline;
	cursor: pointer;
}

.planning-teachers .lessons {
	float: left;
	color: grey;
}

.free-capacity-ok {
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
	border: medium none !important;
	color: #13C700;
	float: right !important;
	right: 62px !important;
}

.free-capacity-no {
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
	border: medium none !important;
	color: #D71B1B;
	float: right !important;
	right: 55px !important;
}

table.planning {
	margin-top: 15px;
}

table.planning tr {
	height: 20px;
}

table.planning tr td {
	vertical-align: top;
	padding-top: 15px;
}

table.planning .edit-lectures-button, table.planning .edit-seminars-button {
	margin-top: -3px;
	float: right;
}

table.planning form input.lessons {
	background-color: #FFFFFF;
	background-image: -moz-linear-gradient(center top, #EEEEEE 1%, #FFFFFF 15%);
	border: 1px solid #AAAAAA;
	cursor: text;
	margin-top: 5px;
	width: 30px;
	height: 20px;
}

table.planning form .button {
	margin-top: 5px;
}

#assigned-user-dialog .user-free-capacity {
	float: left;
	margin-right: 5px;
}

#assigned-user-dialog #assigned-user-table {
	margin-top: 15px;
}

.status-ok {
	background-color: #bcffbe;
}

.status-false {
	background-color: #f0c8c8;
}

.input-form {
	display: none;
}

.cancelled-qualification {
	background-color: #f8f8f8;
}

.calendar-acquisited {
	border: none !important;
	padding: 1px 0 1px 1px !important;
	background: none !important;
	overflow: hidden;
}

.calendar-acquisited a {
	background: #daffd8 url(bg.png) 50% 50% repeat-x !important;
}

.calendar-acquisited-requested {
	border: none !important;
	padding: 1px 0 1px 1px !important;
	background: none !important;
	overflow: hidden;
}

.calendar-acquisited-requested a {
	background: #8ce588 url(bg.png) 50% 50% repeat-x !important;
	border: 1px #33db2c solid !important;
}

.calendar-requested {
	border: none !important;
	padding: 1px 0 1px 1px !important;
	background: none !important;
	overflow: hidden;
}

.calendar-requested a {
	background: #ffbebe url(bg.png) 50% 50% repeat-x !important;
	border: 1px #d77979 solid !important;
}

.accept-button-green.ui-state-default, .accept-button-green.ui-widget-content .accept-button-green.ui-state-default, .accept-button-green.ui-widget-header .accept-button-green.ui-state-default {
	border: 1px solid #009a00;
	background: green;
	font-weight: normal;
	color: #ffffff;
	margin: 1px;
}

.accept-button-green.ui-state-default a, .accept-button-green.ui-state-default a:link, .accept-button-green.ui-state-default a:visited {
	color: #ffffff;
	text-decoration: none;
}

.accept-button-green.ui-state-hover, .accept-button-green.ui-widget-content .accept-button-green.ui-state-hover, .accept-button-green.ui-widget-header .accept-button-green.ui-state-hover, .accept-button-green.ui-state-focus, .accept-button-green.ui-widget-content .accept-button-green.ui-state-focus, .accept-button-green.ui-widget-header .accept-button-green.ui-state-focus {
	border: 1px solid #1d7f03;
	background: #1a660d;
	font-weight: normal;
	color: #ffffff;
}

.accept-button-green.ui-state-hover a, .accept-button-green.ui-state-hover a:hover {
	color: #ffffff;
	text-decoration: none;
}

.accept-button-green.ui-state-active, .accept-button-green.ui-widget-content .accept-button-green.ui-state-active, .accept-button-green.ui-widget-header .accept-button-green.ui-state-active {
	border: 1px solid #009a00;
	background: green;
	font-weight: normal;
	color: #ffffff;
}

.accept-button-green.ui-state-active a, .accept-button-green.ui-state-active a:link, .accept-button-green.ui-state-active a:visited {
	color: #ffffff;
	text-decoration: none;
}

.accept-button-green.ui-widget :active {
	outline: none;
}

.accept-button-red.ui-state-default, .accept-button-red.ui-widget-content .accept-button-red.ui-state-default, .accept-button-red.ui-widget-header .accept-button-red.ui-state-default {
	border: 1px solid #ff3818;
	background: red;
	font-weight: normal;
	color: #ffffff;
	margin: 1px;
}

.accept-button-red.ui-state-default a, .accept-button-red.ui-state-default a:link, .accept-button-red.ui-state-default a:visited {
	color: #ffffff;
	text-decoration: none;
}

.accept-button-red.ui-state-hover, .accept-button-red.ui-widget-content .accept-button-red.ui-state-hover, .accept-button-red.ui-widget-header .accept-button-red.ui-state-hover, .accept-button-red.ui-state-focus, .accept-button-red.ui-widget-content .accept-button-red.ui-state-focus, .accept-button-red.ui-widget-header .accept-button-red.ui-state-focus {
	border: 1px solid #ea0000;
	background: #b50000;
	font-weight: normal;
	color: #ffffff;
}

.accept-button-red.ui-state-hover a, .accept-button-red.ui-state-hover a:hover {
	color: #ffffff;
	text-decoration: none;
}

.accept-button-red.ui-state-active, .accept-button-red.ui-widget-content .accept-button-red.ui-state-active, .accept-button-red.ui-widget-header .accept-button-red.ui-state-active {
	border: 1px solid #ff3818;
	background: red;
	font-weight: normal;
	color: #ffffff;
}

.accept-button-red.ui-state-active a, .accept-button-red.ui-state-active a:link, .accept-button-red.ui-state-active a:visited {
	color: #ffffff;
	text-decoration: none;
}

.accept-button-red.ui-widget :active {
	outline: none;
}

pre {
	white-space: pre-wrap; /* css-3 */
	white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
	white-space: -o-pre-wrap; /* Opera 7 */
	word-wrap: break-word; /* Internet Explorer 5.5+ */
	font-family: inherit;
	font-size: inherit;
}

.blabel {
	display: inline;
	line-height: 1;
	height: 14px;
	padding: .1em .6em;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: .25em;
}

.blabel-default {
	background-color: #777;
}

.blabel-primary {
	background-color: #428bca;
}

.blabel-success {
	background-color: #5cb85c;
}

.blabel-info {
	background-color: #5bc0de;
}

.blabel-warning {
	background-color: #f0ad4e;
}

.blabel-danger {
	background-color: #d9534f;
}
