.modalblazor-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: rgba(0,0,0,.8);
  opacity: 1;
}
.modalblazor {
    position: fixed;
    top: 10%;
    left: 50%;
    z-index: 1050;
    background-color: #ffffff;
    opacity: 1;
    border: 1px solid #999;
    *border: 1px solid #999;
    width: calc(100vw - 40px);
    max-width: min(600px, 90vw);
    transform: translateX(-50%);
    box-sizing: border-box;
    max-width: 100%;
    /* IE6-7 */

    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
    outline: none;
}

.modalblazor.modal-sm {
    max-width: min(400px, 90vw);
}

.modalblazor.modal-md {
    max-width: min(600px, 90vw);
}

.modalblazor.modal-lg {
    max-width: min(1000px, 90vw);
}

.modalblazor.fade {
  -webkit-transition: opacity .3s linear, top .3s ease-out;
  -moz-transition: opacity .3s linear, top .3s ease-out;
  -o-transition: opacity .3s linear, top .3s ease-out;
  transition: opacity .3s linear, top .3s ease-out;
  top: -25%;
}
.modalblazor.fade.in {
  top: 10%;
}
.modalblazor-header {
    padding-top: 25px;
    padding-left: 15px;
    padding-right: 15px;
    border-bottom: 1px solid #eee;
    background-color: #f5f5f5;
    border-radius: 6px 6px 0 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
}
.modalblazor-header .close {
  margin-top: 2px;
}
.modalblazor-header h3 {
  margin: 0;
  line-height: 30px;
}
.modalblazor-body {
  position: relative;
  overflow-y: hidden;
  /*max-height: 400px;*/
  padding: 15px;
}
.modalblazor-form {
  margin-bottom: 0;
}
.modalblazor-footer {
  padding: 14px 15px 15px;
  margin-bottom: 0;
  text-align: right;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  -webkit-border-radius: 0 0 6px 6px;
  -moz-border-radius: 0 0 6px 6px;
  border-radius: 0 0 6px 6px;
  -webkit-box-shadow: inset 0 1px 0 #ffffff;
  -moz-box-shadow: inset 0 1px 0 #ffffff;
  box-shadow: inset 0 1px 0 #ffffff;
  *zoom: 1;
}
.modalblazor-footer:before,
.modalblazor-footer:after {
  display: table;
  content: "";
  line-height: 0;
}
.modalblazor-footer:after {
  clear: both;
}
.modalblazor-footer .btn + .btn {
  margin-left: 5px;
  margin-bottom: 0;
}
.modalblazor-footer .btn-group .btn + .btn {
  margin-left: -1px;
}
.modalblazor-footer .btn-block + .btn-block {
  margin-left: 0;
}
.modalblazor-title {
    padding-bottom: 10px;
    margin-top: -10px;
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    flex-basis: auto;
}

@media (max-width: 767px) {
    .modalblazor {
        top: 20px;
    }

        .modalblazor.fade {
            top: -100px;
        }

            .modalblazor.fade.in {
                top: 20px;
            }
}


button.closeblazor {
    float: right;
    background-color: transparent;
    border: 0;
    appearance: none;
    font-size: 1.7rem;
    font-weight: 500;
    margin-top: -25px !important;
    order: 2;
    margin-left: auto;
    flex: 0 0 auto;
    width: auto;
    flex-basis: auto;
}
button.closeblazor:hover {
    font-weight: 700;
}
