.dui-modal-container.mask:before {
  content: '';
  background-color: rgba(0, 0, 0, 0.2);
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0; }

.dui-modal {
  position: fixed;
  z-index: 1000;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%); }
  .dui-modal.xs {
    width: 240px; }
  .dui-modal.s {
    width: 320px; }
  .dui-modal.m {
    width: 400px; }
  .dui-modal.l {
    width: 480px; }
  .dui-modal.xl {
    width: 560px; }
  .dui-modal.xxl {
    width: 620px; }
  .dui-modal .dui-modal-header {
    padding: 10px 25px;
    font-size: 15px;
    line-height: 30px;
    color: #072;
    border-bottom: 1px solid #e5e5e5; }
  .dui-modal .dui-modal-body {
    padding: 25px; }
  .dui-modal .dui-modal-footer {
    padding: 10px 25px;
    background-color: #F1F1F1;
    text-align: right; }
  .dui-modal .dui-modal-close {
    position: absolute;
    padding: 10px;
    right: 5px;
    top: 0px;
    cursor: pointer; }
    .dui-modal .dui-modal-close i {
      font-style: normal; }
    .dui-modal .dui-modal-close:link, .dui-modal .dui-modal-close:visited {
      color: #ccc; }
    .dui-modal .dui-modal-close:hover {
      background-color: transparent;
      color: #072; }
    .dui-modal .dui-modal-close:active {
      color: #005e1b; }
  .dui-modal .dui-modal-cancel, .dui-modal .dui-modal-confirm {
    margin: 0;
    width: 5em;
    line-height: 30px;
    font-size: 15px;
    text-align: center;
    vertical-align: middle;
    margin-left: 10px;
    border-radius: 3px;
    cursor: pointer; }
    .dui-modal .dui-modal-cancel:hover, .dui-modal .dui-modal-confirm:hover {
      opacity: .8; }
    .dui-modal .dui-modal-cancel:focus, .dui-modal .dui-modal-cancel:active, .dui-modal .dui-modal-confirm:focus, .dui-modal .dui-modal-confirm:active {
      outline: none; }
  .dui-modal .dui-modal-cancel {
    color: #666;
    border: 1px solid #e7e7e7;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fcfcfc), color-stop(1, #e9e9e9)); }
  .dui-modal .dui-modal-confirm {
    border: 1px solid #3aa252;
    background: #3aa252;
    color: white; }
