.jsform {
}

/* Form styling
-----------------*/
form {
    margin: 0;
    padding: 0;
}

.form li {
    margin: 0 2px 5px;
    display: block;
    position: relative;
    z-index: 1;
}

/* fieldsets */
fieldset {
    border: none;
    margin: 8px 0 0;
    padding: 0;
}

.legend {
    border-bottom: 1px solid #ddd;
    color: #333;
    display: block;
    font-size: 14px;
    font-weight: normal;
    margin: 0 2px 7px;
    padding: 0 0 3px;
}

.required .legend {
    font-weight: bold;
}

.legend .optionalMark {
    color: #767676;
    font-size: 10px;
    font-style: normal;
}

/* Standard Form and Javascript Form
--------------------------------------- */
.form .text input,
.form .email input,
.form .password input,
.jsform .form .text .field,
.jsform .form .email .field,
.jsform .form .password .field {
    background: #fff;
    border: 1px solid #a8a8a8;
    border-radius: 2px;
    font-size: 12px;
    height: 26px;
    line-height: 26px;
    position: relative;
}

/* Standard Form
------------------------------------ */
.form .text label,
.form .email label,
.form .password label,
.form .select label,
.form .text .optionalMark,
.form .email .optionalMark,
.form .password .optionalMark,
.form .select .optionalMark,
.form .textarea .optionalMark {
    color: #555;
    display: inline-block;
    line-height: 28px;
    zoom: 1.0;
}

/* show/hide label */
label.hide-label {
    height: 0;
    left: 0;
    overflow: hidden;
    position: absolute;
    text-align: left;
    text-indent: 100%;
    top: 0;
    width: 0;
}

.form .text label,
.form .email label,
.form .password label,
.form .select label {
    width: 100px;
}

.form .text .optionalMark,
.form .email .optionalMark,
.form .password .optionalMark,
.form .select .optionalMark,
.form .textarea .optionalMark {
    color: #767676;
}

/* Std Text inputs */
.form .text input,
.form .email input,
.form .password input {
    display: inline-block;
    zoom: 1.0;
}

.form .text.active,
.form .email.active,
.form .password.active {
    z-index: 100;
}

.form .text:hover input,
.form .email:hover input,
.form .password:hover input,
.form .text.active input,
.form .email.active input,
.form .password.active input {
    border-color: #5f96d4;
}

.form .text:hover label,
.form .email:hover label,
.form .password:hover label {
    color: #555;
}

.form .text input,
.form .email input,
.form .password input {
    font-size: 12px;
    line-height: 26px;
    padding: 0 10px;
    position: relative;
    width: 200px;
}

/* Std Textareas */
.form textarea {
    background: #fff;
    border: 1px solid #a8a8a8;
    border-radius: 2px;
    -moz-box-sizing: border-box; /* ff2 */
    -ms-box-sizing: border-box; /* ie8 */
    -webkit-box-sizing: border-box; /* safari3 */
    box-sizing: border-box; /* css3 rec */
    display: block;
    font: normal 12px Arial, Helvetica, sans-serif;
    max-width: 100%;
    overflow: auto;
    padding: 10px;
    resize: none;
    width: 100%;
}

.form textarea:hover, .form textarea.active {
    border-color: #5f96d4;
}

/* Std Select Fields */
.form li.select {
    display: block;
    padding: 2px 0;
}

/* Errors */
.form .text.error input,
.form .email.error input,
.form .password.error input,
.form .error textarea {
    background: #ffdede;
    border-color: #f00;
}

.form .text.error:hover input,
.form .email.error:hover input,
.form .password.error:hover input,
.form .error textarea:hover,
.form .text.error.active input,
.form .email.error.active input,
.form .password.error.active input,
.form .error.active textarea:hover {
    border-color: #a00;
}

.form .error select {
    box-shadow: 0 0 2px 2px rgba(255, 0, 0, 1);
    color: #c00;
}

