*{
	margin:0;
	padding:0;
}

body{
	font: 90% "Trebuchet",Sans-Serif;
	background: #FFF url("../images/design/pozadie1.png") left top repeat-x;
	color: #3B3B3B;
	text-align: center;
}
body *{
	font-size: 100%;
	font-family: "Trebuchet",Sans-Serif;
	color: #3B3B3B;
}
strong{
	font-weight: bold;
}
em,blockquote{
	font-style: italic;
}
img{
	border: 0;
}

.hint{
  position: absolute;
  display: none; 
  background-color: #FFFFAA; 
  border: 1px dotted gray;
  color: gray; 
  padding: 5px;
}

#page{
	position: relative;
	width: 1110px;
	margin: 0 auto;
	text-align: left;
	background-color: white;
}

#logo{
	position: absolute;
	top: 7px;
	left: 27px;
	z-index: 3;
}
#logo a{
	display: block;
	position: relative;
	width: 267px;
	height: 75px;
	text-decoration: none;
}
#logo a span {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	background: url("../images/design/logo_lo.png") top left no-repeat;
	cursor: pointer;
}

#header{
  position: absolute;
  top: 7px;
  left: 7px;
  width: 769px;
  height: 128px;
	background: url("../images/design/header.png?new=1") top left no-repeat; 
}

#header a{
  color: white;
  text-decoration: none;
  font-size: 11px; 
  font-weight: bold;
  border: 1px dotted white;
  border-left: 0px; 
  height: 15px;
  padding: 7px;
  padding-left: 20px;
  display: block;
  float: left;
	background: url("../images/design/arrow_right.gif") top left no-repeat; 
}

#header a.active{
	background: url("../images/design/arrow_down.gif") top left no-repeat;
  color: #C0FFC0;
}

#header a:hover{
	background: url("../images/design/arrow_down.gif") top left no-repeat;
  color: #80D080;
}

#main{
	padding: 150px 15px 15px 15px;
	line-height: 120%;
}

#teacher_login, #student_login{
  position: absolute; 
  top: 7px; 
  left: 783px; 
  width: 309px; 
  border: 1px solid gray;
  border-radius: 10px; 
  padding: 5px; 
  line-height: 180%;
  overflow: hidden;  
}

#teacher_login{
	background: url("../images/design/teacher.png") top left repeat-x;
  line-height: 160%;
  height: 202px; 
}

#student_login{
	background: url("../images/design/student.png") top left repeat-x;
  line-height: 180%;
  height: 166px; 
}

#student_login .logged_header, #student_login .logged_header b{
  color: blue;
  font-size: 18px;
  padding-bottom: 10px;
  width: 1000px; 
}

#teacher_login a, #student_login a{
  color: white;
  font-size: 16px;
  padding-left: 10px;
}

#teacher_login .logged_header, #teacher_login .logged_header b{
  color: green;
  font-size: 18px;
  padding-bottom: 10px;
  width: 1000px; 
}

.edit_name{
  background-color: #F0F0F0;
  width: 50px;
}

.edit_surname{
  background-color: #F0F0F0;
  width: 80px;
}

.edit_class{
  background-color: #F0F0F0;
  width: 50px;
}

#student_login .logged_header, #student_login .logged_header b{
  color: blue;
  font-size: 18px;
  padding-bottom: 10px;
  width: 1000px; 
}

#footer{
  background: url("../images/design/footer.png") top left no-repeat;
  height: 24px;
  padding-top: 277px;
  padding-left: 20px;
  font-size: 11px;
  font-weight: bold;
  color: white;
}

#footer a, #footer a:visited, #footer a:hover{
  color: white;
}


#main p,#main ul,#main ol,#main li,#main table,#main blockquote,#main h1,#main h2,#main h3,#main h3,#main h4,#main h5,#main h6{
	margin-bottom: 20px;
}
#main ul,#main ol{
	margin-left: 20px;
}
#main ul ul,#main ul ol,#main ol ul,#main ol ol{
	margin-top: 20px;
	margin-left: 40px;
}
#main h1,#main h2,#main h3,#main h3,#main h4,#main h5,#main h6,
	#main h1 a,#main h2 a,#main h3 a,#main h3 a,#main h4 a,#main h5 a,#main h6 a{
	color: #518F00;
}

#main h1{
	font-size: 140%;
}
#main h2{
	font-size: 120%;
}
#main h3{
	font-size: 110%;
}
#main h4,#main h5,#main h6{
	font-size: 100%;
}

#main th,#main td{
	text-align: left;
	padding: 3px 5px;
	vertical-align: top;
}

p.fotogalerie{
	display: inline;
	line-height: 10px;
}
p.fotogalerie img{
	margin: 5px;
}
