body {
    font-size: 20px;
}


/* .blocklyHtmlInput{
    line-height: inherit !important;
    width: 160%;
    height: 200% !important;
    background: #DBD3C6;
    padding: .2rem;
    word-wrap:break-word;
    max-width: 80rem;
} */

.fa-comments,
.fa-book,
.fa-share-alt {
    font-size: 24px;
    line-height: 29px;
}

.fa-book,
.fa-share-alt {
    font-size: 22px;
}

li .fa-comments {
    margin: 0 3px;
}

li .fa-book {
    margin: 0 5px 0 4px;
}

.course {
    position: fixed;
    top: 55%;
    right: 2rem;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    z-index: 999;
}

.course a {
    text-decoration: none;
    display: inline-block;
    width: 3.5rem;
    height: 3.6rem;
    padding-top: .2rem;
    color: #fff;
    background-color: rgba(233, 197, 97, 0.5);
    box-shadow: 0 6px 10px 0 rgba(211, 182, 96, 0.4);
    border-radius: .3rem;
    text-align: center;
    line-height: 2.3rem;
    font-size: 1.7rem;
}

.course a:focus,
.course a:visited,
.course a:hover {
    outline: none;
    color: #fff;
    background-color: #fdbd0f;
}

.icon_search {
    margin-top: .5rem !important;
}

.menu-box {
    width: 100%;
    background: #61A3A4;
    box-sizing: border-box;
}

.menu-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    font-size: 1.25rem;
    margin: 0 auto;
}

.logo img {
    /*border-radius: 1.7rem;*/
    border-radius: 0.7rem;
    height: 3.4rem;
}

.menu-left,
.menu-right {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.menu-left {
    color: #fff;
    font-weight: bold;
}

.menu-left .logo {
    margin-left: 0;
}

.menu-left>span,
.menu-left input,
.menu-left select,
.menu-left>div {
    margin-left: 1.8rem;
}

.menu-left>span.v-line {
    height: 2rem;
    border-left: 1px solid #F1A70B;
}

.menu-left input::-webkit-input-placeholder {
    color: #fff;
    font-weight: bold;
}

.menu-left input::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #fff;
    font-weight: bold;
}

.menu-left input:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #fff;
    font-weight: bold;
}

.menu-left input:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #fff;
    font-weight: bold;
}

.menu-left input {
    height: 2.4rem;
    width: 12rem;
    border-radius: 1.2rem;
    border: 0;
    background: #fff;
    padding-left: 2rem;
    padding-right: .5rem;
    box-sizing: border-box;
    color: #000;
}

.menu-left .select::after {
    padding-right: .5rem;
}

.menu-left .select {
    display: inline-block;
    height: 2.4rem;
    width: 14rem;
    border: 0;
    background: #fff;
    padding-left: .5rem;
    padding-right: .5rem;
    box-sizing: border-box;
    position: relative;
    vertical-align: middle;
    padding: 0;
    overflow: hidden;
    color: #555;
    text-shadow: none;
    transition: box-shadow 0.25s ease;
    z-index: 2;
}

.menu-left .select:hover {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.menu-left .select:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: #ccc;
    top: 14px;
    right: 10px;
    cursor: pointer;
    z-index: -2;
}

.menu-left .select select {
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    background: transparent;
    background-image: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.menu-left .select select:focus {
    outline: none;
}

.menu-left input:focus,
.menu-left select:focus {
    outline: none;
}

.menu-left>div {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
}

.menu-left>div>span {
    padding-left: .2rem;
}

.menu-left>div a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    color: #fff;
}

.menu-left>div a>span {
    padding-left: .2rem;
}

.menu-left>div:hover,
.menu-left>div:active,
.menu-left>div:focus,
.menu-left>div:visited {
    text-decoration: none;
    color: #fff;
    outline: none;
}

.menu-left>div a:hover,
.menu-left>div a:active,
.menu-left>div a:focus,
.menu-left>div a:visited {
    text-decoration: none;
    color: #fff;
    outline: none;
}

.menu-right {
    float: right;
    color: #fff;
    font-weight: bold;
    padding-right: 1rem;
}

.menu-right>div {
    margin-left: 1rem;
}

