﻿body {
  height: 100%;
  margin: 0px;
  padding: 0px;
}
.content-top .preview {
  text-align: center;
  display: block;
  width: 100%;
}
.content-top .preview span {
  position: absolute;
  background-color: red;
  color: #FFF;
  padding: 15px;
}
.text-center {
  text-align: center;
}
.element > span.img {
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  max-width: 100%;
}
.qz-step-items .items {
  overflow: hidden;
}
.qz-step-items .items .item {
  float: left;
}
.qz-step-items .items .item button {
  padding: 0px;
}
.qz-step-items .items .item span.img {
  display: block;
}
body.qz-body .main.qz-flex {
  display: flex;
  gap: 12px;
  flex-direction: column;
}
body.qz-body .main.qz-flex .element.buttons {
  position: static;
}
body.qz-body .main.qz-flex .top1 {
  flex: auto;
}
body.qz-body .main.qz-flex .top1 .img {
  height: 100%;
}
body.qz-body .main.qz-flex .top2 {
  flex: auto;
}
body.qz-body .main.qz-flex .top2 .img {
  height: 100%;
}
.qz-step-item.qz-step-item-disable .qz-answer .qz-letter {
  position: relative;
  overflow: hidden;
}
.qz-step-item.qz-step-item-disable .qz-answer .qz-letter input {
  background-color: #d3d3d3;
}
.qz-step-item.qz-step-item-disable .qz-answer .qz-letter::before {
  content: ' ';
  position: absolute;
  z-index: 1;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
}
.qz-step-item .qz-answer-letters > div {
  overflow: hidden;
}
.qz-step-item .qz-answer-letters > div:nth-child(1n+2) {
  margin-bottom: 15px;
}
.dialogwindow {
  padding: 0px;
}
.dialogwindow > .head {
  background-color: transparent;
  background-repeat: no-repeat;
}
.dialogwindow > .body {
  padding: 15px;
  width: 100%;
  font-weight: bold;
}
.dialogwindow .dialog-logo {
  position: absolute;
  width: 100px;
  height: 100px;
  left: -15px;
  top: -15px;
  background-size: contain;
  background-repeat: no-repeat;
}
#messages-wrapper {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  width: 100%;
}
#messages-wrapper > div {
  padding: 15px;
  background-color: #28a745;
  text-align: center;
}
#messages-wrapper > div.error {
  padding: 15px;
  background-color: #dc3545;
}