﻿.custom-ac-drop__result {
    display: none;
    position: absolute;
    width: 100%;
    top: 48px;
    background-color: #ffffff;
    border: 1px solid #c6ccd5;
    color: #707883;
    word-break: break-word;
    z-index: 199;
}

.custom-ac-drop__result-fb {
    top: auto;
    bottom: 48px;
}

.minwidth-unset-CAC .custom-ac-drop__result {
    min-width: unset !important;
}

.custom-ac-drop__result-container {
    -webkit-box-shadow: 0 0 5px 2px rgba(0,0,0,.1);
    box-shadow: 0 0 5px 2px rgba(0,0,0,.1);
}

.custom-ac-drop__result-wrapper {
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-ac-drop__result-new {
    font-style: italic;
    font-size: 15px;
    line-height: 19px;
    text-transform: capitalize;
    color: rgba(0,0,0,.7);
    padding: 8px 10px;
    border-bottom: 1px solid rgba(0,0,0,.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .custom-ac-drop__result-new:hover {
        text-decoration: underline;
    }

.custom-ac-drop__item.custom-ac-drop__result-new {
    text-decoration: underline;
    text-align: center;
    justify-content: center;
}

.custom-ac-drop__result-wrapper .custom-ac-drop__item:not(:first-child)::before {
    content: "";
    background-color: rgba(0,0,0,.07);
    height: 1px;
    width: calc(100% - 20px);
    position: absolute;
    top: 0;
    left: 10px;
}

.custom-ac-drop__result-wrapper.hide-lines-between-item .custom-ac-drop__item::before {
    content: unset;
}

.custom-ac-drop__item {
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 7px 10px;
    position: relative;
}

    .custom-ac-drop__item:hover,
    .custom-ac-drop__item.selected {
        /*background-color: #00a7f7;*/
        background-color: #eee;
        /*color: #FFFFFF;*/
    }

    .custom-ac-drop__item .ac-drop__item-link-imgb,
    .custom-ac-drop__item .ac-drop__item-link-imgw {
        width: 19px;
        height: 19px;
    }

    .custom-ac-drop__item .ac-drop__item-link-imgb {
        display: block;
    }
    /*
    .custom-ac-drop__item:hover .ac-drop__item-link-imgb,
    .custom-ac-drop__item.selected .ac-drop__item-link-imgb {
        display: none;
    }
*/
    .custom-ac-drop__item .ac-drop__item-link-imgw {
        display: none;
    }
/*
    .custom-ac-drop__item:hover .ac-drop__item-link-imgw,
    .custom-ac-drop__item.selected .ac-drop__item-link-imgw {
        display: block;
    }*/

.custom-ac-drop__icon {
    background-color: transparent;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


.cad-loader-container {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 47px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    display: inline-block;
    border-top: 3px solid #00a7f7;
    border-right: 3px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.cad-addnew-loader {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 5px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    display: inline-block;
    border-top: 3px solid #00a7f7;
    border-right: 3px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (min-width: 768px) {
    .custom-ac-drop__result-new,
    .custom-ac-drop__item.custom-ac-drop__result-new {
        font-size: 13px;
    }

    .custom-ac-drop__item {
        font-size: 14px;
    }
}


.custom-ac-drop__container .os-theme-dark > .os-scrollbar-vertical,
.custom-ac-drop__container .os-theme-light > .os-scrollbar-vertical {
    width: 8px;
}

.custom-ac-drop__container .os-theme-dark > .os-scrollbar > .os-scrollbar-track > .os-scrollbar-handle {
    background: rgba(0,0,0,.5);
}

.custom-ac-drop__icon-edit {
    position: relative;
    margin-right: 5px;
    width: 17px;
    left: 0;
    top: -2px;
    cursor: pointer;
}

.custom-ac-drop__item-link {
    flex: 0 0 auto;
}

.custom-ac-drop__item-title {
    pointer-events: none;
}

.custom-ac-drop-forbidden__input {
    cursor: not-allowed !important;
}
