*,
::after,
::before {
  box-sizing: border-box;
}

@font-face {
  font-family: "IRANSansWeb";
  src: url("./../font/IRANSansWeb.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "CENTAUR";
  src: url("./../font/CENTAUR.TTF");
  font-weight: normal;
  font-style: normal;
}

html,
body {
  font-family: "CENTAUR";
  height: 100% !important;
  width: 100% !important;
  padding: 0;
  margin: 0;
}

body {
  background-image: url("./../images/body-bg.jpg");
  background-repeat: no-repeat;
  position: relative;
  background-color: #191a1c;
  background-position: center;
  background-size: cover;
  display: flex !important;
  flex-direction: column;
  background-attachment: fixed;
  padding-top: 35px;
}

.text-center {
  text-align: center;
}

button,
div,
input,
textarea {
  font-family: "CENTAUR";
}

.page-title {
  position: fixed;
  width: 300px;
  margin: 0% auto;
  left: 0;
  right: 0;
  background: #202020;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5px 0;
  border-radius: 0px 0px 5px 5px;
  color: #fff;
  z-index: 10;
  top: 0;
}
.page-title p {
  margin: 0;
  margin-bottom: 5px;
}

.container {
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 17px;
  padding-right: 17px;
  height: 100%;
}
.container.has-error {
  display: flex;
  align-items: center;
  justify-content: center;
}

.alert-danger {
  background: red;
  padding: 10px 20px;
  color: #fff;
  width: 100%;
  text-align: center;
  border-radius: 6px;
  font-size: 24px;
}

.page-content {
  flex-shrink: 0 !important;
  height: 100%;
}

.upload-form {
  margin: auto;
  padding: 20px 0;
}

.form-container {
  width: 100%;
  display: flex;
  height: 100%;
  align-items: center;
  flex-direction: column;
}

.footer {
  margin-top: auto !important;
}

.footer .content {
  text-align: center;
  color: #fff;
  margin: 0;
  padding: 0;
  background: #202020;
  padding: 2px 10px;
  border-radius: 2px;
  display: inline-block;
}
.footer p {
  margin: 0;
}

.upload-form {
  width: 100%;
  margin-bottom: 20px;
}

.custom-input {
  border: 0;
  padding: 0;
  width: 100%;
  outline: none;
  resize: vertical;
  display: block;
  appearance: none;
  text-align: center;
  font-size: 16px;
  margin: 0;
  padding: 11px;
  border-radius: 34px;
  background: #f9f9fc;
  padding-right: 20px;
  margin-bottom: 10px;
}
.custom-input.hide {
  display: none;
}
.upload-form input[type="file"] {
  display: none;
}

.action-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.action-wrapper .submit-button {
  display: block;
  cursor: pointer;
  background: #64bf1b;
  color: #fff;
  transition: 0.3s;
  border-radius: 34px;
  height: 100%;
  font-size: 17px;
  padding: 10px 30px;
  border: 0;
  box-shadow: 0px 0px 20px 0px #585858;
}
.action-wrapper .submit-button:disabled {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
  opacity: 1;
  pointer-events: none;
}

.action-wrapper .submit-button:hover {
  background: #49940c;
}

hr.main-wrapper {
  margin-top: 30px;
  margin-bottom: 20px;
  border-color: #cddc392b;
}

.text-info {
  text-align: center;
  background: #202020;
  display: block;
  padding: 10px 30px;
  border-radius: 23px;
  color: #fff;
  margin-left: 10px;
}
.text-info.hide {
  display: none;
}

.custom-input-group .submit-button i {
  font-size: 18px;
}

.fileuploader {
  padding: 0;
}

.text-title {
  color: #455168;
}

.pie_progress {
  text-align: center;
  position: relative;
  transform-style: preserve-3d;
}
.pie_progress svg {
  margin: 0 auto;
}
.pie_progress__content,
.pie_progress__number,
.pie_progress__label,
.pie_progress__icon {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.pie_progress__number {
  font-size: 25px;
}
.pie_progress__label {
  margin-top: 32px;
  font-size: 12px;
}

body.preloader::after {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1000;
  top: 0;
  left: 0;
  content: " ";
  backdrop-filter: blur(2px);
}

.text-success {
  color: #43d084;
  text-align: center;
  margin-top: 21px;
  font-weight: bold;
  font-size: 20px;
}
.text-danger {
  color: #f6160a;
  text-align: center;
  margin-top: 21px;
  font-weight: bold;
  font-size: 20px;
}

.loader {
  filter: blur(0);
  z-index: 1001;
  position: absolute;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  height: 100%;
}
.loader-content {
  width: 200px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 1px 1px 10px #ddd;
  border-radius: 10px;
  flex-direction: column;
  position: relative;
}

#upload-file-meta {
  font-size: 14px;
}

.circle {
  position: relative;
}
.circle strong {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  text-align: center;
  line-height: 40px;
  font-size: 20px;
}
.btn-primary {
  margin-top: 15px;
  background-size: 140% auto;
  background-position: center;
  color: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  background: #9658fe;
  background: -moz-linear-gradient(45deg, #3a8ffe 0, #9658fe 100%);
  background: -webkit-linear-gradient(45deg, #3a8ffe 0, #9658fe 100%);
  background: linear-gradient(-135deg, #3a8ffe 0, #9658fe 100%);
  border: 0;
  padding: 10px 30px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 15px;
}

.btn-primary:hover {
  background-position: right;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translate3d(0, -2px, 0);
}

.spin-loader {
  width: 48px;
  height: 48px;
  border: 3px solid #000;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
.spin-loader::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid;
  border-color: #ff3d00 transparent;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.fileuploader {
  background: transparent !important;
}

.fileuploader .is-hidden {
  display: none !important;
}

.fileuploader-items {
  direction: ltr;
}

/* input & items size */
.fileuploader-theme-gallery .fileuploader-input,
.fileuploader-theme-gallery .fileuploader-items-list .fileuploader-item {
  position: relative;
  display: inline-block;
  padding: 0;
  vertical-align: top;
  margin: 16px 0 0 16px;
  width: 24.66666667%;
  width: calc(24.66666667% - 16px);
}

/* input */
.fileuploader-theme-gallery .fileuploader-input-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 200px;
  border: 2px dashed #d5d9e0;
  text-align: center;
  color: #f6f8fb;
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px;
  user-select: none;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.fileuploader-theme-gallery .fileuploader-input-inner .fileuploader-icon-main {
  font-size: 34px;
  margin-bottom: 8px;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.fileuploader-theme-gallery .fileuploader-input-inner:hover {
  border-color: #b8beca;
  background: #202020;
  box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.05);
}
.fileuploader-input-inner span {
  font-size: 17px;
}
.fileuploader-theme-gallery .fileuploader-input-inner:hover .fileuploader-icon-main {
  margin-bottom: 14px;
}
.fileuploader-theme-gallery .fileuploader-input-inner:active,
.fileuploader-theme-gallery .fileuploader-dragging .fileuploader-input-inner {
  background: #202020;
}
.fileuploader-theme-gallery .fileuploader-input-inner:active .fileuploader-icon-main,
.fileuploader-theme-gallery
  .fileuploader-dragging
  .fileuploader-input-inner
  .fileuploader-icon-main {
  margin-bottom: 4px;
}

/* items */
.fileuploader-theme-gallery .fileuploader-items .fileuploader-items-list {
  display: flex;
  flex-wrap: wrap;
  margin: -16px 0 0 -16px;
}
.fileuploader-theme-gallery .fileuploader-items .fileuploader-item {
  border-bottom: 0;
}
.fileuploader-theme-gallery .fileuploader-items .fileuploader-item:last-child {
  margin-bottom: 0;
}
.fileuploader-theme-gallery .fileuploader-items .fileuploader-item-inner {
  height: 100%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  z-index: 1;
}
.fileuploader-theme-gallery .fileuploader-item-inner .thumbnail-holder {
  position: relative;
  width: 100%;
  padding-top: 90%;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
}
.fileuploader-theme-gallery .fileuploader-items-list .fileuploader-item-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  border-radius: 0;
  overflow: hidden;
}
.fileuploader-theme-gallery .thumbnail-holder .fileuploader-item-icon {
  border-radius: 0;
  font-size: 34px;
  background-size: 30%;
}
.fileuploader-theme-gallery .fileuploader-items .fileuploader-item .fileuploader-action-popup {
  border-radius: 0;
  z-index: 1;
}
.fileuploader-theme-gallery .fileuploader-item .actions-holder {
  position: absolute;
  top: 10px;
  right: 0;
  width: 100%;
  height: 20px;
  padding: 0 6px;
  z-index: 2;
  text-align: left;
}
.fileuploader-theme-gallery .fileuploader-items .fileuploader-item .fileuploader-action {
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
.fileuploader-theme-gallery
  .fileuploader-items
  .fileuploader-item
  .fileuploader-action
  + .fileuploader-action {
  margin-left: 8px;
}

.fileuploader-theme-gallery .fileuploader-item-inner .content-holder {
  padding: 0px 8px;
  text-align: center;
}
.fileuploader-theme-gallery .fileuploader-item-inner .content-holder h5 {
  width: 100%;
  margin: 0;
  color: #35354f;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.fileuploader-theme-gallery .fileuploader-item-inner .content-holder span {
  font-size: 14px;
  color: #999a9f;
}
.fileuploader-theme-gallery .fileuploader-item .type-holder {
  position: absolute;
  top: 100%;
  right: -4px;
  width: 32px;
  height: 32px;
  margin-top: -24px;
  text-transform: uppercase;
  z-index: 1;
}

.fileuploader-theme-gallery .fileuploader-item .gallery-item-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 34px;
  margin: 8px 0 0;
  padding: 0;
  background: #fff;
  box-shadow: 1px 4px 12px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  overflow: hidden;
  z-index: 1;
}
.fileuploader-theme-gallery .fileuploader-item .gallery-item-dropdown a {
  display: block;
  padding: 10px 12px;
  min-width: 120px;
  color: #35354f;
  cursor: pointer;
  text-decoration: none;
}
.fileuploader-theme-gallery .fileuploader-item .gallery-item-dropdown a:hover {
  background: rgba(0, 0, 0, 0.03);
}
.fileuploader-theme-gallery .fileuploader-item .gallery-item-dropdown a:active {
  background: rgba(0, 0, 0, 0.05);
}

.fileuploader-theme-gallery .file-main-1 .fileuploader-item-inner {
  background: #789bec;
}
.fileuploader-theme-gallery .file-main-1 .fileuploader-item-inner .content-holder h5 {
  color: #fff;
}
.fileuploader-theme-gallery .file-main-1 .fileuploader-item-inner .content-holder span {
  color: rgba(255, 255, 255, 0.8);
}

/* uploading */
.fileuploader-theme-gallery .fileuploader-items .fileuploader-item.upload-failed .thumbnail-holder {
  background: #db6868;
}
.fileuploader-theme-gallery
  .fileuploader-items
  .fileuploader-item.upload-failed
  .thumbnail-holder:after {
  content: "خطا!";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  font-weight: 700;
  color: #9e4c4c;
}
.fileuploader-theme-gallery .fileuploader-item .progress-holder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #454545;
  display: none;
  z-index: 1;
}
.fileuploader-theme-gallery .fileuploader-item .progress-holder span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  transform: translateX(-50%) translateY(-50%);
  z-index: 1;
}
.fileuploader-theme-gallery .fileuploader-item .progress-holder .fileuploader-progressbar {
  height: 100%;
  border-radius: 0;
}
.fileuploader-theme-gallery .fileuploader-item .progress-holder .fileuploader-progressbar .bar {
  width: 100%;
  height: 0;
  top: auto;
  bottom: 0;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.1);
}

