.ui-widget {
    font-family: inherit;
    font-size: inherit;
}

.ui-dialog {
  display: none;
  overflow: hidden;
  position: fixed;
  z-index: 1050;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 10px; }

.ui-widget-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000; 
  opacity: 0.5;
  filter: alpha(opacity=50); 
}

.ui-dialog-titlebar {
  padding: 15px!important;
  background: transparent;
  border-bottom: 1px solid #e5e5e5!important; 
}
  .ui-dialog-titlebar:before, .ui-dialog-titlebar:after {
    content: " ";
    display: table; }
  .ui-dialog-titlebar:after {
    clear: both; }

.ui-dialog-titlebar-close  {
  margin-top: -2px; }

.ui-dialog .ui-dialog-title {
    margin: 0;
    font-size: 1.5em;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.42857; 
}

.ui-dialog .ui-dialog-content {
    font-size: 1em;
    position: relative;
    padding: 15px;
    line-height: 1.42857;
    color: #333333;
    max-height: 350px;
}
.ui-dialog .ui-widget-content a.btn-danger{
	color: #fff;
}
