label.required:after {
  content: "*";
  color: red;
}

.select2 {
  width: 100% !important;
}

.btn-list {
  display: flex !important;
}

.btn-list .btn {
  display: flex !important;
  padding: 0 0.45rem !important;
  height: 38px !important;
  line-height: 1 !important;
  justify-content: center !important;
  align-items: center !important;
}

.dataTables_wrapper table.dataTable td {
  line-height: 1.3 !important;
}

.btn-delete {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 100;
  min-width: 25px !important;
  font-size: small !important;
  line-height: normal !important;
  padding: 0.25rem !important;
}

.btn-delete i {
  margin: 0 !important;
}

/* upload image */

.mwz-upload .upload-title {
  font-size: medium;
  font-weight: bold;
  line-height: normal;
  font-style: normal;
  margin-bottom: 0.5rem;
}

.mwz-upload .upload-warpper {
  position: relative;
  border: 1px solid rgba(107, 122, 144, 0.1);
  border-radius: 0.5rem;
  min-height: 340px !important;
  cursor: pointer;
  vertical-align: middle !important;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.mwz-upload .upload-image {
  margin: 0;
  width: 100%;
  height: 340px;
  padding: 1rem;
  position: relative;
}

.mwz-upload .upload-image .d-upload-image {
  position: absolute;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.mwz-upload .upload-image .d-upload-image i {
  font-size: 64px;
  line-height: normal;
}

.mwz-upload .upload-image .d-upload-image * {
  width: 100%;
  color: #6c757d !important;
  margin: 0 !important;
  font-weight: 600;
}

.mwz-upload .upload-image .d-upload-image img {
  max-height: 16rem !important;
  max-width: 100% !important;
}

.mwz-upload .input-upload {
  display: none;
}

.mwz-upload .btn-upload {
  top: 0.5rem;
  right: 0.5rem;
}

.mwz-upload .btn-upload {
  position: absolute;
  z-index: 100;
  display: inline-flex;
}

.mwz-upload .btn-upload .btn {
  min-width: 25px !important;
  font-size: small !important;
  line-height: normal !important;
  padding: 0.25rem !important;
  margin: 0 0.125rem !important;
}

.mwz-upload .btn-upload .btn i {
  margin: 0 !important;
}

.mwz-upload .btn-crop {
  position: absolute;
  z-index: 100;
}

.mwz-upload .btn-crop-scale {
  top: 0.5rem;
  left: 0.5rem;
}

.mwz-upload .btn-crop-scale .btn {
  min-width: 25px !important;
  font-size: small !important;
  line-height: normal !important;
  padding: 0.25rem !important;
}

.mwz-upload .btn-action {
  top: 0.5rem;
  right: 0.5rem;
  display: inline-flex;
  margin: 0 -0.125rem !important;
}

.mwz-upload .btn-action .btn {
  min-width: 25px !important;
  font-size: small !important;
  line-height: normal !important;
  padding: 0.25rem !important;
  margin: 0 0.125rem !important;
}

.mwz-upload .btn-group-zoom {
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.mwz-upload .btn-group-zoom .btn {
  min-width: 25px !important;
  font-size: small !important;
  line-height: normal !important;
  padding: 0.25rem !important;
}

.mwz-upload .btn-group-zoom .btn i {
  margin: 0 !important;
}

.mwz-upload .file-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
}

.mwz-upload .file-wrapper .label-upload-file {
  cursor: pointer;
  width: 100%;
  height: 100%;
  margin: 0;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mwz-upload .file-wrapper .upload-title {
  text-align: center;
  color: #2e2e2e;
}

.mwz-upload .file-wrapper .upload-title .fa {
  font-size: -webkit-xxx-large;
}

.mwz-upload .file-wrapper .upload-title .upload-text {
  font-size: x-large;
  font-weight: 400;
}

.mwz-upload .file-wrapper .label-upload-file:hover {
  background: #eeeeee;
}

.mwz-upload .file-wrapper .label-upload-file:hover .upload-title {
  color: #636363;
}

.mwz-upload .btn-group-cropper {
  bottom: 0.5rem;
  right: 0.5rem;
}

.mwz-upload .btn-group-cropper .btn {
  min-width: 25px !important;
  font-size: small !important;
  line-height: normal !important;
  padding: 0.25rem !important;
}

.mwz-upload .btn-group-cropper .btn i {
  margin: 0 !important;
}

.mwz-upload .cropper-image {
  width: 100% !important;
  height: 340px !important;
}

.mwz-upload .cropper-image .cropper-field {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  cursor: default;
}

.mwz-upload .cropper-image .cropper-container {
  width: 100% !important;
}

.mwz-upload .upload-info {
  position: absolute;
  z-index: 100;
  color: #6c757d !important;
  background: #fff;
  bottom: 0.5rem;
  left: 0.5rem;
  border: 1px solid rgba(107, 122, 144, 0.1);
  border-radius: 0.25rem;
  display: inline;
}

.mwz-upload .upload-info .info-detail {
  display: inline;
  font-size: smaller;
  padding: 0.25rem;
  border-right: 1px solid rgba(107, 122, 144, 0.1);
}

.mwz-upload .upload-info .info-detail .info-label {
  font-weight: bold;
  background-color: white;
  margin-right: 0.25rem;
}

.mwz-upload .upload-info .info-detail > span {
  line-height: 1.25;
}

.mwz-upload .upload-info .info-detail:last-child {
  border-right: none;
}

.mwz-upload .upload-cover {
  border: 1px solid rgba(107, 122, 144, 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
}

.mwz-upload .upload-cover .d-upload-cover {
  background-image: url(/assets/images/43.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  --aspect-w: 4;
  --aspect-h: 3;
  position: relative;
  z-index: 0;
  padding-bottom: calc(var(--aspect-h) / var(--aspect-w) * 100%);
}

.mwz-upload .upload-cover .d-upload-cover:has(img) {
  background-image: none;
}

.mwz-upload .upload-cover .d-upload-cover img {
  position: absolute !important;
  height: 96% !important;
  width: 98% !important;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  -o-object-fit: contain;
  object-fit: contain;
  border-radius: 0.5rem;
}

.mwz-upload .upload-cover .d-cover-title {
  border-top: 1px solid rgba(107, 122, 144, 0.1);
  font-size: medium;
  line-height: normal;
  color: #6c757d !important;
  text-align: center;
  padding: 0.5rem 0.25rem;
}

.mwz-upload .upload-cover .d-cover-input {
  display: none;
}

.btn-group .btn:first-child {
  border-left: 0;
}

.btn-group .btn {
  border-left: 1px solid rgb(245, 245, 245);
}

.btn-group-vertical .btn:first-child {
  border-top: 0;
}

.btn-group-vertical .btn {
  border-top: 1px solid rgb(245, 245, 245);
}

.mwz-dropify {
  margin-bottom: 1rem !important;
}

.mwz-dropify .dropify-title {
  font-size: medium;
  font-weight: bold;
  line-height: normal;
  font-style: normal;
  margin-bottom: 0.5rem;
}

.mwz-dropify .mwz-wrapper {
  position: relative;
  min-height: 300px !important;
  cursor: pointer;
  vertical-align: middle !important;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.mwz-dropify .mwz-wrapper .dropify-wrapper {
  min-height: 300px !important;
}

.mwz-dropify .mwz-wrapper .list-unstyled li {
  list-style: none !important;
  margin-bottom: 2rem !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 300px !important;
}

.mwz-dropify .mwz-wrapper .list-unstyled img {
  margin: 0 auto !important;
  max-width: 100% !important;
  max-height: 300px !important;
}

.mwz-dropify .mwz-wrapper .dropify-clear {
  line-height: 1 !important;
  font-size: medium !important;
  padding: 6px !important;
  border: 1px solid rgba(107, 122, 144, 0.1) !important;
  border-radius: 50rem !important;
  min-width: 31px !important;
}

.mwz-dropify .mwz-wrapper .dropify-clear:hover {
  background-color: red !important;
  color: white !important;
}

.mwz-dropify .dropify-info {
  position: absolute;
  z-index: 100;
  color: #6c757d !important;
  background: #fff;
  bottom: 0.5rem;
  left: 0.5rem;
  border: 1px solid rgba(107, 122, 144, 0.1);
  display: grid;
}

.mwz-dropify .dropify-info .info-detail {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  font-size: smaller;
  border-bottom: 1px dashed rgba(107, 122, 144, 0.1);
  padding: 0.125rem 0.25rem;
  text-transform: uppercase;
}

.mwz-dropify .dropify-info .info-detail .info-label {
  font-weight: bold;
  background-color: white;
  margin-right: 0.25rem;
}

.mwz-dropify .dropify-info .info-detail > span {
  line-height: 1.25;
}

.mwz-dropify .dropify-info .info-detail:last-child {
  border: none;
}

.loading-relative {
  min-height: 10rem;
}

.loading-relative .loading {
  position: absolute;
  z-index: 100;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  text-align: center;
  padding-top: 42%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.5);
}

table td {
  max-width: 300px !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
}

