/********************导航二级菜单********************/ 
.men{
        font-family:arial,sans-serif;
        /*width:750px;这里的宽度设置并不是必须的*/
         padding:0;
        margin:0;
	transition: all 0.3s ease;
    }
.men ul{
        padding:0;
         margin:0;
         /*ul和ol、li都有list-style-type属性，*/
        list-style-type:none;
		transition: all 0.3s ease;
    }
.men ul li{
    /*float属性定义元素在哪个方向浮动，浮动元素会生成一个块级框。如果浮动非替换元素，则要
     指明一个明确的宽度，否则会被尽可能的压缩。*/
       float:left;
       position:relative;
       list-style-type:none;
   }
.men ul li a, .men ul li a:visited{
        /*display的值，none表示不被显示；block表示显示为块级元素，元素前后
       有换行符；inline为默认值，内联元素，前后没有换行符……*/
        display:block;
        text-align:center;
        text-decoration:none;
        width:130px;
        height:30px;
        color:#000;
        border-width:1px solid #fff;
        
        line-height:30px;
         font-size:12px;
    }
     /*鼠标无动作时不显示*/
     .men ul li ul{
         display:none;
     }
    /*当鼠标指向第一级li时，第二级ul的动作*/
.men ul li:hover ul{
         display:block;
         position:absolute;
         top:30px;
        left:0;
         width:105px;
    }
.men ul li:hover ul li a{
         display:block;
         background:#e5e5e5;
         color:#000;
     }
.men ul li:hover ul li a:hover{
         background:#d8d9d9;
        color:#000;
    }
     /*clear属性定义了元素的哪边上不允许出现浮动元素。*/
.clear{
         clear:both;
    }


/********************首页2023********************/ 
#wenzi{ margin:7% 0;color:#000;}
#wenzi li{ font-size:35PX;}
#Advantag li{ margin:4% 0; }
#Advantag img{ width:80%; }
.im img:hover {opacity: 0.5;}/**鼠标放上图片透明**/ 


