body {
margin:0;
display:inline; /* kvoli ie margin doubling */
font: normal 10pt Verdana, Tahoma, Helvetica, Arial;
}

#top {
height:84px;
min-width:1100px;
}

#heading {
float:left;
margin:50px 0 0 146px;
}

#login {
display:inline; /* kvoli ie margin doubling */
float:right;
margin:7px 17px 0 0;
}

#bottom {
min-width:1100px;
padding-top:21px;
}

#menu {
border-bottom: 1px solid #000;
width:125px;
float:left;
margin-top:-21px;
padding:12px 0 2px 0;
}

#main {
margin:0px 19px 20px 144px;
border:1px solid #000;
}

#content {
background:#fefefe url('../Images/bgContent.gif') repeat-x;
padding:16px 20px 2px 20px;
}

#footer {
height:48px;
font-size:7pt;
}

#footerLeft {
display:inline; /* kvoli ie margin doubling */
float:left;
width:50%;
margin-right:-20px;
padding:18px 0px 18px 20px;
}

#footerRight {
display:inline; /* kvoli ie margin doubling */
float:right;
width:50%;
margin-left:-20px;
padding:18px 20px 18px 0px;
text-align:right;
}

/* *************************** Custom prvky *************************** */

#loginText {
margin:2px 3px 0 0;
}

#changePass {
width:300px;
margin-top:-10px;
padding:1px 0; /* kvoli ie non-margin collapsing */
}

#changePass p {
text-align:right;
}

#login input  {
text-align:center;
}

/* *************************** Custom triedy *************************** */

.alertBox {
position:absolute;
padding:6px 33px 6px 33px;
border:1px solid red;
background:white;
color:red;
}

.red {
color:red;
}

.frameBox {
width:490px;
border: 1px solid black;
padding:20px;
background:#eee;
margin-bottom: 14px;
}

.textLine {
width:578px;
}

.table {
margin:18px 0 18px 0;
}

.noborder {
border: 0px;
}

.dark{
background:#ddd;
}

.eventCell a {
text-decoration:underline;
}

.dropDownListWide {
width:165px;
}

.forumStrip {
background-color:#ddd;
padding:5px;
font-size:10px;
font-weight:bold;
margin-top:6px;
}

.forumText {
padding:10px 10px 0px 10px;
}

/* *************************** Formatovanie tabuliek *************************** */

.tblColumnName {
vertical-align:top;
padding:0 10px 14px 0;
}

.tblColumnName p {
text-align:right;
white-space:nowrap;
}

.tblColumnText {
vertical-align:top;
padding:0 0 14px 0;
}

.timetable {
border: 1px solid black;
}

.timetable th, .timetable  td {
border: 1px solid black;
width:50px;
white-space:nowrap;
text-align:center;
}

.timetable th {
background-color: #ddd;
padding:8px;
}

.timetable td {
padding: 13px 8px;
}

.timetable .dayColumn {
background-color: #ddd;
font-weight:bold;
}

.timetable input {
width:40px;
}

.attendance {
border: 1px solid black;
}

.attendance td {
padding: 5px 8px;
white-space:nowrap;
}

.attendance .nameColumn {
background-color: #eee;
text-align:right;
width:198px;
}

.attendance .classNameRow {
background-color: #ccc;
font-size:11px;
font-weight:bold;
text-align:center;
padding: 0px;
height:20px;
/*border: 1px solid black;*/
}

.foodtable {
border: 1px solid black;
margin-top:-16px;
}

.foodtable th {
border-top:1px solid black;
background-color: #ddd;
padding:8px;
white-space:nowrap;
}

.foodtable td {

border-left:1px solid #ddd; /* sive okraje buniek */
padding: 5px 7px;
vertical-align:top;
}

.foodtable .mainHeader {
font-size:16px;
background-color: #ccc;
font-weight:normal;
padding:18px 10px 16px 20px;
}

.foodtable .dayColumn {
border-top:1px solid black;
border-left:1px solid black;
background-color: #ddd;
font-weight:bold;
text-align:center;
vertical-align:middle;
border-right:1px solid #ccc; /* sive okraje buniek nalavo */
}

.foodtable .dayColumn span {
color:#aaa;
font-size:10px;
font-weight:normal;
}

.foodtable .weightCell {

border-top:1px solid black;

background-color:#eee;
}

.foodtable .foodCell {

border-top:1px solid black;
 
}

.foodtable .foodCellCheck {
text-align:center;
}

.foodtable .dayColumnCheck {
background-color: #dddddd;
border-left:1px solid black;
}

.foodtable .weightCellCheck {
background-color:#eeeeee;
}

.foodtable .SX1 {
background-color:#FFFFDE;
}

.foodtable .SX2 {
background-color:#FFFFCD;
}

.foodtable .doSync {
border-right:3px solid orange;
}

.foodtable .noSync {
border-right:3px solid green;
}

.settings {

}

.settings td {
text-align:right;
padding:5px;
}

/* *************************** Nastavenie komponentov *************************** */

input {
font-family: Verdana, Tahoma, Helvetica, Arial;
margin:0px;
}

select {
font-family: Verdana, Tahoma, Helvetica, Arial;
margin:0 0 -2px 0; /* vertikalne zarovnanie textu */
}

textarea {
font-family: Verdana, Tahoma, Helvetica, Arial;
font-size:12px;
width:578px;
height:180px;
}

table {
margin:-2px;
}

table p {
margin:0px;
}

img {
border:1px solid black;
}

/* *************************** Nastavenie pisma *************************** */

p {
margin:0 0 14px 0;
text-align:justify;
line-height:20px;
}

h1 {
font-size: 14pt;
font-weight: bold;
margin:0px;
}

h2 {
font-size: 13pt;
font-weight: bold;
margin:0 0 14px 0;
}

a {
text-decoration:none;
color:red;
}

a:hover {
color: #bb2d2d;
}

br {
line-height:10px;
}

/* *************************** Specialne pismo *************************** */

.txtGray {
color:gray;
font-size:10px;
font-weight:normal;
}

.lnkButton {
font-size:10px;
font-weight:normal;
}

/* *************************** CSS-only menu *************************** */

.menuItems ul {
    width:124px;
}

.menuItems li {
    margin-top:2px;
    line-height:27px;
}

.menuItems a, .menuItems span {
    padding:0 25px 1px 0;
    font-size:14px;
    text-align:right;
    color:#010101;
}

/* *************************** Lightbox *************************** */

#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(../data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }
