body {
    font-family: "Helvetica Neue",Helvetica,Arial,Lucida Grande,sans-serif;
    -webkit-font-smoothing: antialiased;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFF;
    background-image: url("../images/loading_icon.gif");
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 99;
}

.flex {
    display: -ms-flexbox;
    -ms-box-orient: horizontal;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;

    -webkit-flex-flow: row wrap;
    -moz-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    -o-flex-flow: row wrap;
    flex-flow: row wrap;
}

.hero .flex {
    -ms-align-items: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

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

.navbar {
    padding: 20px 0;
}

.navbar .flex {
    -ms-flex-pack: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;

    -ms-align-items: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

#logo,
.navbar .nav {

}

.nav .ghost a {
    border: 1px solid #fff;
    padding: 6px 14px 10px;
    border-radius: 4px;
}

.navbar .nav li {
    display: inline-block;
    margin-left: 14px;
}

.navbar .nav li a {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
}

#logo {
    display: block;
    width: 200px;
}

#logo:before,
#logo::before {
    content: url('../images/LOGO_WAVEWEB_WHITE.svg');
}

h1 {
    font-size: 34px;
    line-height: 54px;
    font-weight: 200;
    margin-bottom: 20px;
}

strong {
    font-weight: bold;
}

.hero {
    width: 100%;
    /*height: 650px;*/
    background-image: url("../images/header_background.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    color: #FFF;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10vw;
}

.col-50:first-child {
    -webkit-flex: 1.5;
    -moz-flex: 1.5;
    -ms-flex: 1.5;
    -o-flex: 1.5;
    flex: 1.5;
}

.col-50 {
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    -o-flex: 1;
    flex: 1;
    position: relative;
}

.with-tablet .col-50:first-child {
    -webkit-flex: 0.8;
    -moz-flex: 0.8;
    -ms-flex: 0.8;
    -o-flex: 0.8;
    flex: 0.8;
}

#app-icon {
    border-radius: 6px;
    margin-bottom: 20px;
}

.store-icon {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
}

.devices {
    padding-left: 10%;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.phone,
.tablet {
    position: relative;
    top: 70px;
    max-width: 80%;
}

.phone:nth-child(2) {
    position: absolute;
    height: 100%;
}

.phone:nth-child(2) .phone-img
.tablet:nth-child(2) .tablet-img {
    height: 100%;
    width: auto;
}

.phone .screen,
.tablet .screen {
    position: absolute;
    overflow: hidden;
}

.phone img,
.tablet img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.phone .phone-img,
.tablet .tablet-img {
    position: relative;
}

.tablet + .phone {
    max-width: 35%;
    top: initial;
    bottom: -70px;
}

/*.phone:nth-child(1) {
    margin-left: 20%;
}

.phone:nth-child(2) {
    margin-left: 30%;
}*/

.phone.android .screen {
    top: 9.04761%;
    left: 4.6875%;
    width: 89.6875%;
    height: 81.11111%;
}

.phone.ios .screen {
    top: 11.5993%;
    left: 6.5693%;
    width: 87.2262%;
    height: 74.6924%;
}

.tablet.ios .screen {
    top: 9.5823%;
    left: 6.5972%;
    width: 85.4167%;
    height: 80.344%;
}

.content {
    margin-top: 70px;
    padding-top: 30px;
    margin-bottom: 80px;
}

.content .col-1,
.content .col-2 {
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    -o-flex: 1;
    flex: 1;
}

.content .col-1 {
    padding-right: 20px;
}

.content .col-2 {
    padding-left: 20px;
}

.content p {
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 26px;
    color: #333;
}

.form {
    font-size: 0;
}

.form input[type="text"] {
    padding: 6px 10px;
    font-size: 16px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    border: 2px solid #51C0EF;
    width: 230px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin: 0
}

.form input[type="submit"] {
    font-size: 16px;
    padding: 6px 10px;
    background-color: #51c0ef;
    border: 2px solid transparent;
    color: #fff;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    -webkit-appearance: none;
    appearance: none;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    margin: 0;
}

footer {
    margin-top: 30px;
    padding: 30px 0;
    border-top: 1px solid #CECECE;
    font-size: 14px;
    color: #333;
    line-height: 20px;
}

footer .flex {
    -ms-align-items: center;
    -webkit-align-items: center;
    align-items: center;
    
    -ms-flex-pack: justify;
    justify-content: space-between;
}

a.social-icon {
    float: left;
    height: 34px;
    width: 34px;
    margin-right: 0;
    display: block;
    margin-left: 6px;
    background-size: 34px;
}

a.social-icon.facebook {
    background-image: url("../images/social-facebook.png");
}

a.social-icon.twitter {
    background-image: url("../images/social-twitter.png");
}

/*=====================================
=            Media Queries            =
=====================================*/

@media screen and (max-width: 1000px) {
    .hero {
        height: auto;
        padding-top: 50px;
    }

    h1 {
        font-size: 26px;
        line-height: 36px;
    }
}

@media screen and (max-width: 910px) {
    .store-icon img {
        width: 150px;
    }

    .content .flex {
        -webkit-flex-flow: column wrap;
        -moz-flex-flow: column wrap;
        -ms-flex-flow: column wrap;
        -o-flex-flow: column wrap;
        flex-flow: column wrap;
    }

    .content .col-1,
    .content .col-2 {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 736px) {
    .hero {
        height: auto;
        padding-top: 4vw;
    }

    .navbar {
        margin-bottom: 50px;
    }

    .phone.android {
        margin: 0;
    }

    .col-50,
    .col-50:first-child,
    .with-tablet .col-50:first-child {
        -webkit-flex: 1 1 100%;
        -moz-flex: 1 1 100%;
        -ms-flex: 1 1 100%;
        -o-flex: 1 1 100%;
        flex: 1 1 100%;
    }

    .devices {
        padding-left: 0;
    }

    .store-icon img {
        width: auto;
    }
}

@media screen and (max-width: 600px) {
    .navbar .flex {
        -webkit-flex-flow: column wrap;
        -moz-flex-flow: column wrap;
        -ms-flex-flow: column wrap;
        -o-flex-flow: column wrap;
        flex-flow: column wrap;
    }

    #logo {
        margin-bottom: 40px;
    }

    .navbar .nav li {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media screen and (max-width: 450px) {
    .form input[type="text"],
    .form input[type="submit"] {
        display: block;
        width: 100%;
        border-radius: 3px;
        margin-bottom: 6px;
    }

    footer .flex {
        -webkit-flex-flow: column wrap;
        -moz-flex-flow: column wrap;
        -ms-flex-flow: column wrap;
        -o-flex-flow: column wrap;
        flex-flow: column wrap;
        text-align: center;
    }

    .copyright {
        margin-bottom: 20px;
    }

    .social-media a {
        margin: 0 6px;
    }
}

/*======================================
=            Retina Display            =
======================================*/

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { 
    a.social-icon.facebook {
        background-image: url("../images/social-facebook@2x.png");
    }

    a.social-icon.twitter {
        background-image: url("../images/social-twitter@2x.png");
    }
}

/*===============================================
=            Firefox Specific Styles            =
===============================================*/

button::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner {
     padding: 0 !important;
     border: 0 none !important;
 }

