/**
 * BootstrapValidator (http://bootstrapvalidator.com)
 * The best jQuery plugin to validate form fields. Designed to use with Bootstrap 3
 *
 * @author      http://twitter.com/nghuuphuoc
 * @copyright   (c) 2013 - 2014 Nguyen Huu Phuoc
 * @license     MIT
 */

.bv-form .help-block {
    margin-bottom: 0;
}
.bv-form .tooltip-inner {
    text-align: left;
}
.nav-tabs li.bv-tab-success > a {
    color: #3c763d;
}
.nav-tabs li.bv-tab-error > a {
    color: #a94442;
}

.bv-form .bv-icon-no-label {
	top: 0;
}

.bv-form .bv-icon-input-group {
	top: 0;
	z-index: 100;
}






.formstyle{
    width: 100%;
    height: 100%;
}
.formstyle table label{
    width: 30%;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    padding-right:10px;
    text-align: right;
    height: 34px;
    line-height: 34px;
    color: #666;
    font-size: 14px;
    float: left;
    font-weight: normal;
}
.formstyle table td{
    border:none !important;
    padding-right: 20px !important;
    padding-bottom: 15px !important;
}
.formstyle .column-1 tr td label{
    width:20%;
}
.formstyle .column-1 textarea{
    width:80%;
}
.formstyle .column-3 td[colspan="3"] textarea{
    width:100%;
}
.formstyle .column-3 td{
    width: 33.33%;
}
.formstyle .column-2 td{
    width: 50%;
}
.formstyle .column-5 td{
    width: 20%;
}

.formstyle table .formbox{
    width: 100%;

}
.formstyle .formdiv	.forminput{
    height: 34px;
}
.formstyle .formdiv	.forminput, .formstyle .formdiv	.formtextarea{
    border: 1px  solid  #bfcbd9;
    border-radius: 4px;
    color: #000;
    font-size: 14px;
    padding-left: 5px;

}
.formstyle .formdiv	.forminput:focus, .formstyle .formdiv	.formtextarea:focus{
    border-color: #183883;

}
.formstyle .formdiv	.errorinput{
    border-color:#ff9800;
}
.formstyle .formdiv .formok{
    /* border-color: #183883; */
}
.formstyle  .formright {
    display: none;
}
.formstyle .errorinput ~ .formright {
    display: none;
}
.formstyle .formok ~ .formright {
    display: block;
    position: absolute;
    color: green;

    top: 4px;
    right: -11px;
}

.formstyle .formdiv{
    width: 100%;
    /* position: relative; */
    height: auto;
    /*padding-bottom: 15px;*/
}
.formstyle .formdiv	font{
    position: absolute;


    color:#ff9800;
    display: none;
}
.formstyle .formok ~ font{
    display: none;

}
.formstyle .errorinput ~ font{
    display: block;

}
.formstyle .errorinput + .select2-container  .select2-selection{
    border-color:#ff9800;
}
.formstyle .column-3 td[colspan="3"] label{
    width:10%;
}
.formstyle .column-3 td[colspan="3"]  font{
    left: 10% ;
}
.formstyle .column-3 td[colspan="2"] label{
    width:15%;
}
.formstyle .column-3 td[colspan="2"] font{
    left: 15%;
}
.formstyle .column-2 td[colspan="2"] label{
    width:15%;
}
.formstyle .column-2 td[colspan="2"] font{
    left: 15%;
}
.formstyle	.formselect{
    height:34px;
    float: left;
}
.formstyle	.formselect select{
    width:100%;

}
.formstyle	.formselect .select2-container{
    /*height:34px;*/
    /*line-height: 34px;*/
}

.page .select2-container--default .select2-selection--multiple .select2-selection__choice{
    /*background-color: #eee;*/
}

.formstyle .selectdiv{
    height: 49px;
}
.formstyle .selectdiv font{
    top: 35px;
}
.inputborder{
    width:70%;
    padding-right: 20px;
    position: relative;
    /*float: left;*/
    display: inline-block;
}




.form-control{
    border-color: #bfcbd9;
    color: #000;
}
.form-horizontal .has-feedback .form-control-feedback {
    top: 0;
    right: -15px;
}
.form-horizontal .has-feedback .input-group .form-control-feedback {
    top: 0;
    right: -15px;
}
.form-horizontal .has-error .form-control-error {
    top: 0;
    right: -15px;
}
.form-horizontal .has-error .input-group .form-control-error {
    top: 0;
    right: -15px;
}
.form-horizontal .form-control:focus{
    box-shadow: none;
    border-color: #183883;
}
.has-error .form-control:focus,.has-error .form-control{
    border-color: #ff9800 !important;
}
.has-error .form-control-feedback,.has-error .help-block, .has-error .radio, .has-error .checkbox, .has-error .radio-inline, .has-error .checkbox-inline{
    color: #ff9800  !important;
}
.form-group.has-success .form-control, .form-group.has-success .input-group-addon{
    border-color: #bfcbd9;
}

.has-success .form-control-feedback,.has-success .help-block, .has-success .radio, .has-success .checkbox, .has-success .radio-inline, .has-success .checkbox-inline{
    color: green ;
}
.form-group label{
    color: #333!important;
}

.formdiv label,.formdiv>div{
    vertical-align: middle;
}
.form-horizontal .control-label{
    padding: 0;
    padding-right: 10px;
}
.form-horizontal .form-group{
    margin-left: 0;
}


.column-1 .formdiv small{
    padding-left: 20%;
}
.column-2 .formdiv small,.column-3 .formdiv small{
    padding-left: 30%;
}

.form-group {
    margin-bottom: 0px;
}

.form-group .form-control-feedback{
    right:-15px;
}