html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
body {
min-height: 100%;
height: auto !important;
background-color: #eee;
}

/*STYLE STRUCTURE*/

table  {
width: 100%;
margin: 0;
border: 0;
border-spacing: 0px;
border-collapse: collapse;
padding: 0;
}

div  {
width: 100%;
margin: 0;
border: 0;
padding: 0;
background-color: #eee;
}

td {
padding:0;
margin: 0;
border: 0;
vertical-align: top;
}

p {
margin: 5 0 0 0px;
padding: 0;
color: #333;
font: 13px/18px arial, sans-serif;
font-weight: normal;
}


a {
margin: 0;
padding: 0;
color: #333;
}

form, input, select {
margin: 0;
padding:0;
vertical-align: middle;
}


/* TABLE ALL */

table#all {
height: 100%;
min-height: 100%;
min-width: 800px;
}
* html table#all {
height: 100%;
width:expression((document.documentElement.clientWidth || document.body.clientWidth) < 800? "800px": "100%");
}

td#a21 {
height: 50px;
vertical-align: bottom;
}

/* HEADER */  

table#header {
height: 160px;
}
td#h11 {
width: 296px;
background-image: URL(img/top.gif);
background-repeat: no-repeat
text-align: right;
}
td#h12 {
width: 104px;
background-image: URL(img/logo.gif);
background-position: bottom;
background-repeat: no-repeat 
}

td#h11  a {
display: block;
float: right;
margin: 2 5 2 5px;
border-top: 1px solid  #fff;
border-right: 1px solid  #fff;
padding: 0 7 0 7px;
color: #fff;
font: 12px/18px arial, sans-serif;
font-weight: normal;
text-decoration: none;
}

td#h11  a:hover {
color: #fff;
background-color: #ee0000;
}

div#menuall {
height: 30px;
border-bottom: 1px dotted #999;
background-color: #eee;
}
div#menuall  a {
display: block;
float: left;
margin: 2 5 2 5px;
border-top: 1px solid  #ccc;
border-right: 1px solid  #ccc;
padding: 0 7 0 7px;
color: #333;
font: 12px/18px arial, sans-serif;
font-weight: normal;
text-decoration: none;
}
div#menuall a:hover {
color: #c30000;
background-color: #fff;
}

div#mova{
height: 20px;
}
div#mova  a {
display: block;
float: right;
margin: 0;
padding: 0 7 0 7px;
color: #666;
font: 11px/20px arial, sans-serif;
font-weight: normal;
text-decoration: none;
}

div#mova  a:hover {
color: #c30000;
}

/* MENU */  

div#menu {
height: 35px;
border-top: 1px dotted #999;
border-bottom: 1px dotted #999;
}

#menu a {
display: block;
float: left;
margin: 5px;
border-bottom: 2px solid  #fff;
border-left: 2px solid  #fff;
padding: 0 7 0 7px;
color: #333;
font: 10px/23px arial, sans-serif;
font-weight: bold;
text-decoration: none;
}

#menu a:hover {
color: #c30000;
background-color: #fff;
}

/* CONTENT */

table#content {
height: auto;
}

td#c11 {
width: 300px;
border-right: 1px dotted  #999;
}

td#c13 {
width: 150px;
border-left: 1px dotted  #999;
}

div#left {
margin: 15px;
width: 270px;
/* height: 200px;
border: 2px dotted #fff; */
}

div#cont {
width: auto;
display: block;
clear: left;
clear: right;
margin: 0 15 15 15px;
}

div#board {
width: auto;
display: block;
clear: left;
clear: right;
margin: 15 0 15 0px;
}

div#right {
display: block;
clear: left;
margin: 0 15 15 15px;
width: 120px;
height: 200px;
}

/* FOOTER */

table#footer {
height: 50px;
background-color: #eee;
}

td#f11 {
width: 302px;
height: 22px;
}

td#f12 {
border-top: 2px dotted #fff;
}

td#f21,  td#f22 {
height: 28px;
background-color: #c30000;
}

/* END of STRUCTURE */

#footer p {
margin: 0;
color: #666;
font: 10px/22px arial, sans-serif;
font-weight: normal;
}

h5.group {
display: block;
margin: 10 0 5 0px;
font: 11px/18px arial, sans-serif;
font-weight: bold;
}

