html,
body {
    height: 100%;
}

body {
    background-color: #fff;
    font-family: sans-serif;
    margin: 0;
    overflow: hidden;
}

/* 网页头部 */

.header_background {
    width: 1920px;
    height: 40px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 6;
    background-size: cover;
}

.header_background .bg {
    content: "";
    background-image: url(./media/headerSVG.svg);
    width: 1920px;
    height: 100px;
    position: fixed;
    right: 0;
    top: 0;
    background-size: cover;
    pointer-events: none;
}

/* 头部菜单控制按钮 */

.header_menubtn {
    width: 80px;
    display: block;
    height: 80px;
    position: fixed;
    right: 17px;
    top: 7px;
    cursor: pointer;
    border-radius: 100px;
    background-color: transparent;
    transition: all 0.3s;
}

.header_menubtn path {
    fill: #fff;
}

.header_menubtn svg {
    margin: 16px 0 0 12px;
}

.header_menubtn:hover {
    background-color: #fff;
}

.header_menubtn:hover .header_menubtn_path {
    -webkit-animation: BtnBreath 0.5s ease-in-out infinite;
    -moz-animation: BtnBreath 0.5s ease-in-out infinite;
    animation: BtnBreath 0.5s ease-in-out infinite;
}

.header_menubtn:hover path {
    fill: #46b5ff;
    transition: all 0.3s;
}

.header_menubtn[menu-open="1"] {
    transform: rotate(180deg);
}

/* 头部菜单动画 */

@keyframes BtnBreath {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@-webkit-keyframes BtnBreath {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@-moz-keyframes BtnBreath {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* 头部菜单容器 */

.header_menubtn[menu-open="0"] + .header_menu {
    background-color: #fff;
}

.header_menu .transition {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 200px;
    height: 22px;
    background-image: url(media/headerMenu.svg);
}

.header_menu {
    position: fixed;
    top: 55px;
    right: 0px;
    width: 185px;
    height: auto;
    background-color: #46b5ff;
    z-index: 5;
    border-radius: 0 0 20px 20px;
    transition: margin 0.3s;
}

.header_menu ul {
    margin-top: 43px;
    list-style: none;
}

.header_menu li {
    color: #fff;
    font-size: 25px;
    text-align: center;
    display: inline-block;
    -webkit-transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1);
    -o-transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1);
    cursor: pointer;
}

.header_menu li a:before {
    position: relative;
    left: 5px;
    display: inline-block;
    margin-left: 5px;
    font-family: "Material Icons";
    font-weight: normal;
    font-style: normal;
    top: 7px;
    font-size: 30px;
    /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "liga";
    filter: alpha(opacity=0);
    opacity: 0;
    -webkit-transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1);
    -o-transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1);
    -webkit-transform: scale(0.5);
    -ms-transform: scale(0.5);
    -o-transform: scale(0.5);
    transform: scale(0.5);
    speak: none;
    -webkit-text-stroke-width: 0;
    width: 0px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.header_menu a#menu_autosave[autosave-open="0"]:before {
    content: "\E835";
}

.header_menu a#menu_autosave[autosave-open="1"]:before {
    content: "\E834";
}

.header_menu a#menu_archive:before {
    content: "\E149";
}

.header_menu a#menu_unarchive:before {
    content: "\E169";
}

.header_menu a#menu_addtoworkspace:before {
    content: "\E168";
}

.header_menu a#menu_delete:before {
    content: "\E872";
}

.header_menu a#menu_about:before {
    content: "\E88E";
}

.header_menu li:hover a:before {
    left: -11px;
    filter: alpha(opacity=100);
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    width: 20px;
    -webkit-animation: backshake 0.5s linear;
    animation: backshake 0.5s linear;
}

.header_menu li:hover {
    margin-left: -10px;
}

