@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300italic,400,400italic,600&display=swap");
@import url("fontawesome-all.min.css");

/*
 Helios by HTML5 UP
 html5up.net | @ajlkn
 Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
 */

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;
}

body {
    -webkit-text-size-adjust: none;
}

/* Basic */

html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    background: #eaeff2;
    color: #5b5b5b;
    font-size: 15pt;
    line-height: 1.85em;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
}

body.is-preload *, body.is-preload *:before, body.is-preload *:after {
    -moz-animation: none !important;
    -webkit-animation: none !important;
    -ms-animation: none !important;
    animation: none !important;
    -moz-transition: none !important;
    -webkit-transition: none !important;
    -ms-transition: none !important;
    transition: none !important;
}


h1, h2, h3, h4, h5, h6 {
    font-weight: 100;
    color: #483949;
    line-height: 1.25em;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: inherit;
    text-decoration: none;
    border-bottom-color: transparent;
}

a strong {
    color: inherit;
    font-weight: 600;
}

h2 {
    font-size: 2.2em;
}

h3 {
    font-size: 1.25em;
}

h4 {
    font-size: 1em;
    margin: 0 0 0.25em 0;
}

strong, b {
    font-weight: 400;
    color: #483949;
}

em, i {
    font-style: italic;
}

a {
    font-weight: 400;
    color: #8EBAE5;
    border:0px !important;
    text-decoration: none;
    -moz-transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out;
    -webkit-transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out;
    -ms-transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out;
    transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out;
}

a:hover {
    color: #00549F;
    border-bottom-color: transparent;
    font-weight: 400;
}

p, ul, ol, dl, table {
    margin-bottom: 1em;
}

p {
    text-align: justify;
}

/* Container */

.container {
    margin: 0 auto;
    max-width: 100%;
    width: 1400px;
}

@media screen and (max-width: 1680px) {
    
    .container {
        width: 1200px;
    }
    
}

@media screen and (max-width: 1280px) {
    
    .container {
        width: 100%;
    }
    
}

@media screen and (max-width: 960px) {
    
    .container {
        width: 100%;
    }
    
}

@media screen and (max-width: 840px) {
    
    .container {
        width: 100%;
    }
    
}

@media screen and (max-width: 736px) {
    
    .container {
        width: 100%;
    }
    
}

/* Row */

.row {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    align-items: stretch;
}

.row > * {
    box-sizing: border-box;
}

.row > .col-1 {
    width: 8.33333%;
}

.row > .col-2 {
    width: 16.66667%;
}

.row > .col-3 {
    width: 25%;
}

.row > .col-4 {
    width: 33.33333%;
}

.row > .col-5 {
    width: 41.66667%;
}

.row > .col-6 {
    width: 50%;
}

.row > .col-7 {
    width: 58.33333%;
}

.row > .col-8 {
    width: 66.66667%;
}

.row > .col-9 {
    width: 75%;
}

.row > .col-10 {
    width: 83.33333%;
}

.row > .col-11 {
    width: 91.66667%;
}

.row > .col-12 {
    width: 100%;
}
.row {
    margin-top: -40px;
    margin-left: -40px;
}

.row > * {
    padding: 40px 0 0 40px;
}

@media screen and (max-width: 1680px) {
    
    .row {
        display: flex;
        flex-wrap: wrap;
        box-sizing: border-box;
        align-items: stretch;
    }
    
    .row > * {
        box-sizing: border-box;
    }
    
    .row {
        margin-top: -40px;
        margin-left: -40px;
    }
    
    .row > * {
        padding: 40px 0 0 40px;
    }
}

@media screen and (max-width: 1280px) {
    
    .row {
        display: flex;
        flex-wrap: wrap;
        box-sizing: border-box;
        align-items: stretch;
    }
    
    .row > * {
        box-sizing: border-box;
    }
    
    .row {
        margin-top: -36px;
        margin-left: -36px;
    }
    
    .row > * {
        padding: 36px 0 0 36px;
    }
}

@media screen and (max-width: 960px) {
    
    .row {
        display: flex;
        flex-wrap: wrap;
        box-sizing: border-box;
        align-items: stretch;
    }
    
    .row > * {
        box-sizing: border-box;
    }
    
    .row {
        margin-top: -32px;
        margin-left: -32px;
    }
    
    .row > * {
        padding: 32px 0 0 32px;
    }
}

@media screen and (max-width: 840px) {
    
    .row {
        display: flex;
        flex-wrap: wrap;
        box-sizing: border-box;
        align-items: stretch;
    }
    
    .row > * {
        box-sizing: border-box;
    }
    
    .row {
        margin-top: -32px;
        margin-left: -32px;
    }
    
    .row > * {
        padding: 32px 0 0 32px;
    }
}