/**
 * Webkit select field hack
 * Webkit doesn't allow text color, box shadow, etc. on select fields
 */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .form select:focus, .form select:active {
        outline: solid;
        outline-width: 1px;
        outline-color: #5f96d4;
    }

    .form .select.error {
        background: #f00;
        background: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(255, 0, 0, 0)), color-stop(15%, rgba(255, 0, 0, 1)), color-stop(20%, rgba(255, 0, 0, 0)), color-stop(80%, rgba(255, 0, 0, 0)), color-stop(85%, rgba(255, 0, 0, 1)), to(rgba(255, 0, 0, 0)));
        background: -webkit-linear-gradient(top, rgba(255, 0, 0, 0), rgba(255, 0, 0, 1) 15%, rgba(255, 0, 0, 0) 20%, rgba(255, 0, 0, 0) 80%, rgba(255, 0, 0, 1) 85%, rgba(255, 0, 0, 0));
        background: linear-gradient(top, rgba(255, 0, 0, 0), rgba(255, 0, 0, 1) 15%, rgba(255, 0, 0, 0) 20%, rgba(255, 0, 0, 0) 20%, rgba(255, 0, 0, 1) 85%, rgba(255, 0, 0, 0));
        border-radius: 7px;
        -webkit-border-radius: 7px;
    }
}

/* Javascript Form
------------------------------------ */
.jsform fieldset .legend {
    border-bottom: none;
    line-height: 20px;
    margin: 0 2px 4px;
    padding: 0;
}

/* JS Text inputs */
.jsform .form .text .field,
.jsform .form .email .field,
.jsform .form .password .field {
    display: block;
}

.jsform .form .text:hover .field,
.jsform .form .email:hover .field,
.jsform .form .password:hover .field,
.jsform .form .text.active .field,
.jsform .form .email.active .field,
.jsform .form .password.active .field {
    border-color: #5f96d4;
}

.jsform .form .text label,
.jsform .form .email label,
.jsform .form .password label {
    color: #767676;
    line-height: 28px;
    position: absolute;
    top: 0;
    left: 12px;
    z-index: 10;
    width: auto;
}

.jsform .form .text.active:hover label,
.jsform .form .email.active:hover label,
.jsform .form .password.active:hover label,
.jsform .form .text.active label,
.jsform .form .email.active label,
.jsform .form .password.active label {
    color: #ccc;
}

.jsform .form .text .optionalMark,
.jsform .form .email .optionalMark,
.jsform .form .password .optionalMark,
.jsform .form .textarea .optionalMark {
    color: #767676;
    line-height: 28px;
    position: absolute;
    top: 0;
    right: 10px;
    z-index: 10;
}

.jsform .form .text:hover label,
.jsform .form .email:hover label,
.jsform .form .password:hover label {
    color: #555;
}

.jsform .form .text input,
.jsform .form .email input,
.jsform .form .password input {
    background: none;
    border: none;
    -moz-box-sizing: border-box; /* ff2 */
    -ms-box-sizing: border-box; /* ie8 */
    -webkit-box-sizing: border-box; /* safari3 */
    box-sizing: border-box; /* css3 rec */
    font-size: 12px;
    height: 100%;
    line-height: 26px;
    max-width: 100%;
    padding: 0 10px;
    position: relative;
    width: 100%;
    z-index: 20;
}

/* JS Select Fields */
.jsform .form li.select {
    display: block;
}

.jsform .form li.select label {
    display: none;
}

.jsform .form li.select select {
    width: 100%;
}

/* JS Inline fields */
.jsform .form li.inline {
    display: inline-block;
    vertical-align: middle;
    zoom: 1.0;
}

.jsform .form li.inline .field {
    display: inline-block;
    zoom: 1.0;
}

.jsform .form li.inline input {
    max-width: none;
}

/* Error */
.jsform .form .error textarea,
.jsform .form .text.error .field,
.jsform .form .email.error .field,
.jsform .form .password.error .field {
    background: #ffdede;
    border-color: #d00;
    box-shadow: 0 0 1px 1px rgba(255, 0, 0, 0.5);
}

.jsform .form .select.error select {
    box-shadow: 0 0 2px 2px rgba(255, 0, 0, 1);
}

