/* 重置
========================================== */
.pop-up *,.pop-up *:before,.pop-up *:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* 弹窗
========================================== */

.pop-up {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) scale(0.9);
  -moz-transform: translate(-50%, -50%) scale(0.9);
  -ms-transform: translate(-50%, -50%) scale(0.9);
  -o-transform: translate(-50%, -50%) scale(0.9);
  transform: translate(-50%, -50%) scale(0.9);
  overflow-y: auto;
  box-shadow: 0px 6px 30px rgba(0, 0, 0, 0.4);
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  z-index: 999;
  background-color: #ffffff;
  width: 100%;
  height: 100%;
}
/* @media (min-width: 768px) {
  .pop-up {
    width: calc(100% - 40px);
    height: auto;
    max-width: 900px;
  }
} */
.pop-up {
    width: 800px;
    height:378px;
	background-image: url('../images/popup-bg.jpg');
	background-size: 100% 100%;
  }
.pop-up .pop-content {
  width: 100%;
  max-width: 900px;
  overflow: hidden;
  text-align: center;
  position: relative;
  min-height: 100vh;
}
@media (min-width: 768px) {
  .pop-up .pop-content {
    min-height: inherit;
  }
}
.pop-up .pop-content .pop-container {
  padding: 50px 30px 0 50px;
  display: flex;
  justify-content:space-between;
}
.pop-up .pop-content .close {
  position: absolute;
  top: 0;
  right:0;
  width: 40px;
  height: 40px;
  background-image:url("../images/index-popup.png");
  background-position:0 -80px;
  font-size: 1.1rem;
  letter-spacing: 0.05rem;
  color: #3e4146;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
}
.pop-up .pop-content .close:hover {
  cursor: pointer;
  color: #f66867;
}

.pop-up.open {
  visibility: visible;
  opacity: 1;
  -webkit-transform: translate(-50%, -50%) scale(1);
  -moz-transform: translate(-50%, -50%) scale(1);
  -ms-transform: translate(-50%, -50%) scale(1);
  -o-transform: translate(-50%, -50%) scale(1);
  transform: translate(-50%, -50%) scale(1);
}
.index-popup-form{
	width:55%;
}
.popup-form-header{
	display: flex;
	/* align-items:center; */
	justify-content:flex-start;
}
.popup-form-header h3{
	display: block;
	height: 28px;
	line-height: 28px;
	font-size: 28px;
	font-weight:600;
	font-family:'Microsoft YaHei';
	font-weight: initial;
}
.popup-form-header span{
	margin-left: 14px;
	width: 232px;
	height: 28px;
	line-height: 18px;
	background: #f9f9f9;
	font-size: 12px;
	display: block;
	padding: 5px 5px;
	border-bottom-left-radius: 14px;
	/* border-top-left-radius: 14px; */
	border-top-right-radius: 14px;
	border-bottom-right-radius: 14px;
	/* line-height: 40px; */
}
.popup-form-header strong{
	color: #fe782f;
}
.index-popup-calc{
	color:#fff;
	padding-left: 50px;
	width: 45%;
}
.index-popup-calc p{
	font-size: 12px;
}
.popup-calc{
	padding:30px 10px;
	display: flex;
	justify-content:flex-start;
	flex-flow:wrap;
}
.popup-calc .calc-p1{
	font-size: 14px;
	width:50%;
	height:70px;
	border-color: rgba(271, 185, 186,0.5)
}
.pop-line-01{
	border-right: 1px dashed transparent;
	border-bottom: 1px dashed transparent;
	padding: 0 30px 20px 0;
}
.pop-line-02{
	border-bottom: 1px dashed transparent;
	padding: 0 0 20px 30px;
}
.pop-line-03{
	border-right: 1px dashed transparent;
	padding:20px 30px 0 0;
}
.pop-line-04{
	padding:20px 0 0 30px;
}
#sj-price span{
	color: #ff5a00;
}
#sj-price span,#gc-price span,#cl-price span,#gl-price span{
	display: block;
	font-weight: 700;
	font-size: 20px;
	margin-bottom: 5px;
}
.popup-calc-title{
	margin-top: 55px;
	font-family:'Microsoft YaHei';
	font-size: 18px;
	font-weight: initial;
	letter-spacing: 1px;
}
#total-price{
	display: inline-block;
	width:80px;
	font-size: 20px;
	color: #ff5a00;
	letter-spacing:0;
	font-weight: 700;
}
#popup-form{
	display: block;
}
.popup-form-input-radio{
	margin-top: 30px;
	margin-bottom: 10px;
	float: left;
}
.popup-form-input-radio input[type="radio"]{
	margin-right: 10px;
}
.popup-form-input-radio input[type="radio"]::before {
	position: relative;
	content: "";
	top: -1px;
	left: -1px;
	width: 17px;
	height: 17px;
	display: block;
	border-radius: 50%;
	background-color: #fff;
	border: 1px solid #303030;
	z-index: 5;
}
.popup-form-input-radio input[type="radio"]:checked::after {
	position: relative;
	content: "";
	bottom: 14px;
	left: 3px;
	width: 9px;
	height: 9px;
	display: block;
	border-radius: 50%;
	visibility: visible;
	background-color: #303030;
	z-index: 6;
}
.popup-form-input-radio label{
	margin-right: 40px;
}
/* 清除浮动影响 */
.popup-form-input{
	overflow: hidden;
	width: 300px;
	height: 50px;
	display: flex;
	justify-content: flex-start;
	border-bottom:1px solid #e5e5e5;
	margin-top: 10px;
	margin-bottom: 10px;
}
.popup-form-input  input{
	padding:5px 10px;
	border:none;
	float: left;
	width: 300px;
	height: 40px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.popup-form-input  input:focus{
	outline: none; /* 去掉默认的轮廓样式 */
}
#index-popup-sub{
	user-select: none;
	margin-top: 20px;
	border-radius: 22.5px;
	color: #fff;
	line-height:45px;
	text-align: center;
	display: block;
	width: 280px;
	height: 45px;
	float: left;
	background-color:#ff5a00;
	animation: blink 1s infinite, scale 1s infinite; /* 使用两个动画同时，每个动画周期为2秒，无限循环 */
	transition: width 0.5s, height 0.5s; /* 添加宽度和高度的过渡效果 */
}
@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.8; }
  100% { opacity: 1; }
}
@keyframes scale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
#index-popup-sub:hover{
	width: 280px;
	height: 45px;
	border:none;
	outline:0;
	animation: none; /* 移除动画，停止按钮的闪烁和放大/缩小效果 */
	opacity: 1; /* 悬停时按钮完全可见 */
	background-color:#d32a13;
}
#index-popup-sub:focus{
	border:none;
	outline:0;
	background-color:#d32a13;
}
#index-popup-sub:active{
	border:none;
	outline:0;
	background-color:#ff5a00;
}
.popup-form-input .mj-icon{
	background-image:url("../images/index-popup.png");
	margin-top: 10px;
	width: 40px;
	height: 40px;
	margin-left: -10px;
}
.popup-form-input .tel-icon{
	background-image:url("../images/index-popup.png");
	background-position:0 -40px;
	margin-top: 10px;
	width: 40px;
	height: 40px;
	margin-left: -10px;
}
