@charset "utf-8";
/*------ common ------*/
a {
    color: #fe6a00;
}
a:active {
	color: #f16500;
}
.title,.bar a {
	color: #333;
}
.bar a.active {
	color: #fe6a00;
}
.header-item a {
	color: #333;
}
.header-item a:hover {
	color: #fe6a00;
}
.title .logo {
	width: 6.5rem;
	margin-top: .35rem;
}
.bar .icon {
	font-size: .85rem;
}
.buttons-tab .button.active {
	border-color: #cc0000;
	color: #b85858;
}
.bar .button-link {
	color: #333;
}
.bar .button-link.active,.bar .button-link:active {
	color: #900b09;
}
.bar-tab {
	padding: 0 0.5rem;
}
.button {
	border: 1px solid #cc0000;
	color: #b85858;
}
.button:active {
	border-color: #ff0000;
	color: #ff0000;
}
.button-light {
    border-color: #ccc;
    color: #5f646e;
}
/* footer样式 */
.nav-footer {
    /* height: 3.9rem; */
    background-color: #f7f7f8;
    border-top: 1px solid #e7e7e7;
    margin-top: 1.5rem;
}
.nav-footer p {
    font-size: 0.65rem;
    color: #666;
    text-align: center;
}
.nav-footer a {
    color: #666;
}
.nav-footer .footer-copyright a {
	margin-left: 0.5rem;
}
.nav-footer .footer-link a::after {
    content: "|";
    padding: 0 0.5rem;
}
.nav-footer .footer-link a:last-child::after {
	display: none;
}
/* 轮播 */
.swiper-container {
	background-color: #F7F7F8;
    padding-bottom: 0;
}
.swiper-container-horizontal > .swiper-pagination {
    bottom: .2rem;
}
.swiper-pagination-bullet-active {
    background: #fff;
}
/* 搜索栏 */
.searchbox {
	background-color: #f7f7f8;
}
.searchbox .searchbar-cancel {
	font-size: .65rem;
}
/* 滚动导航 */
.stealth-scroll {
    width: auto;
    position: static;
    height: auto;
    background: #fff;
}
.stealth-scroll-bar {
    display: flex;
    justify-content: space-between;
    list-style: outside none none;
    /*overflow-x: auto;*/
    white-space: nowrap;
    padding: 10px 0 10px 5px;
    margin: 0;
    /***滚动条样式***/
    scrollbar-face-color:rgba(0,0,0,0);  
    scrollbar-highlight-color:rgba(0,0,0,0);  
    scrollbar-3dlight-color:rgba(0,0,0,0.2);  
    scrollbar-darkshadow-color:rgba(0,0,0,0);  
    scrollbar-Shadow-color:rgba(0,0,0,0);  
    scrollbar-arrow-color:rgba(0,0,0,0);  
    scrollbar-track-color:rgba(0,0,0,0);
}
.stealth-scroll-bar li {
    cursor: pointer;
    display: inline-block;
    position: relative;
}
.stealth-scroll-bar span {
    font-size: 18px;
    padding: 0 3px;
}
.stealth-scroll-bar li a {
	margin: 0 5px 0 5px;
	color: #333;
}
.stealth-scroll-bar li.kr_active a {
	color:#fe6a00;
}
.new-icon {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 14px;
    background: url("//7nsts.w3cschool.cn/images/w3c/icon-new.gif") no-repeat scroll 0px 0px;
    top: -10px;
}
.hot-icon {
    position: relative;
    display: inline-block;
    width: 21px;
    height: 16px;
    background: url("//7nsts.w3cschool.cn/images/w3c/icon-hot.gif") no-repeat scroll 0px 0px;
    top: -10px;
}
.content-block-title {
	margin: 0.75rem;
}
.index-container .content-block-title {
	font-size: .75rem;
	color: #666;
	text-transform: none;
}
.index-container .content-wrapper-title {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    margin: 0.75rem;
}
.index-container .content-wrapper-title .block-title {
    position: relative;
	font-weight: normal;
    font-size: .85rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
}
.index-container .content-wrapper-title .block-title::before {
    content: "";
    display: inline-block;
    margin-right: 12px;
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent #fe6a00;
}
.index-container .content-wrapper-title .block-more {
    font-size: 0.65rem;
    color: #666;
}
.index-container .list-block {
	margin: .5rem 0;
}
.index-container .list-block .item-content {
	padding: 0;
	border-bottom: 1px solid #ededed;
	margin-left: 0.75rem;
}
.index-container .list-block li:last-child .item-content {
	border-bottom: 0;
}
.index-container .list-block .item-content.active {
    background-color: #fff;
}
.index-container .list-block .item-inner::after {
	height: 0;
}
.index-container a {
	color: #333;
}
.index-container .list-block .item-title {
	font-size: .75rem;
}
.index-container .list-block .item-text {
    font-size: .65rem;
}
.index-container .list-block .item-meta {
	font-size: .65rem;
	color: #5f646e;
	margin-top: .2rem;
}
.index-container .feed-img {
    width: 100px;
    height: 67px;
    margin-right: 0.75rem;
}
.rkn-img {
	width: 60px;
	height: 60px;
    border-radius: 4px;
}
.rkn-contentdiv {
	margin: 0;
}

