.select2-container--eform-material {
	@import "single";
	@import "multiple";

	&.select2.select2-container--open {
		box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.14);
		border: 0 none;
		.select2-selection--single,
		.select2-selection--multiple {
			border: 0 none;
		}
	}

	&.select2-container--open.select2-container--above {
		.select2-selection--single, .select2-selection--multiple {
			border-top-left-radius: 0;
			border-top-right-radius: 0;
		}
	}

	&.select2-container--open.select2-container--below {
		.select2-selection--single, .select2-selection--multiple {
			border-bottom-left-radius: 0;
			border-bottom-right-radius: 0;
		}
	}

	.select2-search--dropdown {
		.select2-search__field {
			border-radius: 0;
			border: 0 none;
			border-bottom: 1px solid $primary-color;
			outline: 0 none;
		}
	}

	.select2-search--inline {
		.select2-search__field {
			background: transparent;
			border: none;
			outline: 0;
			box-shadow: none;
			-webkit-appearance: textfield;
		}
	}

	.select2-results > .select2-results__options {
		max-height: 200px;
		overflow-y: auto;
	}

	.select2-results__option {
		&[role=group] {
			padding: 0;
		}

		&[aria-disabled=true] {
			color: #999;
		}

		&[aria-selected=true] {
			background-color: $select2-highlight-selected;
		}

		.select2-results__option {
			padding-left: 1em;

			.select2-results__group {
				padding-left: 0;
			}

			.select2-results__option {
				margin-left: -1em;
				padding-left: 2em;

				.select2-results__option {
					margin-left: -2em;
					padding-left: 3em;

					.select2-results__option {
						margin-left: -3em;
						padding-left: 4em;

						.select2-results__option {
							margin-left: -4em;
							padding-left: 5em;

							.select2-results__option {
								margin-left: -5em;
								padding-left: 6em;
							}
						}
					}
				}
			}
		}
	}

	.select2-results__option--highlighted[aria-selected] {
		background-color: $select2-highlight;
		color: $select2-highlight-color;
	}

	.select2-results__group {
		cursor: default;
		display: block;
		padding: 6px;
	}
}

.select2-container--eform-material.select2-container--open {
	.select2-dropdown--below {
		border-radius: 0;
		border: 0 none;
		box-shadow: 0px 9px 14px 0px rgba(0, 0, 0, 0.14);
	}
	.select2-dropdown--above {
		border-radius: 0;
		border: 0 none;
		box-shadow: 0px -9px 14px 0px rgba(0, 0, 0, 0.14);
	}
	.select2-dropdown {
		font-size: $font-size-base;
		font-family: $font-family-base;

		.select2-results__option {
			padding: 12px;
			@include material__smooth-tran( 200ms );
		}
	}
}
