.fixed-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
}

.fixed-btn {
    width: 50px;
    height: 50px;
    background-color: white;
    color: black;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: -6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.fixed-btn:hover {
    background-color: #f5f5f5;
    transform: translateY(-3px);
}

.fixed-btn i {
    font-size: 20px;
    margin-bottom: 5px;
    color: black;
}

.fixed-btn .icon-bg {
    margin-bottom: 5px;
}

.fixed-btn span {
    font-size: 12px;
    color: #959595;
}

.icon-bg {
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}

.zixun-icon {
    background-image: url('../img/right-below/zixun.png');
}

.kefu-icon {
    background-image: url('../img/right-below/kefu.png');
}

.erweima-icon {
    background-image: url('../img/right-below/erweima.png');
}

.sahng-icon {
    background-image: url('../img/right-below/sahng.png');
}

/* 模态框样式 - 增强优先级 */
.modal {
    display: none !important;
    /* 默认隐藏 - 增强优先级 */
    position: fixed !important;
    /* 固定定位 - 增强优先级 */
    z-index: 9999 !important;
    /* 置于顶层 - 增强优先级 */
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    /* 禁止模态框内部滚动 - 增强优先级 */
    background-color: rgba(0, 0, 0, 0.4) !important;
    /* 黑色半透明背景 - 增强优先级 */
    opacity: 0;
    /* 初始透明度为0 */
    transition: opacity 0.3s ease;
    /* 透明度过渡效果 */
}

.modal.show {
    display: block !important;
    /* 显示模态框 - 增强优先级 */
    opacity: 1;
    /* 完全显示 */
}

.modal-content {
    background-color: #fefefe;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
    border: 1px solid #888;
    width: 90%;
    max-width: 450px;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    animation-name: animatetop;
    animation-duration: 0.4s;
}

/* 模态框动画 */
@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
        transform: translate(-50%, 0);
    }

    to {
        top: 50%;
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.modal-header {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    color: #dc3545;
    font-size: 18px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
}

/* 服务模态框特有样式 */
#service-modal .modal-content {
    max-width: 180px; /* 调整服务模态框最大宽度为更小的值 */
    max-height: 200px; /* 设置最大高度 */
    left: auto; /* 重置left属性 */
    top: auto; /* 重置top属性 */
    right: 70px; /* 距离右边20px */
    bottom: 50px; /* 距离底部80px */
    transform: none; /* 移除居中变换 */
    animation-name: animatebottom; /* 使用新动画 */
}

/* 关注模态框特有样式 */
#follow-modal .modal-content {
    max-width: 160px; /* 调整关注模态框最大宽度 */
    left: auto; /* 重置left属性 */
    top: auto; /* 重置top属性 */
    right: 70px; /* 距离右边70px */
    bottom: 50px; /* 距离底部80px */
    transform: none; /* 移除居中变换 */
    animation-name: animatebottom; /* 使用服务模态框相同的动画 */
}
#follow-modal .modal-body img{
	width: 300px;
	height: 200px;
	height: auto; 
	margin-bottom: 0px;
}
#follow-modal .modal-body p{
	font-size: 12px;
	color: #959595;
}

/* 服务模态框内容区域样式 */
#service-modal .modal-body {
    max-height: 220px; /* 设置内容区域最大高度 */
    overflow-y: auto; /* 当内容超出时显示垂直滚动条 */
}

/* 服务模态框动画 */
@keyframes animatebottom {
    from {
        right: -300px;
        bottom: 20px;
        opacity: 0;
    }
    to {
        right: 20px;
        bottom: 80px;
        opacity: 1;
    }
}

#service-modal .modal-body {
    text-align: center;
}

#service-modal .service-item {
    margin-bottom: 10px;
    padding: 0px;
    background-color: #f8f9fa;
    border-radius: 1px;
}

#service-modal .service-item h3 {
	margin-top: -20px;
	margin-left:-50px;
	font-size: 12px;
	font-weight: bold;
    color: #03004C;
}
#service-modal .service-item p{
	margin-left: 20px;
	text-align: left;
	font-size: 9px;
	font-weight: bold;
	color: #959595;
}

#service-modal .service-item img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* 咨询表单样式 */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
	text-align: left;
    font-weight: bold;
	font-size: 12px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 10px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}
.nav-list li a{
	font-size: 14px;
}

.submit-btn:hover {
    background-color: #c82333;
}

/* 二级菜单基础样式 */
.erji2 ul li{
	font-size: 1px;
}