div.sp-dialog-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  z-index: 10000;
  -webkit-transition: all 200ms 0s ease;
  -o-transition: all 200ms 0s ease;
  transition: all 200ms 0s ease;
}

div.sp-dialog {
  background-color: #fff;
  border-radius: 0.5em;
  width: 75%;
  max-width: 300px;
  -webkit-box-shadow: 5px 5px 10px 0px #333;
  box-shadow: 5px 5px 10px 0px #333;
}

div.sp-dialog-title {
  padding: 8px 16px;
  color: #fff;
  background-color: #0ec100;
  border-radius: 8px 8px 0 0;
}

div.sp-dialog-content {
  padding: 16px 16px 8px;
  background-color: #fff;
  border-radius: 8px 8px 0 0;
  font-size: 90%;
  line-height: 1.6;
}

div.sp-dialog-buttons {
  text-align: right;
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
}

input[type='button'].sp-dialog-button {
  -webkit-appearance: none;
  display: inline-block;
  font-size: 11pt;
  margin-left: 8px;
  vertical-align: middle;
  height: 36px;
  width: auto;
  min-width: 80px;
  border: 1px solid #ccc;
  border-radius: 0.5em;
  color: #333;
  padding: 0;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#ccc));
  background-image: -webkit-linear-gradient(#eee 0%, #ccc 100%);
  background-image: -o-linear-gradient(#eee 0%, #ccc 100%);
  background-image: linear-gradient(#eee 0%, #ccc 100%);
}

input[type='button'].sp-dialog-button:active {
  -webkit-appearance: none;
  color: #fff;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ddd), to(#aaa));
  background-image: -webkit-linear-gradient(#ddd 0%, #aaa 100%);
  background-image: -o-linear-gradient(#ddd 0%, #aaa 100%);
  background-image: linear-gradient(#ddd 0%, #aaa 100%);
}

input[type='button'].sp-dialog-button:hover {
  -webkit-appearance: none;
}

input[type='button'].ok {
  color: #333;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#ccc));
  background-image: -webkit-linear-gradient(#eee 0%, #ccc 100%);
  background-image: -o-linear-gradient(#eee 0%, #ccc 100%);
  background-image: linear-gradient(#eee 0%, #ccc 100%);
}

input[type='button'].ok:active {
  color: #fff;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ddd), to(#aaa));
  background-image: -webkit-linear-gradient(#ddd 0%, #aaa 100%);
  background-image: -o-linear-gradient(#ddd 0%, #aaa 100%);
  background-image: linear-gradient(#ddd 0%, #aaa 100%);
}

div#sp-loading {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  z-index: 10000;
}