.menu-right>div a {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-around;
    text-decoration: none;
    color: #fff;
}

.menu-right>div a>span {
    padding-left: .2rem;
}

.menu-right>div a:hover,
.menu-right>div a:active,
.menu-right>div a:focus,
.menu-right>div a:visited {
    text-decoration: none;
    color: #fff;
    outline: none;
}

@media screen and (min-width: 1500px) and (max-width: 1679px) {
    .menu-nav .logo {
        display: none;
    }
    .menu-nav .logo_c51 {
        display: none;
    }
    .menu-left input {
        margin-left: 0;
    }
    .menu-right {
        margin-left: 1rem;
    }
    .v-line {
        display: none;
    }
}

@media screen and (max-width: 1500px) {
    .menu-nav {
        padding: 1rem 0;
    }
    .menu-nav .logo {
        display: none;
    }
    .menu-left>span,
    .menu-left input,
    .menu-left select,
    .menu-left>div {
        margin-left: .5rem;
    }
    .menu-right {
        margin-left: 1rem;
    }
    .menu-right>div {
        margin-left: .5rem;
    }
    .v-line {
        display: none;
    }
}


/* @media screen and (min-width: 1165px) and (max-width: 1500px) {
    .menu-nav .logo {
        display: none;
    }
    .menu-nav .logo_c51 {
        display: none;
    }
    .menu-nav {
        padding: .8rem 0;
    }
} */


/* @media screen and (min-width: 1150px) and (max-width: 1190px) {
    .menu-nav .logo {
        display: none;
    }
} */

@media screen and (min-width: 1205px) and (max-width: 1500px) {
    .menu-nav {
        padding: 1rem 0;
    }
    .menu-nav .logo {
        display: none;
    }
    .menu-nav .logo_c51 {
        display: none;
    }
    .menu-left>span,
    .menu-left input,
    .menu-left select,
    .menu-left>div {
        margin-left: .6rem;
    }
    .menu-right {
        text-align: center;
        margin-left: 1rem;
    }
    .menu-right>div {
        margin-left: .3rem;
    }
    .v-line {
        display: none;
    }
}

@media screen and (max-width: 1164px) {
    .menu-nav {
        /* width: 60rem; */
        padding: 1rem 0;
    }
    .menu-nav .logo {
        display: none;
    }
    .menu-nav .logo_c51 {
        display: block;
    }
    .menu-left>span,
    .menu-left input,
    .menu-left select,
    .menu-left>div {
        margin-left: .6rem;
    }
    .menu-left input {
        margin-left: 0;
    }
    .menu-right {
        text-align: center;
        margin-left: 1rem;
    }
    .menu-right>div {
        margin-left: .3rem;
    }
    .v-line {
        display: none;
    }
}

@media screen and (max-width: 980px) {
    .menu-nav {
        width: 98rem;
    }
}

.vex.vex-theme-wireframe .vex-content {
    border-width: 2px;
}

.vex.vex-theme-wireframe .vex-content i,
.vex.vex-theme-wireframe .vex-content th,
.vex.vex-theme-wireframe .vex-content strong {
    color: #FFCC33;
}

.vex.vex-theme-wireframe .vex-close {
    color: #FFCC33;
}

.vex.vex-theme-wireframe .vex-close:before {
    color: #FFCC33;
}

.vex.vex-theme-wireframe .vex-close:hover:before,
.vex.vex-theme-wireframe .vex-close:active:before {
    color: #61A3A4;
}

p .share-label {
    width: 3.5rem;
}

.vex-content p>button {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    width: 10rem;
    line-height: 1.5rem;
    height: 2.2rem;
    border-radius: 1.1rem;
    color: #fff;
    background: #F5BB3E;
    border: 1px solid #F5BB3E;
}

.vex-content p>button:hover,
.vex-content p>button:focus,
.vex-content p>button:active,
.vex-content p>button:visited {
    background: #F5BB3E;
    border: 1px solid #F5BB3E;
    outline: none;
}

.pythonboard-toolbox #toolbox {
    background: #61A3A4;
}

.pythonboard-toolbox #toolbox #commands a {
    background-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding-top: .5rem;
}

