.bootstrap-dialog {

}
.bootstrap-dialog .modal-header {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.bootstrap-dialog .bootstrap-dialog-title {
    color: #fff;
    display: inline-block;
}
.bootstrap-dialog.type-default .bootstrap-dialog-title {
    color: #333;
}
.bootstrap-dialog .bootstrap-dialog-title {
    font-size: 16px;
}
.bootstrap-dialog.size-large .bootstrap-dialog-title {
    font-size: 24px;
}
.bootstrap-dialog .bootstrap-dialog-close-button {
    float: right;
    filter:alpha(opacity=90);
    -moz-opacity:0.9;
    -khtml-opacity: 0.9;
    opacity: 0.9;
}
.bootstrap-dialog .bootstrap-dialog-close-button {
    font-size: 20px;
}
.bootstrap-dialog.size-large .bootstrap-dialog-close-button {
    font-size: 30px;
}
.bootstrap-dialog .bootstrap-dialog-close-button:hover {
    cursor: pointer;
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
}
.bootstrap-dialog .bootstrap-dialog-message {
    font-size: 14px;
}
.bootstrap-dialog.size-large .bootstrap-dialog-message {
    font-size: 18px;
}
.bootstrap-dialog.type-default .modal-header {
    background-color: #fff;
}
.bootstrap-dialog.type-info .modal-header {
    background-color: #5bc0de;
}
.bootstrap-dialog.type-primary .modal-header {
    background-color: #428bca;
}
.bootstrap-dialog.type-success .modal-header {
    background-color: #5cb85c;
}
.bootstrap-dialog.type-warning .modal-header {
    background-color: #f0ad4e;
}
.bootstrap-dialog.type-danger .modal-header {
    background-color: #d9534f;
}
.bootstrap-dialog .bootstrap-dialog-button-icon {
    margin-right: 3px;
}

/**
 * Icon animation
 * Copied from font-awesome: http://fontawesome.io/
 **/
.icon-spin {
    display: inline-block;
    -moz-animation: spin 2s infinite linear;
    -o-animation: spin 2s infinite linear;
    -webkit-animation: spin 2s infinite linear;
    animation: spin 2s infinite linear;
}
@-moz-keyframes spin {
    0% {
    -moz-transform: rotate(0deg);
}
100% {
    -moz-transform: rotate(359deg);
}
}
@-webkit-keyframes spin {
    0% {
    -webkit-transform: rotate(0deg);
}
100% {
    -webkit-transform: rotate(359deg);
}
}
@-o-keyframes spin {
    0% {
    -o-transform: rotate(0deg);
}
100% {
    -o-transform: rotate(359deg);
}
}
@-ms-keyframes spin {
    0% {
    -ms-transform: rotate(0deg);
}
100% {
    -ms-transform: rotate(359deg);
}
}
@keyframes spin {
    0% {
    transform: rotate(0deg);
}
100% {
    transform: rotate(359deg);
}
}
/** End of icon animation **/
body.modal-open > *:not(.bootstrap-dialog) {
  -ms-filter: blur(5px);
  -webkit-filter: blur(5px);
  filter: blur(5px); }

body.modal-open .select2-container {
  -ms-filter: blur(0px);
  -webkit-filter: blur(0px);
  filter: blur(0px);
  z-index: 713; }

.modal.bootstrap-dialog {
    z-index: 713 !important;
    /*z-index: 720 !important;*/
}

.rtl-dialog .modal-content {
  top: 0px;
  direction: rtl;
  z-index: 20000; }
  .rtl-dialog .modal-content .modal-footer button {
    float: left; }

.outline-dialog .modal-header {
  background: none !important;
  background-color: white !important;
  border-bottom: solid medium;
  direction: rtl;
  text-align: right; }

.outline-dialog .bootstrap-dialog-title {
  color: inherit; }

.outline-dialog.type-success .modal-header {
  border-bottom-color: #34A853;
  color: #34A853; }

.outline-dialog.type-danger .modal-header {
  border-bottom-color: #EA4335;
  color: #EA4335; }

.outline-dialog.type-info .modal-header {
  border-bottom-color: #4285F4;
  color: #4285F4; }

.outline-dialog.type-warning .modal-header {
  border-bottom-color: #FBBC05;
  color: #FBBC05; }

.outline-dialog.type-neutral .modal-header {
  border-bottom-color: #34495E;
  color: #34495E; }

.fill-dialog .modal-content {
  border-radius: 10px;
  font-family: Vazir; }
  .fill-dialog .modal-content .modal-header {
    border-bottom: none !important;
    direction: rtl;
    text-align: right;
    background: inherit;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 50px;
    font-family: Vazir;
    font-size: 15px !important;
    text-align: center;
    padding: 11px 0px 15px 0px; }
    .fill-dialog .modal-content .modal-header .bootstrap-dialog-header::before {
      border: none !important; }
    .fill-dialog .modal-content .modal-header .bootstrap-dialog-close-button {
      position: absolute;
      left: 19px;
      top: 17px; }
      .fill-dialog .modal-content .modal-header .bootstrap-dialog-close-button .close {
        opacity: 1;
        color: white; }
  .fill-dialog .modal-content .modal-body {
    background: white;
    min-height: 100px; }
  .fill-dialog .modal-content .modal-footer {
    background: #F3F3F3;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    height: 50px;
    padding: 7px 0px 7px 15px; }
  .fill-dialog .modal-content .bootstrap-dialog-title {
    color: white; }

.fill-dialog.type-success .modal-content {
  background: #34A853; }

.fill-dialog.type-danger .modal-content {
  background: #EA4335; }

.fill-dialog.type-info .modal-content {
  background: #4285F4; }

.fill-dialog.type-warning .modal-content {
  background: #FBBC05; }

.fill-dialog.type-neutral .modal-content {
  background: #34495E; }

.image-preview-dialog .modal-body {
  min-width: 200px;
  min-height: 200px;
  background: #000000;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px; }
  .image-preview-dialog .modal-body img {
    width: 100%;
    height: auto; }

.image-preview-dialog .modal-footer {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  background: #000000;
  color: white;
  font-family: Vazir;
  text-indent: 20px;
  text-align: right;
  font-style: italic; }

.frame-content-dialog {
  background: rgba(51, 51, 51, 0.59); }
  .frame-content-dialog .frame-waiting {
    position: absolute;
    font-size: 70px;
    color: gray;
    right: 42%;
    top: 33%; }
  .frame-content-dialog .modal-body {
    background: #CCCCCC;
    padding: 0px;
    height: 310px;
    overflow-y: auto; }

.modal-backdrop {
    box-shadow: inset 0 0 0 3000px #000000;
    box-shadow: inset 0 0 0 3000px rgba(0, 0, 0, 0.9);
    -webkit-filter: blur(20px);
    -moz-filter: blur(15px);
    -ms-filter: blur(15px);
    filter: blur(15px);
    opacity: 0.95;
    /*z-index: 720 !important;*/
    z-index: 713 !important;
}


.modal-header {
  padding-bottom: 20px !important;
  border-bottom-style: solid !important;
  border-bottom-width: thin !important;
  position: relative; }
  .modal-header {
    font-size: 20px; }

.bootstrap-dialog-header:before {
  content: "";
  position: absolute;
  border-bottom: solid thin;
  border-bottom-color: inherit;
  bottom: 0;
  right: 0;
  z-index: 1;
  width: 100%; }

.modal-body {
  position: static; }
  .modal-body, .modal-body * {
    font-size: 12px !important; }

.modal-content .DialogSidebar {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  background: red; }

@media (max-width: 992px) {
  .modal-content .DialogSidebar {
    position: relative; } }

.bootstrap-dialog-footer {
  font-family: 'Vazir' !important; }

@media (min-width: 1200px) {
  .size-wide .modal-lg {
    width: 1200px; } }

.modal-banner {
  z-index: 100;
  background: transparent;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  margin: 10px;
  clear: both;
  transition-property: all;
  bottom: 0px;
  right: 0px; }
  .modal-banner.banner-show {
    visibility: visible;
    opacity: 1; }
  .modal-banner .modal-body {
    background-color: inherit;
    min-height: 50px;
    min-width: 350px;
    width: 350px;
    padding: 10px;
    border-radius: 5px; }
    .modal-banner .modal-body .banner-message {
      margin-top: 5px;
      float: right;
      width: auto;
      text-align: right;
      font-family: Vazir;
      font-weight: normal;
      color: white; }
    .modal-banner .modal-body .banner-button {
      margin-top: 3px;
      float: left;
      border-radius: 5px;
      border: none;
      text-align: center;
      font-family: Vazir;
      font-weight: normal;
      font-size: 12px;
      height: 25px;
      min-width: 60px; }
  .modal-banner.type-success .modal-body {
    background-color: #34A853;
    box-shadow: 0px 5px 7px #71c287; }
    .modal-banner.type-success .modal-body .banner-button {
      color: #34A853;
      background-color: #ebf6ee; }
  .modal-banner.type-danger .modal-body {
    background-color: #EA4335;
    box-shadow: 0px 5px 7px #f07b72; }
    .modal-banner.type-danger .modal-body .banner-button {
      color: #EA4335;
      background-color: #fdeceb; }
  .modal-banner.type-info .modal-body {
    background-color: #4285F4;
    box-shadow: 0px 5px 7px #7baaf7; }
    .modal-banner.type-info .modal-body .banner-button {
      color: #4285F4;
      background-color: #ecf3fe; }
  .modal-banner.type-warning .modal-body {
    background-color: #FBBC05;
    box-shadow: 0px 5px 7px #fcd050; }
    .modal-banner.type-warning .modal-body .banner-button {
      color: #FBBC05;
      background-color: #fff8e6; }
  .modal-banner.type-neutral .modal-body {
    background-color: #34495E;
    box-shadow: 0px 5px 7px #71808e; }
    .modal-banner.type-neutral .modal-body .banner-button {
      color: #34495E;
      background-color: #ebedef; }


