* {
	margin: 0px;
	padding: 0px;
	outline: none;
}
img {	border: none;}
.hand { cursor:hand; }
.right {	float: right;}
.left { float: left;}
.right-important {
	float: right;
	font-family: Georgia, serif;
}
.left-important { 
	float: left;
	font-family: Georgia, serif;
}
.right-img { float: right; margin: 0px 0px 10px 10px; }
.left-img {	float: left; margin: 0px 10px 10px 0px; }
.center { margin: 0px auto 0px auto;}
.clear {	clear: both; }
.left-half {
	width: 49%;
	float: left;
	display: inline;
}
.right-half {
	width: 49%;
	float: right;
	display: inline;
}
.none{
display: none;
}
table.facebook{
margin-right:auto;margin-left:auto;
}
body {
	background-image: url(../img/design/bg.jpg?1);
	background-position: top center;
	background-attachment: fixed;
	background-repeat: repeat-x;
	background-color: #E6E8DC;
	font-size: 100%;
	font-family: Arial, Helvetica, "Nimbus Sans L", "Liberation Sans", FreeSans, Sans-serif;
	color: #373737;
}
h1, h2, h3, h4, h5, h6 { 
	font-weight: normal; 
	color: #919C35;
	font-family: Georgia,"Bitstream Charter","Times New Roman",Times,serif;
}
h2 {
	color: #919C35;
	font-size: 24px;
  padding-bottom:16px;
}
h2.big {
	width: 100%;
	font-size: 54px;
	color: #919C35;
	height: 50px;
	overflow: hidden;
  padding-bottom:0px;
}
h2.smaller {
	width: 100%;
	margin-top: 18px;
	font-size: 34px;
	height: 32px;
	color: #495C23;
	overflow: hidden;
  padding-bottom:0px;
}
h3 {
	font-size: 17px;
}
h3 a { color: #BF6263 !important; }
span.shadow {
	background-image: url(../img/design/shadow.png);
	background-position: bottom center;
	background-repeat: repeat-x;
	width: 100%;
	display: block;
	height: 11px;
	margin-bottom: 10px;
}
.shadow-link {
	float: right;
	display: inline;
	margin-top: -25px;
}
hr.dashed {
	border-bottom: 1px dashed #DADADA;
	border-left: 1px solid #FFF;
	border-right: 1px solid #FFF;
	border-top: 1px solid #FFF;
	margin-bottom: 5px;
}
#wrapper {
	width: 100%;
	height: 100%;
	background-image: url(../img/design/bg-erb.jpg);
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: top left;    
}
#container {
	width: 970px;
	margin: 0px auto 0px auto;
	background-image: url(../img/design/bg-container.png);
	background-repeat: repeat-y;
	background-position: center;
}
a:link {
	color: #495C23;
	text-decoration: none;
}
a:visited {
	color: #789048;
	text-decoration: none;
}
a:hover {
	color: #495C23;
	text-decoration: underline;
}
.col220 {
	width: 220px;
	margin: 0px 10px 0px 10px;
	float: left;
	display: inline;
}
.col300 {
	width: 300px;
	margin: 0px 10px 0px 10px;
	float: left;
	display: inline;
}
.col380 {
	width: 380px;
	margin: 0px 10px 0px 10px;
	float: left;
	display: inline;
}
.col540 {
	width: 540px;
	min-width: 540px;
	margin: 0px 10px 0px 10px;
	float: left;
	display: inline;
}

