.document {
  width: 90%;
  max-height: 100%;
}

.document-thumbnail {
  background-color: #fff;
}

.document-center-block {
  display: block;
  width: 50px;
}

.btn-delete-document {
 background-color: white; 
 color: black;
 border: 1px solid rgb(109, 109, 109);
}

.document-error-message {
  color:red;
}

.document-image-upload {
  width: fit-content;
  /*margin: 0px 20px 10px 20px;*/
  max-height: 250px;
  border-radius: 10px;
  border: 1px solid black;
  max-height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  min-height: 70px;
  min-width: 70px;
  /*margin-left: 14px;
  margin-bottom: 14px;*/
  margin: 7px 14px 7px 14px;
}

#containerDocumentImage {
  display: flex;
  align-items: center;
  max-height: 250px;
  max-height: fit-content;
}

.photo-image-container {
  margin: 0 auto;
  display: contents;
}

.containerIconAdd {
  font-size: 40px;
  opacity: 0.3;
}

.document-image-upload.image-blocked,
#containerDocumentImage.image-blocked {
  background-color: #e9ecef;
  border: 1px solid #ced4da;
}

.document-image-upload:not(.image-blocked):hover {
  border: 2px solid #66b0ff !important;
  cursor: pointer;
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

#btn-upload-image {
  display: none !important;
}

.btn-delete-image {
  margin-top: 0 ;
  padding: 0 5px;
  height: 25px;
  margin-right: 5px;
  position: sticky;
  z-index: 100;
}

.btn-delete-image:hover {
  background-color: rgb(248, 155, 155);
}

#something-modal .pdf-container {
  height: 80vh;
  text-align: center;
}

#something-modal .modal-content.txt-container {
  max-width: 100%; 
}

#something-modal .modal-dialog.with-document {
  height: 90%;
}

#something-modal .modal-content
#something-modal {
  height: 100%;
}

#something-modal .with-document.modal-content {
  height: 100%;
  width: 100%;
  max-width: 100%;
  min-width: 100%
}

#something-modal .document-container-modal.download {
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  background-color: #e9ecef;
  padding: 3px;
  text-align: center;
  align-items: center ;
  margin-bottom: 3px;
}

#something-modal .document-container-modal.download a:hover {
  text-decoration: none;
}

#something-modal .document-container-modal.download.multi {
  display: flex;
  flex-direction: row;
  /* height: auto; */
}

#something-modal .document-container-modal.download div.left {
  flex-grow: 1; 
  text-align: right; 
  padding-right: 10px;
}

#something-modal .document-container-modal.download div.right {
  flex-grow: 1; 
  text-align: left; 
  padding-left: 10px;
}

#something-modal .document-container-modal {
  height: 100%;
  width: 100%;
}

#something-modal .document-container-modal img {
  object-fit: contain;
  background-color: transparent;
  border-radius: 5px;
}

#something-modal .with-document {
  width: fit-content;
  max-width: fit-content;
}

#something-modal .iconRotate {
  width: 25px;
  height: 25px;
  background-color: #e9ecef;
  border: 1px solid rgb(109, 109, 109);
  border-radius: 2px;
  cursor: pointer;
  border-radius: .25rem;
}

#something-modal .iconRotate:hover {
  transform: scale(1.2);
}

/*#something-modal .iconRotate i:hover {
  transform: rotate(360deg);
  transition: all 1s ease;
}*/

#something-modal .modal-dialog.with-document {
  min-width: 80%;
  max-width: 80%;
}

#something-modal .with-document.modal-body {
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  height: 100%;
  justify-content: center;
  min-width: 100%;
  max-width: 100%;
}

#something-modal .custom-modal-body.with-document {
  overflow: hidden;
}

#something-modal .download {
  color: #007bff;
  text-decoration: none;
  background-color: transparent;
}

#something-modal .download:hover {
  cursor: pointer;
}

#container-docs-upload {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.import-documents-modal .modal-content,
.import-documents-modal .modal-body  { 
  min-width: 500px;
  /*min-height: 200px;*/
}

.document-container-modal {
  width: fit-content;
  margin:  0 auto;
  height: fit-content;
  max-height: fit-content;
  justify-items: center;
  display: grid;
}

.document-container-modal .container-file-txt {
  overflow: auto;
  text-align: left;
  width: 100%; 
}