/* Layout, Font */
*					{font-size:12px; font-family:Tahoma,'Dejavu Sans','Arial CE','Helvetica CE',Arial,Helvetica,sans-serif}
body				{background-color:#444; width:100%; height:100%; margin:0}
#page				{width:974px; margin:0 auto}
h1#logo {margin: 0}

/* Page parts */
#logo a, #user_box,#donation {display:block; color:black; background-color:white; width:280px; padding:10px 15px 0}
#donation			{float:right; height:60px; width:385px; padding:13px 9px 13px 0; _padding-top:18px; margin-top:-85px;text-align:center;}
#donation .small, #donation .small a {font-size:xx-small}
#donation span.small {margin-bottom: 5px;display: block}
#donation .progress_container {width: 95%;border: 1px solid;height: 20px;-moz-border-radius:5px; -webkit-border-radius:5px;margin: 1px 0 5px 0}
#donation .progress {background: #224400 url(/img/test3.gif) repeat scroll 50% 50%; height: 100%}
#donation .progress .text {color:white; display:block;padding-top:2px;}
#donation .note {margin-top: 2px}
#donation a {text-decoration:none}
#user_box			{float:right; height:60px; width:285px; padding:13px 10px; _padding-top:18px; margin-top:-85px}
#user_box a			{color:black}
#user_box strong a {text-decoration: none}

#menu					{background-color:white; padding:30px 10px 5px; margin:0; min-width: 95%; margin-top: -1px}
#menu li				{display:inline; list-style-type:none}
#menu a					{color:black; letter-spacing:1px; text-decoration:none; padding:0 11px; margin:0 3px}
#menu a.active, #menu a.active:hover, #menu a:hover
						{background-color:#ddd; padding:6px 10px 5px; border:solid #666;
						 border-width:1px 1px 0; -moz-border-radius-topleft:4px; -moz-border-radius-topright:4px;
						 -webkit-border-top-left-radius:4px; -webkit-border-top-right-radius:4px}
#menu a.active, #menu a.active:hover
						{color:black; background-color:#dde; padding-bottom:6px; border-color:black}
#menu a.active:hover	{text-decoration:underline}

#footer				{clear:both; color:white; background:#222; font-size:11px;
					 font-weight:bold; text-align:center; padding:3px 0 5px; border-top:1px solid #eee}
#footer a			{color:inherit; text-decoration: none; font-size:11px; font-weight:bold}

/* Boxes */
#content		{background-color:#dde; padding:15px 0 15px 15px; border:solid #222; border-width:1px 0}
#page .box		{background-color:white; padding:0 15px 15px; border:1px solid; -moz-border-radius:4px; -webkit-border-radius:4px; margin-bottom:15px}
#page .float .box, #page .box.float, #content > .box, #page .box.floating
	{width:432px}
#page .box .right	{line-height:1.2em; padding-top:3px}
#page .box.small{width:272px}
#page .box.small .right a{text-decoration: none; color: black}
#page .box.max	{width:912px}

#page .box h2	{color:white; font-weight:bold; line-height:1.8em;
					 padding:2px 15px; margin:0 -15px 15px}
#page #profile .box h2.don {background-color: #313186;}
#page .box h2 *
	{color:white}
#page .ui-sortable .box h2
	{cursor:move}
#page .box p
	{text-align:justify; line-height:1.5em; padding:3px 0; margin:0}
#page .box.floating
	{position:absolute}
#page .box.shadow
	{border-color:#666; height:40px}
#page .box.shadow h2
	{background:#bbb}

#page .box .settings
	{background-color:#ddd; padding:10px 15px 0;
	 border-bottom:1px solid #888; margin:-15px -15px 15px}

.floating_notice
	{display:none; position:fixed; top:0; left:50%; background-color:#dde; padding:8px 15px;
	 border:1px solid black; border-top:none; margin-left:-130px;
	 -moz-border-radius-bottomleft:4px; -moz-border-radius-bottomright:4px;
	 -webkit-border-bottom-left-radius:4px; -webkit-border-bottom-right-radius:4px}


/* Blocks */
form				{display:inline; margin:0}
h3					{text-decoration:underline; margin:8px 0 6px}

.block				{display:block}
.column				{display:block; float:left; margin-right:15px; /*min-height:400px; */width:464px}
.hidden				{display:none}
.clear 				{clear:both}
.float				{display:block; float:left; margin-right:15px}
.lfloat				{float:left}
.rfloat				{float:right}
.right				{text-align:right !important}
.left				{text-align:left !important}
.center				{text-align:center !important}
.middle, .midlle *	{vertical-align:middle}


/* Inlines */
a:hover				{text-decoration:none}
a img				{border:none}
acronym				{cursor:help; border-bottom:1px dotted black}
code				{font-family:monospace}
#test input			{width:99%}
table				{border-collapse:collapse}
.max table, table.max, textarea.max
	{width:100%}
.halfwidth td		{width: 50%}
td, th				{border:1px solid #888; padding:4px 6px}
th					{background-color:#ddd}
sub, sup			{font-size:80%}
.max td				{padding:3px 6px}
.strong				{font-weight:bold}
.fullwidth			{width:100%}
.autowidth			{width:auto !important}
.halfopacity		{opacity: 0.5}
.opaque {opacity: 0.6;filter:alpha(opacity=60)}
.uopaque {opacity: 0.8;filter:alpha(opacity=80)}
.absolute			{position: absolute}

.bold					{font-weight:bold}
.red					{color:red}
.green					{color:green}
.noborder, .noborder td	{border:0 !important}
.noborderlow, .noborderlow td {border:0}
.nowrap					{white-space:nowrap}
.orange					{color:#d81}
img.left				{float:left; margin-right:15px}
img.right				{float:right; margin-left:15px}

.ie-block			{width: 100%; background-color: white; border-bottom: 1px solid black; padding: 5px 10px; vertical-align: middle; margin-bottom: 15px; padding-top: 25px}

/* User messages */
#page .warning h2, #page .error h2, #page .note h2	{background-position:15px !important; background-repeat:no-repeat !important; padding-left:35px !important}
#page .box.note h2		{background-image:url(/img/silk/information.png)}
#page .box.warning h2	{background:#D16000 url(/img/silk/error.png)}
#page .box.error h2		{background:#913B29 url(/img/silk/cancel.png)}
.small_info {background: #FFFA9C url(/img/silk/information.png) no-repeat; border: 1px solid #FFD742; padding: 0 0 0 17px !important; min-height: 16px; vertical-align: middle}



/* SEM hazet vsechen nestandartni bordel pro jednotlive stranky */
.donator {color: blue !important}
.donator a {color: blue !important}
.advert {text-align: center; background-color: #FFFFFF}

/* Profil */
.completion {border-top: 1px solid #888; border-right: 1px solid #888; border-left: 1px solid #888; width: 240px; position: absolute;}
.completion p {padding: 3px !important; border-bottom: 1px solid #888; background-color: white}
.completion p:hover {background-color: #ddd; cursor: pointer}
.selected p {background-color: #ddd !important;}
.completion a {text-decoration: none; color: black}

/* Zpravy */

.receiver_box	{color: #929292; font-style: italic; width: 240px; padding-left: 1px}

/* Uzivatele */
div.users_online {margin-left: 6px}

/* Kalendar */
.calendar_table
	{float:left; border:1px solid #888; margin-bottom:10px}
.calendar_table td
	{text-align:center; padding:1px 0 0 1px; border:none}
.calendar_table td.week, .calendar_table th
	{background-color:#ddd; padding:4px; border:none}
.calendar_table td a
	{display:block; color:black; text-decoration:none; padding:4px 5px; height:15px; width:16px}
.calendar_table td.weekend a
	{color:#777}
.calendar_table tr td a:hover
	{color:black; background-color:#ff5}
.calendar_table td.current a
	{text-decoration:underline; font-weight:bold}
.calendar_table td a.selected
	{color:black; background-color:#ddd}
.cal_first
	{margin-right:2px}
#calendar h3
	{padding-left:10px; background-repeat:no-repeat}
.cal_type_1
	{background-image:url(/img/side-blue.png)}
.cal_type_2
	{background-image:url(/img/side-red.png)}
.cal_type_3
	{background-image:url(/img/side-green.png)}
.cal_type_4
	{background-image:url(/img/side-orange.png)}

/* Znamky */
.inactive td
	{background-color: #C7C7C7}
.user-hidden *
	{background-color: #C7C7C7; font-size:95%}
.better td
	{background-color: #E8FFE5}
.worse td
	{background-color: #FFE5E5}
.new td
	{background-color: #FFCC66}
.subject a
	{display:block; text-decoration:none; width:100%; height:100%; padding:4px 6px; margin:-4px -6px}
.subject a:hover
	{text-decoration:underline}
.year td
	{min-width: 12px}
table#marks
	{width:100%}
table#marks td, table#marks th
	{padding: 4px 3px}


/* Absence */
#prubezna_absence .oml {color: green;}
#prubezna_absence .neoml {color: red;}
#prubezna_absence .pp {color: rgb(147, 87, 0);}
#prubezna_absence .bo {color: orange;}
#prubezna_absence .nezapocet {color: #00CCFF;}

/* Nastenka */
.left_comment {position: relative; right: 4px}
.paging a
	{text-decoration:none; padding:6px 8px; border:1px solid #dde}
.paging a:hover
	{background-color:#eee; border-color:#aaa}
.paging a.current
	{color:black; font-weight:bold}

/* Registrace */
.registrace .correct	{background-color:#CCFFC5}
.registrace .incorrect	{background-color:#FFC7C5}
.registrace span		{display:inline !important; background:none !important; height:auto}

/* Fotogalerie */
#thumb
	{margin:0 auto}
#thumb td
	{vertical-align:10%; width:150px; padding:6px}
.active
	{background-color:#ddd}
.upload_box {font-weight: bold; position: relative; left: 3px}
.upload_box input {width: 130px; font-weight: normal;}
.upload-image {width: 120px}

.comment {margin-bottom: 5px; border: 1px solid #888; background-color: #ddd; padding: 0 5px 3px 5px}

/* sesit */
#maintext .writing:first-line, .print .writing:first-line {font-weight: bold; color: #224400}
#maintext table, .print table {width: auto !important; margin-top: 4px; margin-bottom: 4px}
#maintext img, .print img {margin: 5px 0; border: 1px solid #ddd}
#maintext h2 img, .print-heading img {margin: 0; border: 0}
.figure p {margin-top: -8px !important}
/* removes inheriting [don't remove] */
#maintext li, .print li {list-style-image: none}
#maintext .equals, .print .equals {list-style-image: url('/img/equal.png')}
#maintext .occurence, .print .occurence {list-style-image: url('/img/occurence.png')}
#maintext ol, .print ol {padding-left: 46px}

#maintext blockquote, .print blockquote {font-style: italic}
.print h1 {font-size: 2em; margin: .67em 0}
#maintext h3, .print h2	{font-size: 1.7em; margin: .75em 0; text-decoration: underline}
#maintext h4, .print h3	{font-size: 1.35em; margin: .83em 0; text-decoration: underline}
#maintext h5, .print h4	{font-size: 1.2em; margin: .83em 0}
#maintext h6, .print h5	{font-size: 0.9em; margin: .83em 0}
.print {padding-left: 10px}

/* O HarLabu */
.priv td {text-align: center; vertical-align: middle}
div.facebook {text-align: center; margin-top: 7px}
.facebook a {font-size: inherit; text-decoration: none; color: inherit}

/* Zpravy */
.unread {background-color: #FFFA9C;}

/* tooltips */
div#qTip			{margin:0; padding:0 !important; display:none;	border:1px solid black; position:absolute; z-index:1000; width:auto}

/* errors */
#error				{display:none; padding: 0}
#error p			{background-color:#ffd5d5; border:1px solid red; padding: 5px !important}

/* Debug window */
#debug, #debug_detail, #debug_detail strong
					{position:absolute; top:0; left:0; background:white; border:1px dotted orange; padding:3px 10px}
#debug, #debug_detail strong
					{cursor:pointer; text-align:right; border-width:0 1px 1px 0}
#debug_detail strong{padding-bottom:3px}
#debug_detail		{display:none; white-space:pre}

/* fix opera <wbr> bug */
wbr:after			{content:"\00200B"}

/* Advertisement */
td.adv {border: 0}
.adv {color: black; text-decoration: none; font-size: 90%}
.m776 * {color: black; text-decoration: none; padding-left: 6px}
.small {font-size: xx-small}

.tla {width: 100%; list-style-type: none; padding: 0 0 0 6px; margin: 0;}
.tla * {color: black; text-decoration: none; font-size: 90%}
.tla li {float: left; display: block; padding: 0 5px 0 0; margin: 0;}

/* copyright print header */
.print-heading {display: none}
@media print {
.print-heading {display: block; padding: 5px; border: 1px solid black; margin: 5px}
.noprint {display: none}
.small_info {display: none}
}

.rozbunka {font-size:10px; table-layout:fixed; border-collapse:collapse; border:1px solid #aaa !important}
.rozpredmet1 {font-size:14px; font-weight:bold; border-left:1px solid #aaa !important; border-top:1px solid #aaa !important; text-align: center; padding: 3px 0 !important}
.rozucitel1 {font-size:10px; font-weight:bold; color:red; border-left:1px solid #aaa !important; text-align: center; overflow: hidden;}
.rozskupina {font-size:9px; font-weight:normal; border-left:1px solid #aaa !important}
.rozmistnost1 {font-size:9px; font-weight:normal; font-style:italic; text-align:right}
.roznumhod	{font-size:10px; font-weight:bold}
.rozpopishod	{font-size:8px; font-weight:normal}
.rozdatum	{font-size:10px; font-weight:normal}
.rozchanged	{background-color: #FFBCBC}

.rozbunka2 td {font-size: 8px; padding: 0}
.rozskupina2 {font-weight:normal}
.rozpredmet2 {border-top: 1px solid #aaa !important}
.rozucitel2 {color:red;font-weight: normal}
.rozaktivni {background-color: #FFF182}

.ui-tabs-hide	{display:none}
.ui-tabs-nav
	{background-color:white; padding:5px; margin:0;}
.ui-tabs-nav li
{
	display:inline;
	list-style-type:none;
	padding: 5px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-topright: 4px;
	-webkit-border-top-right-radius: 4px;
	-webkit-border-top-left-radius: 4px;
	border: 1px solid transparent;
	border-width:1px 1px 0px 1px;
	margin-right:5px;
}
.ui-tabs-nav .ui-tabs-selected, .ui-tabs-nav li.active:hover, .ui-tabs-nav li:hover
	{background-color: #ddd; border: 1px solid #666; border-width:1px 1px 0px 1px;}
.ui-tabs-nav a
	{color:black; text-decoration:none; outline:none; margin:0 3px}

