.model-main {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  outline: 0;
  opacity: 0;
  -webkit-overflow-scrolling: touch;
  z-index: -1;
  overflow-x: hidden;
  overflow-y: auto;
  text-align: center;
}






.model-open {
  z-index: 99999;
  opacity: 0.9;
  overflow: scroll;
}


.model-wrap {
  display: block;
  width: 100%;
  position: relative;
  background-clip: padding-box;
  outline: 0;
  text-align: left;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  overflow-y: auto;
}

.model-inner {
  transform: translate(0, -25%);
  display: inline-block;
  vertical-align: middle;
  transition: -webkit-transform 0.2s ease-out;
}

.model-open .model-inner {
  margin-top: 16vw;
  transform: translate(0, 0);
  position: relative;
  z-index: 999;
}

.bg-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0vw;
  right: 0;
  bottom: 0;
  z-index: 0;
  transition: background 0.15s linear;
  background: rgba(0, 0, 0, 0.8);
}

.model-open .bg-overlay {
  background: rgba(0, 0, 0, 0.8);
  z-index: 99;
}

.pop-up-content {
  position: relative;
}

.head-top {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 2.7vw 3.4vw;
  border-radius: 0vw 0 4vw 4vw;
}

.title-name {
  position: relative;
  display: flex;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.close-btn {
  width: auto;
  cursor: pointer;
  z-index: 99;
  display: flex;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: flex-end;
  -moz-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.close-btn span {
  font-size: 1.2rem;
}

.popup-hint-small .pop-up-content {
  position: relative;
  background: none;
}

.hint-small-content {
  margin: 20vw auto;
  border-radius: 4px;
  width: 98%;
  border-radius: 3vw;
}

.hint-small-content .content {
  width: auto;
  padding: 0vw 1vw;
  height: auto;
  max-height: 420px;
  overflow-y: scroll;
}

.hint-small-content .content p {
  text-align: center;
  font-size: 0.875rem;
  margin: 4vw auto;
  line-height: 1.6;
}

.hint-small-content .content p a {
  font-weight: bold;
  color: #297d6b;
}

.hint-small-content .content b {
  display: flex;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  font-size: 0.874rem;
  margin-top: 6px;
  padding: 0px 12px;
  color: var(--sub1-txt);
}

.hint-small-content .content b span.win {
  color: var(--sub1-txt);
}

.hint-small-content .content ul {
  margin-left: 20px;
}

.hint-small-content .content ul li {
  list-style: decimal;
  font-size: 0.83rem;
}

.hint-small-content .content .txt {
  background: #fff;
  padding: 4vw;
}

.hint-small-content .content .txt input {
  width: 100%;
  padding: 0px 10px;
  margin: 2vw auto;
  height: 40px;
}

.hint-small-content .content .txt p {
  margin: 2vw auto;
  text-align: left;
  font-size: 0.93rem;
}

.hint-small-content .head-top {
  position: relative;
  width: 96vw;
  margin: 0 auto;
  background: #f08300;
  border-radius: 1vw 1vw 0 0;
  color: #fff;
}

.hint-small-content .head-top span.icon-times-circle {
  position: absolute;
  right: 4vw;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
}

.hint-small-content .head-top h2 {
  width: 100%;
  display: flex;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  font-size: 1.2rem;
}

.hint-small-content .foot-btm {
  width: 96vw;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 0px 0px 1vw 1vw;
}

.hint-small-content .btn-box {
  display: flex;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 2vw 0vw;
}

.hint-small-content .btn-box button {
  position: relative;
  right: auto;
  top: auto;
  width: 24vw;
  padding: 2.2vw;
  font-size: 1rem;
  margin: 1vw;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 4px;
}

.pop-up-content .pay-list {
  padding: 10px 20px;
  margin: 0 auto;
  border-radius: 0px;
  border: 0px !important;
}

.pop-up-content .pay-list .list-s span {
  width: 28%;
  margin-right: 0;
}

/* 共用Alert */
.custom-model-main {
	max-width:500px;
	margin: 0 auto;
  text-align: center;
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  outline: 0;
  opacity: 0;
  transition: opacity 0.15s linear, z-index 0.15;
  -webkit-overflow-scrolling: touch;
  z-index: -1;
  overflow-x: hidden;
  overflow-y: auto;
}

.model-open {
  z-index: 99999;
  opacity: 0.95;
  overflow: hidden;
}

.custom-model-inner {
  transform: translate(0, -25%);
  transition: transform 0.3s ease-out;
  display: inline-block;
  vertical-align: middle;
  width: 86%;
  max-width: 86%;
  height: auto;
  margin: 0px auto;
}

.custom-model-wrap {
  display: block;
  width: 100%;
  position: relative;
  background-color: #222;
  border: 3px solid #AAA;
  background-clip: padding-box;
  outline: 0;
  text-align: left;
  padding: 0px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  border-radius: 8px;
  /*background: rgb(240, 240, 240);
  background: linear-gradient(135deg, #f5f5f5 0%, rgba(255, 255, 255, 1) 35%, rgba(255, 255, 255, 1) 36%, #f4f4fd 100%);*/
}

.pop-up-content-wrap {
  position: relative;
}

.bg-overlay {
  background: rgba(0, 0, 0, 0);
  height: 100vh;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  transition: background 0.15s linear;
}

.model-open .custom-model-inner {
  transform: translate(0, 0);
  position: relative;
  z-index: 999;
}

.model-open .bg-overlay {
  background: rgba(0, 0, 0, 0.85);
  z-index: 99;
}

.commonPopup .custom-model-inner {
  width: 100%;
  max-width: 400px;
}

.commonPopup .btns {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0px auto;
  background: none;
  padding: 20px;
}

.commonPopup .btns button {
  width: 100%;
  height: 40px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0px 10px;
  padding: 10px;
  cursor: pointer;
  border-radius: 2px;
  text-align: center;
}

.commonPopup .btns button.confirm {
  background: #f08300;
  color: #fff;
}

.commonPopup .btns button.confirm:hover {
  background: #23705f;
}

.commonPopup .btns button.cancel {
  background: #525252;
  color: #fff;
}

.commonPopup .btns button.cancel :hover {
  background: #686868;
}

.commonPopup .alert-txt {
  font-size: 1.16rem;
  text-align: center;
  padding: 20px 20px 0px 20px;
}

@media screen and (min-width:800px) {
  .custom-model-main:before {
    content: "";
    display: inline-block;
    height: auto;
    vertical-align: middle;
    margin-right: -0px;
    height: 100%;
  }
}

@media screen and (max-width:799px) {
  .custom-model-inner {
    position: absolute;
    width: 94%;
    max-width: 94%;
    top: 20%;     /*top: 35%;*/
    transform: translateX(-50%);
    position: absolute;
    transform: translateX(-50%);
  }

  .commonPopup .custom-model-inner {
    max-width: 320px;
  }

  .commonPopup .alert-txt {
    font-size: 1rem;
  }
}

.popup-info .custom-model-inner {
  width: 94%;
  max-width: 470px;
  margin: 0 auto;
}



.popup-info .pop-up-content-wrap .content {
  width: 96%;
  /*max-width: 360px;*/
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.pop-up-content-wrap .title {
  position: relative;
  background: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 5px 5px 0px 0px;
}

.pop-up-content-wrap .btn-two {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pop-up-content-wrap .btn-two button {
  min-width: 140px;
  height: 40px;
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
  margin: 5px;
  font-size: 1rem;
}

.pop-up-content-wrap .btn-two button.btn-cancel {
  min-width: 140px;
  color: #ffffff;
  border: 1px solid #AAAAAA;
  background: #333;
}

.hint-small-content .content .item {
  background: #fff;
  padding: 0 12px;
}

.hint-small-content .content .title-s {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: #fff;
  padding: 4px 0px;
}

.hint-small-content .content .title-s span {
  position: relative;
  padding-left: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hint-small-content .content .title-s span::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  background: #f08300;
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.hint-small-content .content .or {
  width: 100%;
  color: #848484;
  background-color: #fff;
  padding: 8px 0;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: bold;
}

.hint-small-content .content .or span {
  padding: 0px 4px;
  background: #fff;
  z-index: 10;
}

.hint-small-content .content .or::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  height: 1px;
  background-color: #848484;
}


/* mod */

.popup-info .custom-model-inner.ctxmenu {
	max-width: 300px; 
}

.custom-model-main UL.ctxmenu{
	padding: 0px 40px; 
	list-style: circle;
}

.custom-model-main UL.ctxmenu LI{
	margin-bottom: 8px;
	/*border-bottom: 1px solid #f08300;*/ 
	border-bottom: 1px dashed #FFF; 
	padding: 8px 12px; 
	text-align: center;
}