* {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}

/*============= zakladni prvky ==============*/

body {
	background-color: #0c2a4c;
}

img { border: 0; }

#shadow {
	background-image: url('images/shadow.png');
	background-repeat: repeat-y;
	background-position: center;
}

#page {
	width:980px;
	margin: 0 auto 0 auto;
	background: url('images/inside.png');
}

#header {
	height: 206px;
	background-repeat: no-repeat;
	background-position: center top;
	background-image: url('images/top.jpg');
}


#topmenu {
  width: 980px;
  margin: 0 auto 0 auto;
}

#topmenu a {
  display: block;
  float: left;
  height: 26px;
}

#topmenu a span {
  display: none;
}

#header h1 {
  display: none;
}

#bottom {
  height: 53px;
  background-repeat: no-repeat;
	background-position: center top;
	background-image: url('images/bottom.png');
	margin: 0 auto 0 auto;
}

#inside {
  margin: 0 auto 0 auto;
  width: 980px;
  font-size: 13px;
	font-family: Verdana,Arial,Helvetica,sans-serif;
}

#leftmenu {
  float: left;
  width: 205px;
  padding-top: 10px;
}

#leftmenu .tip {
  margin-left: 12px;
  margin-top:10px;
  width: 162px;
  font-size: 11px;
}

#leftmenu .tip .img {
  float: left;
  margin-right: 6px;
  margin-top: 2px;
  margin-left: 3px;
}

#content {
  float: left;
  width: 750px;
  background: white;
}

.contextmenu {
  width: 160px;
  margin-left: 13px;
  padding-top: 13px;
  padding-bottom: 8px;
  background: none;
  border: 1px solid #BBBBBB;
  background: #dbd9d4;
}

.contextmenu a {
  display: block;
  padding-left: 23px;
  margin-right: 10px;
  margin-left: 10px;
  color: #0e1238;
  text-decoration: none;
  font-size: 17px;
  font-family: Tahoma;
  font-weight: bold;
  margin-bottom: 5px;
  background-image: url('images/square.gif');
  background-repeat: no-repeat;
  background-position: 5px 6px;
}

.contextmenu a:hover {
  color: #205474;
}

.contextmenu a.selected {
  color:#eb7106;
  background-image: url('images/square_sel.gif');
}

.clearer {
	clear: both;
	font-size: 1px;
	height: 0px;
}





#topmenu a.news {
  width: 124px;
  background: url('images/menu/novinky_scroll.png');

}

#topmenu a.news:hover {
  background-position: -124px 0;
}

#topmenu a.news_sel {
  width: 124px;
  background: url('images/menu/novinky_on.png');
}



#topmenu a.math {
  width: 134px;
  background: url('images/menu/mathpedie_scroll.png');
}

#topmenu a.math:hover {
  background-position: -134px 0;
}

#topmenu a.math_sel {
  width: 134px;
  background: url('images/menu/mathpedie_on.png');
}



#topmenu a.vyuka {
  width: 95px;
  background: url('images/menu/vyuka_scroll.png');
}

#topmenu a.vyuka:hover {
  background-position: -95px 0;
}

#topmenu a.vyuka_sel {
  width: 95px;
  background: url('images/menu/vyuka_on.png');
}




#topmenu a.projekty {
  width: 98px;
  background: url('images/menu/projekty_scroll.png');
}

#topmenu a.projekty:hover {
  background-position: -98px 0;
}

#topmenu a.projekty_sel {
  width: 98px;
  background: url('images/menu/projekty_on.png');
}




#topmenu a.diskuze {
  width: 104px;
  background: url('images/menu/diskuze_scroll.png');
}

#topmenu a.diskuze:hover {
  background-position: -104px 0;
}

#topmenu a.diskuze_sel {
  width: 104px;
  background: url('images/menu/diskuze_on.png');
}




#topmenu a.omne {
  width: 88px;
  background: url('images/menu/omne_scroll.png');
}

#topmenu a.omne:hover {
  background-position: -88px 0;
}

#topmenu a.omne_sel {
  width: 88px;
  background: url('images/menu/omne_on.png');
}



