* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.triangle::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    /* 左边框 */
    border-right: 6px solid transparent;
    /* 右边框 */
    border-top: 6px solid rgb(255, 255, 255);
    /* 上边框，颜色为黑色 */
}

.header-top {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0 10px;
    background-color: #ff6600;
    border-bottom: 1px solid #ffffff;
    color: #ffffff;
}

.header-top a {
    color: #ffffff;
    text-decoration: none;
}

.header-top a:hover {
    color: #00ffdd;
}

.national-flag {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    /* 初始透明度为0 */
    visibility: hidden;
    /* 初始不可见 */
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out, visibility 0.4s;
    /* 同时过渡 max-height 和 opacity */
}

.national-flag.expanded {
    max-height: 9999px;
    /* 根据实际内容调整高度 */
    opacity: 1;
    /* 完全显示 */
    visibility: visible;
    /* 可见 */
}

/******* 使用两端对齐，最后一行左对齐，并且列于列之间对齐，每行li个数自适应，li大小固定 ********/
.national-flag ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(66px, 1fr));
    /* 每个 li 固定宽度为 66px，自适应列数 */
    grid-gap: 16px;
    /* 列与列之间的间距 */
    margin: 0;
    padding: 20px;
    background-color: #ff6600;
    border-bottom: 1px solid #ffffff;
    justify-items: start;
    /* 确保最后一行左对齐 */
}

.national-flag ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 66px;
    height: 33px;
    list-style-type: none;
    background-color: #f78d66;
    border-radius: 3px;
}

.national-flag ul li:hover {
    background-color: #ffffff;
}

.national-flag ul li:hover a {
    color: #ff6600;
}

.national-flag ul li a {
    color: #ffffff;
    text-decoration: none;
}

/* ************************************************************************** */

.national-flag ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 66px;
    height: 33px;
    list-style-type: none;
    background-color: #f78d66;
    border-radius: 3px;
}

.national-flag ul li:hover {
    background-color: #ffffff;
}

.national-flag ul li:hover a {
    color: #ff6600;
}

.national-flag ul li a {
    color: #ffffff;
    text-decoration: none;
}

.header {
    height: 88px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ff6600;
    padding: 10px 50px;
}

.nav-links {
    height: auto;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

.nav-links a:hover {
    color: #00ffdd;
}

.btn-consultation {
    width: auto;
    height: 50px;
    background-color: #ff6600;
    color: white;
    border: none;
    padding: 4px 10px;
    border: 1px solid #ffffff;
    border-radius: 100px;
    cursor: pointer;
}

.btn-consultation:hover {
    background-color: #f59a5eb2;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* 折叠栏 */
.dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 12px;
    height: 0px;
    overflow: hidden;
    margin-top: 288px;
    padding-left: 0px;
    padding-right: 26px;
    background-color: #ff6600;
    transition: 0.4s;
    border-radius: 0 0 6px 6px;
}

.dropdown-menu li {
    display: flex;
    align-items: center;
    justify-content: center;

}

.dropdown-icon {
    transform: translateY(-50%) rotate(180deg);
}

/* 在线聊天 */
#chat-container {
    position: fixed;
    z-index: 1000;
    bottom: 20px;
    right: 20px;
}

.chat-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ff6600;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
    /* 添加过渡效果 */
}

.chat-circle img {
    width: 80%;
    /* 图标的宽度占按钮宽度的 70% */
    height: auto;
    /* 保持图像的宽高比 */
}

.chat-circle.open {
    transform: scale(0);
    /* 点击后缩小圆圈按钮 */
}

.chat-window {
    display: none;
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 400px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease-in-out;
    /* 添加过渡效果 */
}

.chat-window.open {
    display: block;
    opacity: 1;
    transform: scale(1);
    /* 展开到正常大小 */
}

.chat-header {
    background-color: #ff6600;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 6px 6px 0 0;
}

.chat-body {
    height: 500px;
    overflow-y: auto;
    padding: 10px;
}

.chat-footer {
    padding: 10px;
    display: flex;
    justify-content: space-between;
}

