/**
 * @content liangcang.com topic template of APP css page
 * @author gaorunqiao
 * @language utf-8
 * @css-version css3.0&css2.0
 * @version 1.0.0

 ***************************************************************
 模板规范：
 	样式可以级联，其中第一位为主样式
	<div class="ttpl-wrapper indent-4em center"></div>
 第一部分：全局样式
 	ttpl-wrapper --- 专题模模板顶部容器，所有样式必须包含在这里才能生效
	indent --- 首行缩进两个字符长度（1em：相对于当前对象内文本的字体尺寸，如果字体大小12px，那么1px代表12px）
	center --- 内容居中
	wrap --- 换行占位符（1个代表10px）
 	highlight-yellow --- 文字内容黄色高亮

  第二部分：布局模版
  	 layout-01 －-- 通栏布局max-width=640px
	第三部分：内容模板
	  content-01 --- 模板1--图片（以外容器宽度等比缩放 ）可填入图片网址
	  			   |-- img 图片
	  content-02 --- 模板2--大标题（微软雅黑（冬青），15PX，bold，#333，行高18PX）可编辑文本
	  content-03 --- 模板3--正文（微软雅黑（冬青），14PX，#333，行高24PX）可编辑文本和文字标签
	  content-04 --- 模板4--图注（微软雅黑（冬青），12PX，#666，行高18PX ）可编辑文本和文字标签
	  content-05 --- 模板5--问题文字（见下图，#0c7acf 格式为 蓝字 空格 长破折号 黑字）点击可编辑文本，超过宽度自动换行
	  content-06 --- 模板6--视频（视频链接，以外容器宽度等比缩放，宽度不足1000PX的，垂直居中对齐）可编辑封面图片网址和
	  content-07 --- 模板7-占整行，居中对齐，距离左右边距百分比分别为 4.7% 4.7%，根据屏幕宽度来显示分割线的长度
	  content-08 --- 模板8-.单个商品 占整行，商品图为正方形，居中对齐，距离左右边距百分比分别为 4.7% 4.7%，根据屏幕宽度进行缩放，点击能到达对应商品详情页
	  content-08 --- 模板9-.两个商品 占整行，商品图为正方形，居中对齐，距离左右边距百分比分别为 4.7% 4.7%，根据屏幕宽度进行缩放，点击能到达对应商品详情页
	  content-10 --- 人物头像（见下图   #202428      #e5e5e5，文字区域宽度864PX）点击图片可编辑图片网址，选填图片链接，点击文字可编辑文本
	  			   |-- uImgCon
				     |-- img
				   |-- infoCon
				     |-- p 文字内容
				     |-- p.font25  文字内容字体25px
 ***************************************************************

 */
@charset "UTF-8";
/*-----reset css-------------------------*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block
}

ol, ul {
    list-style: none
}

blockquote, q {
    quotes: none
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

body {
    background: #fff;
    font-family: "冬青黑体简体中文 W3", "微软雅黑", "宋体", Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 20px;
}

textarea, input {
    resize: none;
    outline: none;
}

/*html{filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);filter: Gray;}
html {overflow-y:scroll;filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);-webkit-filter: grayscale(100%);}*/
@font-face {
    font-family: "冬青黑体简体中文 W3", "微软雅黑", "宋体", Arial, Helvetica, sans-serif;
    src: url('../fonts/msyh.eot') format('eot'), /* IE6–8 */ /* url('fonts/msyh.ttf') format('woff'),  Firefox 3.6+, IE9, Chrome 6+, Safari 5.1+*/ url('../fonts/msyh.ttf') format('truetype');  /* Safari 3—5, Chrome4+, Firefox 3.5, Opera 10+ */
    font-size: 12px;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    text-decoration: none;
}

.hoverClass {
    background: green;
}

.hoverClass2 {
    background: red;
}

* {
    outline: white;
}

.ttpl-wrapper {
    width: 100%;
    margin: 0px auto;
    position: relative;
    font-size: 13px;
    vertical-align: top;
}

