/** global definitions */
html, body, ul, ol, li, p, h1, h2, h3, h4, h5, h6, form, fieldset, a, img, button, address, dl, dt, dd {
    margin: 0;
    padding: 0;
    border: 0px none;
}

h1, h2, h3, h4, h5, h6 {
    clear: both;
}

html {
    background: white;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 62.5%;
    color: #483C0C;
    text-align: center;
    padding-top: 16px;
    background: white url(/images/design/body.png) repeat-x  top;
}

a {
    color: #483C0C; text-decoration: underline;
}

/** page layouts */
#page {
    width: 950px;
    margin: auto;
    text-align: left;
    padding-bottom: 20px;
}

#head {
    position: relative;
    height: 77px;
    padding-left: 215px;
}

#flashHeader {
    width: 950px;
    height: 239px;
}

#content {
    padding: 17px 0 33px 0;
    width: 950px;
}

#left {
    width: 613px;
    float: left;
}

#right {
    width: 312px;
    float: right;
}

#foot {
    background: url(/images/design/footTop.png) no-repeat left top;
    padding: 4px 0 0 0;
    clear: both;
}

#foot-in {
    background:#EBEBE9 url(/images/design/footBottom.png) no-repeat left bottom;
    padding: 10px 0 14px 26px;
    color: #3F3F3E;
}

.reset{
    clear: both;
    height: 0px;
    line-height: 0px;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    font-size: 1px;
}

.reset{
    margin-bottom: 0px;
}

.box {
    width: 613px;
    background:#F3F2EC url(/images/design/leftBottom.png) no-repeat left bottom;
    padding-bottom: 4px;
    position: relative;
}

.box {
    font-size: 145%;
    color: #483C0C;
    line-height: 150%;
    text-align: justify;
}

.box ul {
    margin: 1em 1em 1em 1.5em;
    line-height: 150%;
}

.box ul li {
    margin-bottom: 0.5em;
}

.box h1, .box h2, .box h3 {
    margin: 0.25em 0 0.4em 0;
}

.box h1 {
    font-size: 150%;
}

.box h2 {
    font-size: 130%;
}

.box h3 {
    font-size: 110%;
}

.box table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em
}

.box table td, .box table th {
    border: 1px solid #ccc;
    padding: 3px;
}

.box table th {
    text-align: center;
}

.box table.images {
    border: 0;
}

.box table.images td {
    text-align: center;
    border: 0;
}

.box p {
    color: #483C0C;
    line-height: 150%;
    margin-bottom: 15px;
}

.box ul {
    list-style: none;
}

.box ul li {
    background: url(/images/design/bulett1.png) no-repeat left 6px;
    padding-left: 21px;
}

.box-in {
    background: url(/images/design/leftTop.png) no-repeat left top;
    padding: 21px 26px 18px 26px;
    width: 561px;
}

.logo {
    position: absolute;
    left: 26px;
    top: 14px;
}

/** menu at the top of the page */
ul.menu {
    list-style: none;
}

ul.menu li {
    display: block;
    float: left;
    padding: 0px 20px 0 20px;
}

ul.menu li a {
    color: #252525;
    font-size: 120%;
    font-weight: bold;
    display: block;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    padding-top: 25px;
    _float: left;
}

ul.menu li a:hover, ul.menu li a.active {
    background: url(/images/design/hover.gif) no-repeat center top;
    color: #252525;
}

/** box with contact information */
.blue {
    background:#F2F6FA url(/images/design/blueBottom.png) no-repeat left bottom;
    padding: 0 0 4px 0;
    position: relative;
    margin-bottom: 23px;
    width: 312px;
}

.blue-in {
    background: url(/images/design/blueTop.png) no-repeat left top;
    padding: 24px 0 26px 32px;
    width: 280px;
}

.dalsiKontakty {
    position: absolute;
    right: 0px;
    bottom: 0px;
    display: block;
    width: 109px;
    height: 24px;
    background: #004B9C url(/images/design/dalsiKontakty.png) no-repeat right bottom;
    font-size: 110%;
    color: white;
    text-decoration: underline;
    line-height: 24px;
    padding-right: 34px;
    text-align: right;
}

a.dalsiKontakty:hover {
    text-decoration: none;
    color: White;
}

.blue-in h2 {
    color: #004b9c;
    font-size: 150%;
    margin-bottom: 8px;
}

.blue-in h2 span {
    color: #F62122;
}

.blue-in ul {
    list-style: none;
}

.blue-in ul li {
    font-size: 120%;
    color: #000000;
    width: 108px;
    float: left;
    min-height: 24px;
    _height: 24px;
    margin-bottom: 5px;
    padding-left: 24px;
}

.blue-in ul li a {
    color: #000000;
    text-decoration: underline;
}

.blue-in ul li a:hover {
    text-decoration: none;
}