@media screen and (max-width: 736px) {
    
    .row {
        display: flex;
        flex-wrap: wrap;
        box-sizing: border-box;
        align-items: stretch;
    }
    
    .row > * {
        box-sizing: border-box;
    }
    
    .row > .col-1-mobile {
        width: 8.33333%;
    }
    
    .row > .col-2-mobile {
        width: 16.66667%;
    }
    
    .row > .col-3-mobile {
        width: 25%;
    }
    
    .row > .col-4-mobile {
        width: 33.33333%;
    }
    
    .row > .col-5-mobile {
        width: 41.66667%;
    }
    
    .row > .col-6-mobile {
        width: 50%;
    }
    
    .row > .col-7-mobile {
        width: 58.33333%;
    }
    
    .row > .col-8-mobile {
        width: 66.66667%;
    }
    
    .row > .col-9-mobile {
        width: 75%;
    }
    
    .row > .col-10-mobile {
        width: 83.33333%;
    }
    
    .row > .col-11-mobile {
        width: 91.66667%;
    }
    
    .row > .col-12-mobile {
        width: 100%;
    }

    .row {
        margin-top: -20px;
        margin-left: -20px;
    }
    
    .row > * {
        padding: 20px 0 0 20px;
    }
}



/* Tabs */

.tab {
    font-size: 18px;
    background-color: none;
    order: 1;
    display: flex;
    flex-direction: column;
}

.tab button {
    font-size: 18px;
    color: #000;
    background-color: #eee;
    display: block;
    border: none;
    outline: none;
    cursor: pointer;
    margin-bottom: 1ex;
    padding: 1ex 2ex 1ex 2ex;
    line-height: 2em;
    transition: 0.3s;
    width: 17ex;
    text-align: center;
    transition: 0.3s;
}

.tab button:hover {
    color: #fff;
    background-color: #407FB7;
}

.tab button.active {
    color: #fff;
    background-color: #00549F;
}

.tabcontent {
    font-size: 18px;
    background-color: #fff;
    padding: 2ex 3ex;
    height: 296px;
    border: 1px solid #000;
    border-radius: 5px;
    overflow: auto;
    display: none;
}

.tabcontent h5 {
    font-size: 20px;
    font-weight: 500; 
}

.tabcontent a {
    text-decoration: none;
    border:0px !important;
}

.tabwrapper {
    flex-grow: 1;
    flex-basis: 5em;
    order: 2;
    display: grid;
}

@media screen and (max-width: 736px) {
    .tab {
        flex-direction: row;
        flex-grow: 1;
        justify-content: space-between;
    }
    
    .tab button {
        font-size: 14px;
        margin-bottom: 1ex;
        padding: 1ex 1ex 1ex 1ex;
        line-height: 1.5em;
        flex-basis: 30%;
        width: auto;
    }
    
    .tabwrapper {
        flex-basis: 100%
    }
    
}



/* Sections/Article */

section, article {
    margin-bottom: 3em;
}

section > :last-child, section:last-child, article > :last-child, article:last-child {
    margin-bottom: 0;
}

section.special > header, section.special > footer, article.special > header, article.special > footer {
    text-align: center;
}

.row > section, .row > article {
    margin-bottom: 0;
}

header {
    margin: 0 0 1em 0;
}

header > p {
    display: block;
    font-size: 1.5em;
    margin: 1em 0 2em 0;
    line-height: 1.5em;
    text-align: inherit;
}

footer {
    margin: 2.5em 0 0 0;
}




/* Fade */
@keyframes fadeIn {
    0% { opacity: 0; }
    100%   { opacity: 1; }
}

@-moz-keyframes fadeIn {
    0% { opacity: 0; }
    100%   { opacity: 1; }
}

@-webkit-keyframes fadeIn {
    0% { opacity: 0; }
    100%   { opacity: 1; }
}

@-ms-keyframes fadeIn {
    0% { opacity: 0; }
    100%   { opacity: 1; }
}


@keyframes fadeInUpWeak {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 40%, 0);
        transform: translate3d(0, 40%, 0);
    }
    
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@-moz-keyframes fadeInUpWeak {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 40%, 0);
        transform: translate3d(0, 40%, 0);
    }
    
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@-webkit-keyframes fadeInUpWeak {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 40%, 0);
        transform: translate3d(0, 40%, 0);
    }
    
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@-ms-keyframes fadeInUpWeak {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 40%, 0);
        transform: translate3d(0, 40%, 0);
    }
    
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

.fadeInUpWeak {
    -webkit-animation-name: fadeInUpWeak;
    animation-name: fadeInUpWeak;
}

/* Polaroid */
#swapImage {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.2s;
}

.polaroid {
    display: inline-block;
    position: relative;
    width: 80%;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 25px;
    border-radius: 5px;
}

