/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
 * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the top of the
 * compiled file, but it's generally better to create a new file per style scope.
 */

/* Rails 8 Propshaft doesn't process @import like Sprockets did. 
   These files should be linked individually in the layout if needed. */
/* @import "rails_bootstrap_forms.css"; */
/* @import "wind_turbines.css"; */
/* @import "comment.css"; */
/* @import "lps.css"; */
/* @import "damage_library.css"; */
/* @import "inspection_campaigns.css"; */
/* @import "ol.min.css"; */
/* @import "navigation_interne.css"; */
/* @import "imported_excels.css"; */
/* @import "compare2divs.css"; */
/* @import "react/DataViz.css"; */

.custom-select {
  width: auto;
  min-width: 110px;
}

.custom_dropdown-menu {
  position: absolute;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid #ccc;
  display: none;
  background: white;
  overflow-x: auto;
  max-height: 350px;
  width: 261px;
  white-space: nowrap;
  max-width: 500px;
}

.custom_dropdown-menu span {
  color: black;
  position: absolute;
  margin: 7px 0 0 36px;
}

.custom_dropdown-menu.open {
  display: block;
  background: white;
}

.custom_dropdown-menu label {
  display: flex;
  justify-content: start;
  align-items: center;
  cursor: pointer;
}

.custom_dropdown-menu a {
  white-space: nowrap;
}

.bolded_dt {
  font-weight: bold;
}

table.dataTable .custom_dropdown-menu input[type="checkbox"] {
  margin: 7px -16px 0px -16px;
  position: relative;
  right: 97px;
}

.help-toggle {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 1010;
  padding: 5px 5px 5px 5px;
  text-align: left;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  white-space: normal;
}

.nopadding {
  padding-left: 0 !important;
}

.btn-align {
  padding: 6px 12px;
  line-height: 1.42857143;
  vertical-align: middle;
}

.help-title {
  margin: 0;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  -webkit-border-radius: 5px 5px 0 0;
  -moz-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
}

.help-footer {
  margin: 0;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
  background-color: #f7f7f7;
  border-top: 1px solid #ebebeb;
  -webkit-border-radius: 5px 5px 0 0;
  -moz-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
}

.help_infos {
  padding: 19px;
  display: none;
  width: 400px;
}

.help_tip {
  background-color: #FFFFCC;
}

.no-editable-content {
  color: #999999;
}

div#error_explanation ul {
  list-style-type: none;
}

.square_tp_report_type {
  border: 1px solid;
  border-radius: 10%;
  background-color: #e6f2ff;
  width: 20px;
  /* min width so that "E" fits */
  min-width: 20px;
  display: inline-block;
  text-align: center
}

.square_tp_archived_report_type {
  border: 1px solid;
  border-radius: 40%;
  border-style: dotted;
  font-style: italic;
  background-color: #e6f2ff;
  width: 20px;
  /* min width so that "E" fits */
  min-width: 20px;
  display: inline-block;
  text-align: center
}

.square_report_type {
  border: 1px solid;
  border-radius: 10%;
  background-color: #e6f2ff;
  width: 16px;
  /* min width so that "E" fits */
  min-width: 16px;
  display: inline-block;
  text-align: center
}

.square_archived_report_type {
  border: 1px solid;
  border-radius: 40%;
  border-style: dotted;
  font-style: italic;
  background-color: #e6f2ff;
  width: 16px;
  /* min width so that "E" fits */
  min-width: 16px;
  display: inline-block;
  text-align: center
}

.soft_square_repair {
  border-radius: 30%;
}

/* for an ongoing Repair Campaign, color is different */
.square_current_repair {
  background-color: #f9ffe5;
  color: #ff8000;
}

/* Lock icon when an Comment is locked */
.locked_comment_icon {
  color: white;
  background-color: #707070;
}


.scale_for_3_tiles {
  color: black;
  width: 384px;
  text-align: center;
  border-left: 4px solid;
  border-bottom: 2px solid;
  border-right: 4px solid;
  margin-bottom: 10px;
}

/* Drone icon styling to match FontAwesome icons */
.drone-icon {
  width: 1.28571429em !important;
  height: 1.33333333em !important;
  display: inline-block;
  vertical-align: -15%;
  text-align: center;
  fill: currentColor;
}