#fme_upload_files_preview_product_file {
  display: block;
  list-style: none;
  margin: unset;
  margin-bottom: 6px;
}
#fme_upload_files_preview_cart_file {
  display: block;
  list-style: none;
  margin-bottom: 4px;
}
#fme_upload_files_iconpreview {
  width: 24px;
  display: -webkit-inline-box;
  cursor: pointer;
}
.fme_upload_files_iconpreviewcartpage {
  width: 13px;
  display: -webkit-inline-box;
  cursor: pointer;
}
.fme_upload_files_iconpreviewcheckoutpage,
.fme_upload_files_iconpreview_checkout_page {
  width: 13px;
  display: initial;
  cursor: pointer;
}
.fme_upload_files_img_thumbnail {
  width: 124px;
  cursor: pointer;
}
#fme_upload_files_order_row {
  font-size: 14px;
}
.fme_upload_files_iconpreviewcartpage {
  width: 13px;
  display: -webkit-inline-box;
  cursor: pointer;
}
#fme_accept_btn,
#fme_reject_btn,
.upload-file-status {
  display: none !important;
}
/* fmeuploadfile Upload Plugin */
.fmeuploadfile-upload-handler {
  border: 2px dashed #c5c5c5;
  border-radius: 5px;
  margin-bottom: 10px;
  position: relative;
}
.fmeuploadfile-upload-container {
  padding: 16px 20px;
}

.fmeuploadfile-upload-inner {
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
  /*text-align:center;*/
  text-overflow: ellipsis;
  font-weight: inherit;
}
.fme-upload-wrap .fmeuploadfile-upload-inner .cd-upload-btn {
  text-decoration: none;
  box-shadow: none;
  padding: 0 10px;
  color: #fff;
  background-color: #6d6d6d;
  border-radius: 3px;
}
.fmeuploadfile-upload-inner .fmeuploadfile-label {
  margin: 5px 0;
  line-height: 36px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fmeuploadfile-upload-inner .fmeuploadfile-label span.cd-separator {
  padding: 0 10px;
}
/* Add border on dragenter, drag etc */
.fmeuploadfile-dragover {
  border-color: #6b6a6a;
}

@media screen and (max-width: 767px) {
  .dnd-upload-status .dnd-upload-details .name em {
    font-weight: normal;
  }
  .dnd-upload-status .dnd-upload-details .name {
    padding-right: 60px;
  }
  .fmeuploadfile-upload-inner .fmeuploadfile-label {
    font-size: 16px;
  }
  .product-name {
    min-width: 120px;
  }

  .product-name .variation .variation-file1 p a img {
    min-width: 100px;
    height: auto;
  }
}

@media screen and (max-width: 400px) {
  .fmeuploadfile-upload-inner .fmeuploadfile-label {
    font-size: 15px;
  }
  .fmeuploadfile-label .cd-icon {
    display: none;
  }
}

.fileuploaderrormsg {
  color: #ff0000;
  padding: 5px 0;
  font-style: italic;
}

.fmeviewicons {
  font-size: 35px !important;
  color: black !important;
}

.upload-btn-wrapper {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.btn_upload {
  border: 2px solid gray;
  padding: 20px 20px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  border: 2px dotted #c5c5c5;
  border-radius: 5px;
  margin-bottom: 10px;
  position: relative;
  font-size: 15px;
}

.upload-btn-wrapper input[type="file"] {
  font-size: 100px;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}

.main_upload {
  border: 2px dashed #c5c5c5;
  border-radius: 5px;
  margin-bottom: 10px;
  position: relative;
}

.btn_upload .dashicons {
  margin-top: 2px;
}

.upload-btn-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 4px;
}

.btn_upload_new {
  border: 2px solid gray;
  color: gray;
  background-color: white;
  padding: 1px 10px;
  border-radius: 1px;
  font-size: 19px;
  font-weight: bold;
}

.upload-btn-wrapper input[type="file"] {
  font-size: 100px;
  position: absolute;
  left: 0;
  top: 0;
}

.upload_btn_for_products {
  margin-top: unset !important;
  box-sizing: border-box;
  margin: 0px 0px 0px 5px !important;
  max-height: 38px;
  text-decoration: none !important;
  cursor: pointer;
  display: inline;
}

.upload_btn_for_products * {
  cursor: pointer;
  max-height: inherit;
  max-width: inherit;
}

.fme_download {
  display: inline !important;
}

/* /////////////////////////////////////////////// ADDED BY SAQIB //////////////////////////////////// */

.fmelisteditem-upg {
  list-style: none;
}
.fmelisteditem-upg li {
  display: flex;
  display: -webkit-flex; /* Safari */
  display: -moz-flex; /* Firefox */
  display: -ms-flexbox; /* Internet Explorer 10 */
  display: -o-flex; /* Opera */
  align-items: center;
  justify-content: space-between;
}

.fmelisteditem-upg li div {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 18px;
}

.fmelisteditem-upg .fmelisteditem-icon {
  margin: 3px 5px;
}
.fme_delete_img {
  text-decoration: none !important;
}

.fmelisteditem-name-and-image .fmelisteditem-image {
  width: 80px;
  margin-right: 5px;
}

.fmelisteditem-name-and-image .fmelisteditem-image img {
  width: 100% !important;
}

/* main button designs  */

/* textarea design  */
.fme_customer_note_up {
  width: 100%;
}

/********************** MINIMALIST DESIGN **********************/
.fme-uploader-minimal {
  border: none;
  padding: 14px 0px !important;
}
.fme-uploader-minimal .upload-btn-wrapper {
  justify-content: flex-start;
}
.fme-uploader-minimal .Outer_upload {
  display: flex;
  flex-direction: column-reverse;
}
.fme-uploader-minimal .fmelisteditem-upg {
  margin-left: 0px;
}

/* button styles  */
.fme-upload-button-minimal {
  padding: 14px 22px;
  border: none;
}

/* upload requirements  */
.fme_upload_files_minimalist_info {
  padding: 0px;
  padding-bottom: 0px;
}

/* File uploader simplistic */
.fme-uploader-simplistic {
  border: none;
}

.fme-uploader-simplistic .btn_upload,
.fme-uploader-file-area-simplistic .btn_upload {
  background: transparent !important;
  color: #333 !important;
  border: none;
}

.fme-uploader-simplistic .upload-btn-wrapper {
  justify-content: flex-start;
}

.fme-uploader-simplistic .fmelisteditem-upg {
  margin-left: 0px;
}

/******************** POPUP DESIGN *******************/
.fme-file-uploader-popup-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 99999;
  display: none;
  overflow-y: auto;
}
.fme-file-uploader-popup-wrapper-active {
  display: block;
}

.fme-file-uploader-popup {
  width: 60%;
  margin: 50px auto;
  background: #fff;
  border-radius: 10px;
}

.fme-file-uploader-popup-header {
  display: flex;
  display: -webkit-flex; /* Safari */
  display: -moz-flex; /* Firefox */
  display: -ms-flexbox; /* Internet Explorer 10 */
  display: -o-flex; /* Opera */
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 2px solid rgb(230, 211, 211);
}

.fme-file-uploader-popup-header h4 {
  font-weight: bold;
  font-size: 18px;
  margin: 0px;
}

.fme-file-uploader-popup-close-btn {
  border: none;
  background: none;
  padding: 0px;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  display: flex;
  display: -webkit-flex; /* Safari */
  display: -moz-flex; /* Firefox */
  display: -ms-flexbox; /* Internet Explorer 10 */
  display: -o-flex; /* Opera */
  align-items: center;
  justify-content: center;
}

.fme-file-uploader-primary-btn {
  border: none;
  background: #333;
  color: #fff;
  transition: all 0.4s;
  border-radius: 4px;
  padding: 8px 15px;
}

.fme-file-uploader-primary-btn:hover {
  background: #444;
  color: #fff;
  transition: all 0.4s;
}

.fme-file-uploader-popup-body {
  padding: 30px 30px;
  max-height: 450px;
  overflow-y: auto;
}

.fme-file-uploader-popup-footer {
  padding: 15px;
  border-top: 1px solid #ccc;
}

/* uploader popup footer buttons  */
.fme-file-uploader-popup-footer-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fme-popup-uploader-row {
  width: 100%;
  background: transparent;
  display: flex;
  display: -webkit-flex; /* Safari */
  display: -moz-flex; /* Firefox */
  display: -ms-flexbox; /* Internet Explorer 10 */
  display: -o-flex; /* Opera */
  margin: 10px 0px;
  border-bottom: 1px solid rgb(204, 182, 182);
  padding-top: 10px;
  padding-bottom: 10px;
}

.fme-popup-uploader-upload-button {
  width: 20%;
}

.fme-popup-uploader-requirements {
  width: 50%;
  padding-left: 20px;
}
.fme-popup-uploader-requirements-heading {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: bold;
}
.fme-popup-uploader-requirements ul li {
  color: #8f8f8f;
}

.fme-popup-uploader-items {
  width: 30%;
}

.fme-popup-uploader-items .fmelisteditem-upg {
  margin: 0px;
}

/* file upload popup launcher button  */
.fme-file-upload-popup-button {
  width: max-content;
  padding: 10px;
  background: #333;
  border-radius: 5px;
  color: #fff;
  display: flex;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.fme-file-upload-popup-button:hover {
  background: #666;
  color: #fff;
}

/* product item row for popup  */

.fme-popup-footer-product-row {
  display: flex;
  margin: 15px 0px;
}

.fme-popup-footer-product-row-thumbnail {
  width: 20%;
  margin: 10px;
}

.fme-popup-footer-product-row-thumbnail img {
  width: 100px;
  margin: 0 auto;
  display: block;
}

.fme-popup-footer-product-row-info-heading {
  font-weight: bold;
  color: #333;
  font-size: 20px;
}

/* view icon for uploaded item  */
.fme-visibility-icon {
  color: #333;
  display: inline-block;
  margin: 0px 5px;
  text-decoration: none !important;
}

/* responsive design for popup form  */

@media only screen and (max-width: 1400px) {
  .fme-file-uploader-popup {
    width: 75%;
  }
}

@media only screen and (max-width: 1200px) {
  .fme-file-uploader-popup {
    width: 85%;
  }
}

@media only screen and (max-width: 1000px) {
  .fme-file-uploader-popup {
    width: 95%;
  }

  .fme-popup-uploader-row {
    flex-wrap: wrap;
  }

  .fme-popup-uploader-upload-button {
    width: 50%;
  }
  .fme-popup-uploader-requirements {
    width: 50%;
  }

  .fme-popup-uploader-items {
    flex-basis: 100%;
  }
}

@media only screen and (max-width: 600px) {
  .fme-popup-uploader-row {
    flex-direction: column;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
  }

  .fme-popup-uploader-upload-button {
    width: 100%;
  }
  .fme-popup-uploader-requirements {
    width: 100%;
  }

  .fme-popup-uploader-items {
    width: 100%;
    flex-basis: 100%;
  }

  /* product item row for popup  */

  .fme-popup-footer-product-row-thumbnail {
    width: 30%;
  }

  .fme-popup-footer-product-row-thumbnail img {
    width: 100px;
    margin: 1px;
  }

  .fme-popup-footer-product-row-info-heading {
    font-weight: bold;
    color: #333;
    font-size: 20px;
  }
}

/* cropper modal css  */

/******************** CROPPER POPUP DESIGN *******************/
.fme-file-cropper-popup-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 99999;
  display: none;
  overflow-y: auto;
}
.fme-file-cropper-popup-wrapper-active {
  display: block;
  z-index: 9999999999999999;
}

.fme-file-cropper-popup {
  width: 60%;
  margin: 50px auto;
  background: #fff;
  border-radius: 10px;
}

.fme-file-cropper-popup-header {
  display: flex;
  display: -webkit-flex; /* Safari */
  display: -moz-flex; /* Firefox */
  display: -ms-flexbox; /* Internet Explorer 10 */
  display: -o-flex; /* Opera */
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 2px solid rgb(230, 211, 211);
}

.fme-file-cropper-popup-header h4 {
  font-weight: bold;
  font-size: 18px;
  margin: 0px;
}

.fme-file-cropper-popup-close-btn {
  border: none;
  background: none;
  padding: 0px;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  display: flex;
  display: -webkit-flex; /* Safari */
  display: -moz-flex; /* Firefox */
  display: -ms-flexbox; /* Internet Explorer 10 */
  display: -o-flex; /* Opera */
  align-items: center;
  justify-content: center;
}

.fme-file-cropper-primary-btn {
  border: none;
  background: #333;
  color: #fff;
  transition: all 0.4s;
  border-radius: 4px;
  padding: 8px 15px;
  margin-left: 5px;
}

.fme-file-cropper-primary-btn:hover {
  background: #444;
  color: #fff;
  transition: all 0.4s;
}

.fme-file-cropper-popup-body {
  padding: 30px 30px;
  max-height: 450px;
  overflow-y: auto;
}

.fme-file-cropper-popup-footer {
  padding: 15px;
  border-top: 1px solid #ccc;
}

/* uploader popup footer buttons  */
.fme-file-cropper-popup-footer-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* fme file cropper view  */
.fme-file-cropper-view {
  width: 100%;
  display: flex;
  align-items: flex-start;
}

.fme-file-cropper-view-crop {
  width: 70%;
}

.fme-file-cropper-view-preview {
  width: 30%;
  text-align: center;
}

/* responsive design for popup form  */

@media only screen and (max-width: 1400px) {
  .fme-file-cropper-popup {
    width: 75%;
  }
}

@media only screen and (max-width: 1200px) {
  .fme-file-cropper-popup {
    width: 85%;
  }
}

@media only screen and (max-width: 1000px) {
  .fme-file-cropper-popup {
    width: 95%;
  }

  /* fme file cropper view  */
  .fme-file-cropper-view {
    flex-direction: column;
  }
  .fme-file-cropper-view-crop {
    width: 100%;
  }

  .fme-file-cropper-view-preview {
    width: 50%;
    text-align: center;
  }
}

@media only screen and (max-width: 600px) {
  /* fme file cropper view  */
  .fme-file-cropper-view {
    flex-direction: column;
  }
  .fme-file-cropper-view-preview {
    width: 250px;
    text-align: center;
  }
}

.fme-front-table-td a,
.fme-front-table-td button {
  text-align: center;
  display: block;
  margin: 3px auto;
}
