* {
    padding: 0;
    margin: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-smooth: always;
    -moz-osx-font-smoothing: grayscale;
}

*:focus {
    outline: 0;
}

.nowrap {
    white-space: nowrap;
}

.mixed-case {
    text-transform: none;
}

.error {
    color: #cc0000;
    font-weight: bold;
    padding: 7px 0px;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: -apple-system, 'BlinkMacSystemFont', 'HelveticaNeue-Light', 'Helvetica', 'Arial', arial, sans-serif;
    color: #333333;
    line-height: 1.4em;
}

html {
    background-color: #f0f0f0;
}

body {
    background-color: #f0f0f0;
}

a {
    color: #28407a;
}

header {
    margin: 0px;
    padding: 0px;
    position:fixed;
    top:0px;
    display: block;
    width: 100%;
    text-align: center;
    z-index: 100;
    height: 75px;
    background-color: #28407a;
    background-image: url(../img/bg.png);
    background-size: 1px 140px;
    background-position: left center;
    backface-visibility: hidden;
}

body.index header {
    background-color: transparent;
    background-image: none;
    height: 50vw;
    max-height: 240px;
    transition: height 0.5s ease-out, max-height 0.5s ease-out;
}

body.index header.shrink {
    height: 75px;
    max-height: 75px;
}
body.index header.shrink:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #28407a;
    background-image: url(../img/bg.png);
    background-size: 1px 140px;
    background-position: left center;
    opacity: 0;
    animation-name: fadein;
    animation-delay: 0.5s;
    animation-duration: 0.5s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

nav {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 1160px;
    margin: 0px auto;
    color: #fff;
}

body.index nav {
    background-image: url(../img/FindNext.png);
    background-size: auto calc(100% - 16px);
    background-repeat: no-repeat;
    background-position: center center;
    transition: background-position 0.5s ease-out;
}

body.apps nav {
    background-image: url(../img/FindNext-1080-fff.png) !important;
}

header.shrink nav {
    background-position: 10px center;
}

nav ul {
    float:left;
    list-style: none;
    width:100%;
    height:75px;
    overflow: hidden;
}

nav ul li {
    float:left;
}

nav ul li.findnext a {
    float:left;
    display: inline-block;
    width:140px;
    height:75px;
    text-indent: -10000px;
    background-image: url(../img/FindNext-nav.png);
    background-size:140px 140px;
    background-position: left center;
    background-repeat: no-repeat;
}


body.index nav ul li.findnext a {
    opacity: 0;
}

nav ul li.findnext .bumf {
    margin-left: 10px;
    line-height: 75px;
}

body.index nav ul li.findnext .bumf {
    opacity: 0;
}

nav ul li.access {
    float:right;
    margin:10px 0px;
}

nav ul li.access a {
    display:block;
    margin: 0px 10px 0px 10px;
    padding: 5px 5px 5px 20px;
    line-height: 45px;
}

nav ul li.access a .icon {
    margin-left: 15px;
    display: inline-block;
    border-radius: 8px;
    background-image: url(../img/icon.png);
    background-size: 45px 45px;
    width: 45px;
    height: 45px;
    text-indent: -10000px;
    
    -webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.75);    
}

body.index header.shrink nav ul li.findnext a {
    animation-name: fadein;
    animation-delay: 1s;
    animation-duration: 0.5s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

body.index header.shrink nav ul li.findnext .bumf {
    animation-name: fadein;
    animation-delay: 1.5s;
    animation-duration: 0.5s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

body.index section.index {
    max-width:804px;
    height:804px;
    background-image: url(../img/target.png);
    background-position: center center;
    margin:0 auto;
    text-align: center;
    color: #fff;
}

/*
body.index section.index h1 {
    display: block;
    background-image: url(/static/img/FindNext-1080-fff.png);
    background-size: 216px 106px;
    width: 216px;
    height: 106px;
    max-width: 100%;
    margin: 0px auto;
    text-indent: -10000px;
}*/

body.index section.index h2 {
    font-weight: normal;
    padding: 15px 0px;
    font-size: 120%;
}

body.index section.index h2 a {
    display:inline-block;
}

body.index section.index h2 .icon {
    margin-left: 15px;
    display: inline-block;
    border-radius: 8px;
    background-image: url(../img/icon.png);
    background-size: 45px 45px;
    width: 45px;
    height: 45px;
    text-indent: -10000px;
    
    -webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.75);    
}

.index-box {
    float:left;
    display: block;
    width: 50%;
    margin-top: 15px;
}

#signup {
    float: right;
    display: block;
    margin-right: 15px;
    margin-top: 88px;
}

#signup button {
    display:inline-block;
    color: #fff;
    background: #287a40;
    padding: 5px 5px 5px 20px;
    border: 0;
    border-radius: 6px;
    text-decoration: none;
    font-size: 100%;
    font-weight: bold;
    line-height: 45px;
}