.polaroid img {
    width:100%;
    border-radius: 5px 5px 0 0;
}

.polaroid:hover #swapImage {
    opacity: 1;
}

.polaroid-caption {
    text-align: center;
    padding: 10px 20px;
}


/* Scroll back to top */
#backbutton {
    position: fixed;
    display: block;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 84, 159, 0.6);
    color: #fff;
    border: 1px solid #fff;
    border-radius: 3px;
    font-size: 20px;
    width: 28px;
    height: 28px;
    line-height: 24px;
    text-align: center;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    padding: 0;
    margin: 0;
}

#backbutton::after {
    color: #fff;
}

#backbutton:hover,
#backbutton:active {
    cursor: pointer;
    background-color: rgba(0, 84, 159, 0.95);
    border: 1px solid #00549F;
}

#backbutton.show {
    opacity: 1;
    visibility: visible;
}



/* Text */
.alertText {
    position: relative;
    top: 10%;
    left: 70%;
    color: #f00 !important;
    background-color: rgba(255,255,255,0.3);
    font-size: 1em !important;
    font-weight: 900;
    width: 7em;
    height: 2em;
    line-height: 1.7em;
    text-align: center;
    border: solid 2px #f00;
    border-radius: 5px;
    transform: rotate(-15deg);;
    -o-transform: rotate(-15deg);; /* opera */
    -ms-transform: rotate(-15deg);; /* IE 10 */
    -moz-transform: rotate(-15deg);; /* Firefox */
    -webkit-transform: rotate(-15deg);; /*safari and chrome */
}

