﻿/* General styles for footer */
.footer {
    background-color: #000000; /* 黑色背景 */
    color: white;
    padding: 20px 0; /* 上下内边距 */
    box-sizing: border-box; /* 确保padding和border在元素的总宽度和高度内 */
    width: 100%; /* 确保footer占满整个页面宽度 */
    max-width: 100%; /* 确保最大宽度为100% */
    margin: 0 auto; /* 水平居中 */
    margin-top: 20px; /* 顶部外边距 */
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列 */
    gap: 20px;
    width: 100%; /* 确保footer容器占满整个宽度 */
    max-width: 1510px; /* 设置最大宽度，避免过宽 */
    margin: 0 auto; /* 居中 */
    padding: 0 10px; /* 加入一些内边距，避免贴边 */
    box-sizing: border-box; /* 使内边距计入容器宽度 */
}

/* Styling for each column */
.footer-column {
    background-color: #000000; /* 黑色背景 */
    padding: 10px;
    overflow: hidden; /* 防止内容溢出 */
}

/* Ensure the first row is visible */
.footer-column h4 {
    font-size: 14px; /* 第一行文字大小 */
    font-weight: bold;
    color: #e0e0e0; /* 第一行标题的颜色 */
    margin-top: 30px; /* 增加上边距，确保第一行与顶部有足够的间隙 */
    margin-bottom: 0.5rem; /* 第一行标题和下面内容的间隙 */
    display: block; /* 确保 h4 是作为块元素显示 */
    text-align: left;
}

/* Styling for the links */
.footer-link {
    display: block;
    color: #f1f1f1; /* 较浅的文字颜色 */
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.875rem; /* 第一行链接的字体大小 */
}

.footer-link:hover {
    color: #e53946; /* 鼠标悬停时链接颜色变红 */
}
/* Second row text adjustments (5px more space between rows) */
footer .footer-column .footer-link {
    margin-top: 2rem; /* 添加更多的空间 */
}

/* Styling for the subscription form */
.footer-form input[type="text"] {
    border: 1px solid #666;
    padding-left: 15px;
    background-color: transparent;
	height: 50px;
    line-height: 50px;
    outline: 0;
}

.footer-form input[type="button"] {
	width: 80px;
    color: #fff;
    background-color: #e60012;
    text-align: center;
    transition: all 0.3s ease-in-out;
    height: 50px;
    line-height: 50px;
    border: 0;
    outline: 0;
}

.footer-form input[type="button"]:hover {
    background-color: #000; /* 深红色的悬停效果 */
	color:#e60012;
	border:1px solid #e60012;
}
.footer-form p{color:#fff;font-size:14px}
/* Footer bottom section */
#copyr {
    background-color: #000000; /* 黑色背景 */
    color: white;
    padding: 10px 0;
    text-align: center; /* 默认文本居中 */
}

/* Flex layout for the copyright section */
#copyr .footer-container {
    display: flex; /* 使用flexbox布局 */
    justify-content: space-between; /* 左右两边分开 */
    align-items: center; /* 垂直居中 */
    width: 100%; /* 确保footer占满整个宽度 */
    max-width: 1510px; /* 最大宽度 */
    margin: 0 auto; /* 居中内容 */
    padding: 0 20px; /* 添加左右内边距 */
    box-sizing: border-box; /* 确保内边距不影响宽度 */
}

/* Left side - Copyright text */
#copyr .left {
    font-size: 14px;
    white-space: nowrap; /* 确保文字部分不换行 */
    text-overflow: ellipsis; /* 超出部分用省略号显示 */
}

/* Right side - Links */
#copyr .right {
    white-space: nowrap; /* 确保链接部分不换行 */
    display: flex; /* 让右边的链接部分也使用flex布局 */
    justify-content: flex-start; /* 让右侧链接部分左对齐 */
    flex-grow: 1; /* 让右边的链接部分占满剩余空间 */
    max-width: 600px; /* 设置右边链接部分的最大宽度 */
    margin-left: 20px; /* 给右侧链接部分添加一点间距 */
}

#copyr .right a {
    color: white;
    margin: 0 10px; /* 链接之间的间距 */
    font-size: 14px;
    text-decoration: none;
}

#copyr .right a:hover {
    color: #e53946; /* 红色鼠标悬停效果 */
}

