@charset "UTF-8";


/*首页菜单下划线*/

.menu-button{
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.menu-button:hover .menu-line{
    display:block;
}

.menu-line{
    width:31px;
    height:3px;
    background-color:#c6171e;
    border-radius: 5px 5px 5px 5px;
    display:none;
}

/*首页菜单栏选中样式设置*/
a:hover{color:#c6171e !important;}
.nav-link:hover{
  color:#c6171e !important;
}

/**右边工具条样式  begin**/
.toolbar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(calc(100% - 60px));
    transition: transform 0.3s ease;
    background: #FFFFFF;
    padding: 0px 10px;
    border-radius: 8px 0 0 8px;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    z-index: 99;
/*    background-color:#FFFF00;*/
}

.toolbar:hover {
    transform: translateY(-50%) translateX(0);
}

.tool-item {
    display: flex;
    align-items: center;
    margin: 20px 0;
    white-space: nowrap;
/*    background-color:#FF00FF;*/
}

.icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
/*    border: 1px solid #ddd;*/
/*    background: #ddd;*/
    border-radius: 8px;
    cursor: pointer;
}

.text {
    margin-left: 10px;
    opacity: 0;
    transition: opacity 0.2s ease 0.1s;
}

.toolbar:hover .text {
    opacity: 1;
}
/**右边工具条样式 end **/









.secondary-title{
  text-align:center;
  font-family:思源黑体 Medium;
  font-weight:700;
  margin-top:16px;
  font-size: 18px;
}



/* 按钮基础样式 */
.business-button
{
  background-color:white;
  margin:0px 12px 0px 12px;
  border-radius:202px;
  width:84px;
  height:27px;
  font-family:思源黑体 Medium;
  font-size:16px;
  color:#666666;
  display: flex;
  align-items: center;
  justify-content: center;
}


/*.business-button:hover{
  background-color:rgba(11,87,160,1);
  margin:0px 39px 0px 39px;
  border-radius:202px;
  width:296px;
  height:84px;
  font-family:思源黑体 Medium;
  font-size:35px;
  color:#FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}*/


/* 图标基础样式 */
.business-button img {
  width: 24px;
  height: 24px;
  margin-right:4px;
  display: none; /* 默认隐藏所有图标 */
}

/* 显示未选中图标 */
.business-button img:nth-child(1) {
  display: block;
}

/* 选中状态样式 */
.business-button.selected {
  background-color: rgba(11,87,160,1);
  border-color: rgba(11,87,160,1);
  color:#FFFFFF;
}

/* 显示选中图标 */
.business-button.selected img:nth-child(2) {
  display: block;
}
/* 隐藏没选中图标 */
.business-button.selected img:nth-child(1) {
  display: none;
}

/* 悬停状态样式 */
.business-button:hover {
  background-color: rgba(11,87,160,1);
  border-color: rgba(11,87,160,1);
  color:#FFFFFF;
}

/* 悬停时显示悬停图标 */
.business-button:hover img:nth-child(2) {
  display: block;
}

/* 悬停时隐藏未选中图标 */
.business-button:hover img:nth-child(1) {
  display: none;
}


/*了解更多按钮样式*/
.business-details{
  background-color:#0B57A0;
  color:#FFFFFF;
  width: 100px;
  height: 23px;
  display: flex;
  justify-content: center;
  align-content: center;
  margin-top:12px;
  padding-top: 4px;
  font-size:10px;
  font-family:思源黑体 Medium;
  font-weight:normal;
}

