/*.content { position: absolute; left: 0; right: 0; overflow: hidden; }*/
/*.content { overflow-y: auto }*/
.page__ft {
    padding-top: 40px;
    padding-bottom: 10px;
    text-align: center
}

.page__hd {
    height: 40px
}

/*解决page整个页面被底部tab覆盖的问题*/
.page:after {
    height: 53px;
    display: block;
    content: "";
}

.page {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0
}

.page {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /*opacity: 0;*/
    z-index: 1
}

body, html {
    height: 100%;
    -webkit-tap-highlight-color: transparent;
    font-size: 16px;
}

.grids-title {
    color: #999;
    font-size: 15px;
}

.demos-title {
    text-align: center;
    font-size: 34px;
    color: #3a7afe;
    font-weight: 400;
    margin: 0 15%;
}

.demos-block {
    background: #ffffff;
    margin: 2.5vw;
    box-shadow: .5rem .5rem 1rem rgba(0, 0, 0, .1);
}

.demos-sub-title {
    text-align: center;
    color: #888;
    font-size: 14px;
}

.demos-header {
    padding: 20px 0;
}

.demos-content-padded {
    padding: 10px 15px;
}

.demos-second-title {
    text-align: center;
    font-size: 24px;
    color: #3a7afe;
    font-weight: 400;
    margin: 0 15%;
}

footer {
    text-align: center;
    font-size: 14px;
    padding: 20px;
}

footer a {
    color: #999;
    text-decoration: none;
}

.mobilebone-href {
    display: inline-block;
}

.weui-navbar {
    z-index: 2;
    height: 40px;
    line-height: 16px;
}

.weui-navbar__item.weui-bar__item--on {
    background-color: #ffffff;
    border-bottom: 2px solid #3a7afe;
}

@media (max-height: 500px) {
    .weui-tabbar {
        display: none;
    }

    .sidesliptab .weui-form-preview {
        bottom: 0 !important;
    }

    .page .page__ft:last-of-type{
        display: none;
    }
}

.weui-tabbar__item {
    border-top: 1px solid #ececec;
    border-bottom: 3px solid #f7f7fa
}

.weui-tabbar__icon {
    width: 24px;
    height: 24px;
}

.weui-tabbar__item.weui-bar__item--on {
    background: #FFFFFF;
    border-bottom: 3px solid #00AFF0
}

.weui-dialog .weui-dialog__btn.error, .weui-toast .weui-dialog__btn.error {
    color: #ff3b30;
}

.weui-dialog .weui-dialog__btn.warning, .weui-toast .weui-dialog__btn.warning {
    color: #f60;
}

.weui-cells {
    font-size: 16px;
}

.hui-header {
    display: flex;
    width: 100%;
    height: 40px;
    text-align: center;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 19;
    background: #3a7afe;
}

.hui-header h1 {
    font-size: 18px;
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    width: 100%;
    padding: 0 38px 0 38px;
    text-align: center;
    font-weight: 400;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #FFF;
}

.hui-header .bar-right {
    position: absolute;
    right: 0rem;
    padding: 0 .9em 0 .7em;
    float: right;
    line-height: 40px;
    height: 40px;
    color: #fff;
}

.hui-header .bar-left {
    position: absolute;
    left: 0rem;
    padding: 0 .9em 0 .7em;
    float: left;
    line-height: 40px;
    height: 40px;
    color: #fff;
}

.hui-header .bar-left img, .bar-right img {
    width: .9rem;
    position: relative;
    top: .1em;
}

#hui-toast {
    color: #FFFFFF;
    background: #3D4145;
    border-radius: 8px;
    font-size: 15px;
    width: 56vw;
    position: fixed;
    z-index: 500;
    left: 22vw;
    bottom: 15vh;
    text-align: center;
}

.hui-fade-in {
    animation: hui-a-fade-in 300ms linear forwards;
    -moz-animation: hui-a-fade-in 300ms linear forwards;
    -webkit-animation: hui-a-fade-in 300ms linear forwards;
    -o-animation: hui-a-fade-in 300ms linear forwards;
}

/*侧滑菜单、搜索SDK*/
.sideslipbtn {
    position: fixed;
    right: 0;
    padding: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 40px;
    height: 37px;
    transition: transform 250ms ease;
    cursor: pointer;
    z-index: 20;
}

