@charset "utf-8";
/* CSS Document */

.csm-box {
    position: relative;
    display: inline-block;
}
.csm-image {
	margin-bottom: 0px; /* 为标题和线条之间添加间距 */
	position: absolute;
	top: 35px;
	right: -10px;
	width: auto;  /* 示例宽度 */
	height: 80px; /* 示例高度 */
	filter: grayscale(100%); /* 假设默认图像为灰色，通过灰度滤镜实现 */
	transition: transform 0.3s ease, filter 0.3s ease; /* 添加过渡效果 */	
}
.csm-image:hover {
	filter: grayscale(0%); /* 鼠标滑过时恢复图片原色 */
	transform: scale(1.5); /* 放大1.5倍 */
}
.csm-nav-bar {
    position: absolute;
    top: 50%;
    right: 0%; /* 初始位置在容器右侧之外 */
    width: 360px; /* 导航栏宽度 */
    height: 40px;
    /*background-color: rgba(0, 60, 120, 0.7);*/
	background-color:#0063b9;
    color: #CCC;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px; /* 为了美观，添加一点内边距 */
    transition: right 0.5s ease-in-out; /* 平滑过渡效果 */
    transform: translateY(-50%); /* 垂直居中 */
    visibility: hidden; /* 初始隐藏 */
    opacity: 0; /* 初始透明 */
}

.csm-nav-bar.visible {
    right: 50px; /* 可见时位置在容器右侧边缘 */
    visibility: visible; /* 可见 */
    opacity: 1; /* 不透明 */
}

.csm-nav-bar a {
    color: white;
    text-decoration: none;
    padding: 10px 10px; /* 给导航项一些内边距 */
}
.csm-nav-bar a:hover {
    color: white;
	background-color: orange;
}