h5.place {
display: block;
margin: 10 0 5 15px;
font: 13px/18px arial, sans-serif;
font-weight: bold;
}

h3.misto {
display: block;
clear: left;
width: 600px;
margin: 20 0 5 0px;
padding-left: 7px;
border-top: 2px solid #ddd; 
border-left: 2px solid #ddd; 
font: 14px/20px arial, sans-serif;
font-weight: bold;
} 

h1 {
display: block;
padding-left: 5px;
border-bottom: 2px solid #fff; 
border-left: 2px solid #fff; 
margin: 15 0 10 0px;
font: 18px/22px arial, sans-serif;
font-weight: normal;
}

h1.help {
display: block;
padding-left: 5px;
border-bottom: 2px solid #fff; 
border-left: 2px solid #fff; 
margin: 15 0 10 0px;
font: 13px/22px arial, sans-serif;
font-weight:  bold;
}

table.coment {
width: 600px;
clear: left;
/*border-bottom: 3px solid  #ddd;*/
margin: 0;
padding: 0;
}

table.simple {
width: 600px;
clear: left;
margin: 0;
padding: 0;
}

table.list {
width: 600px;
clear: left;
margin: 0;
border: 1px solid #fff;
}

table.list tr.tablehead {
text-align: center;
background-color: #ddd;
margin: 0;
padding: 0;
}

table.list tr.tablehead p {
width: auto;
text-align: center;
font: 11px Arial, sans-serif;
margin: 0;
padding: 0;
}

table.list td {
vertical-align: middle;
border-top: 1px solid #fff;
border-right: 1px solid #fff;
border-left: 1px solid #fff;
}

/*table.list input {
width: 17px;
height: 17px;
border: 1px solid #ccc;
margin: 0;
padding: 0;
}
* html table.list input {
border: 0;
}*/

table.list td.cod {
width: 70px;
}

table.list td.numb {
width: 20px;
vertical-align: middle;
text-align: center;
margin: 0;
padding: 0;
}

table.list td.bron {
width: 20px;
background-color: #f66;
}

table.list td.reserv {
width: 20px;
background-color: #fc3;
}

table.list td.street p{
margin:0 0 0 7px;
}
table.list td.cod p {
margin:0 0 0 7px;
}

table.list td.street {
width: 250px;
}

td.res {
width: 20px;
background-image: URL(img/red.gif);
}

td.street {
text-align: left;
width: 50%;
}

form.year {
text-align: right;
}

form.zam {
margin: 0 0 0 15px;
}

/* --------------------------------------------------------------------------------- */

select.year {
text-align: right;
vertical-align: middle;
}

div.pole {
width: 600px;
display: block;
height: auto;
margin: 0;
padding: 0;
vertical-align: middle;
}

a.submitr {
display: block;
float: right;
margin: 5 5 0 0px;
border-top: 1px solid  #fff;
border-left: 1px solid  #fff;
border-right: 2px solid  #ccc;
border-bottom: 2px solid  #ccc;
padding: 0 7 0 7px;
color: #333;
font: 12px/18px arial, sans-serif;
font-weight: normal;
text-decoration: none;
cursor: pointer;
background-color: #ddd;
}

a.aright {
display: block;
float: right;
margin: 0 10 0 0px;
border-top: 1px solid  #ccc;
border-left: 1px solid  #ccc;
padding: 0 7 0 7px;
color: #333;
font: 10px/16px arial, sans-serif;
font-weight: normal;
text-decoration: none;
cursor: pointer;
}

a:hover.submitr {
border-top: 1px solid  #fff;
border-left: 1px solid  #fff;
border-right: 2px solid  #ccc;
border-bottom: 2px solid  #ccc;
padding: 0 7 0 7px;
color: #333;
background-color: #eed;
}

a.submit {
display: block;
float: left;
margin: 5 5 0 0px;
border-top: 1px solid  #fff;
border-left: 1px solid  #fff;
border-right: 2px solid  #ccc;
border-bottom: 2px solid  #ccc;
padding: 0 7 0 7px;
color: #333;
font: 12px/18px arial, sans-serif;
font-weight: normal;
text-decoration: none;
cursor: pointer;
background-color: #ddd;
}

a:hover.submit {
border-top: 1px solid  #fff;
border-left: 1px solid  #fff;
border-right: 2px solid  #ccc;
border-bottom: 2px solid  #ccc;
padding: 0 7 0 7px;
color: #333;
background-color: #eed;
}

