/*
	overwrite values, set by common admin styles
	default admin styling
*/

/* --- overwrites --- */
form .select2 span {
    color: #565A59;
    padding-top: 0px;
}

/* --- admin styling --- */
.select2-search input {
	background: #ffffff !important;
	border: 1px solid #696D72;
}
.select2-container .select2-choice {
    border-radius: 0px;

    background-color: #ffffff;
    background-image: none;
    background-repeat: repeat-x;
    border-color: #696D72;
    border-image: none;
    border-style: solid;
    border-width: 1px;
    height: 30px;
    line-height: 30px;
}
a.select2-choice:hover {
	opacity: 1;
}
.select2-container .select2-choice .select2-arrow {
    border: 0;
    border-radius: 0px;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='623.622' height='623.622' viewBox='-27.101 -14.17 623.622 623.622' enable-background='new -27.101 -14.17 623.622 623.622'%3E%3Cpath fill='%23{$colorBkgButton}' d='M284.754 471.235l-287.404-287.403c-13.701-13.701-13.701-35.886 0-49.509 13.701-13.701 35.926-13.701 49.548 0l237.817 237.777 237.816-237.778c13.701-13.701 35.887-13.701 49.51 0 13.74 13.662 13.74 35.848 0 49.509l-287.287 287.404z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 8px auto;
}

.select2-container .select2-choice .select2-arrow b {
    display: none;
}
.select2-drop.select2-drop-above {
    border-radius: 0px;
    border-color: #696D72;
    border-image: none;
    border-style: solid;
    border-width: 1px;
}
.select2-drop.select2-drop-above.select2-drop-active {
    border-top: 1px solid #696D72;
}
.select2-drop-active {
    border-radius: 0px;
    border-left: 1px solid #696D72;
    border-right: 1px solid #696D72;
    border-bottom: 1px solid #696D72;
}
.select2-dropdown-open.select2-drop-above .select2-choice,
.select2-dropdown-open.select2-drop-above .select2-choices {
    border-radius: 0px;
    border: 1px solid #696D72;
	background: #F0F0F0;
}
.select2-dropdown-open.select2-drop-above .select2-choice .select2-arrow,
.select2-dropdown-open.select2-drop-above .select2-choices .select2-arrow {
    background: #F0F0F0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='623.622' height='623.622' viewBox='-27.101 -14.17 623.622 623.622' enable-background='new -27.101 -14.17 623.622 623.622'%3E%3Cpath fill='%23{$colorBkgButton}' d='M284.754 471.235l-287.404-287.403c-13.701-13.701-13.701-35.886 0-49.509 13.701-13.701 35.926-13.701 49.548 0l237.817 237.777 237.816-237.778c13.701-13.701 35.887-13.701 49.51 0 13.74 13.662 13.74 35.848 0 49.509l-287.287 287.404z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 8px auto;
}
.select2-results li {
	float: none;
}


/* --- multiselect styling --- */
.select2-container-multi .select2-choices {
    border: 1px solid #6A6D72;
    background-image: none;
}
.select2-container-multi .select2-choices .select2-search-choice {
    height: 24px;
    line-height: 24px;
    padding: 0px 10px 0px 20px !important;
    margin: 1px 1px 1px 1px !important;
    background: #696D72;
    color: #ffffff;
    box-shadow: 0 0 0 transparent;
    border: 0;
    border-radius: 0;
}
.select2-container-multi .select2-choices .select2-search-choice-focus {
    background: #db0820;
}

.select2-container-multi .select2-search-choice-close {
    background: none;
    color: #ffffff;
    font-size: 13px;
    line-height: 13px;
    top: 50%;
    transform: translateY(-50%);
}
.select2-container-multi .select2-search-choice-close::before {
    content: '\e929';
    font-family: Siteswift;
}