#signup .button {
    display: none;
}

#signup form input {
    width: 100%;
}

#signup form a {
    margin: 0;
}

section.index ul {
    padding-top:15px;
}

section.index ul li {
    padding-bottom: 7px;
}

#iPhone {
    margin: 0 auto;
    display: block;
    width:290px;
    height:592px;
    margin-top: 15px;
    background-image: url(/static/img/iphone-spacegray.png);
    background-size: 290px 592px;    
    background-repeat: no-repeat;
}

#iPhone.rosegold {
    background-image: url(/static/img/iphone-rosegold.png);    
}

#iPhone.gold {
    background-image: url(/static/img/iphone-gold.png);    
}

#iPhone.silver {
    background-image: url(/static/img/iphone-silver.png);    
}

#iPhone.spacegray {
    background-image: url(/static/img/iphone-spacegray.png);    
}

#iPhone iframe {
    margin-top:76px;
    margin-left: 20px;
    border: 0;
}

main {
    position: relative;
    width: 100%;
    max-width: 1160px;
    margin: 75px auto 0px auto;
}

body.index main {
    max-width: inherit;
    margin-top: 0px;
}

.intro {
    text-align: center;
    margin-top: 250px;
    margin-bottom: 0px;
}

.intro h1 {
    position: absolute;
    text-indent: -10000px;
}

.products {
    display: flex;
    flex-direction: row;
}

.products :nth-child(1) { order: 2; }
.products :nth-child(2) { order: 1; }
.products :nth-child(3) { order: 2; }

.products h3 {
    margin-top: 0px;
}

.products a {
    position: relative;
    margin: 10px;
    padding: 20px 25px;
    /*border: 1px solid #28407a;*/
    flex: 1;
    color: #000;
    text-decoration: none;
    border-radius: 8px;
}

.products a:hover {
    text-decoration: none;
}

a.trustchain {
    z-index: 1;
    background: #fff;
}

a.trustchain h3 {
    height: 90px;
    background-image: url(../img/GitHub-Mark-120px-plus.png);
    background-repeat: no-repeat;
    background-size: 80px;
    background-position: center left;
    line-height: 90px;
    padding-left: 90px;
}

a.fika {
    z-index: 1;
    background: #1a1a1a;
    color: #e8e8e8;
}