/*------ 教程列表样式  ------*/
.project-content {
    margin-top: 1.5rem;
}
.project-wrapper .project-list {
    background-color: #fff;
    padding-top: 0.75rem;
    /*margin-top: 0.75rem;*/
}
.project-wrapper .project-list .project-list-title {
    margin: 0 0.75rem;
    font-size: .85rem;
	color: #333;
}
.project-wrapper .project-list .project-list-title:before {
    content: "";
    background: #fe6a00;
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 12px;
    margin-bottom: 2px;
    vertical-align: middle;
}
.project-wrapper .project-list .list-block {
    margin: 0;
}
.project-wrapper .project-list .list-block ul:before, .project-wrapper .project-list .list-block ul:after {
    height: 0;
}

/*------ 教程内容页样式  ------*/
.project-page {
	background: #fff;
}
.project-block {
	margin: 1.0em 0;
}
.project-block p {
	margin: 0.65em 0;
}
.project-box {
	height: 1.8em;
	line-height: 1.8em;
	background-color: #b6b6b6;
	color: #fff;
	text-align: center;
}
.project-menu1 {
	margin: 1.0em 0 0;
	font-size: 0.85rem;
	color: #000;
}
.project-menu2 {
	color: #000;
}
.readbtn {
	display: block;
	line-height: 30px;
	background-color: #F0AD4E;
	border-color: #EEA236;
	color: #FFF;
	border-radius: .1rem;
	padding: 0.2rem 0.8rem;
	text-align: center;
}
.pro-card {
    margin: .5rem;
    position: relative;
    font-size: .7rem;
}
.pro-card .card-header {
	width: 80%;
	margin: 0 auto;
}
#content .pro-img {
	width: 100%;
}
.pro-desc .pro-name {
	margin: 0 0 0.5rem;
}
.pro-desc .pro-creator {
	display: block;
}
.pro-desc .color-gray,.pro-desc .pro-name,.pro-desc .pro-creator {
	text-align: center;
}
#content .pavatar,.item-content .pavatar {
	width: 35px;
	height: 35px;
	border-radius: 50%;
	vertical-align: middle;
}
.item-content .update-name {
	color: #3D4145;
}
.item-content .update-time,.item-content .log-info {
	font-size: .7rem;
}
#content img{
    max-width: 98%;
}
.content-title {
	padding: 0 .75rem;
	font-size: 2.0em;
	color: #333;
}
.content-block {
	color: #333;
}
.content-intro a {
	text-decoration: underline;
}
.prenext {
	padding-bottom: 1.5em;
	margin: 0 .75rem 1.75rem;
	border-bottom: 1px solid #000;
}
.prenext .col-50 {
	width: 49%;
	margin: 0 2% 0 0;
}
.prenext .col-50:last-of-type {
	margin: 0;
}
.prenext a {
	border-color: #000;
	color: #333;
}
.prenext a:hover {
	border-color: #cc0000;
	color: #b85858;
}
pre,.example_code {
    background: #f5f5f5;
    padding: 0.5em;
    border: 1px solid #e6e6e6;
}
.panel.theme-dark {
	background-color: #efefef;
}

/* 分页样式  */
.multipage {
    text-align: center;
    padding: 0.5rem 0.5rem 0;
    font-size: 0.65rem;
 }
 .pagination em {
     display: inline-block;
     min-width: 40px;
     height: 32px;
     line-height: 32px;
     background-color: #FFF;
     font-style: normal;
     color: #fe6a00;
     margin-right: 3px;
     border: 1px solid #ededed;
     border-radius: 2px;
 }
 .pagination strong {
    display: inline-block;
    min-width: 40px;
    height: 32px;
    line-height: 32px;
    margin-left: 0.25rem;
    color: #fe6a00;
 }
 .pagination a {
    display: inline-block;
    min-width: 40px;
    height: 32px;
    margin-left: 5px;
    margin-bottom: 8px;
    line-height: 32px;
    border: 1px solid #ededed;
    background-color: #FFF;
    color: #333;
    border-radius: 2px;
 }
 

