* {
	margin: 0;
	padding: 0;
}

body {
	margin: 0;
	text-align: center;
	background: #FFFFFF url('/images/top.png') repeat-x left top;
	font-family: 'Trebuchet MS', "Times New Roman", Times, serif;
	font-size: 14px;
	color: #333333;
}

a {
	text-decoration: none;
	color: #ff5917;
}

.button {
	margin: 0 auto;
	padding: 2px 10px;
	background-color: #40768d;
	color: #ffffff;
}

a:hover {
	color: #31627e;
	text-decoration: underline;
}

/* TODO Nie wiem jak zorbic zeby nie zmienialo koloru linka z class button */
a:hover .button {
	color: #fff;
}

a.blue {
	text-decoration: none;
	color: #31627e;
}

a.blue:hover {
	color: #ff5917;
	text-decoration: underline;
}

a.normal {
	text-decoration: none;
	color: #333333;
}

a.normal:hover {
	color: #31627e;
	text-decoration: underline;
}

h1, h2, h3 {
	color: #31627e;
}

h2, h3 {
	padding: 5px 0;
}

h1 {
	font-size: 28px;
	padding-bottom: 5px;
	margin-bottom: 10px;
	font-family: 'Palatino Linotype', "Times New Roman", Times, serif;
	letter-spacing: -1px;
	font-style: italic;
}

h2 {
	font-size: 18px;
}

h3 {
	font-size: 16px;
}

p {
	margin: 3px 0;
}

table.zebra {
    width: 100%;
    border: 1px solid #91aec5;
    text-align: left; 
    padding: 1px;
}
table.zebra th {
    font-weight: bold;
    color: white;
    height: 34px;
    background-color: #acf;
    background-image: url('/images/zebra_title_bg.png');
    padding-left: 9px;
}
table.zebra td {    
    padding-left: 9px;
    height: 28px;
}
table.zebra .center {
	text-align:center;
}





table.zebra tr.odd {
    background-color: #F4F9F9;
    background-image: url('/images/zebra_odd_bg.png');
    
   }
   
table.zebra tr:hover td {
   background-color: #fafad3;
}

table.zebra .odd td {
    border-top: 1px solid #cef;
    border-bottom: 1px solid #cef;    
   }
table.zebra .even td {
    /*border-bottom: 1px solid #cef; */
	}
table.zebra .header{
	background-image: url('/images/zebra_title_bg.png');
	border: 1px solid #fff;
}

/* Tabs */

.tabs2 {
	margin-top: 10px;
}

.tabs2 ul {
	margin: 0;
	padding: 0 0 0 5px;
	list-style: none;
}

.tabs2 li {
	float: left;
}

.tabs2 li a {
	display: block;
	color: #ffffff;
	margin: 0 2px;
	padding: 3px 8px;
	background-color: #b1b0b0;
}

.tabs2 li.current a, .tabs2 li a:hover {
	background-color: #42788e;
}

.tabs2 .line {
	clear: both;
	height: 4px;
	background-color: #42788e;
}

.tabs {
	margin-top: 10px;
}

.tabs ul { 
	width: 100%;
	height: 43px;
	background: #FFF url("/images/menu-bg.gif") top left repeat-x; 
	font-size: 12px; 
	font-family: "Lucida Grande", Verdana, sans-serif; 
	font-weight: bold; 
	list-style-type: none; 
	margin: 0; 
	padding: 0; 
}

.tabs ul li {
	display: block; 
	float: left; 
	margin: 0 0 0 5px; 
}

.tabs ul li a { 
	height: 43px; 
	color: #777; 
	text-decoration: none; 
	display: block; 
	float: left; 
	line-height: 200%; 
	padding: 8px 15px 0; 
}

.tabs ul li a:hover { 
	color: #333; 
}
	
.tabs ul li.current a { 
	color: #fff; 
	background: #fff url("/images/current-bg.gif") top left repeat-x; 
	padding: 5px 15px 0; 
}

.vertical_crud_menu {
	margin-top: 8px;
	clear: both;
}

.vertical_crud_menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vertical_crud_menu li {
	list-style: none;
	display: inline;
	margin: 0;
}

.vertical_crud_menu li a {
	color: #31627e;
}

.vertical_crud_menu li a:hover {
	color: #ff5917;
}

.vertical_crud_menu li.edit {
	background: url('/images/icons/edit.png') 0 50% no-repeat;
	padding: 0 10px 0 20px;
}

.vertical_crud_menu li.delete {
	background: url('/images/icons/delete.png') 0 50% no-repeat;
	padding: 0 10px 0 20px;
}

                    


/* Form */

input, textarea, select {
	padding: 2px;
	background-color: #ffffff;
	border: 1px solid #b4c9da;
}

input.button {
	padding: 2px 5px;
	background-color: #40768d;
	border: 1px solid #ffffff;
	color: #ffffff;
	background-image: url('/images/button_bg.png');
}