.pythonboard-toolbox #toolbox #commands a:hover {
    background-color: transparent;
}

.pythonboard-toolbox img {
    display: inline-block;
    margin: 0 auto;
    width: 30px;
    height: 30px;
    text-align: center;
}

.pythonboard-toolbox i {
    display: inline-block;
    margin: 0 auto;
    width: 30px;
    height: 30px;
    text-align: center;
    color: #fff;
    font-size: 30px;
}

@media (max-width: 890px) {
    .pythonboard-toolbox .roundlabel {
        display: inline-block;
    }
}

@media (max-width: 1305px) {
    .w1230 {
        display: none;
    }
}

@media (max-width: 1200px) {
    .w1100 {
        display: none;
    }
}

#right_menu_list {
    display: none;
}

#right_menu_list ul {
    background-color: #58BCC1;
    left: -9rem;
}

.left_file_list {
    margin-right: 1rem;
}

.left_file_list ul {
    background-color: #58BCC1;
}

.left_file_list ul li a:hover {
    background-color: #64D6DB;
}

#right_menu_list ul a {
    flex-direction: row;
    justify-content: flex-start;
}

#right_menu_list ul>li>a:focus,
#right_menu_list ul>li>a:hover {
    background-color: #64D6DB;
}


/* .menu-right > #right_menu_list  a{
  color:#999;
} */

@media (max-width: 1230px) {
    .menu-nav .logo {
        display: none;
    }
    .w930 {
        display: none;
    }
    #right_menu_list {
        display: block;
    }
}

@media (max-width: 960px) {
    .menu-nav .logo {
        display: none;
    }
}

@media (max-width: 720px) {
    .menu-nav .logo {
        display: none;
    }
    .menu-nav .logo_c51 {
        display: block;
    }
}


/* 等待弹框 */

.waitingBox {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 150px;
    transform: translate(-50%, -50%);
    border: 1px solid #999;
    display: none;
    z-index: 999;
    background: #fff;
    border-radius: 5px;
}

.waitingBox img {
    display: block;
    margin: 0 auto;
    margin-top: 10px;
    width: 80px;
    height: 80px;
}

.waitingBox p {
    text-align: center;
    font-size: 1.3rem;
    color: #333;
    line-height: 1.2rem;
}

#filesComment {
    cursor: pointer;
}

.fileList {
    list-style: none;
    padding-left: 0;
}

.fileList li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .5rem;
    padding: .5rem;
    width: 100%;
}

.fileList li button {
    padding: 6px;
}

.fileList li span {
    width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .5rem;
    padding: .5rem;
    width: 100%; */
}

.fileList li:hover {
    background-color: #efefef;
}


/* 扩展 */

.lbb {
    position: relative;
}

#libraryBox {
    position: absolute;
    left: 10px;
    bottom: 10px;
    width: 130px;
    height: 45px;
    font-size: 1.45rem;
    color: #fff;
    font-weight: bold;
    line-height: 45px;
    text-align: center;
    background: #17A7AF;
    border-radius: 5px;
    cursor: pointer;
}


/* 库文件管理 */

.mdf {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-content: center;
}

.cmdupl {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-content: center;
    width: 98%;
}


/* 关键字提示框 */

.ace_editor.ace_autocomplete {
    width: 450px;
}


/* 工具下载 */

.toolDownload {
    position: fixed;
    transform: translateY(-50%);
    z-index: 999;
    bottom: 1%;
    background: #fff;
    width: 3.6rem;
    height: 8rem;
    text-align: center;
    right: 1.59rem;
    cursor: pointer;
    border: 1px solid #ccc;
}

.toolDownload a {
    text-decoration: none;
    color: #000;
}

.toolBox .iconfont {
    color: #f00;
    font-size: 3rem;
}

.tool-name {
    /* // color:#fff; */
    font-size: .85rem;
}

.twdown {
    display: none;
    position: absolute;
    right: 3.63rem;
    top: -93px;
    background: #fff;
    padding: 2rem 0;
    width: 17rem;
    cursor: pointer;
    border: 1px solid #ccc;
}

.tool-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.tool-icon .iconfont {
    font-size: 6rem;
    color: #f22;
}

.tool-icon .icon-yiwen {
    font-size: 6rem;
    color: #f00;
}

