@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;
}

.qrcode-popup {
    position: fixed;
    transform: translateY(-50%);
    padding: 10px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    display: none;
}
/**右边工具条样式 end **/









.secondary-title{
  text-align:center;
  font-family:思源黑体 Medium;
  font-weight:500;
  margin-top:80px;
}



/* 按钮基础样式 */
.business-button
{
  background-color:white;
  margin:0px 39px 0px 39px;
  border-radius:202px;
  width:184px;
  height:58px;
  font-family:思源黑体 Medium;
  font-size:35px;
  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: 46px;
  height: 46px;
  margin-right:12px;
  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: 216px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-content: center;
  margin-top:35px;
  padding-top: 8px;
  font-size:24px;
  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: 150px;
}

.control-next {
    right: 150px;
}

@media (max-width: 768px) {
    .banner {
        height: 400px;
    }
    .banner-control {
        width: 70px;
        height: 70px;
    }
}


/*卡航*/
.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: 300px;
  height: 266px;
  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: 100px;
  height: 100px;
  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:24px;
  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 {
  width: 420px;
  height: 400px;
  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: 28px;
  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;
  height:176px;
  margin-bottom:30px;
}

.article-content:hover{
  background-color: #0B57A0;
  color: #FFFFFF;
}

.company-position{
/* 四周阴影效果 */
  cursor:pointer;
  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); /* 上方和右侧 */
}

.news-content{
  width:950px;
  height:658px;
  cursor:pointer;
/* 四周阴影效果 */
  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); /* 上方和右侧 */
}





.warehouse-button{
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width:466px;
  height:332px;
  background-color:#FFFFFF;
  position: relative;
}

/* 图标基础样式 */
.warehouse-button img {
  width:466px;
  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: hidden; /* 默认不显示 */
  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:38px;
  margin-top:20px;
  color:#FFFFFF;
  position: absolute;
  bottom: 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:32px;
  font-weight: 500;
  width:128px;
  height:85px;
}

.news-button:hover{
  color: #F53535;
}

.news-button.selected {
  color: #F53535;
}

/* 图标基础样式 */
.news-button-div {
  bottom:-23px;
  background: #C6171E;
  width:68px;
  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;
}

.news-list.active{
  display: block;
}


.company-position2{
/* 四周阴影效果 */
  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); /* 上方和右侧 */
}

.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;
  width: 1006px;
  margin-top:24px;
  background: #FFFFFF;
  border-radius: 8px 8px 8px 8px;
  position: relative;
  transition: height 0.3s ease;
  overflow: hidden;
}

/* 内容公共样式 */
.result-content {
    line-height: 1.5;
    transition: opacity 0.2s ease;
}

/* 收起状态内容 */
.collapsed-content {
  font-family:思源黑体 Medium;
  font-weight: 400;
  font-size: 14px;
  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;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

/* 默认显示一行 */
.collapsed {
    height: 30px;
}

/* 展开显示四行（包含标题） */
.expanded {
    height: 450px;
}

/* 切换按钮样式 */
.toggle-btn {
    position: absolute;
    margin-bottom:6px;
    right: 20px;
    top: 6px;
    width: 18px;
    height: 13px;
    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;
}



/**
* 小包裹轮播图样式
**/

.banner-sp {
    position: relative;
    overflow: hidden;
    height: 711px;
    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;
}
