@charset "UTF-8";

.spin {
	display: inline-block;
	position: relative;
	border-radius: 2px;
	border: 1px solid #000;
	background-color: #fff;
	width: 50%;
	min-width: 4em;
}
.spin > input {
	background-color: transparent;
	border: none !important;
	width: 50%;
	height: auto;
	min-height: 3em;
	max-width: none;
	text-align: right;
}
.spin > .up,
.spin > .down {
	position: absolute;
	left: auto;
	right: 0.5em;
	display: inline-block;
	margin-left: .255em;
	vertical-align: .255em;
	content: "";
	border-right: .3em solid transparent;
	border-left: .3em solid transparent;
	height: 40%;
	width: 0.5em;
	cursor: pointer;
}
.spin > .up:hover,
.spin > .down:hover {
	color: red !important;
}

.spin > .up {
	top: 0;
	bottom: auto;
	border-top: 0;
	border-bottom: .3em solid;
}
.spin > .down {
	top: auto;
	bottom: 0;
	border-top: .3em solid;
	border-bottom: 0;
}

.mw_wp_form_confirm.mw_wp_form_preview .spin {
	border-color: transparent;
}
.mw_wp_form_confirm.mw_wp_form_preview .spin > .up,
.mw_wp_form_confirm.mw_wp_form_preview .spin > .down {
	display: none;
}

@media (min-width: 576px) {
	.spin {
		width: 25%;
	}
	.spin > input {
		min-height: 2em;
	}
}
