@import '../../lib/commonStyles/colors';

.container {
  position: fixed;
  top: 20%;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: baseline;
  z-index: 10000;
}

.containerHidden {
  position: fixed;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: baseline;
  z-index: -1;
}

.modal {
  max-height: 350px;
  width: 90%;
  background-color: #fff;
  box-sizing: border-box;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 45px, rgba(0, 0, 0, 0.22) 0px 10px 18px;
  border-radius: 2px;
  transform: translate3d(0, 0, 0);
  transition: transform 500ms cubic-bezier(0, 0, 0.25, 1), opacity 500ms cubic-bezier(0, 0, 0.25, 1);
  z-index: 10002;
  .header {
    padding: 15px 15px 10px 15px;
    color: #303030;
    border-bottom: #eeeeee solid 1px;
    font-size: 14px;
  }

  .content {
    padding: 5px 30px;
    font-size: 13px;
    color: #303030;
  }

  .footer {
    padding: 8px;
    text-align: right;
    .btn {
      font-size: 13px;
      display: inline-block;
    }
  }
}

.modalHidden {
  transform: translate3d(0, -100px, 0);
  opacity: 0;
  z-index: -1;
  height: 0;
  width: 0;
  overflow: hidden;
}

.mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 10001;
}

.maskHidden {
  display: none;
}

.flatBtn {
  border: 10px;
  box-sizing: border-box;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  margin: 0px;
  padding: 0px;
  outline: none;
  position: relative;
  z-index: 1;
  height: 28px;
  line-height: 28px;
  min-width: 70px;
  color: $primary-color;
  transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
  border-radius: 2px;
  user-select: none;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0);
  text-align: center;
  .text {
    text-transform: uppercase;
  }
}
.flatBtn:hover {
  background-color: #e8e8ea;
}



