#form-attachment-container {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--main-border-color);
}

#form-attachment-container .attachment-control-btn {
  font: normal normal bold 12px Lato;
  letter-spacing: 0px;
  color: var(--text-normal-button);
  cursor: pointer;
}

#form-attachment-container .attachment-control-btn.disabled-attachment-btn {
  cursor: not-allowed;
}

#form-attachment-container .attachment-retry-upload-label-btn {
  cursor: pointer;
  width: 20px;
  min-width: 20px;
  max-width: 20px;
  height: 20px;
  min-height: 20px;
  max-height: 20px;
  background: url(../img/attachmentIcon/retry-icon.svg);
  background-size: 20px 20px;
  background-position: center center;
  background-repeat: no-repeat;
  margin-right: 10px;
}

#form-attachment-container .attachment-retry-upload-label-btn:hover {
  background: url(../img/attachmentIcon/retry-icon.svg);
  background-size: 20px 20px;
  background-position: center center;
  background-repeat: no-repeat;
  margin-right: 10px;
}

#form-attachment-container .upload-download-row-container {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

#form-attachment-container .upload-download-row-container > * {
  margin: 0px 25px;
}

#form-attachment-container .upload-download-row-container > *:first-child {
  margin-left: 0px;
}

#form-attachment-container .upload-download-row-container > *:last-child {
  margin-right: 0px;
}

#form-attachment-container div.attachment-row-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

#form-attachment-container div.attachment-row-container:hover {
  background-color: var(--main-hover-cell);
}

#form-attachment-container div.attachment-row-container.disabled-hover {
  cursor: default;
}

#form-attachment-container div.attachment-row-container.disabled-hover:hover {
  background-color: unset;
}


#form-attachment-container div.thumbnail-img-name-container {
  display: flex;
  align-items: center;
  flex: 1;
}

#form-attachment-container .attachment-thumbnail,
#form-attachment-container .attachment-loading-icon {
  width: 54px;
  min-width: 54px;
  max-width: 54px;
  height: 54px;
  min-height: 54px;
  max-height: 54px;
  margin: 0px 10px 0px 0px;
}

#form-attachment-container .spin-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-color: #F5F5F7; */
  /* border: 1px solid var(--main-border-color); */
  /* border-radius: 5px; */
  width: 100%;
  height: 100%;
}

#form-attachment-container .attachment-loading-icon {
  padding: 3px 2px;
}

#form-attachment-container .attachment-thumbnail#image-attachment-icon {
  background: url(../img/commonIcon/attachment-image-icon.svg);
  background-size: 54px 54px;
  background-position: center center;
  background-repeat: no-repeat;
}

#form-attachment-container .attachment-thumbnail#video-attachment-icon {
  background: url(../img/commonIcon/attachment-video-icon.svg);
  background-size: 54px 54px;
  background-position: center center;
  background-repeat: no-repeat;
}

#form-attachment-container .attachment-thumbnail#pdf-attachment-icon {
  background: url(../img/commonIcon/attachment-pdf-icon.svg);
  background-size: 54px 54px;
  background-position: center center;
  background-repeat: no-repeat;
}

#form-attachment-container .attachment-thumbnail#default-attachment-icon {
  background: url(../img/commonIcon/attachment-default-icon.svg);
  background-size: 54px 54px;
  background-position: center center;
  background-repeat: no-repeat;
}

#form-attachment-container #attachment-list-container {
  margin-top: 20px;
  max-height: 300px;
  overflow-y: auto;
}

#form-attachment-container #attachment-list-container > * {
  margin: 10px 0px;
}

#form-attachment-container #attachment-list-container > *:first-child {
  margin-top: 0px;
}

#form-attachment-container #attachment-list-container > *:last-child {
  margin-bottom: 0px;
}

#form-attachment-container .attachment-label {
  font: normal normal bold 14px Lato;
  letter-spacing: 0px;
  color: #5A5F78;
  opacity: 1;
  word-break: break-all;
}

#form-attachment-container .attachment-size-label {
  margin-top: 4px;
  font: normal normal normal 12px Lato;
  letter-spacing: 0px;
  color: #8C8C91;
  opacity: 1;
}

#form-attachment-container .download-attachment-icon {
  width: 20px;
  min-width: 20px;
  max-width: 20px;
  height: 20px;
  min-height: 20px;
  max-height: 20px;
  background: url(../img/attachmentIcon/download-icon.svg);
  background-size: 20px 20px;
  background-position: center center;
  background-repeat: no-repeat;
  margin-right: 10px;
  cursor: pointer;
}

#form-attachment-container .remove-attachment-icon {
  width: 20px;
  min-width: 20px;
  max-width: 20px;
  height: 20px;
  min-height: 20px;
  max-height: 20px;
  background: url(../img/commonIcon/remove-icon.svg);
  background-size: 20px 20px;
  background-position: center center;
  background-repeat: no-repeat;
  margin-right: 10px;
  cursor: pointer;
}

#form-attachment-container .remove-attachment-icon:hover {
  width: 20px;
  min-width: 20px;
  max-width: 20px;
  height: 20px;
  min-height: 20px;
  max-height: 20px;
  background: url(../img/commonIcon/remove-icon_hover.svg);
  background-size: 20px 20px;
  background-position: center center;
  background-repeat: no-repeat;
}

#form-attachment-container .attachment-date-button-action-container {
  display: flex;
  align-items: center;
}

#form-attachment-container .upload-date-label {
  margin-right: 35px;
}

#form-attachment-container #upload-attachment-fail-icon {
  width: 32px;
  min-width: 32px;
  max-width: 32px;
  height: 32px;
  min-height: 32px;
  max-height: 32px;
  background: url(../img/commonIcon/exclamation-icon.svg);
  background-size: 32px 32px;
  background-repeat: no-repeat;
  background-position: center center;
}

#form-attachment-container .fail-upload-attachment-label {
  margin-right: 35px;
  color: var(--main-red-color);
}

#form-attachment-container div#todo-attachment-dropzone-mask {
  position: absolute;
  height: 100%;
  width: 100%;
  background: rgba(200, 240, 255, 0.5) 0% 0% no-repeat padding-box;
  display: flex;
  justify-content: center;
  align-items: center;
  font: normal normal bold 35px Lato;
  opacity: 1;
  color: #B9E1F0;
  letter-spacing: 0px;
}