/*全局样式*/
* {
    box-sizing: border-box;
    word-break: normal;
}

body {
    background: #fff;
    color: #444;
    font-family: 'microsoft yahei', 'PingFangSC-Light', 'helvetica neue', 'hiragino sans gb', 'tahoma', 'microsoft yahei ui', 'simsun', 'sans-serif';
    font-weight: 300;
}

.shadow {
    box-shadow: 0 3px 10px 0 rgba(0, 0, 0, .1);
}

.clear {
    clear: both;
}

.home-page {
    margin-top: 65px;
}

.container {
    margin: 0 15px;
    position: relative;
}
.pull-left {
    float: left !important;
}
.pull-right {
    float: right !important;
}

.iconfont {
    font-size: 1em;
    display: inline-block;
    vertical-align: middle;
    transform: scale(1.25);
}
 



.img img {
    transition: all .5s linear;
}

.home-tips {
    background: #fff;
    font-size: 13px;
    margin-bottom: 15px;
    padding: 1em 0;
    line-height: 2em;
    border-width: 1px 0;
    border-style: solid none;
    border-color: #dedede;

}

.home-tips>i {
    color: #009688;
    font-size: 15px;
}

.home-tips>.home-tips-container {
    margin-left: 20px;
    height: 30px;
    line-height: 30px;
    ;
    overflow: hidden;
}

.home-tips>.home-tips-container>span {
    display: block;
}
.person-interest {
    padding: 1em 0;
}

@media (max-width:1136px) {
    .container {
        width: 90%;
        margin-left: 2em;
        margin-right: 2em
    }
}

@media (min-width: 1136px) {
    .container {
        width: 90%
    }
}

@media (min-width:1600px) {
    .container {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        max-width: 1400px
    }
}

@media (max-width:961px) {
    .container {
        margin-left: 1em;
        margin-right: 1em
    }
}

.container {
    margin-left: auto;
    margin-right: auto;
}

/*全局样式END*/


/*顶部导航*/
.blog-nav {
    width: 100%;
    height: 64px;
    position: fixed;
    top: 0;
    background-color: #fff;
}

.blog-nav .layui-nav {
    position: absolute;
    top: 0;
    left: 5%;
    width: 85%;
    background: none;
    display: none;
    text-align: center;
}

.blog-nav .layui-nav .layui-nav-item {
    line-height: 64px;
    margin: 0 5px;
}

.blog-nav .layui-nav-item a {
    font-weight: 300;
    padding: 0 15px;
    color: #333;
    font-size: 19px;
}

.layui-nav .layui-nav-item a:hover,
.layui-nav .layui-this a {
    color: #de0319;
}

.layui-nav .layui-this:after,
.layui-nav-bar,
.layui-nav-tree .layui-nav-itemed:after,
.layui-nav .layui-this:after,
.layui-nav-tree .layui-nav-bar {
    width: 0;
    background-color: #fff;
}

.layui-nav-tree .layui-nav-child dd.layui-this,
.layui-nav-tree .layui-this,
.layui-nav-tree .layui-this>a,
.layui-nav-tree .layui-this>a:hover {
    background: none;
}
 
.blog-nav .usercenter {
	z-index: 10;
    position: absolute;
    top:0;
    right:40px;
    line-height: 64px;
}

.blog-nav .blog-user {
    font-size: 15px;
    font-weight: 300;
    line-height: 64px;
    position: absolute;
    z-index: 10;
}

.blog-nav .blog-user img {
    width: 40px;
    height: 40px;
    border-radius: 50px;
}

.blog-nav .blog-user img:hover {
    opacity: .5;
}

.blog-nav .blog-user .fa-qq {
    line-height: 64px;
    font-size: 24px;
    color: #c2c2c2;
}

.blog-nav .blog-user .fa-qq:hover {
    color: #fff;
}


.blog-nav .blog-logo {
    position: absolute;
    top: 0px;
    left: 25%;
    width: 50%;
    text-align: center;
    margin: 0 auto;
    line-height: 58px;
    font-size: 30px;
    color: white;
    font-weight: bold;
    font-family: KaiTi;
    display: inline-block;
    z-index: 10;
}

.blog-nav .blog-navicon {
    position: absolute;
    right: 0;
    padding: 10px 12px;
    color: #d40101;
    border: 1px solid #bfbfbf;
    margin-top: 13px;
}

.blog-nav .blog-navicon:hover {
    border: 1px solid #929292;
}

@media (min-width: 992px) {
    .blog-nav .layui-nav {
        display: block;
    }

    .blog-nav .blog-user {
        right: 0;
    }

    .blog-nav .blog-logo {
        position: absolute;
        left: 0;
        width: auto;
    }

    .blog-nav .blog-navicon {
        display: none;
    }

    .blog-nav-left {
        display: none !important;
    }
}

