/* Universal
============================================================== */

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

/* Images
============================================================== */

img {
    max-width: 100%;
}


/* Clearfix
============================================================== */

.cf:before, .cf:after {
    content: " ";
    display: table;
}

.cf:after {
    clear: both;
}


/* Container
============================================================== */

.container {
    width: 96%;
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
}

.mobile {
    width: 100%;
}


/* Body
============================================================== */

body {
    background: #FFF;
    font-family: "ProximaNova", sans-serif;
    color: white;
}

#content {
    position: relative;
}

#copy-area {
    display: none;
}


/* Header
============================================================== */

header {
    width: 100%;
    height: 40px;
    background-color: transparent;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    position: absolute;
    z-index: 1;
    margin-top: 11px;
}

header .eh-logo {
    margin-right: auto;
    margin-left: 20px;
}

header h1 {
    position: absolute;
    top: 17px;
    left: 0;
    width: 45%;
}

header p {
    display: none;
}

.login {
    margin-right: 13px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    font-size: 15px;
    text-transform: uppercase;
    -ms-flex-item-align: start;
        align-self: flex-start;
    margin-top: 2px;
}

.login li:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.37);
    margin-right: 12px;
}

.login a {
    display: inline-block;
    position: relative;
    line-height: 28px;
    text-decoration: none;
    text-align: center;
}

a.user-login:hover {
    background: none;
}

.espanol-button {
    background: none;
    border: none;
    color: #fff;
    margin-right: 15px;
}

.user-login {
    background: none;
    color: white;
}


/* Mobile Hero
============================================================== */

#mobile-hero {
    width: 100%;
    height: 200px;
    padding: 1em;
    /* background: url(../images/modelo/modelo-mobile-bg.jpg) no-repeat top center; */
    background-size: cover;
    text-align: center;
    position: relative;
}

#mobile-hero h2 {
    font-size: 21px;
    color: white;
    font-weight: 600;
    position: relative;
    padding-top: 117px;
    text-shadow: 0px 0px 4px #666;
}

#mobile-hero span {
    font-family: "ThirstySoft";
    text-transform: lowercase;
    font-weight: normal;
    color: #fcb205;
}


/* Regform (Mobile)
============================================================== */

.now-free {
    display: none;
}

.form {
    width: 100%;
    position: relative;
    color: #666;
    overflow: hidden;
}

.frame-container {
    width: 200%;
}

.frame {
    width: 50%;
    float: left;
    padding: 0;
    -webkit-transition: margin-left .5s ease;
    transition: margin-left .5s ease;
}

.dotted {
    padding-bottom: 1em;
    border-bottom: 2px dotted #ccc;
}

.registration {
    width: 98%;
    max-width: 320px;
    margin: 0 auto;
    overflow: visible;
}

#frame2 {
    padding-top: 22px;
}

/* Form Reset */

input, select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    font-family: "ProximaNova";
    font-size: 16px;
    height: 40px;
    padding-top: 4px;
    border: 0;
    border: solid 1px #999;
    border-radius: 3px;
    color: #666;
    padding-left: .5em;
    background: none;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    input, select { border-radius: 0px; }
}

input {
    background-color: #fff;
}

input[type=radio] {
    height: 0;
}

input[type=text], input[type=email], input[type=password] {
    padding-left: 20px;
}


/* Placeholders */

::-webkit-input-placeholder {
    /* Chrome */
    color: #999;
    font-family: "ProximaNova";
    font-size: 16px;
    line-height: normal;
}

:-ms-input-placeholder {
    /* IE 10+ */
    color: #999;
    font-family: "ProximaNova";
    font-size: 16px;
    line-height: normal;
}

::-moz-placeholder {
    /* Firefox 19+ */
    color: #999;
    font-family: "ProximaNova";
    font-size: 16px;
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

:-moz-placeholder {
    /* Firefox 4 - 18 */
    color: #999;
    font-family: "ProximaNova";
    font-size: 16px;
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}


/* First Name */

#name {
    width: 100%;
    padding: 14px 0 20px 0;
}

