body {
    font-family: Verdana;
    background: url("/img/mainback.gif") repeat-x scroll 0% 0% rgb(236, 236, 236);
}

div#page {
    margin-left: auto;
    margin-right: auto;
    width: 900px;
    top: 0px;
    position: relative;
}


div#flash1 { 
    display: block; 
    z-index: 20;
    text-align: center;
}

div#data {
    padding-top: 20px;
}

table#login {
    border: 1px solid #66CCFF;
    border-collapse: collapse;
}

table#loginlogin td#caption {
    color: white;
    background-color: #507CD1;
    font-size: 0.9em;
    font-weight: bold;
    text-align: center;
}

table#loginlogin td#name {
    text-align: right;
    font-size: 0.9em;
}

table#loginlogin td#vstup input {
    font-size: 0.8em;
    width: 90px;
}

table#loginlogin td#tdbutton {
    text-align: center;
}

table#loginlogin td#tdbutton input#button {
    border: 1px solid #507cd1;
    background: white;
    font-size: 0.8em;
    color: #284E98;
    cursor: hand;
}

div.divlogout {
    text-align: right;
    font-size: 0.8em;
    background-color: rgb(225, 225, 225);
}

div#menu a {
    color: white;
    padding: 2px 5px;
    border: 0px solid #507cd1;
    font-size: 0.8em;
    white-space: nowrap;
    text-align: center;
    display: inline;
    text-decoration: none;
}

div#menu a:hover {
    color: white;
    background-color: rgb(0, 110, 117);
}

div#menu ul {
    margin: 0px;
    list-style-type: none;
    width: 82em;
    min-width: 900px;
}

div#menu li {
    float: left;
    padding-right: 3px;
}

div#menu {
    padding-bottom: 15px;
    background-color: rgb(0, 164, 174);
    color: white;
    height: 0.55em;
}

div#div_hr {
    background-color: rgb(255,255,255);
    height: 2px;
}

div#div_hr2 {
    background-color: rgb(255,255,255);
    height: 15px;
}

div#tablename {
    font-size: 0.9em;
    font-weight: bold;
    padding: 2px 15px;
    text-decoration: underline;
    background-color: rgb(0, 164, 174); 
    color: white; 
}

div#vyber_klienta, 
div#vyber_firmy,
div#vyjete_castky,
div#vyjete_castky_vozidel,
div#pocet_zakazek,
div#zakazky_posadky {
    font-size: 0.9em;
    padding: 9px 1px 1px 1px;
    background-color: rgb(225, 225, 225);
    color: rgb(0, 164, 174);
}

div#vyber_klienta form,
div#vyjete_castky form,
div#vyjete_castky_vozidel form,
div#pocet_zakazek form,
div#zakazky_posadky form,
div#vyber_firmy form {
    padding: 2px 15px;
}

div#vyber_klienta form a, 
div#vyber_firmy form a,
div#vyjete_castky form a,
div#vyjete_castky_vozidel form a,
div#pocet_zakazek a,
a#btn,
div#zakazky_posadky form a {
    padding: 2px 5px;
    font-size: 0.8em;
    white-space: nowrap;
    text-align: center;
    display: inline;
    text-decoration: none;
    background-color: rgb(0, 164, 174);
    color: white;
}

div#vyber_klienta form a:hover,
div#vyber_firmy form a:hover,
div#vyjete_castky form a:hover,
div#vyjete_castky_vozidel form a:hover,
div#pocet_zakazek form a:hover,
a#btn:hover,
div#zakazky_posadky form a:hover {
    color: white;
    background-color: rgb(0, 110, 117);
}

div#detail_company {
}

div#detail_company table#company_login td {
    color: rgb(0, 164, 174);
    font-size: 0.8em;
}

div#detail_company table#company_login td#tdbutton {
    text-align: center;
}

div#detail_company table#company_next td {
    color: rgb(0, 164, 174);
    font-size: 0.7em;
    vertical-align: top;
}


div#detail_company table#company_next #header td {
    color: white;
    font-size: 0.7em;
    vertical-align: top;
}

table#company_next table td#tdbutton {
    text-align: center;
}

table#company_next form span {
    color: red;
}

table#tplatby {
    background-color: White;
    border-color: #999999;
    border-width: 1px;
    border-style: None;
    border-collapse: collapse;
}

tr#header {
    color: White;
    background-color:  rgb(0, 164, 174);
    /*background-color: #000084;*/
    font-weight: bold;
}

td#tdturnus {
    color: White;
    background-color: rgb(0, 164, 174);
    font-weight: bold;
    font-size: 0.9em;
    text-align: center;
}

td#tdname {
    color: White;
    background-color: rgb(0, 164, 174);
    font-size: 0.9em;
    text-align: left;
}

td#tdvalue {
    color:Black;
    background-color:#EEEEEE;
    font-weight: bold;
    font-size: 0.9em;
    text-align: right;
}

tr#header td {
    text-align: center;
    color: white;
}

td#edit_btn {
    padding: 5px 3px;
//    padding-bottom: 10px;
}

td#edit_btn a {
    padding: 2px 5px;
    border: 1px solid #507cd1;
    font-size: 0.8em;
    white-space: nowrap;
    text-align: center;
    display: inline;
    text-decoration: none;
}

td#edit_btn a:hover {
    color: white;
    background-color: #507cd1;
}

table#tplatby tr#trline1 {
    color:Black;
    background-color:#EEEEEE;
}

table#tplatby tr#trline2 {
    color:Black;
    background-color:#CCCCCC;
}

div#vypis {
}

table#tplatby tr td#tdright {
    text-align: right;
}

table#vplatby {
    width: 100%;
    font-size: 0.8em;
    background-color: White;
    border-color: #999999;
    border-width: 1px;
    border-style: None;
    border-collapse: collapse;
}

table#vplatby tr#trline1 {
    color:Black;
    background-color:#EEEEEE;
}

table#vplatby tr#trline2 {
    color:Black;
    background-color:#CCCCCC;
}

table#vplatby tr td#tdright {
    text-align: right;
}

table#vplatby tr#trcelkem {
    background-color: SteelBlue;
    font-weight:bold;
}

span#tablename {
    font-size: 0.9em;
    font-weight: bold;
    padding: 10px;
    text-decoration: underline;
}

.text {
    width: 170px;
}

.DTinput {
    display: inline;
    width: 130px;
}