#global_menu_container {
    height: 410px;
    background-color: rgba(255, 255, 255, 0.9);
    position: absolute;
    z-index: 2;
    top: 70px;
    overflow: hidden;
    border-radius: 0px 15px 15px 0px;
}

.menu_expand {
    width: 350px;
    transition: all 0.2s ease-in-out;
}

.menu_collapse {
    width: 0px;
    transition: all 0.2s ease-in-out;
}

.menu_close {
    position: absolute;
    right: 0px;
    top: 5px;
    cursor: pointer;
}

.menu_close img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-top: 5px;
}

.global_menu_box {
    width: 350px;
    padding: 10px;
}

.menu_lang_box {
    padding: 10px;
    width: 100%;
}

.lang_title {
    font-size: 15px;
    color: #666;
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #c2c2c2;
    font-weight: 700;
}

label {
    color: #666;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
}

[type="checkbox"] {
    cursor: pointer;
    appearance: none;
    position: relative;
    border: 1px solid #666;
    border-radius: 10px;
    width: 45px;
    height: 20px;
}

[type="checkbox"]::before {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transform: scale(0.8);
    background-color: gray;
    transition: left 250ms linear;
}

[type="checkbox"]:checked {
    background-color: #888888;
    border-color: #888888;
}

[type="checkbox"]:checked::before {
    background-color: white;
    left: 25px;
}

[type="checkbox"]:disabled {
    border-color: lightgray;
    opacity: 0.7;
    cursor: not-allowed;
}

[type="checkbox"]:disabled:before {
    background-color: lightgray;
}

[type="checkbox"]:enabled:hover {
    box-shadow: 0 0 0 max(4px, 0.2em) lightgray;
}

.du_title {
    font-size: 15px;
    color: #666;
    padding-top: 10px;
    padding-bottom: 5px;
    margin-bottom: 15px;
    border-bottom: 1px solid #c2c2c2;
    font-weight: 700;
}

.du_sub_box {
    font-size: 15px;
    line-height: 23px;
    color: #666;
    display: flex;
    justify-content: space-between;
}

.du_img img {
    width: 23px;
    height: 23px;
    object-fit: contain;
}

@media screen and (max-width: 500px) {
    #global_menu_container {
        height: 370px;
        background-color: rgba(255, 255, 255, 0.9);
        position: absolute;
        z-index: 2;
        top: 60px;
        overflow: hidden;
        border-radius: 0px 15px 15px 0px;
    }

    .menu_expand {
        width: 210px;
        transition: all 0.2s ease-in-out;
    }

    .menu_collapse {
        width: 0px;
        transition: all 0.2s ease-in-out;
    }

    .menu_close {
        position: absolute;
        right: 0px;
        top: 5px;
        cursor: pointer;
    }

    .menu_close img {
        width: 15px;
        height: 15px;
        margin-right: 5px;
        margin-top: 5px;
    }

    .global_menu_box {
        width: 210px;
        padding: 10px;
    }

    .menu_lang_box {
        padding: 5px;
        width: 100%;
    }

    .lang_title {
        font-size: 12px;
        color: #666;
        padding-bottom: 5px;
        margin-bottom: 5px;
        border-bottom: 1px solid #c2c2c2;
        font-weight: 600;
    }

    label {
        color: #666;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        font-size: 10px;
        font-weight: 400;
    }

    [type="checkbox"] {
        cursor: pointer;
        appearance: none;
        position: relative;
        border: 1px solid #666;
        border-radius: 10px;
        width: 45px;
        height: 20px;
    }

    [type="checkbox"]::before {
        content: "";
        position: absolute;
        left: 0;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        transform: scale(0.8);
        background-color: gray;
        transition: left 250ms linear;
    }

    [type="checkbox"]:checked {
        background-color: #888888;
        border-color: #888888;
    }

    [type="checkbox"]:checked::before {
        background-color: white;
        left: 25px;
    }

    [type="checkbox"]:disabled {
        border-color: lightgray;
        opacity: 0.7;
        cursor: not-allowed;
    }

    [type="checkbox"]:disabled:before {
        background-color: lightgray;
    }

    [type="checkbox"]:enabled:hover {
        box-shadow: 0 0 0 max(4px, 0.2em) lightgray;
    }

    .du_title {
        font-size: 12px;
        color: #666;
        padding-top: 5px;
        padding-bottom: 3px;
        margin-bottom: 10px;
        border-bottom: 1px solid #c2c2c2;
        font-weight: 700;
    }

    .du_sub_box {
        font-size: 10px;
        line-height: 16px;
        color: #666;
        display: flex;
        justify-content: space-between;
    }

    .du_img img {
        width: 23px;
        height: 23px;
        object-fit: contain;
    }
}