.jsform .form .error.active textarea:hover,
.jsform .form .text.error:hover .field,
.jsform .form .email.error:hover .field,
.jsform .form .password.error:hover .field,
.jsform .form .text.error.active .field,
.jsform .form .email.error.active .field,
.jsform .form .password.error.active .field {
    border-color: #c00;
}

.jsform .form .text.error label,
.jsform .form .email.error label,
.jsform .form .password.error label {
    color: #c00;
}

.jsform .form .text.error:hover label,
.jsform .form .email.error:hover label,
.jsform .form .password.error:hover label {
    color: #a00;
}

.jsform .form .text.active.error:hover label,
.jsform .form .email.active.error:hover label,
.jsform .form .password.active.error:hover label,
.jsform .form .text.error.active label,
.jsform .form .email.error.active label,
.jsform .form .password.error.active label {
    color: #e59e9e;
}

.jsform .form .text.error .field::after,
.jsform .form .email.error .field::after,
.jsform .form .password.error .field::after {
    background: url('https://media.sweetwater.com/include/form/images/form-sprite.png') no-repeat 0 -629px;
    color: #fff;
    content: '';
    display: block;
    height: 16px;
    line-height: 14px;
    margin: -9px 5px 2px 0;
    position: absolute;
    right: 2px;
    top: 50%;
    text-align: center;
    vertical-align: middle;
    width: 16px;
}

.jsform .form .text.error .optionalMark,
.jsform .form .email.error .optionalMark,
.jsform .form .password.error .optionalMark {
    right: 26px;
}

/* Checkbox groups and radio groups */
.checkgroup,
.radiogroup,
.fieldgroup,
.highlightgroup,
.tooltip {
    background: #f2f1f0;
    border: 1px solid;
    border-color: #dfdfdf;
    border-radius: 5px;
    margin-left: 2px;
    margin-right: 2px;
    padding: 7px 10px 5px;
}

.checkgroup .legend,
.radiogroup .legend,
.fieldgroup .legend,
.highlightgroup .legend,
.jsform .checkgroup .legend,
.jsform .radiogroup .legend,
.jsform .fieldgroup .legend,
.jsform .highlightgroup .legend {
    border-bottom: 1px solid #cacaca;
    margin: 0 0 8px;
    padding: 0 0 4px;
}

.checkgroup .note,
.radiogroup .note,
.fieldgroup .note,
.highlightgroup .note {
    color: #808080;
    display: block;
    font-size: 11px;
    margin-left: 25px;
}

.highlightgroup,
.tooltip {
    background: #fffde4;
    border-color: #eac15e #eac15e #d3ad54;
}

.highlightgroup .legend {
    border-color: #f4dea2 !important;
}

/* Tooltips
-------------*/
.tooltip,
.checkgroup .tooltip,
.radiogroup .tooltip,
.fieldgroup .tooltip,
.highlightgroup .tooltip {
    color: #333;
    display: block;
    margin: 4px 0 0 100px;
    padding: 10px;
    position: relative;
    z-index: 100;
}

.jsform .tooltip {
    box-shadow:
        inset 0 1px 0 #fff,
        inset -1px 0 0 #fff,
        inset 0 -1px 0 #fff,
        inset 1px 0 0 #fff,
        0 2px 5px rgba(0, 0, 0, 0.4);
    display: none;
    margin-left: 0;
    position: absolute;
    z-index: 100;
}

.jsform .tooltip.active {
    display: block;
}

.jsform .tooltip::before,
.jsform .tooltip::after {
    border-color: #fffdf0 transparent;
    border-style: solid;
    border-width: 0 9px 9px;
    content: '';
    position: absolute;
    top: -9px; /* value = - border-top-width - border-bottom-width */
    right: auto;
    bottom: auto;
    left: 17px;
    display: block;
    width: 0;
}

.jsform .tooltip::before {
    border-color: #eac15e transparent;
    border-width: 0 10px 10px;
    top: -10px;
    left: 16px;
}

