/* 导航详情中查看二维码 */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 1000;
}
.close-btn {
    display: block;
    margin-top: 10px;
    padding: 5px 10px;
    background: #f44336;
    color: white;
    border: none;
    cursor: pointer;
}

/* 进入小程序模态框样式 */
.modal-dialog-centered {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem; /* 元素之间的间距 */
    min-height: 200px; /* 最小高度，可以根据需要调整 */
}

.modal-title {
    font-size: 1.25rem;
    margin-bottom: 0; /* 去掉默认的margin */
}

.modal .btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
}

/*视频挂载-待开发*/

.iframe_video {
    position: relative;
    width: 100%;
}
@media only screen and (max-width: 767px) {
    .iframe_video {
        height: 15em;
    }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .iframe_video {
        height: 20em;
    }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .iframe_video {
        height: 30em;
    }
}
@media only screen and (min-width: 1200px) {
    .iframe_video {
        height: 40em;
    }
}
.iframe_cross {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%
}
.iframe_cross iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0
}

/* 查看图片模态框样式 */
.modal-dialog.modal-fullscreen {
    margin: 20px; /* 上下左右与屏幕边缘的距离 */
    max-width: calc(100% - 40px); /* 确保模态框宽度减去两侧间距 */
    height: calc(100vh - 40px); /* 确保模态框高度减去顶部间距 */
}

.modal-content {
    height: 100%; /* 确保模态框内容高度占满 */
}

.modal-body {
    height: 100%; /* 确保模态框主体高度占满 */
}

.modal-body img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 归档时间线样式 */
#archives:after {
    clear: both;
    display: block;
    visibility: hidden;
    height: 0!important;
    content: " ";
    font-size: 0!important;
    line-height: 0!important
}

#archives {
    zoom: 1
}

#archives-content {
    padding: 10px 30px 10px 60px;
}

#archive-nav {
    float: left;
    width: 50px
}

.archive-nav {
    display: block;
    position: fixed;
    background: #f9f9f9;
    width: 40px;
    padding: 5px;
    border: 1px solid #eee;
    border-radius: 5px;
    text-align: center
}

.year {
    border-top: 1px solid #ddd
}

.month {
    color: #ccc;
    padding: 5px;
    cursor: pointer;
    background: #f9f9f9
}

.month.monthed {
    color: #777
}

.month.selected,.month:hover {
    background: #f5f5f5;
    border-radius: 5px; /* 圆角 */
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1); /* 内阴影 */
}

.monthall {
    display: none
}

.year.selected .monthall {
    display: block
}

.year-toogle {
    display: block;
    padding: 5px;
    text-decoration: none;
    background: #eee;
    color: #333;
    font-weight: bold
}

.archive-title {
    padding-bottom: 40px
}

.brick {
    margin-bottom: 10px
}

.archives a {
    position: relative;
    display: block;
    padding: 10px;
    background-color:#FFFFFF;
    color: #333;
    font-style: normal;
    line-height: 18px
}

.time {
    color: #888;
    padding-right: 10px
}

.archives a:hover {
    background: #f5f5f5;
    border-radius: 5px; /* 圆角 */
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1); /* 内阴影 */
}

#archives h3 {
    padding-bottom: 10px
}

.brick em {
    color: #aaa;
    padding-left: 10px
}