:root {
    --primary-color: #8B0000;
    --primary-color-dark: #610000;
    --secondary-color: #E2C688;
    --secondary-color-lite: #eeddb8;
    
    --article-width: 600px;
    --header-height: 80px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10pt;
    margin: 0em;

    background-image: url("../../../img/parchment2.jpg");
    background-color: var(--secondary-color-lite);
    background-blend-mode: luminosity;
    
}

.menu-item-primary-color, .menu-item-secondary-color {
    text-decoration: none;
    border-radius: 10px;
}

.menu-item-primary-color {
    color: var(--primary-color);
}

.menu-item-primary-color.menu-item--has-background {
    background-color: var(--secondary-color);
}

.menu-item-primary-color.selected {
    background-color: var(--secondary-color-lite);
}

.menu-item-secondary-color {
    color: var(--secondary-color);
}

.menu-item-secondary-color.menu-item--has-background {
    background-color: var(--primary-color);
}

.menu-item-secondary-color.selected {
    background-color: var(--primary-color-dark);
}

@media (hover: hover) {
    .menu-item-primary-color:hover {
        color: var(--secondary-color);
        background-color: var(--primary-color);
        box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    }
    
    .menu-item-secondary-color:hover {
        color: var(--primary-color);
        background-color: var(--secondary-color);
        box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    }
}

.nav-bar {
    position: relative;
    display: flex;
    flex-direction: column;
    font-weight: bold;
    height: var(--header-height);
    overflow-x: hidden;
    width: 100%;

    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

#hh-banner {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    height: var(--header-height);
}

.nav-bar__strip {
    height: 40px;
    width: 100%;

    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.nav-bar__strip > ol, #nav-bar__hamburger, #nav-bar__ellipsis, #phrase {
    z-index: 1;
}

.nav-bar__strip > ol {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin: 0px;
    list-style-type: none;
    height: 100%;
    margin-left: 400px;
    overflow: hidden;
}

.nav-bar__strip li {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 40px;
}

.nav-bar__strip a {
    text-align: center;
    height: 30px;
    line-height: 30px;
    padding-left: .75em;
    padding-right: .75em;
    text-decoration: none;
}

#nav-bar__strip--top {
    background-color: var(--primary-color);
}

#nav-bar__strip--bottom {
    background-color: var(--secondary-color);
}

#nav-bar__hamburger {
    min-width: 20px;
}

#nav-bar__ellipsis {
    font-size: 130%;
}

#phrase {
    position: absolute;
    right: 0;
    height: 40px;
    line-height: 40px;
    font-style: italic;
    font-weight: normal;
    text-align: right;
    font-size: 12pt;
    
    color: black;
    text-shadow: 2px 2px 4px var(--primary-color);

    margin-right: 1em;
}

@media only screen and (max-width: 43em) {
    .nav-bar__strip > ol, #phrase {
        display: none;
    }
}

#long-menu {
    z-index: 1;

    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;

    background-color: var(--secondary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.long-menu--hidden #long-menu {
    display: none;
}

#long-menu ol.primary {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-items: stretch;
    margin-right: auto;
    margin-left: auto;
}

#long-menu ol.primary > li {

}

#long-menu li {
    list-style-type: none;
    display: flex;
    flex-direction: column;
}

#long-menu ol.secondary {
    margin-top: 1ch;
    margin-bottom: 1ch;
    display: flex;
    flex-direction: column;
}

#long-menu a {
    text-align: left;
    height: 30px;
    line-height: 30px;
    padding-left: .75em;
    padding-right: .75em;
    text-decoration: none;
    font-weight: bold;
    z-index: 1;
}

#long-menu a.primary {

}

.long-menu__primary-background {
    position: absolute;
    z-index: 0;
    margin: 0 -9999rem;
    padding: 0rem 9999rem;
    height: 40px;
    background-color: var(--primary-color);
}

.long-menu__primary-container {
    height: 40px;
    display: flex;
    align-items: center;
}

#footer {
    width: 100%;
    color: var(--secondary-color);
    background-color: var(--primary-color-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

#footer ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-items: center;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#footer li {
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

#footer li a {
    color: var(--secondary-color);
    text-decoration: none;
    padding: 1ch;
}

#footer li a:hover {
    color: var(--secondary-color-lite);
}

#footer #copyright {
    text-align: center;
    padding: 1ch;
}

/*#necessarydiv {
	width:auto;
	height:auto;
	margin:0 auto;
}

#bodycontent_wrapper {
	width:100%;
	height:auto;
	box-shadow:0 0 10px black;
	margin:0 auto;
}

#bodycontent {
    height:auto;
    width:100%;
    position:relative;
}*/

#text {
    text-align:justify;
    font-size:12pt;
    min-height:660px;
    padding: 15px 50px;
}

.article {
    background: rgba(255, 255, 255, .5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

@media only screen and (max-width: 500px) {
    #text {
        padding: 15px 15px;
    }
}

.liblist {
    width: 100%;
}

.liblist__narrow-row {
    display: none;
}

.liblist__points {
    padding-bottom: 1ch;
}

@media only screen and (max-width: 700px) {
    .liblist__wide-row {
        display: none;
    }

    .liblist__narrow-row {
        display: table-row;
    }
}