.wenzii{ margin:0 0 5% 0;}
.wenzii p{font-size:36PX;color:#0776cf;}
.wenzii li{ line-height:35px;}
.wenzii a{ color:#999;font-size:16px;}
.wenzii a:visited{ color:#999}
.wenzii a:hover{ color:#bc8612; font-size:20px;}
.wenzii a:active{ color:#f4a807}


.fangan{ background-color:#f6f6f5;background-size:10% 30%; margin:5% 0;}
.fangann{ margin:7% 0; line-height:35px;" align="center}
.fangann li{ background-color:#fff; margin:0 1%; width:30%;}
.fangann h3{margin:20% 0 0 0}
.fangann p{margin:10% 5%; text-align:left; line-height:30px;}
.fangann p a{ color:#bcbcb9;font-size:16px;}
.fangann p a:visited{ color:#0776cf}
.fangann p a:hover{ color:#0776cf; font-size:20px;}
.fangann p a:active{ color:#0776cf}

.fangzhan{ margin:7% 0; line-height:35px;" align="center}
.fangzhan li{ background-color:#fff; margin:0 1%; width:30%;}
.fangzhan h3{margin:20% 0 0 5%}
.fangzhan p{margin:10% 5%; text-align:left;}


/********************文字左右滚动文字********************/ 
.cont{
overflow: hidden;
white-space: nowrap;
font-size: 0;
}
.text {
display: inline-block;
vertical-align: top;
font-size: 16px;
animation: show-from-right 1s ease-in-out forwards;
}
@keyframes show-from-right {
0%{
transform: translateX(100%);
opacity: 0;
}
100% {
transform: translateX(0%);
opacity: 1;
}
}


.tcont{
overflow: hidden;
white-space: nowrap;
font-size: 0;
}

.ttext {
display: inline-block;
vertical-align: top;
font-size: 16px;
animation: show-from-left 1s ease-in-out forwards;
}
@keyframes show-from-left {
0%{
transform: translateX(-100%);
opacity: 0;
}
100% {
transform: translateX(1%);
opacity: 1;
}
}

/********************文字从下往上滚动文字********************/ 
.element {
  position: absolute; /* 或 fixed */
  bottom:0px; /* 底部定位为负数 */
  font-size: 16px;
  animation: slide-up 1s ease-in-out forwards;
  transform: translateY(100px); /* 向上移动元素 */
}
@keyframes slide-up {
  from {
    transform: translateY(100px);
  }
  to {
    transform: translateY(0);
  }
}



/********************product********************/ 
.brand_1{border:hidden;padding-bottom:1px;margin-bottom:1px;display: block;padding:1px;}
.brand_1 a{padding:5px;float:left;border:hidden;margin:2px;padding-top:1px;padding-bottom:1px;}
.iim img:hover {transform: scale(20);}/**鼠标放上图片放大**/ 


/********************优势制造商********************/ 


.box {
  width: 15%;
  height: 10%;
  text-align: center;
  transition: all 2s;
}
 
.box:hover {
  width: 16%;
  height:8%;
  text-align: center;
  transform: rotate(360deg);
}


/********************背景边框阴影********************/ 

.benjin{ color:#666666; line-height:30px; width:55%; height:300px; box-shadow: 0px 0px 5px 5PX #f6f5f5;}
.benjin li{ margin:5% 0 0 5%}
.benjin h2{ margin:10% 0 0 5%}
.benjin ul li{list-style-type:none;}

/********************行业资讯背景边框阴影********************/ 
.beijin{ color:#666666; line-height:30px;  height:500px; box-shadow: 0px 0px 5px 5PX #f6f5f5;}
@media (max-width:767){
.beijin{ 
height:700px;}

}


.beijing{ color:#666666; line-height:30px;  height:500px; box-shadow: 0px 0px 5px 5PX #f6f5f5;}


/********************新闻资讯翻页********************/ 

#button{text-align:center;height:30px;line-height:16px;padding:4px;padding-left:15px;padding-right:15px;font-size:12px;border-radius:20px;-webkit-transition:all 0.4s ease;-o-transition:all 0.4s ease;transition:all 0.4s ease;;font-weight:bold;color:#fff;border:1px solid #00ab67;color:#00ab67;clear:both;}
#button:hover{background:#00ab67;color:#fff}

#button22 {text-align:center;height:40px;line-height:42px;padding:8px;padding-left:30px;padding-right:30px;font-size:16px;border-radius:20px;-webkit-transition:all 0.4s ease;-o-transition:all 0.4s ease;transition:all 0.4s ease;background:#66b4b9;font-weight:bold;color:#fff;border:none}
#button22:hover{background:#45a2a5;color:#FFF}
.pages{width:22px;height:22px;border:1px #dddddd solid;float:left;margin-left:5px;margin-right:5px;text-align:center;line-height:22px;background:#ffffff}
.page1{width:22px;height:22px;border:1px #dddddd solid;float:left;margin-left:5px;margin-right:5px;text-align:center;line-height:22px;}
.page2{line-height:22px;width:22px;height:22px;border:1px #dddddd solid;float:left;background-color:#ce0000;color:#ffffff;margin-left:5px;margin-right:5px;text-align:center;}
.page3{line-height:22px;width:60px;height:22px;border:1px #dddddd solid;float:left;margin-left:5px;margin-right:5px;text-align:center;}
.page4{line-height:22px;width:60px;height:22px;border:1px #dddddd solid;float:left;;margin-left:5px;margin-right:5px;text-align:center;}


.clear{clear:both}




/********************鼠标悬停从下往上出现文字********************/ 
.xuanting-text {
  width: 100%;
  height: 100%;
  line-height: 35px;
  text-align:left;
  padding:2% 0;
  cursor: pointer;
  
}
 
.xuanting-text:hover:after {
  content: '原厂现货·保障供应我们在深圳和珠海拥有超过 10 万平方米的恒温仓库，备有大量全球知名原厂的芯片现货， 仅 XILINX 产品库存就超 1 亿美金，真正践行“原厂正品，极速现货”的经营理念。';
  position: absolute;
  top: 0;
  left: 0;
  padding:25% 10% 0 10%;
  width: 98%;
  height:475%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s;
  position: absolute; /* 或 fixed */
  bottom:0px; /* 底部定位为负数 */
  font-size: 16px;
  animation: slide-up 1s ease-in-out forwards;
  transform: translateY(100px); /* 向上移动元素 */
}
@keyframes slide-up {
  from {
    transform: translateY(100px);
  }
  to {
    transform: translateY(0);
  }



.xuanting-text2 {
  width: 100%;
  height: 100%;
  line-height: 35px;
  text-align:left;
  padding:2% 0;
  cursor: pointer;
  
}
 
.xuanting-text2:hover:after {
  content: '凭借超过16年的客户服务经验，我们的全球服务团队擅于洞察关键市场数据，可以帮助客户提前预测和制定相应策略，有效避免因产品配置不当引起的短缺。';
  position: absolute;
  top: 0;
  left: 0;
  padding:25% 10% 0 10%;
  width: 98%;
  height:475%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s;
  position: absolute; /* 或 fixed */
  bottom:0px; /* 底部定位为负数 */
  font-size: 16px;
  animation: slide-up 1s ease-in-out forwards;
  transform: translateY(100px); /* 向上移动元素 */
}
@keyframes slide-up {
  from {
    transform: translateY(100px);
  }
  to {
    transform: translateY(0);
  }
  
  
  
 
  
  .xuanting-text3 {
  width: 100%;
  height: 100%;
  line-height: 35px;
  text-align:left;
  padding:2% 0;
  cursor: pointer;
  
}
 
.xuanting-text3:hover:after {
  content: '凭借超过16年的客户服务经验，我们的全球服务团队擅于洞察关键市场数据，可以帮助客户提前预测和制定相应策略，有效避免因产品配置不当引起的短缺。';
  position: absolute;
  top: 0;
  left: 0;
  padding:25% 10% 0 10%;
  width: 98%;
  height:475%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s;
  position: absolute; /* 或 fixed */
  bottom:0px; /* 底部定位为负数 */
  font-size: 16px;
  animation: slide-up 1s ease-in-out forwards;
  transform: translateY(100px); /* 向上移动元素 */
}
@keyframes slide-up {
  from {
    transform: translateY(100px);
  }
  to {
    transform: translateY(0);
  }
  
  
  
  
 .xuanting-text4 {
  width: 100%;
  height: 100%;
  line-height: 35px;
  text-align:left;
  padding:2% 0;
  cursor: pointer;
  
}
 
.xuanting-text4:hover:after {
  content: '提供元器件一站式BOM配单和小批量Kitting服务，实现批量采购，提升采购效率，优化采购成本';
  position: absolute;
  top: 0;
  left: 0;
  padding:25% 10% 0 10%;
  width: 98%;
  height:475%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s;
  position: absolute; /* 或 fixed */
  bottom:0px; /* 底部定位为负数 */
  font-size: 16px;
  animation: slide-up 1s ease-in-out forwards;
  transform: translateY(100px); /* 向上移动元素 */
}
@keyframes slide-up {
  from {
    transform: translateY(100px);
  }
  to {
    transform: translateY(0);
  }
  
  
 /********************鼠标悬停出现图片********************/  
  
 .weixin-hover-container {
  transition: background-image 0.5s; /* 平滑背景图切换 */
}
 
.weixi-hover-container:hover {
  background-image: url('../images/ICcaigou.png'); /* 悬浮时的背景图 */
  
  
}


.image-container {
  position: relative;
  width: 200px; /* 设置图片容器的宽度 */
  height: 200px; /* 设置图片容器的高度 */
  overflow: hidden; /* 隐藏超出容器的部分 */
}
 
.image-container .image-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('weixinn.png'); /* 设置默认显示的图片 */
  background-size: cover; /* 背景图片覆盖整个div区域 */
  transition: background-image 0.5s; /* 平滑的背景图片过渡效果 */
}
 
.image-container:hover .image-hover {
  background-image: url('weixin.jpg'); /* 鼠标悬停时显示的图片 */
}