/*Add Css Custom Here*/
.foot_menu {}
.foot_menu li{float: left;padding-right: 20px;}
.foot_menu li a{color: #c0c0c0}

/* 悬浮留言按钮 */
.float-contact {
  position: fixed;
  right: 10px;
  bottom: 70px;
  z-index: 40;
  display: block;
  text-align: center;
  border-radius: 3px;
  overflow: hidden;
  -webkit-transition: all 0.5s ease-in-out 0s;
  -moz-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
  
}

.float-contact a {
  display: block;
  width: 45px;
  height: 42px;
 background: linear-gradient(#548ccb, #386295);
  color: #fff;
  text-decoration: none;
  line-height: 1;
  padding-top: 6px;
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
  border-radius: 3px;
}

.float-contact a:hover {
  background-color: #fe5454;
  color: #fff;
}

.float-contact a i {
  font-size: 26px;
  display: block;
  margin-bottom: 2px;
}

.float-contact a span {
  font-size: 10px;
  display: block;
  font-weight: normal;
}

/* 悬浮留言按钮动画 */
@-webkit-keyframes float-contact-shake {
  0%, 100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    -webkit-transform: translateX(-3px);
    transform: translateX(-3px);
  }
  20%, 40%, 60%, 80% {
    -webkit-transform: translateX(3px);
    transform: translateX(3px);
  }
}
@keyframes float-contact-shake {
  0%, 100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    -webkit-transform: translateX(-3px);
    transform: translateX(-3px);
  }
  20%, 40%, 60%, 80% {
    -webkit-transform: translateX(3px);
    transform: translateX(3px);
  }
}

.float-contact a:hover {
  -webkit-animation: float-contact-shake 0.5s ease-in-out;
  animation: float-contact-shake 0.5s ease-in-out;
}

/* ========== 留言弹窗样式 ========== */
.contact-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  overflow-y: auto;
}

.contact-modal-container {
  position: relative;
  width: 420px;
  max-width: 94%;
  margin: 0;
  position: absolute;
  right: 20px;
  bottom: 20px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  padding-bottom: 24px;
}

.contact-modal-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 8px 24px;
 background: linear-gradient(#548ccb, #386295);
  border-bottom: 1px solid #e5e5e5;
}

.contact-modal-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}


.bg_blue {bgcolor: linear-gradient(#548ccb, #386295);}

.contact-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  padding: 0 4px;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

.contact-modal-close:hover {
  color: #333;
}

.contact-modal-body {
  padding: 24px;
  min-height: 200px;
}

.contact-modal-loading {
  text-align: center;
  padding: 60px 20px;
  font-size: 16px;
  color: #999;
}

.contact-modal-loading .fa-spinner {
  margin-right: 8px;
}

.contact-modal-error {
  text-align: center;
  padding: 60px 20px;
  font-size: 16px;
  color: #e74c3c;
}

.contact-modal-success {
  text-align: center;
  padding: 60px 20px;
  font-size: 18px;
  color: #27ae60;
}

.contact-modal-success .fa-check-circle {
  margin-right: 8px;
  font-size: 24px;
}

/* 弹窗内的表单样式 */
.contact-modal-body .contact-modal-form h3 {
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 8px;
  color: #333;
}

.contact-modal-body .contact-modal-desc {
  color: #888;
  margin-bottom: 20px;
  font-size: 13px;
}

.contact-modal-body .form-group {
  margin-bottom: 15px;
}

.contact-modal-body .form-group .col-sm-3 {
  padding-top: 6px;
  text-align: right;
}

.contact-modal-body .buttons {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

@media (max-width: 768px) {
  .contact-modal-container {
    margin: 20px auto;
    width: 96%;
    max-width: 96%;
    position: relative;
    right: auto;
    bottom: auto;
  }

  .contact-modal-body .form-group .col-sm-3 {
    text-align: left;
    padding-bottom: 4px;
  }

  .contact-modal-body .form-group .col-sm-9 {
    padding-left: 0;
  }
}

.contact-modal-form-inner .has-error .form-control {
  border-color: #a94442;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}







