.header{
    background-color: #393D49;
    width: 100%;
    height: 60px;
    top: 0;
}
.header .logo{
    width: 200px;
    height: 60px;
    float: left;
    text-align: center;
}
.header .logo a{
    font-size: 50px;
    color: #FFF;
    line-height: 60px;
}

.header .nav{
    float: left;
    /* 默认居左，可调整为居右模式 */
    /* float: right;  */
}
.mobile-icon{
    display: none;
}
@media screen and (max-width: 1024px) {
    .header .logo{
        text-align: left;
    }
    .header .nav{
        display: none;
        width: 100%;
        position: absolute;
        z-index: 99;
        top: 61px; /* 如果需要缝隙，可将值调至61px */
        margin-left: -15px;
    }
    .layui-nav{
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    .header .nav li{
        width: 100%;
        text-align: center;
    }
    .mobile-icon{
        display: block;
        color: #FFF;
        font-size: 30px;
        float: right;
        margin-top: 15px;
    }
    .layui-nav .layui-this:after,
    .layui-nav-bar,
    .layui-nav-tree .layui-nav-itemed:after {
        height: 1px;
        background-color: #5FB878;
    }
}

.highlight {
    position: relative;
    z-index: 0
}
.highlight:after {
    content: "";
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 8px;
    background-color: rgba(255, 217, 82, .4);
    left: 0;
    bottom: 1px;
    z-index: -1
}
html {
    font-size: 14px;
    background: #fff;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%
}
html * {
    outline: none;
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}
article, aside, blockquote, body, button, code, dd, details, div, dl, dt, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, hr, input, legend, li, menu, nav, ol, p, pre, section, select, td, textarea, th, ul {
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 0
}
body, input, textarea {
    font: 14px/1 Microsoft Yahei, Helvetica, PingFang SC, Helvetica Neue, sans-serif, Arial, Verdana;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}
input, textarea {
    outline: none;
    border: none;
    border-radius: 0;
    -moz-appearance: none;
    appearance: none;
    -webkit-appearance: none;
    background-color: transparent;
    box-sizing: content-box
}
select{
    height: 40px;
    width: 100px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
input::-webkit-inner-spin-button, input::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0
}
input::-webkit-search-cancel-button {
    display: none
}
table {
    border-collapse: collapse;
    border-spacing: 0
}
fieldset {
    border: 0
}
abbr, acronym {
    border: 0;
    font-feature-settings: normal;
    font-variant: normal
}
del {
    text-decoration: line-through
}
address, caption, cite, code, dfn, em, th, var {
    font-style: normal;
    font-weight: 500
}
ol, ul {
    list-style: none
}
caption, th {
    text-align: left
}
h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: 500
}
q:after, q:before {
    content: ""
}
sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}
li {
    list-style: none
}
a, ins {
    text-decoration: none;
    color: inherit
}
i {
    font-style: normal
}
b {
    font-weight: 400
}
img {
    border: none
}
img[src=""] {
    opacity: 0
}
main {
    padding-top: 50px;
    min-height: calc(100vh - 90px)
}


/*footer*/
.record.jsx-201403790 {
    font-size: 14px;
    color: rgba(255,255,255,0.2);
    line-height: 40px;
    background-color: #1a1b1d;
    text-align: center;
    bottom: 0px;
    /*position: fixed;*/
    width: 100%;
    overflow: hidden;
}
.guohui.jsx-201403790 {
    vertical-align: sub;
    -webkit-transform: translateY(2px);
    -ms-transform: translateY(2px);
    transform: translateY(2px);
}
.more{
    white-space: pre-line;
    line-height: 30px;
}
/*朗读*/
 .ct-l4 .pronounce {
     display: -webkit-box;
     display: -webkit-flex;
     display: -ms-flexbox;
     display: flex;
     -webkit-flex-wrap: wrap;
     -ms-flex-wrap: wrap;
     flex-wrap: wrap;
     margin-bottom: -12px;
     margin-top: 15px;
 }

 .ct-l4 .pronounce .item {
     border-radius: 26px;
     background-color: #f7f7f7;
     padding: 2px 10px;
     display: -webkit-box;
     display: -webkit-flex;
     display: -ms-flexbox;
     display: flex;
     -webkit-box-align: center;
     -webkit-align-items: center;
     -ms-flex-align: center;
     align-items: center;
     margin-right: 12px;
     margin-bottom: 12px;
 }

 .ct-l4 .voice {
     display: inline-block;
     cursor: pointer;
     background-image: url('../images/2.png');
     background-size: cover;
     background-position: 0;
     background-repeat: no-repeat;
     width: 22px;
     height: 19px;
     margin-left: 5px;
 }

 .ct-l4 .voice:hover {
     background-image: url('../images/3.png');
     background-position: -42px 0;
 }
 
 
 .word-info {
    display: flex;
    flex-direction: column;
}

/* 英语词典音标图点击放大*/
/* 模态框（背景） */
.modal {
  display: none; /* 默认隐藏 */
  position: fixed; /* 固定位置 */
  z-index: 1; /* 层叠在其他元素之上 */
  padding-top: 100px; /* 模态框位置 */
  left: 0;
  top: 0;
  width: 100%; /* 宽度100% */
  height: 100%; /* 高度100% */
  overflow: auto; /* 启用滚动条 */
  background-color: rgb(0,0,0); /* 背景颜色 */
  background-color: rgba(0,0,0,0.9); /* 透明度 */
}

/* 模态框内容（图片） */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* 关闭按钮 */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

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

/* 英语词典标签 */

.yd-tags {
    display: flex;
    flex-wrap: wrap;
}

.yd-tags > span {
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
}

.tag-link {
    text-decoration: none; /* 去掉默认下划线 */
    display: inline-block; /* 使 a 标签表现得像块级元素，方便应用内边距等 */
}

.tag-style {
    display: inline-block;
    padding: 5px 10px;
    margin-right: 5px;
    margin-bottom: 5px;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    background-color: #FFA07A; /* 你可以为每个标签设置不同的颜色 */
}

.tag-style.color1 { background-color: #f7788f; }
.tag-style.color2 { background-color: rgb(40 219 176) }
.tag-style.color3 { background-color: #ff6f06; }
.tag-style.color4 { background-color: #8e4aff; }
.tag-style.color5 { background-color: #c58516; }
.tag-style.color6 { background-color: #5c7cff; }
.tag-style.color7 { background-color: #e434e1; }