.dialog {
  display: none;
}

.mask {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .6);
}

.dialog .dialog-table {
  width: 70%;
  margin: 0 auto;
  background-color: transparent;
  position: fixed;
  display: table;
  z-index: 5000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  text-align: center;
  border-radius: 3px;
}

.dialog .dialog-img {
  width: 100%;
  max-height: 80vh;
}

.dialog .dialog-check {
  margin-top: 1rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #fff;
  font-size: 0.8rem;
}

.dialog .dialog-close {
  position: absolute;
  width: 20px;
  height: 20px;
  top: -10px;
  right: -10px;
  background-image: url('../../images/dialogclose.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 60%;
  background-color: rgb(217, 217, 217);
  border-radius: 50%;
}

.advice {
  height: 0.8rem;
  width: 0.8rem;
  display: inline-block!important;
  border: 2px solid #fff;
  margin:0 0.5rem 0 0!important;
  box-sizing: content-box;
}

input[type="checkbox"]:checked+.advice {
  background-image: url('../../images/pass.png');
  background-repeat: no-repeat!important;
  background-position: center center!important;
  background-size: 80%!important;
}