.col700 {
	width: 700px;
	margin: 0px 10px 0px 10px;
	float: left;
	display: inline;
}
.col940 {
	width: 940px;
	clear: both;
	margin: 0px 10px 0px 10px;
}
input, textarea {
	background-color: #F9F9ED;
	padding: 3px;
	border: 1px solid #D3D3D3;
}
input.button {
	background-color: #919C35;
	-moz-border-radius: 5px;
	border-radius: 5px;
	color: #FFF;
	cursor: pointer;
	font-weight: bold;
	padding: 5px;
	margin-bottom: 1px;
}
input.button:hover {
	margin-top: 1px;
	margin-bottom: 0px;
}
label{
  font-weight: bold;
}
/*===================== header ======================*/
#header {
	width: 970px;
	padding-top: 2px;
	font-family: Georgia,"Bitstream Charter","Times New Roman",Times,serif;
}
#header h1 {
	font-size: 27px;
	line-height: 32px;
	width: 571px;
	height: 100px;
	margin-left: 7px;
	float: left;
	background-image: url(../img/design/logo.png);
	background-repeat: no-repeat;
	background-position: top left;
	background-size: contain;
}
#header h1 a {
	color: #303030;
	padding: 32px 0px 20px 93px;
	display: block;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
}

#header h1 a:hover {
	color: #9EAA3A;
	text-decoration: none;
}
#header img {
	margin: 10px 15px 0px 15px;
}
#search {
	width: 243px;
	float: right;
	margin: 11px 15px 0px 5px;
	background-color: #F0F0D8;
	height: 22px;
}
#search input {
	border: none;
	padding: 0px 2px 2px 2px;
	font-family: Georgia,"Bitstream Charter","Times New Roman",Times,serif;
	background-color: transparent;
	/* border: 1px solid green; */
}
.search-input {
	width: 172px;
	font-size: 11px;
	float: left;
	height: 20px;
	display: inline;
	font-style: italic;
	color: #878787;
}
#search-button {
	font-size: 15px;
	width: 60px;
	color: #495C23;
	float: right;
	height: 20px;
	display: inline;
	cursor: pointer;
}
.mimoriadny-oznam{
margin-left:15px;
margin-right:15px;
margin-top:0px;
margin-bottom:5px;
padding: 5px 5px 5px 5px;
width:930px;
font-size:15px;
opacity:0.9;
text-align:center;
min-height:18px;
}
.mimoriadny-oznam1{
margin-left:15px;
margin-right:15px;
margin-top:0px;
margin-bottom:5px;
padding: 5px 5px 5px 5px;
width:930px;
font-size:15px;
background-color:#FFCC66;
opacity:0.9;
text-align:center;
min-height:18px;
}
.mimoriadny-oznam2{
margin-left:15px;
margin-right:15px;
margin-top:0px;
margin-bottom:5px;
padding: 5px 5px 5px 5px;
width:930px;
font-size:15px;
background-color:#99CC33;
opacity:0.9;
text-align:center;
height:18px;
}
.mimoriadny-oznam a{
color:#006600;
opacity:1;
}
.mimoriadny-oznam2 a{
color:darkgreen;
opacity:1;
}
/*===================== menu ======================*/
ul#nav, ul#smallmenu {
	list-style: none;
	float: right;
	display: inline;
	margin: 0px 15px 0px 0px;
}
ul#nav {
	margin-top: 8px;
	margin-bottom: 5px;
	width: 938px;
}
ul#smallmenu {margin-top: 11px;}
ul#smallmenu li {	display: inline; }
ul#smallmenu li a {
	display: inline; 
	float: left;
	font-size: 11px;
	margin: 0px 0px 0px 20px;
	color: #789048;
}
ul#smallmenu li a img{
  margin: 0 0 0 0;
}
ul#smallmenu li a.sml1{
  margin-left:20px;
}
ul#smallmenu li a.sml2{
  margin-left:5px;
}

/* make the LI display inline */
/* it's position relative so that position absolute */
/* can be used in submenu */
#nav li {
	float: left;
	display:block; 
	background:#FFF; 
	position:relative;
	z-index:500; 
	margin:0 40px 0 0;
}
#nav li.last{
	margin: 0 0 0 0;
}     
/* this is the parent menu */
#nav li a {
	display:block;  
	text-decoration: none;
	text-align:right;
	font-size: 17px;
	color: #BF6263;
}
#nav li.submenu {
	background-image: url(../img/design/submenu.png);
	background-repeat: no-repeat;
	background-position: right;
	padding-right: 15px;
}

