﻿.upload__box {
  text-align: initial;
}

.upload__inputfile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.upload__btn-box p {
  color: #fff !important;
}

.upload__btn-box  label {
  cursor: pointer;
}

.upload__img-wrap {
  display: flex;
  flex-wrap: wrap;
  margin: 10px -10px 0;
  /**/
  transition: .2s;
}
.upload__img-box {
  /*width: 200px;*/
  /*padding: 0 10px;*/
  /*margin-bottom: 12px;*/
  /**/
  margin: 10px;
  width: 100%;
  max-width: 290px;
}
.upload__img-close {
  /*width: 24px;*/
  /*height: 24px;*/
  border-radius: 50%;
  background: var(--c-accent-primary);
  position: absolute;
  /*top: 10px;*/
  /*right: 10px;*/
  text-align: center;
  /*line-height: 24px;*/
  z-index: 1;
  cursor: pointer;
  /**/
  width: 30px;
  height: 30px;
  top: -13px;
  right: -13px;
  line-height: 29px

}
.upload__img-close:after {
  content: "✖";
  /*font-size: 14px;*/
  color: white;
  /**/
  font-size: 12px;
}

.img-bg {
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  /*background-size: cover;*/
  /*padding-bottom: 100%;*/
  /**/
  background-size: contain;
  padding-bottom: 66.6%;
}

/* ------ */
.button_outer { 
  background: var(--c-text-action);
  border-radius:8px; 
  display: inline-block; 
  transition: .2s; 
  position: relative; 
  overflow: hidden;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.btn_upload {
  padding: 0 1em; 
  color: #fff; 
  white-space: nowrap;
  cursor: pointer;
  background: var(--c-text-action);
  z-index: 6;
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 600;
}

.btn_upload input {
  position: absolute; 
  width: 100%; 
  left: 0; 
  top: 0; 
  width: 100%; 
  height: 105%; 
  cursor: pointer; 
  opacity: 0;
}

.file_uploading {
  width: 100%;
  max-width: 250px;
  /**/
  width: 100%; 
  height: 10px; 
  margin-top: 20px; 
  background: #ccc;
}

.file_uploading .btn_upload {
  display: none;
  background: transparent;
}

.processing_bar {
  position: absolute; 
  left: 0; 
  top: 0; 
  width: 0; 
  height: 100%; 
  border-radius: 30px; 
  background: var(--c-text-action);
  transition: all 3s ease-in-out;
  z-index: 4;
}

.file_uploading .processing_bar {
  width: 100%;
}

.success_box {
  display: none; 
  width: 50px; 
  height: 50px; 
  position: relative;
}

.success_box:before {
  content: ''; 
  display: block; 
  width: 9px; 
  height: 18px; 
  border-bottom: 6px solid #fff; 
  border-right: 6px solid #fff; 
  -webkit-transform:rotate(45deg); 
  -moz-transform:rotate(45deg); 
  -ms-transform:rotate(45deg); 
  transform:rotate(45deg); 
  position: absolute; 
  left: 17px; 
  top: 10px;
}

/* .file_uploaded .success_box {
  display: inline-block;
} */

.file_uploaded {
  margin-top: 0; 
  width: 0;
  background: transparent; 
  height: 0;
}

.uploaded_file_view {
  margin: 1rem 0;
  text-align: center;
  position: relative;
  transition: .2s;
  border: 2px solid #eff1f6;
  padding: 15px;
  /*border-radius: 8px;*/
  /**/
  display: none;
  border: none;
  padding: 0px;
  max-width: 290px;
  border-radius: 0;
}

.file_remove{
  width: 30px;
  height: 30px;
  padding: 9px 10px 10px 10px;
  border-radius: 100px;
  display: block;
  position: absolute;
  background: var(--c-accent-primary);
  line-height: 12px;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  right: -10px;
  top: -10px;
  /**/
  /*width: 30px; 
  height: 30px; 
  border-radius: 50%; 
  display: block;
  position: absolute; 
  background: var(--c-accent-primary); 
  line-height: 30px; 
  color: #fff; 
  font-size: 12px; 
  cursor: pointer; 
  right: -15px; 
  top: -15px;*/
}

.file_remove:hover {
  background: var(--c-accent-primary);
  transition: .2s;
}

.uploaded_file_view img {
  width: 100%;
  max-width: 290px;
  max-height: 200px;
  /**/
  /*max-width: 100%;*/
}

.uploaded_file_view.show {
  display: block;
  /**/
  /*opacity: 1;*/
}

.error_msg {
  /*display: none;*/
  /**/
  font-size: 12px;
  line-height: 12px;
  display: block;
  padding: 8px 15px;
  border-radius: 11px 0px 10px 0px;
  background: transparent;
  color: var(--c-text-error);
}

.text-initial {
  text-align: initial;
}

video {
  width: 300px;
  display: block;
  margin: 2rem 0;
}

.LblVideo {
  display: inline-block;
  background: var(--c-accent-primary);
  cursor: pointer;
  padding: 0 1em;
  height: 45px;
  border-radius: 8px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.LblVideo p {
  color: #fff !important;
}

.inpVideo {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.ql-container {
  height: 250px !important;
}

.select2-selection--multiple {
    overflow: hidden !important;
    height: auto !important;
}

.select2-container--default .select2-search--inline .select2-search__field {
    width: 500px !important;
}