/*全局样式*/
* {
    padding: 0;
    margin: 0;
}

div,
dl,
dt,
dd,
form,
h1,
h2,
h3,
h4,
h5,
h6,
img,
ol,
ul,
li,
table,
th,
td,
p,
span,
a {
    border: 0;
}

img,
input {
    border: none;
    vertical-align: middle;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 14px;
    background: #FFF;
    color: #333333;
    padding-right: 0 !important;
}

ul,
ol {
    list-style-type: none;
}

/*th,td,input{font-size:14px;}*/
input {
    outline: none;
    border: none;
    box-shadow: none;
}

button {
    border: none;
    cursor: pointer;
    background-color: transparent;
}

select {
    border-width: 1px;
    _zoom: 1;
    border-style: solid;
    padding-top: 2px;
}

.clear {
    clear: both;
    font-size: 1px;
    height: 0;
    visibility: hidden;
    line-height: 0;
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

.clearfix {
    zoom: 1;
}

a:link,
a:visited {
    text-decoration: none;
    color: #333;
}

a:hover,
a:active {
    color: #3C7EF6;
}

html,
body {
    font-family: "Microsoft YaHei";
    font-weight: 400;
    height: 100%;
    min-height: 100%;
}

.f12 {
    font-size: 12px;
}

.f16 {
    font-size: 16px;
}

.f18 {
    font-size: 18px;
    font-weight: bold;
}

.f24 {
    font-size: 24px;
}

.fb {
    font-weight: bold;
}

.g9{
    color: #999;
}

.ml20{
    margin-left: 20px;
}

.mb40 {
    margin-bottom: 36px;
}

.text-center {
    text-align: center;
}

.main-content {
    min-height: calc(100vh - 55px - 50px);
    background-color: #f0f0f0;
    padding-bottom: 30px;
}

.flex-center-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-start-top {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.flex-between-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.flex-around-center {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.w1280 {
    width: 1280px;
    margin: 0 auto;
}

.w1150 {
    width: 1150px;
    margin: 0 auto;
}

.flex-between-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start-center {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.header-menu {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    justify-content: center;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.08);
}

.bg-fff {
    background-color: #fff;
}

.my-header {
    height: 55px;
    background-color: white;
}

.boderline {
    /*border-bottom: 1px solid #E6E6E6*/
    position: relative;
    z-index: 4;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    background-color: white;
}

.my-header .logo {
    /*width: 350px;*/
    /*height: 20px;*/
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 2;
}

.my-header .logo a {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 20px;
    line-height: 1;
}

.my-header .header-menu>a,
.my-header .header-menu>a:link,
.my-header .header-menu>a:visited,
.my-header .header-menu>a:hover,
.my-header .header-menu>a:active .my-header .header-menu .subMenuBox>a,
.my-header .header-menu .subMenuBox>a:link,
.my-header .header-menu .subMenuBox>a:visited,
.my-header .header-menu .subMenuBox>a:hover,
.my-header .header-menu .subMenuBox>a:active {
    color: #333333;
}

.my-header .header-menu>a,
.my-header .header-menu .subMenuBox>a {
    border-bottom: 3px solid #fff;
}

.my-header .header-menu>a:hover,
.my-header .header-menu .subMenuBox>a:hover {
    opacity: 1;
    color: #3C7EF6;
    border-bottom: 3px solid #3C7EF6;
}

.my-header .header-menu>a .tag,
.my-header .header-menu .subMenuBox>a .tag {
    position: absolute;
    top: 4px;
    right: -4px;
    width: 29px;
    height: 15px;
}

.my-header .header-menu>a.active,
.my-header .header-menu .subMenuBox>a.active {
    color: #fff;
    background-color: #3C7EF6;
    border-bottom: 3px solid #3C7EF6;
}

.my-header .header-menu>a,
.my-header .header-menu .subMenuBox>a {
    padding: 0 20px;
    height: 55px;
    line-height: 55px;
    font-size: 16px;
    text-decoration: none;
    display: block;
    position: relative;
}

.my-header a.button-primary,
.my-header .button-primary {
    display: block;
    width: 60px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    background-color: #3C7EF6;
    border-radius: 2px;
    color: #fff;
}

#message-coneter {
    overflow: hidden
}

#message-coneter .icon {
    float: left;
    width: 18px;
    height: 18px;
    background: url("/static/banner/icon/header-message-coneter.png") center;
    background-size: cover;
    vertical-align: top;
}

#message-coneter p {
    float: left;
    margin: 0 0 0 6px;
    font-size: 14px;
    color: #666;
}

#message-coneter p em {
    font-style: normal;
    color: #3C7EF6
}

.my-header .my-badge {
    margin-right: 40px;
}

.msg-icon {
    position: relative;
}

.msg-icon span {
    position: absolute;
    font-size: 12px;
    transform: translate(0, -40%) scale(.83);
    background-color: #F54242;
    padding: 2px 4px;
    line-height: 1;
    top: 0;
    left: 6px;
    color: white;
    border-radius: 10px;
    display: block;
    border: 2px solid white;
}

.my-badge {
    position: relative;
}

.my-header .weChat-qrcode {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 55px;
    margin-right: 36px;
    position: relative;
    cursor: pointer;
}

.my-header .weChat-qrcode img {
    width: 26px;
    height: 20px;
    display: block;
}

.qrcode-content {
    position: absolute;
    padding: 15px 25px 30px;
    background-color: white;
    top: 100%;
    left: 0;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.05);
    border-radius: 0 0 2px 2px;
    z-index: 1;
    transform: translateX(-50%);
    display: none;
}