/* Mobile styles - Hide right links on small screens */
@media (max-width: 768px) {
    #copyr .footer-container {
        flex-direction: column; /* 在小屏幕下，使左侧和右侧内容堆叠 */
        align-items: center; /* 使左右内容垂直居中 */
    }

    #copyr .right {
        display: none; /* 隐藏右侧链接部分 */
    }

    #copyr .left {
        margin-bottom: 10px; /* 给左侧文字和右侧链接添加间距 */
        text-align: center; /* 确保左侧文字居中 */
        white-space: normal; /* 允许文字换行 */
        overflow: visible; /* 允许文字显示完全 */
    }
}


/* Styling for the contact information */
.company-info p {
    color: #cccccc; /* 浅色的文本 */
    font-size: 14px;
}
.company-info .comp{font-size: 16px;}
.company-info strong {
    color: white;
}
.contact-icon p{
font-size:14px;
}
.contact-icon{margin-bottom:20px;}
/* Second row text adjustments */
footer .footer-column{margin-top:20px;}
footer .footer-column .footer-link {
    font-size: 0.75rem; /* 第二行文字大小 */
    line-height: 1.2rem; /* 行高 */
    margin-top: 0.5rem; /* 第一行和第二行之间的间距 */
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    /* Adjust footer container to stack columns vertically on smaller screens */
    .footer-container {
        grid-template-columns: 1fr; /* 小屏幕下为一列 */
        padding: 0 10px; /* 防止内容直接紧贴屏幕边缘 */
    }

    .footer-column {
        width: 100%;
        margin-bottom: 20px;
    }

    #copyr .footer-container {
        grid-template-columns: 1fr; /* 单列布局 */
        text-align: left;
    }

    /* Show only the fourth column */
    .footer-column:nth-child(1),
    .footer-column:nth-child(2),
    .footer-column:nth-child(3) {
        display: none;
    }

    .footer-column:nth-child(4) {
        display: block;
    }
}
.bottom-logo{
margin-top:20px;
margin-bottom:10px;}

	@keyframes kuosan {

		0% {
			width: 80px;
			height: 80px;
			opacity: 1;
		}
		50% {
			width: 90px;
			height: 90px;
			opacity: 1;
		}
		100% {
			width: 100px;
			height: 100px;
			opacity: 0;
		}
	}

	.fixquote{
		position: fixed;
		bottom:100px;
		right:10px;
		z-index: 999;
	}

	.fixquote img{
		width: 100px;
		height: 100px;
	}


	@media screen and (max-width:900px) {
		.fixquote{
			display: none;
		}
	}
#cookieConsent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #e60012;
  padding: 1rem;text-align: left;
  z-index: 888;
}

#cookieConsent .w1510{
	position: relative;
}

#cookieConsent .cookie-title {
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    font-family: "MEB";
    position: absolute;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#cookieConsent p {
    float: left;
    width: 100%;
    color: #fff;
    font-size: 16px;
    padding-left: 26%;
    padding-right: 26%;
    box-sizing: border-box;
	font-family: "arial";
}

#cookieConsent .cookie-button {
    position: absolute;
    right: 0;
	height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#cookieConsent .cookie-button button {
    background-color: #000;
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    width: 150px;
    text-align: left;
}


#cookieConsent button {
  padding: 0.5rem 1rem;
  border: none;
  background-color: #e60012;
  color: white;
  cursor: pointer;
  position: relative;
}

#cookieConsent button::before {
    content: "";
    display: block;
    border-top: 0px solid transparent;
    border-bottom: 40px solid transparent;
    border-left: 20px solid #000;
    position: absolute;
    top: 0;
    left: 100%;
}

@media (max-width:900px){
	#cookieConsent .cookie-title {
		font-size: 20px;
		font-weight: bold;
		color: #fff;
		font-family: "MEB";
		position: relative;
		height: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
	}

	#cookieConsent p {
		float: left;
		width: 100%;
		color: #fff;
		font-size: 13px;
		padding-left: 0;
		padding-right: 0;
		margin-top: 15px;
		box-sizing: border-box;
		text-align:center;
	}

	#cookieConsent .cookie-button {
		position: relative;
		right: 0;
		height: 100%;
		width: 100%;
		margin-top: 15px;
		top: 10px;
		text-align: center;
	}

	#cookieConsent .cookie-button button {
		background-color: #000;
		display: inline-block;
		font-size: 16px;
		font-weight: bold;
		color: #fff;
		width: 125px;
		text-align: center;
	}

	#cookieConsent .cookie-button button::before{
		display: none;
	}
}
