body{font-family:Verdana,Arial,Helvetica,sans-serif; margin:0; padding:0; text-align:center; background:#f1dadb; min-width:829px;}
.right {float: right;}
.left {float: left;}
img {border: 0;}
#main {width : 829px; margin : 10px auto 10px auto; text-align : left; color: #504f53; background: #edeeef;  z-index : -2; overflow:hidden;}
#header {width: 829px; height: 268px;background: #edeeef url(../images/header_background.jpg) no-repeat;}
#menu_line {width: 829px; height: 33px; color: #FFFFFF; background: #9f070d url(../images/menu_h_line.jpg) no-repeat;}
#menu_line h1 {display: block; width: 829px; font-size: 11pt; font-weight: normal; margin: 0; padding: 3px 32px 0 32px;}
#menu_line h1 span {float: right;}
#content {width: 829px; min-height: 400px; _height: 400px; background: url(../images/main_background.jpg) repeat-y;}
#footer {font-size: 8pt; width: 800px; height: 29px; padding: 10px 32px 0 0; margin: 0; background: url(../images/bottom_background.jpg) no-repeat;}
#footer ul { display: inline; padding:0 0 0 28px; margin:0;}
#footer li {height: 25px; list-style: none; display: inline; margin:0; padding: 0;}
#footer a:link, #footer a:visited {font-weight: normal; margin:0 6px 0 4px; padding: 0 0 2px 0; color: #504f53; text-decoration: none; }
#footer a:hover {color: #504f53; text-decoration: underline; } 
#footer span {float: right;}
#left_menu {font-size: 8pt; float: left; width: 156px; margin: 0 0 0 8px;}
#left_menu ul {margin:0; padding: 0; }
#left_menu ul li {font-weight: bold; margin:0; padding: 0; list-style: none; }
#left_menu ul li ul li {font-weight: normal; }
#left_menu a:link, #left_menu a:visited {display: block; width: 131px; height: 13px; padding: 0 0 0 25px; color: #504f53; text-decoration: none; }
#left_menu a.sub {width: 123px; padding-left: 33px;}
#left_menu a.sub_active {width: 123px; padding-left: 33px; background: url(../images/left_menu_select.jpg) no-repeat;}
#left_menu a.active {background: url(../images/left_menu_select.jpg) no-repeat;}
#left_menu a:hover {background: url(../images/left_menu_select.jpg) no-repeat; color: #504f53; text-decoration: none; }
#left_menu img {margin-left: 25px;}
#left_menu a.image {background: none; display: inline; text-align: left; width: 100px; margin: 0; padding: 0;}
h2 {color: #9f070d; font-size: 8pt; padding: 15px 25px 12px 25px; margin: 0; text-transform:uppercase;} 
#right_menu {font-size: 8pt; text-align: right; float: right; width: 156px; margin: 0 7px 0 0;}
#right_menu ul {margin:0; padding: 0; }
#right_menu ul li {font-weight: bold; margin:0; padding: 0; list-style: none; }
#right_menu ul li ul li {font-weight: normal; }
#right_menu a:link, #right_menu a:visited {display: block; width: 131px; height: 13px; padding: 0 25px 0 0; color: #504f53; text-decoration: none; }
#right_menu a.active {background: url(../images/right_menu_select.jpg) no-repeat;}
#right_menu a:hover {background: url(../images/right_menu_select.jpg) no-repeat; color: #504f53; text-decoration: none; }
#right_menu img {margin-right: 25px;}
#main_content {font-size: 8pt; margin: 0 32px 0 185px;}
#main_content h2 {font-size: 10pt; padding: 5px 0 3px 0;}
#main_content h3 {color: #9f070d; font-size: 10pt; padding: 0 0 10px 0; margin: 0;}
#main_content p {color: #504f53; margin: 0; padding: 0 0 10px 0;}
#main_content ul {margin: 0 0 10px 30px; padding: 0;}
#main_content li {margin: 0; padding: 0;}
#main_content a:link, #main_content a:visited {color: #504f53; text-decoration: underline;}
#main_content a:hover {color: #9f070d; text-decoration: none;}
#main_content p.red {color: red;}
#alert {margin-bottom: 15px; padding: 10px; border: 1px solid #9f070d; font-size: 150%; background-color: #f2d0d1;} 
#alert h2 {font-size: 14pt;}
input.text {width: 300px;}
input.hackField {display: none;}
textarea {width: 300px;}
select.edit_klient {width: 300px;}
select.edit_type {width: 150px;}
table {border-collapse: collapse;}
table.realizace_fotky tr td {width: 115px; height: 115px;}
div.fotka {text-align: center; /*width: 85px; height: 85px;*/ overflow: hidden; margin: 0 15px 15px 0; }
div.fotka a {vertical-align: middle;/*display: block; width: 85px; height:85px;*/}
#logo a {display: block; width: 268px; height: 95px; margin: 0 0 0 32px;}
#main_menu {width: 111px; height: 99px; margin: 38px 0 0 8px;}
#main_menu a.active:link, #main_menu a.active:visited {background: url(../images/main_menu_select.jpg) no-repeat;}
#main_menu a span {display:none;}
#main_menu a:link, #main_menu a:visited {display: block; width: 111px; height: 33px; margin: 0; padding:0;}
#main_menu a:hover {background: url(../images/main_menu_select.jpg) no-repeat;}
#dyntar a {display: block; width: 230px; height: 30px; position: relative; margin: -10px 0 0 0; top: 0; left: 575px;}
#dyntar a span {display: none;}
#odkazy a:link, #odkazy a:visited {font-size: 7pt; color: #504f53; text-decoration: underline;}
#odkazy a:hover {font-size: 7pt; color: #9f070d; text-decoration: none;}
#odkazy {padding: 0 0 10px 0;}