@keyframes backshake {
    0% {
        transform: rotate(8deg);
    }
    25% {
        transform: rotate(-8deg);
    }
    50% {
        transform: rotate(8deg);
    }
    75% {
        transform: rotate(-8deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@-webkit-keyframes backshake {
    0% {
        transform: rotate(8deg);
    }
    25% {
        transform: rotate(-8deg);
    }
    50% {
        transform: rotate(8deg);
    }
    75% {
        transform: rotate(-8deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.farSide {
    text-align: right;
}

html[dir="RTL"] .farSide {
    text-align: left;
}

/* lobibox悬浮层样式 */

.lobibox_button {
    border-radius: 100px;
    background: transparent;
    border: 2px #fff solid;
    padding: 2px 40px;
    cursor: pointer;
    color: #fff;
    font-size: large;
    -webkit-transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1);
    -o-transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1);
}

.lobibox_button:hover {
    border: 2px #fff solid;
    background: #fff;
    color: #46b5fe;
    transform: scale(1.03);
}

.lobibox_button:focus {
    outline: none;
    border: 2px #fff solid;
    background: #fff;
    color: #46b5fe;
    transform: scale(1.03);
}

.lobibox_button:active {
    transform: scale(0.97);
}
/* Buttons */

/* button {
    margin: 5px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: large;
    background-color: #eee;
    color: #000;
}

button.primary {
    border: 1px solid #dd4b39;
    background-color: #dd4b39;
    color: #fff;
}

button.primary>i {
    opacity: 1;
}

button>i {
    opacity: 0.6;
    vertical-align: text-bottom;
}

button:hover>i {
    opacity: 1;
}

button:active {
    border: 1px solid #888 !important;
}

button.disabled:hover>i {
    opacity: 0.6;
}

button.disabled {
    display: none;
}

button.notext {
    font-size: 10%;
} */

h1 {
    font-weight: normal;
    font-size: 140%;
    margin-left: 5px;
    margin-right: 5px;
}

/* Tabs */

td.tabmin {
    border-top-style: none !important;
    border-left-style: none !important;
    border-right-style: none !important;
}

td.tabmax {
    border-top-style: none !important;
    border-left-style: none !important;
    border-right-style: none !important;
    width: 99%;
    padding-left: 10px;
    padding-right: 10px;
    text-align: right;
}

html[dir="rtl"] td.tabmax {
    text-align: left;
}

table {
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    border: none;
}

td {
    padding: 0;
    vertical-align: top;
}

.content {
    visibility: hidden;
    margin: 0;
    padding: 1ex;
    position: absolute;
    direction: ltr;
}

pre.content {
    border: 1px solid #ccc;
    overflow: scroll;
}

#content_blocks {
    padding: 0;
}

.blocklySvg {
    border-top: none !important;
}

#content_xml {
    resize: none;
    outline: none;
    border: 1px solid #ccc;
    font-family: monospace;
    overflow: scroll;
}

#languageMenu {
    vertical-align: top;
    margin-top: 15px;
    margin-right: 15px;
}

/* Buttons */

button {
    padding: 1px 10px;
    margin: 1px 5px;
}

#tab_blocks {
    min-width: 180px;
    max-height: 41px;
    border: none !important;
    padding: 0;
    text-align: center;
    padding-top: 8px;
}

#content_blocks {
    width: 100%;
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
}

#content_doc {
    bottom: 0;
    border: 1px solid #e3e3e3;
    padding-left: 0;
    padding-right: 0;
    width: 0px;
    overflow: auto;
    overflow-x: hidden;
    z-index: 9989;
    background: #fff;
}

#content_doc_in {
    height: auto;
}

.viewproblem {
    position: fixed;
    color: #ff0000;
}

.projectid {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: large;
    background-color: #eee;
    color: #5f5f5f;
    margin: 1px 5px;
    padding: 1px 7px;
    height: 34px;
    line-height: 40px;
}

a[title="站长统计"] {
    display: none;
}

.projectid::-ms-expand {
    display: none;
}

.alreadylogin {
    font-size: 12px;
    color: #0078b6;
    line-height: 16px;
}

.WB_loginButton img {
    vertical-align: middle;
}

.WB_widgets fieldset,
.WB_widgets img {
    border: 0;
}

.WB_widgets .WB_linkA,
.WB_widgets .WB_linkA a,
.WB_widgets a {
    color: #0078b6;
}

.headerbtn {
    font-size: 12px;
    color: #0078b6;
    line-height: 16px;
    position: relative;
    left: -10px;
    top: -5px;
    cursor: pointer;
}

.userinfobtn {
    display: none;
}

