@import url(font-awesome.min.css);

/* Type */

html {
    font-size: 16pt;
}

@media screen and (max-width: 1680px) {
    html {
        font-size: 12pt;
    }
}

@media screen and (max-width: 1280px) {
    html {
        font-size: 11pt;
    }
}

@media screen and (max-width: 360px) {
    html {
        font-size: 10pt;
    }
}

a:hover {
    border-bottom-color: transparent;
}

.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

input,
select,
textarea {
    color: #212931;
}

a {
    color: #212931;
    border-bottom-color: rgba(33, 41, 49, 0.5);
}

a:hover {
    border-bottom-color: transparent;
}

strong,
b {
    color: #212931;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #212931;
}

blockquote {
    border-left-color: #eeeeee;
}

code {
    background: rgba(220, 220, 220, 0.25);
    border-color: #eeeeee;
}

hr {
    border-bottom-color: #eeeeee;
}


/* Icon */

.icon {
    text-decoration: none;
    border-bottom: none;
    position: relative;
}

.icon:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-transform: none !important;
}

.icon>.label {
    display: none;
}


/* Wrapper */

#wrapper {
    -moz-transition: opacity 0.5s ease;
    -webkit-transition: opacity 0.5s ease;
    -ms-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

#wrapper>.bg.fixed {
    /* position: fixed; */
    width: 100vw;
    /* height: 100vh; */
}

body.is-loading #wrapper.fade-in:before {
    opacity: 1;
}

@media screen and (orientation: portrait) {
    #wrapper>.bg {
        background-size: auto, auto, auto 175%;
    }
}


/* Nav */

#nav {
    color: #ffffff;
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-transition: -moz-transform 1s ease, opacity 1s ease;
    -webkit-transition: -webkit-transform 1s ease, opacity 1s ease;
    -ms-transition: -ms-transform 1s ease, opacity 1s ease;
    transition: transform 1s ease, opacity 1s ease;
    background: rgba(255, 255, 255, 0.175);
    height: 4rem;
    line-height: 4rem;
    margin: -4rem auto 0 auto;
    overflow: hidden;
    padding: 0 2rem 0 0;
    position: relative;
    width: calc(100% - 4rem);
    max-width: 72rem;
    z-index: 2;
}

#nav ul.divided li {
    border-top-color: #ffffff;
}

#nav ul.icons li a.icon:hover:before {
    color: #18bfef;
}

#nav ul.icons.alt li .icon:before {
    box-shadow: inset 0 0 0 2px #ffffff;
}

#nav ul.icons.alt li a.icon:hover:before {
    box-shadow: inset 0 0 0 2px #18bfef;
}

#nav input,
#nav select,
#nav textarea {
    color: #ffffff;
}

#nav a {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

#nav a:hover {
    border-bottom-color: transparent;
    color: #18bfef !important;
}

#nav strong,
#nav b {
    color: #ffffff;
}

#nav h1,
#nav h2,
#nav h3,
#nav h4,
#nav h5,
#nav h6 {
    color: #ffffff;
}

#nav blockquote {
    border-left-color: #ffffff;
}

#nav code {
    background: rgba(255, 255, 255, 0.075);
    border-color: #ffffff;
}

#nav hr {
    border-bottom-color: #ffffff;
}

#nav ul.links {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-flex-grow: 1;
    -webkit-flex-grow: 1;
    -ms-flex-grow: 1;
    flex-grow: 1;
    -moz-flex-shrink: 1;
    -webkit-flex-shrink: 1;
    -ms-flex-shrink: 1;
    flex-shrink: 1;
    font-weight: 400;
    letter-spacing: 0.075em;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

#nav ul.links li {
    display: block;
    padding-left: 0;
}

#nav ul.links li a {
    -moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    -webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    -ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    display: block;
    font-size: 1.2rem;
    outline: none;
    padding: 0 2rem;
}

#nav ul.links li a:hover {
    color: inherit !important;
    background-color: rgba(255, 255, 255, 0.1);
}

#nav ul.links li.active {
    background-color: #ffffff;
}

#nav ul.links li.active a {
    color: #1e252d;
}

#nav ul.links li.active a:hover {
    color: #18bfef !important;
}

