/* ================================================
   Reset & Basics (Skeleton V1.1 / Eric Meyer)
   ================================================ */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body      { line-height: 1; }
ol, ul    { list-style: none; }


/* ================================================
   Typography
   ================================================ */

body {
    background: url('../images/tile.jpg');
    font: 14px/21px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #444;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 {
    color: #666666;
    font-family: 'Helvetica Neue', 'HelveticaNeue', 'helvetica', 'Arial', sans-serif;
    font-weight: bold;
    margin-bottom: 10px;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
h1 { font-size: 46px; line-height: 50px; }
h2 { font-size: 35px; line-height: 40px; }
h3 { font-size: 28px; line-height: 34px; }
h4 { font-size: 21px; line-height: 23px; }
h5 { font-size: 17px; line-height: 24px; }
h6 { font-size: 14px; line-height: 21px; }

p           { margin: 0 0 20px 0; }
p img       { margin: 0; }
em          { font-style: italic; }
strong      { font-weight: bold; color: #333; }
small       { font-size: 80%; }


/* ================================================
   Links
   ================================================ */

a, a:visited        { color: #999999; outline: 0; }
address a           { text-decoration: none; }
a:hover, a:focus    { color: #000; text-decoration: underline; }
p a, p a:visited    { line-height: inherit; }


/* ================================================
   Lists
   ================================================ */

ul, ol  { margin-bottom: 20px; }
ul      { list-style: none outside; }
li      { line-height: 18px; margin-bottom: 12px; }


/* ================================================
   Layout — 960px+
   ================================================ */

.wrapper {
    position: relative;
    width: 960px;
    margin: 0 auto;
    padding-top: 50px;
}

nav {
    position: relative;
    float: left;
    display: inline;
    width: 100px;
    margin-top: 40px;
}
nav a {
    width: 35px;
    height: 35px;
    display: inline-block;
}
nav li {
    padding-left: 5px;
    margin-bottom: 5px;
}
nav li a span {
    width: 100%;
    height: 100%;
    display: inline-block;
}
nav li a span span           { visibility: hidden; }
nav li.current-menu-item     { padding-left: 0px; }
nav li.current-menu-item a   { width: 100px; height: 40px; }
nav li.current-menu-item a span span { visibility: visible; }
nav li.profile.current-menu-item a > span { padding-left: 39px; }

.content {
    float: left;
    display: inline;
    width: 820px;
    min-height: 350px;
    padding-bottom: 30px;
    margin-left: -60px;
    background-color: #fff;
}

.info {
    float: left;
    width: 470px;
    margin-top: 30px;
    margin-left: 90px;
}

.head img   { float: left; margin-right: 15px; width: 110px; }
.head .name { float: left; padding-top: 30px; font-size: 40px; }

.desc {
    min-height: 80px;
    margin: 20px 0;
    font-size: 13px;
    color: #999999;
    line-height: 150%;
}

.subnavContainer {
    font-size: 13px;
    color: #999999;
}
.subnavContainer div div {
    float: left;
    margin-right: 69px;
    text-align: center;
}
.subnavContainer div div a { text-decoration: none; color: #999999; }
.subnavContainer .invert   { display: inline-block; width: 48px; height: 48px; margin-bottom: 5px; }

.sidebar {
    float: right;
    width: 190px;
    min-height: 330px;
    margin-top: 20px;
    margin-right: 40px;
    text-align: right;
    font-size: 12px;
    color: #999999;
    line-height: 150%;
    background: url('../images/shadow-profile-sidebar.jpg') no-repeat 0px 0px;
}
.sidebar address { margin-top: 30px; }

.social        { margin-top: 5px; }
.social img    { margin-left: 5px; }

footer {
    clear: both;
    width: 820px;
    margin-left: 40px;
    padding-top: 10px;
    padding-bottom: 30px;
    background: url('../images/shadow-footer-960.png') no-repeat 0px 0px;
    font-size: 11px;
    color: #888888;
}

.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}

a {
    color: black;
}
/* ================================================
   Theme — navigation colors & icons
   ================================================ */

nav a, nav a:hover, nav a:focus, nav a:visited {
    color: #fff;
    line-height: 250%;
}
nav a {
    text-decoration: none;
    background-color: #1B9FB8;
}
nav a:hover                  { background-color: #006699; }
nav li                       { line-height: 0px; }
nav li a span:hover          { cursor: pointer; }

nav li.current-menu-item a {
    line-height: 290%;
    background: url('../images/nav-gradient.png') #006699;
}
nav li.profile a > span {
    background: url('../images/profile-icon.png') no-repeat 9px 8px transparent;
}
nav li.profile.current-menu-item a > span {
    background: url('../images/profile-active-icon.png') no-repeat 12px 10px transparent;
}


/* ================================================
   Theme — head info
   ================================================ */

.head {
    color: #666666;
    line-height: 90%;
}
.head .name {
    font-family: 'Helvetica Neue', 'HelveticaNeue', 'helvetica', 'Arial', sans-serif;
    font-weight: bold;
    letter-spacing: -1px;
}
.head .title {
    color: #999999;
    font-size: 16px;
    letter-spacing: -0.5px;
}

.profile .sidebar address { font-style: normal; }
.profile .sidebar h6      { color: #999999; }


/* ================================================
   Media Queries
   ================================================ */

@media only screen and (max-width: 959px) {
    .wrapper  { width: 760px; }
    nav       { margin-left: 10px; }
    .content  { width: 700px; }
    .info     { width: 350px; }
    footer    { width: 700px; margin-left: 50px; background: url('../images/shadow-footer-750.png') no-repeat 0px 0px; }
    .subnavContainer div div { margin-right: 39px; }
    .profile .sidebar address { margin-top: 30px; }
}

@media only screen and (max-width: 767px) {
    .wrapper     { width: 480px; }
    .content     { width: 420px; }
    .info        { width: 300px; line-height: 90%; }
    .head img    { margin-right: 10px; margin-bottom: 15px; width: 100px; height: 100px; }
    .head .name  { font-size: 30px; line-height: 20%; }
    .head .title { font-size: 14px; }
    footer       { width: 420px; background: url('../images/shadow-footer-400.png') no-repeat 0px 0px; }
    .subnavContainer div div { margin-right: 26px; }
    .hidden      { display: none; }
}

@media only screen and (max-width: 479px) {
    .wrapper     { width: 310px; }
    .content     { width: 250px; }
    .info        { width: 210px; margin-left: 20px; }
    .head        { margin-left: 50px; }
    .head img    { width: 110px; height: 110px; margin-bottom: 0px; }
    .head .title { line-height: 100%; }
    footer       { width: 250px; background: url('../images/shadow-footer-300.png') no-repeat 0px 0px; }
    .subnavContainer div div { margin-right: 15px; margin-left: 30px; margin-bottom: 15px; }
    .subnavContainer .invert { margin-bottom: 5px; }
    .hidden      { display: none; }
}


/* ================================================
   Dark mode
   ================================================ */

@media (prefers-color-scheme: dark) {
    body {
        background: #111;
        color: #b0b0b0;
    }

    h1, h2, h3, h4, h5, h6 { color: #999; }
    strong                  { color: #d0d0d0; }

    a, a:visited, a         { color: #5bc5d8; }
    a:hover, a:focus        { color: #fff; }

    .content                { background-color: #1a1a1a; }

    .head                   { color: #999; }
    .head .title            { color: #666; }

    .desc                            { color: #777; }
    .subnavContainer                 { color: #666; }
    .subnavContainer div div a       { color: #666; }

    .sidebar {
        color: #666;
        background: none;
        border-left: 1px solid #2a2a2a;
    }
    .profile .sidebar h6 { color: #666; }

    footer {
        color: #555;
        background: none;
        border-top: 1px solid #2a2a2a;
    }
}