.sideslipbtn span {
    position: relative;
    display: block;
    width: 50%;
    height: 3px;
    background-color: #FFFFFF;
    float: right;
    transform-origin: center center;
    transition: transform 250ms ease;
    z-index: 20;
}

.sideslipbtn span:nth-of-type(1) {
    transform: translateY(-0.3em);
}

.sideslipbtn span:nth-of-type(3) {
    transform: translateY(.3em);
}

.sideslipchek {
    display: none;
}

.sideslipchek:checked ~ .sideslipbtn {
    background-color: transparent;
    transform: rotate(360deg);
    transition: transform 250ms ease;
}

.sideslipchek:checked ~ .sideslipbtn span {
    transition: transform 250ms ease;
}

.sideslipchek:checked ~ .sideslipbtn span:nth-of-type(1) {
    display: block;
    transform: translateY(2px) rotate(45deg);
}

.sideslipchek:checked ~ .sideslipbtn span:nth-of-type(2) {
    display: none;
}

.sideslipchek:checked ~ .sideslipbtn span:nth-of-type(3) {
    display: block;
    transform: translateY(-1px) rotate(-45deg);
}

.sideslipchek:checked ~ .sidesliptab {
    right: 0;
    transition: right 500ms ease;
}

.sidesliptab {
    position: fixed;
    top: 0;
    right: -72%;
    width: 72%;
    height: 100vh;
    margin: 0;
    padding: 90px 0 0 0;
    background: #FFF;
    transition: right 500ms ease;
    z-index: 15;
}

.sidesliptab .weui-cells_radio {
    padding-right: 5px;
}

.sidesliptab .weui-check__label {
    padding: 0 5px;
}

.sidesliptab .weui-cell_vcode {
    position: fixed;
    top: 40px;
    height: 45px;
    width: 70%;
    border-radius: 0px;
    border: 1px solid #fff;
    border-bottom: 2px solid #3a7afe;
}

.sidesliptab .weui-vcode-btn {
    padding: 0 17px 0 10px;
    line-height: 35px;
    height: 35px;
}

.sidesliptab .weui-icon-clear {
    display: none;
}

.sidesliptab .weui-input-focusing .weui-icon-clear {
    display: block;
}

.sidesliptab .weui-form-preview {
    position: fixed;
    bottom: 50px;
    width: 72%;
}

.overlay {
    position: fixed;
    top: 0;
    left: -28%;
    width: 28%;
    height: 100vh;
    transition: left 500ms ease;
    background: linear-gradient(to right, #000 0%, #000 100%);
    opacity: 0.6;
    z-index: 3;
}

.sideslipchek:checked ~ .overlay {
    left: 0;
    transition: left 500ms ease;
}

/*搜索SDK-end*/

/*表单必填样式*/
.label-required:before {
    content: ' * ';
    color: #ff0000;
    font-size: 100%;
    font-weight: bold;
}

/*图例小圆圈*/
.example-circle {
    display: inline-flex;
    width: 8px;
    height: 8px;
    border-radius: 25px;
    position: absolute;
    margin-top: -4px;
    background-size: 100% 100%;
}

/*图例背景*/
.example-background {
    display: inline-flex;
    width: 12vw;
    height: 12vw;
    border-radius: 100%;
}

/*标题前的竖线*/
.title_line {
    height: 1em;
    width: 2px;
    padding: 2px;
    border-radius: 15rem;
    background: #007AFF;
}

.bg-ff {
    background: #fff;
}

.bg-f8 {
    background: #f8f8f8;
}

.bg-g, .bg_default {
    background: #EEEEEE;
}


.bg0, .bg_warning {
    background: #ff9f00;
}

.bg1, .bg_success {
    background: #00c48f;
}

.bg2, .bg_danger {
    background: #f44336;
}

.bg3, .bg_primary {
    background: #3a7afe;
}

.bg4, .bg_info {
    background: #00afef;
}


/*角标颜色*/
.color-white {
    color: #fff;
}
.color-black {
    color: #000;
}

.corner_mark_img, .corner_mark_imgdefault, .color-g {
    color: #999;
}

.corner_mark_img0, .corner_mark_imgwarning, .color0 {
    color: #ff9f00;
}

.corner_mark_img1, .corner_mark_imgsuccess, .color1 {
    color: #00c48f;
}

.corner_mark_img2, .corner_mark_imgdanger, .color2 {
    color: #f44336;
}

.corner_mark_img3, .corner_mark_imgprimary, .color3 {
    color: #3a7afe;
}

.corner_mark_img4, .corner_mark_imginfo, .color4 {
    color: #00afef;
}

.corner_mark_background {
    /*height: 2.6em;*/
    position: absolute;
    top: -11px;
    right: 0;
    font-size: 3em !important;
}

.corner_mark {
    width: 3em;
    font-size: 12px;
    color: #fff;
    transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: absolute;
    top: 11px;
    right: 0;
    z-index: 1;
    text-align: center;
}

/*角标样式 end*/

.warp {
    height: 40px;
}

/*回到顶部按钮*/
.back-top {
    text-align: center;
    /*font-size: 22px;
     vertical-align: middle; */
    background-color: #ffffff;
    width: 2em;
    height: 2em;
    position: fixed;
    bottom: 15vh;
    right: 10vw;
    border: 2px solid #cecece;
    border-radius: 25px;
    z-index: 500;
    opacity: 0.8;
    display: none;
}

/*新增的loadding,替代weui原生loadding*/
.mitu_loader {
    position: relative;
    width: 2.5em;
    height: 2.5em;
    transform: rotate(165deg);
}

.mitu_loader:before, .mitu_loader:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 0.5em;
    height: 0.5em;
    border-radius: 0.25em;
    transform: translate(-50%, -50%);
}

