﻿.dropdown {
    position: relative;
    width: 100%;
    height: 30px;
    border-radius: 3px;
    border: 1px solid rgba(0, 32, 122, 0.4);
    background-color: #fafafa;
    padding: 0 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-family: roboto-light;
    font-size: 14px;
    color: #00207a;
    cursor: pointer;
}

    .dropdown .img {
        width: 35px;
        height: 35px;
        margin-top: 7.5px;
        margin-bottom: 7.5px;
        border-radius: 50%;
        object-fit: cover;
        margin-right: 15px;
    }

    .dropdown text {
        margin-right: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
    }

    .dropdown i {
        width: 8.5px;
        height: 8.5px;
        border-right: 2px solid #707070;
        border-bottom: 2px solid #707070;
        border-radius: 1px;
        transform: rotate(45deg);
    }

    .dropdown .dropdown-item-container {
        display: none;
        position: absolute;
        top: 40px;
        left: 0;
        width: 100%;
        /*height: auto;*/
        max-height: 40vh;
        flex: 0 0 auto;
        /*margin: 0 -12px;*/
        flex-direction: column;
        border-radius: 3px;
        border: none;
        background-color: #fff;
        box-shadow: 0 0 14px rgba(0, 0, 0, 0.16);
        overflow-y: auto;
        z-index: 100;
    }

        .dropdown .dropdown-item-container.dropdown-visible {
            display: flex;
        }

        .dropdown .dropdown-item-container .dropdown-item {
            width: 100%;
            min-height: 30px;
            flex: 0 0 auto;
            display: flex;
            align-items: center;
            padding: 6px 12px;
            border-top: 0.5px solid #707070;
            font-size: 12px;
            color: #00207a;
        }

            .dropdown .dropdown-item-container .dropdown-item[disabled] {
                color: #707070;
            }

            .dropdown .dropdown-item-container .dropdown-item:first-child {
                border-top-left-radius: 3px;
                border-top-right-radius: 3px;
                border-top: none;
            }

            .dropdown .dropdown-item-container .dropdown-item:last-child {
                border-bottom-left-radius: 3px;
                border-bottom-right-radius: 3px;
            }

            .dropdown .dropdown-item-container .dropdown-item:hover {
                background-color: #dee7ff;
            }

            .dropdown .dropdown-item-container .dropdown-item.selected {
                background-color: #3b6fff;
                color: #fff;
            }

            .dropdown .dropdown-item-container .dropdown-item[disabled] {
                background-color: #fafafa;
                color: #707070;
                cursor: initial;
            }

    .dropdown.not-selected {
        color: #707070;
    }

.edit-popout .dropdown {
    width: 100%;
    height: 30px;
    border-radius: 5px;
    border: 0.5px solid #b4b4b4;
    background-color: #fff;
    text-align: left;
    color: #00207a;
    box-shadow: 0px 1px 1px rgba(0,0,0,0.16);
}