/* sorter */
.fileuploader-theme-gallery .fileuploader-items .fileuploader-item.sorting {
  padding-top: 0;
  margin: 0;
}
.fileuploader-theme-gallery .fileuploader-sorter-placeholder {
  background: #f0f3f9;
  border-radius: 6px;
}

/* responsive */
@media all and (max-width: 1200px) {
  .fileuploader-theme-gallery .fileuploader-input,
  .fileuploader-theme-gallery .fileuploader-items-list .fileuploader-item {
    width: 25%;
    width: calc(25% - 16px);
  }
  .fileuploader-theme-gallery .fileuploader-input-inner {
    min-height: 200px;
  }
}
@media all and (max-width: 768px) {
  .fileuploader-theme-gallery .fileuploader-input,
  .fileuploader-theme-gallery .fileuploader-items-list .fileuploader-item {
    width: 33.33333333%;
    width: calc(33.33333333% - 16px);
  }
  .fileuploader-theme-gallery .fileuploader-input-inner {
    min-height: 200px;
  }
}
@media all and (max-width: 576px) {
  .fileuploader-theme-gallery .fileuploader-input,
  .fileuploader-theme-gallery .fileuploader-items-list .fileuploader-item {
    width: calc(30% - -6px);
  }
  .fileuploader-theme-gallery .fileuploader-input-inner {
    min-height: 120px;
  }
  .fileuploader-input-inner span {
    font-size: 14px;
  }
  .fileuploader-theme-gallery .fileuploader-item-inner .thumbnail-holder {
    padding-top: 96%;
  }
  .fileuploader-theme-gallery .fileuploader-item .type-holder {
    display: none;
  }
  .fileuploader-theme-gallery .fileuploader-item-inner .content-holder h5 {
    display: none;
  }
  .action-download {
    display: none !important;
  }
}