/* 业务线路径轮播图样式 */
.banner {
    position: relative;
    overflow: hidden;
    height: 600px;
    display:flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.banner-slide1 {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.banner-slide1.active {
    opacity: 1;
}

.banner-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #9D9D9D;
    border: none;
    transition: 0.3s;
    z-index: 22;
    color: #fff;
}

.banner-control:hover {
    background: #0B57A0;
    color: #fff;
}

.control-prev {
    left: 24px;
}

.control-next {
    right: 24px;
}

@media (max-width: 768px) {
    .banner {
        height: 400px;
    }
    .banner-control {
        width: 36px;
        height: 36px;
    }
}


/*卡航*/
.banner-slide2 {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.banner-slide2.active {
    opacity: 1;
}

/*班列*/
.banner-slide3 {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.banner-slide3.active {
    opacity: 1;
}


/**业务线路-业务种类显示样式 **/

/* 隐藏所有内容区域 */
.business-content {
  display: none;
}
/* 显示激活的内容区域 */
.business-content.active {
  display: block;
}


/*清关服务-按钮*/
.clearance-service-button{
  width: 163px;
  height: 149px;
  background-color: #FFFFFF;
  color: #929292;
  font-family: 思源黑体 Medium;
  text-align: left;
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
/* 四周阴影效果 */
  box-shadow:
        3px 3px 3px rgba(0, 0, 0, 0.1), /* 下方和右侧 */
        -3px -3px 3px rgba(0, 0, 0, 0.1), /* 上方和左侧 */
        -3px 3px 3px rgba(0, 0, 0, 0.1), /* 下方和左侧 */
        3px -3px 3px rgba(0, 0, 0, 0.1); /* 上方和右侧 */
}

.clearance-service-button.active {
  background-color: #0B57A0;
  color: #FFFFFF;
}

.clearance-service-button:hover {
  background-color: #0B57A0;
  color: #FFFFFF;
}

/* 图标基础样式 */
.clearance-service-button img {
  width: 40px;
  height: 40px;
  display: none; /* 默认隐藏所有图标 */
}

/* 显示未选中图标 */
.clearance-service-button img:nth-child(1) {
  display: block;
}

/* 悬停时显示悬停图标 */
.clearance-service-button:hover img:nth-child(2) {
  display: block;
}

/* 悬停时隐藏未选中图标 */
.clearance-service-button:hover img:nth-child(1) {
  display: none;
}

.clearance-service-title{
  font-size:14px;
  color: #000000;
}
.clearance-service-button:hover div {
  color: #FFFFFF;
}

.div-center{
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.div-row-center{
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.company-button{
}

/* 图标基础样式 */
.company-button img {
  display: none; /* 默认隐藏所有图标 */
}

/* 显示未选中图标 */
.company-button img:nth-child(1) {
  display: block;
}

/* 悬停时显示悬停图标 */
.company-button:hover img:nth-child(2) {
  display: block;
}
/* 悬停时隐藏未选中图标 */
.company-button:hover img:nth-child(1) {
  display: none;
}

.company-text{
  visibility: hidden; /* 默认不显示 */
  position: absolute; /* 相对于父元素定位 */
  font-size: 24px;
  color: #FFFFFF;
}

.company-button:hover .company-text {
  visibility: visible; /* 鼠标悬停时显示 */
}

.article-content{
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  background-color:#FFFFFF;
  margin-bottom:16px;
}

.article-content:hover{
  background-color: #0B57A0;
  color: #FFFFFF;
}

.company-position{
/* 四周阴影效果 */
  cursor:pointer;
  box-shadow:
        1px 1px 1px rgba(0, 0, 0, 0.1), /* 下方和右侧 */
        -1px -1px 1px rgba(0, 0, 0, 0.1), /* 上方和左侧 */
        -1px 1px 1px rgba(0, 0, 0, 0.1), /* 下方和左侧 */
        1px -1px 1px rgba(0, 0, 0, 0.1); /* 上方和右侧 */
}

.news-content{
  max-width:90%;
  height:auto;
  cursor:pointer;
/* 四周阴影效果 */
  box-shadow:
        1px 1px 1px rgba(0, 0, 0, 0.1), /* 下方和右侧 */
        -1px -1px 1px rgba(0, 0, 0, 0.1), /* 上方和左侧 */
        -1px 1px 1px rgba(0, 0, 0, 0.1), /* 下方和左侧 */
        1px -1px 1px rgba(0, 0, 0, 0.1); /* 上方和右侧 */
}





.warehouse-button{
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width:163px;
  height:200px;
  background-color:#FFFFFF;
  position: relative;
}

/* 图标基础样式 */
.warehouse-button img {
  width:272px;
  height:332px;
  display: none; /* 默认隐藏所有图标 */
}

/* 显示未选中图标 */
.warehouse-button img:nth-child(1) {
  display: block;
}

/* 悬停时显示悬停图标 */
.warehouse-button:hover img:nth-child(2) {
  display: block;
}
/* 悬停时隐藏未选中图标 */
.warehouse-button:hover img:nth-child(1) {
  display: none;
}

.warehouse-text{
  visibility: visible; /* 默认不显示(改为显示) */
  position: absolute; /* 相对于父元素定位 */
  font-size: 28px;
  color: #FFFFFF;
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.warehouse-button:hover .warehouse-text {
  visibility: visible; /* 鼠标悬停时显示 */
}

.warehouse-text2{
  font-family:思源黑体 Medium;
  font-size:24px;
  margin-top:16px;
  color:#FFFFFF;
  position: absolute;
  top: 20px;
}

.warehouse-button:hover .warehouse-text2 {
  visibility: hidden; /* 鼠标悬停时隐藏 */
}


/*******************************/
/*        新闻中心按钮样式        */
/*******************************/

.news-button{
  position: relative;
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family:思源黑体 Medium;
  font-size:18px;
  font-weight: 500;
  width:72px;
  height:27px;
}

.news-button:hover{
  color: #F53535;
}

.news-button.selected {
  color: #F53535;
}

/* 图标基础样式 */
.news-button-div {
  bottom:-23px;
  background: #C6171E;
  width:60px;
  height:5px;
  position: absolute;
  z-index:66;
  display: none; /* 默认透明 */
}

/* 悬停显示 */
.news-button:hover .news-button-div {
  display: block;
}

/* 选中状态保持 */
.news-button.selected .news-button-div {
  display: block !important;
}


.news-list{
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #FFFFFF;
  display: none;
  max-width:100%;
  width:90%;
}

.news-list.active{
  display: block;
}


.company-position2{
/* 四周阴影效果 */
  box-shadow:
        1px 1px 1px rgba(0, 0, 0, 0.1), /* 下方和右侧 */
        -1px -1px 1px rgba(0, 0, 0, 0.1), /* 上方和左侧 */
        -1px 1px 1px rgba(0, 0, 0, 0.1), /* 下方和左侧 */
        1px -1px 1px rgba(0, 0, 0, 0.1); /* 上方和右侧 */
}

.company-position1{
/* 四周阴影效果 */
  box-shadow:
        1px 1px 1px rgba(0, 0, 0, 0.1), /* 下方和右侧 */
        -1px -1px 1px rgba(0, 0, 0, 0.1), /* 上方和左侧 */
        -1px 1px 1px rgba(0, 0, 0, 0.1), /* 下方和左侧 */
        1px -1px 1px rgba(0, 0, 0, 0.1); /* 上方和右侧 */
}


/*******************************/
/**         运单查询css        **/
/*******************************/
/* 容器样式 */
.order-container {
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  max-width: 100%;
  width: 100%;
  margin-top:24px;
  background: #FFFFFF;
  border-radius: 3px 3px 3px 3px;
  position: relative;
  transition: height 0.3s ease;
  overflow-y: auto;
  overflow: hidden;
  display: none;
}

/* 内容公共样式 */
.result-content {
    line-height: 1.5;
    transition: opacity 0.2s ease;
}

/* 收起状态内容 */
.collapsed-content {
  font-family:思源黑体 Medium;
  font-weight: 400;
  font-size: 12px;
  color:#414141;
  text-align: left;
  font-style: normal;
  text-transform: none;
  margin-left:4px;
  width:96%;
}

/* 展开状态内容 */
.expanded-content h2 {
  font-family:思源黑体 Medium;
  font-weight: 500;
  font-size: 19px;
  color: #414141;
  align-items: center;
  font-style: normal;
  text-transform: none;
}

/* 默认显示一行 */
.collapsed {
    height: 30px;
}

/* 展开显示四行（包含标题） */
.expanded {
    height: auto;
    min-height: 230px;
}

/* 切换按钮样式 */
.toggle-btn {
    position: absolute;
    margin-bottom:6px;
    right: 15px;
    top: 10px;
    width: 12px;
    height: 9px;
    cursor: pointer;
    ransition: transform 0.3s ease;
}

.rotate {
    transform: rotate(180deg);
}

/* 内容切换效果 */
.expanded-content {
    display: none;
}
.expanded .collapsed-content {
    display: none;
}
.expanded .expanded-content {
    display: block;
}

/*******************************/
/**         业务线路css        **/
/*******************************/
.div-business{
  display: none;
}

.div-business.active{
  display: block;
}


/*******************************/
/**         首页漂浮按钮css        **/
/*******************************/
.float-button{
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  width:300px;
  cursor:pointer;
}

.float-button-div{
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: absolute;
  left: -0px;
  top: -70px;
  background-color:#0B57A0;
  width:300px;
  height:300px;
  border-radius: 23px;
  box-shadow:
        2px 2px 2px rgba(0, 0, 0, 0.1), /* 下方和右侧 */
        -2px -2px 2px rgba(0, 0, 0, 0.1), /* 上方和左侧 */
        -2px 2px 2px rgba(0, 0, 0, 0.1), /* 下方和左侧 */
        2px -2px 2px rgba(0, 0, 0, 0.1); /* 上方和右侧 */
  visibility: hidden;
}

.float-button:hover .float-button-div{
  visibility: visible;
}

.slide1-div{
  display:none;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin-top:15px;
}

.slide1-div.selected{
  display:block;
}


.slide2-div{
  display:none;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin-top:15px;
}

.slide2-div.selected{
  display:block;
}


.slide3-div{
  display:none;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin-top:15px;
}

.slide3-div.selected{
  display:block;
}


/*移动端菜单手风琴折叠*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

.menu-toggle {
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
    background: transparent;
    border: none;
}

.menu-line {
    width: 100%;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

.menu-container {
    max-height: 0;
    overflow: hidden;
    background: #FFFFFF;
    transition: max-height 0.3s ease;
}

.menu-list {
    list-style: none;
    padding: 0 15px;
}

.menu-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.menu-link {
    color: rgba(0, 0, 0, 0.47);
    font-family:思源黑体 Medium;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    display: block;
}

.banner {
    height: 200px;
    background: #4CAF50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: margin-top 0.3s ease;
}

/* 展开状态 */
.menu-open .menu-container {
    max-height: 500px;
}

.menu-open .banner {
    margin-top: 0;
}

.menu-open .menu-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}




/**
* 小包裹轮播图样式
**/

.banner-sp {
    position: relative;
    overflow: hidden;
    height: 138px;
    display:flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}


.banner-package {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.banner-package.active {
    opacity: 1;
}

.package-control {
    position: absolute;
    top: 50%;

    border-radius: 8px;
    background: #9D9D9D;
    border: none;
    transition: 0.3s;
    opacity: 0.5;
    z-index: 2;
    color: #fff;
}