#nav li a:hover { color:#BF6263; }  
/* you can make a different style for default selected value */
#nav a.selected { color:#BF6263; }
/* submenu, it's hidden by default */
#nav ul {
	position:absolute; 
	left:0; 
	display:none; 
	list-style:none;
}
#nav ul.second {
	left:150px; 
}    
#nav ul li {
	float:left; 
	margin-left: 0px;
	min-width: 150px;
  max-width: 200px;
}
#nav ul.second span.empty{
  display:block;  
	padding: 7px;
	border-left: 1px dotted #E1E1E1;
  border-bottom: 1px dotted #E1E1E1;
	text-align: left;
	font-size: 14px;
  background-color: #FFF;
}
#nav ul.second span.empty:empty:before {
  content: "\200b";
}

/* display block will make the link fill the whole area of LI */
#nav ul a {
	display:block;  
	padding: 7px;
	border-bottom: 1px dotted #E1E1E1;
	text-align: left;
	font-size: 14px;
	color:#666;
}
#nav ul.second a {
  border-left: 1px dotted #E1E1E1;
}
#nav ul a:hover {
	background-color: #FFFAFA;
}

#nav ul li .m-1{
 background-color: #99CC66;
}
#nav ul li .m-2{
 background-color: #FFCC66;
}
#nav ul li .m-3{
 background-color: #CCFF66;
}
#nav ul li .m-4{
 background-color: #99CCCC;
}
#nav ul li .m-4{
 background-color: #FF6666;
}
/*=================== container ====================*/
#container {
	width: 970px;
	margin: 0px auto 0px auto;
	overflow: visible;
	font-size: 13px;
  min-width: 900px;
}
#content {
	padding: 5px 5px 20px 5px;
	font-size: 12px;
	display: block;
  overflow: auto;
}
#content p {
	line-height: 17px;
	margin: 5px 0px 5px 3px;
}
#content .flags{
  float:right;
}

.col700 p {	margin: 10px 0px 10px 0px !important; }
ul.text-ul, #container .col700 ul, #container .col700 ol { margin: 10px 0px 10px 30px; }
ul.text-ul li, #container .col700 li { margin: 5px 0px 5px 0px; }
.news {
	margin: 5px 0px 25px 0px;
	float: left;
	display: inline;
	clear: both;
	width: 540px;
}