#name input {
    width: 360px;
    padding-left: 20px;
}

/* Location */

#location {
    padding: 14px 0 15px;
}

.language {
    margin-bottom: 20px;
}

.language select {
    width: 100%;
}

.zip input {
    width: 158px;
}

.zip, .country {
    display: block;
    float: left;
    width: 48%;
}

.zip {
    margin-right: 6px;
    position: relative;
}

.zip.check:after {
    right: -1px;
}

#frame2 .skin {
    width: 360px;
}

.skin select {
    width: 94%;
    background: url(../images/down-arrow.png) no-repeat;
    background-color: white;
    background-size: 14px 10px;
    background-position: 95% 50%;
    width: 172px;
    padding-left: 20px;
    padding-right: 30px;
}


/* Email and Password */

#frame2 section {
    margin-bottom: 27px;
}


/* Found eH */

#findEH {
    width: 100%;
}


/* Submission */

.submitbox {
    text-align: center;
    margin-top: 38px;
}

.submitbox a {
    font-size: .875em;
    margin-right: 1%;
    color: #328aa1;
}

.form-submit {
    display: inline-block;
    margin: 0;
    width: 100%;
    position: relative;
    overflow: hidden;
}

#regsubmit {
    background-color: #328aa1;
    color: white;
    line-height: 30px;
    width: 100%;
    height: 40px;
    font-weight: bold;
    font-size: 18px;
    border: 3px solid #328aa1;
}


/* Terms */

.terms {
    font-size: 14px;
    line-height: normal;
    color: #999;
    margin: 25px 0;
    text-align: left;
    min-width: 360px;
}

.terms a {
    color: #999;
}


/* Buttons and Toggles */

.button {
    display: block;
    position: relative;
    width: 100%;
    height: 40px;
    border: none;
    margin: 20px auto 42px;
    text-align: center;
    font-weight: bold;
    color: #fff;
    background: #328aa1;
    text-decoration: none;
    font-size: 18px;
    line-height: 36px;
    border-right: 0;
    outline: none;
    cursor: pointer;
    overflow: hidden;
}

.button:after, .form-submit:after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 40px;
    background: url(../images/promo-code/button-end-bg.png) no-repeat right center;
    background-size: 20px 40px;
}

.form-submit:after {
    margin-right: -3px;
}

.frame {
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.frame.hidden {
    visibility: hidden;
    width: 45%;
}

#frame1.frame.hidden {
    margin-left: -50%;
}


/* Misc */

.self {
    margin-bottom: 2em;
}

.text {
    width: 100%;
}

.tip {
    font-size: .75em;
    margin-top: 4px;
    display: block;
    padding-left: 4px;
    position: absolute;
}

.notice {
    color: #328aa1;
}

.invalid {
    border: solid 1px #c02130;
}

.tip .invalid {
    color: #c02130;
    border: none;
}

.tip .invalid {
    background: none;
    border: none;
}

.check:after {
    content: '';
    background: url('../images/check.svg');
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 25px;
    right: -14px;
    width: 20px;
    height: 17px;
}

#frame2 .check:after {
    top: 11px;
}

#frame1 .zip.check:after {
    top: 11px;
    right: -11px;
}

#frame1 .zip.check:after {
    top: 11px;
}

#genders .tip label {
    border: 0;
    width: 100%;
    display: block;
    clear: both;
    background: none;
    width: auto;
    height: auto;
    color: #cc3333;
    font-size: .75em;
}


/* Mobile SEO area
============================================================== */


/*#seo {padding: 1em; background: #f7f7f7; color: #333; font-size: .875em; line-height: 1.5;}
#seo p {padding: 1.25em 0;}
#seo h3 {font-weight: bold; font-size: 1.25em; text-decoration: underline; margin-top: .5em;}
#seo img {display: none;}*/

