@charset "utf-8";

/******************************************************
 *
 * input / select
 *
 ******************************************************/
input[type=text], input[type=password] {
/*	border-radius: 0.3em;	*/
	border: #dfdfdf 1px solid;
	padding: 0.64em 8px;
	line-height: 1;
	background-color: #fff;
	color: #444444;
	outline: none;
}
.ios input[type=text], .ios input[type=password] {
	border-top-width: 1px;
}
input[type=text]:focus, input[type=password]:focus {
	border-color: #6c8a31;
}
.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;
	font-size: 130%;
	padding: 0.5em 0.3em;
	text-align: center;
/*	border-radius: 0.3em;	*/
	border: solid 1px #6c8a31;
	background-color: #6c8a31;
}
input[type=submit].white-button {
	color: #6c8a31;
	background-color: #fff;
}
input[type=submit].important-button {
	color: #fff;
	border-color: #f62b2b;
	background-color: #f62b2b;
}
input[type=submit][disabled] {
	border: solid 1px #c0c0c0;
	background-color: transparent;
	opacity: 0.65;
	border-color: #c0c0c0;
	color: #c0c0c0;
}

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: #6c8a31;
}
.input-label-radio.important:hover:after,
.input-label-checkbox.important:hover:after {
	border-color: #f03e64;
}
input[type=radio][disabled] + .input-label-radio:hover:after,
input[type=checkbox][disabled] + .input-label-checkbox:hover:after {
	border-color: #e0e0e0;
}
.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 #c3c3c3;
	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: #6c8a31;
	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: #f03e64;
}
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 #6c8a31;
	border-bottom: 0.3em solid #6c8a31;
	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 #f03e64;
	border-bottom: 0.3em solid #f03e64;
}
input[type=checkbox]:checked + .input-label-checkbox:before {
	opacity: 1;
}
input[type=checkbox][disabled] + .input-label-checkbox:before {
	opacity: 0;
}

select {
	appearance: none;
	display: inline-block;
	-webkit-appearance: pop-up-menu;
	-moz-appearance: pop-up-menu;
	appearance: pop-up-menu;
	border: #dfdfdf 1px solid;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-o-border-radius: 2px;
	-ms-border-radius: 2px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 140%;
	line-height: inherit;
	line-height: 1.5em;
	padding: 0.5em 3.5em 0.5em 1em;
	background-color: #fff;
	background-image: linear-gradient(45deg, transparent 50%, white 50%), linear-gradient(135deg, white 50%, transparent 50%), linear-gradient(to right, #6c8a31, #6c8a31);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), 100% 0;
    background-size: 5px 5px, 5px 5px, 2.5em 2.5em;
    background-repeat: no-repeat;
	color: #444444;
	margin: 0;
	outline: none;
}
select:focus {
	border-color: #6c8a31;
}
select[disabled] {
	border-color: #e0e0e0;
	color: transparent;
}
select > option {
	padding-top: 6px;
	padding-bottom: 6px;
}
select > option.select-option-default {
	color: #c3c3c3;
	border-bottom: #c3c3c3 1px solid;
}
