body,
html {
    height: 100%
}

body {
    font-family: 'Fira Sans', sans-serif;
    font-weight: normal;
    color: #283545;
    font-size: 20px;
    line-height: 140%;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
}

#wrapper {
    position: relative;
    border-bottom: 20px solid #283545;
}

h1,
h2,
h3 {
    font-family: 'Amaranth', sans-serif;
}

p {
    margin: 16px 0;
    line-height: 140%
}

a {
    color: #428bca;
    text-decoration: none
}

a:focus,
a:hover {
    color: #2a6496;
    text-decoration: none
}

img {
    max-width: 100%;
    margin: auto
}

.icon img {
    padding: 15px;
    width: 100px;
}


/* Navbar */

.navbar-inverse .navbar-brand,
.navbar-inverse .navbar-nav>li>a,
.navbar-inverse .navbar-nav>li>a:focus,
.navbar-inverse .navbar-nav>li>a:hover {
    color: #fff;
    background: transparent;
    border: none;
}
.navbar .navbar-brand {
    color: #fff;
    font-size: 24px;
    line-height: 62px;
    font-weight: 300;
    height: auto;
    position: relative;
    padding: 0px;
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
    margin-left: 0px;
}
.navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
    margin-left: 0px;
}

.navbar .navbar-brand span {
    font-weight: 500;
}

.navbar .container {
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}

.affix.navbar .navbar-brand {
    font-size: 20px;
    line-height: 54px;
}

.navbar-toggle {
    margin-right: 0px;
}

.navbar-toggle,
.navbar-toggle:hover,
.navbar-toggle:focus {
    background-color: transparent;
    border: 2px solid transparent;
    border-radius: 0px;
    padding: 14px 12px;
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}

.navbar-inverse .navbar-toggle {
    border-color: transparent;
}

.navbar-inverse .navbar-toggle:focus,
.navbar-inverse .navbar-toggle:hover {
    background: transparent;
}

.navbar-toggle:hover,
.navbar-toggle:focus {
    border-color: #fff;
    background: transparent;
}

.affix.navbar .logo-location {
    line-height: 140%;
}

.affix.navbar .navbar-toggle {
    padding: 10px 8px;
}

#header.affix {
    background: #fff;
    color: #283545;
}

.navbar.affix .navbar-brand {
    color: #283545;
}

.navbar-inverse.affix .navbar-toggle .icon-bar {
    background-color: #283545;
}

.navbar.affix .navbar-toggle:hover,
.navbar.affix .navbar-toggle:focus {
    border-color: #283545;
    background: transparent;
}

.logo-main {
    display: block;
    position: relative;
}

.nav {
    margin-bottom: 0;
}

.nav > li.dropdown.open {
    position: static;
}

.nav > li.dropdown.open .dropdown-menu {
    display: table;
    width: 100%;
    text-align: center;
    left: 0;
    right: 0;
}

.dropdown-menu>li {
    display: table-cell;
}

.navbar.navbar-default {
    position: fixed;
    z-index: 1010;
    left: 0;
    right: 0;
    top: 0;
}

.navbar {
    border-radius: 0px;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
    background: transparent;
}

 .container>.navbar-header, .navbar-header {
    position: relative;
    margin: 0px;
    display: table;
    width: 100%;
}


.navbar .navbar-header:after {
    display: block;
    content: "";
    position: absolute;
    bottom: 0;
    border-bottom: 2px solid #fff;
    width: 100%;
    left: 0px;
    right: 0px;
    opacity: 1;
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}
.navbar.affix .navbar-header:after {
    opacity: 0;
}
.dropdown-menu {
    background-color: #283545;
    color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: none;
    border-radius: 0px;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.nav > li.dropdown .dropdown-menu {
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}


/* Fullnav */

.navbar-header {
    width: 100%;
}

#full-nav {
    z-index: 999999999;
}

#full-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 999999999;
}

#full-nav ul li {
    cursor: pointer;
    padding: 6px 20px;
    font-size: 42px;
    line-height: 100%;
}

#full-nav button {
    background-color: transparent;
    position: fixed;
    z-index: 2;
    top: 24px;
    left: 24px;
    border: none;
    width: 36px;
    height: 30px;
    outline: none;
    -webkit-transition: opacity 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out;
    z-index: 9999999999;
}

