
/* Checkboxes */
.checkbox,
.form-horizontal .checkbox {
    padding: 0;
}
.checkbox > label,
.form-horizontal .checkbox > label {
    padding-left: 0;
}

.checkbox-list > label {
    display: block;
}
.checkbox-list > label.checkbox-inline {
    display: inline-block;
}
.checkbox-list > label.checkbox-inline:first-child {
    padding-left: 0;
}

/* Radio buttons */
.radio-list > label {
    display: block;
}
.radio-list > label.radio-inline {
    display: inline-block;
}
.radio-list > label.radio-inline:first-child {
    padding-left: 0;
}

/* Radio buttons in horizontal forms */
.form-horizontal .radio-list .radio {
    padding-top: 1px;
}
.form-horizontal .radio-list > label {
    margin-bottom: 0;
}
.form-horizontal .radio > span {
    margin-top: 2px;
}

/* Rows seperated form layout */
.form .form-row-seperated .portlet-body {
    padding: 0;
}
.form .form-row-seperated .form-group {
    margin: 0;
    border-bottom: 1px solid #efefef;
    padding: 15px 0;
}
.form .form-row-seperated .form-group.last {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 13px;
}
.form .form-row-seperated .form-group .help-block {
    margin-bottom: 0;
}
.form .form-row-seperated .form-body {
    padding: 0;
}
.form .form-row-seperated .form-actions {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Form bordered */
.form .form-bordered .form-group {
    margin: 0;
    border-bottom: 1px solid #efefef;
}
.form .form-bordered .form-group > div {
    padding: 15px;
    border-left: 1px solid #efefef;
}
@media (max-width: 991px) {
    .form .form-bordered .form-group > div {
        /* 991px */
        border-left: 0;
    }
}
.form .form-bordered .form-group.last {
    border-bottom: 0;
}
.form .form-bordered .form-group .control-label {
    padding-top: 20px;
}
@media (max-width: 991px) {
    .form .form-bordered .form-group .control-label {
        /* 991px */
        padding-top: 10px;
    }
}
.form .form-bordered .form-group .help-block {
    margin-bottom: 0;
}
.form .form-bordered .form-group .form-control {
    margin: 0;
}
.form .form-bordered .form-body {
    margin: 0;
    padding: 0;
}
.form .form-bordered .form-actions {
    margin-top: 0;
    padding-left: 16px !important;
    padding-right: 16px !important;
}
@media (max-width: 991px) {
    .form .form-bordered .form-actions {
        /* 991px */
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Horizontal bordered form */
.form .form-horizontal.form-bordered.form-row-stripped .form-group:nth-child(even) {
    background-color: #fcfcfc;
}
.form .form-horizontal.form-bordered.form-row-stripped .form-control {
    background: #fff !important;
}
.form .form-horizontal.form-bordered.form-label-stripped .form-group:nth-child(even) {
    background-color: #fcfcfc;
}
.form .form-horizontal.form-bordered.form-label-stripped .form-group:nth-child(even) > div {
    background-color: #ffffff;
}
.form .form-horizontal.form-bordered.form-label-stripped .form-group:nth-child(even) {
    background-color: #fcfcfc;
}

/***
Forms
***/
/* Input placeholder font color */
.form-control::-moz-placeholder {
    color: #b3b3b3;
    opacity: 1;
}
.form-control:-ms-input-placeholder {
    color: #b3b3b3;
}
.form-control::-webkit-input-placeholder {
    color: #b3b3b3;
}

/* Form inputs */
.form-control {
    font-size: 14px;
    font-weight: normal;
    color: #333;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.form-control:focus {
    border-color: #999;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    cursor: not-allowed;
    background-color: #eeeeee;
}
.form-control.height-auto {
    height: auto;
}
.form-control.form-control-solid {
    background-color: #F1F3F8;
    border-color: #F1F3F8;
    color: #A6B2BA;
}
.form-control.form-control-solid:focus {
    border-color: #e3e7f1;
}
.form-control.form-control-solid::-moz-placeholder {
    color: #acb7be;
    opacity: 1;
}
.form-control.form-control-solid:-ms-input-placeholder {
    color: #acb7be;
}
.form-control.form-control-solid::-webkit-input-placeholder {
    color: #acb7be;
}

/* Form uneditable input */
.uneditable-input {
    padding: 6px 12px;
    min-width: 206px;
    font-size: 14px;
    font-weight: normal;
    height: 34px;
    color: #333;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

/* Form input sizing */
.input-mini {
    width: 45px !important;
}

.input-xsmall {
    width: 80px !important;
}

.input-small {
    width: 145px !important;
}

.input-medium {
    width: 240px !important;
}

.input-large {
    width: 320px !important;
}

.input-xlarge {
    width: 420px !important;
}

.input-inline {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

.form-group .input-inline {
    margin-right: 5px;
}

.input-sm {
    height: 28px;
    padding: 5px 10px;
    font-size: 13px;
}

select.input-sm {
    height: 28px;
    line-height: 28px;
    padding: 2px 10px;
}

@media (max-width: 768px) {
    /* 768px */
    .input-large {
        width: 250px !important;
    }

    .input-xlarge {
        width: 300px !important;
    }
}
/* Input  groups */
.input-group .btn-default {
    border-color: #e5e5e5;
}
.input-group .input-group-addon {
    border-color: #e5e5e5;
    background: #e5e5e5;
    min-width: 39px;
}
.input-group .input-group-addon > i {
    color: #999;
}

/* Input spinner */
input[type="text"].spinner,
input[type="password"].spinner,
input[type="datetime"].spinner,
input[type="datetime-local"].spinner,
input[type="date"].spinner,
input[type="month"].spinner,
input[type="time"].spinner,
input[type="week"].spinner,
input[type="number"].spinner,
input[type="email"].spinner,
input[type="url"].spinner,
input[type="search"].spinner,
input[type="tel"].spinner,
input[type="color"].spinner {
    background-image: url("../img/input-spinner.gif") !important;
    background-repeat: no-repeat;
    background-position: right 8px;
}

/* Form labels */
label {
    font-weight: 400;
    font-size: 14px;
}

/* Static form control */
.form-control-static {
    margin: 2px 0;
    display: inline-block;
}

/* Feedback states */
.has-success .help-block,
.has-success .help-inline,
.has-success .control-label,
.has-success .radio,
.has-success .checkbox,
.has-success .radio-inline,
.has-success .checkbox-inline {
    color: #3c763d;
}
.has-success .form-control {
    border-color: #d6e9c6;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.has-success .form-control:focus {
    border-color: #bbdba1;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.has-success .input-group-addon {
    color: #3c763d;
    border-color: #d6e9c6;
    background-color: #dff0d8;
}
.has-success .form-control-feedback {
    color: #3c763d;
}

.has-warning .help-block,
.has-warning .help-inline,
.has-warning .control-label,
.has-warning .radio,
.has-warning .checkbox,
.has-warning .radio-inline,
.has-warning .checkbox-inline {
    color: #8a6d3b;
}
.has-warning .form-control {
    border-color: #faebcc;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.has-warning .form-control:focus {
    border-color: #f5d89e;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.has-warning .input-group-addon {
    color: #8a6d3b;
    border-color: #faebcc;
    background-color: #fcf8e3;
}
.has-warning .form-control-feedback {
    color: #8a6d3b;
}

.has-error .help-block,
.has-error .help-inline,
.has-error .control-label,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline {
    color: #a94442;
}
.has-error .form-control {
    border-color: #ebccd1;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.has-error .form-control:focus {
    border-color: #dca7b0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.has-error .input-group-addon {
    color: #a94442;
    border-color: #ebccd1;
    background-color: #f2dede;
}
.has-error .form-control-feedback {
    color: #a94442;
}

/* Circle Inputs */
.input-circle {
    border-radius: 25px !important;
}

.input-circle-right {
    border-radius: 0 25px 25px 0 !important;
}

.input-circle-left {
    border-radius: 25px 0 0 25px !important;
}

.input-circle-bottom {
    border-radius: 0 0 25px 25px !important;
}

.input-circle-top {
    border-radius: 25px 25px 0 0 !important;
}
/* Help blocks */
.help-block {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 12px;
}
.form-body .unit {
    float: left; padding-left: 10px; padding-top: 5px; font-size: 15px;
}

.help-inline {
    font-size: 13px;
    color: #737373;
    display: inline-block;
    padding: 5px;
}

.form-inline input {
    margin-bottom: 0px !important;
}

/* Control Label */
.control-label {
    margin-top: 1px;
}
.control-label .required {
    color: #e02222;
    font-size: 12px;
    padding-left: 2px;
}

.form-help {
    clear: both;
    width: 400px;
    padding-top: 5px
}


/***
Input icons
***/
.input-icon {
    position: relative;
}
.input-icon > .form-control {
    padding-left: 33px;
}
.input-icon > i {
    color: #16aab7;
    display: block;
    position: absolute;
    margin: 9px 0px 4px 10px;
    z-index: 3;
    width: 16px;
    height: 16px;
    font-size: 16px;
    text-align: center;
}
.modal .input-icon > i {
    z-index: 10055;
}
.has-success .input-icon > i {
    color: #45B6AF;
}
.has-warning .input-icon > i {
    color: #dfba49;
}
.has-info .input-icon > i {
    color: #89C4F4;
}
.has-error .input-icon > i {
    color: #F3565D;
}
.input-icon.right > .form-control {
    padding-right: 33px;
    padding-left: 12px;
}
.input-group .input-icon.right > .form-control {
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    -ms-border-radius: 0 4px 4px 0;
    -o-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
}
.input-icon.right > i {
    right: 8px;
    float: right;
}
.input-icon.input-icon-lg > i {
    margin-top: 16px;
}
.input-icon.input-icon-sm > i {
    margin-top: 8px;
    font-size: 13px;
}
