/*! 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.
 */

 @import 'font/cooperhewitt.css';

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

html {
    color: #222;
    font-size: 1.1em;
    line-height: 1.75;
    font-family: "adelle", "Helvetica Neue", sans-serif;
    font-weight: 300;
    /*line-height: 150%;*/
}

h1, h2, h3, h4, h5, h6 {
font-family: "CooperHewitt-SemiBold", "din-condensed-web", "Helvetica Neue", sans-serif;
font-weight: normal;
font-style: normal;
text-transform: uppercase;
text-align: center;
}



/*
 * 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
   ========================================================================== */

/* LINKS ETC */

a, a:visited {
    color: #ff676b;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* HEADER */

        header {text-align: center; height: 280px; padding-bottom: 40px;}
        header img {width: 217px; max-width: 66%; padding-top: 110px;}

/*section.header { height: 300px;}

section.header .container {max-width: 750px; position: relative; margin: 0px auto; height: 300px;}*/

.shot-left {width: 50%; padding-right: 20px; float: left; box-sizing: border-box; text-align: center;}
.shot-right {width: 50%; padding-left: 20px; float: right; box-sizing: border-box;}

.shot-right h1.feature {/*text-align: left;*/}

img.screenshot {bottom: 0; display: inline-block; max-width: 220px;}

/*MAIN TEXT WRAPPER*/

.wrapper {
    margin: 0 auto;
    max-width:  960px;
    padding: 90px 40px;
    position: relative;
    /*background-color: #f0f0f0;*/
}


h1.feature {
font-size: 38px;
line-height: 42px;
margin-top: 0px;
}

/*IMAGES ETC*/

.hero-image {
position: relative;
text-align:center;
}

.hero-image img {
width:100%;
/*max-width: 1250px;*/
}

.hero-image .app-store {
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
}

.hero-image .app-store img {
    position: absolute;
    bottom: 24px;
    left: 50%;
    margin-left: -68px;
}


/* COLUMNS */

.col-1-2 {width: 50%; float: left; overflow: hidden; min-height: 1px;}
.col-1-4 {width: 25%; float: left; overflow: hidden; min-height: 1px;}

/*FOOTER*/

footer {
    font-size: 14px;
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #f7f7f7;
    color: #555555;
    background-color: #fafafa;
    font-style: italic;
}

footer a, footer a:visited {
    color: rgba(0,0,0,0.7);
}

footer a:hover {
    color: #ff676b;
}

footer a:active {
    color: #3366dd;
}

.social-icons {

margin-bottom: 15px; 

}

.social-icons img {

width: 40px;
height: 40px;
opacity: 0.7;
transition: all 0.7s;

}

.social-icons img:hover {
    opacity: 1.0;
}

/*FORM INPUTS*/

.mc-field-group {
    margin-top: 30px;
    position:relative;
}

input {
    -webkit-transition: all 0.2s ease; /* Safari */
    transition: all 0.2s ease;

    /*-webkit-transition: all 0.2s ease, width 0.3s cubic-bezier(0, 1.8, 1, 1.8);*/
    -webkit-transition: all 0.2s ease, width 0.3s cubic-bezier(0.7, 0.3, 0.7, 1.8);
    transition: all 0.2s ease, width 0.3s cubic-bezier(0.7, 0.3, 0.7, 1.8);

    box-sizing: border-box;
    border-radius: 5px;
    height: 60px;
    margin: 0 5px;
    padding: 0 20px;

    border: none;
    position: relative;
    vertical-align: top;
}

input[type="email"] {
    /*font-size: 22px;*/
    background-color: #f7f7f7;
    border: 1px solid #f7f7f7;
    width: 320px;
    margin-left: 0;
    margin-bottom: 10px;

    /*background-color: red;*/
}

input[type="email"]:focus {
    border: 1px solid white;
    border-bottom: 1px solid #ff676b;
    border-radius: 0;
    outline: none;
    /*width: 350px;*/
    background-color: white;
    /*background-color: #aaccff;*/
}

input[type="submit"] {
    border: none;
    background-color: #666666;
    /*font-family: din-condensed-web, sans-serif;*/
    color: white;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
}

input[type="submit"]:hover {
background-color: #ff676b;
}


/* COLOR THEMES */

        .icaro-red header { background-color: #ff676b;}
        .icaro-red a, .icaro-red a:visited, .icaro-red .selector-menu {color: #ff676b;}


        .icaro-blue header { background-color: #446FD4;}
        .icaro-blue a, .icaro-blue a:visited, .icaro-blue .selector-menu {color: #446FD4;}

        .icaro-green header { background-color: #146c33;}
        .icaro-green a, .icaro-green a:visited, .icaro-green .selector-menu {color: #146c33;}

        .icaro-yellow header { background-color: #f2d141;}
        .icaro-yellow a, .icaro-yellow a:visited, .icaro-yellow .selector-menu {color: #f2d141;}

/*SELECTOR MENU */

.selector-menu {
    display: inline-block;
    width: 220px;
    overflow: hidden;
    text-align: center;
    border: 1px solid white;
    font-family: "CooperHewitt-SemiBold", "din-condensed-web", "Helvetica Neue", sans-serif;
    text-transform: uppercase;
    margin-top: 20px;
    cursor: default;
    border-radius: 5px;
    font-size: 14px;
}

.selector-menu a, .selector-menu a:hover {color: white !important; text-decoration: none;}

.selector-menu .thumb {
    width: 50%;
    float: left;
    padding-top: 5px;
}

.selector-menu .thumb.selected {
    background-color: white;
}


/* ==========================================================================
   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;
    }
}

@media (max-width: 767px) {

.wrapper {padding: 25px;}
h1.feature {font-size: 36px; line-height: 42px;}
input[type="email"], input[type="email"]:focus {
    background-color: #ffffff;
    border: 1px solid #e7e7e7;
    margin: 0;
    width: 80%;
    margin-bottom: 20px;
    -webkit-appearance:none;
} 

            header {height: 150px;}
            header img { padding-top: 75px; width: 90px; }

.col-1-2, .col-1-4 {

    float: none;
    width: 100%;
}

input[type="email"]:focus {
    border: 1px solid white;
    border-bottom: 1px solid #ff676b;
}

}