.news table td, .newsx table td{
background-color: transparent;
margin: 0 0 0 0;
padding: 0 0 0 0;
border: 0px solid black;
vertical-align:top;
}
.newsx {
	margin: 5px 0px 15px 0px;
	float: left;
	display: inline;
	clear: both;
	width: 95%;
}
.news table td.img, .newsx table td.img{
  width: 141px;
  padding-right: 20px;
  text-align: center;
}
.button_link{
  font-weight: bold;
  font-size: 14px;
  color: darkgreen;
}
/*.news img.main, .newsx img.main {
	float: left;
} */
.big-date {
	width: 60px;
	float: left;
	padding-top: 24px;
	padding-bottom: 30px;
	margin-right: 20px;
	text-align: center;
	font-size: 14px;
	color: #789048;
	background-image: url(../img/design/date-separator.png);
	background-repeat: no-repeat;
	background-position: right center;
	font-family: Georgia,"Bitstream Charter","Times New Roman",Times,serif;
}
.big-date .day {
	color: #607848;
	font-size: 27px;
	line-height: 22px;
	display: block;
}
.big-date .year {
	color: #919C35;
	display: block;
	line-height: 10px;
}
.small-date {
	color: #789048;
	font-size: 14px;
	font-family: Georgia,"Bitstream Charter","Times New Roman",Times,serif;
	margin-bottom: -5px;
	margin-top: 10px;
}
.small-date .year {
	color: #919C35;
}
#o-skole {
	width: 380px;
	height: 151px;
	background-image: url(../img/design/o-skole.jpg);
	background-repeat: no-repeat;
}
#o-skole a {
	display: block;
	color: #BF6263;
	padding: 95px 5px 5px 5px;
}
.stuff {
	width: 150px;
	float: left;
	display: inline;
	height: 53px;
	background-color: #F0F0D8;
	font-family: Georgia,"Bitstream Charter","Times New Roman",Times,serif;
	margin: 20px 5px 20px 5px;
	font-size: 15px;
}
.stuff a {
	color: #BF6263;
	display: block;
	background-repeat: no-repeat;
	background-position: right;
  width: 145px;
}
.col220 .stuff {
	margin: 5px 0px 5px 0px !important;
  font-size: 16px;
  width: 220px;
}
.col220 .stuff a {
	margin: 5px 0px 5px 0px !important;
  width: 215px;
}
.stuff a:hover {
	background-color: #EBECCC;
}
a.webmail {
	background-image: url(../img/design/webmail.png);
	height: 36px;
	padding: 17px 0px 0px 5px;
}
a.rozvrhy {
	background-image: url(../img/design/rozvrhy.png);
	height: 36px;
	padding: 17px 0px 0px 5px;
}
a.isic {
	background-image: url(../img/design/isic.png);
	height: 36px;
	padding: 17px 0px 0px 5px;
}
a.znamky {
	background-image: url(../img/design/znamky.png);
	height: 36px;
	padding: 17px 0px 0px 5px;
}
a.ucebne-materialy {
	background-image: url(../img/design/ucebne-materialy.png);
	height: 44px;
	padding: 9px 0px 0px 5px;
}
a.jedalny-listok {
	height: 44px;
	padding: 9px 0px 0px 5px;
	background-image: url(../img/design/jedalny-listok.png);
}
.col940 table {
	width: 940px;
	text-align: left;
	margin-bottom: 5px;
}
th {
	background-color: #BF6263;
	font-size: 14px;
	color: #FFF;
	font-family: Georgia, serif;
	font-weight: normal;
	padding: 5px;
 	font-weight: bold;
}
td {
	background-color: #F4F4E2;
	padding: 5px;
	border-bottom: 1px dashed #DADADA;
}
td.noborder{
  border: 0;
}
table.noborder td{
  border: 0;
}
p#breadcrumbs {
	width: 940px;
	margin: 0px 10px 20px 10px;
	font-family: Georgia, serif;
	padding: 0px 0px 4px 10px;
	border-bottom: 1px dashed #DADADA;
}
.img-description-left, .img-description-right {
	width: 300px;
	padding-bottom: 10px;
	font-size: 11px;
	font-style: italic;
}
.img-description-left {
	float: left;
	margin: 5px 20px 5px 0px;
}
.img-description-right {
	float: right;
	margin: 5px 0px 5px 20px;
}
/*=================== sidebar ====================*/
#sidebar {
	width: 220px;
	background-image: url(../img/design/sidebar-bg.jpg);
	background-repeat: repeat;
}
#erb { /*je vnoreny do sidebaru, aby mal sidebar erb na pozadi*/
	width: 200px;
	padding: 10px;
	font-family: Georgia, serif;
	background-image: url(../img/design/sidebar-erb.jpg);
	background-repeat: no-repeat;
	background-position: bottom right;
	margin-bottom: 20px;
}
#erb h2 {
	font-size: 21px;
	color: #BF6263;
	margin-bottom: 10px;
}
#erb ul {
	list-style: none;
}
#erb ul li a {
	color: #919C35;
}
#erb ul li {
	margin: 4px 0px 4px 0px;
	padding-left: 15px;
	background-image: url(../img/design/li-trojuholnik.jpg);
	background-repeat: no-repeat;
	background-position: center left;
}
#erb ul li ul {
	margin: 10px 0px 10px 10px;
}
#erb ul li ul li a {
	color: #495C23;
}
#erb ul li ul li {
	margin: 4px 0px 4px 0px;
	padding-left: 15px;
	background-image: url(../img/design/li-kruh.jpg);
	background-repeat: no-repeat;
	background-position: center left;
}
#erb ul li.active-ul {
	background-image: none;
}
#erb ul li.active {
	background-image: url(../img/design/li-trojuholnik-2.jpg);
}
#erb ul li.active a {
	color: #495C23;
}
/*=================== footer ====================*/
#footer {
	width: 100%;
	height: 175px;
	background-image: url(../img/design/bg-footer.png);
	background-repeat: repeat-x;
	background-position: top center;
}
#foot {
	width: 970px;
	margin: 0px auto 0px auto;
	height: 175px;
	font-size: 13px;
	font-family: Georgia, serif;
	background-image: url(../img/design/bg-foot.png);
	background-repeat: no-repeat;
	background-position: top center;
}
#foot a {
	color: #FFF !important;
}
#foot .col540 {
	float: right;
	margin-right: 15px;
}
#adress {
	color: #FFF;
	float: left;
	display: inline;
	font-style: italic;
	margin: 40px 0px 0px 130px;
}
#adress ul {
	list-style: none;
	margin-bottom: 10px;
}
#foot ul#menu {
	margin: 50px 0px 0px 0px;
	list-style: none;
	float: right;
}
#foot ul#smallfootmenu {
	margin: 18px 0px 0px 0px;
	list-style: none;
	font-size: 12px;
	float: right;
}
#foot ul#menu li {
	float: left;
	margin-left: 30px;
}
#foot ul#smallfootmenu li {
	float: left;
	margin-left: 20px;
}
#credits {
	float: right;
	font-size: 11px;
	color: #000;
	width: 540px;
	text-align: right;
	margin-top: 50px;
}
/*=================== honours ====================*/
.honoured-profile{
  border: 1px dashed #339900; 
}
.honoured-profile td{
  padding: 8px 8px 8px 8px;
  background-color: #f7ffd959;
}


