/*
手机站全局样式
作者：百舸
说明：本文件中定义当前项目的一些特殊样式，与bgui.css兼容使用。
版本：v25.1.25.1
*/


/*--------------------1、元素的默认样式---------------------------*/

html{
    font-size: 10px;
    --color: #4072AF;
    --color2: #333;
    --color3: #FC6F23;
    --mwidth: 120.0rem;
    --maxwidth: 192.0rem;
}
*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
body{
    margin: 0;
    padding: 0;
    font-family:'微软雅黑';
    font-size: 1.4rem;
    color: #333;
}
ul, li{
    list-style: none;
}
li {
    list-style-type: none;
    list-style: none;
}
a {
    text-decoration: none;
    outline: none;
    :hover { background-color: transparent; }
    :active { background-color: transparent; }
    :focus { background-color: transparent; }
}
img {
    border: 0px;
}
input, textarea, select {
    outline: none;
}
input {
    /*-webkit-box-shadow: 0 0 0 1000px #fff inset;*/
}



/*--------------------2、项目全局样式---------------------------*/

/*
 * placeholder颜色
 */
::-webkit-input-placeholder { /* Edge */
  color: #aaa;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #aaa;
}
::placeholder {
  color: #aaa;
}


/*
 * 主题色
 */
.color {  color: var(--color); }
.color2 { color: var(--color2); }
.color3 { color: var(--color3); }


/*
 * 主体宽度
 */
.mwidth { width: var(--mwidth); }
@media (max-width: 999px) {
    .mwidth{
        box-sizing: border-box;
        max-width: 100%;
        min-width: 320px; /*iPhone5*/
        padding: 0 2rem;
    }
}




/*--------------------3、通用模块样式---------------------------*/

/**
 * 选项卡标题
 */
.bg-swbar{
    padding: 1.0rem 3.0rem 0;
    height: 5.0rem;
    display: flex; align-items: center; justify-content: space-around;
    background-color: #fff;
    border-bottom: 2px solid #fff;
}
.bg-swbar-it{
    text-align: center; line-height: 4.0rem; cursor: pointer;
}
.bg-swbar-on{
    border-bottom: 2px solid #f00; font-weight: 700;
}


/**
 * 面包屑
 */
.bg-mbx {
    padding-left: 1.0rem;
    width: 100%; height: 5.0rem; line-height: 5.0rem;
    color: #fff; font-size: 1.6rem;
    overflow: hidden;
    white-space: nowrap; text-overflow: ellipsis;
}
.bg-mbx-a { color: #fff; }
.bg-mbx-span {  }


/**
 * 分页
 */
.bg-page {
    width: 100%;
    height: 4rem;
    font-size: 1.6rem;
    display: flex; align-items: center; justify-content: center;
}
.bg-page a, .bg-page span {
    margin: 0 0.5rem;
    display: inline-block;
    width: 4rem;
    height: 4rem;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    border-radius: 1000px;
    border: 1px solid #ddd;
    color: #666;
    
    /* 常规 
    margin: 0 0.5rem;
    padding: 1rem 2rem;
    color: #666;
    background: #fff;
    border-radius: 2px;
    */
}
.bg-page a:hover, .bg-page span {
    background-image: linear-gradient(to bottom, #FCAD23, #FC6F23);
    color: #fff;
    border: 1px solid #FC6F23;
    /* 常规
    background: var(--color);
    color: #fff;
    */
}
.bg-page .first-page,
.bg-page .last-page {
    display: none;
}
.bg-page .prev-page,
.bg-page .next-page{
    background-position: center;
    background-size: 1.5rem;
    background-repeat: no-repeat;
}
.bg-page .prev-page{
    background-image: url(/webui/images/svg/dbleft-999.svg);
}
.bg-page .next-page {
    background-image: url(/webui/images/svg/dbright-999.svg);
}
.bg-page .prev-page:hover {
    background-image: url(/webui/images/svg/dbleft-f80.svg);
}
.bg-page .next-page:hover {
    background-image: url(/webui/images/svg/dbright-f80.svg);
}
.bg-page .number-page {
}

@media (max-width: 999px) {
    .bg-page {
        font-size: 1.8rem;
    }
    .bg-page a, .bg-page span {
        width: 5rem;
        height: 5rem;
        line-height: 5rem;
    }
    .bg-page .first-page,
    .bg-page .last-page {
        display: none;
    }
    .bg-page .number-page {
        /*display: none;*/
    }
}

/*
 * 详情页
 */
.bg-art {  }
.bg-art-title {
    margin-top: 2.0rem;
    line-height: 3.0rem;
    font-size: 2.2rem;
    color: #333;
}
.bg-art-meta-list {
    margin-top: 2vw;
}
.bg-art-meta {
    display: inline-block;
    margin: 0 1rem 0 0;
    vertical-align: middle;
    font-size: 1.5rem;
    color: rgba(0,0,0,0.3);
}
.bg-art-meta-a {
    color: #333;
    text-decoration: none;
}
.bg-art-content { 
    margin-top: 5vw;
    font-size: 1.6rem;
}
.bg-art-content img{
    max-width: 100% !important;
    height: auto !important;
}
.bg-art-content video{
    max-width: 100% !important;
    height: auto !important;
}
.bg-art-content p{
    margin-top: 1.5rem;
    color: #555;
    line-height: 2.2rem;
}


/*
 * 上一篇/下一篇
 */
.bg-prevn{
    margin-top: 3.0rem; padding-top: 2.0rem;
    border-top: 1px dashed #eee;
    font-size: 1.6rem;
}
.bg-prevn-it{
    line-height: 3.0rem;
    color: #999;
}
.bg-prevn-a{
    color: #333;
}




/*--------------------4、其它自定义样式---------------------------*/