/* Spinner
------------*/
.spinner {
    color: #444;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
    padding: 0;
    text-align: center;
}

.spinnerWrap {
    background: #fff;
    border: 1px solid #a1a1a1;
    border-bottom-color: #949494;
    border-radius: 2px;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
    height: 22px;
    width: 58px;
    text-align: left;
}

.spinnerWrap .spinner,
.spinnerWrap .spinControls {
    display: inline-block;
    *display: inline;
    vertical-align: top;
    zoom: 1.0;
}

.spinnerWrap .spinner {
    -webkit-appearance: none;
    background: none;
    border: none;
    border-radius: 2px 0 0 2px;
    box-shadow: inset -1px 0 2px rgba(0, 0, 0, 0.2);
    color: #444;
    font-size: 14px;
    font-weight: bold;
    height: 100%;
    line-height: 20px;
    padding: 0;
    text-align: center;
    width: 42px;

    /* IE7 and under */
    float: left;
}

.spinnerWrap .spinControls {
    border-left: 1px solid #a1a1a1;
    height: 100%;
    width: 15px;
}

.spinnerWrap .spinUp,
.spinnerWrap .spinDown {
    background-color: #e6e6e6;
    background-image: url('https://media.sweetwater.com/include/form/images/form-sprite.png');
    background-repeat: no-repeat;
    cursor: pointer;
    display: block;
    overflow: hidden;
    position: relative;
    text-align: left;
    text-indent: -99999px;
    width: 100%;

    /* IE7 and under */
    float: left;
}

.spinnerWrap .spinUp:hover,
.spinnerWrap .spinUp:focus,
.spinnerWrap .spinDown:hover,
.spinnerWrap .spinDown:focus {
    background-color: #cecece;
    background-image: url('https://media.sweetwater.com/include/form/images/form-sprite.png');
    background-repeat: no-repeat;
}

.spinnerWrap .spinUp {
    background-position: 4px -287px, 0 0;
    border-bottom: 1px solid #949494;
    box-shadow:
        inset 0 1px 0 #fff,
        inset -1px 0 0 #fff,
        inset 1px 0 0 #fff;
    height: 10px;
}

.spinnerWrap .spinUp:hover,
.spinnerWrap .spinUp:focus {
    box-shadow:
        inset 0 1px 0 #e3e3e3,
        inset -1px 0 0 #e3e3e3,
        inset 1px 0 0 #e3e3e3;
}

.spinnerWrap .spinUp:active {
    box-shadow: none;
}

.spinnerWrap .spinDown {
    background-position: 4px -366px, 0 0;
    box-shadow:
        inset 0 1px 0 #fff,
        inset -1px 0 0 #fff,
        inset 0 -1px 0 #fff,
        inset 1px 0 0 #fff;
    height: 11px;
}

.spinnerWrap .spinDown:hover,
.spinnerWrap .spinDown:focus {
    box-shadow:
        inset 0 1px 0 #e3e3e3,
        inset -1px 0 0 #e3e3e3,
        inset 0 -1px 0 #e3e3e3,
        inset 1px 0 0 #e3e3e3;
}

.spinnerWrap .spinDown:active {
    box-shadow: none;
}

.native_spinner {
    border: 1px solid;
    border-color: #9f9f9f #c1c1c1 #c1c1c1 #9f9f9f;
    border-radius: 2px;
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.25);
    width: 60px;
}

/* iOS */
.ios .spinnerWrap {
    height: 32px;
    width: 68px;
}

.ios .spinnerWrap .spinControls {
    width: 25px;
}

.ios .spinnerWrap .spinUp {
    height: 15px;
}

.ios .spinnerWrap .spinDown {
    height: 16px;
}

/* Buttons
------------*/
.button {
    border: 1px solid;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
    position: relative;
    text-align: center;
    text-decoration: none !important;
    zoom: 1.0;
    -webkit-appearance: none;
}

