﻿.model {
  display: none;
  position: fixed;
  z-index: 999;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.model.share-show {
  animation: scale-in 0.25s ease 0s 1 normal forwards;
}

.model.share-hide {
  animation: scale-out 0.25s ease 0s 1 normal forwards;
}

.model .model-content {
  padding: 20px;
}

.model .model-nav {
  padding: 8px 20px;
  font-size: 16px;
  line-height: 24px;
  color: rgb(148 163 184);
  background-color: rgb(241 245 249);
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.model .model-nav i.model-close {
  display: block;
  cursor: pointer;
  background-color: rgb(148 163 184);
  width: 16px;
  height: 16px;
  mask-image: url(../i/close.svg);
  -webkit-mask-image: url(../i/close.svg);
  mask-size: 100%;
  -webkit-mask-size: 100%;
  transition: 0.1s;
}

.model .model-nav i.model-close:hover {
  background-color: rgb(71 85 105);
}

@keyframes scale-in {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes scale-out {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

/* wechat whatsapp icon */
.isPc .art-share .ico-share.ico-whatsapp {
  background-image: url("../i/whatsapp.png");
  background-size: 110% 110%;
  background-position: center;
}

.isPc .art-share .ico-share.ico-wechat {
  background-color: #09bc64;
  background-image: url("../i/wechat.svg");
  background-size: 65% 65%;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 99px;
}

.isWap .art-share .ico-share.ico-whatsapp {
  background-image: url("../i/whatsapp.png");
  background-size: 110% 110%;
  background-position: center;
}

.isWap .art-share .ico-share.ico-wechat {
  background-color: #09bc64;
  background-image: url("../i/wechat.svg");
  background-size: 65% 65%;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 99px;
}