html{
	height: 100%;
}
body{
	width: 100%;
	height: 100%;
	background:white;
}
/*顶部状态*/
.header{
	background: rgb(250, 80, 131);
	height: 40px;
	width: 100%;
	/*overflow: hidden;*/
	font-size: 12px;
	color: white;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-direction: row;

    height: 50px;
    font-size: 15px;

    padding: 0 2%;
    width: 96%;

}
.header .left-view{
	display: flex;
	flex: 1;
}
.header .middle-view{
    display: flex;
    flex: 1;
}
.header .left-view .right-line{
    border-right: solid 1px white;
    height: 24px;
    /* margin-top: 15px; */
    margin-left: 20px;
    margin-right: 20px;
    display: inline-flex;
    margin-top: 3px;
    margin-bottom: 3px;
}
.header .left-view .logo2{
    cursor: pointer;
}
.header .left-view>span{
	padding: 5px 10px;
	background-color: rgba(0,0,0,0.4);
	border-radius: 20px;
	margin-left: 30%;

    display: inline-flex;
    align-items: center;
}
.header .middle-view .msg img{
    width: 20px;
    height: 20px;
    border-radius: 10px;
    padding-right: 5px;
}
.header .right-view{
	display: flex;
	flex: 1;
	flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}
.header .middle-view>span, .header .left-view>span{
	padding: 5px 10px;
	background-color: rgba(0,0,0,0.4);
	border-radius: 20px;
	margin-right: 10px;
    display: inline-flex;
    align-items: center;
}
.header .right-view .luntan{
    display: inline-block;
    padding: 5px 10px;
    margin-right: 30px;
    border-radius: 3px;
    background-color: #fff;
    color: rgb(250, 80, 131);
    cursor: pointer;
    font-size: 13px;
}
.header .right-view .msg img{
    width: 20px;
    height: 20px;
    border-radius: 10px;
    padding-right: 5px;
}
.header .right-view .icon1,
.header .right-view .icon2,
.header .right-view .icon3,
.header .right-view .icon4{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	margin-right: 6%
}

.header .right-view .icon1>img,
.header .right-view .icon2>img,
.header .right-view .icon3>img{
	height: 15px;
	margin-right: 5px;

    height: 20px;
}
.header .right-view .icon4>img{
    height: 20px;
    width: 20px;

    height: 25px;
    width: 25px;
    border-radius: 50%;
}

