body {
  background-color: #fcfcfc;
}
.pagetitle {
  color: #800080;
}
.header-container {
  padding-top: 10px;
}
.alert-msg {
  color: #c00;
}
.info-msg {
  margin-top: 20px;
}
.btn-amp {
  background-color: #e69e3d;
  border-color: #e69e3d;
  color: white;
}
.main-container {
  border: 2px solid #ccc;
  padding: 15px;
  border-radius: 10px;
}
.dl-link:hover {
  text-decoration: none;
}

/* web app */
#results {
  border-collapse: collapse;
  font-size: 80%;
}

/*#results table {
	width: 100px;
}*/

#results td,
#results th {
  padding-right: 15px;
}
#results th {
  padding-top: 12px;
  padding-bottom: 12px;
}
#results tr:nth-child(even) {
  background-color: #f2f2f2;
}
/*results tr:hover{*/
/*background-color: #ddd;*/
/*}*/

/* end of web app */

/* Spinner css */
.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #e69e3d;
  width: 180px;
  height: 180px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.btn {
  background-color: #ff5100 !important;
  color: white !important;
}
#wrapper,
#wrapper2 {
  width: 1000px !important;
  overflow: auto !important; /* will contain if #first is longer than #second */
}
#first,
#third {
  width: 500px !important;
  float: left !important; /* add this */
}
#fourth,
#second {
  overflow: hidden !important; /* if you don't want #second to wrap below #first */
  height: 300px !important;
}
#results {
  overflow-y: scroll;
  height: 300px;
  overflow-x: scroll;
  width: 500px;
  display: block;
}
#additionalParams {
  color: #006373 !important;
  text-decoration: underline;
  cursor: pointer;
}
.separator {
  height: 20px !important;
  display: block !important;
}
/*INITIALLY INVISIBLE */
.modifyMainParamsButton {
  display: none;
}
h1:before,
h2:before,
h3:before {
  content: "/";
  color: #ff5100;
  padding-right: 15px;
}
h1,
h2,
h3 {
  font-weight: bold !important;
}
#homeButton {
  color: #006373;
  background-color: white !important;
}
#homeButton:hover {
  background-color: #006373 !important;
  color: white !important;
}

/* UPLOAD FORM */
/* frame size*/
.files input {
  outline: 2px dashed #92b0b3;
  outline-offset: -10px;
  -webkit-transition: outline-offset 0.15s ease-in-out,
    background-color 0.15s linear;
  transition: outline-offset 0.15s ease-in-out, background-color 0.15s linear;
  text-align: center !important;
  padding: 120px 0px 140px 30%;
  margin: 0;
  width: 100% !important;
}

/*.color input{ background-color:#f1f1f1;}*/

/* cadre */
.files input:focus {
  outline: 2px dashed #92b0b3;
  outline-offset: -10px;
  -webkit-transition: outline-offset 0.15s ease-in-out,
    background-color 0.15s linear;
  transition: outline-offset 0.15s ease-in-out, background-color 0.15s linear;
  border: 1px solid #92b0b3;
}

.files {
  position: relative;
}

/* PROGRESS BAR */
.progress {
  height: 3rem !important;
}

/* TABLES */
#releases_table {
  font-family: Arial, Helvetica, sans-serif;
  color: #333333 !important;
  border-collapse: collapse;
  width: 100%;
}

#releases_table td,
#releases_table th {
  border: 1px solid #ddd;
  padding: 3px;
}

#releases_table tr:nth-child(even) {
  background-color: #f2f2f2;
}

#releases_table tr:hover {
  background-color: #ddd;
}

#releases_table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #ff5100;
  color: white;
}

#components_table {
  font-family: Arial, Helvetica, sans-serif;
  color: #333333 !important;
  border-collapse: collapse;
  width: 100%;
}

#components_table td,
#components_table th {
  border: 1px solid #ddd;
  padding: 8px;
}

#components_table tr:nth-child(even) {
  background-color: #f2f2f2;
}

#components_table tr:hover {
  background-color: #ddd;
}

#components_table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #ff5100;
  color: white;
}

