﻿/*Form Validation Error******************************************/

.smart-form .invalid {
    color: #A90329;
}

.smart-form .state-error input,
.smart-form .state-error select,
.smart-form .state-error textarea,
.smart-form .radio.state-error i,
.smart-form .checkbox.state-error i,
.smart-form .toggle.state-error i {
    background: #fff0f0;
    border-color: #A90329;
}

.smart-form .toggle.state-error input:checked + i {
    background: #fff0f0;
}

.smart-form .state-error + em {
    display: block;
    margin-top: 6px;
    padding: 0 1px;
    font-style: normal;
    font-size: 11px;
    line-height: 15px;
    color: #D56161;
}

.smart-form .rating.state-error + em {
    margin-top: -4px;
    margin-bottom: 4px;
}

.smart-form .state-error select + i {
    background: #FFF0F0;
    box-shadow: 0 0 0 9px #FFF0F0;
}

.state-error .icon-append,
.state-error .icon-prepend {
    color: #ed1c24;
}

/*Form Validation Success******************************************/

.smart-form .state-success input,
.smart-form .state-success select,
.smart-form .state-success textarea,
.smart-form .radio.state-success i,
.smart-form .checkbox.state-success i,
.smart-form .toggle.state-success i {
    background: #f0fff0;
    border-color: #7DC27D;
}

.smart-form .toggle.state-success input:checked + i {
    background: #f0fff0;
}

.smart-form .note-success {
    color: #6fb679;
}

.smart-form .state-success select + i {
    background: honeyDew;
    box-shadow: 0 0 0 9px honeyDew;
}

.smart-form .input.state-disabled input,
.smart-form .select.state-disabled,
.smart-form .textarea.state-disabled,
.smart-form .radio.state-disabled,
.smart-form .checkbox.state-disabled,
.smart-form .toggle.state-disabled,
.smart-form .button.state-disabled {
    cursor: default !important;
    opacity: 0.6 !important;
}

.smart-form .input.state-disabled:hover input,
.smart-form .select.state-disabled:hover select,
.smart-form .textarea.state-disabled:hover textarea,
.smart-form .radio.state-disabled:hover i,
.smart-form .checkbox.state-disabled:hover i,
.smart-form .toggle.state-disabled:hover i {
    border-color: #e5e5e5 !important;
}

.smart-form .state-disabled.radio input:checked + i,
.smart-form .state-disabled.checkbox input:checked + i,
.smart-form .state-disabled.toggle input:checked + i,
.smart-form .state-disabled.checkbox input + i:after,
.smart-form .state-disabled.radio input + i:after {
    border-color: #e5e5e5 !important;
    color: #333 !important;
}

.smart-form .state-disabled.radio input + i:after {
    background-color: #333;
}