input.search_button{
	padding: 2px 10px;
	padding-left: 22px;
	background-color: #40768d;
	border: 1px solid #ffffff;
	color: #ffffff;
	background-image: url('/images/search_button_bg.png');
}

.form p {
	margin: 7px 0;
}

.form fieldset {
	background-color: #dfeded;
	border: 1px solid #b4c9da;
	padding: 10px 15px;
}

.form legend {
	margin: 0;
	padding: 2px 10px;
	background-color: #40768d;
	color: #ffffff;
	font-family: "Palatino Linotype";
	font-style: italic;
}

.form .headers {
	margin:0;
	padding: 4px 8px 20px 6px; 
	position:relative;
}

.form .headers .header {
	background-color: #dfeded;
	width: 23%;
	border: 1px solid #b4c9da;
	padding-left: 0.6em;
	margin-bottom: 15px;
	margin-left: -7px;
}

.form .headers a {
	color:#f8f8f8;
}

.form .headers h1 a.ancestor { 
	font-size: 80%; 
}



/* Tabs */

.form .headers .tab {
	position: absolute;  
	bottom: 0px;  
	left:6px; 
	margin-right: -500px;
	margin-bottom: -1px;
}

.form .headers .tab ul {
	margin: 0;  
	padding: 0;
}

.form .headers .tab li {
  float:left;
  list-style-type:none;
  margin: 0px 6px 0px 0px;
  padding: 0px 0px 0px 0px;
	background-color: #dfeded;
  white-space:nowrap;
}

.form .headers .tab li a {
  display: block;
  color: #ff5917;
  text-decoration: none;
  font-weight: bold;
  margin: 0;
  padding: 4px 10px 4px 10px;
}

.form .headers .tab li a:hover {
	background:#759FCF; 
	color:#fff;
}

.form .headers .tab li.current a {
  border: 1px solid #b4c9da;
  border-bottom: 0px;
}

.form .headers .tab li.current a, .form .headers .tab li.current a:hover {
	background-color: #dfeded;	
	color:#555;	
}

/* Tabs end */

.form .inline label {
	width: 150px;
	display: block;
	float: left;
}

.form .inline input {
	width: 150px;
}

.form .inline select {
	width: 150px;
}

.form .inline textarea {
	width: 150px;
	height: 100px;
}


.form .normal label {
	margin-bottom: 2px;
	display: block;
}

.form .normal input {
	width: 300px;
}

.form .normal select {
	width: 300px;
}

.form .normal textarea {
	width: 300px;
	height: 150px;
}

.form .buttons {
	margin: 15px 0 5px 150px;	
}

.form .buttons input {
	margin: 0 auto;
	padding: 2px 10px;
	background-color: #40768d;
	border: 1px solid #ffffff;
	color: #ffffff;
	background-image: url('/images/button_bg.png');
}

.form h3, .info h3, .formtastic h3 {
	padding-bottom: 0px;
	margin: 17px 0 7px 0;
	border-bottom: 1px solid #abe ;
	width: 90%;
	font-family: "Palatino Linotype";
	font-style: italic;
	font-weight: normal;
	letter-spacing: -1px;
	font-size: 20px;
}

.message h3{
	margin-top: 0px;
}

/*notices*/

.notice_ok {

	font-size: 13px;
	font-weight: bold;
	color: #3ab328;
	text-align: left;
	background: url('/images/icons/notice_ok.png') 4px 50% no-repeat;
	border-top: 1px #3ab328 solid;
	border-bottom: 1px #3ab328 solid;	
	padding: 5px 3px 3px 25px;
	margin-bottom: 7px;
	background-color: #f2ffdd;
}

.notice_error {
	font-size: 13px;
	font-weight: bold;
	color: #ef2121;
	text-align: left;
	background: url('/images/icons/notice_error.png') 4px 50% no-repeat;
	border-top: 1px #ef2121 solid;
	border-bottom: 1px #ef2121 solid;	
	padding: 5px 3px 3px 25px;
	margin-bottom: 7px;
	background-color: #ffeeee;
}

.notice_info {
	font-size: 13px;
	font-weight: bold;
	color: #009acd;
	text-align: left;
	background: url('/images/icons/notice_info.png') 4px 50% no-repeat;
	border-top: 1px #009acd solid;
	border-bottom: 1px #009acd solid;	
	padding: 5px 3px 3px 25px;
	margin-bottom: 7px;
	background-color: #eeeeff;
}



.clear {
	clear: both;
}

/* Layout */

#header {
	width: 980px;
	height: 100px;
	margin: 0 auto;
	text-align: left;
}

#logo {
	float: left;
	height: 20px;
}

#student_menu{
	float: right;
	margin-left: 20px;
}
#student_menu a{
	color: #fff;	
}
#student_menu div:hover{
	color: #fff;	
	text-decoration: underline;
}
#student_menu div{
	display: block;
	float: left;
	background: url('/images/header_button.png') left top no-repeat;
	width: 95px;
	height: 31px;
	font-family: "Palatino Linotype";
	font-style: italic;
	font-weight: normal;
	letter-spacing: -1px;
	font-size: 18px;
	padding: 40px 0 0 9px;
}

