﻿
:root {
    --dark: rgb(0,118,212);
    --light: white;
    --neutral: #EFEEEF;
}

/* plugin */
.dropdownsearchlist{ line-height:1}

/* Main control label */
.label-container {
    line-height: 0.9em;
    display: inline-block;
    padding-left: 5px;
    padding-right: 15px;
    width:125px;
}
.control-label{
    font-weight:bold;
}
/* Main control button */
.search-button {
    position: relative;
    background: transparent;
    padding: 2px 4px;
    width: 100%;
  /*  border: 1px solid silver;*/
    border-radius: 4px;
    cursor: pointer;
    background-color: var(--dark);
    color: var(--light);
}
/* state for button expanded */
.dd-search-state-expanded {
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom: 0 !important;
}
.ddlist-container{ width:100%}
.search-area {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    padding: .375em .75em;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.5;
}

.search-icon{
    font-size: 1.25em !important;
    color: var(--dark) !important;
}

/* container for the selected list item */
.selected-listitem {
    display: inline-block;
    padding-left: 5px;
    padding-right: 15px;
}

/* container for dropdown search */
.search-item-area {
    position: relative;
    vertical-align: middle;
}

/* dd-search is the search control */
.dd-searchBox {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    padding: .375em .75em;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: white;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25em;
}
    .dd-searchBox:focus {
        border-color: #ced4da;
        outline: 0 none;
    }

/* dropdown-area is the dropdown area container */
.dropdown-area {
    border: 1px solid silver;
    text-align: left;
    display: block;
    background-color: var(--neutral);
    transition: visibility 0.3s linear,opacity 0.3s linear;
}
.dropdown-list-area{

}

/* unordered list for list items */
.ddsearch-list {
    list-style: none;
    padding-left: 0;
    background-color: white;
    height: 300px;
    overflow-y: scroll;
}

/* list items for the unordered list */
.ddsearch-item {
    cursor: pointer;
    border-radius: 5px;
    padding: 3px 10px;
}

    .ddsearch-item:hover {
        background-color: var(--dark);
        color: var(--light);
    }

    .ddsearch-item.selected {
        background-color: var(--dark);
        color: var(--light)
    }


/* positioning for icons */
.icon-position {
    position: absolute;
    right: 1em;
    top: .20em;
    font-size: 1.25em;
    color: var(--neutral);
    cursor: pointer;
    margin-top: .25em;
}
.hidden {
    display: none;
}

/* scrollbar on Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--dark) var(--neutral);
}

    /* scrollbar on Chrome, Edge, and Safari */
    *::-webkit-scrollbar {
        width: 12px;
    }

    *::-webkit-scrollbar-track {
        background: var(--neutral);
    }

    *::-webkit-scrollbar-thumb {
        background-color: var(--dark);
        border-radius: 20px;
        border: 1px solid silver;
    }