:root {
  --pearl-blue: #1c4c75;
  --light-pearl-blue: #f2f7fa;
  --pearl-green: #0fa884;
  --pearl-green-bg: #00ac82;
  --building-shell-color: #0ba884;
  --heating-cooling-color: #0099dd;
  --baseload-color: #ff3278;
  --home-management-color: #a551ba;
  --solar-color: #f37a00;
}

body {
  font-family: "Lato", sans-serif;
}

.form-check {
  padding-left: 0;
}

/* asterislField will replace the required class */
.asteriskField {
  color: #1e90ff;
  padding-left: 8px;
}

label[for="id_deliver_reminders_via_2"] {
  pointer-events: none;
  color: lightgrey;
}

.material-inputs [type="radio"]:not(:checked),
.material-inputs [type="radio"]:checked,
.material-inputs [type="checkbox"]:not(:checked),
.material-inputs [type="checkbox"]:checked {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

input.select2-search__field {
  height: 24px !important;
  margin-bottom: 0 !important;
}

.cursor-pointer {
  cursor: pointer;
}

.cursor-help {
  cursor: help;
}

.profile-picture {
  float: left;
  margin-right: 20px;
  margin-left: 20px;
}

.profile-picture img {
  border-radius: 100%;
  width: 50px;
  height: 50px;
}

/* force inline checkboxes to be inline as some styles in layout.css override that */
.form-check.form-check-inline {
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-align: center;
  align-items: center;
  padding-left: 0;
  margin-right: 0.75rem;
}

/* better default styles for bootstrap-select to go with the green door theme */
.bootstrap-select .btn.dropdown-toggle.btn-light:hover {
  color: black;
}

.bootstrap-select .btn.dropdown-toggle.btn-light {
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  font-weight: 400;
  padding: 0.375rem 0.75rem;
  background-color: white;
}

.bootstrap-select .dropdown-menu:not(.inner) {
  border: 1px solid #ced4da;
  padding-bottom: 0;
}

.bootstrap-select .dropdown-item:active,
.bootstrap-select .dropdown-item.active:hover,
.bootstrap-select .dropdown-item.active {
  background-color: #08b28f;
  color: white;
}

.bootstrap-select a.dropdown-item {
  white-space: normal;
}

.rounded-home-pic {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.rounded-home-pic img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .show-desktop {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .show-mobile {
    display: none !important;
  }
}

.text-pearl-blue {
  color: #1c4c75;
}

/* File Upload Style */
.dragandrophandler {
  margin-bottom: 10px;
}

.dragandrophandler p {
  font-size: 16px;
  margin: 5px 0;
  color: #212121;
}

.dragandrophandler input[type="file"] {
  display: none;
}

.upload-initial {
  padding: 20px 10px 10px;
  border: 1px dashed #cfcfcf;
  text-align: center;
  margin-bottom: 8px;
}

/* Progress Bar Style */
.dragandrophandler .progress {
  height: 8px;
  max-width: 224px;
  margin: 0 auto;
}

.dragandrophandler .progress .progress-bar {
  border-radius: 12px;
  background-color: #0ba884;
}

/* Uploaded file styles */
.file-uploaded:focus,
.file-uploaded {
  display: inline-block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  width: 120px;
  height: 120px;
  border: 1px solid #838383;
  border-radius: 5px;
  margin-top: 12px;
  margin-right: 8px;
}

.file-uploaded .delete-file {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;

  position: absolute;
  top: -10px;
  right: -10px;

  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  color: red;
  background-color: white;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), 4px 8px 16px 0 rgba(0, 0, 0, 0.06);
}

.detail-files .file-uploaded .delete-file {
  display: none;
}

/* file error styles */
.file-error {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 16px;
  margin-bottom: 8px;
}

.file-error .file-error-text {
  font-size: 14px;
  color: red;
}

.file-error .file-error-dismiss {
  cursor: pointer;
  padding: 4px;
  font-weight: bold;
}

.file-uploaded .delete-file:hover {
  color: red;
}

.green-door-loading-icon {
  display: grid;
  place-items: center;
}

.green-door-loading-icon img {
  max-width: 100px;
  height: auto;
}

.green-door-loading-icon span {
  font-weight: 500;
}