#full-nav button:after {
    opacity: 0;
    content: '×';
    color: white;
    position: absolute;
    top: 16px;
    left: -4px;
    font-family: Arial, sans-serif;
    font-size: 76px;
    line-height: 0;
    -webkit-transition: opacity 0.4s ease-out;
    transition: opacity 0.4s ease-out;
}

#full-nav button:active {
    -webkit-transform: translateY(2px);
    transform: translateY(2px);
}

#full-nav button:hover {
    opacity: 1;
}

#full-nav.open button {
    opacity: 1;
}

#full-nav.open button:before {
    opacity: 0;
    width: 0;
}

#full-nav.open button:after {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0) rotate(360deg);
    transform: translate3d(0, 0, 0) rotate(360deg);
    -webkit-transition: opacity 0.4s 1s ease-out, -webkit-transform 0.4s 1s ease-out;
    transition: opacity 0.4s 1s ease-out, -webkit-transform 0.4s 1s ease-out;
    transition: transform 0.4s 1s ease-out, opacity 0.4s 1s ease-out;
    transition: transform 0.4s 1s ease-out, opacity 0.4s 1s ease-out, -webkit-transform 0.4s 1s ease-out;
}

#full-nav nav {
    z-index: 1;
    z-index: 999999999;
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
}

#full-nav {
    pointer-events: none;
}

#full-nav.open {
    pointer-events: all;
}

#full-nav nav {
    background-color: rgba(40, 53, 69, 0);
}

#full-nav.open nav {
    top: 0;
    background-color: rgba(40, 53, 69, 0.9);
    -webkit-transition: background-color 0.54s ease-out;
    transition: background-color 0.54s ease-out;
}

#full-nav ul.menu {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
    color: white;
}

#full-nav ul.menu li {
    opacity: 0;
    text-align: center;
    -webkit-transform: translate3d(0, 36px, 0);
    transform: translate3d(0, 36px, 0);
}

#full-nav ul.menu li:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    left: auto;
    background-color: white;
    height: 100%;
    width: 0;
    overflow: hidden;
    -webkit-transition: width 0.14s ease-out;
    transition: width 0.14s ease-out;
}

#full-nav ul.menu li:after {
    opacity: 0;
    content: attr(data-text);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    color: #283545;
    overflow: hidden;
    -webkit-transform: translate(-24px, 6px);
    transform: translate(-24px, 6px);
    -webkit-transition: opacity 0.1s ease-out, -webkit-transform 0.1s ease-out;
    transition: opacity 0.1s ease-out, -webkit-transform 0.1s ease-out;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out, -webkit-transform 0.1s ease-out;
}

#full-nav ul.menu li:hover:before {
    left: 0;
    right: auto;
    width: 100%;
}

#full-nav ul.menu li:hover:after {
    opacity: 1;
    padding: 0 20px;
    -webkit-transform: translate(0px, 6px);
    transform: translate(0px, 6px);
    -webkit-transition: opacity 0.2s 0.14s ease-out, -webkit-transform 0.2s 0.14s ease-out;
    transition: opacity 0.2s 0.14s ease-out, -webkit-transform 0.2s 0.14s ease-out;
    transition: transform 0.2s 0.14s ease-out, opacity 0.2s 0.14s ease-out;
    transition: transform 0.2s 0.14s ease-out, opacity 0.2s 0.14s ease-out, -webkit-transform 0.2s 0.14s ease-out;
}

#full-nav.open ul.menu li {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition: opacity 0.2s ease-out, -webkit-transform 0.2s ease-out;
    transition: opacity 0.2s ease-out, -webkit-transform 0.2s ease-out;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out, -webkit-transform 0.2s ease-out;
}

#full-nav.open ul.menu li:nth-child(1) {
    -webkit-transition-delay: 0.75s;
    transition-delay: 0.75s;
}

#full-nav.open ul.menu li:nth-child(2) {
    -webkit-transition-delay: 0.85s;
    transition-delay: 0.85s;
}

#full-nav.open ul.menu li:nth-child(3) {
    -webkit-transition-delay: 0.95s;
    transition-delay: 0.95s;
}

#full-nav.open ul.menu li:nth-child(4) {
    -webkit-transition-delay: 1.05s;
    transition-delay: 1.05s;
}

#full-nav.open ul.menu li:nth-child(5) {
    -webkit-transition-delay: 1.15s;
    transition-delay: 1.15s;
}

#full-nav article {
    padding: 24px;
    max-width: 600px;
    margin: 60px auto;
    -webkit-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
}

