﻿.dialog-wrapper {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  /*todo: should use semi trans png as background image, as this wont work on some browsers.*/
  background-color: rgba(64, 64, 64, 0.5);
  /*For the hack to center dialog.*/
  text-align: center;
  white-space: nowrap;
}
.dialog-wrapper.inline {
  display: none;
}
.dialog-wrapper > .spacer {
  display: inline-block;
  height: 50%;
}
.dialog-wrapper .dialog {
  margin-left: auto;
  margin-right: auto;
  max-height: 98%;
  max-width: 98%;
  background-color: white;
  -webkit-box-shadow: 0 0 15px #333333;
  box-shadow: 0 0 15px #333333;
  padding-top: 0;
  position: relative;
  display: inline-block;
  text-align: left;
  white-space: normal;
  vertical-align: middle;
}
.dialog-wrapper .dialog .dialog-header {
  margin: 0;
  border: 1px solid #D7D3D3;
  border-radius: 3px 3px 0 0;
  background: #f5f5f5;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F5F5F5', endColorstr='#EAEAEA');
  /* for IE */
  background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eaeaea 100%);
  background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #eaeaea 100%);
  color: #535353;
  box-shadow: 0 1px 2px #888888;
}
.dialog-wrapper .dialog .dialog-header h3 {
  display: block;
  text-align: left;
  font-size: 1.8em;
  margin: 0;
  padding-left: .5em;
  padding-top: 12px;
  padding-bottom: 12px;
}
.dialog-wrapper .dialog .dialog-header button.close {
  padding: 0;
  position: absolute;
  right: .5em;
  top: .5em;
  vertical-align: bottom;
  background-image: url('/images/dialog_close.png');
  background-position: center top;
  background-repeat: no-repeat;
  padding-top: 30px;
  color: #444444;
  opacity: .5;
  border: 0;
  -moz-background-size: 26px;
  -o-background-size: 26px;
  -webkit-background-size: 26px;
  background-size: 26px;
  background-color: rgba(0, 0, 0, 0);
}
.dialog-wrapper .dialog .dialog-header button.close:hover,
.dialog-wrapper .dialog .dialog-header button.close:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
  opacity: 1;
}
.dialog-wrapper .dialog .dialog-content-outer {
  display: block;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.dialog-wrapper .dialog .dialog-content-outer .dialog-content {
  overflow: auto;
  position: relative;
  height: 100%;
  padding-left: 1em;
  padding-right: 1em;
  padding-bottom: 1em;
  margin-right: 1px;
}
.dialog-wrapper .dialog .dialog-actions {
  padding-top: 5px;
  display: block;
  height: 3.5em;
  text-align: right;
  padding-right: 1em;
}
/* phones resizes*/
@media only screen and (max-width: 600px) {
  .dialog-wrapper .dialog {
    max-height: 100%;
    height: 100%;
    max-width: 100%;
    width: 100%;
  }
  .dialog-wrapper .dialog .dialog-header h3 {
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .dialog-wrapper .dialog .dialog-header button.close {
    font-size: 0;
    margin-top: 5px;
    width: 35px;
    margin-right: 5px;
    background-image: url('/images/dialog_back.png');
  }
  .dialog-wrapper .dialog .dialog-content-outer {
    height: 100%;
  }
  .dialog-wrapper .dialog .dialog-content-outer .dialog-content {
    padding: 0;
    margin: 0;
  }
}
/*# sourceMappingURL=dialog.css.map */