.acf_buckets {
    position: relative;
    overflow: hidden;
}

.acf_buckets .relationship_left {
    width: 50%;
    float: left;
}

.acf_buckets .relationship_right {
    width: 50%;
    float: left;
}

.acf_buckets .relationship_label {
    font-size: 12px;
    font-family: sans-serif;
    color: #999;
    position: absolute;
    margin-top: 5px;
    margin-left: 10px;
}

.acf_buckets .widefat {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.acf_buckets .widefat th {
    border-bottom: 0 none;
}

.acf_buckets .relationship_search {
    margin: 0;
    font-size: 12px;
    line-height: 13px;
    border-radius: 13px;
    font-family: sans-serif;
    padding: 5px 9px !important;
}

.acf_buckets .relationship_list {
    background: #fff;
    position: relative;
    overflow: auto;
    height: 150px;
    border: #DFDFDF solid 1px;
    border-top-width: 0;
}

.acf_buckets .relationship_list li.hide {
    background: #f8f8f8;
}

.acf_buckets .relationship_list li.hide a {
    cursor: default;
    color: #21759B !important;
    opacity: 0.5;
    background: transparent !important;
}

.acf_buckets .relationship_list li {
    border-bottom: #f8f8f8 solid 1px;
    position: relative;
}

.acf_buckets .relationship_list li a {
    display: block;
    position: relative;
    padding: 7px 9px 7px 30px;
    text-decoration: none;
}

.acf_buckets .relationship_list li a .relationship-item-info {
    color: #CCC;
    text-transform: uppercase;
    float: right;
    font-size: 11px;
}

.acf_buckets .relationship_list li:hover a .relationship-item-info {
    padding-right: 24px;
    color: #999;
}

.acf_buckets .relationship_list li.hide:hover a .relationship-item-info {
    padding-right: 0;
    color: #CCC;
}

.acf_buckets .relationship_list li a:hover,
.acf_buckets .relationship_list li a:focus {
    background: #eaf2fa;
    color: #000;
    box-shadow: #d6e1ec 0 0 0 1px;
}

.acf_buckets .relationship_right .relationship_list {
    margin-left: 10px;
    height: 193px;
    min-height: 193px;
    border-top-width: 1px;
}

.acf_buckets .relationship_list li a .acf-button-add,
.acf_buckets .relationship_list li a .acf-button-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    display: none;
    cursor: pointer;
}

.acf_buckets .relationship_list li .edit.v4 {
    cursor: pointer !important;
    display: inline-block;
    position: absolute;
    top: 6px;
    left: 5px;
    z-index: 999;
    color: #ccc;
}

.acf-relationship.acf-buckets .filters .filter {
    box-shadow: none;
    border-color: transparent;
    height: 28px;
    line-height: 28px;
    padding: 2px;
    margin: 7px 7px 0;
}

.acf_buckets .relationship_list li .edit.v4:hover {
    color: #2ea2cc;
}

.acf_buckets .relationship_list li a:hover .acf-button-add,
.acf_buckets .relationship_list li a:hover .acf-button-remove {
    display: block;
}

.acf_buckets .relationship_list li.hide a:hover .acf-button-add {
    display: none;
}

.acf_buckets .relationship_right .relationship_list li a {
    cursor: move;
    padding: 7px 9px;
}

.acf_buckets .load-more .acf-loading {
    padding: 0;
    box-shadow: none;
    background-color: transparent;
}

.acf_buckets.no-results .load-more {
    display: none;
}

.acf_buckets select {
    font-family: sans-serif;
    font-size: 12px;
}

.acf_buckets .widefat tr + tr th {
    border-radius: 0;
    border-top: #DFDFDF solid 1px;
    background: #F3F3F3;
}

.acf_buckets .relationship_list .result-thumbnail {
    width: 21px;
    height: 21px;
    background: #F9F9F9;
    border: #E1E1E1 solid 1px;
    float: left;
    margin: -3px 5px 0 0;
}

.acf_buckets .relationship_list .result-thumbnail img {
    width: 21px;
    height: 21px;
}

.new-bucket-button, .new-bucket {
    margin: 7px 7px 7px 0 !important;
}

.new-bucket-button {
    float: right;
}

.acf-buckets .choices .list li {
    position: relative;
}

.acf-buckets .choices .list li .edit {
    display: none;
    position: absolute;
    z-index: 2;
    right: 5px;
    top: 3px;
    padding: 1px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    width: 25px;
    text-align: center;
    border: 1px solid #fff;
    border-radius: 5px;
}

.acf-relationship .list .acf-rel-item.disabled + span.edit {
    opacity: 0.5;
    color: #666;
    border: 1px solid #666;
    display: inline-block !important;
}

.acf-buckets .choices .list li .edit:hover {
    color: #2ea2cc;
    border-color: #2ea2cc;
    opacity: 1;
}

.acf-buckets .choices .list li .edit .dashicons {
    font-size: 20px;
}

.acf-buckets .choices .list li:hover .edit {
    display: inline-block;
}

.acf-buckets .acf-icon.small.dark {
    color: #fff;
    border-radius: 5px;
    background: none;
    border: 1px solid #fff;
}

.acf-buckets .acf-icon.small.dark:hover {
    color: #333;
    border-color: #333;
}

.acf-buckets .acf-icon.small.dark span.dashicons {
    margin-left: -1px;
}