#options_table {
  font-family: Arial, Helvetica, sans-serif;
  color: #333333 !important;
  border-collapse: collapse;
  width: 100%;
}

#options_table td,
#options_table th {
  border: 1px solid #ddd;
  padding: 8px;
}

#options_table tr:nth-child(even) {
  background-color: #f2f2f2;
}

#options_table tr:hover {
  background-color: #ddd;
}

#options_table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #ff5100;
  color: white;
}

#validated_components_table {
  font-family: Arial, Helvetica, sans-serif;
  color: #333333 !important;
  border-collapse: collapse;
  width: 100%;
}

#validated_components_table td,
#validated_components_table th {
  border: 1px solid #ddd;
  padding: 8px;
}

#validated_components_table tr:nth-child(even) {
  background-color: #f2f2f2;
}

#validated_components_table tr:hover {
  background-color: #ddd;
}

#validated_components_table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #ff5100;
  color: white;
}

#release_check_components_table {
  font-family: Arial, Helvetica, sans-serif;
  color: #333333 !important;
  border-collapse: collapse;
  width: 100%;
}

#release_check_components_table td,
#release_check_components_table th {
  border: 1px solid #ddd;
  padding: 8px;
}

#release_check_components_table tr:nth-child(even) {
  background-color: #f2f2f2;
}

#release_check_components_table tr:hover {
  background-color: #ddd;
}

#release_check_components_table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #ff5100;
  color: white;
}

#reference_file_table {
  font-family: Arial, Helvetica, sans-serif;
  color: #333333 !important;
  border-collapse: collapse;
  width: 100%;
}

#reference_file_table td,
#reference_file_table th {
  border: 1px solid #ddd;
  padding: 8px;
}

#reference_file_table tr:nth-child(even) {
  background-color: #f2f2f2;
}

#reference_file_table tr:hover {
  background-color: #ddd;
}

#reference_file_table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #ff5100;
  color: white;
}

#existingFilesTable_reference_file {
  font-family: Arial, Helvetica, sans-serif;
  color: #333333 !important;
  border-collapse: collapse;
  width: 100%;
}

#existingFilesTable_reference_file td,
#existingFilesTable_reference_file th {
  border: 1px solid #ddd;
  padding: 8px;
}

#existingFilesTable_reference_file tr:nth-child(even) {
  background-color: #f2f2f2;
}

#existingFilesTable_reference_file tr:hover {
  background-color: #ddd;
}

#existingFilesTable_reference_file th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #ff5100;
  color: white;
}

#existingFilesTable_component_file {
  font-family: Arial, Helvetica, sans-serif;
  color: #333333 !important;
  border-collapse: collapse;
  width: 100%;
}

#existingFilesTable_component_file td,
#existingFilesTable_component_file th {
  border: 1px solid #ddd;
  padding: 8px;
  min-width: 150px; /* Set minimum column width */
}

#existingFilesTable_component_file tr:nth-child(even) {
  background-color: #f2f2f2;
}

#existingFilesTable_component_file tr:hover {
  background-color: #ddd;
}

#existingFilesTable_component_file th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #ff5100;
  color: white;
  min-width: 150px; /* Ensure header columns also have minimum width */
}

#existingFilesTableMain_component_file {
  font-family: Arial, Helvetica, sans-serif;
  color: #333333 !important;
  border-collapse: collapse;
  width: 100%;
}

#existingFilesTableMain_component_file td,
#existingFilesTableMain_component_file th {
  border: 1px solid #ddd;
  padding: 8px;
  min-width: 150px; /* Set minimum column width */
}

#existingFilesTableMain_component_file tr:nth-child(even) {
  background-color: #f2f2f2;
}

#existingFilesTableMain_component_file tr:hover {
  background-color: #ddd;
}

#existingFilesTableMain_component_file th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #ff5100;
  color: white;
  min-width: 150px; /* Ensure header columns also have minimum width */
}

th {
  cursor: pointer;
}

.modal-lg {
  max-width: 90vw;
}

.stylized-footer {
  position: fixed;
  top: 90vh;
  right: 8vw;
  width: max-content;
  display: flex;
  flex-wrap: nowrap;
  border-radius: 20px;
  background: rgba(255, 80, 0, 0.1);
}

