html {
  background: #69c url("../img/back.png") repeat-x top;
}

body {
  margin: 0px;
  padding: 15px 0px;
  font: 10pt 'Trebuchet MS', sans-serif;
}

img {border: 0px;}

a {
  color: #3366cc;
  text-decoration: none;
}

a:hover {
  color: #093999;
  text-decoration: underline;
}

p {margin: 1em 0px;}

button {
  font: 8pt Tahoma, sans-serif;
  padding: 2px;
  border: 1px solid #76a7cc;
  background-color: #e5ebef;
  cursor: pointer;
}

button:hover {
  background-color: #b2dcee;
}

/* -------------------------------------------------------------------------- */

#container {
  width: 960px;
  margin: 0px auto;
  background: #fff url("../img/middle.png") repeat-y left;
}

#header {
  height: 41px;
  background: #487399 url("../img/header.png") no-repeat bottom;
}

#header span {display: none;}

/* -------------------------------------------------------------------------- */

#login_box {
  position: absolute;
  top: 28px;
  right: 50%;
  margin-right: -440px;
  width: 80px;
  background-color: transparent;
  border: 0px;
  padding: 1px;
  color: #fff;
  font-size: 8pt;
}

#login_box:hover {
  padding: 0px;
  border: 1px solid #888;
}

#login_toggle, #logout_toggle {
  display: block;
  position: absolute;
  top: 28px;
  right: 50%;
  margin-right: -465px;
  width: 16px;
  height: 16px;
}

#login_toggle:hover {background: url("../img/login.png") no-repeat center;}
#logout_toggle:hover {background: url("../img/logout.png") no-repeat center;}

/* -------------------------------------------------------------------------- */

#hover {
  background: #fff url("../img/middle.png") repeat-y -200px 0px;
  float: left;
  width: 740px;
  padding: 5px 10px;
}

#hover div.left {float: left;}
#hover div.right {float: right;}

#hover a {
  padding: 0px 5px 0px 18px;
  font-size: 8pt;
}

#menu_new {background: url("../img/buttons/new.png") no-repeat left;}
#menu_edit {background: url("../img/buttons/edit.png") no-repeat left;}
#menu_delete {background: url("../img/buttons/delete.png") no-repeat left;}
#menu_move {background: url("../img/buttons/move.png") no-repeat left;}

#lang_en {background: url("../img/lang_en.png") no-repeat left;}
#lang_sk {background: url("../img/lang_sk.png") no-repeat left;}

/* -------------------------------------------------------------------------- */

span.button {
  padding: 2px 0px 2px 20px;
  background-position: left;
  background-repeat: no-repeat;
}

span.new {background-image: url("../img/buttons/new.png");}
span.edit {background-image: url("../img/buttons/edit.png");}
span.delete {background-image: url("../img/buttons/delete.png");}

span.ok {background-image: url("../img/buttons/ok.png");}
span.revert {background-image: url("../img/buttons/revert.png");}
span.cancel {background-image: url("../img/buttons/cancel.png");}

/* -------------------------------------------------------------------------- */

#nav {
  background: #e5ebef url("../img/middle.png") repeat-y left;
  float: left;
  padding: 5px 5px 10px;
}

#nav div.section{
  border-bottom: 1px solid #76a7cc;
  font-weight: bold;
  letter-spacing: 1pt;
  margin: 5px;
  width: 178px;
}

#nav a {
  width: 172px;
  display: block;
  background: url("../img/bullet.png") no-repeat left;
  border: 1px solid transparent;
  padding-left: 16px;
  color: #3b4851;
  text-decoration: none;
  line-height: 12pt;
}

#nav a b {
  color: #db4e29;
}

#nav a:hover {
  background-color: #b9cedd;
  border: 1px solid #76a7cc;
}

#nav a.new, #nav a.new_sel {
  background-image: url("../img/bullet_new.png")
}

#nav a.sel, #nav a.new_sel {
  background-color: #b2dcee;
  border: 1px solid #71bbdd;
}

/* -------------------------------------------------------------------------- */

#page {
  background: #fff url("../img/middle.png") repeat-y -200px 0px;
  float: left;
  width: 710px;
  padding: 5px 20px;
  text-align: justify;
}

#page img.normal {
	display: block;
	margin: 1.5em auto;
}

#page hr {
  color: #fff;
  border: 0px;
  border-top: 1px solid #76a7cc;
}

#page h1 {
  font-size: 18pt;
  text-align: center;
  color: #063968;
  margin: 0px 0px 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #76a7cc;
}

#page h2 {
  font-size: 14pt;
  text-align: center;
}

#page h3 {
  margin: 1em 0px;
  font-size: 10pt;
  text-decoration: underline;
}

#page address {font-style: normal;}

#page ul {
  text-align: left;
  list-style-position: outside;
  padding: 0px 0px 0px 30px;
  margin: 0px;
}

#page li {padding-bottom: 5px;}

#page strong {color: #ad130f;}
#page em {color: #0b996d;}

div.clear {clear: both;}

/* -------------------------------------------------------------------------- */

p.download {margin: 0.5em 0px;}

p.download a {
  background: url("/res/icons/_default.png") no-repeat left;
  padding-left: 20px;
}

p.download span {
  color: #000;
  font-size: 7pt;
}

p.download a.folder {
  background-image: url("/res/icons/_folder.png");
}

/* -------------------------------------------------------------------------- */

div.center {text-align: center;}

table.teachers {
  border-collapse: collapse;
  width: 680px;
  margin: 0px 15px;
}

table.teachers td {
  border: 1px solid #27557b;
  padding: 1px 5px;
}

div.thumbnail {
  width: 110px;
  height: 110px;
  float: left;
  padding: 3px;
  text-align: center;
  margin: 1px;
}

div.thumbnail img {
  border: 1px solid #c8dae8;
  padding: 3px;
}

div.thumbnail img:hover {
  border: 1px solid #76a7cc;
  background-color: #b9cedd;
}

a.gallery_prev, a.gallery_next {
	margin-bottom: 10px;
}

a.gallery_prev {
  float: left;
  padding-left: 20px;
  background: url("../img/gallery_prev.png") no-repeat left;
}

a.gallery_next {
  float: right;
  padding-right: 20px;
  background: url("../img/gallery_next.png") no-repeat right;
}

div.update {
  font-size: 8pt;
  text-align: right;
  font-weight: bold;
  margin-top: 20px;
  border-top: 1px dashed #76a7cc;
  clear: both;
}

/* -------------------------------------------------------------------------- */

#disclaimer {
  clear: both;
  text-align: center;
  font-size: 8pt;
  height: 22px;
  padding-top: 5px;
  background: #e7e9ea url("../img/disclaimer.png") no-repeat top;
}

#get_firefox, #get_opera {
	padding-left: 19px;
}

#get_firefox {background: url("../img/get_firefox.png") no-repeat left;}
#get_opera {background: url("../img/get_opera.png") no-repeat left;}

/* -------------------------------------------------------------------------- */

#editor form {
  margin: 10px 0px;
  background-color: #fafafa;
  border: 1px solid #ddd;
  padding: 5px;
}

#editor table {
  margin: 5px auto;
  border-collapse: collapse;
}

#editor table td {padding: 2px;}
#editor input, #editor label, #editor select {margin-right: 5px;}

#editor textarea {
  width: 680px;
  height: 400px;
}

#editor input, #editor select, #editor textarea {
  border: 1px solid #76a7cc;
  padding: 2px;
  font-size: 9pt;
}