.button button, .button input {
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    -moz-box-sizing: border-box; /* ff2 */
    -ms-box-sizing: border-box; /* ie8 */
    -webkit-box-sizing: border-box; /* safari3 */
    box-sizing: border-box; /* css3 rec */
    color: inherit;
    cursor: pointer;
    display: block;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    height: 100%;
    margin: 0;
    overflow: visible;
    padding: 0;
    position: relative;
    z-index: 10;
    text-shadow: inherit;
    width: 100%;
    *width: auto;
    -webkit-appearance: none;
}

button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* Darts */
.jsform .button.smdart::after,
.jsform .button.meddart::after,
.jsform .button.lgdart::after {
    background: url('https://media.sweetwater.com/include/form/images/form-sprite.png') no-repeat;
    content: '';
    cursor: pointer;
    display: inline-block;
    height: 100%;
    margin-left: 5px;
    vertical-align: middle;
    zoom: 1.0;
}

.jsform .button.smdart::after {
    background-position: -4px 1px;
    height: 9px;
    width: 5px;
}

.jsform .button.meddart::after {
    background-position: -3px -91px;
    height: 11px;
    width: 6px;
}

.jsform .button.lgdart::after {
    background-position: -2px -170px;
    height: 13px;
    width: 7px;
}

/* Grey Button */
.greybutton {
    background: #e6e6e6;
    border-color: #a2a2a2 #a2a2a2 #929292;
    color: #333 !important;
    overflow: hidden;
}

.greybutton button, .greybutton input {
    color: inherit;
}

.greybutton:hover,
.greybutton:focus {
    background: #cecece;
    border-color: #929292 #929292 #828282;
    color: #000;
}

.greybutton:active {
    border-color: #a2a2a2;
    color: #474747;
}

/* Blue Button */
.bluebutton {
    background: #0072ba;
    border-color: #0072ba;
    color: #fff !important;
    overflow: hidden;
}

.bluebutton:hover, .bluebutton:focus {
    background: #05629c;
    border-color: #05629c;
    color: #fff;
}

.bluebutton:active {
    background: #095482;
    border-color: #095482;
    color: #fff;
}

.bluebutton:focus-visible {
    outline-offset: 3px;
}

/* Red Button */
.redbutton,
.redbtn {
    background: #d54140;
    border-color: #d54140;
    color: #fff !important;
}

.redbutton button,
.redbutton input,
.redbtn button,
.redbtn input {
    color: #fff;
}

.redbutton:hover,
.redbutton:focus,
.redbutton:focus-within,
.redbtn:hover,
.redbtn:focus,
.redbtn:focus-within {
    background: #c73e3e;
    border-color: #c73e3e;
}

.redbutton:active,
.redbtn:active {
    background: #ba3a3a;
    border-color: #ba3a3a;
}

/* Green Button */
.greenbutton,
.greenbtn {
    background: #3b7d1a;
    border-color: #3b7d1a;
    color: #fff !important;
}

.greenbutton button,
.greenbutton input,
.greenbtn button,
.greenbtn input {
    color: inherit;
    text-shadow: inherit;
}

.greenbutton:hover,
.greenbutton:focus,
.greenbutton:focus-within,
.greenbtn:hover,
.greenbtn:focus,
.greenbtn:focus-within {
    background: #316916;
    border-color: #316916;
}

.greenbutton:active,
.greenbtn:active {
    background: #3b7d1a;
    border-color: #3b7d1a;
}

/* Green Submit button */
.greenbutton.submit {
    border-radius: 5px;
    font-size: 16px;
    height: 30px;
    line-height: 33px;
    margin: 0;
    position: relative;
}

.greenbutton.submit button,
.greenbutton.submit input {
    padding: 0 15px;
    text-transform: uppercase;
}

.jsform .greenbutton.submit button,
.jsform .greenbutton.submit input {
    padding: 0 33px 0 15px;
}

.jsform .greenbutton.submit::after {
    border-left: 1px solid #156100;
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.2);
    content: '\e601';
    font: 12px/30px 'sw-icons';
    height: 30px;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 5;
    width: 19px;
}

.jsform .greenbutton.submit:hover::after {
    border-left-color: #0e5228;
}

