body{
    position : relative;
    font-family : "lucida", "Geneva CE", lucida, sans-serif;
    font-size : 12px;
    margin : 0;
    padding: 0;
    text-align : center;
    background-color: #212121;
}

form table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 10px;
}

form table td { padding: 5px; }

form input[type=text], form input[type=number], form input[type=password], select { width:180px; }

h2 {
    color: #288fd0;
    padding: 3px 10px 3px 0px;
    font-size: 28px;
    border-bottom: 1px solid #288fd0;
    margin: 10px 0 5px 0;
}

a { text-decoration: none; color: #288fd0; }
a:hover, a:active { color: #0f6eab; text-decoration: underline; }
a img { border: none; }

#login {
    width: 350px;
    margin: 100px auto 0px auto;
    padding: 10px 15px 15px 15px;
    background-color: #fff;
    color: #c1c1c1;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
}

#login h1 {
    color: #d9d9d9;
    margin: 0px 0px 10px 0px;
    background: -webkit-linear-gradient(#535353, #292929);
    background: -o-linear-gradient(#535353, #292929);
    background: -moz-linear-gradient(#535353, #292929);
    background: linear-gradient(#535353, #292929);
    background-color: #292929;
    height: 32px;
    padding: 6px 20px 0px 20px;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
}

#login table { border: 1px solid #c1c1c1; }

#login form input.button { width: 188px; }

#login form table th { color: #2c2d2d; background-color: transparent; }

#login form table tr { border-bottom: 0; }

.flashmessage, #login ul.error {
    padding: 10px;
    margin: 10px 0px;
    text-align: center;
    color: #333;
}
#login ul.error { list-style-type: none; }

.flashmessage.success {
    border: 2px solid #bbdf8d;
    color: #5c8e2c;
    background: #f2ffe1 url('../images/icons/ok.png') no-repeat;
    background-position: 10px 10px;
}

.flashmessage.error, #login ul.error {
    border: 2px solid #d73f4e;
    color: #ae2a37;
    background: #ffe0e3 url('../images/icons/chyba.png') no-repeat;
    background-position: 10px 10px;
}

.flashmessage.info {
    border: 2px solid #b4d2ff;
    color: #0759d4;
    background: #e1ecff url('../images/icons/info.png') no-repeat;
    background-position: 10px 10px;   
}

#wrapper { width: 984px; margin : 10px auto 20px auto; }

#header {
    background-color: #fff;
    -webkit-border-top-left-radius: 8px;
       -moz-border-top-left-radius: 8px;
            border-top-left-radius: 8px;
    -webkit-border-top-right-radius: 8px;
       -moz-border-top-right-radius: 8px;
            border-top-right-radius: 8px;
    overflow: hidden;
}

#header h1 {
    float: left;
    line-height: 26px;
    font-size: 24px;
    padding-left: 20px;
    color: #494949;
    text-shadow: 2px 2px #c4c4c4;
}

#usermenu {
    float: right;
    margin: 14px 20px;
    text-align: right;
}

#usermenu a { text-decoration: none; color: #288fd0; }
#usermenu a:hover, #usermenu a:active { color: #0f6eab; text-decoration: underline; }

