/* Signup form visual refresh */

/*
    PLEASE NOTE!

    If you make a change to this file, talk to Systems/Infrastructure to do the following:
    1) Upload the new file to replace the existing one in the "emma-static-cdn" S3 bucket.
    2) Bust the cache on this file in the Cloudfront instance in front of that S3 bucket.

    Requests to "https://app.e2ma.net/css/sign-up-forms.css" redirect
    to "https://static-cdn.e2ma.net/signups/css/sign-up-forms.css" which is an
    alias for the Cloudfront instance in front of "emma-static-cdn."

    Non-production requests still serve from their non-production app servers.
    No upload or cache busting necessary for non-production changes to appear.

*/

a {
    text-decoration: none;
}

.signup-form {
    background-color: #FFF;
    font-family: proxima-nova;
}

.signup-form.opt-down-exp {
    background-color: #F3F4F6;
    padding: 0;
    margin: 0;
}

.signup-form .manage-heading {
    color: #84878E;
    font-size: 24px;
    display: block;
    margin-bottom: 12px;
}

.signup-form.opt-down-exp .manage-heading {
    color: #40454F;
}

.signup-form .emmaEditDotBox div {
    color: #84878E;
    font-size: 14px;
    line-height: 24px;
}

.signup-form.opt-down-exp .emmaEditDotBox div {
    color: #40454F;
}

.signup-form.opt-down-exp .bodycopy {
    color: #40454F;
    display: block;
    margin-bottom: 30px;
}

.signup-form .bodycopypad {
    font-size: 16px;
}

.signup-form td {
    vertical-align: bottom;
}

.signup-form td.label {
    min-width: 150px;
    font-size: 13px;
    color: #40454F;
    font-weight: 600;
    padding-top: 10px;
}

.signup-form label {
    display: block;
}

.signup-form td.field {
    text-align: right;
}

.signup-form input[type="text"]:focus,
.signup-form textarea:focus,
.signup-form select[multiple=multiple]:focus,
.signup-form input[type="email"]:focus {
    outline: none;
    border: 1px solid #46AFD8;
}

.signup-form input {
    padding: 5px;
}

.signup-form ul:not(.errorlist),
.signup-form select {
    text-align: left;
    margin-right: 5px;
}

.signup-form input[type="text"],
.signup-form textarea,
.signup-form select[multiple="multiple"],
.signup-form input[type="email"] {
    height: 36px;
    width: 100%;
    border: 1px solid #B8BCC2;
}

.signup-form input[type="text"],
.signup-form select,
.signup-form textarea,
.signup-form select[multiple="multiple"],
.signup-form input[type="submit"],
.signup-form input[type="email"] {
    font-family: proxima-nova;
    font-size: 13px;
    color: #84878E;
    padding-left: 10px;
}

.signup-form.opt-down-exp input[type="text"],
.signup-form.opt-down-exp select,
.signup-form.opt-down-exp textarea,
.signup-form.opt-down-exp select[multiple="multiple"],
.signup-form.opt-down-exp input[type="submit"],
.signup-form.opt-down-exp input[type="email"] {
    color: #40454F;
}

.signup-form .field-error input,
.signup-form .field-error textarea,
.signup-form .field-error select {
    border: 1px solid #E9605B;
}

.signup-form textarea {
    max-width: 720px;
    min-height: 138px;
}

.signup-form select[multiple="multiple"] {
    height: 72px;
    padding-left: 0;
}

.signup-form input[type="submit"] {
    height: 36px;
    background-color: #B8BCC2;
    color: #FFF;
    border: none;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: 13px;
    padding: 0 18px;
    font-weight: 600;
}

.signup-form.opt-down-exp input[type="submit"] {
    background-color: #5AC3E8;
    min-width: 160px;
    color: #FFF;
}

.signup-form input[type="submit"]:hover {
    cursor: pointer;
    background-color: #9B9EA3;
}

.signup-form.opt-down-exp input[type="submit"]:hover {
    background-color: #87CFED;
    outline: none!important;
}

.signup-form input[type="submit"]:disabled {
    background-color: #E2E3E5;
}

.signup-form .emmaFormLabelSmall,
.signup-form ul.errorlist {
    color: #E9605B;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
}

.signup-form .emmaRequiredLabel {
    font-size: 13px;
    color: #40454F;
}

.signup-form ul {
    list-style: none;
    padding-left: 0;
    margin: 0px -20px 0px 0px;
}

.signup-form .emmaFormInterestBox {
    margin-top: 10px;
}

.signup-form .emmaFormInterestBox td {
    padding-left: 3px;
}

.signup-form .emmaFormInterestBox b {
    font-size: 13px;
    color: #40454F;
    font-weight: bold;
    padding-top: 10px;
}

.signup-form .emmaFormInterestBox input[type="checkbox"] {
    margin-left: 0;
    position: relative;
    left: 3px;
    bottom: 2px;
}

.emmaFormInterestBox .emmaFormLabel:not(:first-child) td {
    padding-top: 0px;
    padding-bottom: 0px;
}

.emmaFormInterestBox .emmaFormLabel:nth-child(2) td {
   padding-top: 5px;
}

/* Quick mobile optimization */

.form-wrapper {
    width: 620px;
    max-width: 100%;
    padding: 0 15px;
    margin: 15px auto 0;
    box-sizing: border-box;
}

.form-top-message {
    margin-bottom: 18px;
}

.field:not(:last-child) {
    margin-bottom: 18px;
}

.form-required {
    text-align: left;
    margin: 12px 0;
}

.form-button {
    text-align: left;
    margin-top: 30px;
}

.signup-form.opt-down-exp .form-image {
    background: #FFF;
    border-bottom: 2px solid #DCE0E6;
    padding: 40px;
    margin-bottom: 30px;
    text-align: center;
}

.form-image img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: auto auto 18px;
}

.signup-form.opt-down-exp .form-image img {
    max-width: 720px !important;
    margin: auto;
}

.emmaFormLabelBold {
    color: #444C54;
}

.signup-form.opt-down-exp .emmaFormLabelBold {
    color: #40454F;
    font-size: 14px;
}

.form-groups .group-label {
    margin-top: 18px;
}

.form-groups .group-field {
    padding-left: 18px;
    margin: 8px 0;
}

.form-groups .group-field-label {
    font-size: 16px;
    color: #444C54;
}

.signup-form.opt-down-exp .form-groups .group-field-label {
    font-size: 14px;
    color: #40454F;
}

.signup-form.opt-down-exp .form-groups .emmaFormLabelBold {
    font-weight: 400;
    margin: 30px 0 20px;
    font-size: 16px;
    display: block;
    color: #40454F;
}

.field-html > ul {
    width: 100%;
    margin-bottom: 18px;
}

#g-recaptcha {
    margin-top: 18px;
}

.opt-down {
    margin-top: 30px;
}

.opt-down .line-break {
    height: 1px;
    width: 100%;
    background-color: #B8BCC2;
    margin-bottom: 40px;
}

.opt-down p {
    color: #40454F;
}

.opt-down-title {
    font-weight: 400;
    color: #40454F;
    font-size: 16px;
}

.opt-down button {
    background-color: #F3F4F6;
    color: #40454F;
    border: 1px solid #B8BCC2;
    border-radius: 3px;
    text-transform: uppercase;
    padding: 0 18px;
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
    transition: all .1s;
    margin-top: 20px;
    height: 24px;
    font-size: 12px;
}

.opt-down button:hover {
    cursor: pointer;
    background-color: #FFF;
    outline: none!important;
}