/*! HTML5 Boilerplate v5.0.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    line-height: 1.6em;
    font-family: 'Helvetica Neue', Helvetica, sans-serif;
    font-weight: 300;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* Landing page styles */

body {
    background:url(../img/breathe-bg6.jpg);
    background-size:cover;
    background-repeat:no-repeat;
    background-position:top center;
}

.form-wrapper {
    position:relative;
    margin:0 24px;
    transition:1s ease all;
    -webkit-transition:1s ease all;
}
form {
    margin-top:50px;
    font-size:1.2em;
}
.form-label {
  display: inline-block;
  padding: 0 5px 1em 0;
  font-weight: 300;
  pointer-events: none;
  color:rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size:14px;
}
.email-input {
  display: block;
  margin: 0;
  padding: 0 0 0.1em 5%;
  width: 65%;
  border: none;
  border-top-left-radius:6px;
  border-bottom-left-radius:6px;
  background-color: white;
  color: #333;
  text-overflow: ellipsis;
  font-size: 1em;
  outline:none;
  transition:0.3s ease all;
  -webkit-transition:0.3s ease all;
  float:left;
  padding-top:12px;
  padding-bottom:12px;

}
.email-wrap {
  max-width:400px;
  margin:0 auto;
}
.btn-submit {
  padding-top:12px;
  padding-bottom:12px;
  float:left;
  width:30%;
  border-radius:0;
  font-size:inherit;
  border-top-right-radius:6px;
  border-bottom-right-radius:6px;
  border:0;
}

/* override vendor prefix placeholder text style */
::-webkit-input-placeholder {
   color: rgba(50,50,50,0.5);
}

:-moz-placeholder { /* Firefox 18- */
   color: rgba(50,50,50,0.5);
}

::-moz-placeholder {  /* Firefox 19+ */
   color: rgba(50,50,50,0.5);
}

:-ms-input-placeholder {
   color: rgba(50,50,50,0.5);
}


.mkt p, .mkt h1 {
    color:rgba(255,255,255,0.9);
    transition:1s ease all;
    -webkit-transition:1s ease all;
}

.mkt h1 {
    font-size:5em;
    font-weight: 100;
    transition:1s ease all;
    -webkit-transition:1s ease all;
}

.mkt p {
  font-weight:200;
  padding:24px;
}

.mkt {
    transition:1s ease all;
    -webkit-transition:1s ease all;
    max-width:480px;
    margin:0 auto;
}

.slidden {
    opacity:0;
    transform:translate(0px, 50px);
    -webkit-transform:translate(0px, 50px);
}

/*
    Centered magic
 */

html,
body {
  height: 100%;
}
body {
  color:rgba(255,255,255,0.9);
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
  display: table;
  width: 100%;
  height: 100%; /* For at least Firefox */
  min-height: 100%;
  -webkit-box-shadow: inset 0 0 100px rgba(0,0,0,.5);
          box-shadow: inset 0 0 100px rgba(0,0,0,.5);
}
.shutdown-banner {
  width: 100%;
  background: blue;
}
.shutdown-text {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 200;
  line-height: 30px;
  vertical-align: middle;
}
.site-wrapper-inner {
  display: table-cell;
  vertical-align: top;
}
.cover-container {
  margin-right: auto;
  margin-left: auto;
}

/* Padding for spacing */
.inner {
  padding: 30px;
}


/*
 * Cover
 */

.masker {
    position:fixed;
    width:100%;
    height:100%;
    transition:2s ease;
    background:#153456;
    pointer-events:none;
    opacity:0;

}
.masker.masken {
    opacity:1;
}

.cover {
  padding: 0 20px;
}

.appstore-btn {
  width:150px;
  height:50px;
  margin:10px auto;
  background:url('../img/appstore.jpg');
  background-size:100% 100%;
  border-radius:6px;
  display:block;
  transition:1s ease all;
  -webkit-transition:1s ease all;
}

.contact-btn {
  margin:30px auto;
  padding:15px 32px;
  letter-spacing: 0.14em;
  color:#222;
  background:white;
  background-size:100% 100%;
  border-radius:100px;
  display:inline-block;
  transition:1s ease all;
  -webkit-transition:1s ease all;
  text-shadow:none;
  color:153456;
}
.contact-btn:hover {
  text-decoration: none;
}

/*
 * Affix and center
 */

@media (min-width: 768px) {
  /* Start the vertical centering */
  .site-wrapper-inner {
    vertical-align: middle;
  }
  /* Handle the widths */
  .cover-container {
    width: 100%; /* Must be percentage or pixels for horizontal alignment */
  }
  .mkt h1 {
    font-size:5em;
    font-weight: 100;
  }
  .shutdown-text {
    font-size: 21px;
  }
}

@media (min-width: 992px) {
  .cover-container {
    width: 960px;
  }
}

@media (max-width: 768px) {
  .mkt h1 {
    font-size:5em;
  }
  .mkt p {
    font-size:18px;
    font-weight: 400;
  }
  .email-input {
    width:100%;
    margin: 12px;
    border-radius:6px;
  }
  .btn-submit {
    width:100%;
    margin: 12px;
    border-radius:6px;
  }
  form {
    margin-top:12px;
  }
}