.mainmenu {
    overflow: hidden;
    background: -webkit-linear-gradient(#0197d5, #0e6ea1);
    background: -o-linear-gradient(#0197d5, #0e6ea1);
    background: -moz-linear-gradient(#0197d5, #0e6ea1);
    background: linear-gradient(#0197d5, #0e6ea1);
    background-color: #0e6ea1;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    margin-top: 3px;
}

.mainmenu ul {
    list-style-type: none;
    overflow: hidden;
    padding: 10px;
    margin: 0;
}

.mainmenu li { float: left; text-align: center; }

.mainmenu a {
    font-size: 16px;
    line-height: 22px;
    color: #f1f1f1;
    font-weight: bold;
    text-decoration: none;
    padding: 0 10px;
}

.mainmenu a:hover, .mainmenu a:active { text-shadow: 0 0 3px #333; color: #f9f9f9; }

#adminobsah {
    background-color: #fff;
    padding: 0px 15px 15px 15px;
    margin: 3px auto 20px auto;
    overflow: hidden;
    text-align: left;
    -webkit-border-bottom-left-radius: 8px;
       -moz-border-bottom-left-radius: 8px;
            border-bottom-left-radius: 8px;
    -webkit-border-bottom-right-radius: 8px;
       -moz-border-bottom-right-radius: 8px;
            border-bottom-right-radius: 8px;
}

#showFormButton {
    cursor: pointer;
    color: #288fd0;
    line-height: 24px;
    padding: 3px 5px;
    margin: 0 0 20px 0;
    background-color: #8a8a8a;
    text-align: center;
    border: 1px solid #288fd0;
    background-color: #fff;
    font-weight: bold;
    font-size: 15px;
}
#showFormButton a:hover, #showFormButton a:active { text-decoration: none; color: #288fd0; }
#showFormButton img {
    position: relative;
    top: 2px;
    margin-right: 5px;
}

#hiddenForm { margin: 10px auto; display: none; }

#adminobsah form input[type=text], #adminobsah form input[type=date], #adminobsah form input[type=password], #adminobsah form textarea, #adminobsah form select { border: 1px solid #288fd0; width: 200px; }
#adminobsah form textarea { width: 500px; height: 150px; }

.pages { text-align: center; margin-top: 10px; }

.post {
    border: 1px solid #288fd0;
    margin: 0 auto;
    margin-bottom: 5px;
    overflow: hidden;
}

.post .omez_1 {
    height: 25px;
    text-align: left;
    background: -webkit-linear-gradient(#0197d5, #0e6ea1);
    background: -o-linear-gradient(#0197d5, #0e6ea1);
    background: -moz-linear-gradient(#0197d5, #0e6ea1);
    background: linear-gradient(#0197d5, #0e6ea1);
    background-color: #0e6ea1;
    color: #f1f1f1;
    font-weight: bold;
}

.post .omez_1 .smazat { float: left; padding: 4px 0 0 7px; }

.post .omez_1 .predmet {
    float: left;
    padding: 0 7px;
    line-height: 25px;
}

.post .omez_1 .datum {
    float: right;
    padding: 0 7px;
    line-height: 25px;
}

.post .vzkaz {
    padding: 7px 10px;
    text-align: justify;
}

.post .jmeno {
    height: 20px;
    text-align: right;
    float: right;
    padding: 0 10px;
    width: 45%;
}

.post .jmeno b { font-weight: bold; }

.post .www {
    float: left;
    width: 45%;
    padding: 0 10px;
}

img.photo {
    float: left;
    margin: 5px 10px 10px 0;
    border: 1px solid #288fd0;
}

img.photo + form {
    float: left;
}

.data-table {
    border-collapse: collapse;
    width: 100%;
}

.data-table th {
    background: -webkit-linear-gradient(#0197d5, #0e6ea1);
    background: -o-linear-gradient(#0197d5, #0e6ea1);
    background: -moz-linear-gradient(#0197d5, #0e6ea1);
    background: linear-gradient(#0197d5, #0e6ea1);
    background-color: #0e6ea1;
    font-weight: bold;
    font-size: 14px;
    color: #f1f1f1;
    line-height: 26px;
    padding: 2px 10px;
    border: 1px solid #288fd0;
}

.data-table td {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 20px;
    border: 1px solid #288fd0;
}

.data-table .set td {
    background-color: #c1e7ff;
}

.data-table .align-center { text-align: center; }
.data-table .align-right { text-align: right; }

.data-table select { width: 100%; }

.data-table.users img {
    width: 40px;
    height: 52px;
    position: relative;
    top: 3px;
}

.data-table .edit, .data-table .remove, .data-table .options a { margin: 1px; }

.eventCalendar {
    padding: 5px;
    background-color: #ebf4fb;
    border: 1px solid #288fd0;
    display: inline-block;
    width: 940px;
    margin: 0 0 15px 0;
}

.eventCalendar table, .eventCalendar td { border-collapse: collapse; border-spacing: 0; }

.ec-monthTable { width: 100%; }

.ec-monthTable caption {
    background: -webkit-linear-gradient(#0197d5, #0e6ea1);
    background: -o-linear-gradient(#0197d5, #0e6ea1);
    background: -moz-linear-gradient(#0197d5, #0e6ea1);
    background: linear-gradient(#0197d5, #0e6ea1);
    background-color: #0e6ea1;
    padding: 5px;
    margin-bottom: 2px;
    font-weight: bold;
    color: #fff;
    font-size: 14px;
    line-height: 24px;
}

.ec-bottomNavigation a {
    display: inline-block;
    margin: 5px 0 0 0;
    padding: 5px 10px;
    background-color: #fff;
    text-decoration: none;
    font-weight: bold;
    color: #0f6eab;
    border: 1px solid #76a2c4;
}

.ec-bottomNavigation a:hover { text-shadow: 0 0 2px #76a2c4; border: 1px solid #588ab0; }
.ec-bottomNavigation a:last-child { float: right; }

.ec-month { margin-right: 0.4em; }

.ec-monthTable th {
    padding: 5px;
    width: 14.3%;
    text-align: center;
}

.ec-empty {}

.ec-validDay {
    background-color: #fff;
    border: solid 1px #288fd0;
    text-align: center;
    height: 30px;
}

.ec-eventBox {
    display: none;
    position: absolute;
    z-index: 999;
    padding: 10px;
    min-width: 120px;
}

.ec-eventLine:hover .ec-eventBox { display: block; z-index: 1; }

.ec-eventDayTable {
    width: 100%;
    height: 100%;
    border: 0;
    border-spacing: 0;
}

.colorLine1 { background-color: #FF0092; }
.colorLine2 { background-color: #FFCA1B; }
.colorLine3 { background-color: #B6FF00; }
.colorLine4 { background-color: #228DFF; }
.colorLine5 { background-color: #BA01FF; }

.ec-dayOfEvents { position: absolute; font-weight:bolder; }

.ec-eventDayTable td { width:100%; }

.legenda {
    float: right;
    width: 150px;
}

.legenda .legendaRow {
    display: block;
    overflow: hidden;
    margin-bottom: 5px;
}

.legenda .legendaRow .square {
    width: 20px;
    height: 20px;
    float: right;
}

.legenda .legendaRow .caption {
    margin-right: 10px;
    line-height: 20px;
    float: right;
}

#snippet--detailSnip {
    float: left;
    width: 780px;
}