/* 变量配置 */
:root {
    --site-main-color: #4c80e7;
    --site-orange-color: #e8c383;
}

/* 默认配置 */
html,body {
    /* 背景色 */
    background-color: #FFF;
    /* 字体大小 */
    font-size: 16px;
    /* 字体类型 */
    font-family: "Times New Roman", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    /* 文本颜色 */
    color: #333;
}

/* 样式重置START */
a {
    display: inline-block;
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
    text-decoration: none;
}

.container-fluid {
    max-width: 1320px;
}

.form-control:focus,.form-select:focus,.btn-close:focus,.form-check-input:focus,.page-link:focus {
    box-shadow: none;
}

button.form-control:focus {
    background-color: var(--bs-btn-bg);
    color: var(--bs-btn-color);
}

.form-control::placeholder {
    color: #ccc;
}

textarea.form-control {
    resize: none;
}
/* 样式重置END */

/* 公共样式START */
/* 1行文本省略 */
.text-one-line-ellipsis {
    display: inline-block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 2行文本省略 */
.text-two-line-ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 3行文本省略 */
.text-three-line-ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 标题1 */
.title-1 {
    font-size: 1.75rem;
    font-weight: 600;
}

/* 图片 */
.card-img-wrap {
    width: 100%;
    padding-top: 38.78%;
    position: relative;
    transition: .3s;
}

.card-img-wrap .card-img {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: .3s;
}

/* 文字大小 */
.font-size-875 {
    font-size: .875rem;
}

/* 消息提示 */
.black-msg-show {
    padding: 1em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: .3s;
    opacity: .8;
}
/* 公共样式END */


/* Header样式START */
#header {
    width: 100%;
    /* 相对定位 */
    position: relative;
    z-index: 999;
    transition: .3s;
}

#header .navbar {
    background-color: var(--site-main-color);
    transition: .3s;
}

/* LOGO */
#header .logo {
    max-width: 7.5rem;
}

@media (max-width: 996px) {
    #header .logo {
        width: 5rem;
    }
}

/* Toggler */
#header .navbar-toggler {
    background-color: transparent;
    border: 1px solid var(--bs-white);
    padding: 5px 8px !important;
    transition: .3s;
}

#header .navbar-toggler:hover {
    background-color: var(--bs-white) !important;
}

#header .navbar-toggler:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* 菜单按钮 */
#header .navbar-nav .nav-item {
    position: relative;
    margin-left: 2em;
}

#header .navbar-nav .nav-item a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--bs-white);
    -webkit-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
    padding: 30px 0;
    position: relative;
    text-transform: capitalize;
}

#header .navbar-nav .nav-item a::before {
    content: '';
    width: 0%;
    left: 0;
    position: absolute;
    bottom: 0;
    height: 3px;
    background: var(--bs-white);
    opacity: 0;
    border-radius: 10px;
    transition: .3s;
    z-index: 5;
}

#header .navbar-nav .nav-item a:hover,
#header .navbar-nav .nav-item a.active {
    color: var(--bs-white);
}

#header .navbar-nav .nav-item:hover a:before,
#header .navbar-nav .nav-item a.active::before {
    opacity: 1;
    width: 100%;
}
/* Header样式END */

/* Main样式START */
/* Main样式END */

/* Arrow样式START */
/* Arrow样式END */

/* Footer样式START */
#footer {
    position: relative;
}

#footer a:hover{
    text-decoration: underline;
}
/* Footer样式END */

/* Side样式START */
/* Side样式END */

/* 分页样式START */
/* 分页样式END */






