@font-face {
    font-family: 'Raleway', sans-serif;
}

body {
    margin: 0;
}

/* Disable ugly boxes around images in IE10 */
a img {
    border: 0px;
}

::-moz-selection {
    background-color: #00ff99;
    color: #fff;
}

::selection {
    background-color: #00ff99;
    color: #fff;
}

.nl-search-box .mdl-textfield__input {
    color: rgba(0, 0, 0, 0.87);
}

.nl-header .mdl-menu__container {
    z-index: 50;
    margin: 0 !important;
}

.nl-fab {
    position: absolute;
    right: 20%;
    bottom: -26px;
    z-index: 3;
    background: #003366 !important;
    color: black !important;
}

.nl-main-title {
    display: none !important;
}

.nl-logo-image {
    height: 45px;
}

.nl-header {
    overflow: visible;
    background-color: white;
}

.nl-header .material-icons {
    color: #767777 !important;
}

.nl-header .mdl-layout__drawer-button {
    background: transparent;
    color: #767777;
}

.nl-header .mdl-navigation__link {
    color: #757575;
    font-weight: 700;
    font-size: 14px;
}

.nl-navigation-container {
    /* Simple hack to make the overflow happen to the left instead... */
    direction: rtl;
    order: 1;
    width: 500px;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nl-navigation {
    /* ... and now make sure the content is actually LTR */
    direction: ltr;
    justify-content: flex-end;
    width: 800px;
}

.nl-search-box.is-focused ~ .nl-navigation-container {
    opacity: 0;
    width: 100px;
}

.nl-navigation .mdl-navigation__link {
    display: inline-block;
    height: 60px;
    line-height: 68px;
    background-color: transparent !important;
    border-bottom: 4px solid transparent;
}

.nl-navigation .mdl-navigation__link:hover {
    border-bottom: 4px solid #ccff33;
}

.nl-search-box {
    order: 2;
    margin-left: 16px;
    margin-right: 16px;
}

.nl-more-button {
    order: 3;
}

.nl-drawer {
    border-right: none;
}

.nl-drawer-separator {
    height: 1px;
    background-color: #dcdcdc;
    margin: 8px 0;
}

.nl-drawer .mdl-navigation__link.mdl-navigation__link {
    font-size: 14px;
    color: #757575;
}

.nl-drawer span.mdl-navigation__link.mdl-navigation__link {
    color: #003366;
}

.nl-drawer .mdl-layout-title {
    position: relative;
    background: #ccff33;
    height: 160px;
}

.nl-drawer .nl-logo-image {
    position: absolute;
    bottom: 16px;
}

.nl-headline-section {
    position: relative;
    /*height: 633px;*/
    height: 500px;
    width: auto;
    background-color: #f3f3f3;
    background: url('../img/supernova.jpg') center 30% no-repeat;
    background-size: cover;
}

.nl-font {
    font-family: 'Raleway', sans-serif;
    line-height: 1;
    color: #767777;
    font-weight: 300;
}

.nl-slogan {
    font-size: 60px;
    padding-top: 100px;
    color: white;
}

.nl-sub-slogan {
    font-size: 21px;
    padding-top: 48px;
    color: white;
}

.nl-sub-cite {
    font-size: 14px;
    padding: 10px 20px;
}

.nl-create-character {
    font-size: 21px;
    padding-top: 400px;
}

.nl-create-character a {
    text-decoration: none;
    color: #767777;
    font-weight: 300;
}

.nl-image-link {
    text-decoration: none;
}

.nl-auto {
    display: inline-block;
    width: 300px;
    overflow: hidden;
}

.nl-auto .nl-screen-image {
    display: block;
    height: 300px;
    z-index: 1;
}

.nl-link {
    text-decoration: none;
    color: #003366 !important;
}

.nl-link:hover {
    color: #996699 !important;
}

.nl-link .material-icons {
    position: relative;
    top: 6px;
}

.nl-customized-section-form {
    background-color: red;

}

.nl-about-section-text {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 16px 0 16px;
}

.nl-about-section-text p {
    padding-top: 16px;
}

.nl-about-section-image {
    background: url('images/devices.jpg') center top no-repeat;
    background-size: cover;
    height: 400px;
}

.nl-std-section {
    padding: 80px 20px;
    max-width: 1044px;
    margin-left: auto;
    margin-right: auto;
}

.nl-std-section .third-party {
    padding: 10px;
    font-size: 12px;
    line-height: 12px;
    border: 1px solid #f0f0f0;
    margin: 20px;
    background-color: #fafafa;
}

.nl-std-section .nl-section-title {
    /*margin-left: 12px;*/
    padding-bottom: 24px;
}

.nl-card-container {
}

.nl-card-container .mdl-card__media {
    overflow: hidden;
    background: transparent;
}

.nl-card-container .mdl-card__media img {
    width: 100%;
}

.nl-card-container .mdl-card__title {
    background: transparent;
    height: auto;
}

.nl-card-container .mdl-card__title-text {
    color: black;
    height: auto;
}

.nl-card-container .mdl-card__supporting-text {
    height: auto;
    color: black;
    padding-bottom: 120px;
}

.nl-card-container .mdl-card__actions {
    position: absolute;
    bottom: 0;
}

.nl-card-container .mdl-card__actions a {
    border-top: none;
    line-height: 32px;
    font-size: 16px;
}

.nl-footer {
    background-color: #fafafa;
    position: relative;
}

.nl-footer a:hover {
    color: #996699;
}

.nl-footer .mdl-mega-footer--top-section::after {
    border-bottom: none;
}

.nl-footer .mdl-mega-footer--middle-section::after {
    border-bottom: none;
}

.nl-footer .mdl-mega-footer--bottom-section {
    position: relative;
}

.nl-footer .mdl-mega-footer--bottom-section a {
    margin-right: 2em;
}

.nl-footer .mdl-mega-footer--bottom-section span {
    margin-right: 2em;
}

.nl-footer .mdl-mega-footer--right-section a .material-icons {
    position: relative;
    top: 6px;
}

.nl-link-menu:hover {
    cursor: pointer;
}

/**** Mobile layout ****/
@media (max-width: 900px) {
    .nl-navigation-container {
        display: none;
    }

    .nl-title {
        display: none !important;
    }

    .nl-main-title {
        display: block !important;
        position: absolute;
        left: calc(50% - 70px);
        top: 12px;
        transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nl-search-box.is-focused ~ .nl-main-title {
        opacity: 0;
    }

    .nl-more-button {
        display: none;
    }

    .nl-search-box.is-focused {
        width: calc(100% - 48px);
    }

    .nl-search-box .mdl-textfield__expandable-holder {
        width: 100%;
    }

    .nl-headline-section {
        height: 350px;
    }

    .nl-slogan {
        font-size: 26px;
        margin: 0 16px;
        padding-top: 70px;
    }

    .nl-sub-slogan {
        font-size: 16px;
        margin: 0 16px;
        padding-top: 8px;
    }

    .nl-create-character {
        padding-top: 200px;
        font-size: 16px;
    }

    .nl-create-character img {
        height: 12px;
    }

    .nl-fab {
        display: none;
    }

    .nl-wear-band-text {
        margin-left: 0;
        padding: 16px;
    }

    .nl-footer .mdl-mega-footer--bottom-section {
        display: none;
    }

    .nl-logo-image {
        height: 35px;
    }
}

