@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i');

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
}

html, body {
    margin: 0;
    padding: 0;
    background: #1C1C1C;
    font-family: Open Sans, sans-serif;
    font-size: 10pt;
    color: whitesmoke;
}

a {
    color: whitesmoke;
    text-decoration: underline;
}

a:hover {
    color: #808080;
    text-decoration: none;
}

button {
    padding: 10px;
    background: gray;
    color: whitesmoke;
    border: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    -webkit-transition: all 200ms;
    -moz-transition: all 200ms;
    -ms-transition: all 200ms;
    -o-transition: all 200ms;
    transition: all 200ms;
    cursor: pointer;
}

button:hover {
    background: silver;
    color: #2F2F2F;
}

img {
    max-width: 100%;
}

.success {
    display: block;
    border: 1px green solid;
    background: lightgreen;
    color: green;
    padding: 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin: 5px;
}

.error {
    display: block;
    border: 1px darkred solid;
    background: indianred;
    color: darkred;
    padding: 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin: 5px;
}

.mobile {
    display: none;
}

section#wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

section#wrapper footer {
    width: 700px;
    max-width: 100%;
    height: 30px;
    line-height: 30px;
    vertical-align: middle;
    color: whitesmoke;
    margin: auto;
    padding: 0 10px;
}

section#wrapper main {
    width: 400px;
    max-width: 100%;
    min-height: calc(100% - 30px);
    margin: auto;
    position: relative;
    padding-bottom: 10px;
}

section#wrapper main header {
    width: 300px;
    max-width: 90%;
    margin: auto;
}

section#wrapper main header a#logo {
    display: inline-block;
    width: 100%;
    padding-top: 15.734265734265734265734265734266%;
    background: url(../images/logo.png) no-repeat;
    background-size: 100%;
    margin-top: 20px;
    filter: brightness(50%);
    -webkit-filter: brightness(50%);
    -webkit-transition: all 200ms;
    -moz-transition: all 200ms;
    -ms-transition: all 200ms;
    -o-transition: all 200ms;
    transition: all 200ms;
}

section#wrapper main header a#logo:hover {
    filter: brightness(100%);
    -webkit-filter: brightness(100%);
}

section#wrapper main header #subtitle {
    width: 50%;
    margin: auto;
    font-size: 1.05em;
    text-transform: uppercase;
    word-spacing: 3px;
    text-align: center;
    -webkit-transform: scale(2, 1);
    -moz-transform: scale(2, 1);
    -ms-transform: scale(2, 1);
    -o-transform: scale(2, 1);
    transform: scale(2, 1);
}

section#wrapper main header nav {
    font-size: 8pt;
    width: calc(100% - 10px);
    margin: 5px auto 40px;
}

section#wrapper main header nav a {
    display: inline-block;
    text-decoration: none;
    width: 13.5%;
    border-left: 1px #808080 solid;
    color: #808080;
    position: relative;
    vertical-align: top;
    -webkit-transition: border 200ms, color 200ms;
    -moz-transition: border 200ms, color 200ms;
    -ms-transition: border 200ms, color 200ms;
    -o-transition: border 200ms, color 200ms;
    transition: border 200ms, color 200ms;
}

section#wrapper main header nav a:nth-child(3) {
    margin-left: 11%;
}

section#wrapper main header nav a:nth-child(n+3) {
    left: 11%;
}

section#wrapper main header nav a span:nth-child(2) {
    opacity: 0;
    -webkit-transition: opacity 200ms;
    -moz-transition: opacity 200ms;
    -ms-transition: opacity 200ms;
    -o-transition: opacity 200ms;
    transition: opacity 200ms;
}

section#wrapper main header nav a:hover, section#wrapper main nav a.selected {
    border-color: whitesmoke;
    color: whitesmoke;
}

section#wrapper main header nav a.selected {
    padding-top: 20px;
}

section#wrapper main header nav a:hover span:nth-child(2), section#wrapper main nav a.selected span:nth-child(2) {
    opacity: 1;
}

section#wrapper main header nav a span {
    position: relative;
    top: 12pt;
    left: -4px;
}

section#wrapper main header nav#index a:nth-child(1) {
    padding-top: 272px;
}

section#wrapper main header nav#index a:nth-child(2) {
    padding-top: 260px;
}

section#wrapper main header nav#index a:nth-child(3) {
    padding-top: 236px;
}

section#wrapper main header nav#index a:nth-child(4) {
    padding-top: 275px;
}

section#wrapper main header nav#index a:nth-child(5) {
    padding-top: 255px;
}

section#wrapper main header nav#index a:nth-child(6) {
    padding-top: 260px;
}

section#wrapper main h1 {
    display: block;
    text-align: center;
    width: 100%;
    margin-top: 10px;
    font-size: 30pt;
}

section#wrapper main section#articles {
    width: 100%;
    margin-top: 30px;
    padding: 0 10px;
}

section#wrapper main section#articles article {
    margin: 10px 0;
}

section#wrapper main section#articles article::before {
    content: '';
    display: block;
    width: 50%;
    height: 1px;
    border-top: 1px silver solid;
}

section#wrapper main section#articles article:first-child::before {
    display: none;
}

section#wrapper main section#articles article h3, section#wrapper main section#articles article p {
    margin: 5px 0;
}

section#wrapper main section#articles article p {
    color: #BFBFBF;
}

section#wrapper main form label {
    width: 100px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
    font-weight: bold;
    padding: 5px 10px;
    word-wrap: break-word;
}

section#wrapper main form p {
    width: 290px;
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
    padding: 0 10px;
    margin: 5px 0;
}

section#wrapper main form div.g-recaptcha {
    width: 280px;
    max-width: 100%;
    overflow: hidden;
    padding: 0 10px;
    display: inline-block;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

section#wrapper main form p input {
    width: 100%;
    height: 30px;
    border: 1px gray solid;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-family: Arial, sans-serif;
    padding: 5px;
}

section#wrapper main form p textarea {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 100px;
    border: 1px gray solid;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-family: Arial, sans-serif;
    padding: 5px;
}

section#wrapper main form p button {
    float: right;
}

section#wrapper main section#gallery a img {
    height: 40px;
}

section#wrapper main table#gallerysingle {
    width: 700px;
    margin-top: 40px;
    left: -150px;
    position: relative;
}

section#wrapper main table#gallerysingle tr td.current {
    width: 400px;
}

section#wrapper main table#gallerysingle tr td {
    width: 150px;
    text-align: center;
}

section#wrapper main table#gallerysingle tr td img {
    width: calc(100% - 20px);
}

section#wrapper main table#gallerysingle tr td img {
    -webkit-box-shadow: 0 3px 5px rgba(255, 255, 255, 0.2);
    -moz-box-shadow: 0 3px 5px rgba(255, 255, 255, 0.2);
    box-shadow: 0 3px 5px rgba(255, 255, 255, 0.2);
}

section#wrapper main div#content {
    padding: 0 10px;
}

section#wrapper main div#content table#cvtable {
    width: 300px;
    max-width: 100%;
    margin: auto;
}

section#wrapper main div#content table#cvtable th {
    text-align: left;
}