.jsform .greenbutton.submit:active::after {
    border-left-color: #0f4700;
}

/* Reveal Button */
.revealbutton {
    border: 1px solid #333;
    background: #161616;
    -moz-background-clip: border-box;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -moz-background-origin: border-box;
    -webkit-background-origin: border-box;
    background-origin: border-box;
    border-radius: 6px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.5);
    color: #fff;
    cursor: pointer;
    display: none;
    font-weight: bold;
    height: 28px;
    line-height: 28px;
    margin-left: -36px;
    position: absolute;
    top: -35px;
    left: 50%;
    z-index: 30;
    text-align: center;
    text-shadow: 0 -1px 0 #000;
    width: 70px;
}

.revealbutton::before,
.revealbutton::after {
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #161616 transparent;
    content: '';
    cursor: pointer;
    margin-left: -7px;
    position: absolute;
    bottom: -8px;
    left: 50%;
    display: block;
    width: 0;
}

.revealbutton::before {
    border-color: #333 transparent;
    bottom: -9px;
}

/* Password Strength Meter */
.password_strength {
    background: #fff;
    border: 1px solid;
    border-color: #bbb #bbb #999;
    border-radius: 5px;
    box-shadow:
        inset 0 1px 0 #fff,
        inset -1px 0 0 #fff,
        inset 0 -1px 0 #fff,
        inset 1px 0 0 #fff,
        0 2px 5px rgba(0, 0, 0, 0.4);
    display: block;
    font-size: 12px;
    padding: 7px 8px 5px;
    position: absolute;
    right: -16px;
    top: -10px;
    width: 200px;
    z-index: 100;
}

.jsform .password_strength {
    display: none;
    padding-left: 10px;
    padding-right: 10px;
    width: 214px;
}

.password_strength strong {
    display: block;
    font-size: 14px;
    margin: 0 0 5px;
    padding: 0;
}

.password_strength p {
    font-size: 12px !important;
    line-height: normal !important;
    margin: 5px 0 !important;
    padding: 0 !important;
}

.password_strength ul {
    list-style: disc;
    margin: 0;
    padding: 0 0 0 16px;
}

.password_strength li {
    color: #777;
    display: list-item;
    margin: 0;
}

.jsform .password_strength ul {
    list-style: none;
    padding: 0;
}

.jsform .password_strength strong {
    padding: 0 0 0 14px;
}

.jsform .password_strength p {
    padding: 0 0 0 14px !important;
}

.jsform .password_strength li {
    background: url('https://media.sweetwater.com/include/myaccount/images/password-strength-2.gif') no-repeat 0 -57px;
    color: #777;
    display: block;
    padding: 2px 0 2px 16px;
}

.jsform .password_strength .match {
    background-position: 0 3px;
    color: #119615;
}

/* Password strength dart (right) */
.jsform .password_strength::before,
.jsform .password_strength::after {
    border-color: transparent #fff;
    border-style: solid;
    border-width: 12px 12px 12px 0;
    content: '';
    margin-top: -11px;
    position: absolute;
    top: 50%;
    right: auto;
    bottom: auto;
    left: -12px;
    display: block;
    width: 0;
}

.jsform .password_strength::before {
    border-color: transparent #aaa;
    border-width: 13px 13px 13px 0;
    left: -13px;
    margin-top: -12px;
}

/* Password strength dart Left */
.jsform .password_strength.left::after {
    border-width: 12px 0 12px 12px;
    right: -12px;
    left: auto;
}

.jsform .password_strength.left::before {
    border-width: 13px 0 13px 13px;
    right: -13px;
    left: auto;
}

/* Password strength dart Top */
.jsform .password_strength.top::after {
    border-color: #fff transparent;
    border-width: 12px 12px 0;
    margin-left: -12px;
    top: auto;
    right: auto;
    bottom: -12px;
    left: 50%;
}

.jsform .password_strength.top::before {
    border-color: #aaa transparent;
    border-width: 13px 13px 0;
    margin-left: -13px;
    top: auto;
    right: auto;
    bottom: -13px;
    left: 50%;
}