.qrcode-content .qrcode-img {
    margin-bottom: 15px;
}

.qrcode-content .qrcode-img img {
    width: 128px;
    height: 128px;
    display: block;
}

.qrcode-content .qrcode-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qrcode-content .qrcode-info span {
    line-height: 1;
    color: #999999;
}

.qrcode-content .qrcode-info span:first-child {
    font-size: 14px;
    color: #333333;
    margin-bottom: 10px;
}

@keyframes myfirst {
    0% {
        width: 10px;
        height: 10px;
        box-shadow: brown;
    }

    25% {
        width: 12px;
        height: 12px;
        box-shadow: chocolate;
    }

    50% {
        width: 16px;
        height: 16px;
        box-shadow: coral;
    }

    75% {
        width: 12px;
        height: 12px;
        box-shadow: chocolate;
    }

    100% {
        width: 10px;
        height: 10px;
        box-shadow: brown;
    }
}

#dropdownMenu1 {
    overflow: hidden
}


.el-popover {
    padding: 0;
}

.el-popover .el-form-item {
    margin-bottom: 1px;
}

.el-pagination.is-background .btn-next,
.el-pagination.is-background .btn-prev,
.el-pagination.is-background .el-pager li {
    background: #FFF;
}

.el-pagination.is-background .el-pager li:not(.disabled).active {
    background: #3C7EF6;
}

.el-button--primary {
    background: #3C7EF6;
}

.el-card.is-always-shadow,
.el-card.is-hover-shadow:focus,
.el-card.is-hover-shadow:hover {
    box-shadow: none;
}

.el-tooltip__popper.is-light {
    border: 1px solid #E6E6E6;
}

.el-tooltip__popper[x-placement^=left] .popper__arrow::after {
    border-left-color: #E6E6E6;
}

.el-tooltip__popper[x-placement^=left] .popper__arrow {
    border-left-color: #E6E6E6;
}

/* ipad横屏 */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
    html {
        overflow-x: hidden;
    }

    .w1280 {
        width: 1024px !important;
        margin: 0 auto !important;
        padding: 0 30px !important;
    }

    /* 首页 */
    .edu .edu_course li {
        width: 300px;
    }

    .edu .edu_course li p:first-child {
        width: 300px;
    }

    .public_res,
    .teacherclass {
        width: 964px !important;
    }

    .ipad_viewport_index_teacherclass,
    .ipad_viewport_index_pub_res {
        padding: 0 !important;
    }

    .teacherClass .leftbox .nodata {
        width: 275px !important;
        padding: 0 !important;
    }

    .teacherClass .rightbox li {
        width: 180px !important;
    }

    /* 资源首页 */
    .resource-banner {
        background: none !important;
    }

    .resource-banner .resource-banner-content {
        background: url("/static/banner/banner_r1.png") no-repeat;
        width: 964px !important;
    }

    .resource-choose {
        margin-top: 20px !important;
        padding: 0 !important;
        width: 964px !important;
    }

    .resource-box_content {
        padding: 30px 0 0 !important;
    }

    .resource-box_content .el-row {
        margin-left: 0 !important;
    }

    .resource-good .ipad_viewport {
        padding-left: 10px !important;
    }

    .resource-good .res_ipad {
        padding: 30px;
        padding-right: 0;
    }

    /* 帖子详情 问答详情 */
    .postdetails .evaluate .el-input {
        width: 580px !important;
    }

    /* 公共资源列表 */
    .cascade-select-grade {
        width: 964px !important;
    }

    .more_res {
        display: block !important;
    }

    .newest-upload {
        position: fixed;
        right: -260px;
        top: 50%;
        /* display: none!important; */
    }

    .more_res_move {
        right: 260px;
    }

    .more_res_move_newest-upload {
        right: 0;
    }

    /* 名师课堂列表 */
    .ipad_viewport_teacher_index {
        width: 964px !important;
    }

    .ipad_viewport_pub_index {
        width: 760px !important;
    }

    .ipad_viewport_popular_teacher {
        display: none;
    }
}

a:hover {
    opacity: 0.8;
}

.notip {
    text-align: center;
    margin: 20px;
    color: #999;
    width: 100%;
}

.notip img {
    margin-bottom: 10px;
}

.noneresource {
    height: 300px;
    text-align: center;
    padding-top: 100px;
}

.noneresource a {
    color: #3c7ef6
}

.noneresource a:hover {
    opacity: 0.8;
}

.noneresource img {
    margin-bottom: 10px;
    color: #999;
}

.right-box {
    z-index: 2;
}

.ql-editor img {
    max-width: 100%;
}

.shead {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.ml10 {
    margin-left: 10px;
}


/* 动态应用字体类 */
div.ql-editor {
    font-family: "SF Pro Text", "Helvetica", "Arial", sans-serif;
    line-height: 2;
}
.ql-editor .ql-video{
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.ql-font-SimSun {
    font-family: "SimSun";
}

.ql-font-SimHei {
    font-family: "SimHei";
}

.ql-font-Microsoft-YaHei {
    font-family: "Microsoft YaHei";
}

.ql-font-KaiTi {
    font-family: "KaiTi";
}

.ql-font-FangSong {
    font-family: "FangSong";
}

.ql-font-Arial {
    font-family: "Arial";
}

.ql-font-sans-serif {
    font-family: "sans-serif";
}
.yzx-a{
    color: #3C7EF6;
    text-decoration: underline;
    cursor: pointer;
}