/* 顶部导航End */

/*网站底部*/
.footer {
    background-color: #363A3E;
    padding: 2em 0;
}

.footer .ft-item {
    width: 25%;
}

.footer .footer-logo {
    max-width: 9em;
    margin-bottom: 1em;
    margin-top: -10px;
}

.footer .sub-text,
.footer .text-tips {
    color: #999999;
}

.footer .foot-bottom-style2 {
    padding: 0 48px;
    padding: 0 3rem;
    overflow: hidden;
    width: 50%;
    margin: 0 auto;
    box-sizing: border-box;
    color: #777777;
}

.footer .qcode {
    text-align: right;
}

.footer .ft-item {
    width: 25%;
}

.footer .qcode>.inline-block:first-child {
    margin-right: 3em;
}

.footer .foot-bottom-style2 .get-online-count .inline-block {
    margin: 0 8px;
}

.footer .foot-bottom-style2 .get-online-count {
    margin-bottom: 15px;
    font-size: 14px;
}

.inline-block,
.inline-block2 {
    display: inline-block;
}

.inline-block {
    vertical-align: middle;
}

.text-center {
    text-align: center;
}

.footer .qcode img {
    width: 5em;
    height: 5em;
    display: block;
}

/*网站底部END*/

/*子栏目导航*/
.child-nav {
    margin: 15px 0;
    text-align: center;
    height: 39px;
    background: #fff;
    border-bottom: 1px solid #5FB878;
}

.child-nav-btn {
    padding: 0 20px;
    width: auto;
    font-size: 14px;
    line-height: 40px;
    display: inline-block;
    cursor: pointer;
}

.child-nav-btn-this {
    background: #5FB878;
    color: #fff;
}

/*子栏目导航END*/

/*侧边导航*/
.blog-nav-left {
    top: 65px;
    border-radius: 0;
    border-top: 1px solid #5FB878;
    box-shadow: 0 0 8px #fff;
}

.leftIn {
    -moz-animation: leftIn 0.5s;
    -o-animation: leftIn 0.5s;
    -webkit-animation: leftIn 0.5s;
    animation: leftIn 0.5s;
}

.leftOut {
    -moz-animation: leftOut 0.5s;
    -o-animation: leftOut 0.5s;
    -webkit-animation: leftOut 0.5s;
    animation: leftOut 0.5s;
}

@media (min-width: 992px) {
    .blog-nav-left {
        display: none !important;
    }
}

/*侧边导航END*/

/*侧边导航遮罩*/
.blog-mask {
    position: fixed;
    left: 0;
    right: 0;
    top: 65px;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
}

.maskIn {
    -moz-animation: maskFadeIn 0.5s;
    -o-animation: maskFadeIn 0.5s;
    -webkit-animation: maskFadeIn 0.5s;
    animation: maskFadeIn 0.5s;
}

.maskOut {
    -moz-animation: maskFadeOut 0.5s;
    -o-animation: maskFadeOut 0.5s;
    -webkit-animation: maskFadeOut 0.5s;
    animation: maskFadeOut 0.5s;
}

@media (min-width: 992px) {
    .blog-mask {
        display: none;
    }
}

/*侧边导航遮罩END*/

/*百度分享*/
.blog-share {
    box-shadow: 0 0 8px #fff;
    position: fixed;
    right: 80px;
    bottom: 15px;
    background: #393D49;
    z-index: 999;
    margin-bottom: 1px;
    height: 50px;
}

.blog-share .blog-share-body {
    width: 100%;
    height: 100%;
}

.bdsharebuttonbox {
    height: 100%;
}

.bdsharebuttonbox a {
    float: left;
    margin: 9px !important;
    background-position: 0 !important;
}

.bdsharebuttonbox .bds_qzone {
    background: url(../images/qzone_32.png) no-repeat;
}

.bdsharebuttonbox .bds_tsina {
    background: url(../images/weibo_32.png) no-repeat;
}

.bdsharebuttonbox .bds_weixin {
    background: url(../images/wechat_32.png) no-repeat;
}

.bdsharebuttonbox .bds_sqq {
    background: url(../images/qq_32.png) no-repeat;
}

.shareIn {
    -moz-animation: shareIn 0.5s;
    -o-animation: shareIn 0.5s;
    -webkit-animation: shareIn 0.5s;
    animation: shareIn 0.5s;
}

.shareOut {
    -moz-animation: shareOut 0.5s;
    -o-animation: shareOut 0.5s;
    -webkit-animation: shareOut 0.5s;
    animation: shareOut 0.5s;
}

/*百度分享END*/
 



/**课程列表*/
.home-title-row {
    margin-bottom: 20px
}

.home-title-row .title {
    font-size: 1.7em;
    display: inline-block;
    vertical-align: bottom
}

.home-title-row .more {
    margin-top: 1.3em
}

