html { overflow: hidden; }
.not-selected { -moz-user-select:none; /*火狐*/ -webkit-user-select:none; /*webkit浏览器*/ -ms-user-select:none; /*IE10*/ user-select:none; }
.navs{ color: #07111b; }
.ellip { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.play-catalog-list::-webkit-scrollbar, .codecamp-result-layout-center .codecamp-result-iphone .iframe-wrapper > iframe::-webkit-scrollbar { background-color: #fff; width: 7px; }
.play-catalog-list::-webkit-scrollbar-thumb, #code-editor .ace_scroller::-webkit-scrollbar-thumb, .ace_scrollbar-v::-webkit-scrollbar-thumb, .codecamp-result-layout-center .codecamp-result-iphone .iframe-wrapper > iframe::-webkit-scrollbar-thumb { background-color: #dadae4; border-radius: 6px; }
.closeifream{ position: absolute; top: 0; right: -48px; z-index: 9999999; color: #fff; cursor: pointer; }
.closepay{ position: absolute; top: 0; right: -48px; z-index: 9999999; color: #fff; cursor: pointer; }
.rich-text .btn-info { color: #FFF; background-color: #AE4141; border-color: #AE4141; }
.rich-text .btn { display: inline-block; margin-bottom: 0px; font-weight: 400; text-align: center; vertical-align: middle; cursor: pointer; background-image: none; border: 1px solid transparent; white-space: nowrap; padding: 6px 12px; font-size: 14px; line-height: 1.42857; border-radius: 4px; }
.ahong-popup .ahong-modal-btn { padding: 6px 16px; height: auto; }
.challenge-edit{ margin-top: 450px; }
.play-main-combat { width: 100%; margin-left: 0; }
.tabs-content { position: relative; }
.allNote, .myNote { color: #07111b; }
#codecamp-rules .tabs-bar > .tab-wrap { padding: 0 34px; }
#codecamp-rules .tabs-content .tabs-panel { padding: 25px 34px; }
#codecamp-rules { overflow-x: inherit; }
#codecamp-rules .tabs-content { overflow: inherit; }
#codecamp-rules .dshowtry { margin-top: 10px; margin-bottom: 10px; margin-left: 5px; }
.codecamp-rules-validate { width: 100%; margin-left: 0; }
.codecamp-rules-validate .validate-word code { font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', 'Source Han Sans SC', 'Noto Sans CJK SC', 'WenQuanYi Micro Hei', sans-serif; }

/* 规则区底栏 目录开关 */
.chapterBar { position: absolute; bottom: 0; left: 0; right: 0; display: flex; display: -webkit-flex; background: #F2F2F2; box-shadow: 0px -1px 1px 0px rgba(227, 227, 227, 0.4); padding: 14px 34px; z-index: 0; }
.chapterBar .chapterBar-btn-wrap { display: flex; align-items: center; display: -webkit-flex; -webkit-align-items: center; color: #31384F; cursor: pointer; }
.chapterBar .chapterBar-btn-wrap > i { font-size: 20px; }
.chapterBar .chapterBar-btn-wrap > span { margin-left: 4px; font-size: 14px; height: 20px; }

/* 目录 */
#combat-main .chapter-mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(000,000,000,0.6); z-index: 9; }
#combat-main .sider { left: -2px; overflow: hidden; margin-left: 0; height: 100%; border: 1px solid transparent; }
#combat-main.opensider .sider { width: 525px; z-index: 109; border: 1px solid #e8e8e8; }
#combat-main .sider .sider-inner { width: 525px; height: 100%; }
#combat-main .sider .sider-inner .play-catalog { padding: 0; height: 100%; }
#combat-main .sider .sider-inner .play-catalog .play-catalog-head { display: flex; justify-content: space-between; align-items: center; display: -webkit-flex; -webkit-justify-content: space-between; -webkit-align-items: center; padding: 18px 25px; }
.catalog-head-fl { display: flex; align-items: center; display: -webkit-flex; -webkit-align-items: center; }
.catalog-head-fl .catalog-title { font-size: 18px; font-weight: 600; color: #101010; margin-right: 25px; }
.catalog-head-fl .progress-bar { background-color: rgba(132, 132, 132, 0.2); border-radius: 70px; width: 120px; height: 12px; margin-right: 8px; }
.catalog-head-fl .progress-bar .progress-bar-completed { position: relative; background-color: #52C41A; height: 100%;  border-radius: 70px; min-width: 14%; }
.catalog-head-fl .progress-bar .progress-bar-completed:before { position: absolute; top: 20%; left: 6px; right: 6px; border-radius: inherit; background: rgba(255, 255, 255, 0.2); height: 29%; content: ''; }
.catalog-head-fl .progress-text { font-size: 12px; color: #797979; }
.catalog-head-fr { color: #a8a8a8; font-size: 18px; cursor: pointer; transition: all 0.14s linear; }
.catalog-head-fr i { display: block; }
.catalog-head-fr:hover { color: #8c8c8c; }
.play-catalog-list { overflow-y: auto; height: calc(100% - 81px); }
.play-catalog-list .chapter-title { position: relative; display: flex; justify-content: space-between; align-items: center; display: -webkit-flex; -webkit-justify-content: space-between; -webkit-align-items: center; padding: 4px 14px 4px 24px; background: #F0F5FF; border-radius: 0; margin-bottom: 0; z-index: 29; }
.play-catalog-list .chapter-title span { font-size: 16px; color: #394055; }
.play-catalog-list .chapter-title .icon { position: unset; }
.play-catalog-list > .chapter-item { padding-bottom: 0; }
.play-catalog-list .chapter-list { padding: 0; }
.play-catalog-list .chapter-list li { padding: 5px 16px 5px 42px; }
.play-catalog-list .chapter-list .selected { border: 1px solid #f0f0f0; background: #f0f0f0; }
.play-catalog-list .chapter-list li:hover { border-radius: unset; }
.play-catalog-list .chapter-list li > a { overflow: visible; cursor: pointer!important; }
.play-catalog-list .chapter-list li > a .chapter-list-index { position: relative; width: 32px; height: 32px; line-height: 32px; background: #fff; border: 1px solid rgba(89, 126, 247, 0.5); text-align: center; border-radius: 50%; font-weight: 600; }
.play-catalog-list .chapter-list li > a .chapter-list-indexActive { background: #597ef7; border: 1px solid #597ef7; z-index: 19; }
.play-catalog-list .chapter-list li > a .chapter-list-index span { color: rgba(89, 126, 247, 0.5); }
.play-catalog-list .chapter-list li > a .chapter-list-indexActive span { color: #fff; }
.play-catalog-list .chapter-list li > a .chapter-list-index .chapter-list-step { display: flex; flex-direction: column; align-items: center; position: absolute; top: -3px; left: 14px; width: 4px; height: 200%; z-index: 9; }
.play-catalog-list .chapter-list li > a .chapter-list-index .chapter-list-step:before, .play-catalog-list .chapter-list li > a .chapter-list-index .chapter-list-step:after { position: absolute; display: inline-block; width: 4px; border-left: 1px solid rgba(89, 126, 247, 0.5); border-right: 1px solid rgba(89, 126, 247, 0.5); background-color: #fff; content: ''; }
.chapter-list-step:before { top: -14px; margin-bottom: 10px; height: 26%; }
.play-catalog-list .chapter-item:nth-of-type(1) .chapter-list li:nth-of-type(1) > a .chapter-list-index .chapter-list-step:before { content: none; }
.chapter-list-step:after {  bottom: 1px; margin-top: 10px; height: 44% }
.play-catalog-list .chapter-item:last-child .chapter-list li:last-child > a .chapter-list-index .chapter-list-step:after { content: none; }
.play-catalog-list .chapter-list li > a .chapter-list-indexActive .chapter-list-step:before { top: -15px; background: transparent; }
.play-catalog-list .chapter-list li > a .chapter-list-indexActive .chapter-list-step:after, .play-catalog-list .chapter-list li > a .first-chapter .chapter-list-step:before { background-color: #597ef7; border-left: 1px solid #597ef7; border-right: 1px solid #597ef7; }
.play-catalog-list .chapter-list li > a { display: flex; justify-content: space-between; align-items: center; display: -webkit-flex; -webkit-justify-content: space-between; -webkit-align-items: center; flex: 1; border: none; }
.play-catalog-list .chapter-list li > a .chapter-list-title { display: flex; align-items: center; display: -webkit-flex; -webkit-align-items: center; width: 375px; }
.play-catalog-list .chapter-list li > a .chapter-list-title .word { margin-left: 6px; width: 290px; }
.play-catalog-list .chapter-list li > a .chapter-list-title .chapter-list-state { position: relative; width: 24px; height: 24px; border: 2px solid #D5D5d5; border-radius: 50%; box-sizing: border-box; color: #52C41A; font-size: 24px; margin-left: 18px; }
.play-catalog-list .chapter-list li > a .chapter-list-title .chapter-list-state i { position: absolute; top: -2px; left: -2px; }
.play-catalog-list .chapter-list li .learning-tip, .play-catalog-list .chapter-list li .duration-word { position: unset; font-size: 16px; }
.play-catalog-list .chapter-list li .learning, .play-catalog-list .chapter-list li .duration {  padding-right: 0; }
.play-catalog-list .chapter-list li .learning-tip { color: #acacac; }
.play-catalog-list .chapter-list li > a > .icon.i-icon-locked { position: unset; margin-top: 0; }

/* 编辑区 */
.ace_scrollbar-v::-webkit-scrollbar { background-color: transparent; width: 8px; }
#code-editor { height: 100% !important; }
#code-editor .ace_scroller::-webkit-scrollbar { background-color: transparent; height: 8px; }
.sider-shadow { box-shadow: -6px 0 5px -5px rgba(28,31,33, 0.3); }
.rich-text img { max-width:100%; }
#combat-main #play-main .combat-pannel { height: 100%; }
#combat-main #play-main .combat-pannel #codecamp #codecamp-editor .codecamp-editor-area .code { height: 100%; }
#combat-main #play-main .combat-pannel #codecamp #codecamp-editor .codecamp-editor-area .code #code-editor { height: 100%; }
.codecamp-editor-fullscreen { position: relative; height: calc(100% - 48px); }
.codecamp-editor-area { height: calc(100% - 48px); }
.codecamp-editor-bottom { display: block; }
.codecamp-editor-bottom .codecamp-btn-run { background-color: #52C41A; }
.codecamp-editor-bottom .codecamp-btn-run:hover { background-color: #45a049; }
.codecamp-editor-bottom .codecamp-btn { color: #fff; }
.codecamp-result-top { color: #31285d; }
.discussion-area, .data-area, .note-area{ height: 100%; }
.discussion-area, .note-area, .data-area { right: -405px; }
.note-area .note-list-shell { overflow-x: hidden; }
#codecamp-rules .tabs-content > .tabs-panel-container.two { width: 100%; }
#codecamp-rules .tabs-content .tabs-panel { position: relative; width: 100%; }
#codecamp-rules .tabs-content .tabs-panel .rich-text { height: auto; }
#codecamp-rules .tabs-content .tabs-panel .rich-text .codecamp-rules-content { width: 100%; min-height: 600px; opacity: 0; display: none; }
#codecamp-rules .tabs-content .tabs-panel .rich-text-mask { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.answer-correct { background-color: #F4F4F4; }
.discussion-area>.title, .note-head { padding: 0; border-bottom: 1px solid rgba(28,31,33, 0.3); }
.discussion-close { position: relative; top: 0; display: -webkit-flex; -webkit-justify-content: space-between; display: flex; justify-content: space-between; padding: 15px 15px; width: auto; }
.copytip-success { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: rgba(0, 0, 0, 0.4); border-radius: 4px; font-size: 16px; z-index: 9999; opacity: 0; }
.copytip-success .copytip-wrap { display: -webkit-flex; -webkit-align-items: center; display: flex; align-items: center; padding: 15px 15px 15px 30px; color: #f5f5f5; }
.copytip-success .copytip-wrap i { font-size: 18px; padding-right: 10px;}
.resultFullScreen { position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100% !important; background-color: #fff; z-index: 9999; }
.feedback-Box-top { display: -webkit-flex; -webkit-justify-content: space-between; -webkit-align-items: baseline; display: flex; justify-content: space-between; align-items: baseline; }

#codecamp-rules .tabs-bar, .codecamp-result-top { background: #F0F5FF; }
.shortcut-modal, .setting-modal { box-shadow: 0px 2px 4px 0px rgba(202, 202, 202, 1); }

/* 左侧拖拽条 */
.editor-dragbar-wrap { position: absolute; top: 0; bottom: 0; left: 0; width: 20px; z-index: 99; }
.editor-dragbar-wrap .codecamp-editor-zoom { display: flex; justify-content: center; align-items: center; flex-direction: column; display: -webkit-flex; -webkit-justify-content: center; -webkit-align-items: center; -webkit-flex-direction: column; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 15px; min-height: 70px; background: #fff;font-weight: 600; color: #797979; cursor: pointer; opacity: 0; z-index: 109; }
.editor-dragbar-wrap .codecamp-editor-zoom .editer-zoom-leftmask, .editor-dragbar-wrap .codecamp-editor-zoom .editer-zoom-rightmask { position: absolute; left: 3px; width: 15px; height: 15px; }
.editor-dragbar-wrap .codecamp-editor-zoom .editer-zoom-leftmask { top: -11px; transform: rotate(22deg); }
.editor-dragbar-wrap .codecamp-editor-zoom .editer-zoom-rightmask { bottom: -11px; transform: rotate(-22deg); }
.editor-dragbar-wrap .codecamp-editor-dragbar { z-index: 9; }

/* 编辑器按钮栏 */
#codecamp-editor .cell-layout-nav { display: flex; display: -webkit-flex; justify-content: flex-end; -webkit-justify-content: flex-end; }
.codecamp-editor-bottom .codecamp-btn-run { flex: 2; }

/* 结果区 */
.codecamp-result-top .switch-btn { color: #394055; font-size: 20px; font-weight: 500; }
.codecamp-result-top .pc { padding: 3px 5px; }
.codecamp-result-top .mobile { padding: 3px 6px; }
.codecamp-result-top .switch-btn.active { color: #fff; background-color: #597EF7; }

/* modal：挑战完成 */
.newModal-dialog { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; width: 510px; border-radius: 16px; }
.newModal-dialog .modal-header, .reset-modal-dialog .modal-header { border: none; color: #3e3e3e; background: #fff; border-radius: 16px 16px 0 0; padding: 16px 120px 0; }
.newModal-dialog .modal-header .close, .reset-modal-dialog .modal-header .close { transition: all 0.14s linear; }
.newModal-dialog .modal-header .close:hover, .reset-modal-dialog .modal-header .close:hover { color: #828282; }
.newModal-dialog .modal-body, .reset-modal-dialog .modal-body { border-radius: 0 0 16px 16px; padding: 15px 15px 32px 15px; }
#complete-modal .modal-body-content, #reset-modal .modal-body-content { line-height: unset; }
.newModal-dialog .modal-body .modal-body-btns, .reset-modal-dialog .modal-body .modal-body-btns { display: flex; justify-content: center; display: -webkit-flex; -webkit-justify-content: center; margin-top: 29px; }
.newModal-dialog .modal-body .modal-btn-success { background: #597EF7; border-color: #597EF7; color: #fff; padding: 13px 35px; border-radius: 40px; font-size: 20px; }
.newModal-dialog .modal-body .modal-btn-success:hover { background: #3c68f6; border-color: #3c68f6; }
.modal-body-progress { margin-top: 14px; }
.modal-body-progress .progress-text { text-align: center; margin-top: 13px; color: #8A8A8A; font-size: 16px; }
.modal-body-progress .progress-text span:nth-of-type(1) { margin-right: 8px; }
.progress-bar { background-color: rgba(132, 132, 132, 0.2); border-radius: 70px; height: 20px; width: 324px; margin: auto; }
.progress-bar .progress-bar-completed { position: relative; background-color: #52C41A; height: 100%;  border-radius: 70px; min-width: 10%; }
.progress-bar .progress-bar-completed:before { position: absolute; top: 20%; left: 6px; right: 6px; border-radius: inherit; background: rgba(255, 255, 255, 0.2); height: 29%; content: ''; }

#reset-modal { text-align: center; }
#reset-modal::before { content: ""; display: inline-block; height: 100%; vertical-align: middle; }
#reset-modal .reset-modal-dialog { display: inline-block; vertical-align: middle; border-radius: 16px; }
#reset-modal .reset-modal-dialog .modal-body { padding: 15px 30px 32px; }
#reset-modal .reset-modal-dialog .modal-body .modal-body-btns { justify-content: space-around; -webkit-justify-content: space-around; }
#reset-modal .reset-modal-dialog .modal-body .modal-body-btns .modal-btn { padding: 10px 70px; border-radius: 8px; }
#reset-modal .reset-modal-dialog .modal-body .modal-body-btns .modal-btn-wraning { background: #fff; color: #597EF7; }
#reset-modal .reset-modal-dialog .modal-body .modal-body-btns .modal-btn-wraning:hover { background: #597EF7; color: #fff; border: 1px solid #597EF7; }
#reset-modal .reset-modal-dialog .modal-body .modal-body-btns .modal-btn-success { background: #597EF7; color: #fff; margin-top: 0; }
#reset-modal .reset-modal-dialog .modal-body .modal-body-btns .modal-btn-success:hover { background: #3c68f6; border: 1px solid #3c68f6; }
.modal-body .modal-body-btns .modal-btn-success, .modal-body .modal-body-btns .modal-btn-wraning { border: 1px solid #597EF7; }

/* 提示共用 */
.buy-tips-mask, .toPeekAnswer-tip-mask { width: 100%; height: 100%; position: fixed; top: 0px; left: 0px; background-color: rgba(000,000,000,0.8); z-index: 1200; }
.buy-tips .buy-tips-title, .toPeekAnswer-tip .toPeekAnswer-tip-title { position: relative; text-align: center; }
.buy-tips .buy-tips-title h1, .toPeekAnswer-tip .toPeekAnswer-tip-title h1 {  color: #3e3e3e; font-size: 26px; font-weight: normal; }
.buy-tips .buy-tips-title i, .toPeekAnswer-tip .toPeekAnswer-tip-title i { position: absolute; top: -20px; right: -65px; font-size: 28px; }

/* 购买提示 */
.buy-tips, .toPeekAnswer-tip { max-width: 488px; padding: 26px 68px 45px; height: auto; }
.buy-tips .buy-tips-main { width: 200px; margin: 50px auto; }
.buy-tips .buy-tips-bottom, toPeekAnswer-tip .toPeekAnswer-tip-footer { justify-content: center; -webkit-justify-content: center; background: #597EF7; padding: 13px 0; border-radius: 40px; color: #fff; font-size: 20px; cursor: pointer; transition: all 0.14s linear; }
.buy-tips .buy-tips-bottom { background: #F0F5FF; color: #85A5FF; box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.4); font-size: 18px; }
.buy-tips .buy-tips-bottom:hover { background: #668eff; color: #fff; }
.buy-tips .buy-tips-bottom span:nth-of-type(1) { margin-right: 5px; }
.open-vip-btn { display: flex; justify-content: center; align-items: center; display: -webkit-flex; -webkit-justify-content: center; -webkit-align-items: center; border-radius: 40px; background: #597EF7; color: #fff; font-size: 18px; padding: 10px 19px; margin-top: 20px; box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.4); transition: all 0.14s ease-out; }
.open-vip-btn:hover { background: #3c68f6; color: #fff; }
.open-vip-btn i { transform: rotate(180deg); border-radius: 50%; background: #fff; color: #597EF7; padding: 4px; margin-left: 20px; font-size: 24px; }
.open-vip-btn:hover i { color: #3c68f6; }

/* 偷看答案提示 */
.toPeekAnswer-tip-mask { opacity: 0; }
.toPeekAnswer-tip { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; border-radius: 16px; max-width: 388px; }
.toPeekAnswer-tip .toPeekAnswer-tip-title i { color: #CCCCCC; cursor: pointer; top: -7px; right: -50px; }
.toPeekAnswer-tip .toPeekAnswer-tip-title i:hover { color: #a6a6a6; }
.toPeekAnswer-tip .toPeekAnswer-tip-main { font-size: 20px; margin: 20px 0 30px; text-align: justify; }
.toPeekAnswer-tip .toPeekAnswer-tip-footer { display: flex; justify-content: space-between; align-items: center; display: -webkit-flex; -webkit-justify-content: space-between; -webkit-align-items: center; }
.toPeekAnswer-tip .toPeekAnswer-tip-footer .toPeekAnswer-tip-confirm, .toPeekAnswer-tip .toPeekAnswer-tip-footer .toPeekAnswer-tip-cancel { border-radius: 4px; padding: 8px 0; width: 130px; text-align: center; cursor: pointer; transition: all 0.14s linear; font-size: 18px; }
.toPeekAnswer-tip .toPeekAnswer-tip-footer .toPeekAnswer-tip-confirm { background: #fff; border: 1px solid #597EF7; color: #597EF7; }
.toPeekAnswer-tip .toPeekAnswer-tip-footer .toPeekAnswer-tip-cancel { background: #597EF7; border: 1px solid #597EF7; color: #fff; }
.toPeekAnswer-tip .toPeekAnswer-tip-footer .toPeekAnswer-tip-confirm:hover { background: #597EF7; color: #fff; }
.toPeekAnswer-tip .toPeekAnswer-tip-footer .toPeekAnswer-tip-cancel:hover { background: #3c68f6; border: 1px solid #3c68f6; }

/* 参考答案 */
.ahong-popup .answer-modal .ahong-modal-body { height: calc(100% - 139px); padding: 16px 24px; }

/* 支付模态框 */
.pay-wrap .pay-mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color:  rgba(0, 0, 0, 0.4); z-index: 109; }
.pay-wrap .pay-box-wrap { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 5px; text-align: center; background-color: #fff; z-index: 119; padding: 0 20px; min-width: 659px; }
.pay-box-wrap .pay-box-head { display: -webkit-flex; -webkit-align-items: center; -webkit-justify-content: space-between; display: flex; align-items: center; justify-content: space-between; color: #444444; }
.pay-box-wrap .pay-box-head .box-head-title { position: relative; font-size: 24px; margin: 20px 12px; text-align: left; }
.pay-box-wrap .pay-box-head .box-head-close { font-size: 20px; cursor: pointer; transition: all 0.14s linear; }
.pay-box-wrap .pay-box-head .box-head-close:hover { color: #a6a6a6; }
.pay-wrap .pay-box-wrap iframe { border: none; width: 100%; min-height: 580px; }

.codecamp-result-dragbar, .editor-dragbar-wrap { z-index: 7; }

.vip-saveprice-text {
    position: absolute;
    top: -26px;
    left: 20px;
    font-size: 14px;
    color: #fff;
    background: #ff3030;
    border-radius: 12px;
    padding: 0 8px;
    white-space: nowrap;
}
.vip-saveprice-text::before {
    position: absolute;
    bottom: -6px;
    left: 14px;
    border-left: 3px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid #ff3030;
    content: '';
}