/* ----- common ----- */

* {
    color: #367f2e;
    font-size: 16px;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background-color: white;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

td {
    vertical-align: top;
}

a:link, a:visited, a:active, a:hover {
    text-decoration: underline;
}

ul {
    margin-left: 15px;
    list-style-position: inside;
}

ul li {
    padding: 4px;
}

img {
    border: 0;
}

.centered {
    text-align: center;
}

.outlined {
    border: 1px solid #367f2e;
}

/* ----- sponsors ----- */

#sponsors {
    position: fixed;
    left: 1105px;
}

#sponsors h1 {
    padding: 15px 0 10px 0;
}

#sponsors div {
    padding-bottom: 10px;
}

#sponsors div a {
    font-size: 0.9em;
}

#sponsors div p {
    font-size: 0.7em;
}

/* ----- page ----- */

#page {
    width: 1092px;
    padding-top: 245px;
    background: url('../title.jpg');
    background-repeat: no-repeat;
    border: 2px solid #367f2e;
}

#topLink {
    padding-left: 30px;
    font-size: 1.4em;
    font-weight: 900;
    cursor: pointer;
}

#title {
    position: relative;
    top: 15px;
    left: 10px;
    font-size: 2em;
    font-weight: 900;
}

#section {
    padding: 40px 0 10px 15px;
}

#author {
    padding: 3px;
    text-align: center;
    font-size: 0.9em;
    color: white;
    background-color: #367f2e;
}

#author a {
    font-size: 0.9em;
    color: white;
}

/* ----- menu ----- */

#menu {
    padding-top: 20px;
}

#menu div.firstLevel {
    height: 45px;
    width: 252px;
    background: url('../item.jpg');
    cursor: pointer;
}

#menu div.firstLevel span {
    position: relative;
    top: 7px;
    left: 30px;
    font-size: 1.3em;
    font-weight: 900;
}

#menu div.selected {
    background: url('../item_selected.jpg');
}

#menu div.selected span {
    color: white;
}

#menu div.submenu {
    position: relative;
    left: 225px;
    top: -20px;
    width: 136px;
    padding-top: 0.5em;
    padding-bottom: 1.2em;
    padding-left: 0.5em;
    color: white;
    background: url('../sub_menu.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    display: none;
    z-index: 10;
    cursor: auto;
}

#menu div.submenu div {
    display: inline-block;
    width: 55px;
    padding-top: 0.12em;
    text-align: center;
}

#menu div.submenu div a {
    display: block;
    font-size: 1.15em;
    font-weight: 900;
    color: white;
    position: static;
    left: auto;
    top: auto;
    text-decoration: none;
}

#menu div.submenu div a:hover {
    color: #9cdf9f;
}

/* ----- image table ----- */

table.img-table {
    width: 800px;
}

table.img-table tr td {
    text-align: center;
}

/* ----- download ----- */

div.download {
    padding: 5px;
    text-align: center;
}

div.download a {
    font-weight: bold;
}

/* ----- result table ----- */

table.result-table {
    width: 800px;
}

table.result-table td.caption {
    text-align: left;
    border: 0;
    padding-top: 15px;
}

table.result-table td.note {
    text-align: left;
    border: 0;
    font-size: 0.8em;
}

table.result-table td.first {
    padding-top: 0;
}

table.result-table td {
    text-align: center;
    border: 1px solid;
}

table.result-table th {
    border: 1px solid;
}

/* ----- result table ----- */

table.plan-table {
    margin: auto;
    margin-top: 15px;
    margin-bottom: 10px;
}

table.plan-table td, table.plan-table th {
    border: 1px solid;
    padding: 2px;
    text-align: left;
}

/* ----- foto ----- */

div#foto {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background: url('../background-foto.png');
    overflow: auto;
}

div#foto table.foto-container {
    width: 100%;
    height: 100%;
}

div#foto td.foto-container-cell {
    width: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: center;
}

div#foto td.foto-container-cell table {
    display: inline-block;
}

div#foto td.foto-container-cell table img {
    display: block;
    cursor: pointer;
}

div#foto td.foto-container-cell .scroll {
    vertical-align: middle;
}

div#foto #foto-counter {
    font-size: 1.3em;
    color: white;
    padding: 3px;
    background-color: #367f2e;
}

div#foto #foto-container {
    padding: 10px;
    background-color: white;
}
