*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    font-weight: normal;
}

a:-webkit-any-link {
    color: var(--theme-color);
}

/*** 自定义通用class ***/

.m-t-10 {margin-top: 10px;}
.m-t-50 {margin-top: 50px;}
.m-b-5 {margin-bottom: 5px;}
.m-b-10 {margin-bottom: 10px;}
.m-b-20 {margin-bottom: 20px;}

ul {
    list-style: none;
}

html {
    font-size: 14px;
}

.label {
    font-size: 1.2rem;
}

.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.text-left {
    text-align: left;
}

.flex {
    display: flex;
}

/**
网页主体容器
*/
.body-container {
    padding:0px;
}

/*按钮*/
.btn {
    border: none;
    cursor: pointer;
    background-color: var(--theme-color);
    color: var(--theme-word-color) ;
    border-radius: 4px;
    font-size: 14px;
    padding: 4px 10px;
}

.btn-border {
    border: 1px solid var(--theme-word-color);
}

.btn-lg {
    font-size: 1.5rem;
    padding: 6px 16px;
}


/**
导航栏
 */
.ysku-nav {
    display: flex;
    /*background-color: var(--theme-color);*/
    color: var(--theme-word-color);
    padding: 4px;
    background-color: white;

}

/**
栏目
 */
section.module {
    margin-bottom: 40px;
}

section.module h2.title {
    position: relative;
    padding-left: 12px;
    margin-bottom: 10px;
}

section.module h2.title:before {
    content: ' ';
    position: absolute;
    top: 0px;
    bottom: 0px;
    width: 4px;
    background-color: var(--theme-color);
    margin-left: -12px;
}

section.module .content {
    overflow-y: hidden;
    overflow-x: auto;
    display: flex;
}

section.module .content .card {
    flex-grow: 0;
    flex-shrink: 0;
    width: 180px;
    margin-right: 20px;
    cursor: pointer;
}

section.module .content .card .img {
    width: 100%;
    height: 260px;
}

section.module .content .card .title {
    font-size: 1.2rem;
    padding: 10px;
    padding-bottom: 20px;
}

section.module .content .img img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
}


/***
页脚
 */
.footer {
    background-color: var(--default-bg-color);
    padding: 20px 10px;
}

/**

 */
.back-top {
    position: fixed;
    right: 40px;
    bottom: 40px;
}

.back-top > i {
    font-size: 2rem;
    color: var(--theme-color);
    cursor: pointer;
}

/**
跳转标签
 */
a.link {
    color: black;
    text-decoration: none;
}