/* html */

body {
    background: #000 url(images/body-bg.gif) top left repeat-x;
    color: #fff;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 75%;
    padding: 0;
    margin: 0;
}
a {
    color: #f8e219;
    font-weight: bold;
}
a:hover {
    text-decoration: none;
}
#main img {
}

#main p {
    margin: 0 0 1em 0;
    padding: 0;
    text-align: justify;
    line-height: 1.4em;
}

h1, h2, h3, h4, h5 {
    margin-bottom: .5em;
    padding: 0;
    margin: 1em 0 .5em 0;
}
h1 {
    font-size:1.6em;
    color: #f8e219;
    border-bottom: 1px solid #222;
}
h2 {
    font-size:1.3em;
    color: #fff;
}
h3 {
    font-size:1.2em;
}
h4 {
    font-size:1.1em;
}
h5 {
    font-size:1em;
}

table {
    border:1px solid #555;
    border-collapse:separate;
    background: #000;
    margin: .1em 0 1em;
}
.table-simple table,
table.table-simple {
    border: none;
    background: none;
}
th, td {
    border-top:1px solid #000;
    border-right:1px solid #000;
    padding:.3em .6em;
    text-align: left;
}
.table-simple table td,
.table-simple table th,
table.table-simple th,
table.table-simple td {
    border: none;
    background: none;
    padding: .5em !important;
}
th {
    background:#333;
    font-weight:bold;
}
td {
    background:#222;
}

#main li {
    margin-bottom: .5em;
}
input, select, textarea {
    font-family: inherit !important;
    font-size: 1em !important;
}

/* ****************************** tridy ****************************** */
.aright {
    text-align: right;
}
.bottom-line {
    border-bottom: 1px solid #222;
    margin-bottom: .5em;
    padding-bottom: .5em;
}
.clear {
    clear: both;
}

/* ****************************** hlavni bloky ****************************** */
#wrapper {
    background: url(images/body-bg-image-wingtsun.jpg) top left no-repeat;
    min-height: 600px;
    width: 970px;
}

/* Header */
#header {
    height: 85px;
}

/* Logo */
#logo img {
    margin-top: 15px;
    margin-left: 15px;
    position: relative;
}
#logo span {
    position: absolute;
    left: -1000px;
}
#logo span.ewto {
    position: absolute;
    left: 23px;
    top: 60px;
    color: #fff;
    font-size: .71em;
}
#logo a {
    text-decoration: none;
}

/* Main */
#main {
    position: relative;
    margin-left: 64px;
    position: relative;
    border: 1px solid #222;
    background: #000;
    filter: alpha(opacity=90);
    -moz-opacity: 0.90;
    opacity: 0.90;
    width: 680px;
}
#main .inside {
    margin: 50px;
    margin-top: 75px;
    min-height: 32em;
    _height: 32em;
}
#main .mod_breadcrumb {
    position: absolute;
    top: -75px;
    left: -50px;
    padding-top: 50px;
    padding-left: 45px;
    width:100%;
    border-left: 5px solid #f8e219;
}
#main .mod_breadcrumb a,
#main .mod_breadcrumb span {
    font-weight: bold;
    color: #fff;
}

/* Right */
#right {
    width: 180px;
}

/* Menu */
#right .mod_navigation ul               { margin: 0; padding: 0; }
#right .mod_navigation li               { margin: 0; padding: 0; list-style-type: none; _display: inline-block; }
#right .mod_navigation li a,
#right .mod_navigation li p             { padding: .2em; padding-left:.8em; margin: .2em; display: block; text-decoration: none; color: #aaa; font-weight: bold; }
#right .mod_navigation li .active       { color: #fff; }

#right .mod_navigation li.home          { display:none; }
#right .mod_navigation li.escrima,
#right .mod_navigation li.sebeobrana-pro-deti,
#right .mod_navigation li.clanky,
#right .mod_navigation li.skoly
{ margin-bottom: .8em; padding-bottom:.8em; _margin-bottom: .6em; _padding-bottom:.6em; background: url(images/menu-bg.gif) bottom left no-repeat; }

#right .mod_navigation li li            { margin-left: 1em; }
#right .mod_navigation li li li         { display: none; }

/* Footer */
#footer {
    margin-left: 64px;
    font-size: .9em;
    margin-bottom: 1em;
    color: #aaa;
}
#footer a {
    color: #aaa;
}

/* ****************************** Moduly ****************************** */

/* Galerie */
.ce_gallery img {
    xmargin: .3em 0;
}
.ce_gallery .caption {
    text-align: center;
    margin-top: .3em;
}
.galerie .ce_gallery table, .galerie .ce_gallery td {
    border: none;
    background: none;
    vertical-align: top;
}