/* Image */
.figure {
    position: relative;
}
.figure i{
    position: absolute;
    bottom: -10px;
    right: 30px;
    color: #fff;
    font-size: 18px;
    z-index: 100;
}
.figure i:after {
    position: absolute;
    content: "";
    top: -10px;
    left: -11px;
    width: 43px;
    height: 43px;
    background-color: #00549F;
    z-index: -1;
    border-radius: 3px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.figureCaption {
    margin-top: -1.5em;
    font-size: 11pt;
    margin-bottom: 0.5ex;
    font-weight: 600;
}

.post-thumbnail {
    margin-bottom: 4ex;
}

.parallax {
    width: auto;
    padding: 0;
    min-height: 250px;
    background-attachment: fixed;
    background-size: cover;
    color: #fff;
    background-position: top center;
    background-repeat: no-repeat;
    border-radius: 10px 10px 0 0;
}

.parallax-bg {
    text-align: center;
    color: #fff;
    padding-top: 80px;
}

.parallax-bg h2,
.parallax-bg h3 {
    color: #fff;
    text-align: center;
}

.parallax-bg p {
    text-align: center;
    color: #fff;
    font-size: 24px;
}

.img_focus {
    transform: scale(1);
    transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out; /* opera */
    -ms-transition: all .2s ease-in-out; /* IE 10 */
    -moz-transition: all .2s ease-in-out; /* Firefox */
    -webkit-transition: all .2s ease-in-out; /*safari and chrome */
}

.img_focus:hover,
.img_focus:focus {
    transform: scale(1.1);
}

.img_focusShadow {
    transform: scale(1);
    transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out; /* opera */
    -ms-transition: all .2s ease-in-out; /* IE 10 */
    -moz-transition: all .2s ease-in-out; /* Firefox */
    -webkit-transition: all .2s ease-in-out; /*safari and chrome */
    filter: drop-shadow(3px 3px 3px #777);
    -o-filter: drop-shadow(3px 3px 3px #777); /* opera */
    -ms-filter: drop-shadow(3px 3px 3px #777); /* IE 10 */
    -moz-filter: drop-shadow(3px 3px 3px #777); /* Firefox */
    -webkit-filter: drop-shadow(3px 3px 3px #777); /*safari and chrome */
}

.img_focusShadow:hover,
.img_focusShadow:focus {
    transform: scale(1.03);
}

.img_opacity {
    opacity: 1;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.img_opacity:hover {
    opacity: 0.7;
}

.img_blur {
    -webkit-filter: blur(0px);
    filter: blur(0px);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.img_blur:hover,
.img_blur:focus {
    -webkit-filter: blur(2px);
    filter: blur(2px);
}



.image {
    
    position: relative;
    display: inline-block;
    border: 0;
    outline: 0;
}

.image img {
    display: block;
    width: 100%;
}

.image.fit {
    display: block;
    width: 100%;
}

.image.featured {
    display: block;
    width: 100%;
    margin: 0 0 1em 0;
}

.image.left {
    float: left;
    margin: 0 2em 2em 0;
}

.image.centered {
    display: block;
    margin: 0 0 2em 0;
}

.image.centered img {
    margin: 0 auto;
    width: auto;
}

/* List */

ul {
    list-style: disc;
    padding-left: 1em;
}

ul li {
    padding-left: 0.5em;
}

ol {
    list-style: decimal;
    padding-left: 1.25em;
}

ol li {
    padding-left: 0.25em;
}


/* Horizontal */

ul.horizontal {
    height: 1em;
    line-height: 1em;
    list-style: none;
    padding-left: 0;
    color: #fff;
}

ul.horizontal li {
    display: inline-block;
    border-left: solid 1px rgba(128, 128, 128, 0.2);
    margin-left: 1.25em;
}

ul.horizontal li a {
    padding-left: 1.25em;
    opacity: 1;
    text-decoration: none;
    color: #fff;
}

ul.horizontal li:first-child {
    border-left: 0;
    padding-left: 0;
    margin-left: 0;
    color: #fff;
}

ul.horizontal li a:hover {
    color: #00549F;
}

/* Button */

input[type="button"],
input[type="submit"],
input[type="reset"],
button,
.button {
    position: relative;
    display: inline-block;
    background: rgba(0, 84, 159, 0.6);
    color: #fff;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    padding: 0.65em 3em 0.65em 3em;
    border: 0;
    cursor: pointer;
    outline: 0;
    font-weight: 300;
    -moz-transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out;
    -webkit-transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out;
    -ms-transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out;
    transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out;
}

input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
button:hover,
.button:hover {
    color: #fff;
    background: rgba(0, 84, 159, 0.95);
}

input[type="button"].alt,
input[type="submit"].alt,
input[type="reset"].alt,
button.alt,
.button.alt {
    background: #2B252C;
}

input[type="button"].alt:hover,
input[type="submit"].alt:hover,
input[type="reset"].alt:hover,
button.alt:hover,
.button.alt:hover {
    background: #3B353C;
}

/* Icons */

.icon {
    text-decoration: none;
}

.icon:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
}

.icon:before {
    line-height: inherit;
    font-size: 1.25em;
}

.icon > .label {
    display: none;
}

.icon.solid:before {
    font-weight: 900;
}

.icon.brands:before {
    font-family: 'Font Awesome 5 Brands';
}

.icon.circled {
    position: relative;
    display: inline-block;
    background: #2b252c;
    color: #fff;
    border-radius: 100%;
    width: 3em;
    height: 3em;
    line-height: 3em;
    text-align: center;
    font-size: 1.25em;
}

header .icon.circled {
    margin: 0 0 2em 0;
}

/* Wrapper */

.wrapper {
    background: #fff;
    margin-left: 3.5em;
    margin-right: 3.5em;
    padding: 3em 2em 3em 2em;
    
}

.wrapper.styleAbout {
    background: #fff;
    margin-top: 3.5em;
    margin-bottom: 0em;
    padding-top: 2em;
    padding-bottom: 3em;
    border-radius: 10px;
}

.wrapper.styleProjects {
    background: #fff;
    margin-top: 2em;
    margin-bottom: 0em;
    padding: 2em 0em 1em 0em;
    border-radius: 10px;
}

.wrapper.styleTeaching {
    background: #fff;
    margin-top: 2em;
    margin-bottom: 0em;
    padding-top: 2em;
    padding-bottom: 3em;
    border-radius: 10px;
}

.wrapper.styleWebAppParallax {
    background: #fff;
    margin-top: 2em;
    margin-bottom: 0em;
    padding: 0em;
    border-radius: 10px 10px 0 0;
}

.wrapper.styleNews {
    background: #fff;
    margin-top: 2em;
    margin-bottom: 0em;
    padding-top: 2em;
    padding-bottom: 3em;
    border-radius: 10px;
}

.wrapper.styleWebapp {
    background: #fff;
    margin-top: 0em;
    margin-bottom: 0em;
    padding-top: 2em;
    padding-bottom: 3em;
    border-radius: 0 0 10px 10px;
}

.wrapper.styleFooter {
    background: #2b252c;
    margin: 3.5em 0 0 0;
    padding: 3em 0 0 0;
    border-radius: 10px 10px 0 0;
}



/* Header */

#header {
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),url("../../images/header.jpg");
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
    padding: 7.5em 0 2em 0;
    cursor: default;
}

#header:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

#header .inner {
    position: relative;
    z-index: 1;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
}


.social-icons {
    margin-top: 20px;
    opacity: 0;
    animation-name: fadeIn;
    animation-delay: 1s;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}
.social-icons a i{
    position: relative;
    color: #fff;
    font-size: 22px;
    margin: 0 7px;
    line-height: 40px;
    text-align: center;
    width: 40px;
    height: 40px;
}

.social-icons a i::before {
    position: relative;
    z-index: 1;
}

.social-icons a i::after {
    position: absolute;
    content: "";
    background-color: none;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 3px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    -o-transition: all 300ms;
    transition: all 300ms;
}

.social-icons a i:hover::after{
    background-color: rgba(0, 84, 159, 0.95);
    border: 1px solid transparent;
    z-index: 0;
}

#header header {
    display: inline-block;
}

#header header > p {
    font-size: 1.25em;
    margin: 0;
    opacity: 0;
    animation-name: fadeIn;
    animation-delay: 0.5s;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

#header h1 {
    color: #fff;
    font-size: 3em;
    line-height: 1em;
}

#header h1 a {
    color: inherit;
}

#header .button {
    display: inline-block;
    border-radius: 100%;
    width: 4.5em;
    height: 4.5em;
    line-height: 4.5em;
    text-align: center;
    font-size: 1.25em;
    padding: 0;
}

