﻿.dropdownLang {
    position: fixed;
    top: 18px;
    right: 25px;
    z-index: 9999;
}

.dropdownLang_div {
    position: absolute;
    top: 18px;
    float:right;
}

.lang_top {
    width: 100%;
    height: 25px;
}

.nav-lang li{
    min-width:max-content;
}

@media (min-width: 1400px) {
    .col-xl-7 {
        width: 58.33333333%;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .col-lang-w {
        width: 50.333333%;
    }
}

#dropdown-btn {
    color: #517ca5;
}


.dropdown-content-style li {
    line-height: 40px;
    padding-left: 15px;
    font-weight: 400;
}

.dropdown-content-style a {
    color: #3b3b3b;
}

.dropdown-content-style li:hover {
    color: #066ac9;
    cursor: pointer;
    background-color: #6a9bc31f;
}


.dropdown-content-style {
    min-width:180px;
}

@media (max-width: 1199.98px) {

    .dropdown-content_S {
        box-shadow: none;
        background-color: none;
        max-height: 0;
        padding: 0;
    }

    #dropdown-content li {
        font-weight: 400;
    }

    .dropdown-content_S.open {
        min-height: fit-content;
        padding: 1rem 0.8rem;
    }
}


.dropdown-content_S.open {
    /*  max-height: 500px; 要大於內容高度即可 */
    display: block;
    top: 100%;
    visibility: visible;
    opacity: 1;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.dropdown-content_S {
    /*display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;*/


    top: 120%;
    visibility: hidden;
    opacity: 0;
    display: block;
    -webkit-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}


/* 調整下拉選單內部的選項高度 */
    .translate option {
    height: 40px;
    line-height: 30px;
}

.table-container, #table_Total_wrapper {
    width: 100%;
    overflow: scroll;
}

.row_content_lang {
    display: block;
}

#searchTable1 th {
    max-width: max-content;
}

.dropdownLang button {
    min-width: 113px;
    width: max-content;
    font-size: 15px;
    justify-content: space-evenly;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px 6px 10px;
    border-radius: 999px;
    border: 1px solid #d4dbe7;
    background-color: #ffffff;
    color: #1f2933;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    height: 37px;
    color: #3b3b3b;
}

    .dropdownLang button img {
        margin: 0 5px 0 0;
    }

    .dropdownLang button img,
    .dropdown-content li img {
        width: 28px;
    }

.dropdownLang button,
.dropdown-content li {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
}

.arrow-down {
    width: 0;
    height: 0;
    display: inline-block;
    vertical-align: middle;
    border-style: solid;
    border-width: 4px 4px 0 4px;
    border-color: #555555 transparent transparent transparent;
    margin: 0 0 0 5px;
}

.dropdownLang button:hover {
    cursor: pointer;
    background-color: #dddddd;
}
/* Style for the dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    margin: 1px 0 0 0px; /*350px*/
    padding: 0;
    background-color: white;
    width: 125px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    overflow-y: scroll;
    max-height: 315px;
}
    /* Style for the dropdown content items */
    .dropdown-content li {
        color: #5b5b5b;
        padding: 12px 10px 12px 25px;
        text-decoration: none;
        justify-content: normal;
    }

        .dropdown-content li img {
            margin: 0 20px 0px 20px;
        }
        /* Style for the dropdown content items on hover */
        .dropdown-content li:hover {
            background-color: #dedede;
            cursor: pointer;
            color: #494949;
            border-radius: 5px;
        }
/* Show the dropdown content when the dropdown button is clicked */
.dropdownLang:focus-within .dropdown-content {
    display: block;
}
/* Animate the dropdown content */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-content {
    animation: slideIn 0.3s ease-out;
}
/* Scrollbar styles */
::-webkit-scrollbar {
    width: 8px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: #c2c9d2;
}

@font-face {
    font-family: 'icomoon';
    src: url('../fonts/Language_Fonts/icomoon.eot?btap6b');
    src: url('../fonts/Language_Fonts/icomoon.eot?btap6b#iefix') format('embedded-opentype'), url('../fonts/Language_Fonts/icomoon.ttf?btap6b') format('truetype'), url('../fonts/Language_Fonts/icomoon.woff?btap6b') format('woff'), url('../fonts/Language_Fonts/icomoon.svg?btap6b#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

.icon-sphere:before {
    content: "\e9c9";
    font-size: 16px;
    line-height: 1px;
    font-family: 'icomoon' !important;
}

.header-inner .dropdownLang {
    /*position: static;*/
    display: inline-block;
}

.color_gray {
    color: #cacaca;
}

.fontSize_18px {
    font-size: 18px;
}

.lang-switch__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px 6px 10px;
    border-radius: 999px;
    border: 1px solid #d4dbe7;
    background-color: #ffffff;
    color: #1f2933;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    align-content: center;
    justify-content: center;
    height: 37px;
    color: #3b3b3b;
}

.lang-switch__text {
    white-space: nowrap;
    font-size: 15px;
    font-weight: 500;
    font-family: Roboto, sans-serif;
    color: #545559;
}


.lang-switch__menu {
    margin: 6px 0 0 0;
    padding: 4px 0;
    list-style: none;
    position: absolute;
    right: 0;
    min-width: 140px;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #d4dbe7;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    max-height: 260px;
    overflow-y: auto;
}