.tel {
    background: url(/images/design/tel.png) no-repeat left top;
}

.fax {
    background: url(/images/design/fax.png) no-repeat left top;
}

.mail {
    background: url(/images/design/mail.png) no-repeat left top;
}

/** certificates */
.certifikaty h2 {
    position: relative;
    width: 265px;
    height: 33px;
    color: #004B9C;
    font-size: 16px;
    margin-bottom: 8px;
}

.certifikaty h2 span {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 265px;
    height: 33px;
    background: url(/images/design/naseCertifikaty.png) no-repeat left top;
}

.certifikaty ul {
    list-style: none;
    color: #464646;
    margin-bottom: 14px;
}

.certifikaty ul li {
    font-size: 120%;
    margin-left: 12px;
    padding-left: 20px;
    background: url(/images/design/bulett1.png) no-repeat left;
    line-height: 180%;
}

.certifikaty ul li a {
    color: #464646;
    text-decoration: underline;
}

.certifikaty ul li a:hover {
    text-decoration: none;
}

/** box of references */
.reference {
    width: 281px;
    float: right;
 }

.reference h2 {
    position: relative;
    width: 233px;
    height: 38px;
    font-size: 160%;
    color: #004b9c;
    margin-bottom: 4px;
}

.reference h2 span {
    width: 233px;
    height: 38px;
    position: absolute;
    left: 0px;
    top: 0px;
    background: url(/images/design/naseReference.png) no-repeat left top;
}

.reference h3 {
    font-size: 14px;
    margin-bottom: 0.5em;
}

.reference p {
    font-size: 12px;
    text-align: justify;
    margin-bottom: 1em;
    margin-right: 2em;
    margin-top: 0;
    line-height: 150%;
}

.reference .img {
    width: 128px;
    float: left;
}

.reference .popis {
    float: right;
    width: 144px;
}

#right .reference {
    float: none;
    width: auto;
    margin-bottom: 20px
}

#right .reference .popis {
    float: left;
    margin-left: 8px;
    width: 170px;
}

/** box with list of recently updated data sheets */
.nater {
    width: 282px;
    float: left;
    padding-left: 33px;
}

.nater h2 {
    position: relative;
    width: 245px;
    height: 35px;
    font-size: 160%;
    color: #004b9c;
    margin-bottom: 4px;
}

.nater h2 span {
    width: 245px;
    height: 35px;
    position: absolute;
    left: 0px;
    top: 0px;
    background: url(/images/design/nateroveHmoty.png) no-repeat left top;
}

.nater ul {
    list-style: none;
}

.nater ul li {
    padding-left: 39px;
    font-size: 120%;
    line-height: 200%;
    margin-left: 10px;
    padding-left: 20px;
    background: url(/images/design/bulett1.png) no-repeat left;
}

.nater ul li a {
    text-decoration: underline;
}

.nater ul li.cs a {
    background: url(/images/icons/flags/cz.gif) no-repeat right;
    padding-right: 20px;
}

.nater ul li.en a {
    background: url(/images/icons/flags/en.gif) no-repeat right;
    padding-right: 20px;
}

.nater ul li a:hover {
    text-decoration: none;
}

#right .nater {
    width: auto;
    float: none;
    padding-left: 0;
    margin-bottom: 40px
}

/** box with recent news */
.novinky {
    width: 282px;
    float: left;
    padding-left: 33px;
}

.novinky h2 {
    position: relative;
    width: 245px;
    height: 35px;
    font-size: 160%;
    color: #004b9c;
    margin-bottom: 4px;
}

.novinky h2 span {
    width: 245px;
    height: 35px;
    position: absolute;
    left: 0px;
    top: 0px;
    background: url(/images/design/aktualniNovinky.png) no-repeat left top;
}

.novinky ul {
    list-style: none;
}

.novinky ul li {
    padding-left: 39px;
    font-size: 120%;
    line-height: 200%;
    background: url(/images/design/novinkyLi.png) no-repeat 5px center;
}

.novinky ul li a {
    text-decoration: underline;
}

.novinky ul li a:hover {
    text-decoration: none;
}

.novinka .date {
    background: url(/images/design/novinkyLi.png) no-repeat left top;
    padding: 0px 0px 0px 30px;
    font-weight: bold;
}

.novinka .abstract {
    margin-bottom: 1.5em;
}

#right .novinky {
    width: auto;
    float: none;
    padding-left: 0;
    margin-bottom:20px
}

/** box with a selected project */
.popis dt, .popis dd {
    display: inline;
    font-size: 120%;
    line-height: 190%;
    color: #464646;
}

.popis dt {
    font-weight: bold;
}

.popis p {
    font-size: 120%;
    line-height: 190%;
}

.popis p a {
    color: #464646;
    text-decoration: underline;
}

