﻿.gj-dropdown {
    position: relative;
    border-collapse: separate;
}

.gj-dropdown [data-gj-role="presenter"] {
    display: table;
    cursor: pointer;
    outline: none;
    position: relative;
}

.gj-dropdown [data-gj-role="presenter"] [data-gj-role="display"] {
    display: table-cell;
    text-align: left;
    width: 100%;
}

.gj-dropdown [data-gj-role="presenter"] [data-gj-role="expander"] {
    display: table-cell;
    vertical-align:middle;
    text-align:center;
    width: 24px;
    height: 24px;
}

/* Material Design */
.gj-dropdown-md [data-gj-role="presenter"] {
    font-family: "Roboto","Helvetica","Arial",sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .04em;
    line-height: 1;
    color: rgba(0,0,0,.87);
    padding: 0px;
    border: 0px;
    border-bottom: 1px solid rgba(0,0,0,.42);
    background: transparent;
}

.gj-dropdown-md [data-gj-role="presenter"]:focus,
.gj-dropdown-md [data-gj-role="presenter"]:active {
    border-bottom: 2px solid rgba(0,0,0,.42);
}

.gj-dropdown-md [data-gj-role="presenter"] [data-gj-role="display"] {
    padding: 4px 0px;
    /*line-height: 18px;*/
}

.gj-dropdown-md [data-gj-role="presenter"] [data-gj-role="display"] .placeholder {
    color: #8e8e8e;
}

.gj-dropdown-list-md {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: #f5f5f5;
    color: #000;
    margin: 0px;
    z-index: 1203;
}

.gj-dropdown-list-md li:hover, .gj-dropdown-list-md li.active {
    background-color: #eee;
}

/* Bootstrap */
.gj-dropdown-bootstrap [data-gj-role="presenter"] [data-gj-role="display"] {
    padding-right: 5px;
}

.gj-dropdown-bootstrap [data-gj-role="presenter"] [data-gj-role="expander"] {
    padding-left: 5px;
}

.gj-dropdown-bootstrap [data-gj-role="presenter"] [data-gj-role="expander"].gj-dropdown-expander-mi {
    width: 24px;
}

.gj-dropdown-bootstrap-3 [data-gj-role="presenter"] [data-gj-role="display"] {
    line-height: 20px;
}

.gj-dropdown-bootstrap-3 [data-gj-role="presenter"] [data-gj-role="display"] .placeholder {
    color: #9999b3;
}

.gj-dropdown-bootstrap-3 [data-gj-role="presenter"] [data-gj-role="expander"] {
    width: 20px;
    height: 20px;
}

.gj-dropdown-bootstrap-3 [data-gj-role="presenter"] [data-gj-role="expander"].gj-dropdown-expander-mi .gj-icon,
.gj-dropdown-bootstrap-3 [data-gj-role="presenter"] [data-gj-role="expander"].gj-dropdown-expander-mi .material-icons {
    top: 5px;
    right: 10px;
    position: absolute;
}

.gj-dropdown-bootstrap-4 [data-gj-role="presenter"] {
    border: 1px solid #ced4da;
}

.gj-dropdown-bootstrap-4 [data-gj-role="presenter"] [data-gj-role="display"] {
    line-height: 1.5rem;
}

.gj-dropdown-bootstrap-4 [data-gj-role="presenter"] [data-gj-role="expander"].gj-dropdown-expander-mi .gj-icon,
.gj-dropdown-bootstrap-4 [data-gj-role="presenter"] [data-gj-role="expander"].gj-dropdown-expander-mi .material-icons {
    top: .5rem;
    right: .6rem;
    position: absolute;
}

.gj-dropdown-list-bootstrap {
    position: absolute;
    top: 1rem;
    left: 0;
    margin: 0;
    z-index: 1203;
}