input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: $color__text-input;
	background-color: transparent;
	border-bottom: 2px solid $color__border-input; /* Theme altered */
	border-left: none;
	border-right: none;
	border-top: none;
	border-radius: 0px;
	padding: 0.5em 0;
	@include anim(color);

	&:focus {
		color: $color__text-input-focus;
		outline: none;
	}
}

select {
	border-left:none;
	border-right:none;
	border-top:none;
	border-bottom: 2px solid $color__border-input;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	border-radius: 0;
	background-color: transparent;
	outline: none;
	line-height: 40px;
	font-size: 0.824em;
	text-transform: uppercase;
}

textarea {
	width: 100%;
}


/*-------------- THEME START------------ */
/* Select 2 */
.select2-container {
	box-sizing: border-box;

	display: inline-block;
	margin: 0;
	position: relative;
	vertical-align: middle;

	.select2-selection--single {
		box-sizing: border-box;

		cursor: pointer;
		display: block;

		height: 28px;

		user-select: none;
		-webkit-user-select: none;

		.select2-selection__rendered {
			display: block;
			padding-left: 8px;
			padding-right: 20px;

			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}

		.select2-selection__clear {
			position: relative;
		}
	}

	&[dir="rtl"] {
		.select2-selection--single {
			.select2-selection__rendered {
				padding-right: 8px;
				padding-left: 20px;
			}
		}
	}

	.select2-selection--multiple {
		box-sizing: border-box;

		cursor: pointer;
		display: block;

		min-height: 32px;

		user-select: none;
		-webkit-user-select: none;

		.select2-selection__rendered {
			display: inline-block;
			overflow: hidden;
			padding-left: 8px;
			text-overflow: ellipsis;
			white-space: nowrap;
		}
	}

	.select2-search--inline {
		float: left;

		.select2-search__field {
			box-sizing: border-box;
			border: none;
			font-size: 100%;
			margin-top: 5px;
			padding: 0;

			&::-webkit-search-cancel-button {
				-webkit-appearance: none;
			}
		}
	}

}

.select2-dropdown {
	background-color: white;

	border-radius: 4px;

	box-sizing: border-box;

	display: block;

	position: absolute;
	left: -100000px;

	width: 100%;

	z-index: 1051;
}

.select2-results {
	display: block;
}

.select2-results__options {
	list-style: none;
	margin: 0;
	padding: 0;
}

.select2-results__option {
	padding: 6px;

	user-select: none;
	-webkit-user-select: none;

	&[aria-selected] {
		cursor: pointer;
	}
}

.select2-container--open .select2-dropdown {
	left: 0;
}

.select2-container--open .select2-dropdown--above {
	border-bottom: none;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.select2-container--open .select2-dropdown--below {
	border-top: none;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.select2-search--dropdown {
	display: block;
	padding: 4px;

	.select2-search__field {
		padding: 4px;
		width: 100%;
		box-sizing: border-box;

		&::-webkit-search-cancel-button {
			-webkit-appearance: none;
		}
	}

	&.select2-search--hide {
		display: none;
	}
}


.select2-close-mask {
	border: 0;
	margin: 0;
	padding: 0;
	display: block;
	position: fixed;
	left: 0;
	top: 0;
	min-height: 100%;
	min-width: 100%;
	height: auto;
	width: auto;
	opacity: 0;
	z-index: 99;

	// styles required for IE to work

	background-color: #fff;
	filter: alpha(opacity=0);
}

.select2-hidden-accessible {
	border: 0 !important;
	clip: rect(0 0 0 0) !important;
	-webkit-clip-path: inset(50%) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
	white-space: nowrap !important;
}

.select2-container .selection .select2-selection{
	width: 100%;
	height: 38px;
	display: inline-block;
	line-height: 36px;
	padding-right: 20px;
}

.select2-container .selection {
	border-bottom: #e1e1e1 2px solid;
	display:block;

}

.select2-container .selection .select2-selection{
	color: #000;
	text-transform: uppercase;
	font-size: 0.824em;
	position: relative;
	outline: none;

}

.select2-container .selection .select2-selection .select2-selection__arrow{
	position: absolute;
	top: calc(50% - 4px);
	right: 0;
}

.select2-container .selection .select2-selection .select2-selection__arrow:after {
	top: 50%;
	right: 0;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(0, 0, 0, 0);
	border-top-color: #000;
	border-width: 5px;
	margin-left: -5px;
}

.select2-search--hide{
	display: none !important;
}

.select2-container--default{}

.select2-container.select2-container--open{
	z-index: 9999;
}

.select2-container .selection .select2-selection{
	display: block;
}

.select2-dropdown{
	background-color: #fafafa;
	display: block;
	z-index: 5;
	border-radius: 0;
}

.select2-dropdown .select2-results ul li{
	border-bottom: #fff 2px solid;
}

.select2-dropdown .select2-results ul li:hover{
	background-color: #e4e0e0;
}

.select2-dropdown .select2-search input{
	margin-top: 7px;
	margin-left: 5px;
	margin-right: 5px;
	width: calc(100% - 10px);
}

.select2-dropdown .select2-results{
	padding: 0;
	background: transparent;
}

.select2-dropdown .select2-results ul{
	margin: 0;
	padding: 0;
}

.select2-dropdown .select2-results ul li{
	padding-left: 12px;
	margin: 0;
	background-color: transparent;
	transition: all 0.5s ease;
	padding-top: 6px;
	padding-bottom: 6px;
}

.select2-container--default .select2-selection--single{
	border-radius: 0;
}

.select2-dropdown .select2-results ul li:hover{

}

.select2-container .select2-selection--single{
	height: inherit;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
	color: inherit !important;
}

.select2-container--default .select2-selection--single{
	background-color: transparent;
	border:none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b{
	display: none;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
	height: auto;
	width: auto;
}

.select2-dropdown{
	border: none;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected]{
	background-color: #e4e0e0;
	outline: none;
	color: inherit;
}

.select2-results__option{
	outline: none;
}

/* Select2 end */
/*-------------- THEME END------------ */