.validate_wrap{
	position: relative;
	display: inline-block;
	vertical-align: middle;
}
.formerror_wrap{
	position: absolute;
	z-index: 2;
	display: none;
	width: 100%;
	vertical-align: middle;
}
.formerror_content{
	background-color: red;
    border-radius: 4px;
    position: absolute;
    color: white;
    top: -33px;
    right: 0;
    padding-top: 3px;
    padding-bottom: 2px;
    padding-left: 5px;
    padding-right: 5px;
    line-height: 1.5 !important;
    border: solid 2px #fff;
    z-index: 3;
    box-shadow: 0 0 6px #000;
    width: auto;
    vertical-align: middle;
}
.formerror_content p{
	position: relative;
	z-index: 4;
	font-size: 90%;
	width: 90px;
}

/*
.formerror_content:after{
    content: '';
    height: 10px;
	width: 10px;
	transform:rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	background-color: red;
	position: absolute;
	bottom: -7px;
	right: 10px;
	border-left: solid 2px #fff;
    border-bottom: solid 2px #fff;
	z-index: 100;
	box-shadow:-2px 2px 2px #999;
}
*/
.formerror_content:before{
	content: '';
	border: 7px solid transparent;
	border-left: solid 7px red;
    border-bottom: solid 7px red;
    background-color: transparent;
	position: absolute;
	bottom: -4px;
	right: 10px;
	transform:rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	z-index: 6;
}
.formerror_content:after{
   content: '';
	border: 7px solid transparent;
	border-left: solid 7px #fff;
    border-bottom: solid 7px #fff;
    background-color: transparent;
	position: absolute;
	bottom: -7px;
	right: 10px;
	transform:rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	z-index: 5;
	box-shadow:-2px 2px 2px #999;
}

.has_error_radio {
	border: solid #e00000 1px !important;
	box-shadow: 0 0 3px 1px #eba5a3,
		0 0 1px #eba5a3 inset,
		0 1px 1px rgba(0, 0, 0, 0.075) inset !important;
	-webkit-box-shadow: 0 0 3px 1px #eba5a3,
		0 0 1px #eba5a3 inset,
		0 1px 1px rgba(0, 0, 0, 0.075) inset !important;
	-moz-box-shadow: 0 0 3px 1px #eba5a3,
		0 0 1px #eba5a3 inset,
		0 1px 1px rgba(0, 0, 0, 0.075) inset !important;
	margin: 3px;
	padding: 3px;
	border-radius: 3px;
}


.has_error{
	border-color: #e00000 !important;
	box-shadow: 0 0 3px 1px #eba5a3,
		0 0 1px #eba5a3 inset,
		0 1px 1px rgba(0, 0, 0, 0.075) inset !important;
	-webkit-box-shadow: 0 0 3px 1px #eba5a3,
		0 0 1px #eba5a3 inset,
		0 1px 1px rgba(0, 0, 0, 0.075) inset !important;
	-moz-box-shadow: 0 0 3px 1px #eba5a3,
		0 0 1px #eba5a3 inset,
		0 1px 1px rgba(0, 0, 0, 0.075) inset !important;
}
.has_error .area_form dd .addon_textbox{
	border-right:none;
}
.has_error label.radio::before{
	border-color: #c9302c;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #eba5a3;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #eba5a3;
}
.has_error label.radio::after{
	background-color: #c9302c;
}


/* フォームパーツのデフォルトのアウトラインを非表示 */
input,
textarea,
select,
button {
	outline: none;
	text-indent: 0.01px;
	text-overflow: '';
	-webkit-appearance: none;
	-moz-appearance: none;
	-o-appearance: none;
	-ms-appearance: none;
}
input:focus,
textarea:focus,
select:focus,
button:focus {
	outline: none;
	text-indent: 0.01px;
	text-overflow: '';
	-webkit-appearance: none;
	-moz-appearance: none;
	-o-appearance: none;
	-ms-appearance: none;
}


/* フォーカスのあたっている要素の枠線 */
form .focus{
	box-shadow:0 0 2px 2px #83bffc,
	0 0 1px 1px #badbfd inset,
	0 5px 10px -10px rgba(0,0,0,0.6) inset;
	border: #70ace9 solid 1px;
	background-color: white;
}

.input_addon.focus{
	box-shadow:2px 0 1px -1px #badbfd inset,
	0 2px 1px -1px #badbfd inset,
	0 -2px 1px -1px #badbfd inset !important;
	border: #70ace9 solid 1px !important;
}