.attribute-editor {
    margin-top: 20px;
}

.attribute-editor:before,
.attribute-editor:after {
    content: '';
    clear: both;
    display: table;
}

.attribute-editor > .title-wrapper {
    width: 220px;
    float: left;
}

.attribute-editor > .title-wrapper > .title {
    padding-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.attribute-editor .label {
    width: 220px;
    float: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.attribute-editor .reset {
    width: 12px;
    float: right;
}

.attribute-editor .reset a {
    display: block;
    background: url('../images/delete_12x12-ver-E05EFD50E74FF83B9B49A30020082225.png') center no-repeat;
    width: 12px;
    height: 25px;
}

.attribute-editor .field {
    position: relative;
    margin-left: 230px;
    margin-right: 25px;
}

.attribute-editor .mz-ul {
    list-style: none;
    width: auto;
    min-height: 25px;
    margin: 0 24px 0 0;
    padding: 0;
    border: 1px solid #867a76;
    border-right-width: 0;
    background: #fff;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.attribute-editor .mz-ul > li {
    display: inline-block;
    padding: 0 10px;
    line-height: 23px;
}

.attribute-editor.list.multiselect .mz-ul {
    cursor: text;
}

.attribute-editor-combobox.focused .mz-ul,
.attribute-editor-combobox.focused .show-choices,
.attribute-editor-combobox.focused .show-dialog {
    border-color: #f25d40 !important;
    border-color: rgba(242, 93, 64, 0.6) !important;
    -webkit-box-shadow: 0 0 4px rgba(242, 93, 64, 0.8);
    -moz-box-shadow: 0 0 4px rgba(242, 93, 64, 0.8);
    box-shadow: 0 0 4px rgba(242, 93, 64, 0.8);
}

.attribute-editor li.mz-choice {
    position: relative;
    padding: 0 20px 0 10px;
    background: #eee;
    border: 1px solid #ccc;
    margin: 1px;
    line-height: 19px;
}

.attribute-editor li.mz-choice .remove-choice {
    display: block;
    position: absolute;
    background: url('../images/del-ver-1A4666D553996E9BBD8A0AD0C94D5565.png') center no-repeat;
    right: 5px;
    top: 0;
    width: 10px;
    height: 100%;
}

.attribute-editor .attribute-editor-combobox .show-choices,
.attribute-editor .attribute-editor-combobox .show-dialog {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    width: 24px;
    height: 100%;
    border: 1px solid #867a76;
    border-left-width: 0;
    text-align: center;
    text-decoration: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.attribute-editor .attribute-editor-combobox .show-choices {
    background: url('../images/menu_arrow-ver-A524624791838E1ECC68DF4A6CA79880.png') center no-repeat;
    background-size: 10px auto;
}

.attribute-editor .attribute-editor-combobox .show-dialog {
    background: url('../images/dots-ver-14D1D9BFBCE3C20418DB0A5E6AA158D0.svg') left center no-repeat;
    background-size: 20px auto;
}

.attribute-editor .text-attribute-editor {
    width: 100%;
}

.attribute-editor .range-editor {
    display: table;
    width: 100%;
}

.attribute-editor .range-editor .range-editor-label,
.attribute-editor .range-editor .range-editor-field {
    display: table-cell;
}

.attribute-editor .range-editor .range-editor-label {
    width: 25px;
    padding-right: 6px;
}

.attribute-editor .range-editor .range-editor-label.last {
    padding-left: 6px;
}

.attribute-editor .range-editor .range-editor-field input {
    width: 100%;
}

.attribute-editor .range-editor .range-editor-field--calendar input {
    padding-left: 4px;
    padding-right: 22px;
    background: #ffffff url('../images/calendar-ver-D94187222CB288120287B9734B7F55E7.png') right center no-repeat;
}

.attribute-editor .boolean-attribute-editor-label {
    height: 25px;
}

.attribute-editor .mz-search-field {
    height: auto;
    margin-top: 2px;
    padding: 0 4px !important;
    border: none;
}

.attribute-editor .mz-search-field:focus {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.attribute-editor .panelPopup {
    width: 100% !important;
    border-top: none !important;
    -webkit-box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
}

.attribute-editor .panelPopup .content-container {
    max-height: 280px;
    overflow: auto;
}

.attribute-editor .wicket-ajax-indicator {
    display: none !important;
}

/*
 * Attribute editor tabbed panel inside popup
 * Used in staff attribute editor popup
 */

/* Tabs buttons row */

.attribute-editor .panelPopup .popup-tabs > .tab-row > ul {
    display: table;
    table-layout: fixed;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #ccc;
}

.attribute-editor .panelPopup .popup-tabs > .tab-row > ul > li {
    display: table-cell;
    vertical-align: middle;
    width: 50%;
}

.attribute-editor .panelPopup .popup-tabs > .tab-row > ul > :not(:last-child) {
    border-right: 1px solid #ccc;
}

.attribute-editor .panelPopup .popup-tabs > .tab-row > ul > li > a {
    display: block;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    height: 25px;
    line-height: 25px;
    padding: 0 4px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.attribute-editor .panelPopup .popup-tabs > .tab-row > ul > li > a:hover {
    background-color: #e1e1e1;
}

.attribute-editor .panelPopup .popup-tabs > .tab-row > ul > li.selected > a {
    background-color: #f1f1f1;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Tabs content panel */

.attribute-editor .panelPopup .popup-tabs > .tab-panel {
    max-height: 226px; /* Content container max-height minus tabs buttons row height */
    overflow: auto;
}