/* ======================================================================
  Forms
======================================================================== */
.v2-form-row {
	position: relative;
	width: 100%;
	margin: 0 0 12px;
}

.v2-form-label,
.v2-form-input {
	float: left;
	padding: 0 10px;
	position: relative;
}

.v2-form-label {
	width: 30%;
	text-align: right;
	font-size: 14px;
	padding-top: 8px;
	font-weight: 400;
	color: #999;
}

@media (max-width: 660px) {
	.v2-form-label {
		padding-top: 4px;
		padding-bottom: 4px;
		text-align: left;
	}
}

.v2-form-input {
	width: 70%;
}

@media (max-width: 660px) {
	.v2-form-label,
	.v2-form-input {
		float: none;
		width: 100%;
	}
}

.v2-form-one-column {
	padding: 20px;
}

.v2-form-input .v2-input,
.v2-form-input .v2-select {
	font-size: 14px;
	color: #333;
}

.v2-form-input .v2-input {
	width: 300px;
}

.v2-form-input .v2-select {
	width: 180px;
}

@media (max-width: 660px) {
	.v2-form-input .v2-input,
	.v2-form-input .v2-select {
		width: 100%;
	}
}

.v2-textarea.v2-input {
	padding: 15px;
}

/* ====================================
  Checkboxes & Radios
====================================== */
.v2-form input[type="radio"] + label,
.v2-form input[type="checkbox"] + label {
	padding: 0 0 0 27px;
	font-size: 14px;
	display: inline-block;
	margin-right: 25px;
}

/* ====================================
  Errors & messages
====================================== */
.v2-form-warning {
	font-size: 10px;
	font-style: italic;
	color: #999;
	display: inline-block;
	padding-top: 2px;
}

label.error {
	display: inline-block;
	font-size: 11px;
	color: #fff;
	background-color: #ff5252;
	padding: 8px 12px;
	border-radius: 4px;
	position: absolute;
}

label.error {
	bottom: -30px;
	left: -5px;
}

.v2-form label.error {
	left: 330px;
	top: 0;
	bottom: inherit;
}

label.error:before,
.v2-form label.error:before {
    display: inline-block;
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    position: absolute;
}

label.error:before {
	border-width: 0 15px 15px 15px;
    border-color: transparent transparent #ff5252 transparent;
    top: -6px;
    left: 0;
}

.v2-form label.error:before {
	border-width: 15px 15px 15px 0;
    border-color: transparent #ff5252 transparent transparent;
	top: 50%;
	left: -6px;
	margin-top: -15px;
}

/* ====================================
  Disabled styles
====================================== */
.v2-select.v2-field-disabled,
.v2-input.v2-field-disabled,
.v2-textarea.v2-field-disabled,
input[type="radio"] + label.v2-field-disabled,
input[type="checkbox"] + label.v2-field-disabled,
.v2-button-to-link.v2-field-disabled {
    opacity: .4;
    cursor: default;
    pointer-events: none;
}