.ttpl-wrapper * {
    vertical-align: top;
}

.ttpl-wrapper .indent-2em {
    text-indent: 2em;
}

.ttpl-wrapper .center {
    text-align: center;
}

.ttpl-wrapper .wrap {
    clear: both;
    font-size: 0px;
    height: 40px;
    width: 100%;
    display: block;
    position: relative;
}

.ttpl-wrapper .wrap5 {
    clear: both;
    font-size: 0px;
    height: 20px;
    width: 100%;
    display: block;
    position: relative;
}

.ttpl-wrapper .highlight-yellow {
    background: #dacf1d;
}

.ttpl-wrapper .line {
    clear: both;
    font-size: 0px;
    height: 0px;
    width: 100%;
    display: block;
    border-bottom: 1px solid #f0f0f0;
}

/***模板1：通栏 ***/
.ttpl-wrapper .layout-01 {
    width: 100%;
    padding: 0px;
    margin: 0px;
    min-height: 0px;
    font-size: 0px;
    position: relative;
}

/***============内容模板部分 start============***/
/***模板1--图片（以外容器宽度等比缩放 ）可填入图片网址***/
.ttpl-wrapper .content-01 {
    text-align: left;
    clear: both;
    width: 100%;
    position: relative;
    margin-bottom: 10px;
}

.ttpl-wrapper .content-01 img {
    width: 100%;
}

/***模板2--大标题（微软雅黑（冬青），20PX，bold，#333，行高18PX）可编辑文本 ***/
.ttpl-wrapper .content-02 {
    text-align: left;
    clear: both;
    width: 90.6%;
    padding: 0px 4.7%;
    font-size: 18px;
    color: #333;
    line-height: 26px;
    position: relative;
    margin-bottom: 20px;
}

/*** 模板3--正文（微软雅黑（冬青），14PX，#333，行高24PX）可编辑文本和文字标签***/
.ttpl-wrapper .content-03 {
    text-align: left;
    clear: both;
    width: 90.6%;
    padding: 10px 4.7% 0px 4.7%;
    font-size: 14px;
    color: #333;
    line-height: 22px;
    position: relative;
    margin-bottom: 20px;
}

/***模板4--图注（微软雅黑（冬青），12PX，#666，行高18PX ）可编辑文本和文字标签 ***/
.ttpl-wrapper .content-04 {
    text-align: left;
    clear: both;
    width: 100%;
    font-size: 12px;
    color: #666;
    line-height: 18px;
    position: relative;
    margin-bottom: 20px;
}

.ttpl-wrapper .content-04 p {
    width: 90.6%;
    padding: 0px 4.7%;
    letter-spacing: 1px;
}

.ttpl-wrapper .content-04 img {
    width: 100%;
    margin-bottom: 10px;
}

/***模板5--问题文字（见下图，#0c7acf   格式为  蓝字   空格  长破折号 黑字）点击可编辑文本，超过宽度自动换行***/
.ttpl-wrapper .content-05 {
    text-align: left;
    clear: both;
    width: 90.6%;
    padding: 0px 4.7%;
    font-size: 15px;
    line-height: 24px;
    color: #333;
    position: relative;
    margin-bottom: 20px;
}

.ttpl-wrapper .content-05 .color-0c7acf {
    color: #0c7acf;
}

/***模板6--视频（视频链接，以外容器宽度等比缩放，宽度不足1000PX的，垂直居中对齐）
                    可编辑封面图片网址和视频网址、编辑视频高度和宽度***/
.ttpl-wrapper .content-06 {
    text-align: left;
    clear: both;
    width: 90.6%;
    padding: 0px 4.7%;
    position: relative;
    margin-bottom: 20px;
}

.ttpl-wrapper .content-06 video {
    width: 100%;
    min-height: 320px;
}

/***模板7-占整行，居中对齐，距离左右边距百分比分别为 4.7% 4.7%，根据屏幕宽度来显示分割线的长度**/
.ttpl-wrapper .content-07 {
    width: 90.6%;
    padding: 0px 4.7%;
    font-size: 0px;
    margin-bottom: 20px;
    position: relative;
}

