
/* base基础 */
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
.list-group {

    margin-bottom: 30px;
}

/* base基础 */

 

/* 自定义导航栏背景和阴影 */
.navbar-custom {
    background-color: #0077cc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 轻微阴影 */
}

.navbar-nav .nav-item .nav-link {
    color: white;
    font-weight: 500;
}

    .navbar-nav .nav-item .nav-link:hover {
        color: #ffcc00; /* 悬停颜色 */
    }

/* 给下拉菜单添加阴影 */
.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* 按钮样式 */
.btn-outline-light {
    background-color: #ffffff;
    color: #0077cc;
}

.btn-light {
    background-color: #ffffff;
    color: #0077cc;
}

.btn-sm {
    font-size: 0.875rem; /* 小号按钮 */
}

/* Logo 样式 */
.navbar-brand img {
    border-radius: 50%; /* 圆形 Logo */
}

/* 使得菜单项打开时具有过渡效果 */
.dropdown-menu {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

 .dropdown-menu.show {
        display: block;
        opacity: 1;
}


 
.navbar-nav .nav-item .nav-link {
    color: white;
    font-weight: 500;
}

    .navbar-nav .nav-item .nav-link:hover {
        color: #ffcc00; /* 悬停颜色 */
    }

/* 给下拉菜单添加阴影 */
.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* 按钮样式 */
.btn-outline-light {
    border-color: white;
}

.btn-light {
    background-color: #ffffff;
    color: #0077cc;
}

.btn-sm {
    font-size: 0.875rem; /* 小号按钮 */
}

/* Logo 样式 */
.navbar-brand img {
    border-radius: 50%; /* 圆形 Logo */
}

/* 页面整体容器的阴影效果 */
.container.shadow-lg {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 10px; /* 可选：使容器有圆角 */
    /*  margin-bottom: 40px; 增加页面内容的底部间距 */
}

/* 卡片阴影效果 */
.card {
    border-radius: 8px; /* 卡片圆角 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* 卡片阴影 */
    margin-bottom: 20px; /* 增加卡片底部间距 */
}

.card-body {
    padding: 20px;
    margin-bottom: 20px; /* 增加卡片底部间距 */
}

.card-img-top {
    height: 200px;
    object-fit: cover; /* 保持图片比例 */
}

.card-title {
    margin-bottom: 10px; /* 增加标题底部的间距 */
}

.card-text {
    margin-bottom: 15px; /* 增加文本底部的间距 */
}

/* 增加行间距 */
.row {
    /*   margin-bottom: 130px; 增加整个行的底部间距 */
}


 

/****************/
 
 

/*css*/



.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

footer {
    position: absolute;
    bottom: 0px; 
    width: 100%;
    white-space: nowrap; 
  
}

footer {
    background: linear-gradient(90deg, #4e73df, #1d3a77); /* 渐变背景 */
    font-size: 14px;
}


  footer p{
    color: #f8f9fa;
    transition: color 0.3s ease-in-out;
  }

  footer a {
    color: #f8f9fa;
    transition: color 0.3s ease-in-out;
  }

  footer a:hover {
    color: #ffcc00; /* 悬停时改变颜色 */
    text-decoration: underline;
  }

/*css*/





/**list页面**/
 
    /* 美化栏目列表 */
    .list-group-item-action {
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .list-group-item-action:hover {
            background-color: #e2e6ea;
        }

    .active {
        background-color: #007bff !important;
        color: white !important;
    }

    /* 卡片样式 */
    .card {
        border-radius: 10px;
    }

    .card-header {
        font-weight: bold;
        background-color: #007bff;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    .card-body {
        padding: 1.5rem;
    }

    /* 文章列表项样式 */
    .list-group-item {
        padding: 1rem;
        transition: background-color 0.3s ease;
    }

        .list-group-item:hover {
            background-color: #f8f9fa;
        }

    /* 设置分页的样式 */
    .pagination {
        justify-content: center;
    }

   .pagination .page-item.active .page-link {
            background-color: #007bff;
            border-color: #007bff;
     }

    /* 使页面在小屏幕上适配良好 */
    @media (max-width: 768px) {
        .col-md-3, .col-md-9

    {
        width: 100%;
    }

    .card-header h4 {
        font-size: 1.2rem;
    }

    }
/**list页面**/





/**page 功能模块**/
.pagination {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.page-item {
    margin: 0 2px;
    list-style: none;
}

.page-link {
    display: block;
    padding: 5px 12px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}

.page-item.active .page-link {
    background: #007bff;
    color: #fff;
}

.page-item.disabled .page-link {
    color: #ccc;
    pointer-events: none;
    background: #f5f5f5;
}

/**page 功能模块**/













/**show页面**/
.article-content img {
    max-width: 90%;
    height: auto;
}

.article-content p {
    text-indent: 2em;
    margin-bottom: 1rem;
}

.article-content ul {
    list-style-type: disc;
    margin-left: 2em;
}

/* 调整图标大小 */
.bi {
    font-size: 1.2rem;
}

/* 文章内容排版优化 */
.article-content h2,
.article-content h3 {
    margin-top: 1.5rem;
    font-weight: bold;
}

.article-content blockquote {
    border-left: 4px solid #ccc;
    padding-left: 1rem;
    margin-left: 0;
    font-style: italic;
    color: #6c757d;
}
/**show页面**/