h1, h2, h3, h4, h5 {
    font-weight: bold;
    color: #293E69;
    margin: 0px;
}
h1, h2 {
    font-size: 15px;
    margin-bottom: 10px;
}
h3 {
    font-size: 12px;
}
h4 {
    font-size: 12px;
    margin: 10px 0;
}

hr {
    margin: 5px 0px;
    height: 1px;
    font-size: 1px;
    line-height: 1px;
    color: transparent;
    clear: both;
    border: 0px;
    border-bottom: solid 1px black;
}

ul {
    margin: 0px;
    list-style-type: square;
    list-style-image: url(../images/square.gif);
}

ul.none {
    list-style-type: none;
    list-style-image: none;
    padding-left: 2ex;
}
ul.none li {
    margin: 0;
}

ul li.current {
    color: #BC213E;
}

form {margin:0px;}

a, a:visited,
a.blue, a.blue:visited,
li a.blue, li a.blue:visited {
    text-decoration: none;
    color: #293E69;
}
a:hover, a.blue:hover, li a.blue:hover {
    text-decoration: underline;
}

a img {
    border: 0px;
}

dt {
    color: #293E69;
    font-weight: bold;
}

dd {
    margin: 0px;
    margin-left: 20px;
    margin-bottom: 10px;
}

li a,
li a:visited,
dd a,
dd a:visited {
    color: black;
}

.warning {
    color: red;
}

/* STICK TITLE */

div.stick,
div.stick_small {
    margin: 0;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0;
}
div.stick .stick_top_left,
div.stick_small .stick_top_left {
    margin: 0;
    padding: 0;
    height: 3px;
    font-size: 2px;
    line-height: 2px;
    background: url(../images/stick_top_left_bg.gif) no-repeat left top;
}
div.stick .stick_top_right,
div.stick_small .stick_top_right {
    margin: 0;
    padding: 0;
    height: 3px;
    font-size: 2px;
    line-height: 2px;
    background: url(../images/stick_top_right_bg.gif) no-repeat right top;
}
div.stick .stick_bottom_left,
div.stick_small .stick_bottom_left {
    margin: 0;
    padding: 0;
    height: 3px;
    font-size: 2px;
    line-height: 2px;
    background: url(../images/stick_bottom_left_bg.gif) no-repeat left bottom;
}
div.stick .stick_bottom_right,
div.stick_small .stick_bottom_right {
    margin: 0;
    padding: 0;
    height: 3px;
    font-size: 2px;
    line-height: 2px;
    background: url(../images/stick_bottom_right_bg.gif) no-repeat right bottom;
}
div.stick h3,
div.stick_small h3 {
    background: black;
    margin: 0;
    padding: 0 4px;
    font-size: 12px;
/*     line-height: 12px; */
    font-weight: bold;
    color: white;
}
div.stick_small h3 {
    font-size: 8px;
}

/* MENU */

div.menu {
    color: black;
    padding-top: 5px;
}
div.menu .nadpis {
    padding: 5px 0 3px 10px;
}
div.menu ul {
    margin-left: 10px;
    padding: 0px;
    padding-left: 15px;
    font-weight: bold;
    font-size: 10px;
    list-style-type:square;
    list-style-image: url(../images/square.gif);
    width: 100px;
}
div.menu ul.left,
div.menu ul.right {
    float:left;
}

/* WITNESS */

div.index_witness p,
div.witness_index p {
    color: #0a2a69;
    margin: 0px;
/*     text-align: justify; */
}

div.index_witness p.motto,
div.witness_index p.motto {
    color: #0a2a69;
    font-weight: bold;
    margin-bottom: 2px;
}

div.witness_overview {
}
div.witness_overview p {
    margin-top: 0px;
    margin-bottom: 2px;
}
div.witness_overview img {
    margin-bottom: 3px;
}
div.witness_overview h3 img {
    margin: 0px;
}

div.alphabet {
    margin-bottom: 10px;
}

div.alphabet_item {
    margin-bottom: 5px;
}
div.alphabet a,
div.alphabet_item span {
    font-size: 122%;
    font-weight: bold;
    color: #0a2a69;
    text-decoration: none;
}
div.alphabet_item span.counter,
span.counter {
    font-size: smaller;
    font-weight: normal;
    color: #BC213E;
}

a.arrows {
    text-decoration: none;
    padding-left: 1ex;
}
a.arrows img {
    border: 0px;
}