.mobile-join, .desktop-join {
    display: block;
    width: 120px;
    height: 40px;
    line-height: 40px;
    font-size: 1.25em;
    border-radius: 2px;
    background: #2c96b6;
    color: white;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    margin: 1em auto;
}

.mobile-off {
    display: none;
}


/* Mobile Footer
============================================================== */


/* Turn off Full sized footer and "inlinks" */

#footer, #secondary, #links-seals {
    display: none;
}

#mobile-footer {
    width: 100%;
    padding: 1.5em 0;
    background: #333;
    text-align: center;
    font-size: .875em;
    margin-bottom: -20px;
}

#mobile-footer a {
    text-decoration: none;
    color: white;
}

#mobile-footer li {
    display: inline-block;
    padding-right: .75em;
    margin-bottom: 1em;
}


/* CP Overlay
============================================================== */

.gender-overlay {
    height: 255px!important;
    width: 432px!important;
    background: #2F2F2F;
    text-align: center;
    margin: 0 auto;
    padding: 40px 45px 0;
    border-radius: .3em;
    border: 4px solid #C6C6C8;
    box-shadow: 0px 0px 8px #222
}

.gender-overlay button, .gender-overlay a {
    display: block;
    cursor: pointer;
    border: none;
    padding: 4px;
}

.gender-overlay .btn-confirm, .gender-overlay .btn-cancel {
    color: white;
    font-weight: bold;
}

.gender-overlay .btn-confirm {
    background: #38889F;
    width: 272px;
    margin: 20px auto;
    bottom: 10px;
    font-size: 16px;
    padding: 8px 20px;
    height: 36px;
    text-align: center;
    position: relative;
    overflow: visible;
}

.gender-overlay .btn-confirm:after {
    content: "";
    border: 18px solid transparent;
    border-left-color: #38889f;
    display: block;
    position: absolute;
    top: 0;
    right: -36px;
}

.gender-overlay .btn-cancel {
    width: 24px;
    background: none;
    position: absolute;
    top: 20px;
    right: 22px;
    font-size: 20px;
}

.gender-overlay h1, .gender-overlay h2 {
    font-size: 26px;
    color: #FAB023;
    margin: 0;
    padding: 0;
    text-align: center;
}

.gender-overlay h1 {
    font-size: 40px;
    border-bottom: 1px dotted white;
    padding: 0 0 20px;
    margin-bottom: 20px;
}

.gender-overlay p {
    font-size: 18px;
    line-height: 18px;
    margin: 0 0 30px;
    color: #fff;
}

.ui-widget-overlay, .overlay {
    height: 100%;
    width: 100%;
    background: #fff;
    left: 0;
    opacity: 0.6;
    position: fixed;
    top: 0;
    -ms-filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=50);
    filter: alpha(opacity=50);
}

#pageoverlay {
    z-index: 10;
    background: #0e0f11;
    opacity: 0.75;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
}

.ui-dialog.ui-widget {
    left: 2% !important;
    width: 94% !important;
}

.ui-dialog.ui-widget .gender-overlay.ui-dialog-content {
    padding: 5% !important;
    width: 90% !important;
}

.gender-overlay h2 {
    font-size: 20px;
}

.gender-overlay h1 {
    font-size: 28px;
}

.gender-overlay p {
    font-size: 14px;
}

.gender-overlay .btn-confirm {
    font-size: 14px;
    width: 234px;
}


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


/* Everything looks fine, mobile-wise, for all small devices
   in portrait orientation, so i'm going to start with 641px
   and abitrarily move when i see gaps in the layout. This will
   accomdate changes in background imagery and placement of copy,
   form, etc. */


/* This is kind of a stop-gap for landscape phones and whatever
   devices that may fit in the future spectrum of 641-768. It's
   a small window for a query but it could be important */

@media screen and (min-width: 365px) {
    #mobile-hero h2 {
        font-size: 24px;
        padding-top: 114px;
    }
    #mobile-hero {
        background-position: 0 -40px;
    }
}

