.i18n {
    display: block;
}

.i18n-sp {
    display: none;
}

.i18n-item-selector {
    font-size: 1.6rem;
    padding: 0.4em 1em;
    line-height: 1.5;
    color: #009330;
}

.i18n-item-selector a {
    color: #009330;
}

.i18n-item-selector.sp {
    background-color: #fff;
}

.i18n-item-selector-list:hover {
    opacity: 0.6;
}

.i18n-item-selector-checkbox {
    display: none;
}

.i18n-item-selector-checkbox:checked~.i18n-item-selector-lists {
    display: block;
}

.i18n-item-selector-checkbox:checked~.i18n-item-selector-label {
    border-bottom: dashed 0.4px;
}

label .i18n-item-selector-label {
    cursor: pointer;
    float: left;
    min-width: 100%;
    display: block;
    position: relative;
}

.i18n-item-selector-lists {
    display: none;
    margin: 6px;
    padding: 0;
    position: absolute;
    background-color: white;
    width: 6em;
}

.i18n-item-selector-lists.sp {
    position: relative;
}

.i18n-item-selector-list {
    border-bottom: solid 1px;
    cursor: pointer;
    margin: 0.4em 0.4em;
    padding: 0.2em 0;
}

.i18n-item-right {
    right: 0;
    position: absolute;
}

@media screen and (max-width:979px) {
    .i18n {
        display: none;
    }

    .i18n-sp {
        display: block;
        border: 1px solid #009330;
    }
}

/*
 * Some plain html-tags has been attached to the custom styles from style_flow.css,
 * so there inherit the i18n styles to avoid existing styles.
 */
input[type=checkbox]+label.i18n-item-selector-label {
    position: inherit;
    display: inherit;
    border-radius: inherit;
    color: inherit;
    background: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    padding: unset;
}

label.i18n-item-selector-label span {
    display: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    padding: inherit;
    color: inherit;
    text-align: inherit;
    text-justify: inherit;
}

.i18n-item-selector-label-icon {
    margin-right: 1.2rem;
}

label.i18n-item-selector-label span {
    display: inline-block !important;
}

.i18n-item-selector-label::before {
    display: none !important;
}

.i18n-item-selector-label::after {
    display: none !important;
}
