/* 手机顶部导航样式 */
.sm-navbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  padding: 8px 5px 8px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999; /* 确保导航栏显示在其他元素之上 */
}

.sm-navbar .logo {
  height: 30px;
}

.sm-navbar .nav-buttons {
  display: flex;
  align-items: center;
}

.sm-navbar .sm-top-btn-box {
  padding: 5px 5px;
  margin: 0 2px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sm-navbar .sm-top-btn-box:hover {
  background-color: #dae8f8ab;
  border-radius: 50%;
}

.sm-navbar #sm_btn_more {
  margin-left: 20px;
}

.sm-navbar .nav-buttons svg {
  width: 24px;
  height: 24px;
  margin-left: 15px;
  cursor: pointer;
}

/* 页面内容样式 */
.page-content {
  height: 2000px;
  background-color: lightgray;
}

/* 模态框样式 */
.sm-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}

.sm-modal-content {
    background-color: #fefefe;
    padding: 10px 20px 20px 20px;
    border: 1px solid #888;
    width: 80vw;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.sm-modal-content p {
    margin: 0;
    width: 100%;
    text-align: center;
	font-size: 24px;
    line-height: 30px;
}

.sm-close {
    color: #aaa;
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 10px;
}

.sm-close:hover,
.sm-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


/* 抽屉式模态框样式 开始	*/
/* 遮罩层样式 */
#sm-more-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* 抽屉式模态框样式 */
#sm-more-drawer-modal {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: white;
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.sm-more-drawer-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 10px 20px;
}

.sm-more-drawer-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.sm-more-drawer-close {
    font-size: 34px;
    cursor: pointer;
    color: #888;
	text-align: right;
}

.sm-more-drawer-close:hover {
    color: #000;
}

.sm-more-drawer-content ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.sm-more-drawer-content ul li {
    margin-bottom: 5px;
}

.sm-more-drawer-content ul li a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 6px 0;
	text-align: left;
	font-size: 18px;
}

.sm-more-drawer-content ul li a:hover {
    color: #007BFF;
}
/* 抽屉式模态框样式	结束 */