.mitu_loader:before {
    animation: before 2s infinite;
}

.mitu_loader:after {
    animation: after 2s infinite;
}

@keyframes before {
    0% {
        width: 0.5em;
        box-shadow: 1em -0.5em rgba(225, 20, 98, 0.75), -1em 0.5em rgba(111, 202, 220, 0.75);
    }
    35% {
        width: 2.5em;
        box-shadow: 0 -0.5em rgba(225, 20, 98, 0.75), 0 0.5em rgba(111, 202, 220, 0.75);
    }
    70% {
        width: 0.5em;
        box-shadow: -1em -0.5em rgba(225, 20, 98, 0.75), 1em 0.5em rgba(111, 202, 220, 0.75);
    }
    100% {
        box-shadow: 1em -0.5em rgba(225, 20, 98, 0.75), -1em 0.5em rgba(111, 202, 220, 0.75);
    }
}

@keyframes after {
    0% {
        height: 0.5em;
        box-shadow: 0.5em 1em rgba(61, 184, 143, 0.75), -0.5em -1em rgba(233, 169, 32, 0.75);
    }
    35% {
        height: 2.5em;
        box-shadow: 0.5em 0 rgba(61, 184, 143, 0.75), -0.5em 0 rgba(233, 169, 32, 0.75);
    }
    70% {
        height: 0.5em;
        box-shadow: 0.5em -1em rgba(61, 184, 143, 0.75), -0.5em 1em rgba(233, 169, 32, 0.75);
    }
    100% {
        box-shadow: 0.5em 1em rgba(61, 184, 143, 0.75), -0.5em -1em rgba(233, 169, 32, 0.75);
    }
}

.mitu_loader {
    position: absolute;
    top: calc(50% - 1.25em);
    left: calc(50% - 1.25em);
}

/*替换掉weui-toast背景黑色*/
.mitu_transparent {
    background: transparent;
}

/*loading-end*/

/*首页图标*/
#home .weui-grid__icon, #teacher_home .weui-grid__icon {
    width: auto !important;
    text-align: center;
}

#home .iconfont, #teacher_home .iconfont {
    font-size: 33px;
    position: relative;
    bottom: 10px;
}

/*首页背景色*/
#home, #teacher_home, #thirdparty_home {
    overflow: auto;
    background-image: linear-gradient(to top, #fff1eb 0%, #ace0f9 100%);
}

/*首页块弧度*/
#home .demos-block, #teacher_home .demos-block, #thirdparty_home .demos-block {
    border-radius: 11px;
}

#home .granduate_info {
    padding: 5px 15px;
    font-size: 15px !important;
    word-break: break-word
}

#home .granduate_info ul {
    margin-left: 20px;
}

