/*
 * @Author: 天吾
 * @Date: 2019-01-23 16:29:55
 * @Last Modified by: lijianzhang
 * @Last Modified time: 2019-01-23 17:55:03
 */
/*
    size 统一用  sm base lg  表示,  对于不能满足的情况, 仿照衣服尺寸加上 x(EXTRA) 比如  font-size-xlg 表示特大
*/
.gd-modal__wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  color: #606266;
}
.gd-modal__wrapper::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.gd-modal__wrapper::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background-color: #e1e5f5;
}
.gd-modal__wrapper::-webkit-scrollbar-track {
  border-radius: 3px;
}
.gd-modal__wrapper--overlay {
  background: hsla(0, 0%, 100%, 0.8);
}
.gd-modal__wrapper--centered {
  text-align: center;
}
.gd-modal__wrapper--centered::before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  width: 0;
}
.gd-modal__wrapper--centered .gd-modal {
  text-align: left;
  vertical-align: middle;
  display: inline-block;
}
.gd-modal {
  margin: 0 auto;
  position: relative;
  outline: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(160, 160, 180, 0.4);
  box-sizing: border-box;
  padding: 40px 40px 0px 40px;
}
.gd-modal--dark {
  background: #000;
  color: #fff;
}
.gd-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gd-modal__title {
  font-size: 22px;
  color: #333;
  font-weight: bold;
}
.gd-modal__close {
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 20px;
  opacity: 0.6;
  font-size: 16px;
  color: #AAA;
}
.gd-modal__close:hover {
  opacity: 1;
}
.gd-modal__footer {
  padding: 0 0 40px 0;
}
.gd-modal__body {
  margin: 16px 0;
  font: 14px/1.5 -apple-system-font, Helvetica Neue, Helvetica, STHeiTi, Microsoft YaHei, sans-serif;
}
.gd-modal__buttons {
  display: flex;
  flex-flow: row-reverse;
}
.gd-modal-fade-enter-active {
  animation: gd-modal-fade-in 0.3s;
}
.gd-modal-fade-leave-active {
  animation: gd-modal-fade-out 0.3s;
}
@keyframes gd-modal-fade-in {
0% {
    transform: translate3d(0, -40px, 0);
    opacity: 0;
}
100% {
    opacity: 1;
}
}
@keyframes gd-modal-fade-out {
0% {
    opacity: 1;
}
100% {
    transform: translate3d(0, -20px, 0);
    opacity: 0;
}
}