#top {
	float: right;
	padding: 47px 5px 0 0;
	color: white;
}
#top a {
	color: #FFB598;	
}
#top a:hover{
	color: #FB7C49;	
	text-decoration: underline;
}

#page {
	width: 980px;
	margin: 0 auto;
	padding: 0;
	text-align: left;
}
#student_page {
	width: 750px;
	margin: 0 auto;
	padding: 0;
	text-align: left;
}

.center {
	text-align: center;
}

#sidebar {
	float: left;
	width: 300px;
	text-align: left;
}

#content {
	float: left;
	width: 680px;
	text-align: left;
}

#footer {
	border-top: 1px solid #ccc;
	clear: both;
	width: 980px;
	padding-top: 8px;
	margin: 30px auto;
	text-align: right;
	font-size: 11px;
	color: #777;
}

.small_text {
	font-size: 11px;
	color: #777;
}


.mini_box {
	float: left;
	margin: 10px;
	border: 1px solid #91aec5;
}

.mini_box .title {
	text-align: center;
	font-size: 15px;
	font-weight: bold;
	padding: 3px 5px;
	background-color: #89cbe6;
	background: url('/images/mini_box_bg.png') repeat-x left top;
	border: 1px solid #ffffff;
}

.mini_box .title p {
	text-align: left;
	font-size: 13px;
	font-weight: normal;
	margin: 2px 0;
	padding: 0;
}

.mini_box .content {
	padding: 5px;
	border-top: 1px solid #91aec5;
	background-color: #fffff2;
}

.mini_box .content ul.menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.box {
	width: 278px;
	margin-bottom: 20px;
	border: 1px solid #b4c9da;	
}



.box .title p {
	display: inline;
	margin: 0;
	padding-left: 18px;
	background: url('/images/box_header_bullet.png') 0 60% no-repeat;
	font-family: 'Palatino Linotype', Georgia, "Times New Roman", Times, serif;
	font-style: italic;
	
}

.box .title {
	height: 26px;
	background-image: url('/images/box_title.png');
	padding: 4px 0 1px 7px;
	font-size: 18px;
	
	color: #ffffff;
}

.box .content {
	border: 1px solid #ffffff;
	padding: 5px 10px 0 7px;
	background: url('/images/box_bg.png') repeat-x left top;	
}

.box ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.box li {
	padding: 3px 0;
}

.box li a {
	font-size: 15px;
}

li.edit, li.delete, li.move_up, li.move_down {
	padding: 0 10px 0 20px;
	list-style: none;
}
li.edit{
	background: url('/images/icons/edit.png') 0 50% no-repeat;
}
li.delete {
	background: url('/images/icons/delete.png') 0 50% no-repeat;
}

li.move_up {
	
}

li.move_down {
	
}

.info span {
	width:200px;
	display: block;
	float: left;
	color: #666;
}
.info pre {
	font-family: 'Trebuchet MS', "Times New Roman", Times, serif;
	font-size: 14px;
}
.grey_bg{
	background-color: #f6f8ff;
	padding: 5px 0 10px 10px;
	border: 1px solid #eee;
}
.yellow_bg{
	background-color: #fafad3;
	padding: 5px 0 10px 10px;
	border: 1px solid #eee;
}

.box li{
	background: url('/images/menu_bullet.gif') 0px 50% no-repeat ;
	padding-left: 18px;
}
.menu li{
	margin-bottom: 5px;
	background: url('/images/small_bullet.png') 0px 70% no-repeat ;
	padding-left: 15px;
}

.spacer20 {
	height: 20px;
}
.spacer10 {
	height: 10px;
}

.error {
	border-top: 1px #ef2121 solid;
	border-bottom: 1px #ef2121 solid;
	color: #ef2121;
}

.fieldWithErrors input {
	border: 2px solid red;
}

#errorExplanation {
width: 400px;
border: 2px solid red;
padding: 7px;
padding-bottom: 12px;
margin-bottom: 20px;
background-color: #ffeeee;
}

#errorExplanation h2 {
text-align: left;
font-weight: bold;
padding: 5px 5px 5px 15px;
font-size: 12px;
margin: -7px;
background-color: #ef2121;
color: #fff;
}


#errorExplanation p {	
color: #333;
margin-bottom: 0;
margin-top: 9px;
padding: 5px;
}

#errorExplanation ul li {
font-size: 12px;
margin-left: 25px;
list-style: square;
}

.buttons input {
	margin: 0 auto;
	padding: 2px 10px;
	background-color: #40768d;
	border: 1px solid #ffffff;
	color: #ffffff;
	background-image: url('/images/button_bg.png');
}

.credit_even {
	background-color: #007800;
}

.credit_odd {
	background-color: #009600;
}

.not_credit_even {
	background-color: #F00000;
}

.not_credit_odd {
	background-color: #FF0000;
}