div.thumbnail {
    float: left;
    margin-right: 10px;
    margin-bottom: 2px;
}
div.thumbnail div.thumbnail-researcher {
    font-size: 8px;
    margin-bottom: 8px;
}

/* ENTER RESEARCH ROOM */
form#enter {
    font-size: 10px;
}
form#enter input {
    font-size: 10px;
    width: 25ex;
    border: solid 1px #9E805A;
    display: block;
    margin: 2px 0px;
}
form#enter input.submit {
    width: auto;
}

form#witness {
    font-size: 10px;
}
form#witness input,
form#witness select {
    display: inline;
    font-size: 10px;
    width: 25ex;
    border: solid 1px #9E805A;
    margin: 2px 0px;
}
form#witness input.checkbox {
    border: none;
    width: auto;
    margin: 0;
}
form#witness input[type=hidden] {
    border: none;
}

form#witness input.submit {
    width: auto;
}

form#researcher_edit {
    font-size: 10px;
}
form#researcher_edit input,
form#researcher_edit select {
    font-size: 10px;
}
div#researcher_editWarning .warning,
form#researcher_edit .error,
form#researcher_edit .required {
    color: red;
}
form#researcher_edit textarea {
    font-size: 10px;
    width: 50ex;
}
form#researcher_edit input.file,
form#researcher_edit input.image {
    width: 40ex;
}

/* WITNESS SUBMENU */
ul#submenu {
    float: left;
    padding-left: 1ex;
    padding-top: 2px;
    padding-bottom: 2px;
    margin-top: 0px;
    margin-bottom: 10px;
    margin-right: 10px;
    width: 470px;
    font-size: 10px;
    font-weight: bold;
    border-top: solid 1px black;
    border-bottom: solid 1px black;
    list-style-type: none;
    list-style-image: none;
    background-color: #F3EBE0;
}
ul#submenu li {
    float: left;
    margin-right: 2ex;
}
ul#submenu li a {
    color: black;
}
ul#submenu li a.current,
ul#submenu li a:hover {
    color: #BC213E;
    text-decoration: none;
}

ul.bullets {
    list-style-position: inside;
    margin: 0;
    padding: 0;
}

dl.records dt {
    margin-top: 10px;
}
dl.records dd {
}
dl.records dd p {
    margin: 0px;
    margin-top: 2px;
}
dl.records strong {
    font-weight: normal;
    color: #444;
}
dl.records .indent {
    margin-left: 5ex;
    margin-right: 5ex;
}
dl.records dd a {
    color: #293E69;
    font-weight: bolder;
}

/* PHOTOGALLERY */
div.photogallery {
    /*position: relative;*/
    float: left;
    width: 235px;
    height: 280px; /* title has 45px */
    text-align: center;
    padding: 5px 0px;
    background: #EBE9E8;
    margin-right: 8px;
    margin-bottom: 8px;
    border: 1px solid #9E805A;
}
div.photogallery div.thumbnail {
    margin: 5px auto;
/*     width: 220px; */
    float: none;
}
div.photogallery span {
    display: block;
    padding: 0 5px;
    /*position: absolute;*/
    left: 5px;
    bottom: 5px;
    font-size: 8px;
    line-height: 12px;
    text-align: center;
}
div.preview img {
    border: 3px solid #EBE9E8
}

/* PAGER */
span.pager {
    font-size: 10px;
}

.emptylist,
div.register {
    margin: 7px 2em;
    padding: 3px 5px;
    background: #F3EBE0;
    border: 1px solid #9E805A;
}
span.pager a.marked {
    color: #BC213E;
    text-decoration: underline;
}

/* COOMENTS */
div.comment-head {
    margin: 7px 0 5px 0;
    padding: 3px 5px;
/*     background: #F3EBE0; */
    border: 1px solid #9E805A;
}
div.comment-head strong {
    font-weight: normal;
    color: #555;
}
div.comment-head img.thumbnail {
    float: left;
    vertical-align: top;
    margin-right: 10px;
}

div.comment-body {
    padding: 3px 5px;
    color: #0a2a69;
}
div.comment-add {
    margin: 7px 0;
    padding: 3px 5px;
    color: #BC213E;
    cursor: pointer;
}
form#comment input,
form#bulletin input,
form#comment textarea,
form#bulletin textarea {
    width: 485px;
    border: 1px solid #9E805A;
    margin-bottom: 5px;
}
form#bulletin input#send,
form#comment input#send {
    width: auto;
    border: 1px solid #9E805A;
}
form#comment .error,
form#bulletin .error,
form#comment .required,
form#bulletin .required {
    color: #BC213E;
}