#nav ul.icons {
    -moz-flex-grow: 0;
    -webkit-flex-grow: 0;
    -ms-flex-grow: 0;
    flex-grow: 0;
    -moz-flex-shrink: 0;
    -webkit-flex-shrink: 0;
    -ms-flex-shrink: 0;
    flex-shrink: 0;
    margin-bottom: 0;
}

@media screen and (max-width: 980px) {
    #nav {
        display: none;
    }
}


/* Main */


/* Nav Panel */

#navPanelToggle {
    text-decoration: none;
    -moz-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    -webkit-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    -ms-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: none;
    /* position: fixed; */
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    border: 0;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.075em;
    padding: 0.375rem 1.25rem;
    z-index: 10001;
}

#navPanelToggle:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-transform: none !important;
}

#navPanelToggle:before {
    /* content: '\f0c9'; */
    margin-right: 0.5rem;
}

#navPanelToggle.alt {
    background-color: rgba(255, 255, 255, 0.875);
    box-shadow: 0 0.125rem 0.75rem 0 rgba(30, 37, 45, 0.25);
    color: #212931;
}

#navPanelToggle.alt:hover {
    background-color: #ffffff;
}

@media screen and (max-width: 980px) {
    #navPanelToggle {
        display: block;
    }
}

@media screen and (max-width: 736px) {
    #navPanelToggle {
        font-size: 1.8rem;
        padding: 0rem 0.25rem 0rem 2.5rem
    }
}

#navPanel {
    -moz-transform: translateX(20rem);
    -webkit-transform: translateX(20rem);
    -ms-transform: translateX(20rem);
    transform: translateX(20rem);
    -moz-transition: -moz-transform 0.3s ease, box-shadow 0.5s ease, visibility 0.2s;
    -webkit-transition: -webkit-transform 0.3s ease, box-shadow 0.5s ease, visibility 0.2s;
    -ms-transition: -ms-transform 0.3s ease, box-shadow 0.5s ease, visibility 0.2s;
    transition: transform 0.3s ease, box-shadow 0.5s ease, visibility 0.2s;
    display: none;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
    box-shadow: none;
    color: #212931;
    height: 100%;
    max-width: 80%;
    overflow-y: auto;
    padding: 3rem 2rem;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    /* width: 20rem; */
    width: 200px;
    z-index: 10002;
}

#navPanel .links {
    list-style: none;
    padding-left: 0;
}

#navPanel .links li a {
    border-bottom: 0;
    display: block;
    /* font-size: 1.5rem; */
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
    /* letter-spacing: 0.075em; */
    color: black
    /* padding: 0.75rem 0; */
}

#navPanel .links li:first-child {
    border-top: 0;
}


/* #navPanel .close {
    text-decoration: none;
    -moz-transition: color 0.2s ease-in-out;
    -webkit-transition: color 0.2s ease-in-out;
    -ms-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
    -webkit-tap-highlight-color: transparent;
    border: 0;
    color: #909498;
    cursor: pointer;
    display: block;
    height: 3.25rem;
    line-height: 3.25rem;
    padding-right: 1.25rem;
    position: absolute;
    right: 0;
    text-align: right;
    top: 0;
    vertical-align: middle;
    width: 7rem;
} */

#navPanel .close:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-transform: none !important;
}

#navPanel .close:before {
    /* content: '\f00d'; */
    /* font-size: 2.5rem; */
}

#navPanel .close:hover {
    color: #212931;
}

@media screen and (max-width: 736px) {
    #navPanel .close {
        height: 4rem;
        line-height: 4rem;
    }
}

@media screen and (max-width: 980px) {
    #navPanel {
        display: block;
    }
}

@media screen and (max-width: 736px) {
    #navPanel {
        padding: 2.5rem 1.75rem;
    }
}

@media screen and (max-width: 980px) {
    body.is-navPanel-visible #wrapper {
        opacity: 0.5;
    }
    body.is-navPanel-visible #navPanel {
        -moz-transform: translateX(0);
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
        box-shadow: 0 0 1.5rem 0 rgba(0, 0, 0, 0.2);
        visibility: visible;
    }
}