#header hr {
    top: 1.5em;
    margin-bottom: 3em;
    border-bottom-color: rgba(192, 192, 192, 0.35);
    box-shadow: inset 0 1px 0 0 rgba(192, 192, 192, 0.35);
}

#header hr:before, #header hr:after {
    background: rgba(192, 192, 192, 0.35);
}

#header footer {
    margin: 1em 0 0 0;
}

#header .logo {
    position: absolute;
    width: 100%;
    bottom: 0%;
    right: 2%;
    z-index: 100;
    text-align: right;
    opacity: 0;
    animation-name: fadeIn;
    animation-delay: 2s;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

body.homepage #header {
    height: 100vh;
    min-height: 40em;
}

body.homepage #header h1 {
    font-size: 4em;
    opacity: 0;
    animation-name: fadeIn;
    animation-delay: 0.1s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

body.homepage #header:after {
    content: '';
    background: #00549F;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    -moz-transition: opacity 2.5s ease-in-out;
    -webkit-transition: opacity 2.5s ease-in-out;
    -ms-transition: opacity 2.5s ease-in-out;
    transition: opacity 2.5s ease-in-out;
    -moz-transition-delay: 0.5s;
    -webkit-transition-delay: 0.5s;
    -ms-transition-delay: 0.5s;
    transition-delay: 0.5s;
}

body.homepage.is-preload #header:after {
    opacity: 1;
}

/* Nav */

#nav {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-bottom: solid 1px rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    width: 100%;
    padding: 0.5ex 2ex 1ex 2ex;
    text-align: center;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    animation-name: fadeIn;
    animation-delay: 1.5s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    font-size: 12pt;
}

#nav > ul {
    line-height: 0px;
    position: relative;
    display: inline-block;
    margin: 0;
}

#nav > ul:before, #nav > ul:after {
    content: '';
    display: block;
    width: 300%;
    position: absolute;
    top: 50%;
    margin-top: -2px;
    height: 5px;
    
}

#nav > ul:before {
    left: 100%;
    margin-left: 1px;
}

#nav > ul:after {
    right: 100%;
    margin-right: 1px;
}

#nav > ul > li {
    display: inline-block;
    border-radius: 3pt;
    margin: 0 1ex;
    padding: 1ex;
}

#nav > ul > li:hover {
    color: #fff;
    background: rgba(0, 84, 159, 0.9);
}


#nav > ul > li > a, #nav > ul > li > span {
    display: block;
    color: inherit;
    text-decoration: none;
    border: 0;
    outline: 0;
}

.dropotron {
    background: rgba(255, 255, 255, 0.975);
    padding: 1em 1.25em 1em 1.25em;
    line-height: 1em;
    height: auto;
    text-align: left;
    border-radius: 0.5em;
    box-shadow: 0 0.15em 0.25em 0 rgba(0, 0, 0, 0.25);
    min-width: 12em;
    margin-top: -1em;
    list-style: none;
}

.dropotron li {
    border-top: solid 1px rgba(128, 128, 128, 0.2);
    color: #5b5b5b;
    padding-left: 0;
}

.dropotron li:first-child {
    border-top: 0;
}

.dropotron li:hover {
    color: #00549F;
}

.dropotron li a, .dropotron li span {
    display: block;
    border: 0;
    padding: 0.5em 0 0.5em 0;
    -moz-transition: color 0.35s ease-in-out;
    -webkit-transition: color 0.35s ease-in-out;
    -ms-transition: color 0.35s ease-in-out;
    transition: color 0.35s ease-in-out;
}

.dropotron.level-0 {
    margin-top: 2em;
    font-size: 0.9em;
}

.dropotron.level-0:before {
    content: '';
    position: absolute;
    left: 50%;
    top: -0.7em;
    margin-left: -0.75em;
    border-bottom: solid 0.75em rgba(255, 255, 255, 0.975);
    border-left: solid 0.75em rgba(64, 64, 64, 0);
    border-right: solid 0.75em rgba(64, 64, 64, 0);
}