#full-nav.open article {
    -webkit-transform: scale(0.92);
    transform: scale(0.92);
    -webkit-transition: -webkit-transform 0.2s 0.41s ease-out;
    transition: -webkit-transform 0.2s 0.41s ease-out;
    transition: transform 0.2s 0.41s ease-out;
    transition: transform 0.2s 0.41s ease-out, -webkit-transform 0.2s 0.41s ease-out;
}

@media (max-width: 768px) {
    .navbar .navbar-brand,
    .navbar .navbar-brand:hover {
        font-size: 27px;
    }
    #full-nav ul li {
        font-size: 24px;
    }
    #full-nav button:after {
        font-size: 52px;
    }
}

@media (min-width: 768px) {
    .navbar.open {
        background: #283545 !important;
    }
    .navbar,
    #navbar,
    .navbar-header {
        z-index: 1010;
    }
}


/* Hero */

#hero {
    background-image: url(images/background.jpg);
    background-size: cover;
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: left;
    color: #fff;
    font-size: 36px;
}

.header-container {
    height: 100%;
}

.header-container,
.table-container {
    display: table;
    width: 100%;
}

.header-inner,
.table-cell {
    display: table-cell;
    vertical-align: middle;
    height: 100%;
}

.table-cell.half {
    width: 50%;
}

.table-cell.half .container {
    width: 100%;
    max-width: 585px;
}

#footer {
    padding: 30px 0px;
    text-align: center;
    background: #ddd;
}

#hero h1,
#hero h1 div {
    position: relative;
}

#hero h1 {
    font-size: 76px;
    font-weight: 700;
    line-height: 100%;
    text-transform: uppercase;
}

#hero h1 strong {
    font-weight: 900;
}

#hero h2 {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 300;
    font-size: 42px;
}

section {
    display: block;
    position: relative;
    padding: 60px 0px 70px;
}

section.no-padding {
    padding: 0px;
}

.centered {
    text-align: center;
}

.border {
    border-top: 2px solid #283545;
}
strong {
    font-weight: 900;
}

h3 {
    font-size: 38px;
    margin: 0px;
    padding: 0px;
}
h3.section-header {
    margin-bottom: 40px;
}
h4 {
    font-weight: 900;
    font-size: 23px;
}
.bg-dark {
    background: #283545;
    color: #fff;
}

.bg-blue {
    background: #2e3192;
    color: #fff;
}

.blue {
    color: #2e3192;
}

.logos {
    display: table;
    margin: auto;
    width: 100%;
    text-align: center;
    position: relative;
}

.logos .logo {
    display: table-cell;
    padding: 6px 30px;
}

.logos .logo {
    width: auto;
}

.block-divider {
    display: block;
    width: 8px;
    height: 60px;
    background: #1a1a1a;
}

.block-divider.blue {
    background: #2e3192;
}

#proper-attribution .table-container .table-cell {
    padding-left: 15px;
    padding-right: 15px;
}

#proper-attribution .table-container .table-cell:first-child {
    padding-left: 0px;
    white-space: nowrap;
}

#proper-attribution .table-container .table-cell:last-child {
    padding-right: 0px;
    line-height: 130%;
}

@media(max-width: 768px) {
    body {
        font-size: 16px;
        line-height: 150%;
    }
    .navbar .navbar-brand,
    .navbar .navbar-brand:hover {
        font-size: 20px;
        line-height: 62px;
    }
    .affix.navbar .navbar-brand,
    .affix.navbar .navbar-brand:hover {
        font-size: 17px;
        line-height: 54px;
    }
    .navbar:not(.affix) .navbar-header:after {
        border-bottom: 1px solid #fff;
    }
    #hero h1 br {
        display: none;
    }
    #hero h1 {
        font-size: 46px;
    }
    #hero h2 {
        font-size: 32px;
    }
    h3 {
        font-size: 28px;
    }
    .table-container,
    .table-cell,
    .table-cell.half {
        display: block;
        width: 100%;
    }
    .logos {
        display: table;
        margin: auto;
        width: 100%;
        text-align: center;
        position: relative;
    }
    .logos .logo {
        width: 50%;
        display: block;
        float: left;
        padding: 5px;
    }
    .logos .logo img {
        max-height: 36px;
    }
    #proper-attribution .table-container .table-cell {
        padding: 0px;
    }
    #proper-attribution .table-container .table-cell:nth-child(2) {
        display: none;
    }
}
