/*
 * HTML5 Boilerplate
 *
 * 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,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 images and the bottom of their containers: h5bp.com/i/440
 */
img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
    resize: vertical;
}

.checkbox label:after,
.radio label:after {
    content: '';
    display: table;
    clear: both;
}

.checkbox .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #a9a9a9;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: .5em;
}

.radio .cr {
    border-radius: 50%;
}

.checkbox .cr .cr-icon,
.radio .cr .cr-icon {
    position: absolute;
    font-size: .8em;
    line-height: 0;
    top: 50%;
    left: 20%;
}

.radio .cr .cr-icon {
    margin-left: 0.04em;
}

.checkbox label input[type="checkbox"],
.radio label input[type="radio"] {
    display: none;
}

.checkbox label input[type="checkbox"] + .cr > .cr-icon,
.radio label input[type="radio"] + .cr > .cr-icon {
    transform: scale(3) rotateZ(-20deg);
    opacity: 0;
    transition: all .3s ease-in;
}

.checkbox label input[type="checkbox"]:checked + .cr > .cr-icon,
.radio label input[type="radio"]:checked + .cr > .cr-icon {
    transform: scale(1) rotateZ(0deg);
    opacity: 1;
}

.checkbox label input[type="checkbox"]:disabled + .cr,
.radio label input[type="radio"]:disabled + .cr {
    opacity: .5;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */
.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
    font-family: 'Open Sans', sans-serif;
}

a,
a:link,
a:visited {
    color: #333;
}

.logo {
    float: left;
    height: 90px;
    padding: 16px 0 0 0;
    width: auto;
}

.logoright {
    float: right;
    height: 90px;
    padding: 16px 0 0 0;
    width: auto;
}

.pageBannerTop {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(../images/bannerBG_lg.jpg);
    background-color: #0469B3;
    color: #FFF;
    margin-bottom: 50px;
    padding-top: 0;
}

.bannerH1 {
    font-size: 48px;
    font-weight: 300;
    margin: .67em 0 0 0;
}

.pageBannerTop p {
    font-size: 26px;
    margin-left: 2px;
    width: 75%;
}

.pageBannerTop .card {
    width: 60%;
}

form {
    width: 100%;
    margin: 0 auto;
}

input,
select {
    clear: both;
    color: #1f1f1f;
    display: block;
    width: 60%;
    margin: 24px 0;
    padding: 12px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: none;
}

.btn-signup {
    background: #7AC143;
    border-color: #7AC143;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 4px;
    color: #FFF;
    display: block;
    font-size: 24px;
    font-weight: 300;
    padding: 12px;
    text-align: center;
    text-decoration: none;
}

.pageBannerTop-aside {
    max-width: 75%;
    text-align: left;
    margin: 0;
}

.page-title {
    font-size: 24px;
    margin-bottom: 12px;
    text-align: center;
}

.headerRule70 {
    border: 0;
    height: 3px;
    background: #232323;
    width: 70px;
    margin: 0 auto;
    margin-bottom: 48px;
}

.featureCol {
    line-height: 1.875;
    text-align: center;
}

.featureCol p {
    font-size: 18px;
    margin: 16px auto;
    max-width: 360px;
}

.pageBannerBottom {
    background: #333 url(../images/skyline.jpg) no-repeat center center;
    margin-top: 80px;
    margin-bottom: 0;
    padding: 60px 0;
}

.pageBannerBottom div p {
    color: #FFF;
    font-size: 36px;
    text-align: center;
}

.pageBannerBottom div p.barrons {
    line-height: 30px;
    text-align: right;
}

.barronsLogo {
    float: right;
    height: 40px;
    margin: 0 200px 0 8px;
    width: auto;
}

.footerNav {
    list-style-type: none;
}

.footerNav li {
    display: inline;
    margin-left: 16px;
}

.footerNav li:first-child {
    margin-left: 0;
}

.footerNav li a {
    text-decoration: none;
}

.social-icon-wrapper {
    margin: 20px auto;
    width: 342px;
}

.social-icon {
    background: url(../images/sprite_social-green.png) no-repeat top left;
    display: inline-block;
    float: left;
    height: 25px;
    margin: 0 16px;
    text-decoration: none;
    width: 25px;
}

.social-icon.social-facebook,
.social-icon.social-facebook:hover,
.social-footer .social-icon.social-facebook,
.social-footer .social-icon.social-facebook:hover {
    background-position: 0 -35px;
}

.social-icon.social-twitter,
.social-icon.social-twitter:hover,
.social-footer .social-icon.social-twitter,
.social-footer .social-icon.social-twitter:hover {
    background-position: 0 -175px;
}

.social-icon.social-linkedin,
.social-icon.social-linkedin:hover,
.social-footer .social-icon.social-linkedin,
.social-footer .social-icon.social-linkedin:hover {
    background-position: 0 -105px;
}

.social-icon.social-google,
.social-icon.social-google:hover,
.social-footer .social-icon.social-google,
.social-footer .social-icon.social-google:hover {
    background-position: 0 -70px;
}