#topmenu a.admin {
  margin-left: 64px;
  width: 88px;
  background: url('images/menu/admin_scroll.png');
}

#topmenu a.admin:hover {
  background-position: -88px 0;
}

#topmenu a.admin_sel {
  margin-left: 64px;
  width: 88px;
  background: url('images/menu/admin_on.png');
}

/*=================== prvky stranky ===============*/

/* Standardni */

td {
	vertical-align: top;
}

form td {
	vertical-align: middle;
}

/* Nadpisy */

h1, h2, h3, h4 {
	font-family: Verdana,Arial,Helvetica,sans-serif;
	color: #555555;
	display: block;
}

h1 {
	color:#eb7106;
}

h1.hlavni {
	font-size: 30px;
	margin-bottom: 10px;
	margin-top: 15px;
}

h2 {
	padding-top:5px;
	font-size: 22px;
	margin-bottom: 10px;
}

h3 {
	padding-top:5px;
	font-size: 17px;
	margin-bottom: 8px;
}

h4 {
	font-size: 15px;
	margin-bottom: 8px;
}


h3.webdesign span {
	color: #AA4604;
}

h3.rubriky {
	display: block;
	margin-bottom: 5px;
}

h2.mathpedie {
	margin-left: 5px;
}

/* odsazeni */

div.line {
	display: block;
	border-top: 1px dashed black;
	width:100%;
	height: 2px;
	font-size: 2px;
}

div.lined {
	display: block;
	border-top: 2px dotted black;
	width:100%;
	height: 2px;
	font-size: 2px;
}

div.lines {
	display: block;
	border-top: 1px solid #AAAAAA;
	width:100%;
	height: 2px;
	font-size: 2px;
}

.margin10 {
	margin-bottom: 10px;
}

.margin20 {
	margin-bottom: 20px;
}

.margin1010 {
	margin-top: 10px;
	margin-bottom: 10px;
}


.level2 {
	margin-left: 20px;
}

/* seznamy */

ul.normal {
	margin-left: 30px;
}

/* odkazy */

#content a, #content a:visited, a.back, a.back:visited {
	color: #4f7ba4;
	display: inline;
	text-decoration: none;
}

#content a:hover, a.back:hover {
	text-decoration: underline;
}

#content a.underlined, #content a.underlined:visited {
	color: #4f7ba4;
	text-decoration: underline;
}

#content a.underlined:hover {
	color: #5A89F8;
	text-decoration: underline;
}

a.back {
	display: block;
	width: 1px;
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: 5px;
}

/* odstavce */

#vytvory p {
	margin-bottom: 2px;
}

p {
	margin-left: 5px;
}

p.text:first-letter { color:#eb7106; font-weight:bold; font-size: 15px; }
p.text {text-indent: 15px } 

div.mathpedie {
	margin-left: 10px;
}

.mathpedie p{
	margin-bottom: 5px;
	padding-left: 3px;
	font-size: 12px;
}

.mathpedie a.underlined, .mathpedie a.underlined:visited  {
	position: relative;
	font-size: 13px;
	left: -3px;
	font-weight: bold;
	text-decoration: none !important;
}

.zapisky p, .zapisky p a.underlined {
	font-size: 10px !important;
}

.zapisky b {
	font-size: 10px !important;
}
/* inputy */

.adminlogin {
	width: 155px;
}

.adminlogin[class="adminlogin"] {
	width: 150px;
}

input.text {
	background-image: url('images/input_back.gif');
	height: 18px;
	border: 1px solid #AAAABB;
}

textarea.text {
	background-image: url('images/input_back.gif');
   border: 1px solid #AAAABB;
}

/* projekty */

.webdesign_obsah {
	margin-top: 8px;
	margin-bottom: 5px;
}

.webdesign_obsah h3 {
	font-size: 17px;
	margin-bottom: 8px;
	display: block;
}

.webdesign_obsah h3 span {
	color: #BB3D00;
}

.webdesign_image {
	float: left;
	margin-right: 5px;
	border: 0;
}

.webdesign_obsah ul {
	margin: 5px 0 0px 220px;
}

.webdesign_obsah li {
	list-style-type: circle;
}

.menu2 {
	margin-left: 15px;
	border-top: 1px dashed #aaaaaa;
	border-bottom: 1px dashed #aaaaaa;
	padding-top: 3px;
	padding-bottom: 3px;
	margin-top: 4px;
	position: relative;
	padding-left: 0;
	float: right;
	background: #F3F4FA;
}

.menu2 a, .menu2 a:visited {
	display: inline;
	float: left;
	color: #2552A2;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 17px;
	text-decoration: none;
	margin-left: 14px;
	margin-right: 7px;
	position: relative;
}

#mathpedie, #projekty {
	width: 527px;
}

