body {
    font-family: sans-serif;
    margin: 12px 0; padding: 0;
    background-color: #ddd;
    font-size: 12px;
    line-height: 1.3em;
    color: #444;
}
#LOUT {
    width: 754px;
    margin: 0 auto;
    background-color: #fff;
    background-image: url('/++res++/obecpolesovice.static/img/lout-background.gif');
    background-repeat: repeat-y;
}
#LOUT-TOP {
    background-image: url(/++res++/obecpolesovice.static/img/lout-top.gif);
    background-repeat: no-repeat;
    height: 12px;
    overflow: hidden;
}
#LOUT-BOTTOM {
    background-image: url(/++res++/obecpolesovice.static/img/lout-bottom.gif);
    background-repeat: no-repeat;
    height: 12px;
    overflow: hidden;
}
#LOUT-IN {
    margin: 0 12px;
    background-image: url('/++res++/obecpolesovice.static/img/kostel.jpg');
    background-repeat: no-repeat;
    background-position: right bottom;
}
#LOUT-HOME {
    position: absolute;
    width: 730px;
    height: 142px;
    text-indent: -1000px;
}
#LOUT-HEADER {
    width: 730px;
    height: 142px;
    background-image: url(/++res++/obecpolesovice.static/img/header.jpg);
    background-repeat: no-repeat;
}
#LOUT-SEARCH {
    margin: 0 0 0.7em 0; padding: 2px 4px;
    background-color: #9c3;
    text-align: right;
    color: #fff;
}
#LOUT-SEARCH a {
    color: #fff;
    text-decoration: none;
}
#LOUT-LEFTCOL {
    float: left;
    width: 200px;
}
#LOUT-VINO {
    margin: 1em 0 0 0;
    height: 226px;
    background-image: url(/++res++/obecpolesovice.static/img/vino.jpg);
    background-repeat: no-repeat;
    background-position: center top;
}
#LOUT-KONTAKT {
    margin: 2em 1em 1em 1em;
}
#LOUT-KONTAKT p {
    margin: 0.2em 0; padding: 0 0 0 24px;
    font-weight: bold;
}
#LOUT-KONTAKT p.obalka {
    background-image: url(/++res++/obecpolesovice.static/img/obalka.gif);
    background-repeat: no-repeat;
    background-position: left 50%;
}
#LOUT-KONTAKT p.telefon {
    background-image: url(/++res++/obecpolesovice.static/img/telefon.gif);
    background-repeat: no-repeat;
    background-position: left 50%;
}
#LOUT-KONTAKT p.zavinac {
    background-image: url(/++res++/obecpolesovice.static/img/zavinac.gif);
    background-repeat: no-repeat;
    background-position: left 50%;
}
#LOUT-BODY {
    margin: 0 8px 12px 0; 
    float: right;
    width: 510px;
}
#LOUT-FOOTER {
    padding: 2px;
    background-color: #1C569F;
}
#LOUT-FOOTER p {
    margin: 0; padding: 2px 4px;
    color: #fff;
}
#LOUT-FOOTER p.right {
    text-align: right;
}
#LOUT-FOOTER a {
    color: #fff;
    text-decoration: none;
}
#LOUT-REALIZACE {
    padding: 0 16px;
    background-color: #ddd;
}
#LOUT-REALIZACE p {
    margin: 0; padding: 0;
}
a {
    color: #004e8e;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
/*ul.main-menu {
    margin: 0.5em 0.5em 0 0.5em; padding: 0;
    list-style: none;
    font-size: 1.2em;
    font-family: sans-serif;
    text-transform: uppercase;
    font-weight: bold;
}
ul.main-menu li {
    margin: 0 0 1em 0; padding: 0;
    line-height: 1em;
}
ul.main-menu a {
    margin: 0; padding: 0 16px 0.3em 1.6em;
    color: #444;
    display: block;
    background-image: url(/++res++/obecpolesovice.static/img/menu-sipka.gif);
    background-repeat: no-repeat;
    background-position: left top;
}
ul.main-menu a:hover {
    color: #000;
    text-decoration: none;
}
ul.main-menu ul {
    margin: 0 0 0 3em; padding: 0;
    list-style: none;
    font-size: 0.8em;
    font-weight: normal;
    text-transform: none;
}
ul.main-menu ul li {
    margin: 0;
    border: none;
}
ul.main-menu ul li a {
    margin: 0; padding: 3px 0;
    background-image: none;
}*/
h2.red {
    font-size: 1.6em;
    margin: 0.5em 0 0.2em 0;
    color: #b3282e;
    letter-spacing: 0.05em;
}
#MENU {
    margin: 0; padding: 0;
    width: 200px;
}
#MENU li {
    position: relative;
    background-color: #E5F2CC;
    list-style: none;
    text-transform: uppercase;
    font-weight: bold;
    float: left;
    width: 198px;
    border-bottom: 1px solid #fff;
}
#MENU ul {
    position: absolute;
    top: 0;
    left: 159px;
    display: none;
}
#MENU ul li {
    text-transform: none;
    font-weight: normal;
}
#MENU a {
    display: block;
    width: 198px;
    color: #444;
}
#MENU a:active {
    background-color: #eee;
}
#MENU a:hover {
    color: #fff;
    text-decoration: none;
    background-color: #9c3;
}
#MENU a span {
    display: block;
    padding: 4px 8px;
}
#MENU li:hover ul, #MENU li.over ul {
    display: block;
}
.news-item {
    margin: 1em 0;
}
.news-item-date {
    font-style: italic;
}
.news-item-title {
    color: #1F54A0;
    margin: 0; padding: 0;
}
.news-item-description {
    margin: 0.3em 0 0 0; 
}

form#search-form {
    margin: 5px 0;
}
form#search-form input.search-input {
    width: 120px;
}


/* *********************************** KALENDAR */
.calendar TD
{
border: 1px solid #E5F2CC;
padding: 2px 0;
text-align: center;
}
.calendar .day-name TD
{
border: none;
}
.calendar
{
width: 100%;
/*border-collapse: collapse;*/
}
.calendar .day-weekend
{
background: #E5F2CC;
}
.calendar .day-name
{
font-weight: bold;
}
.calendar .has_event
{
background: #99CC33;
}

/* */
.news-item
{
clear: both;
padding-bottom: 15px;
border-bottom: 1px dotted #dcdcdc;
}
.news-item-date
{
font-size: 11px;
color: gray;
}
.news-image img
{
float: left;
padding: 0 10px 5px 0;
}

/* ************************************************************************** */

/* ******************************* TABS */
.ui-widget
{
font-size: 1em;
font-family: arial;
}

.ui-tabs .ui-tabs-nav
{
padding: 0;
margin: 0;
}

.ui-widget-header
{
background: #99CC33;
border: none;
-moz-border-radius: 0px;
}
.ui-tabs .ui-tabs-nav li
{
background: #99CC33;
border: none;
margin: 0;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-selected
{
background: #fff;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a
{
color: #333;
}
.ui-corner-top
{
-moz-border-radius: 0px;
}
.ui-tabs .ui-tabs-nav li a
{
padding: 3px 8px;
font-weight: bold;
color: #fff;
}
.ui-widget-content
{
border: 1px solid #efefef;
}
