.select-dropdown {
    position: relative;
    display: inline-block;
    max-width: 100%;
}
.select-dropdown__button {
    padding: 10px 35px 10px 15px;
    background-color: #fff;
    color: #616161;
    border: 1px solid #cecece;
    border-radius: 3px;
    cursor: pointer;
    width: auto;
    text-align: left;
}
.select-dropdown__button::focus {
    outline: none;
}
.select-dropdown__button .zmdi-chevron-down {
    position: absolute;
    right: 10px;
    top: 12px;
}
.select-dropdown__list {
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    max-height: 300px;
    overflow: auto;
    margin: 0;
    padding: 0;
    list-style-type: none;
    opacity: 0;
    pointer-events: none;
    transform-origin: top left;
    transform: scale(1, 0);
    transition: all ease-in-out 0.3s;
    z-index: 2;
}
.select-dropdown__list.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1, 1);
}
.select-dropdown__list-item {
    display: block;
    list-style-type: none;
    padding: 10px 15px;
    background: #fff;
    border-top: 1px solid #e6e6e6;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    color: #616161;
    transition: all ease-in-out 0.3s;
}






.autocomplete-drop-down {
    position: relative;
}
.item-input, .item-list {
    border: none;
    box-sizing: border-box;
}
.item-input-container {
    height: 2.5rem;
    position: relative;
}
.item-input {
    position: relative;
    transition: outline 0.2s ease;
    transition-delay: 0.2s;
}
.input-underline {
    background: #000;
    bottom: 0;
    content: '';
    height: 2px;
    left: 0;
    position: absolute;
    transform-origin: center bottom;
    transition: transform 0.3s ease;
}
.input-arrow {
    position: absolute;
    right: 0.5em;
    top: calc(50% - 0.5rem);
    transition: transform 0.3s ease;
}
.item-list-container {
    box-shadow: 0 8px 15px 0 rgba(33, 33, 33, 0.2);
    opacity: 0;
    position: relative;
    transform: scaleY(0);
    visibility: hidden;
    transform-origin: center top;
    transition: all 0.3s ease;
    width: 740px;
    position: absolute;
    z-index: 9999;
    max-height: 160px;
    overflow: auto;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
}
.item-list-container span:nth-child(1) {
    width: 25%;
}
.item-list-container span:nth-child(2), .item-list-container span:nth-child(3), .item-list-container span:nth-child(4), .item-list-container span:nth-child(5), .item-list-container span:nth-child(6) {
    width: 14%;
}

.item-list-container.visible {
    opacity: 1;
    transform: scaleY(1);
    visibility: visible;
}
.item-list {
    display: flex;
    max-height: 11.5em;
    overflow-x: hidden;
    overflow-y: scroll;
    flex-direction: column;
}
.item {
    cursor: pointer;
    padding: 0.5em;
    transition: background 0.5s ease;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 5px;
}
.item:hover {
    background: #ccc;
}
.item span {
    box-sizing: border-box;
    display: inline-block;
}
li.item.heading {
    pointer-events: none;
    color: #9a9898;
}

#cal-new-row-structure input[disabled] {
    background-color: #d8d8d8;
}

#cal-new-row-structure input, #cal-new-row-structure textarea {
    width: 100%;
    background-color: #F4F4F4;
    border: 0.5px solid #AAAAAA;
    min-height: 32px;
    border-radius: 8px;
    resize: none;
    padding: 5px 10px;
}
#addRowDescription,#addRowItem,#addRowHeight,#addRowWidth,#addRowDepth,#addRowVolume,#addRowWeight,#addRowValue {
    width: 100%;
}
#cal-new-row-structure input.error,#cal-new-row-structure textarea.error {
    border: 1px solid #dc3232 !important;
}
#cal-new-row-structure input.error+span,#cal-new-row-structure textarea.error+span {
    color: #dc3232;
    font-size: 13px;
}
#cal-thead-structure .first-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.header-unit {
    font-size: 13px;
    color: #6c7781;
}
.save-add-row,.open-add-row {
    cursor: pointer;
}
#cal-new-row-structure label {
    font-size: 14px;
    line-height: 24px;
}
.editor-opened .open-modify-row, .editor-opened .duplicate-row {
    opacity: 0.2;
}
@media screen and (max-width: 767px) {
    .item-input-container{
        height: auto;
    }
    #cal-new-row-structure label {
        font-size: 12px;
        line-height: 20px;
    }
    #cal-new-row-structure input, #cal-new-row-structure textarea {
        font-size: 16px;
    }
    .item {
        width: 500px;
    }
    .item-list-container.visible {
        max-width: 100%;
        overflow: scroll;
    }
}
@media screen and (max-width: 1024px) {
    .item-list-container {
        width: 600px;
    }
    
}
@media screen and (min-width: 1025px) {
    #cal-new-row-structure label {
        display: none;
    }
}