.hide-overflow {
  overflow: hidden;
}

.ui-widget-overlay,
.ui-dialog {
  /* Stay above google trusted stores badge. z-index: 2147483647 */
  z-index: 2147483647 !important;
}

.ui-widget-overlay {
  cursor: pointer;

  /* Overlay is getting a set width from the plugin, since we are hiding overflow on the main window we need to force the overlay to 100% width. */
  width: 100% !important;
}

/* Fix title text overflowing if modal width is to small */
.ui-dialog .ui-dialog-title {
  color:#fff;
  font-size: 105%;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 40px);
}



.ui-widget, .ui-widget-header {
  border: none;
  background: none;
}
.ui-widget-header{
  border-radius: 0;
}
.ui-dialog-content {
  background-color: #fff !important;

  border-top: none;

  /* fix scrolling issue on mobile */
  z-index: 0;
  -webkit-overflow-scrolling: touch;
}

/* Modal frame styles */
#modalframe-element {
  border-bottom: none;
}

/* Get rid of extra margin in message when showing multiple validation errors in modal. */
.modalframe-page-content .messages.error ul { margin-bottom:0; }
