.lang-overlay {
    position: fixed;
    left: 50%;
    top: 200vh;
    max-width: 480px;
    width: 90%;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    display: block;
    z-index: 1000;
    font-size: 1rem;
    background: white;
    transition: 0.2s ease;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.12), inset 0 -1px 0 0 #dadce0;
}

.lang-overlay--active {
    top: 50%;
}

.lang-overlay--active + .lang-overlay__scrim {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    z-index: 900;
    cursor: pointer;
}

.lang-overlay__header {
    background: rgba(0, 0, 0, .8);;
    padding: 20px 30px;
    align-items: center !important;
    justify-content: space-between;
    display: flex;
    flex: 0 1 auto;
    flex-flow: row wrap;
}

.lang-overlay_title {
    color: white;
    font-size: 2rem;
}

.lang-overlay__btn {
    color: black;
    position: relative;
    display: inline-flex;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.lang-overlay__btn::before,
.lang-overlay__btn::after {
    content: "";
    display: inline-block;
    height: 2px;
    background: white;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    margin: -1px 0 0 -50%;
    transform-origin: 50% 50%;
    transition: transform 0.1s ease;
}

.lang-overlay__btn::before {
    transform: rotate3d(0, 0, 1, 45deg);
}

.lang-overlay__btn::after {
    transform: rotate3d(0, 0, 1, -45deg);
}

.lang-overlay__content {
    display: flex;
    flex-flow: row wrap;
}

.lang-overlay__item {
    width: 100%;
}

@media only screen and (min-width: 600px) {
    .lang-overlay__item {
        width: 50%;
    }
}

.lang-overlay__link {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    text-decoration: none;
    font-size: 13px;
    color: #5c5c5c;
}

.lang-overlay__link:hover {
    background: rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.lang-overlay__country {
    text-transform: uppercase;
}

.lang-overlay__img {
    width: 25px;
    height: 25px;
    margin-right: 15px;
}

@media only screen and (max-width: 991px) {
    .d-sm-none {
        display: none !important;
    }
}
@media only screen and (min-width: 992px) {
    .d-lg-none {
        display: none !important;
    }

    .lang-switch {
        font-size: 18px;
        color: #fff;
        font-weight: 700;
        text-transform: uppercase;
        display: block;
        padding: 0;
    }

    .lang-switch:hover {
        color: #e30f1a;
    }

    .lang-switch:after {
        display: none;
    }
}
