html,
body {
    width: 100%;
    height: unset;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Roboto", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", BlinkMacSystemFont, -apple-system, "Segoe UI", "Microsoft Yahei", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    margin: 0;
}

a {
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
    color: #474157;
}

a:hover,
a:focus {
    color: #474157;
}

hr {
    max-width: 100px;
    margin: 25px auto 0;
    border-width: 1px;
    border-color: rgba(34, 34, 34, 0.1);
}

hr.light {
    border-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 200;
    letter-spacing: 1px;
}

p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}


#mainbody {
    position: relative;
    width: 100%;
    min-height: auto;
    overflow-y: hidden;
    /*background: #f1f6fd;*/
    color: #474157;
}

#mainbody > .container > .text-center {
    text-align: center;
    padding: 350px 0 50px;
    position: relative;
    height: 100vh;
}

#mainbody > .container > .text-center h1 {
    font-size: 50px;
    font-weight: bold;
    color: #171347
}

#mainbody > .container > .text-center > a {
    background: #fdcc52;
    background: -webkit-linear-gradient(#fdcc52, #fdc539);
    background: linear-gradient(#fdcc52, #fdc539);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 300px;
    margin-top: 20px;
    padding: 10px 45px;
    font-size: 14px;
    text-decoration: none;
}

@media (max-height: 500px) {
    #mainbody {
        height: inherit;
    }
}

@media (min-width: 768px) {
    .navbar-default {
        background-color: transparent;
        border-color: transparent;
    }

    #mainbody .index-text {
        text-align: left;
    }
}

@media (max-width: 767px) {

    #mainbody > .container > .text-center {


        padding: 130px 0 0 0;
        height: calc(100vh - 261px);
    }

    #mainbody > .container > .text-center > h1 {


        font-size: 50px;
        margin-bottom: 20px;
    }
}

.indicators1 {
    width: unset;
    position: relative;
    left: 0;
    text-align: left;
    margin-left: unset;
    bottom: 80px;
}

ol.indicators1 li {
    width: 30px;
    background: #fff;
    height: 6px;
    border-radius: 0;
    border: none;
}

ol.indicators1 li.active {
    width: 60px;
    height: 8px;
    border-radius: 0;
}

section {
    margin-top: 100px;
}

section:last-child {
    margin-bottom: 100px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h1 {
    font-weight: 600;
    font-size: 35px;
    color: #000;
}

.section-title .en-title {
    color: #c6c6c6;
    letter-spacing: 0.1em;
}

.updates-list ul {
    padding-left: 20px;
}

.updates-list ul li {
    list-style-type: none;
    padding: 10px 15px;
    margin-bottom: 10px;
}

.updates-list ul li:hover {
    box-shadow: 0 0 6px 4px #eee;
}

.updates-list p.text-main {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.updates-list ul li p.text-main {
    color: #000;
}

.updates-list ul li:hover p.text-main {
    color: #d61818;
}

.updates-list .updates-intro {
    margin-bottom: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 90%;
}

.updates-img > div {
    position: relative;
    box-shadow: 0 0 10px 1px #bbb;
}

.updates-img img {
    width: 100%;
}

.updates-img button {
    border: none;
    background: none;
    margin-top: 25px;
    width: 45px;
}

.updates-img #img-title {
    position: absolute;
    bottom: 0;
    padding: 0 1.5em;
    width: 100%;
    color: #000;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.more-btn a {
    display: block;
    border-radius: 0;
    padding: 4px 25px;
    margin-top: 30px;
    border: 1px solid #000;
    background: #fff;
}

.more-btn:hover a {
    color: #d61818;
}

.training-list {
    text-align: center;
    font-size: 20px;
    margin-bottom: 50px;
}

.training-list span.training-item {
    display: inline-block;
    padding: 8px 24px;
    background: #ededed;
    margin: 0 20px;
    border-radius: 50px;
    cursor: pointer;
    color: #000;
}

.training-list span.training-item:hover,
.training-list span.training-item.active {
    background-image: linear-gradient(to right, #db0b12, #fd5330);
}

.training-img img {
    width: 100%;
}

.course-list {
    padding-left: 0;
    padding-right: 30px;
}

.course-item {
    padding: 8px 10px 8px 30px;
    border-radius: 10px;
    list-style-type: none;
    position: relative;
    overflow: hidden
}

.course-item::before {
    content: "·";
    position: absolute;
    font-weight: 900;
    left: 20px;
}

.course-item::marker {
}

.course-item p {
    margin-bottom: 5px;
}

.course-item .course-title {
    margin-bottom: 0;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 80%;
}

.course-item .course-detail {
    display: none;
    color: #8d8d8d;
    font-size: 14px;
    width: 90%;
    -webkit-line-clamp: 2; /* 显示的行数 */
    -webkit-box-orient: vertical; /* 设置垂直布局 */
    overflow: hidden;
    min-height: 3em;
}

.course-item:hover .course-detail,
.course-item.active .course-detail {
    display: -webkit-box;
}

.course-item:hover,
.course-item.active {
    box-shadow: 0 0 8px 1px rgba(214, 24, 24, 0.29);
    padding: 10px 10px 10px 30px;
}

.course-item:hover::after,
.course-item.active::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background: #d61818;
    border-radius: 100%;
    right: -8px;
    top: -15px;
}

.course-item:hover::before,
.course-item.active::before,
.course-item:hover .course-title,
.course-item.active .course-title {
    color: #d61818;
    margin-bottom: 10px;
}

.course-img {
    padding-left: 30px;
}

.teaching-environment {
    min-height: 200px;
    background: url("/assets/img/teach-bg.png") top no-repeat;
    background-size: cover;
    padding: 100px 0;
}

.indicators2 {
    position: absolute !important;
    bottom: -60px;
}

ol.indicators2 > li{
    margin: 0 10px !important;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    width: 12px;
    height: 12px;
}

@media (max-width: 767px) {
    .indicators1 {
        bottom: 30px;
    }
    .teaching-environment {
        padding: 50px 0;
        min-height: unset;
    }
}