.ttpl-wrapper .content-07 .line {
    clear: both;
    font-size: 0px;
    height: 0px;
    width: 100%;
    display: block;
    border-bottom: 1px solid #e6e6e6;
}

/***模板8-.单个商品 占整行，商品图为正方形，居中对齐，距离左右边距百分比分别为 4.7% 4.7%，根据屏幕宽度进行缩放，点击能到达对应商品详情页**/
.ttpl-wrapper .content-08 {
    width: 90.6%;
    padding: 0px 4.7%;
    clear: both;
    margin-bottom: 20px;
    position: relative;
}

.ttpl-wrapper .content-08 img {
    width: 100%;
    height: auto;
    border-radius: 1px;
}

/***模板9-.两个商品 占整行，商品图为正方形，居中对齐，距离左右边距百分比分别为 4.7% 4.7%，根据屏幕宽度进行缩放，点击能到达对应商品详情页**/
.ttpl-wrapper .content-09 {
    width: 90.6%;
    padding: 0px 4.7%;
    clear: both;
    float: left;
    margin-bottom: 20px;
    position: relative;
}

.ttpl-wrapper .content-09 .l {
    height: auto;
    width: 47%;
    float: left;
    border-radius: 1px;
}

.ttpl-wrapper .content-09 .r {
    height: auto;
    width: 47%;
    float: right;
    border-radius: 1px;
}

/***10--人物头像（见下图   #202428      #e5e5e5，文字区域宽度864PX）点击图片可编辑图片网址，选填图片链接，点击文字可编辑文本***/
.ttpl-wrapper .content-10 {
    text-align: left;
    clear: both;
    width: 90.6%;
    height: 66px;
    position: relative;
    margin: 0px 4.7%;
    margin-bottom: 20px;
}

.ttpl-wrapper .content-10 .uImgCon {
    float: left;
    width: 65px;
    height: 65px;
}

.ttpl-wrapper .content-10 .uImgCon img {
    width: 65px;
    height: 65px;
    border-radius: 65px;
    position: relative;
    z-index: 2;
}

.ttpl-wrapper .content-10 .infoCon {
    float: right;
    width: calc(100% - 80px);
    height: 65px;
    padding: 0px;
}

.ttpl-wrapper .content-10 .infoCon p {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    line-height: 20px;
    padding-top: 1px;
}

.ttpl-wrapper .content-10 .infoCon .font25 {
    font-size: 15px;
    padding-top: 11px;
}

.ttpl-wrapper .content-11 {
    padding: 10px 4.7%;
    width: 90.6%;
    text-align: left;
    clear: both;
    font-size: 28px;
    color: #000;
    line-height: 32px;
    position: relative;
}

.ttpl-wrapper .content-12 {
    text-align: left;
    clear: both;
    width: 90.6%;
    padding: 0px 4.7%;
    letter-spacing: 1px;
    font-size: 12px;
    color: #666;
    line-height: 18px;
    position: relative;
    margin-bottom: 20px;
}

/***============模板操作样式 start============***/
.ttpl-mam .layout-06 .tgoodsItem .imgCon .goodsInfo {
    top: 490px;
}

.ttpl-mam .layout-07 .tgoodsItem .imgCon .goodsInfo {
    top: 316px;
}

.ttpl-mam .layout-08 .tgoodsItem .imgCon .goodsInfo {
    top: 316px;
}

.ttpl-wrapper .add-tpl {
    clear: both;
    border: 2px dashed #999;
    height: 100px;
    background: url(../images/adm/topic_tpl/add-gray48.png) center center no-repeat;
    cursor: pointer;
    margin-top: 0px;
}

.ttpl-wrapper .add-con {
    clear: both;
    border: 2px dashed #999;
    height: 36px;
    background: url(../images/adm/topic_tpl/add-gray24.png) center center no-repeat;
    cursor: pointer;
    margin-top: 0px;
}