@media screen and (min-width: 414px) {
    header h1 {
        top: 13px;
    }
    #mobile-hero {
        background-position: 0 -50px;
    }
    #mobile-hero h2 {
        font-size: 28px;
        padding-top: 110px;
    }
    #mobile-footer {
        padding: 2em 0;
    }
}

@media screen and (min-width: 641px) {
    /* Lets set up the background and header changes first */
    header {
        height: 60px;
        background-color: rgba(36, 36, 36, 0.6);
        position: relative;
        margin-top: 0;
    }
    header .eh-logo {
        margin-left: 47px;
    }
    .self {
        margin-bottom: 12px;
    }
    .mobile {
        width: 96%;
    }
    #mobile-hero {
        display: none;
    }
    .login {
        margin-right: 27px;
        font-size: 16px;
        text-transform: none;
        -ms-flex-item-align: center;
            align-self: center;
        margin-top: 0;
    }
    .login li:first-child {
        border: 0;
        margin-right: 18px;
    }
    .login a {
        display: inline-block;
        position: relative;
        line-height: 28px;
        text-decoration: none;
        text-align: center;
        padding: 6px 10px 2px 10px;
    }
    .espanol-button {
        margin-right: 15px;
    }
    .user-login {
        border: 1px solid #fff;
    }
    a.user-login:hover {
        background: rgba(255, 255, 255, 0.3);
    }
    #main {
        width: 100%;
        min-height: 640px;
        padding: 0 0 1em;
        /* background: url(../images/modelo/modelo-mobile-bg.jpg) no-repeat center; */
        /* background-size: cover; */
    }
    /* Lets shift the copy and the form */
    .copy, #form-area {
        width: 65%;
    }
    .copy {
        float: right;
        margin-top: 3em;
    }
    #form-area {
        margin: 4em auto 0;
        max-width: 480px;
    }
    .registration {
        width: 380px;
        max-width: 380px;
        color: #666666;
        border-top: solid 1px #cccccc;
    }
    .form {
        background: #fff;
        overflow: hidden;
    }
    /* Move the footer down a bit */
    #mobile-footer {
        padding-top: 3em;
    }
    /* Seo Stuff */
    #seo {
        background: #333;
        color: #f1f1f1;
        line-height: 1.5;
    }
    #seo h3 {
        color: #ace1f7;
        text-decoration: none;
        font-size: 1.5em;
    }
    #seo p span {
        font-weight: bold;
        padding-right: 5px;
    }
    .mobile-off {
        display: block;
    }
    .mobile-join {
        display: none;
    }
    .desktop-left, .desktop-right {
        width: 48%;
    }
    .desktop-left {
        float: left;
        margin-right: 2%;
    }
    .desktop-right {
        float: right;
        margin-left: 2%;
    }
    /* Copy Stuff */
    .words {
        color: #575757;
        margin-top: 30px;
        line-height: 1.2;
        padding-left: 5px;
    }
    .words h2 {
        font-size: 21px;
        text-transform: uppercase;
        font-weight: bold;
    }
    .words h2 span {
        font-family: "ThirstySoft";
        text-transform: capitalize;
    }
    /* Remove mobile Footer, Show full login */
    #mobile-footer {
        display: none;
    }
    #footer {
        display: block;
        margin-bottom: -20px;
    }
    /* Full Sized Footer and "inlinks" */
    #links-seals {
        display: block;
    }
    .left {
        float: left;
    }
    .right {
        float: right;
    }
    .right span {
        display: none;
    }
    #inlinks {
        background: #fff;
        padding: .875em 0 .75em;
        font-size: 13px;
        text-align: center;
    }
    #inlinks a {
        height: 2em;
        line-height: 2em;
        text-decoration: none;
        color: #2c96b6;
    }
    #inlinks .left a {
        margin-right: 30px;
        position: relative;
        top: 5px;
    }
    #inlinks .right span {
        margin-right: 10px;
        float: left;
        height: 2em;
        line-height: 2em;
    }
    #inlinks .right a {
        vertical-align: middle;
        height: 33px;
        width: 32px;
        display: block;
        float: left;
        margin-right: 2px;
    }
    #inlinks .left a:nth-child(2) {
        display: none;
    }
    /* Trust and BBB seals */
    #seals {
        width: 100%;
        background: white;
        padding: 1.5em 0;
    }
    #form-seals {
        display: block;
        width: 500px;
        height: 76px;
        margin: 0 auto;
    }
    #form-seals ul {
        width: 100%;
        float: none;
    }
    #form-seals li {
        display: block;
        float: left;
        margin: 20px 40px 0 60px;
    }
    #form-seals li.first {
        margin: 20px 0 0 40px;
    }
    #form-seals li.last {
        margin: 0;
        width: 125px;
        height: 74px;
        overflow: hidden;
    }
    /* All the Footer links and copyright/patent text */
    #desktop-footer {
        width: 100%;
        background: #000;
        font-size: 14px;
        padding: 10px 0 60px;
    }
    #desktop-footer a {
        color: white;
        text-decoration: none;
    }
    #desktop-footer ul {
        width: 19%;
        float: left;
        margin-top: 30px;
        margin-right: 1%;
    }
    #desktop-footer li {
        margin-bottom: 8px;
    }
    .copyright, .patent {
        width: 47%;
        float: left;
        margin-top: 30px;
        line-height: 1.3;
    }
    .patent {
        text-align: right;
    }
}


