.r4c-language-control {
    align-items: center;
    display: inline-flex;
    margin: 12px 0 0 10px;
    position: relative;
    vertical-align: top;
}

.r4c-language-control:before {
    color: #b7e62e;
    content: "\f0ac";
    font-family: FontAwesome;
    font-size: 14px;
    left: 10px;
    pointer-events: none;
    position: absolute;
    top: 7px;
    z-index: 2;
}

.r4c-language-select {
    appearance: none;
    background: #17231a;
    border: 1px solid rgba(183, 230, 46, .6);
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    height: 30px;
    letter-spacing: .3px;
    max-width: 112px;
    padding: 4px 24px 4px 29px;
    text-transform: uppercase;
}

.r4c-language-control:after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #b7e62e;
    content: "";
    pointer-events: none;
    position: absolute;
    right: 9px;
    top: 13px;
}

.r4c-language-suggestion {
    align-items: center;
    background: #eff8d0;
    border: 1px solid #b7d94c;
    border-radius: 8px;
    bottom: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .2);
    color: #173820;
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 10px;
    left: 50%;
    max-width: 520px;
    padding: 12px 14px;
    position: fixed;
    transform: translateX(-50%);
    width: calc(100% - 30px);
    z-index: 10050;
}

.r4c-language-suggestion a {
    background: #2f9f4f;
    border-radius: 4px;
    color: #fff !important;
    font-weight: 700;
    padding: 7px 11px;
    text-decoration: none !important;
}

.r4c-language-suggestion button {
    background: transparent;
    border: 0;
    color: #4a5f4f;
    font-size: 18px;
    margin-left: auto;
    padding: 2px 5px;
}

body.r4c-standalone-page .r4c-language-control {
    background: rgba(10, 25, 17, .92);
    border-radius: 0 0 0 8px;
    margin: 0;
    padding: 8px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10020;
}

body.r4c-standalone-page .r4c-language-control:before {
    left: 18px;
    top: 15px;
}

body.r4c-standalone-page .r4c-language-control:after {
    right: 17px;
    top: 21px;
}

@media (max-width: 991px) {
    .navbar .r4c-language-control {
        display: flex;
        margin: 7px 15px 10px;
    }

    .r4c-language-select {
        max-width: none;
        width: 100%;
    }
}