.social-icon.social-blog,
.social-icon.social-blog:hover,
.social-footer .social-icon.social-blog,
.social-footer .social-icon.social-blog:hover {
    background-position: 0 0;
}

.social-icon.social-stock,
.social-icon.social-stock:hover,
.social-footer .social-icon.social-stock,
.social-footer .social-icon.social-stock:hover {
    background-position: 0 -140px;
}

.social-icon:hover,
.social-footer .social-icon:hover {
    background: url(../images/sprite_social-grey.png) no-repeat top left;
}

.copyright {
    font-size: 12px;
    margin-left: 40px;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Image replacement
 */
.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;

    /* IE 6/7 fallback */
    text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */
.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */
.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: h5bp.com/p
 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.clearfix {
    zoom: 1;
}

/*
@media only screen and (max-width : 1025px) {

	.featureCol p { font-size: 16px }

	.pageBannerTop-aside { max-width: 100% }

	.pageBannerTop p { width: 100% }

	input {
		margin: 12px 0;
		width: 80%;
	}
	.pageBannerBottom div p.barrons { line-height: 18px }
}
*/
@media only screen and (max-width: 415px) {
    .row {
        margin-bottom: 0!important;
    }

    .c1,
    .c2,
    .c3,
    .c4,
    .c5,
    .c6,
    .c7,
    .c8,
    .c9,
    .c10,
    .c11,
    .c12 {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 20px;
    }

    ,
    .privacyTitle span {
        font-size: 9px;
    }
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-width: 320px) and (max-width: 415px) {
    .c5 {
        width: 100%;
        padding-top: 0px !important;
    }

    .logo {
        height: 60px;
    }

    .logoright {
        height: 60px;
    }

    .signUpForm {
        padding-top: 0px !important;
    }

    .pageBannerTop {
        background-attachment: scroll;
        background-image: url(../images/bannerBG_1024.jpg);
        height: 1400px;
        padding-top: 16px;
    }

    .conversion {
        height: 900px;
    }

    .bannerH1 {
        font-size: 32px;
    }

    .pageBannerTop p {
        font-size: 20px;
        width: 100%;
    }

    .pageBannerTop form input,
    select {
        margin: 12px auto;
        width: 100%;
    }

    a.btn-link {
        font-size: 20px;
    }

    .pageBannerTop-aside {
        float: none;
        margin: 0 auto;
        max-width: 280px;
        padding-right: 0;
    }

    .featureCol p {
        font-size: 16px;
        max-width: 100%;
    }

    .pageBannerBottom {
        background: #333 url(../images/skyline.jpg) no-repeat center center;
        margin-top: 0;
        padding: 30px 0;
    }

    .pageBannerBottom div p {
        font-size: 20px;
    }

    .barronsLogo {
        height: 30px;
        margin: 0 0 0 8px;
    }

    .social-icon-wrapper {
        margin: 20px auto;
        width: 172px;
    }

    .social-icon {
        margin-bottom: 12px;
    }

    #termsConditions a {
        font-size: 9px;
    }

    .pageBannerTop #privacyTitle {
        font-size: 11px;
    }

    .pageBannerTop .caption {
        font-size: 11px;
    }

    .pageBannerTop .card {
        width: 100%;
    }
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .logo {
        padding: 16px 0 16px 0;
    }

    .pageBannerTop {
        background-attachment: scroll;
        background-image: url(../images/bannerBG_1024.jpg);
    }

    .conversion {
        height: 900px;
    }

    .bannerH1 {
        font-size: 28px;
        line-height: 36px;
    }

    .pageBannerTop p {
        font-size: 16px;
    }

    .pageBannerTop-aside {
        padding-right: 0;
    }

    form {
        margin-left: 24px;
    }

    input {
        padding: 8px;
    }

    .btn-signup {
        font-size: 18px;
        padding: 8px;
    }

    .page-title {
        margin-top: 36px;
    }

    .featureCol p {
        font-size: 12px;
        margin: 10px auto;
        max-width: 100%;
    }

    .pageBannerBottom {
        background: #333 url(../images/skyline.jpg) no-repeat center center;
        margin-top: 40px;
    }

    .footerNav li a {
        font-size: 13px;
    }

    .social-icon-wrapper {
        margin: 16px auto;
    }

    .copyright {
        font-size: 10px;
    }

    .m1 {
        margin-left: 0 !important;
    }
}

@media handheld,
only screen and (max-width: 768px),
only screen and (max-device-width: 768px) and (orientation: portrait) {
    input {
        width: 85%;
    }

    .pageBannerTop p {
        font-size: 20px;
        width: 100%;
    }
}

@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 required HTTP connection: h5bp.com/r
   ========================================================================== */
@media print {
    * {
        background: transparent !important;
        color: #000 !important;

        /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
	 */
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

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

    thead {
        display: table-header-group;

        /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

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

.signUpForm {
    padding-top: 40px;
}