.header .right-view .avatar{
   margin-right: 2%;
}
.header .right-view .zuan.icon3{
    margin-left: 5%;
}
.header .right-view .zuan.icon3>img{
    margin-right: 2px;
}
.header .right-view .info-view{
    font-size: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 30%;
}
.header .right-view .info-view .info{
    margin-bottom: 2%;
}
.header .right-view .info-view .info .grade{
    margin-right: 15px;
    margin-right: 5%;
}
.header .right-view .progress{
    background: white;
    height: 7px;
    position: relative;
}
.header .right-view .progress img{
    position: absolute;
    left: 0; 
    top: 0; 
    width: 58.5%;
    height: 100%;
}
.header .right-view .quit{
    cursor: pointer;
}
.header .right-view .item{
    display: none;
}
/*团队成员等级*/
.team-info{
    position: absolute;
    z-index: 100000;
    background: rgb(229, 230, 231);
    top: 50px;
    color: #1a1a1a;
    border: solid 1px #d2d2d2;
    border-radius: 5px;
    line-height: 30px;
    left: 61%;
    font-size: 13px;
    top: 38px;
    display: none;
}
.team-info .team{
    background: white;
    padding: 0 15px;
    margin-bottom: 4px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.team-info .teams-brand{
    padding: 0 15px;
    background: white;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
.team .member{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #696969;
    font-size: 12px;
}
.team .member .member-name{
    display: flex;
    align-items: center;
}
.team .member-name img.avatar {
    width: 20px;
    height: 20px;
    border-radius: 10px;
    margin-right: 5px;
}
.team .member span.name {
    width: 145px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-right: 15px;
}
.team .arrow{
    position: absolute;
    height: 9px;
    top: -9px;
    left: 50%;
}
.team-brand{
    display: flex;
    align-items: center;
}
.team-brand .name{
    width: 145px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-right: 30px;
}
.team-brand .zn{
    display: inline-flex;
    align-items: center;
}
.team-brand .zn .zuan{
    margin-right: 2px;
    width: 12px;
}
/*主要界面*/
.main-view{
	display: flex;
	flex-direction: row;
	margin:1% 2%;
	height: 100%;
    height: calc(96% - 50px);
}
.main-view .left-view{
	display: flex;
    width: 25%;
    height: 100%;
    flex-direction: row;
    justify-content: space-between;
}
.main-view .left-view ul.menu{
	width: 30%;
	height: 100%;
	background-color: rgb(229, 230, 231);
	border: solid 1px rgb(205, 206, 207);
	border-radius: 5px;
	overflow: auto;
    display: none;
}
.main-view .left-view ul.menu li.kn{
	display: flex;
    width: 60%;
    margin: auto;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    overflow: hidden;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
}
.main-view .left-view ul.menu li.readed{
	color: rgb(250, 80, 131);
}
.main-view .left-view ul.menu li.reading{
	color: white;
	background-color: rgb(250, 80, 131);
	border-radius: 20px;
}
.main-view .left-view ul.menu li.unread{
	color: rgb(135,136,137);
}
.main-view .left-view ul.menu li img{
	margin-right: 10px;
	width: 15px;
}

.main-view ul.courseProgress{
    width: 10%;
    height: 100%;
    overflow: auto;
    display: none;
    width: 8%;
}
.main-view ul.courseProgress .courseProgressView{
    position: relative;
    height: 100%;
}
.main-view ul.courseProgress li.cp{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    z-index: 13;
    position: relative;
    height: 30px;
}
.main-view ul.courseProgress li.cp img{
    width: 12px;
    height: 12px;
}
.main-view ul.courseProgress .studyp{
    position: absolute;
    top: 25px;
    height: 0px;
    width: 2px;
    z-index: 12;
    left: calc(50% - 1px);
    top: 15px;
}
.main-view ul.courseProgress .unstudyp{
    position: absolute;
    top: 25px;
    height: 0px;
    width: 2px;
    z-index: 11;
    left: calc(50% - 1px);
    top: 15px;
}

/*会话*/
.main-view .left-view .chat{
	width: 66%;
	height: 100%;
	margin-right: 2%;
	background-color: rgb(229, 230, 231);
	border: solid 1px rgb(205, 206, 207);
	border-radius: 5px;
    display: inline-flex;
    justify-content: center;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    width: 100%;
    font-size: 16px;
    overflow: hidden;
}
.main-view .left-view .chat .messages{
	overflow: auto;
	padding-bottom: 70px;
	width: 100%;
    padding-bottom: 0;
    height: calc(100% - 100px);
}
.main-view .left-view .chat .messages .loadAgoMore,
.main-view .left-view .chat .messages .loadAgoNoMore{
    color: gray;
    text-align: center;
    height: 25px;
    margin-top: 10px;
    line-height: 25px;
    font-size: 14px;
}
.main-view .left-view .chat .messages .loadAgoMore{
    cursor: pointer;
}
.main-view .left-view .chat .messages .loading-chat{
    display: flex;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 20px;
    overflow: hidden;
    align-items: center;
    background: white;
    border-radius: 5px;
    border-bottom-left-radius: 0;
    height: 30px;
    width: 60px;
    justify-content: center;
}
.main-view .left-view .chat .messages .loading-chat img{
	height: 15px;
}
.main-view .left-view .chat .message.text,
.main-view .left-view .chat .message.img,
.main-view .left-view .chat .message.link{
	display: inline-flex;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 5px;
	margin-right: 20px;
	overflow: hidden;
    width: calc(100% - 30px);
    margin-right: 5px;
    width: calc(100% - 10px);
}
.main-view .left-view .chat .message .msg-view,
.main-view .left-view .chat .answer .msg-view{
    align-items: center;
    justify-content: flex-start;
    display: inline-flex;
    width: calc(100% - 90px);
}
.main-view .left-view .chat .answer .msg-view{
    justify-content: flex-end;
}
.main-view .left-view .chat .message.img{
}
/*加载的图片*/
.main-view .left-view .chat .message.img img.msg{
    width: 50%;
    display: none;
}
/*预加载的图片*/
.main-view .left-view .chat .message.img .pre-msg{
    width: 50%;    
    background: #d2d2d2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-view .left-view .chat .message.link{
    cursor: pointer;
}
.main-view .left-view .chat .message.text .content,
.main-view .left-view .chat .message .link-text{
	background-color: white;
	padding: 10px 15px;
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	border-bottom-right-radius: 5px;
	line-height: 1.5em;
	color: rgb(58, 59, 60);
}
.main-view .left-view .chat .message .arrow{
	height: 15px;
	margin-left: 15px;
}
.main-view .left-view .chat .message .avatar{
    width: 40px;
    height: 40px;
    border-radius: 20px;
    margin-right: 5px;
}
.main-view .left-view .chat .answer .avatar{
    width: 40px;
    height: 40px;
    border-radius: 20px;
    margin-left: 5px;
}
.main-view .left-view .chat .answer{
	display: inline-flex;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 20px;
    margin-left: 5px;
    overflow: hidden;
    justify-content: flex-end;
    width: calc(100% - 30px);
    margin-right: 5px;
    width: calc(100% - 10px);
}
.main-view .left-view .chat .answer .content{
	background-color: #f0f0f0;
    padding: 5px 15px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    border-bottom-right-radius: 5px;
    line-height: 1.5em;
    color: rgb(58, 59, 60);
    color: gray;
    border-radius: 5px 5px 0 5px;
}
.main-view .left-view .chat .btn-wx-auth{
}
.main-view .left-view .chat .help{	
}
.main-view .left-view .chat .btns{
    overflow: hidden;
    width: 100%;
    position: relative;
    position: absolute;
    bottom: 0
}
.main-view .left-view .btns .actions{
    color: white;
    height: 30px;
    line-height: 30px;
    width: 93.5%;
    display: flex;
    justify-content: flex-end;
    padding-right: 6.5%;
    margin-bottom: 15px;
    margin-top: 8px;
    height: 40px;
    line-height: 40px;
}
.main-view .left-view .btns .actions .option{
    height: 30px;
    line-height: 30px;
    border-radius: 5px;
    border-bottom-right-radius: 0px;
    padding-left: 15px;
    padding-right: 15px;
    display: inline-block;
    margin-left: 5px;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
}
.main-view .left-view .btns .actions .option.unselect{
    color: rgb(250, 80, 131);
    background: white;
}
.main-view .left-view .btns .actions .option.select{
    background: rgb(250, 80, 131);
    color: white;
}
.main-view .left-view .btns .actions .btn-wx-auth{
    color: white;
    height: 30px;
    line-height: 30px;
    border-radius: 5px;
    border-bottom-right-radius: 0px;
    padding-left: 15px;
    padding-right: 15px;
    background: rgb(250, 80, 131);
    display: inline-block;
    margin-left: 5px;
    cursor: pointer;
    height: 40px;
    line-height: 40px;
}
.main-view .left-view .btns .help{
    height: 30px;
    display: block;
    margin-left: 85%;
    margin-bottom: 8px;
    cursor: pointer;
}
.main-view .left-view .helps-view{
    position: absolute;
    bottom: 50px;
    width: 20%;
    background: white;
    border: solid 1px #d2d2d2;
    border-radius: 5px;
    right: 5px;
    font-size: 13px;
    padding: 0 10px;
    display: none;
    font-size: 15px;
}
.main-view .left-view .helps-view>div{
    height: 25px;
    line-height: 25px;
    text-align: center;
    letter-spacing: 1px;
    cursor: pointer;
    height: 30px;
    line-height: 30px;
}
.main-view .left-view .helps-view>div:hover{
    color: rgb(84, 180,225);
}
.main-view .left-view .helps-view .change-course,
/*.main-view .left-view .helps-view .find-help,*/
.main-view .left-view .helps-view .zuan-ani{
    border-bottom: solid 1px #d2d2d2;
}
.main-view .left-view .helps-view .arrow{
    position: absolute;
    right: 28%;
}

.sep-line{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #a6a6a6;
    height: 40px;
    line-height: 40px;
}
.sep-line .line{
    width: 90%;
    background-image: url(../../images/line.png);
    background-size: 100%;
    background-position: center;
    height: 1px;
    position:absolute;
    left: 5%;
    top: 19.5px;
}
.sep-line .title{
    padding-left: 10px;
    padding-right: 10px;
    background: red;
    background: rgb(229, 230, 231); 
    z-index: 10000;
}

/*练习区*/
.main-view .right-view{
    display: flex;
    width: 75%;
    height: 100%;
    border: solid 1px rgb(205, 206, 207);
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: rgb(229, 230, 231);
    border-radius: 5px;
}
.main-view .right-view img{
	width: 100px;
}
.main-view .right-view iframe{
	width: 100%;
	height: 100%;
	display: none;
}

/*代码运行窗口*/
.code-result-shadow-view,
.login-shadow-view{
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10001;
    display: none;
}
.code-result-shadow-view .code-result,
.login-shadow-view .login-view{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    flex-direction: column;
}
.code-result-shadow-view .code-result .close{
    height: 35px;
    background: #ddd;
    width: 70%;
    position: relative;
    display: flex;
    align-items: center;
}
.code-result-shadow-view .code-result .close img{
    position: absolute;
    right: 10px;

    width: 15px;
    height: 15px;
    top: 10px;
}
.code-result-shadow-view .code-result iframe{
    width: 70%;
    height: 80%;
    background: white;
}
.play-in-newwin{
    display: inline-block;
    padding: 3px 5px;
    background-color: rgb(250, 80, 131);
    margin-left: 5px;
    color: #fff;
    border-radius: 3px;
}

/*登录视图*/
.login-view .close{
    width: 35%;
    background: #ff6b95;
    height: 35px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    position: relative;
    display: flex;
    align-items: center;
}
.login-view .close img{
    position: absolute;
    right: 10px;
}
.login-view .login-info{
    width: 31%;
    background: #efefef;
    padding: 1% 2%;
}
.login-info .login-info-view{
    border: dashed 1px #a0a0a0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 5px;
}
.login-info .info{
    padding: 10px;
    color: #525252;
    font-size: 16px;
    display: flex;
    align-items: center;
}
.login-info .wx-code{
    width: 80px;
    height: 80px;
    padding: 10px 10px;
    display: flex;
    align-items: center;
}
.login-info .wx-code img{
    width: 100%;
}
.login-view .account-view{
    width: 35%;
    background: #efefef;
    /*height: 40%;*/
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16px;
}

.login-view .account-view .username,
.login-view .account-view .password{
    width: 80%;
    /*background: blue;*/
    height: 20%;
    margin-bottom: 5%;
    margin-top: 5%;

    height: 40px;
    margin-top: 15px;
    margin-bottom: 15px;

    display: flex;
    align-items: center;
    justify-content: center;
}
.login-view .account-view .password{
    margin-top: 0;
}
.username span,
.password span{
    margin-right: 10px;
    letter-spacing: 2px;
    color: #616161;

    width: 60px;
    display: inline-block;
}
.username input,
.password input{
    width: 75%;
    height: calc(100% - 12px);
    border:solid 1px #b7b7b7;
    padding-left: 5px;
    padding-right: 5px;
    padding: 5px;

    width: calc(100% - 70px);
}
.login-view .account-view .login{
    padding: 5px 16px;
    background: #ff6b95;
    border-radius: 5px;
    color: white;
    border: solid 1px #e56c95;
    margin-bottom: 15px;
    cursor: pointer;
}

.works-header{
    position: relative;
    text-align: right;
    background-color: rgb(155,155,155);
    line-height: 44px;
}
.works-header span{
    display: inline-block;
    line-height: 16px;
    margin-right: 15px;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 13px;
    letter-spacing: 2px;
    background-color: #fff;
    cursor: pointer;
}
.works-list{
    background-color: #fefefe;
}
.works-list li{
    padding: 10px;
    border-bottom: 1px solid #ccc;
    line-height: 26px;
    overflow: hidden;
    cursor: pointer;
}
.works-list li p span{
    display: none;
    float: right;
    width: 60px;
    line-height: 24px;
    border: 1px solid #ccc;
    text-align: center;
    font-size: 13px;
    border-radius: 3px;
    cursor: pointer;
}
.works-list li p .had-show{
    border: none;
    cursor: default;
}
.works-list li p .works-drop{
    margin-left: 10px;
}
.works-list .active{
    color: rgb(250, 80, 131);
}
.works-list .active p span{
    border-color: rgb(250,80,131);
    display: inline-block;
}

/*保存弹窗*/
.save-new-work{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.3);
    text-align: center;
    z-index: 10001;
}
.save-new-work > div{
    display: inline-block;
    margin-top: 150px;
    padding: 30px;
    background-color: #fff;
    border-radius: 5px;
}
.save-new-work > div > div:last-child{
    margin-top: 30px;
}
.save-new-work label{
    font-size: 16px;
    margin-right: 5px;
}
.save-new-work-input{
    line-height: 20px;
    padding: 5px;
    border: 1px solid #ccc;
}
.save-new-work button{
    margin: 0 10px;
    line-height: 26px;
    padding: 5px 30px;
    background-color: #ccc;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
    border: none;
}
.save-new-work .save-btn{
    background-color: #ff92b1;
}
.save-new-work .save-btn:hover{
    background-color: rgb(250, 80, 131);
}