@charset "utf-8";

/******************************************************
 *
 * input / select
 *
 ******************************************************/
input[type=text], input[type=password] {
	border-radius: 0.3em;
	border: #bfbfbf 1px solid;
	padding: 0.64em 8px;
	line-height: 1;
	background-color: #fff;
	color: #515151;
	outline: none;
}
.ios input[type=text], .ios input[type=password] {
	border-top-width: 1px;
	-webkit-appearance : none;
}
input[type=text]:focus, input[type=password]:focus {
	border-color: #285ca9;
}
.ios input[type=text]:focus, .ios input[type=password]:focus {
	border-top-width: 1px;
	border-shadow: none;
}

input[type=submit] {
	-webkit-appearance: none;
	color: #fff;
	cursor: pointer;
	padding: 0.5em 0.3em;
	text-align: center;
	border-radius: 0.3em;
	border: solid 1px #285ca9;
	background-color: #285ca9;
}
input[type=submit].white-button {
	color: #285ca9;
	background-color: #fff;
}
input[type=submit].important-button {
	color: #fff;
	border-color: #f40f5c;
	background-color: #f40f5c;
}
input[type=submit][disabled] {
	border: solid 1px #bfbfbf;
	background-color: transparent;
	opacity: 0.65;
	border-color: #c0c0c0;
	color: #bfbfbf;
	cursor: default;
}

input[type=radio],
input[type=checkbox] {
	display: none;
}
.input-label-radio,
.input-label-checkbox {
	box-sizing: border-box;
	-webkit-transition: background-color 0.2s linear;
	transition: background-color 0.2s linear;
	position: relative;
	display: inline-block;
	font-size: 120%;
	min-height: 20px;
	margin: 4px 0 0;
	padding: 0.4em 0.4em 0.4em 2.2em;
	border-radius: 0.3em;
	background-color: transparent;
	vertical-align: middle;
	cursor: pointer;
	color: inherit;
}
.input-label-radio.input-label-left,
.input-label-checkbox.input-label-left {
	padding: 0.4em 2.2em 0.4em 0.4em;
}
input[type=radio][disabled] + .input-label-radio,
input[type=checkbox][disabled] + .input-label-checkbox {
	color: #e0e0e0;
	cursor: not-allowed;
}
.input-label-radio:hover,
.input-label-checkbox:hover {
	background-color: #e2edf0;
}
input[type=radio][disabled] + .input-label-radio:hover,
input[type=checkbox][disabled] + .input-label-checkbox:hover {
	background-color: transparent;
}
.input-label-radio:hover:after,
.input-label-checkbox:hover:after {
	border-color: #285ca9;
}
.input-label-radio.important:hover:after,
.input-label-checkbox.important:hover:after {
	border-color: #f40f5c;
}
input[type=radio][disabled] + .input-label-radio:hover:after,
input[type=checkbox][disabled] + .input-label-checkbox:hover:after {
	border-color: #bfbfbf;
}
.input-label-radio:after,
.input-label-checkbox:after {
	-webkit-transition: border-color 0.2s linear;
	transition: border-color 0.2s linear;
	position: absolute;
	top: 45%;
	display: block;
	margin-top: -0.6em;
	width: 1.2em;
	height: 1.2em;
	border: 0.1em solid #bfbfbf;
	content: '';
}
.input-label-radio:not(.input-label-left):after,
.input-label-checkbox:not(.input-label-left):after {
	left: 0.4em;
}
.input-label-radio.input-label-left:after,
.input-label-checkbox.input-label-left:after {
	right: 0.4em;
}
.input-label-radio:after {
	border-radius: 50%;
}
.input-label-checkbox:after {
	border-radius: 0.15em;
}
.input-label-radio:before {
	-webkit-transition: opacity 0.2s linear;
	transition: opacity 0.2s linear;
	position: absolute;
	top: 50%;
	display: block;
	margin-top: -0.35em;
	width: 0.8em;
	height: 0.8em;
	border-radius: 50%;
	background-color: #285ca9;
	content: '';
	opacity: 0;
}
.input-label-radio:not(.input-label-left):before {
	left: 0.7em;
}
.input-label-radio.input-label-left:before {
	right: 0.7em;
}
.input-label-radio.important:before {
	background-color: #f40f5c;
}
input[type=radio]:checked + .input-label-radio:before {
	opacity: 1;
}
input[type=radio][disabled] + .input-label-radio:before {
	opacity: 0;
}
.input-label-checkbox:before {
	-webkit-transition: opacity 0.2s linear;
	transition: opacity 0.2s linear;
	position: absolute;
	top: 50%;
	display: block;
	margin-top: -0.6em;
	width: 0.4em;
	height: 0.7em;
	border-right: 0.3em solid #285ca9;
	border-bottom: 0.3em solid #285ca9;
	content: '';
	opacity: 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
.input-label-checkbox:not(.input-label-left):before {
	left: 0.75em;
}
.input-label-checkbox.input-label-left:before {
	right: 0.75em;
}
.input-label-checkbox.important:before {
	border-right: 0.3em solid #f40f5c;
	border-bottom: 0.3em solid #f40f5c;
}
input[type=checkbox]:checked + .input-label-checkbox:before {
	opacity: 1;
}
input[type=checkbox][disabled] + .input-label-checkbox:before {
	opacity: 0;
}
select {
	-webkit-appearance: pop-up-menu;
	-moz-appearance: pop-up-menu;
	appearance: pop-up-menu;
	border-radius: 5px;
	border: #515151 1px solid;
	padding: 0.4em 0.5em 0.3em;
	background-color: white;
	color: #515151;
	margin: 0;
	outline: none;
	min-width: 4em;
}
select:focus {
	border-color: #285ca9;
}
select[disabled] {
	border-color: #bfbfbf;
	color: #bfbfbf;
}