/* At tablet-sized widths (in this case, 768px / ipad) it would
   look like there is enough space to serve up the full-size
   page. any queries after this should just be font-size and
   element adjustments to accomodate larger screens */

@media screen and (max-width: 767px) {
    #name input {
        width: 92%;
    }
    .country .check:after {
        top: 12px;
    }
    .check:after {
        right: -3px;
    }
    .zip {
        margin-right: 6px;
        margin-bottom: 26px;
        position: relative;
    }
    .zip, .country {
        width: 100%;
    }
    .zip input {
        width: 92%;
    }
    .skin, #frame2 .skin {
        width: 100%;
        position: relative;
        background-position: 88% 50%;
    }
    #frame2 .skin {
        background-position: 86% 50%;
    }
    .terms {
        margin: 25px 0;
        width: 94%;
        min-width: 94%;
    }
    input[name="emailAddress"], input[name="password"], #findEH {
        width: 100%;
    }
    .country select {
        width: 92%;
    }
    /* .self {
        margin-bottom: 5px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        position: relative;
    }
    .seeking {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        position: relative;
    } */
    #location {
        padding: 0 0 .875em;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        margin-top: 5px;
    }
    #mobile-hero {
        height: 200px;
        background-position: 0 10%;
    }
    #genders {
        padding: 2em 0 0;
        margin-top: 1em;
    }
    #genders h5 {
        display: block;
        margin-top: .875em;
        text-align: right;
        -ms-flex-preferred-size: 100px;
            flex-basis: 100px;
        font-size: 20px;
    }
    #genders input {
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        width: 0;
        margin: 0;
        padding: 0;
    }
    #genders label {
        display: inline-block;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        border: 4px solid;
        -webkit-transition: all .25s ease;
        transition: all .25s ease;
        position: relative;
    }
    #genders label.man {
        color: #2a9dc0;
        margin: 0 10px 15px 15px;
    }
    #genders label.woman {
        color: #ff599c;
        margin: 0 1em;
    }
    #genders input:checked+label.man {
        background: #2a9dc0;
    }
    #genders input:checked+label.woman {
        background: #ff599c;
    }
    #genders label:before {
        position: absolute;
        top: -8px;
        color: #666;
        margin-top: -20px;
    }
    #genders .self label.man:before {
        content: 'Man';
        right: 3px;
    }
    #genders .self label.woman:before {
        content: 'Woman';
        margin-left: -8px;
    }
    #genders .tip {
        position: absolute;
        bottom: 0;
        left: 48%;
    }
}