/* PLAYER */
div.player {
    margin-top: 10px;
    margin-bottom: 10px;
}
div.player-researcher {
    margin: -8px 0 10px 0;
    font-size: 8px;
}

div#statistics {
    margin: 10px 5px;
}
div#statistics table {
    border: 1px solid #9E805A;
    width: 258px;
    font-size: 12px;
    border-collapse: collapse;
}
div#statistics table thead th {
    border-bottom: 1px solid #9E805A;
}
div#statistics table tbody td.label {
    padding: 1px 2px;
    background: #F3EBE0;
}
div#statistics table tbody td.value {
    text-align: right;
    color: #293E69;
    background: #F3EBE0;
    padding: 1px 2px;
}

div#news {
    margin: 10px 5px;
}
div.news-overview {
    border-bottom: 1px solid black;
}
div.news-overview h3 {
    margin-top: 7px;
}
p.news-date {
    font-size: smaller;
    font-style: italic;
    margin: 2px 0;
}
p.news-perex {
    border: 1px solid #9E805A;
    background: #F3EBE0;
    padding: 3px 5px;
}

div.registration-rules {
    border: 1px solid #9E805A;
    background: #F3EBE0;
    padding: 3px 5px;
    height: 10em;
    overflow: auto;
    margin: 10px 0;
}

div.project-institution {
    font-size: 10px;
    line-height: 12px;
    margin-bottom: 7px;
}
div.project-institution strong {
    font-weight: normal;
    color: #666;
}

div.bulletin {
    font-size: 10px;
    line-height: 12px;
    float: left;
    overflow: hidden;
}
div.bulletin img.arrows {
    margin-left: 10px;
}
div.bulletin-published {
    margin-top: 42px;
    margin-left: 10px;
    color: #BC213E;
}
div.bulletin-title {
    font-weight: bold;
    margin-left: 10px;
    height: 12px;
    overflow: hidden;
}
div.bulletin-message {
    margin: 0 5px 5px 10px;
    height: 96px;
    overflow: hidden;
}
div.bulletin-detail {
    margin: 10px 0;
    position: relative;
    width: 485px;
    background: #FFF7EF;
    border: 3px solid #9A9084;
    overflow: visible;
    z-index: 1;
}
div.bulletin-detail img.arrows {
    display: none;
}
div.bulletin-detail div.bulletin-published {
    margin-top: 5px;
}
div.bulletin-detail div.bulletin-title {
    height: auto;
    overflow: visible;
}
div.bulletin-detail div.bulletin-message {
    height: auto;
    overflow: visible;
}
img.bulletin-close {
    margin: 5px;
    float: right;
    cursor: pointer;
}

div#bulletin_1,
div#bulletin_4,
div#bulletin_6 {
    width: 171px;
    height: 189px;
    background: url(../images/bulletin_1.gif) left top no-repeat;
}
div#bulletin_2 {
    width: 182px;
    height: 193px;
    background: url(../images/bulletin_2.gif) left top no-repeat;
}
div#bulletin_3,
div#bulletin_5 {
    width: 135px;
    height: 186px;
    background: url(../images/bulletin_3.gif) left top no-repeat;
}
div#bulletin_4 {
    background: url(../images/bulletin_4.gif) left top no-repeat;
}
div#bulletin_5 {
    background: url(../images/bulletin_5.gif) left top no-repeat;
}
div#bulletin_6 {
    background: url(../images/bulletin_6.gif) left top no-repeat;
}

div.messages {
    color: #BC213E;
}
div.notice {
    font-size: smaller;
    color: #444;
    margin: 7px 0px;
}

div.rights {
    font-size: smaller;
    color: #666;
    margin: -5px 0 7px 0;
}
p.enter {
    margin: 0;
    padding: 0;
}

img.researcher-photo {
    margin-bottom: 10px;
    text-align: center;
}

div.institution-index {
/*     border-bottom: solid 1px black; */
    margin: 10px 0px;
    clear: both;
}
div.institution-index div.thumbnail,
div.institution-detail div.thumbnail {
    float: right;
    padding: 10px;
    background-color: white;
    border: solid 1px #9E805A;
}
div.institution-index div.thumbnail {
    float: left;
    width: 120px;
    text-align: center;
    margin-bottom: 10px;
}
div.institution-index div.thumbnail-researcher,
div.institution-detail div.thumbnail-researcher {
    margin: 3px 0 0 0;
}