.ttpl-dataList {
    padding: 0px;
    margin: 0px;
    list-style: none;
    float: left;
    width: 100%;
}

.ttpl-dataList li {
    float: left;
    width: 50%;
    height: 30px;
    line-height: 30px;
    vertical-align: middle;
    font-size: 14px;
}

.ttpl-dataList li a {
    width: 96%;
    height: 100%;
    padding: 0px 5px;
    color: #000;
}

.ttpl-dataList li a.disabled {
    color: #bbb;
    text-decoration: line-through;
    cursor: default;
}

.ttpl-dataList li a:hover {
    background: #ccc;
}

.ttpl-dataList li a.disabled:hover {
    background: none;
}

.ttpl-close {
    position: absolute;
    z-index: 1000;
    background: url(../images/adm/topic_tpl/close-gray16.png) center center no-repeat;
    width: 24px;
    height: 24px;
    right: -16px;
    top: -15px;
    display: block;
    cursor: pointer;
}

.tcon-close {
    position: absolute;
    z-index: 1000;
    background: url(../images/adm/topic_tpl/rm-blue16.png) center center no-repeat;
    width: 16px;
    height: 16px;
    right: 0px;
    top: 0px;
    display: block;
    cursor: pointer;
}

.tcon-car {
    position: absolute;
    display: block;
    z-index: 1000;
    width: 6.875%;
    height: 38px;
    left: 12px;
    top: 14px;
    display: block;
    cursor: pointer;
}

.content-09 .tcon-car {
    width: 14.628%;
}

.positn {
    position: relative;
}

.positn img {
    width: 100%;
}

/*新版杂志*/
.topic_cont {
    width: 1000px;
    margin: 0 auto;
    padding-top: 150px;
    position: relative;
}

.topic_kong {
    position: fixed;
    margin-left: 675px;
    top: 61px;
    width: 20px;
    height: 89px;
    background: #fff;
}

.topic_left {
    width: 640px;
    padding-right: 42px;
    border-right: #ededed 1px solid;
}

.topic_right {
    position: fixed;
    margin-left: 728px;
    top: 150px;
    width: 272px;
    overflow: hidden;
}

.topic_right .navtit {
    margin-bottom: 9px;
    height: 14px;
    line-height: 14px;
    color: #333;
    font-size: 12px;
    background: url(../images/default/topic_down.jpg) right 4px no-repeat;
}

.topic_right .navtit span {
    margin: 0 5px;
}

.topic_right ul {
    padding-top: 14px;
    margin-bottom: 40px;
    border-top: #ededed 1px solid;
    width: 292px;
}

.topic_right li {
    float: left;
    width: 126px;
    margin-right: 20px;
}

.topic_right li a.imgslt {
    display: block;
    width: 126px;
    height: 76px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    -webkit-transition: all 0.15s linear;
    -moz-transition: all 0.15s linear;
    -ms-transition: all 0.15s linear;
    -o-transition: all 0.15s linear;
    transition: all 0.15s linear
}

.topic_tits {
    width: 100%;
    padding-top: 10px;
    height: 14px;
    line-height: 14px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 12px;
    text-align: center;
    text-overflow: ellipsis;
}

.topic_tits a, .topic_tits:link, .topic_tits:visited, .topic_tits:hover {
    color: #333;
    text-decoration: none;
}

.topic_ad {
    margin-bottom: 10px;
}

.topic_ad img {
    width: 272px;
    height: 160px;
}

.topic_left .ttpl-wrapper {
    margin-top: -40px;
}

.topic_left .ttpl-wrapper .content-08 img, .topic_left .ttpl-wrapper .content-09 img {
    cursor: pointer;
}

@media (min-width: 641px) {
    .topic_right li a.imgslt:hover {
        box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    }
}

/* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */
@media only screen and (min-width: 640px) {
    .ttpl-wrapper {
        width: 640px;
        margin: 0px auto;
    }
}