.modal {
  overflow-y: auto;
}

.ck-editor__editable {
  min-height: 300px;
}

.validate_button {
  background-color: darkgreen !important;
  border-color: darkgreen !important;
}

.unvalidate_button {
  background-color: darkred !important;
  border-color: darkred !important;
}

#tools_table {
  font-family: Arial, Helvetica, sans-serif;
  color: #333333 !important;
  border-collapse: collapse;
  width: 100%;
}

#tools_table td,
#tools_table th {
  border: 1px solid #ddd;
  padding: 8px;
}

#tools_table tr:nth-child(even) {
  background-color: #f2f2f2;
}

#tools_table tr:hover {
  background-color: #ddd;
}

#tools_table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #ff5100;
  color: white;
}

.index-card {
  border: 1px solid #ddd;
  border-radius: 4px;
  height: 385px;
  width: 450px;
  margin: 0 auto;
}

.index-card-img-top {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.index-card-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.index-card-text {
  font-size: 1rem;
  line-height: 1.5;
}

section {
  margin-top: 10rem;
  margin-bottom: 10rem;
}

.card-body ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.index-card-container {
  max-width: 800px;
}

.index-row {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.a-index {
  color: inherit !important;
  text-decoration: none !important;
}

.a-index:hover {
  color: inherit !important;
  text-decoration: none !important;
}

.index-card:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
  transition: all 0.3s ease-in-out;
}

.index-card-body {
  max-width: 500px;
  margin: 0 auto;
}

.index-card-img {
  display: block;
  margin: 0 auto;
  max-width: 95%;
}

.truncate-cell {
  /* Adjust this width to your preference */
  max-width: 100px;
}

.truncate-cell .truncate-content {
  max-height: 80px; /* Set the maximum height you desire */
  overflow: hidden;
}

.truncate-cell .truncate-content:hover {
  max-height: none; /* Show full content on hover */
}

.table.table-bordered.mt-3 {
  border-collapse: collapse;
  width: 100%;
  max-height: calc(100vh - 350px); /* Adjust to fit within page height */
  overflow-y: auto; /* Enable vertical scrolling if content exceeds max height */
  display: block; /* Ensure proper scrolling behavior */
}

.table.table-bordered.mt-3 th,
.table.table-bordered.mt-3 td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.table.table-bordered.mt-3 th {
  background-color: #ff5100;
  color: white;
  font-weight: bold;
  position: sticky; /* Keep header visible while scrolling */
  top: 0;
  z-index: 1;
}

.table.table-bordered.mt-3 tr:nth-child(even) {
  background-color: #f2f2f2;
}

.table.table-bordered.mt-3 tr:hover {
  background-color: #ddd;
}

.email-button {
  width: 100px;
}

.non-sortable {
  cursor: default;
}

.badge {
  margin-bottom: 5px; /* Add spacing between stacked badges */
}

/* Add styles for sortable columns */
.sortable {
  cursor: pointer;
}

/* Remove pointer style for non-sortable columns */
.non-sortable {
  cursor: default;
}

/* Styles for emailModal */
#emailModal .modal-content {
  padding: 20px; /* Add padding for spacing */
}

#emailModal .modal-title {
  font-size: 1.5rem; /* Increase font size for title */
  font-weight: bold;
}

#emailModal .form-label {
  font-size: 1.2rem; /* Increase font size for labels */
  margin-bottom: 10px; /* Add spacing below labels */
}

#emailModal .form-control {
  font-size: 1rem; /* Increase font size for input fields */
  margin-bottom: 15px; /* Add spacing below input fields */
}

#emailModal .form-check-label {
  font-size: 1rem; /* Increase font size for checkboxes */
  margin-left: 5px; /* Add spacing between checkbox and label */
}

#emailModal #validation-models-input {
  height: 150px; /* Make the multiple select taller */
  font-size: 1rem; /* Increase font size for options */
}

#emailModal .modal-footer .btn {
  font-size: 1rem; /* Increase font size for buttons */
  padding: 10px 20px; /* Add padding for buttons */
}

.pointable {
  cursor: pointer;
}
