/*Auto complete UI drop down custom styled*/
.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
    /*
        scrollbar addition
*/
    overflow: auto;
    max-height: 400px;
}

.ui-autocomplete > li > div {
    display: block;
    padding: 5px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333333;
    white-space: nowrap;
}

.ui-state-hover,
.ui-state-active,
.ui-state-focus {
    text-decoration: none;
    color: #262626;
    background-color: #f5f5f5;
    cursor: pointer;
}

.ui-helper-hidden-accessible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.btn {
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

    .btn:hover {
        box-shadow: none;
    }

    .btn-outline-primary:hover {
        color: #fff;
        background-color: #fff;
        border-color: gray;
    }
.mb-3, .my-3 {
    margin-bottom: 0rem !important;
}

.container-fluid.search-block {
    width: 22%;
}

button#btnSearch {
    background-image: url(/course-engine-assets/images/search.png);
    background-repeat: no-repeat;
    width: 40%;
    margin-left: 10px;
    margin-top: 8px;
    width: 25%;
    border: none;
    color: #ffffff; 
    text-transform: lowercase;
}

.btn-outline-primary:hover {
    border-color: none;
    color: gray;
    background: #ffffff;
}

.btn:focus {
    outline: 0;
    box-shadow: none;
    color: gray;
    border: 1px solid gray;
}

.btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active, .show > .btn-outline-primary.dropdown-toggle {
    background-color: none;
    border-color: gray;
}

.btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active, .show > .btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: none;
    border-color: none;
}


.btn-outline-primary {
    color: gray;
    border-color: gray;
}



.search-listing-table tbody {
    width: 100%
}

    .search-listing-table tbody tr td {
        padding: 5px 10px 5px 0
    }

        .search-listing-table tbody tr td.first-cell {
            width: 50%
        }

        .search-listing-table tbody tr td.second-cell {
            width: 10%
        }

        .search-listing-table tbody tr td:last-child {
            width: 20%;
            text-align: right
        }

            .search-listing-table tbody tr td:last-child a {
                text-decoration: underline
            }



@media only screen and (max-width: 768px) and (max-width: 800px) {
    .search-listing-table thead, .search-listing-table tbody, .search-listing-table th, .search-listing-table td, .search-listing-table tr {
        display: block
    }

    .search-listing-table tr {
        border-bottom: 1px solid #c0c0c0;
        margin-bottom: 10px;
        padding-bottom: 5px
    }

    .search-listing-table td {
        border: none;
        position: relative;
        padding-left: 50%;
        white-space: normal;
        text-align: left
    }

        .search-listing-table td:last-child {
            padding-right: 0;
            width: auto !important
        }
}


@media only screen and (max-width: 767px) {

    .container-fluid.search-block {
        width: 100%;
        margin-top: 4%;
    }

        .container-fluid.search-block .input-group.mb-3 {
            display: flex;
            justify-content: center;
        }
}
