body {
    font-family: sans-serif;
    background-color: #222;
    color: #eee;
    max-width: 1000px;
    margin: auto;
    padding-top: 20px;
    font-size: 0.9em;
}
body > div {
    background-color: #111;
}

div.content {
    padding: 15px;
}

a {
    color: #eee;
}

.person > div > div {
    padding: 10px 10px 10px 3%;
    border-bottom: 1px solid #555;
}

.person > div {
    padding-bottom: 15px;
}

.person > div > h3 {
    margin-bottom: 5px;
}

.person > h1:not(:first-child) {
    padding-top: 50px;
}

.gallery {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right:  -10px;
    margin: 10px -10px -10px 0px;
    overflow: scroll;
}
.gallery:after {
  content: "";
  flex: auto;
}
.gallery > div > img {
    margin: 0px 10px 10px 0px;
}




.overlay {
    background-color: rgba(0,0,0,0.9);
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    opacity: 0.0;
    transition: opacity 1s;
    display: flex;
    pointer-events: none;
}

.overlay > div {
    width: 100%;
    height: 100%;
}
.overlay > div > img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 80%;
    max-height: 80%;
    min-width: 50px;
    min-height: 50px;
    transform: translate(-50%, -50%);
    background: url(loader.svg) no-repeat scroll 50% 50%;
    background-size: 50px 50px;
}


.gallery-button {
    position: absolute;
    padding: 10px;
    font-size: 20pt;
    color: #777;
    cursor: pointer;
}

.gallery-button:hover {
    color: white;
    background-color: #111;
}

.close {
    position: absolute;
    top: 0;
    right: 0;
}

.next {
    right: 0;
    top: 50%;
    transform: translate(0%, -50%);
}

.prev {
    top: 50%;
    left: 0;
    transform: translate(0%, -50%);
}

div.menu {
    background-color: #333;
    padding: 15px 0px 15px;
}

div.menu  > a {
    padding: 15px;
    text-decoration: none;
}
div.menu  > a.menu--active {
    background-color: #444;
}

div.menu  > a:hover {
    background-color: #555;
}

.header {
    padding: 0px;
}

.header > h1 {
    margin-bottom: 5px;
    padding: 20px 0 0 15px;
}

.header > h3 {
    margin-top: 0px;
    padding-left: 15px;
}

.header > img {
    width: 100%;
}

.cv {
    width: 100%;
    border-spacing: 0;
}

.cv > tr > td {
    border-bottom: 1px solid #555;
    padding: 10px;
}
