body {
    color: #443b38;
    font: 400 100% Roboto, Arial, Helvetica, sans-serif;
    line-height: 1.5em;

    margin-top: 0;
    background-color: white;
}

#page {
    margin: 0 auto;
    min-width: 60em;
    max-width: 80em;
}

header {
    display: flex;
    flex: 1 100%;
    padding-left: 30px;
    padding-right: 25px;
    margin-bottom: 0.2em;
    background-image: url("/images/header_background.png");
    background-repeat: no-repeat;
    height: 96px;
}

header img {
    width: 132px;
}

nav ul {
    display: flex;
    justify-content: flex-end;
    flex-direction: row;
    padding-top: 8px;
}

nav ul a {
    color: #5a3c3c;
    font-weight: 500;
    letter-spacing: 6px;
}

main {
    flex: 1 100%;
}

aside ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    justify-content: flex-start;
    margin: 0 0 1em 0;
    padding: 0;
}

aside ul li {
    margin-right: 2em;
}

#upload-setcard {
    margin: 0 0 1em 0;
    padding: 0;
}

footer {
    display: flex;
    flex-flow: column;
    align-items: center;
    font-size: 0.8em;
    border-top: 1px solid #443b38;
}

footer {
    flex: 1 100%;
}

a:focus, a:hover {
    color: #443b38;
}

a {
    color: #443b38;
}

a img {
    border: none;
}

a[rel=imageGallery] img {
    margin: 3px;
}

h1.heading {
    font-size: 4em;
    letter-spacing: 4px;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-weight: 300;
    color: #aa825e;
}

h1 {
    line-height: 1;
    margin-bottom: 0.5em;
}

h2 {
    margin-bottom: 0.75em;
}

h3 {
    line-height: 1;
    margin-bottom: 1em;
}

h4 {
    line-height: 1.25;
    margin-bottom: 1.25em;
}

h5 {
    font-weight: bold;
    margin-bottom: 1.5em;
}

h6 {
    font-weight: bold;
}

caption, th, td {
    text-align: left;
    font-weight: inherit;
}

table, td, th {
    vertical-align: middle;
}

table {
    border-collapse: separate;
    border-spacing: 0 0.6em
}

table {
    margin-bottom: 1.4em;
}

th, th a {
    color: #aa825e;
}

th, td, caption {
    padding: 4px 10px 4px 5px;
}

tfoot {
    font-style: italic;
}

#mainmenu {
    flex: 1 0 auto;
    text-transform: uppercase;
}

#mainmenu ul {
    list-style: none;
    position: relative;
}

#mainmenu > ul > li {
    display: inline;
    float: left;
    overflow: visible;
    margin-left: 20px;
}

#mainmenu ul li:hover > ul {
    display: block;
}

#mainmenu ul li span {
    text-decoration: none;
    color: #5a3c3c;
    font-weight: 500;
    letter-spacing: 6px;
}

#mainmenu ul li.active span {
    font-weight: bold;
}

#mainmenu ul li a {
    text-decoration: none;
}

#mainmenu ul li.active > a {
    font-weight: bold;
}

#mainmenu ul li ul {
    display: none;
    position: absolute;
    padding-left: 0;
    padding-top: 5px;
}

#mainmenu > ul > li > ul > li {
    display: inline;
    margin-right: 20px;
}

#mainmenu > ul > li > ul > li > a {
    color: #aa825e;
}

#mainmenu ul li ul li.active a {
    text-decoration: none;
    font-weight: bold;
}

.hide {
    display: none;
}

ul.media {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul.media li {
    float: left;
    padding-right: 5px;
    position: relative;
}

ul.media li .deleteMedia {
    background-image: url(/images/icons/cross.png);
    width: 16px;
    height: 16px;
    position: absolute;
    top: 5px;
    right: 10px;
    z-index: 200;
    display: none;
}

.small {
    font-size: .8em;
    margin-bottom: 1.875em;
    line-height: 1.875em;
}

.description {
    clear: left;
    float: left;
    width: 180px;
    margin-top: 2px;
    line-height: 1.3;
    font-weight: normal;
}

#yearSelection {
    display: flex;
    justify-content: flex-end;
    padding-right: 25px;
/*    margin-bottom: 2em;*/
}

#year-form label {
    margin-right: 10px;
}

#monthSelection {
    display: flex;
    justify-content: flex-end;
    padding-right: 25px;
    margin-bottom: 2em;
}

#month-form label {
    margin-right: 10px;
}

div.search-form {
    padding: 10px;
    /*margin: 10px 0;*/
    background: #eee;
}

div.flash-error, div.flash-notice, div.flash-success {
    padding: .8em;
    margin-bottom: 1em;
    border: 2px solid #ddd;
}

div.flash-error {
    background: #FBE3E4;
    color: #8a1f11;
    border-color: #FBC2C4;
}

div.flash-notice {
    background: #FFF6BF;
    color: #514721;
    border-color: #FFD324;
}

div.flash-success {
    background: #E6EFC2;
    color: #264409;
    border-color: #C6D880;
}

div.flash-error a {
    color: #8a1f11;
}

div.flash-notice a {
    color: #514721;
}

div.flash-success a {
    color: #264409;
}

.invisible {
    visibility: hidden
}

td.setcardFullname {
    font-weight: bold;
}

td.setcardPicture {
    background: none;
}

div.maintenance h1 {
    text-align: center;
    margin-top: 20px;
}

div.maintenance img {
    max-width: 100%;
    height: auto;
}

.document_button {
    margin-left: 6px;
}

.document_button_link {
    text-decoration: none;
}

.privacy_email {
    font-weight: bolder;
    text-align: center;
}

.privacy_email a {
    text-decoration: none;
}

.privacy_emphasize_yellow {
    background: yellow;
}

.privacy_address {
    font-weight: bolder;
    text-align: center;
}