/* Footer */

#footer {
    position: relative;
    overflow: hidden;
    color: #fff;
}

#footer .icon.circled {
    background: #fff;
    color: #000;
}

#footer header {
    text-align: center;
    cursor: default;
}

#footer h2, #footer h3, #footer h4, #footer h5, #footer h6 {
    color: #fff;
    padding: 0em 0 1em 0;
    margin-top: 0;
    margin-bottom: 0;
}


/* Contact */
#footer .contact {
    text-align: center;
}

#footer .contact p {
    text-align: center;
    margin: 0 0 0 0;
}


#footer .contact strong {
    color: #fff;
    font-weight: bold;
    font-size: 16pt;
    display: block;
    text-transform: uppercase;
    margin-bottom: 10px;
}

#footer .contact textarea.form-control {
    height: 115px;
}

#footer .contact .btn {
    margin-top: 15px;
}

#footer .contact div > i{
    float: left;
    font-size: 45px;
    margin-right: 20px;
}

#footer .contact .contact-number {
    text-align: left;
    overflow: hidden;
    line-height: 30px;
    font-weight: 400;
    margin-bottom: 45px;
    padding-top: 10px;
}

#footer .contact a {
    color: #fff;
    text-decoration: none;
    border:0px !important;
}

#footer .contact a:hover,
#footer .contact a:focus {
    font-size: 100%;
    color: #00549F;
}



/* MAP */
.maps img{
    background: #fff;
    margin: 2em 0 2em 0;
    padding: 4px;
    border: 2px solid #fff;
}

#footer .location-map {
    background: #fff;
    margin: 2em 0 2em 0;
    padding: 4px;
    border: 2px solid #fff;
}
#footer .map-canvas {
    height: 350px;
    background-color: grey;
}


/* Copyright */
#footer .copyright {
    text-align: center;
    color: #999;
    font-size: 0.8em;
    cursor: default;
    margin: 2em 0 0em 0;
}

#footer .copyright a {
    color: #ccc;
    text-decoration: none;
    border:0px !important;
}

#footer .copyright a:hover {
    color: #00549F;
}

/* Carousel */
.carousel {
    position: relative;
    overflow: hidden;
}

.carousel header {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 0em 0 2em 0;
    cursor: default;
}

.carousel .forward, .carousel .backward {
    position: absolute;
    top: 50%;
    width: 6em;
    height: 12em;
    margin-top: -6em;
    cursor: pointer;
}

.carousel .forward:before, .carousel .backward:before {
    content: '';
    display: block;
    width: 6em;
    height: 6em;
    border-radius: 100%;
    background-color: rgba(0, 84, 159, 0.6);
    position: absolute;
    top: 50%;
    margin-top: -3em;
    -moz-transition: background-color 0.35s ease-in-out;
    -webkit-transition: background-color 0.35s ease-in-out;
    -o-transition: background-color 0.35s ease-in-out;
    -ms-transition: background-color 0.35s ease-in-out;
    transition: background-color 0.35s ease-in-out;
    -webkit-backface-visibility: hidden;
}

.carousel .forward:after, .carousel .backward:after {
    content: '';
    width: 3em;
    height: 3em;
    position: absolute;
    top: 50%;
    margin-top: -1.5em;
    background: url("images/arrow.svg") no-repeat center center;
}

.carousel .forward:hover:before, .carousel .backward:hover:before {
    background-color: rgba(0, 84, 159, 0.95);
}

.carousel .forward {
    right: 0;
}

.carousel .forward:before {
    right: -3em;
}

.carousel .forward:after {
    right: -0.25em;
}

.carousel .backward {
    left: 0;
}

.carousel .backward:before {
    left: -3em;
}

.carousel .backward:after {
    left: -0.25em;
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    transform: scaleX(-1);
}

.carousel .reel {
    white-space: nowrap;
    position: relative;
}

