.ident-search-typehead-outlet{
    ul.typeahead.dropdown-menu{
        z-index: 2052;
        max-width: 100%;
        min-width: auto;
    }
}

[data-ident-search-content] {
    display: none;
}

#ident-search-popup.custom-modal {
    max-width: 1380px;
    width: 75%;
    height: 95%;
    max-height: 95%;

    .dataTables_wrapper {
        min-height: auto;
    }

    .paw-o-l-s {
        padding-left: 8px;
    }

    .paw-o-r-s {
        padding-right: 8px;
    }

    .paw-o-t {
        padding-top: 16px;
    }

    .paw-o-t-s {
        padding-top: 8px;
    }

    .paw-o-b-s {
        padding-bottom: 8px;
    }

    .paw-o-b-s {
        padding-bottom: 8px;
    }

    .paw-m-l-s {
        margin-left: 8px;
    }

.ident-search-content {
    position: relative;
}

    .ident-search-form .ident-search-label {
        width: 100px;
        min-width: 100px;
        max-width: 100px;
        margin-right: 4px;
    }

    .ident-search-content .ident-search-preloader-holder {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: white;
        z-index: 10;
    }

    .ident-search-content .ident-search-preloader-holder .ident-search-preloader {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 36px;
        height: 36px;
        margin-left: -18px;
        margin-top: -18px;
        z-index: 11;
    }

    .ident-search-row-selected {
        background-color: $table-hover-row-background-color !important;
    }

    .ident-search-actions {
        flex-wrap: wrap;

        > button {
            margin-right: 2px;
            margin-top: 1px;
            margin-bottom: 1px;

            &:last-child {
                margin-right: 0;
            }
        }
    }

    .tables-holder {
        min-height: 50%;
        max-height: 50%;
        height: 50%;

        $stockTableHolderW: 330px;

        .ident-table-holder {
            min-width: calc(100% - #{$stockTableHolderW});
            max-width: calc(100% - #{$stockTableHolderW});
            width: calc(100% - #{$stockTableHolderW});
        }

        .stock-table-holder {
            min-width: $stockTableHolderW;
            max-width: $stockTableHolderW;
            width: $stockTableHolderW;
        }
    }


    @media (max-width: 1200px) {
        min-width: 95%;
        max-width: 95%;
        width: 95%;
    }

    @media (max-width: $max-screen-xs) {
        min-width: 100%;
        max-width: 100%;
        width: 100%;
        min-height: 100%;
        max-height: 100%;
        height: 100%;
        border-radius: 0;
    }

    @media (max-width: 668px) {

        .tables-holder {
            display: block;
            overflow: auto;

            .ident-table-holder {
                min-width: 100%;
                max-width: 100%;
                width: 100%;
                padding: 0;
                padding-bottom: 24px;
            }

            .stock-table-holder {
                min-width: 100%;
                max-width: 100%;
                width: 100%;
                padding: 0;
            }
        }
    }

    @media (max-width: 520px) {
        .custom-modal-content {
            padding-left: 12px;
            padding-right: 12px;
        }

        .ident-search-form {
            display: block;

            > .paw-col-eq {
                min-width: 100%;
                max-width: 100%;
                width: 100%;
                padding: 0;
            }
        }
    }
}

