/*Reset*/
.acf-selection-buttons,
.acf-selection-title,
.acf-selection-subtitle,
.acf-selection-description {
	margin: 0;
	padding: 0;
}

/*layout*/
.acf-selection *, .acf-selection *:before, .acf-selection *:after {
  box-sizing: border-box;
}
.acf-selection {
	overflow: hidden;
}
.acf-selection-buttons-container {
	top: 23px;
	height: 100%;
	right: 0;
	display: none;
}
.acf-selection-buttons li {
	display: inline-block;
	float: left;
	margin-left: 5px;
}

/*Grid*/
.acf-selection-row {
	margin-left: -15px;
	margin-right: -15px;
}
.acf-selection-col {
	float: left;
	padding: 0 15px;
}
.acf-selection-col-1-2 {
	width: 50%;
}
.acf-selection-clearfix:after,
.acf-selection-row:after,
.acf-selection-row:before,
.acf-selection-clearfix:before {
	display: table;
	content: '';
	clear: both;
}

/*Helpers*/
.acf-selection-hidden {
	display: none !important;
}
.acf-selection-absolute {
	position: absolute;
}
.acf-selection-relative {
	position: relative;
}
.acf-selection-left {
	float: left;
}
.acf-selection-right {
	float: right;
}
.acf-selection-capitalize {
	text-transform: capitalize;
}
.acf-selection-uppercase {
	text-transform: uppercase;
}
.acf-selection-ellipsis {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

/*Button*/
.acf-selection-button {
	display: block;
	width: 100%;
	border: 1px solid #333;
	padding: 4px 10px;
	color: #fff;
	background-color: #333;
	font-weight: bold;
	font-size: 12px;
	text-transform: uppercase;
	text-decoration: none;
}
.acf-selection-button:hover,
.acf-selection-button:active,
.acf-selection-button:focus {
	background-color: #fff !important;
	color: #333;
	text-decoration: none;
	outline: 0;
	box-shadow: none;
}
.acf-selection-button.acf-selection-action-add {
	background-color: #2ecc71;
	border-color: #2ecc71;
}
.acf-selection-button.acf-selection-action-add:hover,
.acf-selection-button.acf-selection-action-add:active,
.acf-selection-button.acf-selection-action-add:focus {
	color: #2ecc71;
}
.acf-selection-button.acf-selection-action-remove {
	background-color: #f30;
	border-color: #f30;
}
.acf-selection-button.acf-selection-action-remove:hover,
.acf-selection-button.acf-selection-action-remove:active,
.acf-selection-button.acf-selection-action-remove:focus {
	color: #f30;
}

/*Title*/
.acf-selection-title {
	min-height: 17px;
	text-transform: uppercase;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	font-size: 14px;
	padding: 0;
	margin: 0;
}

.acf-selection-subtitle,
.acf-selection-description {
	color: gray;
	line-height: normal;
}

/*Item*/
.acf-selection-item:hover .acf-selection-buttons-container,
.acf-selection-item.acf-selection-loading .acf-selection-buttons-container {
	display: block;
}
.acf-selection-item td {
	-webkit-transition: border-bottom-color ease-in-out .2s;
	-o-transition: border-bottom-color ease-in-out .2s;
	transition: border-bottom-color ease-in-out .2s;
}
.acf-selection-item:hover td {
	border-bottom-color: #ddd;
}
.acf-selection-item-wrapper {
	min-height: 53px;
}
.acf-selection-selected .acf-selection-item:hover .acf-selection-handle {
	display: block;
}
.acf-selection-disabled .acf-selection-selected .acf-selection-item:hover .acf-selection-handle {
	display: none;
}
.acf-selection-handle {
	display: none;
	position: absolute;
	left: -11px;
	top: 27px;
	width: 25px;
	height: 20px;
	cursor: move;
	background: #fff;
}
.acf-selection-handle-bars {
	width: 100%;
	height: 4px;
	background: #000;
	display: block;
	content: '';
	margin-bottom: 4px;
}

/*Count*/
.acf-selection-count {
	display: inline-block;
	height: 25px;
	background: #ddd;
	color: #333;
	border-radius: 15px;
	text-align: center;
	padding: 0px 13px;
	-webkit-transition: all ease-in-out .2s;
	-o-transition: all ease-in-out .2s;
	transition: all ease-in-out .2s;
}

/*Table*/
.acf-selection-table { 
	width: 100%; 
	border-collapse: collapse;
	table-layout: fixed;
}
.acf-selection-table-choices thead tr > th:first-child {
	width: 100%;
}
.acf-selection-table-choices thead tr > th:last-child {
	width: 0;
}
.acf-selection-table th,
.acf-selection-table td {
	padding: 0;
	background: #fff;
}
.acf-selection-table .acf-selection-table-header {
	border-bottom: 2px solid #ddd;
	padding: 5px 0;
	vertical-align: middle;
	font-size: 18px;
	line-height: normal;
}
.acf-selection-table-items td {
	border-bottom: 1px solid #f9f9f9;
	padding: 10px 0;
}
.acf-selection[data-enable-searching="1"] .acf-selection-col-selected .acf-selection-scroller {
	height: 420px;
}


/*Scroller*/
.acf-selection-scroller {
	height: 394px;
	overflow: auto;
	border-bottom: 2px solid #ddd;
}

/*Messenger*/
.acf-selection-messenger {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	/*background: #fafafa;*/
	z-index: 1;
}
.acf-selection-messenger-inner {
	display: table;
	height: 100%;
	width: 100%;
}
.acf-selection-messenger-message {
	text-align: center;
	display: table-cell;
	vertical-align: middle;
}

/*Filters*/
.acf-selection-filters {
	width: 100%;
}
.acf-selection-filters,
.acf-selection-filters li {
	margin: 0;
	padding: 0;
	display: block;
}
.acf-selection-filters li {
	list-style: none;
}

/*Search*/
.acf-field .acf-selection-input {
	float: left;
	width: 50% !important;
    box-shadow: none;
    border: 1px solid #d9d9d9;
    height: 27px;
    font-weight: normal;
    line-height: 19px;
}
.acf-field .acf-selection-input-select {
	border-radius: 0;
	padding: 0 10px;
	background: #fff;
}
.acf-selection-input:focus,
.acf-selection-input:active {
	outline: 0;
}

/*Datatables*/
.dataTables_filter {
	display: none;
}

/*Modal*/
.acf-selection-modal-wrapper {
	height: 100%;
	width: 100%;
	background: #fff;
	z-index: 2;
	border: 1px solid #ddd;
	left: 0;
	bottom: -100%;
	-webkit-transition: bottom ease-in-out .2s;
	-o-transition: bottom ease-in-out .2s;
	transition: bottom ease-in-out .2s;
}
.acf-selection-modal-wrapper.acf-selection-modal-open {
	bottom: 0;
}
.acf-selection-modal {
	height: 100%;
}
.acf-selection-modal-header {
	background: #f9f9f9;
	padding: 10px;
	z-index: 2;
	position: relative;
	border-bottom: 1px solid #ddd;
}
.acf-selection-modal-content {
	margin-top: -47px;
	padding-top: 47px;
	height: 100%;
	z-index: 1;
	position: relative;
}
.acf-selection-modal-content-inner {
	overflow: scroll;
	height: 100%;
}
.acf-selection-modal iframe {
	width: 100%;
	height: 100%;
	overflow: scroll;
	border: 0;
}

.acf-selection-modal-loading-wrapper {
	height: 100%;
	width: 100%;
	display: table;
}
.acf-selection-modal-loading-text {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

/*Dislabed*/
/*Locked Selection*/
.acf-selection-disabled .acf-selection-scroller {
	/*height: auto !important;*/
}
.acf-selection-disabled .acf-selection-row {
	margin: 0px;
}
.acf-selection-disabled .acf-selection-col {
	padding: 0;
}
/*.acf-selection-disabled .acf-selection-buttons,*/
.acf-selection-disabled .acf-selection-col-choices {
	display: none;
}
.acf-selection-disabled .acf-selection-col-selected {
	width: 100%;
}