﻿.locale-wrapper {
    padding: 7px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    position: relative;
    flex-direction: row;
    justify-content: flex-end;
    color: #999;
    min-height: 50px;
    font-size: 0.9em;
}

.locale-wrapper .inline-icon svg {
    height: 1em;
    width: 1em;
    margin-left: 0.5em;
}

.locale-section {
    position: relative;
    font-weight: bold;
    cursor: pointer;
    line-height: 2rem;
    display: flex;
    align-self: center;
    padding: 0.25rem 0.5rem;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
}

    .locale-section:hover {
        background: #e7e7e7;
    }

    .locale-section .select {
        position: relative;
        cursor: pointer;
        width: 100%;
        display: inline-block;
    }

        .locale-section .select .selected {
            min-height: 2rem;
            display: flex;
        }

    .locale-section .selected-type {
        display: inline-block;
        margin: auto;
    }

    .locale-section .select ul {
        position: absolute;
        border-radius: 0 0 6px 6px;
        margin: 0 -10px 0 -10px;
        padding: 0;
        top: 100%;
        right: 1px;
        z-index: 1;
        border: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 10px 20px rgba(0 0 0, 0.1);
        background: rgba(255, 255, 255, 0.10);
        max-height: 250px;
        overflow: auto;
        list-style: none;
        font-weight: 700;
        display: none;
    }

    .locale-section .select.opened ul {
        display: block;
        background: #fff;
    }

    .locale-section .select ul li {
        padding: 8px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: right;
        color: #6699CC;
    }

        .locale-section .select ul li a {
            text-decoration: none;
        }

        .locale-section .select ul li:hover {
            background: #e7e7e7;
            color: #407fbf;
        }

    .locale-section .select ul li div {
        margin: auto;
    }
