﻿.attachments_list {
  display: inline-flex;
  flex-direction: column;
  width: 100%;
  padding: 10px;
}

.attachment_module_item {
  display: flex;
  margin-bottom: 10px;
  justify-content: space-between;
}
.attachment_item .form-control.input_text {
  font-weight: bold;
  color: #000;
  font-size: 13px;
  font-weight: bold;
}

.attachment_file {
  width: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
  justify-content: center;
  padding: 5px;
  outline: none;
  margin: 0 10px;
}

.attachment_file:hover {
  background-color: rgb(235, 235, 235);
}

.attachment_icon {
  margin-right: 5px;
  height: fit-content;
}

.attachment_file_name {
  margin: 0;
  cursor: pointer;
  outline: none;
  border: none;
}

.attachment_file_link,
.form-control[readonly].attachment_file_link {
  border: 0;
  box-shadow: none;
  -webkit-box-shadow: none;
  background-color: #fff;
  cursor: default;
  resize: none;
  font-size: 13px;
}

.attachment_file_details_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.attachment_name_input {
  display: block;
  width: 50%; 
  min-width: 50%;
}

.attachment_progress {
  height: fit-content;
  min-height: 20px;
  align-self: center;
  overflow: hidden;
  background-color: #f5f5f5;
  padding: 0.2em 0.5em;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.attachment_progress_error {
  display: flex;
  justify-content: space-between;
  align-self: center;
}

.attachment_progress_retry {
  color: #007f93;
  display: flex;
  outline: none;
}

.attachment_progress_retry > span {
  display: flex;
  height: auto;
  align-items: center;
  font-size: 0.8em;
  margin-left: 5px;
}

.attachments_new_button {
  width: 100%;
  padding: 5px;
  outline: none;
  border: none;
  background-color: #138598;
  color: white;
}

.attachments_new_button:hover {
  background-color: #0c6d77;
}

.attachment_file_size_error {
  color: red;
}

.upload_file_component {
  width: 100%;
  padding: 5px 8px;
  outline: none;
  box-shadow: none;
  margin-right: 10px;
}

.upload_file_component:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: #0c6d77 !important;
}

.horizontal_divider {
  height: 1px;
  width: 40%;
  background-color: rgb(235, 235, 235);
}

.attachment_or_link {
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: center;
  border-bottom: none !important;
}

.attachment_or_link:disabled {
  border: none;
}

.attachment_link {
}

.flex_container {
  display: flex;
}

.attachment_link_reset_button {
  padding: 5px;
  outline: none;
  border: none;
  background-color: transparent;
  color: #138598;
}

.attachment_link_reset_button:hover {
  background-color: rgba(235, 235, 235, 1);
}
.attachments_options {
  outline: none;
  border: none;
}
.attachments_options:hover {
  color: #0c6d77;
}