#chat-input {
    flex: 1;
    padding: 5px;
    margin-right: 10px;
}

#send-button {
    background-color: #ff6600;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 5px 10px;
    cursor: pointer;
}

#send-button:hover {
    background-color: #fa944bb2;
}

.close-style {
    width: 50px;
    height: 30px;
    background-color: #007bff;
    border: none;
    border-radius: 6px;
    color: #fff;
}

.close-style:hover {
    background-color: #65b0ff;
}


/* 面包屑导航栏 */
.breadcrumb {
    list-style: none;
    padding: 10px;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb li {
    display: inline;
}

.breadcrumb li a {
    text-decoration: none;
    color: #007bff;
}

.breadcrumb li a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 5px;
    color: #6c757d;
}

/* 文章内容 */
.content {
    display: flex;
    justify-content: center;
    background-color: #f1f1f1;
}

.content-size {
    width: 60vw;
    padding: 16px;
    background-color: #fff;
}

.content p {
    line-height: 1.6;
    word-wrap: break-word;
}

/* 图片响应式 */
.img-responsive {
    width: 100%;
    height: auto;
}

figure{
    margin: 0;
    text-align: center;
}

/* 图片边框 */
.img-thumbnail {
    border: 1px solid #ddd;
    /* 灰色边框 */
    border-radius: 4px;
    /* 圆角 */
    padding: 4px;
    /* 内边距 */
    background-color: #fff;
    /* 白色背景 */
}

/* 文字居中 */
.text-center {
    text-align: center;
    margin-bottom: 10px;
}

/* 文字颜色 */
.orange {
    color: #ff6600;
}

/* 响应式视频容器 */
.video-container {
    position: relative;
    margin-bottom: 10px;
    padding-bottom: 56.25%;
    /* 16:9 比例 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-container iframe,
video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* **************************** 表格响应式 **************************** */

/* 响应式表格容器 */
.table-responsive {
    overflow-x: auto;
}

/* 表格基本样式 */
.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    border-collapse: collapse;
}

/* 表格条纹样式 */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

/* 表格边框样式 */
.table-bordered {
    border: 1px solid #dee2e6;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6;
}

/* 表格悬停样式 */
.table-hover tbody tr:hover {
    color: #212529;
    background-color: rgba(0, 0, 0, 0.075);
}