.carousel article {
    line-height: 1.5em;
    vertical-align: text-top;
    display: inline-block;
    border: solid 1px #eaeff2;
    background-image: linear-gradient(30deg, white 30%, #eaeff2 100%);
    text-align: center;
    white-space: normal;
    opacity: 1;
    -moz-transition: opacity 0.75s ease-in-out;
    -webkit-transition: opacity 0.75s ease-in-out;
    -ms-transition: opacity 0.75s ease-in-out;
    transition: opacity 0.75s ease-in-out;
    border-radius: 5px;
}

.carousel article.loading {
    opacity: 0;
}

.carousel article h3 {
    text-align: center;
    padding-top: 1em;
    padding-bottom: 1em;
    min-height: 4.5em;
}

.carousel article p {
    text-align: right;
    padding-right: 2em;
    padding-bottom: 1em;
    min-height: 1em;
}

.carousel article a {
    text-decoration: none;
    border:0px !important;
}

.carousel article a img {
    position: relative;
    top: 0;
    border-radius: 5px 0.5px 0 0;
}

.carousel article .imgage {
    width: auto;
}





/* Wide */

@media screen and (max-width: 1680px) {
    
    /* Basic */
    
    body, input, textarea, select {
        font-size: 14pt;
        line-height: 1.75em;
    }
    
    /* Carousel */
    
    .carousel {
        padding: 0;
    }
    
    .carousel .reel {
        padding: 0 1.5em 0 1.5em;
    }
    
    .carousel article {
        width: 14em;
        margin-right: 1.25em;
    }
    
}

/* Normal */

@media screen and (max-width: 1280px) {
    
    /* Basic */
    
    body, input, textarea, select {
        font-size: 12pt;
        line-height: 1.5em;
    }
    
    /* Header */
    
    #header {
        background-attachment: scroll;
    }
    
    #header .inner {
        padding-left: 2em;
        padding-right: 2em;
    }
    
    /* Banner */
    
    #banner {
        padding-left: 2em;
        padding-right: 2em;
    }
    
    /* Footer */
    
    #footer {
        padding-left: 2em;
        padding-right: 2em;
    }
    
}

/* Narrow */

/* Narrower */

@media screen and (max-width: 840px) {
    
    /* Basic */
    
    body, input, textarea, select {
        font-size: 13pt;
        line-height: 1.65em;
    }
    
    .tweet {
        text-align: center;
    }
    
    .timestamp {
        display: block;
        text-align: center;
    }
    
    /* Wrapper */
    
    .wrapper {
        margin-right: 1em;
        margin-left: 1em;
        padding-left: 1.5em;
        padding-right: 1.5em;
    }
    /* Footer */
    
    #footer {
        padding: 4em 2em 0em 2em;
    }
    
    /* Carousel */
    
    .carousel {
        padding: 1.25em 0 1.25em 0;
    }
    
    .carousel article {
        width: 18em;
        margin: 0 1em 0 0;
    }
    
}

/* Mobile */

#navPanel, #titleBar {
    display: none;
}

