
input[type="text"].form-control,
input[type="password"].form-control,
input[type="date"].form-control,
input[type="datetime"].form-control,
input[type="email"].form-control,
input[type="number"].form-control,
input[type="search"].form-control,
input[type="tel"].form-control,
input[type="time"].form-control,
input[type="url"].form-control,
select.form-control,
textarea.form-control {
    height: 2.625em;
    width: 100%;
    max-width: 100%;
    padding: 0.5em;
    margin-bottom: 1em;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;
    color: #555;
    font-size: 1em;
    border: 2px solid #ddd;
    border-radius: 3px;
    -webkit-font-smoothing: antialiased;
    -webkit-appearance: none;
    transition: border-color 0.25s, color 0.25s;
}

input[type="text"].form-control:focus,
input[type="password"].form-control:focus,
input[type="date"].form-control:focus,
input[type="datetime"].form-control:focus,
input[type="email"].form-control:focus,
input[type="number"].form-control:focus,
input[type="search"].form-control:focus,
input[type="tel"].form-control:focus,
input[type="time"].form-control:focus,
input[type="url"].form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
    border: 2px solid var(--color-info);
    color: #111;
    outline: none;
}

input[type="text"].form-control.error,
.error input[type="text"].form-control,
input[type="password"].form-control.error,
.error input[type="password"].form-control,
input[type="date"].form-control.error,
.error input[type="date"].form-control,
input[type="datetime"].form-control.error,
.error input[type="datetime"].form-control,
input[type="email"].form-control.error,
.error input[type="email"].form-control,
input[type="number"].form-control.error,
.error input[type="number"].form-control,
input[type="search"].form-control.error,
.error input[type="search"].form-control,
input[type="tel"].form-control.error,
.error input[type="tel"].form-control,
input[type="time"].form-control.error,
.error input[type="time"].form-control,
input[type="url"].form-control.error,
.error input[type="url"].form-control,
select.form-control.error,
.error select.form-control,
textarea.form-control.error,
.error textarea.form-control {
    border-color: var(--color-danger);
}

input[type="text"].form-control.warning,
.warning input[type="text"].form-control,
input[type="password"].form-control.warning,
.warning input[type="password"].form-control,
input[type="date"].form-control.warning,
.warning input[type="date"].form-control,
input[type="datetime"].form-control.warning,
.warning input[type="datetime"].form-control,
input[type="email"].form-control.warning,
.warning input[type="email"].form-control,
input[type="number"].form-control.warning,
.warning input[type="number"].form-control,
input[type="search"].form-control.warning,
.warning input[type="search"].form-control,
input[type="tel"].form-control.warning,
.warning input[type="tel"].form-control,
input[type="time"].form-control.warning,
.warning input[type="time"].form-control,
input[type="url"].form-control.warning,
.warning input[type="url"].form-control,
select.form-control.warning,
.warning select.form-control,
textarea.form-control.warning,
.warning textarea.form-control {
    border-color: var(--color-waring);
}

input[type="text"].form-control.success,
.success input[type="text"].form-control,
input[type="password"].form-control.success,
.success input[type="password"].form-control,
input[type="date"].form-control.success,
.success input[type="date"].form-control,
input[type="datetime"].form-control.success,
.success input[type="datetime"].form-control,
input[type="email"].form-control.success,
.success input[type="email"].form-control,
input[type="number"].form-control.success,
.success input[type="number"].form-control,
input[type="search"].form-control.success,
.success input[type="search"].form-control,
input[type="tel"].form-control.success,
.success input[type="tel"].form-control,
input[type="time"].form-control.success,
.success input[type="time"].form-control,
input[type="url"].form-control.success,
.success input[type="url"].form-control,
select.form-control.success,
.success select.form-control,
textarea.form-control.success,
.success textarea.form-control {
    border-color: var(--color-primary);
}

label.error,
.error label {
    color: var(--color-danger);
}

label.warning,
.warning label {
    color: var(--color-waring);
}

label.success,
.success label {
    color: var(--color-primary);
}

::-webkit-input-placeholder {
    color: #999;
}

:-moz-placeholder {
    color: #999;
}

::-moz-placeholder {
    color: #999;
}

:-ms-input-placeholder {
    color: #999;
}

[type="search"] {
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
    appearance: textfield;
}

.form .checkbox-group,
.form .radio-group {
    margin-bottom: 1em;
}

.form.form-horizontal label {
    display: inline-block;
    width: 200px;
    max-width: 100%;
    font-size: 1em;
    vertical-align: top;
}

.form.form-horizontal .checkbox-group,
.form.form-horizontal .radio-group {
    display: inline-block;
    width: 200px;
    max-width: 100%;
}

.form.form-horizontal .checkbox-group label,
.form.form-horizontal .radio-group label {
    display: block;
}

.fancy-radio,
.fancy-checkbox {
    position: relative;
    cursor: pointer;
}

.fancy-radio input,
.fancy-checkbox input {
    opacity: 0;
    position: absolute;
}

.fancy-radio span:before,
.fancy-radio span:after,
.fancy-checkbox span:before,
.fancy-checkbox span:after {
    box-sizing: border-box;
    content: '';
    display: block;
    position: absolute;
    transition: all 0.25s;
}

.fancy-checkbox {
    padding-left: 44px;
}

.fancy-checkbox span:before {
    width: 38px;
    height: 22px;
    border-radius: 11px;
    top: 1px;
    left: 0;
    background: #c3c5c4;
    border: 1px solid #c3c5c4;
}

.fancy-checkbox span:after {
    width: 20px;
    height: 20px;
    border-radius: 10px;
    background: #fff;
    top: 2px;
    left: 1px;
}

.fancy-checkbox input:checked+span:after {
    left: 17px;
}

.fancy-checkbox input:checked+span:before {
    background: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.fancy-checkbox input:focus+span:before {
    border: 1px solid #8f9391;
}

.fancy-checkbox input:focus:checked+span:before {
    border: 1px solid #0e6351;
}

.fancy-radio {
    padding-left: 28px;
}

.fancy-radio span:before {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    top: 2px;
    left: 0;
    background: #fff;
    border: 1px solid #c3c5c4;
}

.fancy-radio span:after {
    border-radius: 50%;
    background: #fff;
    top: 12px;
    left: 10px;
    width: 0;
    height: 0;
}

.fancy-radio input:checked+span:after {
    width: 10px;
    height: 10px;
    top: 7px;
    left: 5px;
}

.fancy-radio input:checked+span:before {
    background: var(--color-primary);
}

.fancy-radio input:focus+span:before {
    border: 1px solid #0e6351;
}