﻿@font-face {
    font-family: NotoColorEmoji;
    unicode-range: U+1F1E6-1F1FF;
    src: url("/Content/fonts/NotoColorEmoji.ttf") format('truetype');
}

.address-editor .padded-row {
    margin: 0.5rem 0;
}

.phone-wrapper {
    display: flex;
    flex-direction: row;
    position: relative;
}

    .phone-wrapper .filter-menu-trigger {
        border-radius: 4px 0 0 4px;
        border-right-width: 0;
    }

    .phone-wrapper input {
        border-radius: 0 4px 4px 0 !important;
    }

.phone-input-wrapper {
    flex: 1;
}

.modal {
    overflow: auto;
    padding: 10vh 0;
    align-items: flex-start;
}

    .modal .modal-content {
        overflow: initial;
        max-height: none;
    }

.filter-wrapper {
    position: sticky;
    top: -15px;
    background: #fff;
    margin: -15px -15px 5px;
    padding: 15px;
    width: calc(100% + 30px);
    z-index: 1;
}

    .filter-wrapper input {
        width: 100%;
    }

.filter-menu-wrapper {
    position: relative;
    max-height: 400px;
    width: 90px;
}

.filter-menu-trigger {
    box-sizing: border-box;
    box-shadow: inset 0 1px 2px rgb(10 10 10 / 10%);
    border-radius: 0;
    max-width: 380px;
    transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
    padding: 0.3rem;
    border: 1px solid gray;
    background-color: white;
    font-size: 0.8rem;
    border-radius: 5px;
    text-decoration: none;
    display: flex;
    height: 100%;
    font-weight: 600;
    line-height: 1;
    align-items: center;
    justify-content: flex-start;
    font-family: Apple Color Emoji, Android Emoji,EmojiSymbols,EmojiOne Mozilla,NotoColorEmoji,Segoe UI Emoji,Segoe UI Symbol, sans-serif;
}

    .filter-menu-trigger:after {
        content: " ";
        height: 0;
        width: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid #2f2f2f;
        position: absolute;
        right: 8px;
        top: calc(50% - 3px);
    }

.filter-menu-list {
    max-width: 100%;
    position: absolute;
    z-index: 6;
    background: #fff;
    padding: 15px;
    box-shadow: 0 0 5px rgb(0 0 0 / 50%);
    border-radius: 8px;
    overflow: auto;
    min-width: 320px;
    max-width: 320px;
    max-height: 228px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .2s, transform .3s;
}

    .filter-menu-list.open {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }


@media screen and (max-width: 760px) {
    .filter-menu-list {
        min-width: 80%;
        max-width: 80%;
    }
}

@media screen and (max-width: 760px) {
    .filter-menu-list {
        min-width: 282px;
        max-width: 282px;
    }
}

.country-flag {
    font-family: Apple Color Emoji, Android Emoji,EmojiSymbols,EmojiOne Mozilla,NotoColorEmoji,Segoe UI Emoji,Segoe UI Symbol, sans-serif;
    min-width: 32px;
    width: 24px;
    max-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-entry {
    display: flex;
    flex-direction: row;
    align-items: center;
    line-height: 1;
    gap: 10px;
    padding: 8px 15px;
    margin: 0 -15px;
    cursor: pointer;
}


    .country-entry:hover {
        background: #ededed;
    }

    .country-entry > * {
        pointer-events: none;
    }

.country-label {
    font-weight: 700;
}

.country-secondary-value {
    margin-left: auto;
    opacity: .7;
    font-weight: 700;
}

.invisible-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    left: 0;
}