.fileuploader-popup .fileuploader-popup-node .reader-node.has-node-centered {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.fileuploader-popup .fileuploader-popup-node.astext .reader-node > div,
.fileuploader-popup .fileuploader-popup-node.audio .reader-node > audio,
.fileuploader-popup .fileuploader-popup-node.image .reader-node > img,
.fileuploader-popup .fileuploader-popup-node.video .reader-node > video {
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  color: #47525d;
  background: #fafafa;
  box-shadow: 0 0 18px rgb(0 0 0 / 40%);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  border-radius: 0;
}

.fileuploader-action-share {
  background: #3a8ffe !important;
  border-radius: 50%;
}
.fileuploader-action-share:hover {
  background: #166cdd !important;
}

.fileuploader-popup .fileuploader-popup-node.application .reader-node iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 3px;
}

@media only screen and (max-width: 600px) {
  .container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 7px;
    padding-right: 7px;
  }
  .fileuploader-theme-gallery .fileuploader-items .fileuploader-items-list {
    margin: -6px 0 0 -6px;
  }
  .fileuploader-theme-gallery .fileuploader-input,
  .fileuploader-theme-gallery .fileuploader-items-list .fileuploader-item {
    margin: 6px 0 0 6px;
  }
  .custom-input-group {
    flex-direction: column;
    border-radius: 20px;
    margin-bottom: 80px;
    position: relative;
  }
  .custom-input-group input {
    margin-bottom: 0;
    font-size: 14px;
  }
  .upload-form {
    margin: unset;
    padding-top: 25px;
  }
  .action-wrapper {
    flex-direction: column;
  }
  .text-info {
    font-size: 15px;
    margin-left: 0;
    margin: 0;
    margin-bottom: 7px;
  }

  .page-title p {
    margin: 0;
  }
  .main-wrapper {
    margin-bottom: 10px !important;
    margin-top: 10px !important;
  }
}

body.swal2-toast-shown .swal2-container.swal2-center {
  top: 60px !important;
}