div.submenu {
display: block;
width: 600px;
margin: 0;
padding: 0;
font-weight: normal;
}

div.submenu  a {
width: auto;
display: block;
float: left;
margin: 0 10 0 0px;
border-top: 1px solid  #ccc;
border-left: 1px solid  #ccc;
padding: 0 7 0 7px;
color: #333;
font: 10px/16px arial, sans-serif;
font-weight: normal;
text-decoration: none;
}

div.submenu a:hover {
color: #c30000;
background-color: #fff;
}

div.forma {
margin: 0 0 30 0px;
padding: 0;
color: #333;
font: 13px/18px arial, sans-serif;
font-weight: normal;
}

form, input, textarea, select {
margin: 0;
padding: 0;
color: #333;
font: 12px/18px arial, sans-serif;
vertical-align: middle;
font-weight: normal;
}

td.old {
width: 20px;
/*background-image: URL(img/gray.gif);*/
/*background-repeat: no-repeat */
vertical-align: middle;
}

td.numb {
text-align: left;
width: 15px;
}

input.mask1 {
color: #333;
width: 17px;
height: 17px;
text-align: center;
font: 9px/18px arial, sans-serif;
font-weight: normal;
background-color: #fff;
}

input.mask2 {
color: #333;
border: 0;
width: 17px;
height: 17px;
text-align: center;
font: 9px/18px arial, sans-serif;
font-weight: normal;
background-color: #fc3;
}

input.s_mask2 {
color: #333;
border: 0;
width: 17px;
height: 17px;
text-align: center;
font: 9px/18px arial, sans-serif;
font-weight: normal;
background-image: URL(img/yel_start.gif);
background-position: bottom;
background-repeat: no-repeat;
background-color: #eee;
cursor:pointer;
}

input.mask2_ {
color: #333;
/*display: none;*/
border: 0;
width: 17px;
height: 17px;
text-align: center;
font: 9px/18px arial, sans-serif;
font-weight: normal;
background-image: URL(img/yel_end.gif);
background-position: bottom;
background-repeat: no-repeat;
background-color: #eee;
cursor:pointer;
}

input.mask3 {
color: #333;
border: 1px solid #ddd;
width: 17px;
height: 17px;
text-align: center;
font: 9px/18px arial, sans-serif;
font-weight: normal;
background-color: #fff;
}

input.mask21 {
color: #333;
width: 17px;
height: 17px;
text-align: center;
font: 9px/18px arial, sans-serif;
font-weight: normal;
background-color: #fff;
}

input.mask22 {
color: #333;
border: 0;
width: 17px;
height: 17px;
text-align: center;
font: 9px/18px arial, sans-serif;
font-weight: normal;
background-color: #f66;
}

input.s_mask22 {
color: #333;
border: 0;
width: 17px;
height: 17px;
text-align: center;
font: 9px/18px arial, sans-serif;
font-weight: normal;
background-image: URL(img/red_start.gif);
background-position: bottom;
background-repeat: no-repeat;
background-color: #eee;
cursor:pointer;
}

input.mask22_ {
color: #333;
border: 0;
width: 17px;
height: 17px;
text-align: center;
font: 9px/18px arial, sans-serif;
font-weight: normal;
background-image: URL(img/red_end.gif);
background-position: bottom;
background-repeat: no-repeat;
background-color: #eee;
cursor:pointer;
}

input.mask23 {
color: #333;
display: none;
border: 0;
width: 17px;
height: 17px;
text-align: center;
font: 9px/18px arial, sans-serif;
font-weight: normal;
background-color: #eee;
}

div#flash {
height: 128px;
background-image: URL(img/bg_hvyli.gif);
background-repeat: repeat-x;
background-position: bottom;
}

p.number {
padding-left: 5px;
color: #666;
font: 11px/16px arial, sans-serif;
font-weight: normal;
}

p.help {
color: #666;
font: 9px/18px arial, sans-serif;
font-weight: normal;
}

p.place {
display: block;
margin: 10 0 5 15px;
font: 12px/18px arial, sans-serif;
}

a.check {
display: block;
color: #c00;
font: 11px/16px arial, sans-serif;
font-weight: bold;
text-decoration: none;
cursor: pointer;
background-color: #ddd;
}

a:hover.check {
color: #555;
}