/* 表格单元格垂直对齐 */
.table td,
.table th {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

/* 表头加粗 */
.table th {
    font-weight: bold;
}

/* ****************************************************** */
/* 邮箱联系  */
.Contact-us {
    font-size: 16px;
    border: thin solid #ffa000;
    border-radius: 6px;
    -moz-box-shadow: 5px 5px 5px #f0debf;
    box-shadow: 5px 5px 5px #f0debf;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 水平居中 */
}

.Contact-us img {
    width: 150px;
    margin-bottom: 10px;
}

.btn-send {
    width: 180px;
    height: 40px;
    background-color: #ff6600;
    color: white;
    border: none;
    border-radius: 100px;
    margin-bottom: 10px;
    font-size: 16px;
}

.btn-send:hover {

    background-color: #ff660064;
    color: white;
}

/* ************************** 页尾 *********************** */

.foot {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #6daee8;
    color: #fff;
}

/* 行 */
.row {
    width: 80vw;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

/* 列表项 */
.footli {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
}

.footli ul {
    padding: 10px 0 0 0;
    border-top: 1px solid #fff;
}

.footli ul li {
    list-style-type: none;
}

.footli ul li a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 5px 0;
}

/* 列表标题 */
.footcon {
    font-weight: bold;
}

.footli a:hover,
.add a:hover {
    color: #ff6600;
    cursor: pointer;
}

/* 地址部分 */
.add {
    width: 80vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px solid #e2e2e2;
}

.add a {
    text-decoration: none;
    color: #fff;
}

/* ********************************************************** */

/* 页尾响应式 */
@media (min-width: 768px) {
    .footli {
        flex: 0 0 25%;
        max-width: 25%;
    }
}


/* 超小屏幕设备（如手表）*/
@media (max-width: 300px) {
    .header {
        height: auto;
        position: relative;
    }

    .header-top p {
        font-size: 12px;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        max-height: 86px;
        overflow: hidden;
        transition: max-height 0.5s, visibility 0.5s, opacity 0.5s;
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        visibility: hidden;
        opacity: 0;
    }

    /* 导航栏字体响应式 */
    .nav-links li a,
    .btn-consultation {
        font-size: 12px;
    }

    .dropdown-menu {
        margin-top: 10px;
        position: relative;
        padding-left: 16px;
        padding-right: 16px;
        overflow-y: auto;
    }

    .header {
        /* height: 66px; */
    }

    .header .nav-links.open {
        max-height: 1000px;
        /* 调整这个值以适应实际内容的高度 */
        visibility: visible;
        opacity: 1;
    }

    .btn-toggleNav {
        position: absolute;
        top: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
        padding: 0;
        border: 1px solid #f0f0f0;
        /* 添加边框 */
        border-radius: 6px;
        background-color: transparent;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    .btn-toggleNav:hover {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
        /* 发光效果 */
    }

    .btn-toggleNav .line {
        width: 20px;
        height: 2px;
        background-color: #e7e7e7;
        margin: 3.5px 0;
    }

    .img-responsive-so-small {
        max-width: 100px;
    }

    .img-responsive {
        width: 100%;
    }

    .img-fold {
        margin-left: 60px;
    }

    .foot p,
    .foot li a {
        font-size: 12px;
    }

    .content-size {
        width: 100vw;
        font-size: 10px;
    }

    .Contact-us img{
        max-width: 100%;
    }

    .Contact-us p {
        word-break: break-all;
        font-size: 12px;
    }

    .Contact-us .btn-send {
        max-width: 100%;
    }

    .chat-window {
        width: 150px;
        bottom: 6px;
    }

    .chat-circle {
        width: 36px;
        height: 36px;
    }

    .chat-header {
        height: 20px;
        font-size: 10px;
    }

    .close-style {
        width: 18px;
        height: 12px;
        font-size: 6px;
    }

    .chat-body {
        height: 120px;
    }

    .chat-footer input {
        width: 50px;
        height: 20px;
        margin-right: 2px;
    }

    #send-button {
        width: 30px;
        height: 20px;
        font-size: 10px;
        padding: 0 2px;
    }
}


/* 小屏幕设备（如手机）*/
@media (min-width: 301px) and (max-width: 767px) {
    .header {
        height: auto;
        position: relative;
    }

    .header-top p {
        font-size: 12px;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        max-height: 86px;
        overflow: hidden;
        transition: max-height 0.5s, visibility 0.5s, opacity 0.5s;
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        visibility: hidden;
        opacity: 0;
    }

    /* 导航栏字体响应式 */
    .nav-links li a,
    .btn-consultation {
        font-size: 14px;
    }

    .dropdown-menu {
        margin-top: 10px;
        position: relative;
        padding-left: 16px;
        padding-right: 16px;
        overflow-y: auto;
    }

    .header {
        /* height: 66px; */
    }

    .header .nav-links.open {
        max-height: 1000px;
        /* 调整这个值以适应实际内容的高度 */
        visibility: visible;
        opacity: 1;
    }

    .btn-toggleNav {
        position: absolute;
        top: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
        padding: 0;
        border: 1px solid #f0f0f0;
        /* 添加边框 */
        border-radius: 6px;
        background-color: transparent;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    .btn-toggleNav:hover {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
        /* 发光效果 */
    }

    .btn-toggleNav .line {
        width: 20px;
        height: 2px;
        background-color: #e7e7e7;
        margin: 3.5px 0;
    }

    .img-fold {
        margin-left: 100px;
    }

    .foot p,
    .foot li a {
        font-size: 12px;
    }

    .img-responsive-small {
        min-width: 150px;
    }


    .content-size {
        width: 100vw;
        font-size: 12px;
        padding: 20px;
    }

    .Contact-us p {
        word-break: break-all;
        font-size: 14px;
    }

    .chat-window {
        width: 280px;
    }

    .chat-circle {
        width: 42px;
        height: 42px;
    }

    .chat-header {
        height: 36px;
        font-size: 12px;
    }

    .close-style {
        width: 30px;
        height: 20px;
    }

    .chat-body {
        height: 300px;
    }


}

/* 平板设备（横向）*/
@media (min-width: 768px) and (max-width: 1023px) {
    .header {
        height: auto;
        position: relative;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        max-height: 86px;
        overflow: hidden;
        transition: max-height 0.5s, visibility 0.5s, opacity 0.5s;
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        visibility: hidden;
        opacity: 0;
    }

    .dropdown-menu {
        margin-top: 10px;
        position: relative;
        padding-left: 16px;
        padding-right: 16px;
    }

    .header .nav-links.open {
        max-height: 1000px;
        /* 调整这个值以适应实际内容的高度 */
        visibility: visible;
        opacity: 1;
    }

    .btn-toggleNav {
        position: absolute;
        top: 30px;
        left: 50px;
        width: 50px;
        height: 50px;
        padding: 0;
        border: 1px solid #f0f0f0;
        /* 添加边框 */
        border-radius: 6px;
        background-color: transparent;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    .btn-toggleNav:hover {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
        /* 发光效果 */
    }

    .btn-toggleNav .line {
        width: 30px;
        height: 3px;
        background-color: #e7e7e7;
        margin: 5px 0;
    }

    .content-size {
        width: 80vw;
        font-size: 14px;
    }

    .img-fold {
        margin-left: 20px;
    }

}

/* 平板设备（纵向） */
@media (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
    .header {
        height: auto;
        position: relative;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        max-height: 86px;
        overflow: hidden;
        transition: max-height 0.5s, visibility 0.5s, opacity 0.5s;
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        visibility: hidden;
        opacity: 0;
    }

    .dropdown-menu {
        margin-top: 10px;
        position: relative;
        padding-left: 16px;
        padding-right: 16px;
    }

    .header .nav-links.open {
        max-height: 1000px;
        /* 调整这个值以适应实际内容的高度 */
        visibility: visible;
        opacity: 1;
    }

    .btn-toggleNav {
        position: absolute;
        top: 30px;
        left: 50px;
        width: 50px;
        height: 50px;
        border: 1px solid #f0f0f0;
        /* 添加边框 */
        border-radius: 6px;
        background-color: transparent;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        cursor: pointer;
    }

    .btn-toggleNav:hover {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
        /* 发光效果 */
    }

    .btn-toggleNav .line {
        width: 30px;
        height: 3px;
        background-color: #e7e7e7;
        margin: 5px 0;
    }

    .img-responsive-small {
        min-width: 150px;
    }

    .content-size {
        width: 80vw;
        font-size: 14px;
    }

}

/* 中等屏幕设备（如笔记本电脑）*/
@media (min-width: 1024px) and (max-width: 1439px) {
    .nav-links {
        font-size: 14px;
        flex-direction: row;
        justify-content: center;
    }

    .nav-links li {
        margin-left: 20px;
    }

    .btn {
        width: auto;
        height: auto;
    }

    .btn-toggleNav {
        display: none;
    }

    .img-fold {
        display: none !important;
    }

    .img-responsive-small {
        min-width: 100px;
    }
}

/* 大屏幕设备（如桌面显示器） */
@media (min-width: 1440px) {
    .nav-links {
        flex-direction: row;
        justify-content: center;
    }

    .nav-links li {
        margin-left: 20px;
    }

    .btn {
        width: auto;
        height: auto;
    }

    .btn-toggleNav {
        display: none;
    }

    .img-fold {
        display: none !important;
    }

   .img-responsive-small {
        min-width: 150px;
    }
}

@media (max-width: 768px) {
.ms-logo{
	
	width:130px;
}
}
.ms-logo{
    position: absolute;
	visibility: visible;
	right: 20px;
	bottom: 20px;
width:180px;
}