.headermenu {
    padding: 5px;
    width: auto;
    height: auto;
    background: #f3f3f3;
    border: solid 1px #cacaca;
    position: fixed;
    z-index: 9998;
    border-radius: 0 0 15px 15px;
    padding-bottom: 10px;
    display: none;
}

.userinfo_val {
    font-size: 15px;
    color: #464646;
}

.useroutput {
    font-size: 15px;
    color: #7d7d7d;
    margin-left: 8px;
    margin-right: 4px;
}

.useroutput > i {
    color: #7d7d7d;
    position: relative;
    top: 6px;
}

.screen_rotation {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    display: -webkit-box;
    -webkit-box-orient: horizontal;
    -webkit-box-pack: center;
    -webkit-box-align: center;
    display: -moz-box;
    -moz-box-orient: horizontal;
    -moz-box-pack: center;
    -moz-box-align: center;
    display: -o-box;
    -o-box-orient: horizontal;
    -o-box-pack: center;
    -o-box-align: center;
    display: -ms-box;
    -ms-box-orient: horizontal;
    -ms-box-pack: center;
    -ms-box-align: center;
    display: box;
    box-orient: horizontal;
    box-pack: center;
    box-align: center;
}

.screen_rotation_icon {
    animation-delay: 2s;
    -webkit-animation-delay: 2s;
    display: block;
    width: 100%;
    text-align: center;
}

.screen_rotation_warning {
    color: #fff;
}

.menubtngroup {
    text-align: center;
}

@media screen and (orientation: portrait) {
    /*  css[竖向定义样式]  */
    .screen_rotation {
        display: -webkit-box;
    }
}

@media screen and (orientation: landscape) {
    /*   css[横向定义样式]  */
    .screen_rotation {
        display: none;
    }
}

@media screen and (min-width: 899px) {
    /*   css[竖屏显示器不显示提示]  */
    .screen_rotation {
        display: none;
    }
}

@media screen and (min-width: 320px) and (max-width: 800px) {
    /*   css[手机样式]  */
    .headermenu {
        padding: 5px;
        top: 41px !important;
        left: 0 !important;
        right: 0 !important;
        height: auto;
        border-radius: 0 0 0px 0px;
        padding-bottom: 10px;
    }
    .menu-btns {
        width: 98% !important;
    }
    .blocklyFlyout,
    .blocklyFlyoutScrollbar {
        margin-left: 44px;
    }
    #toolboxNav {
        display: block !important;
    }
}

@media only screen and (min-width: 700px) and (max-width: 1px) {
    /*   css[平板样式]  */
}

@media only screen and (min-width: 1029px) {
    /*   css[pc样式]  */
}

.menubtngroup_btntext {
    font-size: 19px;
    color: #5f5f5f;
}

.nobr {
    display: none;
}

.menu-btns {
    width: 95%;
}

.header_menu_mark {
    position: fixed;
    top: 40px;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    z-index: 4;
    display: none;
}

#toolboxNav {
    position: absolute;
    top: 41px;
    display: none;
    z-index: 9980;
    padding: 0;
    margin: 0;
    width: 42px;
    bottom: 0;
}

.ccbtn {
    height: 50%;
    border: none;
    margin: 0;
    background: #dddddd;
    transition: all 0.1s linear;
    -webkit-transition: all 0.1s linear;
    border-radius: 0;
}

.ccbtn:active {
    border: none !important;
    background: #e8e8e8;
}

.ccbtn:focus {
    outline: none !important;
}

#blocksearch_input {
    width: 90px;
    height: 28px;
    font-size: 12px;
    display: inline-block;
    line-height: 1.42857143;
    color: #fff;
    background-color: transparent;
    background-image: none;
    border: none;
    border-bottom: 2px #fff solid;
    transform: translateY(1px);
    display: none;
    transition: width 0.3s;
}

#blocksearch_input:focus {
    outline: none;
    width: 180px;
}

#blocksearch_input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

#blocksearch_input::-webkit-input-placeholder {
    /* WebKit browsers*/
    color: #fff;
}

#blocksearch_input:-moz-placeholder {
    /* Mozilla Firefox 4 to 18*/
    color: #fff;
}

iframe {
    border: none;
    background: transparent;
}
