/* Container used for styling the custom select, the buttom class below adds the
 * bg gradient, corners, etc. */
.ginput_container_select {
	position: relative;
	display: block;
}

/* This is the native select, we're making everything but the text invisible so
 * we can see the button styles in the wrapper */
.ginput_container_select select {
	width: 100%;
	margin: 0;
	/*outline: none;*/
	outline-color: #fff;
	/*padding: .6em .8em .5em .8em;*/
	padding: .5rem .5rem .5rem 1rem;

	/* Prefixed box-sizing rules necessary for older browsers */
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;

	/* Font size must be 16px to prevent iOS page zoom on focus */
	font-size: 16px;

	border: 1px solid #ccc;
}


/* Custom arrow sits on top of the select - could be an image, SVG, icon font,
 * etc. or the arrow could just baked into the bg image on the select. */
.ginput_container_select::after {
	content: " ";
	position: absolute;
	top: 40%;
	right: 1rem;
	z-index: 2;
	/* These hacks make the select behind the arrow clickable in some browsers */
	pointer-events: none;
	display: none;

	/*  CSS Triangle  */
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 8.7px 5px 0 5px;
	border-color: #7aece3 transparent transparent transparent;
}

@supports ( -webkit-appearance: none ) or ( appearance: none )
	/* Firefox <= 34 has a false positive on @supports( -moz-appearance: none )
	 * @supports ( mask-type: alpha ) is Firefox 35+
	 */
	or ( ( -moz-appearance: none ) and ( mask-type: alpha ) ) {
	
	/* Show custom arrow */
	.ginput_container_select::after {
		display: block;
	}

	/* Remove select styling */
	.ginput_container_select select {
		padding-right: 2em; /* Match-01 */
		/* inside @supports so that iOS <= 8 display the native arrow */
		background: none; /* Match-04 */
		/* inside @supports so that Android <= 4.3 display the native arrow */

		/*border: 1px solid transparent;*/ /* Match-05 */

		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
	}
	.ginput_container_select select:focus {
		/*border-color: #aaa;*/ /* Match-03 */
	}
}