/*=================== teachers ====================*/
.teacher-profile1{
  border: 1px dashed #339900;
}
.teacher-profile2{
  border: 1px dashed #99CC00;
}
/*=================== substitution ====================*/
table.substitlogin{
width: 50%;
margin-left: auto;
margin-right: auto;
}
/*=================== prijimacky ====================*/
table.prijati{
border: 1px solid rgb(0, 100, 0); 
width: 250px;
}
table.prijati th{
white-space: nowrap; 
background-color: rgb(0, 102, 0); 
}
table.prijati td{
white-space: nowrap; 
text-align: center; 
background-color: rgb(153, 204, 128);
text-align: center; 
}

table.cakat{
border: 1px solid rgb(0, 100, 0); 
width: 250px;
}
table.cakat th{
white-space: nowrap; 
background-color: rgb(204, 102, 0);
}
table.cakat td{
white-space: nowrap; 
text-align: center; 
background-color: rgb(240, 176, 0);
}

table.neprijati{
border: 1px solid rgb(0, 100, 0); 
width: 250px;
}
table.neprijati th{
white-space: nowrap;
background-color: rgb(204, 51, 51); 
}
table.neprijati td{
white-space: nowrap; 
background-color: rgb(240, 32, 0); 
text-align: center; 
}


/*=================== kalendar ====================*/
div.caldiv{
    width: 540px;
}
div.caldesc{
    width:540px;
    display: none;
    padding: 10px;
    background-color: #FCFFF3;
}
.caldiv table{
    width: 100%;
    border: none;
}
.caldiv tr.click{
    cursor: pointer;
}
.caldiv td{
    padding: 8px 5px 8px 5px;
    text-align:center;
}
.caldiv td.one{
    background-color: #e7f4be;
}
.caldiv td.two{
    background-color: #E3F4A8;
}
.caldiv td.datum{
    width: 30%;
    font-style: italic;
}
.caldiv td.nazov{
    font-weight: bold;
}
.caldiv td.arrow{
    width: 20px;
}