/**
* FormValidation (http://formvalidation.io)
* The best jQuery plugin to validate form fields. Support Bootstrap, Foundation, Pure, SemanticUI, UIKit and custom frameworks
*
* @author      http://twitter.com/nghuuphuoc
* @copyright   (c) 2013 - 2015 Nguyen Huu Phuoc
* @license     http://formvalidation.io/license/
*/

.fv-has-feedback {
	position: relative;
}

.fv-control-feedback {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	display: block;
	width: 34px;
	height: 34px;
	line-height: 34px;
	text-align: center;
}

.fv-has-feedback .fv-control-feedback {
	/*right: 15px;*/
}

.fv-help-block {
	display: block;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ For Bootstrap form ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.fv-form-bootstrap .help-block {
	margin-bottom: 0;
}

.fv-form-bootstrap .tooltip-inner {
	text-align: left;
}

/* Bootstrap stacked form without label */

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

.fv-form-bootstrap .fv-bootstrap-icon-input-group {
	z-index: 100;
}

/* Bootstrap inline form */

.form-inline.fv-form-bootstrap .form-group {
	vertical-align: top;
}

/* Overwrite Bootstrap basic styles */

.has-feedback {
	position: relative;
}

.has-feedback .form-control {
	padding-right: 42.5px;
}

.has-feedback .form-control-feedback {
	position: absolute;
	top: 0px;
	right: 18px;
	display: block;
	width: 37px;
	height: 37px;
	line-height: 37px;
	text-align: center;
}

.has-success .help-block,
.has-success .control-label,
.has-success .radio,
.has-success .checkbox,
.has-success .radio-inline,
.has-success .checkbox-inline {
	color: #000440;
}

.has-success .form-control {
	border-color: #ddd;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.has-success .form-control:focus {
	border-color: #ddd;
	-webkit-box-shadow: none;
          box-shadow: none;
}

.has-success .input-group-addon {
}

.has-success .form-control-feedback {
	color: #80ae1c;
}

.has-warning .help-block,
.has-warning .control-label,
.has-warning .radio,
.has-warning .checkbox,
.has-warning .radio-inline,
.has-warning .checkbox-inline {
	color: #d53027;
}

.has-warning .form-control {
	border-color: #d53027;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.has-warning .form-control:focus {
	border-color: #66512c;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.has-warning .input-group-addon {
}

.has-warning .form-control-feedback {
	color: #d53027;
}

.has-error .help-block,
.has-error .control-label,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline {
	color: #000440; /*#d53027*/
}

.has-error .help-block {
	color: #000440;
}

/*
.has-error .help-block {
	background-color: #f7d117;
	color: #d53027;
	padding: 7px 12px;
	margin-top: 15px;
	position: relative;
}

.has-error .help-block:after {
	top: 0;
	left: 30px;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(255, 255, 255, 0);
	border-bottom-color: #f7d117;
	border-width: 15px;
	margin-left: -20px;
	margin-top: -22px;
}
*/

.has-error .form-control {
	border-color: #d53027;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.has-error .form-control:focus {
	border-color: #d53027;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.has-error .input-group-addon {
}

.has-error .form-control-feedback {
	color: #d53027;
}

.help-block {
	display: block;
	margin-top: 5px;
	margin-bottom: 10px;
	color: #000;
}

@media (min-width: 768px) {

	.has-feedback .form-control-feedback {
		top: 9px;
		right: 16px;
		width: 42px;
		height: 52px;
		line-height: 52px;
	}

	.form-inline .has-feedback .form-control-feedback {
		top: 0;
	}

}