.home-title-row .btn-next,
.home-title-row .btn-prev {
    display: inline-block;
    padding: 5px 10px;
    color: #777;
    cursor: pointer;
    background-color: #efefef
}

.home-title-row .btn-next:hover,
.home-title-row .btn-prev:hover {
    background-color: #f9f9f9
}

.home-page.layout .content {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.home-page .content {
    position: relative;
    transition: all .2s linear;
}

.home-page.layout img {
    display: block;
    width: 100%;
    max-height: 100%;
}

.img img {
    vertical-align: middle;
    transform: translateZ(0);
    max-width: 100%;
}

.home-page.layout .content .bottom {
    line-height: 1.4;
}

.home-page.layout .content .title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-indent: 1px;
    word-wrap: normal;
    word-break: normal;
    margin: 10px 0;
    font-size: 1.15em;
}

.sub-text,
.sub-title,
.text-tips {
    color: #999;
}

.home-page.layout .content .bottom .iconfont {
    margin-right: 5px;
}

.home-page .section {
    padding: 2em 0 2em 0;
    overflow: hidden;
    margin-top: -5px;
}

.home-title-row .more {
    margin-top: 1.3em;
}

.course_list {
    margin-right: -20px;
}

.course_list li {
    float: left;
    width: 25%;
    border-radius: 6px;
    margin: 0 0 20px 0;
}

.course_list li a {
    display: block;
    height: 100%;
    margin-right: 20px;
    position: relative;
    border-radius: 6px;
    background: #fff;
}

.course_list li a:hover {
    box-shadow: 0 3px 18px rgba(0, 0, 0, .2);
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    transition: all .3s;
    color: #000;
    font-weight: border;
}

.course_list li:nth-child(4n) {
    margin-right: 0;
}

.course_list li a .img_box {
    /* height: 140px; */
    position: relative;
}

.course_list li a .img_box img {
    /* height: 140px; */
    width: 100%;
    border-radius: 6px 6px 0 0;
}

img {
    max-width: 100%;
    border: none;
}

.course_list li a .course_txt {
    height: 60px;
    padding: 5px 10px 10px 10px;

}

.course_list li a p {
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: break-all;
}

.course_list li a span {
    font-size: 14px;
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: red;
}
/***  专题下课程 名师下课程页面***/
.famous-item{
	padding: 2em 1em;
}
.famous-item .item-img {
    float: left;
    padding: .3em 0;
}
.famous-item .famous>img {
    border-radius: 50%;
	height: 7em;
}
.famous-item .zhuanti{width:30%}
.famous-item .zhuanti>img{ 
	width: 20em;
	height: 12em;
}
.famous-item .item-text {width:65%;
	float:left;
    padding-left: 2em;
}
.famous-item .item-text .item-name {
    font-size: 1.4em;
    margin-bottom: .6em;
    color: #000;
}
.famous-item .item-text .item-identity {
    margin-bottom: .6em;
    font-size: .9em;
}
.famous-item .item-text .item-introduction {
    line-height: 1.6em;
    font-size: .9em;
}
/***********************************************动画定义*************************************************/
/*侧边导航In动画*/
@keyframes leftIn {
    from {
        left: -200px;
    }

    to {
        left: 0;
    }
}

@-moz-keyframes leftIn {
    from {
        left: -200px;
    }

    to {
        left: 0;
    }
}

@-webkit-keyframes leftIn {
    from {
        left: -200px;
    }

    to {
        left: 0;
    }
}

/*侧边导航Out动画*/
@keyframes leftOut {
    from {
        left: 0;
    }

    to {
        left: -200px;
    }
}

@-moz-keyframes leftOut {
    from {
        left: 0;
    }

    to {
        left: -200px;
    }
}

@-webkit-keyframes leftOut {
    from {
        left: 0;
    }

    to {
        left: -200px;
    }
}

/*分享In动画*/
@keyframes shareIn {
    from {
        right: -200px;
    }

    to {
        right: 80px;
    }
}

@-moz-keyframes shareIn {
    from {
        right: -200px;
    }

    to {
        right: 80px;
    }
}

@-webkit-keyframes shareIn {
    from {
        right: -200px;
    }

    to {
        right: 80px;
    }
}

/*分享Out动画*/
@keyframes shareOut {
    from {
        right: 80px;
    }

    to {
        right: -200px;
    }
}

@-moz-keyframes shareOut {
    from {
        right: 80px;
    }

    to {
        right: -200px;
    }
}

@-webkit-keyframes shareOut {
    from {
        right: 80px;
    }

    to {
        right: -200px;
    }
}

/*淡入动画*/
@keyframes maskFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes maskFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes maskFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*淡出动画*/
@keyframes maskFadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@-moz-keyframes maskFadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@-webkit-keyframes maskFadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}