.tool-des {
    font-size: 1.2rem;
    margin-top: .5rem;
}

.toolDownload:hover .twdown {
    display: block;
}

#renewBoard ul {
    padding-left: 1.5rem;
}

#renewBoard li {
    font-size: 1.4rem;
}

// 实名认证
// #checkTel .modal-dialog,#renewBoard .modal-dialog{
//     display: block;
// }
.ui-button {
    background-image: none;
    line-height: 30px;
    background-color: #fabe00;
    border: none;
    border-radius: 5px;
    display: inline-block;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    overflow: hidden;
    font-weight: normal;
    color: #fff;
    cursor: pointer;
    margin: 3px;
    height: 32px;
    vertical-align: middle;
    padding: 0 10px;
}

input,
textarea,
select {
    display: inline-block;
    padding: 4px;
    margin-bottom: 9px;
    color: #555;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.tel-box,
.code-boxs {
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    align-items: center;
    padding: .5rem;
    height: 3rem;
    margin-bottom: 2rem;
}

.tel-box label,
.tel-box input,
.code-boxs input,
.code-boxs label {
    line-height: 3rem;
    height: 3rem;
    margin-right: .56rem;
    font-size: 1.5rem;
}

.code-boxs input:nth-child(3) {
    line-height: .8rem;
}

.code-boxs .ui-button {
    padding: 0 1rem;
}


/* 添加设备 */

.vex-content h2 {
    font-size: 2.4rem;
}

.vex-content p .share-label {
    width: 5.5rem;
}

#button-decrypt-link {
    line-height: .5rem;
}

.libFilesTitle {
    display: flex;
    align-items: flex-start;
}

.libFilesTitle h4 {
    margin-right: 10px;
}

#filesubmit {
    height: 3.2rem;
    margin-top: .5rem;
}

#folderCreat {
    margin-top: .5rem;
}


/* 分隔条 */

#blockly:after {
    border: none;
}

#blockly {
    position: absolute;
    margin-right: 0;
    padding-right: 0;
    resize: none;
}

.flex1 {
    position: relative;
}

#blockly {
    width: 85%;
    top: 0;
    bottom: 0;
}

#editor {
    margin-left: calc(85% + 5px);
}

#line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 85%;
    width: 5px;
    background: #d3cece;
    cursor: w-resize;
}



.menu-middle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    margin-left: 3rem !important;
}

.menu-middle>div {
    padding: 0 1rem;
    line-height: 26px;
    background: #287374;
}

.menu-middle>div:nth-child(1) {
    border-top-left-radius: 1.3rem;
    border-bottom-left-radius: 1.3rem;
}

.menu-middle>div:nth-child(2) {
    border-top-right-radius: 1.3rem;
    border-bottom-right-radius: 1.3rem;
}


/* .menu-middle>div:nth-child(3) {
    border-top-right-radius: 1.3rem;
    border-bottom-right-radius: 1.3rem;
} */

.menu-middle a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    color: #fff;
}

.menu-middle .active {
    background: #FDC60F;
    line-height: 2.6rem;
}


/* 分享 */

.shareItems {
    display: flex;
    justify-content: space-between;
}

.shareItems button {
    height: 3.2rem;
    width: 10rem;
    /* display: flex;
    justify-content: space-between; */
}

.shareBtn {
    display: inline-block;
    margin-left: 1rem;
    border: 1px solid #ccc;
    padding: .2rem .8rem;
    border-radius: .5rem;
    font-weight: normal;
    /* background: ; */
}

.shareCompfileBtn {
    display: block;
    width: 8.5rem;
    margin-left: 0;
}

.shareBtn:hover {
    /* border: 1px solid #efefef; */
    background: #efefef;
}

.shareBtn .fa-paper-plane {
    color: #1d88ec;
    margin-left: .4rem;
}

.title-shareProj,
#shareCompfileCover,
#shareProjName,
#shareProjName2 {
    font-weight: normal;
}

#shareCompfileModal label {
    display: block;
}

#shareCompfileDesc {
    width: 100%;
}

#right_menu_list ul a .fa-share-alt {
    margin-left: .5rem;
    margin-right: .6rem;
}