.y-popup {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  vertical-align: middle;
  text-align: center;
  white-space: nowrap;
  z-index: 1700; }
  .y-popup:before {
    display: inline-block;
    vertical-align: middle;
    content: "";
    height: 100%; }
  .y-popup.y-open .popup-dialog {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0); }

.popup-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.3); }

.popup-dialog {
  display: inline-block;
  position: relative;
  width: 470px;
  margin: 0 auto 40px;
  padding: 20px;
  border: 1px solid #ffffff;
  background-color: #ffffff;
  text-align: left;
  vertical-align: middle;
  white-space: normal;
  -webkit-box-shadow: 0 0 7px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 7px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.3);
  -webkit-transform: translateY(-20px);
  -moz-transform: translateY(-20px);
  -ms-transform: translateY(-20px);
  -o-transform: translateY(-20px);
  transform: translateY(-20px);
  -webkit-transition: all 300ms ease-out;
  -moz-transition: all 300ms ease-out;
  -ms-transition: all 300ms ease-out;
  -o-transition: all 300ms ease-out;
  transition: all 300ms ease-out; }
  .popup-dialog .close {
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    color: #acb3bb;
    font-size: 12px; }
    .popup-dialog .close:hover {
      color: #323538; }
  .popup-dialog .popup-icon {
    display: table-cell;
    padding-left: 8px;
    padding-right: 28px;
    font-size: 46px;
    line-height: 46px;
    vertical-align: top; }

.popup-body {
  padding-bottom: 17px; }
  .popup-body .popup-content {
    display: table-cell; }
  .popup-body .popup-title {
    font-size: 14px;
    line-height: 22px;
    color: #acb3bb;
    margin-bottom: 20px; }
  .popup-body .popup-msg {
    color: black;
    font-size: 13px;
    line-height: 20px; }

.has-icon .popup-body {
  padding-top: 25px;
  padding-bottom: 25px; }
.has-icon .popup-title {
  font-size: 15px;
  margin-top: 1px;
  margin-bottom: 4px;
  color: black; }
.has-icon .popup-msg {
  color: #acb3bb; }

.popup-success .popup-icon {
  color: #61dece; }

.popup-warning .popup-icon, .popup-alert .popup-icon {
  color: #ffc2cd; }

.popup-warning .popup-msg {
  color: red; }

.popup-footer {
  text-align: right; }
  .popup-footer button {
    margin-left: 16px; }