#mathpedie a, #mathpedie a:visited {
	margin-left: 16px;
	margin-right: 16px;
} 

.mathpedie p {
    font-size: 11px;
    font-family: Tahoma, Arial;
}

.mathpedie b {
    font-size: 12px;
}

.mathpedie i {
    font-style: normal;
    color: #880000;
}

.mathpedie a {
    font-family: Verdana;
}

.menu2 a.selected, .menu2 a.selected:visited {
	color: black;
}

.menu2 a:hover {
	color: #86A7E1;
}

.abstrakt {
	margin: 10px 20px 10px 20px;
	text-align: justify;
}

.abstrakt b {
	display: block;
	margin-bottom: 5px;
}

.vyzkum, .software {
	margin-top: 7px;
	margin-bottom: 7px;
}

.software a.underlined {
	font-size: 20px;
}

.software p.caption {
	font-size: 20px;
	color: #4A4A4A;
	margin-bottom: 10px;
}

.screenshot {
	float: left;
	margin-right: 15px;
}

/* images */

img.mathpedie_formula {
	margin-left: 15px;
	display: block;
	margin-bottom: 20px;
}

/* ostatni */

.projekt {
	font-weight: bold;
	color: #973404;
}

.stav {
	margin-top: 5px;
	padding-left: 10px;
	margin-bottom: 10px;
}

.stav span {
	color: #45860E;
	font-weight: bold;
}

.pmargin p {
	margin-bottom:8px;
}

.nowhite a {
	white-space: nowrap;
}


/*================= STYLY ===============*/

div#styles{
	position: absolute;
	left: 33px;
	top: 10px;
}

#styles a, #styles a:visited  {
	font-size: 8px;
	font-family: Arial Black, "Courier new", sans-serif;
	letter-spacing: 0px;
	text-decoration: none;
	color: #949ED3;
	display: block;
}

#styles a:hover {
	color: White;
}

a#normal {
	display: none !important;
}

a.nahoru, a.nahoru:visited {
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    margin-left: 20px;
    margin-top: 5px;
    display: block;
    float: left;
    color: #999999;
}

a.nahoru:hover {
    color: black;
}

a.smallmenu, a.smallmenu:visited {
    font-weight: bold;
    text-decoration: none;
    font-size: 15px;
    color: #2A59C8;
}

a.smallmenu:hover {
    color: #5A89F8;
}

.grafika h3 {
	margin-top: 15px;
	margin-bottom: 15px;
}

.fotografie {
	float: left;
	width: 360px;
	margin-left: 10px;
	height: 152px;
	font-size: 10px;
}

.fotografie img {
	float: left;
	margin-right: 10px;
	border: 0px;
}

.fotografie span {
	font-weight: bold;
	display: block;
	margin-bottom: 5px;
	font-size: 14px;
}

.fotografie p {
	margin-bottom: 3px;
}

.backlink, .backlink:visited {
	color: #3A69D8;
	text-decoration: none;
	font-weight:bold;
	display: block;
	margin-bottom: 10px;
	width: 0;
	white-space: pre;
}

.backlink:hover {
	text-decoration: underline;
}

.galerie img { margin-left: 10px; margin-bottom:10px; }

.galerie_table table { margin-left: 10px; margin-bottom:10px; }

a.foto {display: block; margin: 0 0 10px 10px; float: left; }