.popis p a:hover {
    text-decoration: none;
}

/** list of material types (page of data sheets) */
.links {
    margin: 1em 0 1.5em 0;
}

/** table of data sheets */
table.files td {
    text-align: center;
}

table.files .icon {
    vertical-align: middle;
}

table.files .pdf {
    width: 20%;
}

table.files thead th {
    background-color: #ddd;
}

/** login page */
.login-form {
    padding: 1em;
}

.login-form div {
    padding: 0.5em;
}

.login-form label {
    display: block;
    float: left;
    width: 90px;
    text-align: right;
}

.login-form input.username, .login-form input.password {
    width: 200px;
    margin-left: 10px;
}

.login-form input.submit {
    margin-left: 100px;
}

/** contacts */
.box table.contacts {
    width: 100%;
    border: none;
    margin-bottom: 1em;
}

.box table.contacts td, .box table.contacts th {
    border: none;
    padding: 2px;
}

.box table.contacts th {
    text-align: left;
}

.contact-form {
    margin: 1em 0 1em 0; 
}

.contact-form .item {
    clear: both; padding: 0.5em;
}

.contact-form .item label {
    float: left;
}

.contact-form .captchaBox {
    clear: none;
    float: left;
    border: 2px solid #ccc;
    background-color: #ccc;
    margin-left: 0.25em;
    text-align: center;
}

.contact-form .captchaBox .image {
    background-color: white;
    padding: 0.5em;
}

.contact-form .captchaBox .image img {
    margin: auto;
}

.contact-form .captchaBox img {
    border: 1px solid white;
    vertical-align: bottom;
}

.contact-form .captchaBox .response {
    padding: 0.5em;
}

.contact-form .captchaBox .captchaButtons {
    padding: 0 0 0 0.5em;
}

.contact-form .captchaBox .captchaButtons img {
    margin: 0;
    padding: 0;
}

.contact-form .captchaBox div {
    clear: both; padding: 0;
}

.contact-form label {
    float: left;
    width: 10%;
    padding-right: 3%;
    font-weight: bold;
    text-align: right;
}

.contact-form input.text {
    width: 85%;
    padding: 2px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 100%;
}

.contact-form .captchaBox input.text {
    width: 10em;
}

.contact-form textarea {
    padding: 2px;
    width: 85%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 100%;
}

.contact-form div.submit {
    clear: both;
    padding-top: 1em;
    padding-left: 13%;
}

/** list of projects */
.project {
    clear: both;
    margin-top: 3em;
}

.project div.thumbnail {
    float: left;
    width:112px;
    padding-top:7px;
}
.project img.thumbnail {
    float: left;
    margin-right: 10px;
    border: 1px solid #ccc;
    display:block;
}
.project div.abstract {
}

/** list of images below the project details */
.project .images {
    border-top: 1px solid #ccc;
    padding: 6px 0 0 0;
}

.project .images img {
    margin-right: 4px;
    border: 1px solid #ccc;
}

.project .images img.last {
    margin: 0px;
}

.project .images .image {
    float: left;
/*
    height: 140px;
    *height: 135px;
*/
    margin-right: 5px;
    margin-bottom: 5px;
    width: 183px;
}

.project .images .last {
    margin-right: 0px;
}

.project .images .image .spc {
    padding: 3px;
    text-align: center;
}

.project .images .image .spc img {
    margin: auto;
}

/** list of generic material types */
.typ {
    margin-bottom: 25px;
}

.typ ul {
    margin: 0;
    padding: 0;
}

.typ ul.fl {
    width: 290px;
    float: left;
}

.typ ul.fr {
    width: 256px;
    margin-left: 300px;
}

.typ ul li {
    background: url(/images/design/bulett2.png) no-repeat left 0.45em;
    padding-left: 12px;
    margin-left: 0.5em;
    line-height: 120%;
}

.typ ul li a {
    color: #004b9d;
    text-decoration: none;
}

.typ ul li a:hover {
    text-decoration: underline;
}

.boxHP{
    margin-top: 20px;
    width: 613px;
}

.exams thead {
    border-top: 1px solid #ccc;
}

.exams thead th {
    background-color: #ddd;
    border: 0;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
}

.exams tbody td {
    text-align: center;
}

ul.errors {
    background-color: #fca;
    padding: 1em 1em 1em 2em;
    color: red;
    list-style: square;
}

ul.errors li {
    background: none;
    padding: 0;
    line-height: 100%;
    margin: 0;
}

img.image-left {
    margin: 0 5px 10px 0;
}

.certificate .description {
    padding-bottom: 1em;
}

.certificate .pdf {
    background: url(/images/icons/pdf.gif) no-repeat;
    padding: 2px 2px 2px 30px;
    min-height: 25px;
}

.pages {
    text-align: center;
    padding-top: 1.5em;
}