@media screen and (max-width: 736px) {
    
    /* Basic */
    
    html, body {
        overflow-x: hidden;
    }
    
    body, input, textarea, select {
        font-size: 12.5pt;
        line-height: 1.5em;
    }
    
    h2 {
        font-size: 1.75em;
    }
    
    h3 {
        font-size: 1.25em;
    }
    
    hr {
        top: 3em;
        margin-bottom: 6em;
    }
    
    /* Section/Article */
    
    section, article {
        margin-bottom: 2em;
    }
    
    section:last-child, article:last-child {
        margin-bottom: 0;
    }
    
    .row > section, .row > article {
        margin-bottom: 2em;
    }
    
    header > p {
        font-size: 1.25em;
    }
    
    /* Image */
    
    .image.featured {
        margin: 0 0 2em 0;
    }
    
    .image.left {
        margin: 0 1em 1em 0;
    }
    
    .image.centered {
        margin: 0 0 1em 0;
    }
    
    /* Actions */
    
    form ul.actions {
        margin-top: 0;
    }
    
    ul.actions li {
        display: block;
        margin: 0.75em 0 0 0;
    }
    
    ul.actions li:first-child {
        margin-top: 0;
    }
    
    /* Menu */
    
    ul.menu {
        height: auto;
        text-align: center;
    }
    
    ul.menu li {
        display: block;
        border: 0;
        padding: 0.75em 0 0 0;
        margin: 0;
    }
    
    ul.menu li:first-child {
        padding-top: 0;
    }
    
    /* Icons */
    
    ul.icons {
        font-size: 1em;
        padding: 0.35em 0.5em 0.35em 0.5em;
    }
    
    ul.icons li a {
        width: 2.25em;
    }
    
    /* Button */
    
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    button,
    .button {
        display: block;
        padding: 0;
        line-height: 3em;
        width: 100%;
    }
    
    /* Nav */
    
    #page-wrapper {
        -moz-backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        backface-visibility: hidden;
        -moz-transition: -moz-transform 0.5s ease;
        -webkit-transition: -webkit-transform 0.5s ease;
        -ms-transition: -ms-transform 0.5s ease;
        transition: transform 0.5s ease;
        padding-bottom: 1px;
    }
    
    #navButton {
        -moz-backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        backface-visibility: hidden;
        -moz-transition: -moz-transform 0.5s ease;
        -webkit-transition: -webkit-transform 0.5s ease;
        -ms-transition: -ms-transform 0.5s ease;
        transition: transform 0.5s ease;
        display: block;
        height: 44px;
        left: 0;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 10001;
    }
    
    #navButton .toggle {
        text-decoration: none;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        border: 0;
        outline: 0;
    }
    
    #navButton .toggle:before {
        -moz-osx-font-smoothing: grayscale;
        -webkit-font-smoothing: antialiased;
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        line-height: 1;
        text-transform: none !important;
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
    }
    
    #navButton .toggle:before {
        text-decoration: none;
        font-style: normal;
        content: '\f0c9';
        color: #fff;
        color: rgba(255, 255, 255, 0.75);
        text-align: center;
        display: block;
        font-size: 14px;
        width: 80px;
        height: 30px;
        line-height: 30px;
        position: absolute;
        left: 50%;
        margin-left: -40px;
        background: rgba(132, 128, 136, 0.75);
        border-top: 0;
        border-radius: 0 0 0.35em 0.35em;
    }
    
    #navPanel {
        -moz-backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        backface-visibility: hidden;
        -moz-transform: translateY(-50vh);
        -webkit-transform: translateY(-50vh);
        -ms-transform: translateY(-50vh);
        transform: translateY(-50vh);
        -moz-transition: -moz-transform 0.5s ease;
        -webkit-transition: -webkit-transform 0.5s ease;
        -ms-transition: -ms-transform 0.5s ease;
        transition: transform 0.5s ease;
        display: block;
        height: 50vh;
        left: 0;
        overflow-y: auto;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 10002;
        background: #1f1920;
        box-shadow: inset 0px -2px 5px 0px rgba(0, 0, 0, 0.25);
        font-size: 1em;
    }
    
    #navPanel:before {
        content: '';
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-size: 128px 128px;
    }
    
    #navPanel .link {
        position: relative;
        z-index: 1;
        display: block;
        text-decoration: none;
        padding: 0.5em;
        color: #ddd;
        border: 0;
        border-top: dotted 1px rgba(255, 255, 255, 0.05);
    }
    
    #navPanel .link:first-child {
        border-top: 0;
    }
    
    #navPanel .link.depth-0 {
        color: #fff;
        font-weight: 600;
    }
    
    #navPanel .indent-1 {
        display: inline-block;
        width: 1em;
    }
    
    #navPanel .indent-2 {
        display: inline-block;
        width: 2em;
    }
    
    #navPanel .indent-3 {
        display: inline-block;
        width: 3em;
    }
    
    #navPanel .indent-4 {
        display: inline-block;
        width: 4em;
    }
    
    #navPanel .indent-5 {
        display: inline-block;
        width: 5em;
    }
    
    #navPanel .depth-0 {
        color: #fff;
    }
    
    body.navPanel-visible #page-wrapper {
        -moz-transform: translateY(50vh);
        -webkit-transform: translateY(50vh);
        -ms-transform: translateY(50vh);
        transform: translateY(50vh);
    }
    
    body.navPanel-visible #navButton {
        -moz-transform: translateY(50vh);
        -webkit-transform: translateY(50vh);
        -ms-transform: translateY(50vh);
        transform: translateY(50vh);
    }
    
    body.navPanel-visible #navPanel {
        -moz-transform: translateY(0);
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
    
    /* Wrapper */
    
    .wrapper {
        margin-right: .5em;
        margin-left: .5em;
        padding-left: 1em;
        padding-right: 1em;
    }
    
    /* Header */
    
    #header {
        background-attachment: scroll;
        padding: 2.5em 0 0 0;
    }
    
    #header .inner {
        padding-top: 1.5em;
        padding-left: 1em;
        padding-right: 1em;
    }
    
    #header header > p {
        font-size: 1em;
    }
    
    #header h1 {
        font-size: 1.75em;
    }
    
    #header hr {
        top: 1em;
        margin-bottom: 2.5em;
    }
    
    body.homepage #header {
        min-height: 0;
        padding: 5.5em 0 5em 0;
        height: auto;
    }
    
    body.homepage #header:before {
        display: none;
    }
    
    body.homepage #header h1 {
        font-size: 2.5em;
    }
    
    /* Nav */
    
    #nav {
        display: none;
    }
    
    /* Banner */
    
    #banner {
        padding: 3em 2em 3em 2em;
    }
    
    /* Sidebar */
    
    #sidebar > hr:first-of-type {
        display: block;
    }
    
    /* Main */
    
    #main > header {
        text-align: center;
    }
    
    /* Footer */
    
    #footer {
        padding-left: 1em;
        padding-right: 1em;
    }
    
    /* Carousel */
    
    .carousel {
        padding: 0.5em 0 0.5em 0;
    }
    
    .carousel .reel {
        padding: 0 0.5em 0 0.5em;
    }
    
    .carousel article {
        width: 14em;
        padding-bottom: 2em;
        margin: 0 0.5em 0 0;
    }
    
    .carousel article .image {
        margin-bottom: 2em;
    }
    
}