/*------------------------------*/
/*--- Blimburn Country Flags ---*/
/*------------------------------*/

.bbs-country-flags {
    position: relative;
    display: inline-block;
    padding: 5px;
}

.bbs-country-flags__toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    border: none !important;
    background: none !important;
    padding: 0 !important;
}

.bbs-country-flags__toggle:hover,
.bbs-country-flags__toggle:focus,
.bbs-country-flags__toggle:active {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.bbs-country-flags__arrow {
    font-size: 12px;
    color: var(--bbs-color-black);
}

.bbs-country-flags__flag {
    display: inline-block;
    width: 24px;
    height: auto;
}

.bbs-country-flags__flag svg {
    width: 100%;
    height: 100%;
    display: block;
}

.bbs-country-flags__content {
    display: none;
    position: absolute;
    background-color: var(--bbs-color-white);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
    z-index: 1;
    padding: 5px 0;
    left: calc(50% - 35px);
    top: 100%;
}

.bbs-country-flags:hover .bbs-country-flags__content {
    display: block;
}

.bbs-country-flags__item {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 7px 17px;
    text-decoration: none;
}

.bbs-country-flags__item:hover {
    background-color: var(--bbs-color-green-lighter);
}