@media screen and (max-width: 640px) {
    body {
        padding-bottom: 62px;
    }
    .country .check:after {
        top: 11px;
        right: -14px;
    }
    .check:after {
        right: -14px;
    }
    #frame2 .check:after {
        right: -7px;
    }
    .zip.check:after {
        right: -14px;
    }
    #mobile-hero h2 {
        display: none;
    }
    #genders label:before {
        font-size: 14px;
    }
    .submitbox {
        display: block;
        position: relative;
        width: 100%;
        height: 40px;
        border: 3px solid #328aa1;
        margin: 20px auto 42px;
        text-align: center;
        font-weight: 400;
        color: #fff;
        background: #328aa1;
        text-decoration: none;
        font-size: 18px;
        line-height: 36px;
        border-right: 0;
        outline: none;
    }
    .button, .submitbox {
        bottom: 0;
        border-radius: 0;
        font-size: 18px;
        height: 62px;
        margin: 0;
        left: 0;
        margin: 0;
        padding: 0;
        position: fixed;
        width: 100%;
        z-index: 1;
        line-height: 3.3
    }
.button:after, .form-submit:after {
        background: url('../images/arrow.svg') no-repeat;
        content: '';
        height: 24px;
        position: absolute;
        right: 0;
        top: 20px;
        width: 30px;
    }
    .form-submit:after {
        top: 17px;
        width: 33px;
    }
    #frame2 .submitbox {
        margin: 0;
    }
    #regsubmit {
        font-size: 18px
    }

    .form { overflow:visible;}

    .container {
        width: 100%;
    }
}

@media screen and (min-width: 768px) {
    #frame1 .check:after {
        top: 24px;
    }
    /* Move the logo and login */
    header h1 {
        left: 35px;
    }
    /* Form Adjustments */
    #form-area {
        margin: 12em auto 0;
    }
    .now-free {
        display: block;
        position: relative;
        margin-bottom: -8px;
        z-index: 4;
    }
    .form {
        margin: 0 auto;
    }
    .self, .seeking {
        float: left;
        width: 50%;
    }
    section#genders {
        padding: 45px 0 0;
        overflow: visible;
    }
    #seo-area section#genders {
        border: 0;
    }
    #genders {
        padding: 1.5em 0;
    }
    #genders h5 {
        display: block;
        max-width: 95px;
        float: left;
        margin-top: .875em;
        text-align: right;
    }
    #genders input {
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        width: 0;
        margin: 0;
    }
    #genders label {
        display: inline-block;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 4px solid;
        -webkit-transition: all .25s ease;
        transition: all .25s ease;
        position: relative;
    }
    #genders label.man {
        color: #2a9dc0;
    }
    #genders label.woman {
        color: #ff599c;
    }
    #genders input:checked+label.man {
        background: #2a9dc0;
    }
    #genders input:checked+label.woman {
        background: #ff599c;
    }
    #genders label:before {
        position: absolute;
        top: 0;
        color: #666;
        margin: -25px 0 0 1px;
        font-size: 12px;
    }
    #genders label.man:before {
        content: 'Man';
    }
    #genders label.woman:before {
        content: 'Woman';
        margin-left: -6px;
    }
    #main {
        height: 768px;
    }
    .background {
        min-height: 768px;
    }
    .words {
        padding-left: 20px;
    }
    .words h2 {
        font-size: 24px;
    }
    #seo {
        padding-top: 2em;
    }
    #seo img {
        display: block;
        max-width: 100%;
    }
    #inlinks .left a:nth-child(2) {
        display: inline;
    }
    /* CP Overlay */
    .ui-dialog.ui-widget {
        width: 472px!important;
        left: 50%!important;
        margin-left: -236px;
    }
    .gender-overlay {
        height: 255px!important;
        width: 432px!important;
        background: #2F2F2F;
        text-align: center;
        margin: 0 auto;
        padding: 40px 45px 0;
        border-radius: .3em;
        border: 4px solid #C6C6C8;
        box-shadow: 0px 0px 8px #222
    }
    .gender-overlay button, .gender-overlay a {
        display: block;
        cursor: pointer;
        border: none;
        padding: 4px;
    }
    .gender-overlay .btn-confirm, .gender-overlay .btn-cancel {
        color: white;
        font-weight: bold;
    }
    .gender-overlay .btn-confirm {
        background: #38889F;
        width: 272px;
        margin: 20px auto;
        bottom: 20px;
        font-size: 18px;
        padding: 8px 0px;
        height: 36px;
        text-align: center;
        position: relative;
        overflow: visible;
    }
    .gender-overlay .btn-confirm:after {
        content: "";
        border: 18px solid transparent;
        border-left-color: #38889f;
        display: block;
        position: absolute;
        top: 0;
        right: -36px;
    }
    .gender-overlay .btn-cancel {
        width: 24px;
        background: none;
        position: absolute;
        top: 20px;
        right: 26px;
        font-size: 20px;
    }
    .gender-overlay h1, .gender-overlay h2 {
        font-size: 26px;
        color: #FAB023;
        margin: 0;
        padding: 0;
        text-align: center;
    }
    .gender-overlay h1 {
        font-size: 36px;
        border-bottom: 1px dotted white;
        padding: 0 0 20px;
        margin-bottom: 20px;
    }
    .gender-overlay p {
        font-size: 16px;
        line-height: 18px;
        margin: -10px 0 30px;
        color: #fff;
    }
    .ui-widget-overlay, .overlay {
        height: 100%;
        width: 100%;
        background: #fff;
        left: 0;
        opacity: 0.6;
        position: fixed;
        top: 0;
        -ms-filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=50);
        filter: alpha(opacity=50);
    }
    .button:hover, #regsubmit:hover {
        background: #2c7b90;
        cursor: pointer;
    }
    #regsubmit:hover {
        border: 3px solid #2c7b90;
    }
}

