/**
 * # Membership Forms Css
 **/

.yz-form .yz-form-header {
    position: relative;
}

.yz-form .yz-form-cover {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-position: center;
}

.yz-custom-cover {
    background-size: cover;
}

.yz-form .form-cover-title {
    bottom: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 200;
    line-height: 26px;
    padding: 5px 15px;
    position: absolute;
    margin: 0 45px 25px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.45);
}

.yz-form .form-title {
    padding: 45px;
    text-align: center;
}

.yz-form .form-title h2 {
    margin: 0;
    color: #898989;
    font-size: 16px;
    font-weight: 200;
    line-height: 24px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.yz-form .yz-form-desc {
    color: #abaaaa;
    font-size: 13px;
    margin-top: 12px;
    line-height: 24px;
    display: inline-block;
    text-transform: capitalize;
}

.yz-page-box {
    padding: 50px 0;
}

.yz-form {
    width: 90%;
    margin: 0 auto;
    max-width: 500px;
    overflow: hidden;
    background-color: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 2px 10px rgb(226, 226, 226);
    -moz-box-shadow: 0 2px 10px rgb(226, 226, 226);
    box-shadow: 0 2px 10px rgb(226, 226, 226);
}

.yz-form form {
    margin: auto;
    overflow: hidden;
    padding: 35px 45px;
}

/* Form Labels */

.yz-form-item label {
    font-size: 13px;
    color: #898989;
}

.yz-with-labels .yz-form-item label {
    display: block;
    font-weight: 400;
    margin-bottom: 12px;
    text-transform: capitalize;
}

.yz-with-labels.yz-border-rounded .yz-form-item label {
    margin-left: 15px;
}

.yz-with-labels .yz-form-item {
    margin-bottom: 25px;
}

.yz-no-labels .yz-form-item {
    margin-bottom: 25px;
}

/* Fields Icons */

.yz-fields-icon .yz-field-icon {
    width: 42px;
    height: 42px;
    color: #949494;
    line-height: 42px;
    text-align: center;
}

.yz-fields-icon.yz-border-rounded.yz-icons-right.yz-nobg-icons .yz-field-icon i {
    padding-right: 8px;
}

.yz-fields-icon.yz-border-rounded.yz-icons-right.yz-silver-icons .yz-field-icon i {
    padding-right: 4px;
}

.yz-fields-icon.yz-border-rounded.yz-icons-left.yz-nobg-icons .yz-field-icon i {
    padding-left: 8px;
}

.yz-fields-icon.yz-border-rounded.yz-icons-left.yz-silver-icons .yz-field-icon i {
    padding-left: 4px;
}

.yz-fields-icon.yz-icons-right.yz-nobg-icons .yz-form-item input:not([type="checkbox"]) {
    padding-right: 0;
}

.yz-fields-icon.yz-silver-icons .yz-field-icon {
    background-color: #eee;
}

.yz-fields-icon.yz-nobg-icons .yz-field-icon {
    background-color: transparent;
}

.yz-fields-icon .yz-form-item input:not([type='checkbox']) {
    width: calc( 100% - 42px );
}

.yz-form .yz-icons-left.yz-nobg-icons .yz-form-item input:not([type='checkbox']) {
    padding-left: 0;
}

/* Buttons Icons */

.yz-buttons-icons.yz-border-rounded.yz-icons-right .yz-button-icon i {
    padding-right: 4px;
}

.yz-buttons-icons.yz-border-rounded.yz-icons-left .yz-button-icon i {
    padding-left: 4px;
}

.yz-buttons-icons.yz-icons-left .yz-button-icon,
.yz-fields-icon.yz-icons-left .yz-field-icon {
    float: left;
}

.yz-buttons-icons.yz-icons-right .yz-button-icon,
.yz-fields-icon.yz-icons-right .yz-field-icon {
    float: right;
}

/* Fields Borders */

.yz-full-border .yz-field-content {
    border: 1px solid #eee;
}

.yz-bottom-border .yz-field-content {
    border-bottom: 1px solid #eee;
}

.yz-form-item input:not([type='checkbox']):focus {
    color: #959697;
}

.yz-form-item input:not([type='checkbox']) {
    width: 100%;
    min-height: 42px;
    line-height: 42px;
    padding: 0 18px;
    color: #959697;
    font-size: 13px;
    border:none;
    border-radius: initial;
    background: transparent;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Checkbox Field. */

.yz_checkbox_field {
    font-size: 18px;
    position: relative;
    display: block;
    margin-bottom: 15px;
    padding-right: 30px;
    cursor: pointer;
}

.yz_checkbox_field input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.yz_field_indication {
    right: 0;
    top: -2px;
    width: 20px;
    height: 20px;
    position: absolute;
    background: transparent;
    border: 1px solid #d8d8d8;
}

.yz_field_indication:after {
    position: absolute;
    display: none;
    content: '';
}

.yz_checkbox_field input:checked ~ .yz_field_indication:after {
    display: block;
}

.yz_checkbox_field .yz_field_indication:after {
    top: 4px;
    left: 8px;
    width: 3px;
    height: 8px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    border: solid #a09e9e;
    border-width: 0 2px 2px 0;
}

/* Remember Me Field */

.yz-form .yz-remember-me {
    border: none;
    margin: 30px 0 0;
}

.yz-remember-me:after {
    content: "";
    clear: both;
    display: table;
}

.yz-remember-me .yz-item-content {
    float: right;
}

.yz-form .yz-remember-me label {
    display: inline-block;
    margin-bottom: 0 !important;
}

.yz-remember-me .yz-forgot-password {
    float: left;
    margin-top: 3px;
}

/* Lost Password Field */

.yz-forgot-password {
    color: #898989;
    display: table;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.yz-form-actions .yz-forgot-password {
    padding: 30px 0 0;
    margin: 0 auto;
    overflow: hidden;
}

.yz-one-button .yz-link-button:hover,
.yz-forgot-password:hover {
    color: #666;
}

/* Form Actions */

.yz-form-actions {
    margin-top: 30px;
}

.yz-form .yz-form-actions button {
    color: #fff;
    background-color: #45b3e4;
    font-family: sahel, sans-serif, Tahoma, Verdana !important !important;
}

.yz-link-item {
    line-height: 0;
}

.yz-link-button {
    color: #fff;
    display: inline-block;
    text-decoration: none;
    background-color: #8fce46;
}

/* One Button */

.yz-form .yz-one-button .yz-link-item .yz-button-icon {
    float: none;
    width: 25px;
    display: inline-block;
    background-color: transparent;
}

.yz-one-button .yz-link-button {
    color: #898989;
    background-color: transparent;
}

.yz-form .yz-link-button,
.yz-form .yz-form-actions button {
    padding: 0;
    border: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 0;
    text-align: center;
    position: relative;
    text-transform: uppercase;
}

.yz-form .yz-link-button:hover,
.yz-form .yz-form-actions button:hover {
    opacity: 0.9;
}

.yz-form-actions .yz-button-icon {
    text-align: center;
    background-color: rgba(0,0,0,0.1)
}

.yz-form-actions.yz-border-rounded button,
.yz-form-actions.yz-border-rounded .yz-link-button,
.yz-with-labels.yz-border-rounded .yz-field-content,
.yz-no-labels.yz-border-rounded .yz-field-content {
    overflow: hidden;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
}

.yz-form-actions.yz-border-radius button,
.yz-form-actions.yz-border-radius .yz-link-button,
.yz-with-labels.yz-border-radius .yz-field-content,
.yz-no-labels.yz-border-radius .yz-field-content {
    overflow: hidden;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
}

/* Button Styles */

.yz-silver-inputs .yz-form-item .yz-field-content {
    background: #f1f1f1;
}

.yz-action-item .yz-link-button {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Full Width Button */

.yz-fullwidth-button .yz-action-item button,
.yz-fullwidth-button .yz-action-item a {
    width: 100%;
}

.yz-fullwidth-button .yz-action-item a {
    margin-top: 12px;
}

.yz-fullwidth-button .yz-button-icon {
    width: 55px;
    height: 55px;
    line-height: 55px;
}

.yz-fullwidth-button .yz-link-button,
.yz-fullwidth-button button {
    height: 55px;
    line-height: 55px;
}

/* Half Width Button */

.yz-halfwidth-button .yz-action-item {
    float: left;
    width: 50%;
}

.yz-halfwidth-button .yz-action-item button,
.yz-halfwidth-button .yz-action-item a {
    width: 100%;
}

.yz-halfwidth-button .yz-submit-item .yz-item-inner {
    margin-right: 12.5px;
}

.yz-halfwidth-button .yz-link-item .yz-item-inner  {
    margin-left: 12.5px;
}

.yz-halfwidth-button .yz-link-button,
.yz-halfwidth-button button {
    height: 45px;
    line-height: 45px;
}

.yz-halfwidth-button .yz-button-icon {
    width: 45px;
    height: 45px;
    line-height: 45px;
}

/* Page Box Form Messages */

.yz-form .yz-form-message p {
    color: #8f8f8f;
    font-size: 13px;
    text-align: right;
    line-height: 24px;
    padding: 8px 15px;
    margin: 0 0 10px 0;
    background-color: #eee;
}

.yz-form .yz-form-message p:last-of-type {
    margin-bottom: 0;
}

.yz-form .yz-form-message p a {
    color: #FFEE58;
    text-decoration: none;
}

.yz-form .yz-form-message p strong {
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 5px;
}

/* Error Messages */

.yz-with-header.yz-form-msgs .yz-error-msg {
    padding: 35px 35px 0;
    border-top: 10px solid #f44336;
}

.yz-with-header.yz-form-msgs .yz-info-msg {
    padding: 35px 35px 0;
    border-top: 10px solid #45b3e4;
}

.yz-form .yz-error-msg p {
    border-right: 4px solid #FB5B4F;
}

.yz-form .yz-error-msg strong {
    color: #F44336;
}

/* Success Messages */

.yz-with-header.yz-form-msgs .yz-success-msg {
    padding: 35px 35px 0;
    border-top: 10px solid #afe371;
}

.yz-form .yz-success-msg p {
    padding: 15px 25px;
    border-right: 6px solid #afe371;
}

.yz-form .yz-success-msg strong {
    color: #8fce46;
}

.yz-success-msg .yz-link-button {
    display: table;
    margin: auto;
    color: #fff;
    background-color: #afe371;
}

/* Information Messages */

.yz-form .yz-info-msg p {
    border-left: 4px solid #45b3e4;
}

.yz-form .yz-info-message p strong {
    color: #40abda;
}

/* No Header Css */

.yz-no-header form {
    padding-top: 0;
}

.yz-no-header.yz-form-msgs .yz-form-message {
    padding: 0 35px 45px;
}

/**
 * Mutual CSS.
 */

.yz-form .yz-form-cover .form-cover-title,
.yz-form-item .yz-item-content label,
.yz-form-item .yz-item-content input,
.yz-form .yz-form-message p,
.yz-form-actions button,
.yz-form .yz-form-desc,
.yz-form .form-title h2,
.yz-forgot-password,
.yz-form-note,
.yz-link-button {
    font-family: sahel, sans-serif, Tahoma, Verdana !important ;
 }

.yz-form .form-cover-title {
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
}

.yz-form input:focus,
.yz-form select:focus,
.yz-form textarea:focus,
.yz-form button:focus {
    outline: none;
}

/* Form Note */

.yz-form-note {
    margin: 0;
    padding: 0;
    color: #898989;
    font-size: 13px;
    line-height: 24px;
}

.yz-form-note strong {
    font-weight: 600;
}

.yz-lost-password-page .yz-form-note {
    margin-bottom: 30px;
}

/* ReCaptcha */

.yz-recaptcha-container {
    margin-top: 25px;
}

/* Change Autocomplete styles in Chrome */
.yz-form input:-webkit-autofill,
.yz-form input:-webkit-autofill:hover,
.yz-form input:-webkit-autofill:focus
.yz-form input:-webkit-autofill,
.yz-form textarea:-webkit-autofill,
.yz-form textarea:-webkit-autofill:hover
.yz-form textarea:-webkit-autofill:focus,
.yz-form select:-webkit-autofill,
.yz-form select:-webkit-autofill:hover,
.yz-form select:-webkit-autofill:focus {
  border: none;
  -webkit-text-fill-color: #898989;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset;
  transition: background-color 5000s ease-in-out 0s;
}

/* Place Holder Css */

.yz-form-item .yz-item-content input::-webkit-input-placeholder {
    font-family: sahel, sans-serif, Tahoma, Verdana !important;
    color: #9E9E9E;
    text-transform: capitalize;
}

.yz-form-item .yz-item-content input::-moz-placeholder {
    font-family: sahel, sans-serif, Tahoma, Verdana !important;
    color: #8AAEBF;
    text-transform: capitalize;
}

.yz-form-item .yz-item-content input::-ms-input-placeholder {
    font-family: sahel, sans-serif, Tahoma, Verdana !important;
    color: #8AAEBF;
    text-transform: capitalize;
}

/**
 * Widgets
 */

.yz-login-widget,
.yz-register-widget {
    margin-bottom: 35px;
    display: block !important;
}

.yz-login-widget .yz-form form,
.yz-register-widget .yz-form form {
    padding: 25px;
}

/**
 * Responsive Css
 */

@media screen and ( max-width: 475px ) {

    .yz-remember-me .yz-forgot-password,
    .yz-remember-me .yz-item-content {
        float: none;
    }

    .yz-remember-me .yz-forgot-password {
        display: block;
        margin-top: 30px;
        text-align: center;
    }

}

.yz-field-content input[type="password"] {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    text-align: right !important;
    display: block;
    min-width: 250px;
}