/* Fonts */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans Regular'), local('OpenSans-Regular'), url(https://fonts.gstatic.com/s/opensans/v15/mem8YaGs126MiZpBA-UFVZ0bf8pkAg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: local('Open Sans Bold'), local('OpenSans-Bold'), url(https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UN7rgOUuhpKKSTjw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/*Form*/
.signup {
    display: flex;
    max-width: 520px;
    height: auto;
    margin: 0 auto;
    padding: 0;
    position: relative;
}
.signup__form {
    flex: 1;
}

.signup .wld-component {
/*    height: 100%;*/
}
.signup .wld-form {
    display: flex;
/*    height: 100%;*/
    flex-direction: row;
}

.signup .wld-form__fields {
    flex: 1;
    display: flex;
    margin: 0 0 6px 0;
}
.wld-form__suffix {
    position: absolute;
    top: 70px;
    font-family: "Open sans", sans-serif;
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
    width: 100%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
.signup .wld-form__actions {
	display: flex;
	justify-content: space-between;
	width: 40%;
	margin-left: 15px;
}
.signup .wld-fieldgroup {
    flex: 1;
    align-self: center;
    display: none;
}

.signup .wld-fieldgroup--active {
    display: block;
}

.signup .wld-field__input {
    display: flex;
}

/* add space between date pickers */
.signup .wld-input + .wld-input {
}

#signup-dobday {
    -webkit-border-radius: 2px 0 0 2px;
    border-radius: 2px 0 0 2px;
}
#signup-dobmonth {
/*    background-color: #ddd;*/
    border-radius: 0;
    border-right: 1px solid #999;

border-left: 1px solid #999;
}
#signup-dobyear {
    -webkit-border-radius: 0 2px 2px 0;
    border-radius: 0 2px 2px 0;
}

.signup .wld-input--select,
.signup .wld-input--text {
    width: 100%
}


/* confirmation fields */
.signup .wld-field--confirm {
    display: flex;
    flex-wrap: wrap;
}

.signup .wld-field--confirm .wld-field__input {
    flex: 0;
    order: 0;
}

.signup .wld-field--confirm .wld-field__caption {
    order: 1;
    flex: 1;
}


/* hide <labels> */
.wld-field:not(.wld-field--confirm) .wld-field__caption {
    position: absolute;
    visibility: hidden;
}

/*--Tooltip--*/
.signup .wld-field__help, .wld-field.wld-field--confirm {
    background: #fff;
    color: #777;
    font-size: 11px;
    font-family: "Open sans", sans-serif;
    font-weight: 400;
    line-height: 13px;
    margin: 0;
    padding: 10px;
    width: 100%;
    height: auto;
    box-shadow: 0 0 4px rgba(0,0,0,.2);
    -webkit-border-radius: 15px;
    border-radius: 15px;
    position: absolute;
    bottom: 80px;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 500px;
}
.signup .wld-field__help::before, .wld-field.wld-field--confirm::before {
    content: '';
    background: #fff;
    width: 1em;
    height: 1em;
    transform: rotate(45deg);
    position: absolute;
    bottom: -4px;
    left: 20px;
}

/* GENERAL INPUT STYING
------------------------------------------------ */
.wld-input {
    font: inherit;
}
.wld-input--text, .wld-input--select {
    display: block;
    color: #333;
    background: #fff;
    width: 100%;
    height: 60px;
    font-size: 16px;
    font-family: "Open sans", sans-serif;
    font-weight: 400;
    padding: 0;
    margin: 0;
    text-indent: 22px;
    border: 0;
    box-shadow: none;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    appearance:none;
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
}

.wld-input--select {
    background: url(../img/form-arrow.svg) no-repeat right #fff;
    background-size: 14px auto;
    background-position: center right+20px;
}

/*--Mozilla Text-indent Fix--*/
@-moz-document url-prefix() {
    .wld-input--text, .wld-input--select {
      text-indent: 10px!important;
    }
}
#signup-dobmonth {
    text-indent: 5px !important;
}

.wld-button {
    display: block;
    background: #000000;
    color: #fff;
    text-shadow: 1px 0 2px rgba(0,0,0,.25);
    font-size: 25px;
    font-family: 'Open sans', sans-serif;
    font-weight: 700;
    margin: 0 auto;
    padding: 21px 0;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 19px;
    height: 60px;
    text-align: center;
    border: 0;
    cursor: pointer;
    width: 100%;
    z-index: 9997;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -webkit-transition: all 200ms ease-in-out 100ms;
    -moz-transition: all 200ms ease-in-out 100ms;
    -ms-transition: all 200ms ease-in-out 100ms;
    -o-transition: all 200ms ease-in-out 100ms;
    transition: all 200ms ease-in-out 100ms;
}

/* ERRORS
------------------------------------------------ */
.wld-error-overlay {
    position: absolute;
    background: #c00;
    font-size: 14px;
    font-family: 'Open sans', sans-serif;
    font-weight: 400;
    padding:.5em;
    margin-top: .75em;
    z-index: 9999;
    max-width: 15em;
    box-shadow: 0 3px 5px rgba(0,0,0,.2);
    border-radius: 4px;
    color: #fff;
    z-index: 9999;
}
.wld-error-overlay::before {
    content: '';
    width: 1em;
    height: 1em;
    transform: rotate(45deg);
    background: inherit;
    position: absolute;
    top: -.5em;
}

/* Placeholder Styling */
input::-webkit-input-placeholder {
    color: #666;
    opacity: 1;
}
input:-moz-placeholder { /* Firefox 18- */
    color: #666;
    opacity: 1;
}
input::-moz-placeholder {  /* Firefox 19+ */
    color: #666;
    opacity: 1;
}
input:-ms-input-placeholder {
    color: #666;
    opacity: 1;
}

/*------------Media Queries------------*/
@media screen and (max-width: 750px) {
    .wld-form__suffix {
        top: 70px;
    }
    .wld-form__suffix p {
        padding: 0 20px;
    }

}
@media screen and (max-width: 483px) {
    .signup .wld-field__help, .wld-field.wld-field--confirm {
        left: 0;
        margin: 0;
        width: 100%;
        max-width: inherit;
        box-sizing: border-box;
    }
    .signup .wld-field__help::before, .wld-field.wld-field--confirm::before {
        left: 0;
        right: 0;
        margin: auto;
    }
}
@media screen and (max-width: 443px) {
    .signup {
        background: none;
        border-radius: 0;
        margin: 32px auto 0 auto;
    }
/*
    .signup .wld-field__help, .wld-field.wld-field--confirm {
        bottom: 162px;
    }
*/
}
@media screen and (max-width: 380px) {
    .signup .wld-form {
        max-width: 300px;
        height: 170px;
        flex-direction: column;
        margin: 0 auto;
    }
    .signup .wld-field__help, .wld-field.wld-field--confirm {
        bottom: 180px;
    }
    .signup .wld-form__actions {
        width: 100%;
        margin: 5px 0 0;
    }
    .wld-form__suffix {
        top: 131px;
        position: inherit;
        margin: 10px auto 0;
        left: inherit;
        transform: inherit;
    }
}
@media screen and (max-width: 360px) {
    #signup-dobday, #signup-dobmonth, #signup-dobyear {
        text-indent: 5px!important;
    }
}
@media screen and (max-width: 340px) {
    #signup-dobmonth {
        letter-spacing: -1px;
    }
}