a.fika h3 {
    height: 90px;
    background-image: url(https://fika.ai/static/img/fika.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center left;
    text-indent: -10000px;   
}

a.fika::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    z-index: -1;
    opacity: 0.27;
    background: url(https://fika.ai/static/img/bg-fika7.jpg);
    background-size: cover;
    border-radius: 8px;
}

a.findnext {
    background: #28407a;
    color: #fff;
    z-index: 1;
}

a.findnext h3 {
    height: 90px;
    background-image: url(https://findnext.com/static/img/FindNext-1080-fff.png);;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center left;
    text-indent: -10000px;
}

a.findnext::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;  
    opacity: .5; 
    z-index: -1;
    background: url(https://findnext.com/static/img/search-the-web.jpg);
    background-size: cover;
    border-radius: 8px;
}

section {
    position: relative;
    clear: both;    
}

section.find {
    padding: 10px;
}

.search {
    background-color: rgba(0, 0, 0, 0.5);
    margin-top: 10px;
    padding: 5px 10px;
    border-radius: 7px;
    color: #fff;
}

.search a {
    color: #fff;
    text-decoration: none;
}

section.find-finder {
    float:right;
}

section.find .chat {
    float:left;
    display:inline-block;
    margin:5px 0px;
    padding:5px 10px;
    border-radius: 7px;
    clear:both;
    word-wrap: break-word;
    word-break: break-all;
}

section.find .finder {
    float:right;
    background: #287a40;
    color: #fff;
}

section.find .local, section.find .remote {
    background: #6879A1;
    color: #fff;
}

section.urlscheme {
    padding-top: 20px;
    width: 100%;
    text-align: center;
}

section.urlscheme .icon {
    display: inline-block;
    border-radius: 16px;
    background-image: url(../img/icon.png);
    background-size: 90px 90px;
    width: 90px;
    height: 90px;
    text-indent: -10000px;
}

section.social {
    display:block;
    padding-top: 20px;
    width: 100%;
    text-align: center;
}

section.finder {
    padding: 10px;
}

section.finder img.avatar {
    float:left;
    display: block;
    border-radius: 11px;
    margin-bottom: 10px;
    margin-right: 15px;
    background-color: #e9ebf1;
    overflow: hidden;    
}

section.finder .img-placeholder {
    float:left;
    display: block;
    border-radius: 11px;
    margin-bottom: 10px;
    margin-right: 15px;
    width: 148px;
    height: 148px;
    line-height: 148px;
    background-color: #ffffff;
    color: #28407a;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
}

section.finder ul {
    float:left;
    list-style: none;
}

section.finder ul li {
    padding-bottom: 7px;
}

section.finder ul li a {
    text-decoration: none;
    color: #28407a;
}

section.finder ul li.since {
    font-size: 80%;
}

section.finder ul li.stats span {
    padding-left: 5px;
    margin-right: 10px;
}

section.error {
    padding: 10px;
}

section.welcome {
    padding: 10px;
}

section.welcome p {
    padding-top: 10px;
}

section.blog {
    padding: 10px;
}

section.blog h1 {
    padding-bottom: 10px;
}

section.blog h1 a {
    text-decoration: none;
    color: #333333;
}

section.blog h1 {
    font-size: 200%;
}

section.blog h2, section.blog h3 {
    margin: 15px 0px 10px 0px;
    line-height: 100%;
}

section.blog h5 {
    margin: 5px 0px 10px 0px;
    line-height: 100%;
    font-weight: normal;
}

section.blog img {
    max-width: 100%;
    margin: 10px 0px;
}

section.blog div {
    margin-top: 15px;
}

/*
hr {
    border: 0;
    color: #28407a;
    background-color: #28407a;
    height: 1px;
    margin: 25px 0px;
}*/

.page {
    display: inline-block;
    margin: 25px 0px;
    color: #999999;
}

.page a {
    color: #28407a;
    text-decoration: none;
}

section.about {
    padding: 10px;
}

section.about p {
    padding:10px 0px;
}

section.about ol, section.about ul {
    padding-left: 35px;
}

form {
    margin-top: 0px;
}

form ul {
    list-style: none;
}

form li {
    padding: 0px;
}

form input {
    width:320px;
    max-width: 90%;
    font-size:100%;
    border:none;
    border-radius: 3px;
    background: #fff;
    padding: 7px;
    color: #28407a;
}

form input[type=submit] {
    width: auto;
    background: #287a40;
    color: #fff;
}

footer {
    margin-top: 25px;
    text-align: center;
}

/*
footer {
    position: fixed;
    bottom: 0px;
    width: 100%;
    color:#939fbc;
    font-size: 11px;
    text-align: center;
    background: #22305a;
}

footer ul {
    padding: 5px;
}

footer ul li {
    display: inline;
    padding: 5px 5px;
}

footer ul li a {
    font-weight: normal;
    color: #e9ebf1;
    text-decoration: none;
}*/

a.anchor {
    position:relative;
    text-indent: -10000px;
    top:-100px;
    display:block;
    color:red;
}

#confirm_email {
    display: none;
}

.download {
    position: relative;
    display: block;
    padding: 14px 8px 14px 52px;
    background: #999;
    width: 100%;
    color: #fff;
    border: 1px solid #999;
    border-radius: 8px;
    vertical-align: center;
    line-height: 1.2em;
}
.download:hover {
    text-decoration: none;
    color: #000;
}
.download img {
    position: absolute;
    top: 50%;
    left: 0;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    transform: translateY(-50%);
}
.download.safari img {
    background: #fff;
    padding: 4px;
}
.download.chrome img {
    background: #fff;
    padding: 4px;
}

@media (max-width: 767px) {
    nav ul li.findnext .bumf {
        display: none;
    }
    
    nav ul li.access {
        position: absolute;
        top:4px;
        right:-5px;
    }
    
    nav ul li.access a {
        padding-left: 5px;
        line-height: 36px;
    }
    
    body.index nav ul li.access a {
        opacity: 0;
    }
    
    body.index header.shrink nav ul li.access a {
        animation-name: fadein;
        animation-delay: 1.5s;
        animation-duration: 0.5s;
        animation-timing-function: ease-out;
        animation-fill-mode: forwards;
    }
    
    nav ul li.access a .icon {
        margin-left: 5px;
        border-radius: 6px;
        background-size: 36px 36px;
        width: 36px;
        height: 36px;
    }
    
    html.index footer {
        position: relative;
    }
    
    .index-box {
        float: inherit;
        display: inline-block;
        width: auto;
        margin-top: 0;
    }
    
    #signup {
        margin:0;
    }
    
    #signup .button {
        display: block;
    }
    
    #signup form {
        display: none;
    }
    
    #iPhone {
        margin:0 auto;
    }
    
    .carousel {
        height: 82vh;
        max-height: 540px;
    }
    .carousel .item {
        height: 82vh;
        max-height: 540px;
    }

    .products {
        flex-direction: column;
    }

    .products :nth-child(1) { order: 1; }
    .products :nth-child(2) { order: 2; }
    .products :nth-child(3) { order: 3; }

}