/*------ 评论样式  ------*/
.comment-nav{
    height: 40px;
    line-height:40px;
}
.comment-list{
    margin:0px;
}
.comment-input{
    width: 100%;
    border: 0px none;
    border-radius: 3px; 
    font-size: 15px; 
    padding: 5px;
}
.comment-btn{
    background-color: rgb(76, 217, 100); 
    border-radius: 5px; 
    color: white; 
    display: block; 
    font-size: 15px; 
    height: 33px; 
    line-height: 33px; 
    text-align: center;
}
.comment-btn-div{
    padding:5px 5px 0 0;
}
.comment-item-content{
    max-width: 100%; 
    position: relative;
    letter-spacing: 1px;
    font-size:13px;
    word-wrap: break-word;
}
.comment-item-data{
    text-align: right; 
    margin: 3px 10px 8px 0px; 
    font-size: 14px;
}
.comment-item-a{
    margin-left:5px;
}
.comment-item-img{
    border-radius: 50%;
    width:44px;
}
.comment-item-time{
    margin:0 7px;
    font-size: 10px; 
    color: rgb(158, 158, 158);
}
.comment-item-zan{
   display: block; 
   border: 1px solid rgb(221, 221, 221); 
   border-radius: 5px; 
   padding: 2px 15px; 
   font-size: 14px; 
   color: rgb(157, 157, 157);
   position: absolute; 
   right: 5%; 
   top: 20%;
}
.comment-item-yz{
   display: block; 
   border: 1px solid red; 
   border-radius: 5px; 
   padding: 2px 15px; 
   font-size: 14px; 
   color: red;
   position: absolute; 
   right: 5%; 
   top: 20%;
}
.comment-item-subtitle{
    margin-left:44px;
    margin-bottom: 5px;
    padding-left:7px;
    padding-top:0 !important;
}
.comment-item-secret{
    display: block; 
    border-radius: 5px; 
    font-size: 14px; 
    color: red; 
    border: 1px solid red; 
    padding: 2px 4px;
}
.comment-item-tag{
    font-size: 14px; 
    display: block; 
    width: 80px; 
    text-align: center; 
    color: rgb(255, 255, 255); 
    background: red none repeat scroll 0% 0%; 
    padding: 1px;
}

/*------ try实例 ------ */
.try-title {
    font-size: .8rem;
    line-height: 2.2rem;
}
#editor {
    text-align: left;
    font: 12px Verdana, Arial, Helvetica, sans-serif;
}
#editor .page {
	background: #fff;
}
.btnbar {
    height: 50px;
    border-bottom: 1px solid #C5C5C5;
    background-color: #FFF;
}
.btns {
    margin-top: 10px;
    background-color: #ff0000;
    color: #FFF;
    width: 120px;
    height: 30px;
    line-height: 30px;
    display: inline-block;
    font-size: 14px;
    text-align: center;
}
#editor .content-box {
	padding: 0 .5rem;
}
.left-box,.right-box {
    width: 100%;
    height: 338px;
    margin: 1.2em 0px;
}
.left-box h2,.right-box h2 {
    margin: 10px 0px 6px 5px;
    color: #ff0000;
    font-size: 0.65rem;
}
.textbox {
    width: 100%;
    height: 300px;
    overflow: auto;
    border: 1px solid #C5C5C5;
    border-image: none;
    font: 14px "Courier New",Courier,monospace;
}
#editor textarea {
    width: 100%;
    border: 0 none;
    overflow: auto;
    resize: none;
    outline: none;
}
.right-box iframe {
    width: 100%;
    height: 300px;
    border: 1px solid #C5C5C5;
}
#editor #footer p {
    margin: 0 10px;
    font-size: 0.55rem;
    color: #000;
    font-weight: bold;
}
#editor #footer a {
    color: #666;
    text-decoration: underline;
}
.result-show {
	width: 100%;
	height: 280px;
	overflow: auto;
	border: 1px solid #C5C5C5;
	border-image: none;
	font: 14px "Courier New",Courier,monospace;
	padding: 10px;
}
/*------ 充值结果页 ------*/
.vipresult-result{
    text-align:center;
}
.vipresult-resultimg{
    padding-top:50px;
}
.vipresult-successinfo{
    color:#479831;
}
.vipresult-errorinfo {
    color:#d9534f;
}
.vipresult-submit{
    text-align: center;
    margin-top: 25px;
}
.vipresult-submit button {
    background-color:#fe6a00;
    color:#fff;
    border:1px  solid #fe6a00;
    padding: 15px 30px;
    border-radius:4px;
}
.vip-tips {
	white-space: normal;
	line-height: 1.6;
}

.header-logo .mobile-logo {
    display: inline-block;
    width: 6.8rem;
    /* height: 0.9rem; */
    background: url(//7n.w3cschool.cn/statics/images/logonew2.png) no-repeat center center/contain;
}