/* Menu skol, Menu clenske sekce */
.school-menu,
.clenska-sekce-menu,
.school-menu-all {
    margin-bottom: 2em;
    margin-top: -9px;
}
.school-menu ul,
.clenska-sekce-menu ul,
.school-menu-all ul {
    border-bottom: 1px solid #222;
    margin: 0;
    padding: 0;
    padding-top: .5em;
    height: 2em;
}
.school-menu li,
.clenska-sekce-menu li,
.school-menu-all li {
    margin: 0;
    padding: 0;
    display: inline;
    list-style: none;
}
.school-menu li p,
.school-menu li a,
.clenska-sekce-menu li p,
.clenska-sekce-menu li a,
.school-menu-all p,
.school-menu-all a {
    display: inline;
    padding: 0 1.7em !important;
    margin: 0 !important;
    display: block;
    float: left;
    border-right: 1px solid #333;
    font-weight: bold;
}
.school-menu li p,
.clenska-sekce-menu li p,
.school-menu-all li p {
    color: #fff;
}
.school-menu li.last a,
.school-menu li.last p,
.clenska-sekce-menu li.last a,
.clenska-sekce-menu li.last p,
.school-menu-all li.last a,
.school-menu-all li.last p {
    border-right: none !important;
}

/* Calendar */
.mod_calendar table td, .mod_minicalendar table td {
    text-align: right !important;
}

.mod_calendar .days {
    height: 55px;
}
.mod_calendar .days * {
    width: 54px;
    vertical-align: top;
}

/* Detail skoly */
.skola-detail {
    border-bottom: 1px solid #222;
    margin-bottom: 1em;
}
.skola-detail table td,
.skola-detail table,
.skola-instruktor table td,
.skola-instruktor table {
    border: none;
    background: none;
    vertical-align: bottom;
    padding: 0;
}
.skola-instruktor table {
    margin-bottom: 1em !important;
}
.skola-detail table,
.skola-instruktor table {
    width: 450px;
    margin: 0;
}
.skola-detail h2 {
    color: #f8e219;
    font-style: italic;
    margin: 2.5em 0;
    text-align: center;
}
.skola-detail-novinky {
    float: left;
    width: 448px;
}
.skola-detail-fotky {
    float: right;
    width: 115px;
}
.skola-detail-fotky table, .skola-detail-fotky td {
    float: right;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}
.skola-detail-fotky img {
    margin: 5px 0;
}

.skola-instruktor {
    padding-left: 140px;
    position: relative;
    overflow: visible;
}
.skola-instruktor .image_container {
    position: absolute;
    left: 0px;
}

/* News */
.mod_newslist {
}
.mod_newslist h2 {
    margin-top: 1em !important;
    font-size: 1.2em;
    margin: 0;
}
.mod_newslist p {
}
.mod_newslist .info {
    font-size: .9em;
    font-style: italic;
    border-top: 1px solid #222;
    margin-top: .5em !important;
    padding-top: .5em !important;
}

/* Google mapy */
.mod_dlh_googlemaps {
    color: #000;
}

/* ****************************** Sekce ****************************** */

/* Uvodni stranka */
body.index #main {
    height: 510px;
    border: none;
    position: absolute;
    background: url(images/ewto-logo-text-big.gif) 0% 30% no-repeat;
}
body.index #main .mod_breadcrumb, body.index #main h1 {
    display: none;
}
body.index #footer {
    display: none;
}
body.index #hp-line-module {
    width: 30em;
    text-align: center;
    position: absolute;
    top: 255px;
    left: 0px;
    color: #eee;
}
body.index #hp-line-module p, body.index #hp-line-module a {
    line-height: 1.2em;
    padding: 0;
    margin: 0;
    color: #eee;
}

/* WingTsun */
body.wingtsun #right .mod_navigation li .wingtsun,
body.wingtsun-historie #right .mod_navigation li .wingtsun,
body.wingtsun-filozofie #right .mod_navigation li .wingtsun,
body.wingtsun-principy #right .mod_navigation li .wingtsun,
body.wingtsun-stupne #right .mod_navigation li .wingtsun {
    border-left: 5px solid #f8e219;
    padding-left: 5px;
}
body.wingtsun #main .mod_breadcrumb,
body.wingtsun-historie #main .mod_breadcrumb,
body.wingtsun-filozofie #main .mod_breadcrumb,
body.wingtsun-principy #main .mod_breadcrumb,
body.wingtsun-stupne #main .mod_breadcrumb {
    background: url(images/breadcrumbs-bg-wingtsun.gif) top right no-repeat;
}

/* BlitzDefence */
body.blitzdefence #right .mod_navigation li .blitzdefence {
    border-left: 5px solid #cc0000;
    padding-left: 5px;
}
body.blitzdefence h1,
body.blitzdefence a {
    color: #cc0000;
}
body.blitzdefence #main .mod_breadcrumb {
    border-color: #cc0000;
}
body.blitzdefence #main .mod_breadcrumb {
    background: url(images/breadcrumbs-bg-blitzdefence.gif) top right no-repeat;
}
body.blitzdefence #wrapper {
    background-image: url(images/body-bg-image-blitzdefence.jpg);
}
/* Escrima */
body.escrima #right .mod_navigation li .escrima {
    border-left: 5px solid #3366cc;
    padding-left: 5px;
}
body.escrima h1,
body.escrima a {
    color: #3366cc;
}
body.escrima #main .mod_breadcrumb {
    border-color: #3366cc;
}
body.escrima #main .mod_breadcrumb {
    background: url(images/breadcrumbs-bg-escrima.gif) top right no-repeat;
}
body.escrima #wrapper {
    background-image: url(images/body-bg-image-escrima.jpg);
}

/* debug * /
#header, #footer, #main, #right, #wrapper {
    border: 1px red solid;
}
div {
    border: 1px red solid;
}
/* /debug */