/* Time for the desktop - full size stuff. this is basically just
   changing things like text sizes for the promo copy to fit the
   screen. */

@media screen and (min-width: 900px) {
    /* Switch to Desktop background */
    #copy-area {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        color: white;
        text-align: center;
        margin-top: -100px;
        width: 480px;
    }
    #copy-area h2 {
        font-size: 38px;
        text-transform: uppercase;
        line-height: 1.1;
    }
    #copy-area h2 span {
        font-weight: 600;
    }
    #main {
        /* background-image: url(../images/modelo/modelo-desktop-bg.jpg); */
    }
    #form-area {
        margin: 10em 0 0;
    }
    /* Make the "inlinks" area desktop size */
    #inlinks {
        font-size: 14px;
    }
    #inlinks .left a {
        top: 0;
    }
    .right span {
        display: inline;
    }
    #frame2 section:nth-child(3) {
        margin-bottom: 22px;
    }
    #frame2 section {
        margin-bottom: 26px;
    }
    .terms {
        margin: 0;
    }
    .submitbox {
        margin-top: 14px;
    }
}

@media screen and (min-width: 1140px) {
    #copy-area h2 {
        font-size: 40px;
    }
}

@media screen and (min-width: 1140px) {
    #copy-area h2 {
        font-size: 42px;
    }
}


/* Smaller phone CP overlay
============================================================== */

@media screen and (min-width: 320px) and (max-width: 360px) {
    .gender-overlay .btn-confirm {
        bottom: 20px;
        width: 210px;
        font-size: 13px;
    }
    .gender-overlay p {
        margin: -10px 0 30px;
        font-size: 13px;
    }
    .country .check:after, .check:after, .zip.check:after {
        right: -3px;
    }
    #frame2 .country .check:after, #frame2 .check:after, #frame2 .zip.check:after {
        right: 3px;
    }
}

@media screen and (max-width: 380px) {
    #mobile-hero {
        height: 200px;
        background-position: 0 10%;
    }
}

.learn-more, .read-more {
    padding-top: 50px;
}

#social-registration {
    overflow: hidden;
    position: relative
}

