/*

Theme Name:schlegel_com

Theme URI:80392258

Author:schlegel_com

Author URI:#

Description:schlegel_com

Version:1.0

Tags: schlegel_com,wordpress

*/



.about_circles{width:100%;height:360px;margin-bottom:20px;}
.contact_circles{width:100%;height:438px;margin-bottom:20px;}
.archive_circles{width:100%;height:100px;margin-bottom:20px;}
.single_circles{width:100%;height:100px;margin-bottom:20px;}
.pagecontent_text{font-size:1.4em;}
.pagecontent_text2{font-size:1.4em;}
.pagecontent_text2 img{width:510px;height:360px;margin-bottom:20px;}
.search{padding-top: 20px;padding-left: 20px;padding-bottom: 20px;}


.commentsset{background-color:#f3f3f5;width:400px;padding-bottom: 20px;padding-top: 20px;float:left;margin-left:120px;}
.commentsset2{background-color:#f3f3f5;width:600px;padding-bottom: 20px;padding-top: 20px;float:left;margin-left:80px;margin-top:20px;font-size:1.4em;}
.commentsset2 .commentsset3{padding-left: 20px;}





/* pagenavi */  

#pagenavi a, #pagenavi a:visited, #pagenavi span {  

height: 25px;  

line-height: 25px;  

display: inline-block;  

padding: 1px 8px;  

}  

#pagenavi a, #pagenavi a:visited {  

margin: 0 2px;  

background-color:#CCC;

}  

#pagenavi span.pages {  

color: #777;  

font-weight: bold;  

margin-right: 10px;  

padding: 0;  

}  

#pagenavi span.current {  

margin: -2px 2px -1px;  

padding: 0 9px;  

height: 28px;  

line-height: 28px;  

text-align: center;  

color: #fff;

background-color:#999;

}

.search1 {color: #231f20;
        font-family: "Oswald",sans-serif;
    font-size: 16px;
    font-weight: bold;
    }
.search2 {background: #f3f3f4 
    border-bottom: 1px solid #a7a9ac;
    color: #231f20;
    font-family: "Oswald",sans-serif;
    font-size: 16px;
    }
/* 响应式优化代码 */
@media (max-width: 768px) {
  #our-products div {
    flex: 1 1 100%; /* 每块产品卡片占满一行 */
  }

  #our-products {
    flex-wrap: wrap; /* 允许换行布局 */
  }
}

}
.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #d32f2f !important; /* 默认红色 */
  color: #fff !important;
  text-decoration: none !important;
  font-size: 14px !important;
  border-radius: 5px !important;
  margin-top: 10px !important;
  transition: background-color 0.3s ease, transform 0.2s ease !important;
}

.button:hover {
  background-color: #b71c1c !important; /* 鼠标悬停时更暗 */
}

.button:active {
  background-color: #990000 !important; /* 点击后最暗 */
	color: #fff
  transform: scale(0.95) !important; /* 点击时轻微缩小 */
}
/* 针对手机屏幕竖屏 */
@media screen and (max-width: 768px) {
  .homepage_map_container {
    padding: 20px; /* 调整内边距 */
  }
  
  .globalsupplier_mainImage,
  .globalsupplier_image {
    flex: 1 1 100%; /* 让图片占满一行 */
    margin-bottom: 20px; /* 增加间距 */
  }

  .globalsupplier_mainImage img,
  .globalsupplier_image img {
    width: 100%; /* 图片自适应 */
    height: auto;
  }

  .globalsupplier_title h2 {
    font-size: 20px; /* 调整标题字体大小 */
    text-align: center;
  }

  #homepage_map {
    /* margin-top: 20px;*/ /*增加顶部间距 */
  }
}

/* 针对手机横屏 */
@media screen and (max-width: 1024px) {
  .homepage_map_container {
    display: flex;
    flex-direction: column; /* 将内容从横向改为纵向 */
    align-items: center;
  }

  .globalsupplier_mainImage,
  .globalsupplier_image {
    width: 100%; /* 让每个块占满一行 */
  }

  .globalsupplier_mainImage img,
  .globalsupplier_image img {
    max-width: 100%; /* 确保图片不溢出 */
    height: auto;
  }

  #homepage_map img {
    width: 100%; /* 适配地图内容 */
    height: auto;
  }
}
@media (max-width: 768px) {
  footer {
    flex-direction: column;
    text-align: center;
  }
  footer div {
    margin-bottom: 10px;
  }
}
@media (max-width: 768px) {
    nav {
        display: block;
        width: 100%;
    }

    nav ul {
		display: flex;
		flex-direction: row;
		padding: 0;
		margin-left: 80px;
		
    }

    nav li {
        margin: 5px 0;
    }
}
.abuout {
    color: #666 !important;
}
.pagecontent_text2 {
    /*display: flex;*/
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}

.pagecontent_text2 .content-wrap {
    flex: 1;
    max-width: calc(100% - 530px);
}

.pagecontent_text2 .slider-wrap {
    flex: 0 0 510px;
}

.pagecontent_text p,
.pagecontent_text2 .content-wrap p {
    line-height: 1.6;
    margin-bottom: 15px;
}