.weui-photo-browser-modal {
    z-index: 501;
}

.weui-photo-browser-modal .photo-container {
    justify-content: center;
}

.weui-photo-browser-modal .photo-container img {
    margin: -30px auto 0 auto;
    max-height: 100vh;
}

/*聊天框样式*/
.msg-bubble {
    float: left;
    /*width: 200px;
    height: 80px;*/
    min-height: 40px;
    font-size: 14px;
    line-height: 30px;
    margin: 15px 40px 0 0;
    background-color: #fff;
    border-bottom-color: #fff;
    /*为了给after伪元素自动继承*/
    color: #000;
    padding: 5px 12px 5px 12px;
    box-sizing: border-box;
    border-radius: 6px;
    position: relative;
    word-break: break-all;
}

.msg-bubble:before {
    content: '';
    position: absolute;
    top: 50%;
    left: -5px;
    width: 10px;
    height: 10px;
    margin-top: -10px;
    background: inherit;
    /*自动继承父元素的背景*/
    transform: rotate(45deg);
}

.msg-bubble img {
    max-width: 50vw;
}

.msg-bubble-text {
    user-select: text;
    -webkit-user-select: text;
}

.ask .msg-bubble {
    color: #fff;
    margin: 15px 0 0 40px;
    background-color: #07C160;
    border-bottom-color: #07C160;
    float: right;
}

.ask .msg-bubble:before {
    left: auto;
    right: -5px;
}

.reply .weui-cell__hd {
    margin-right: 10px;
}

.ask .weui-cell__hd {
    margin-left: 10px;
}

.reply .weui-cell__hd, .ask .weui-cell__hd {
    margin-top: 15px
}

.ask p, .reply p {
    font-size: 12px;
    line-height: 12px;
    color: #6c757d !important;
    position: absolute;
}

.ask p {
    right: 50px;
}


.weui-btn_info {
    background-color: #007aff;
}

.weui-btn_info:not(.weui-btn_disabled):active {
    color: hsla(0, 0%, 100%, .6);
    background-color: #006ce2;
}

.weui-btn_warning {
    background-color: #ff9f00;
}

.weui-btn_warning:not(.weui-btn_disabled):active {
    color: hsla(0, 0%, 100%, .6);
    background-color: #ce8f17;
}

.weui-form-preview__label {
    max-width: 40vw;
}

.unset_split_line::before {
    border: 0 !important;
    height: 0 !important;
}

.w-e-text-container {
    user-select: text;
}

.el-tag {
    background-color: #ecf5ff;
    display: inline-block;
    height: 32px;
    padding: 0 10px;
    line-height: 30px;
    font-size: 12px;
    color: #409eff;
    border: 1px solid #d9ecff;
    border-radius: 4px;
    box-sizing: border-box;
    white-space: nowrap;
    text-align: center;
}

.el-tag.el-tag--success, .el-tag.el-tag--1 {
    background-color: #f0f9eb;
    border-color: #e1f3d8;
    color: #67c23a;
}

.el-tag.el-tag--info, .el-tag.el-tag--4 {
    background-color: #f4f4f5;
    border-color: #e9e9eb;
    color: #909399;
}

.el-tag.el-tag--warning, .el-tag.el-tag--0 {
    background-color: #fdf6ec;
    border-color: #faecd8;
    color: #e6a23c;
}

.el-tag.el-tag--danger, .el-tag.el-tag--2 {
    background-color: #fef0f0;
    border-color: #fde2e2;
    color: #f56c6c;
}

.el-tag.el-tag--3 {
    background-color: #ecf5ff;
    color: #409eff;
    border-color: #d9ecff;
}

.demos-bicolor-title {
    display: block;
    font-size: 15px;
    font-weight: bold;
    font-style: italic;
    line-height: 1.1;
    text-align: center;
    margin-right: 5px;
}

.demos-bicolor-title div:last-of-type {
    color: #266ef8;
}

.weui-icon-download, .weui-icon-info-circle, .weui-vcode-btn,.weui-form-preview__btn_primary {
    color: #3a7afe;
}
.weui-swiped-btn {
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
}
.weui-media-box__info{
    font-size: 14px;
}
textarea::-webkit-resizer {
    background-color: #3a7afe;
    border-radius: 50%;
}