﻿@charset "UTF-8";
:root {
  margin: 20px;
  font-family: helvetica Neue, sans-serif;
}

/* OVERRIDING DXEXPRESS STYLES */
.dxbl-fl {
  --dxbl-fl-caption-color: $main-font-color !important;
}

.dxbl-checkbox {
  --dxbl-checkbox-switch-checked-bg: #147DAB;
  --dxbl-checkbox-switch-unchecked-bg: silver;
  --dxbl-checkbox-switch-unchecked-hover-bg: $fog-hover;
  --dxbl-checkbox-check-element-checked-color: black;
  --dxbl-checkbox-check-element-unchecked-border-width: 3px;
  --dxbl-checkbox-radio-unchecked-border-color: red;
}

.dxbl-text-edit {
  --dxbl-text-edit-bg: white;
  --dxbl-text-edit-color:black;
}

/* END OVERRIDING DXEXPRESS STYLES ============ */
/* WIZARD MENU */
nav {
  display: grid;
  grid: 1fr/auto-flow auto;
  box-shadow: 0 0px 0px 0 #65ABC9;
  background-color: #E0EDF5;
  border-width: 0px;
}

a.a-menu {
  -webkit-tap-highlight-color: transparent;
  display: grid;
  grid: 1fr/20px auto 20px;
  align-items: center;
  border: solid black;
  border-width: 0px 0;
  text-decoration: none;
}
a.a-menu:first-child {
  border-radius: 4px 0 0 4px;
  border-width: 0px 0px 0px 0px;
  grid: 1fr/auto 20px;
}
a.a-menu:last-child {
  border-radius: 0 4px 4px 0;
  border-width: 0px 0px 0px 0;
  grid: 1fr/20px auto;
}
a.a-menu:not(:first-child):before, a.a-menu:not(:last-child):after {
  display: block;
  border: 20px solid transparent;
  border-right-width: 0;
  content: "";
}
a.a-menu:not(:first-child):before {
  border-left-color: #E0EDF5;
}
a.a-menu:not(:last-child):after {
  transform: translateX(19px);
}

.a-menu-content {
  display: flex;
  align-items: center; /* Vertically align items */
  gap: 8px; /* Space between image and text */
}

.a-menu-title {
  line-height: 1.2rem;
  display: inline-block;
}

.a-menu-icon {
  padding: 0 0px 0 0px;
  margin-left: 10px;
  align-content: center;
  align-items: center;
  justify-content: center; /* Optional: for horizontal centering too */
}

/*span {
    padding: 0 20px 0 30px;
    line-height: 1.2rem;
    color: $secondary;

    &:first-line {
        color: $secondary;
        font-weight: 700;
        font-size: .85rem;
    }
}*/
.current {
  background-color: #C73B3D;
}
.current span {
  color: black;
  background-color: #C73B3D;
}
.current span:first-line {
  color: white;
}
.current:not(:first-child):before {
  border-left-color: black;
}
.current:not(:last-child):after {
  border-left-color: black;
}
.current + a:not(:first-child):before {
  border-left-color: #C73B3D;
}

.next {
  background-color: #E0EDF5;
}
.next span {
  color: black;
  background-color: #E0EDF5;
}
.next span:first-line {
  color: black;
}
.next:not(:first-child):before {
  border-left-color: #E0EDF5;
}
.next:not(:last-child):after {
  border-left-color: #E0EDF5;
}
.next + a:not(:first-child):before {
  border-left-color: #E0EDF5;
}
.next .a-menu-title {
  color: black;
}

a.a-menu:not(.current):hover,
.done {
  background: #147DAB;
}
a.a-menu:not(.current):hover span,
.done span {
  color: black;
}
a.a-menu:not(.current):hover span:first-line,
.done span:first-line {
  color: white;
}
a.a-menu:not(.current):hover + a:not(:first-child):before,
.done + a:not(:first-child):before {
  border-left-color: #147DAB;
}
a.a-menu:not(.current):hover .a-menu-title,
.done .a-menu-title {
  color: white;
}

a.a-menu.current:hover {
  background: rgb(221.6666666667, 138.3333333333, 139.5238095238);
}
a.a-menu.current:hover span {
  background-color: rgb(221.6666666667, 138.3333333333, 139.5238095238);
}
a.a-menu.current:hover span:first-line {
  color: navy;
}
a.a-menu.current:hover + a:not(:first-child):before {
  border-left-color: rgb(221.6666666667, 138.3333333333, 139.5238095238);
}
a.a-menu.current:hover:not(:last-child):after a.a-menu.current:hover:not(:first-child):before {
  border-left-color: rgb(221.6666666667, 138.3333333333, 139.5238095238);
}
a.a-menu.current:hover + a.a-menu:not(.current):not(:first-child):before {
  border-left-color: rgb(221.6666666667, 138.3333333333, 139.5238095238);
}
a.a-menu.current:hover .a-menu-title {
  color: white;
}

a.a-menu.done:hover {
  background: rgb(60.722513089, 180.0157068063, 232.277486911);
}
a.a-menu.done:hover span {
  background-color: rgb(60.722513089, 180.0157068063, 232.277486911);
}
a.a-menu.done:hover span:first-line {
  color: navy;
}
a.a-menu.done:hover + a:not(:first-child):before {
  border-left-color: rgb(60.722513089, 180.0157068063, 232.277486911);
}
a.a-menu.done:hover:not(:last-child):after a.a-menu.done:hover:not(:first-child):before {
  border-left-color: rgb(60.722513089, 180.0157068063, 232.277486911);
}
a.a-menu.done:hover + a.a-menu:not(.done):not(:first-child):before {
  border-left-color: rgb(60.722513089, 180.0157068063, 232.277486911);
}

a.a-menu.next:hover {
  background: white;
}
a.a-menu.next:hover span {
  background-color: white;
}
a.a-menu.next:hover span:first-line {
  color: navy;
}
a.a-menu.next:hover + a:not(:first-child):before {
  border-left-color: white;
}
a.a-menu.next:hover:not(:last-child):after a.a-menu.next:hover:not(:first-child):before {
  border-left-color: white;
}
a.a-menu.next:hover + a.a-menu:not(.next):not(:first-child):before {
  border-left-color: white;
}
a.a-menu.next:hover .a-menu-title {
  color: black;
}

/* END WIZARD MENU */
body {
  background-color: #E0EDF5;
  color: black;
}

h1 {
  color: black;
}

h3 {
  color: black;
}

h4 {
  color: #0000b3;
}

h6 {
  color: black;
  font-size: large;
}

h1:focus {
  outline: none;
}

.param-code {
  font-weight: 600;
  color: white;
}

.param-desc {
  color: silver;
}

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.blazor-error-boundary {
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbG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4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}

.blazor-error-boundary::after {
  content: "An error has occurred.";
}

.selected-roof {
  outline: 4px solid red;
  /* or border: 2px solid red; */
  cursor: pointer; /* nice to show clickability */
  color: black;
}

/*.tab-item {
    padding: 10px 20px;
    text-align: center;
    border-radius: 7px;
    background-color: silver;
    color: white
}

    .tab-item.active {
        background-color:  chocolate;
        color: white;
    }*/
.alert-info {
  background-color: silver;
}

.alert-error {
  padding: 1rem;
  border: 1px solid #fca5a5;
  background-color: #fef2f2;
  color: #b91c1c;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0 4px 8px rgba(185, 28, 28, 0.1);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.alert-error .alert-heading {
  font-weight: 600;
  margin: 0;
  font-size: 1rem;
}

.card-body {
  background-color: white;
  color: black;
}

.card-header {
  background-color: #147DAB;
}

.dxbl-fl-cpt {
  color: black;
  font-weight: 600;
}

.dxbl-tabs > .dxbl-tabs-tablist.dxbl-tabs-tablist-scrollable {
  border-width: 0px;
}

.d-flex {
  display: flex;
}

.justify-content-center {
  justify-content: center;
}

.align-items-center {
  align-items: center;
}

.tiles-container {
  justify-content: center;
}

.tiles-container .row {
  justify-content: center; /* Center items inside the row */
}

/* Box styling */
.tiles-container .row > div {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Nice shadow */
  border-radius: 10px; /* Rounded corners */
  overflow: hidden; /* Ensure child elements stay within rounded corners */
  margin: 10px; /* Some spacing between tiles */
  padding: 10px;
  background-color: white; /* Optional: background for better contrast */
  transition: border 0.3s, box-shadow 0.3s; /* Smooth hover effects */
}

/* Image styling */
.tiles-container img {
  border-radius: 10px; /* Images inherit box rounding */
  width: 100%;
  height: auto;
}

.tile {
  background-color: white;
  border-radius: 20px;
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.tile.active {
  border: 3px solid #e21b2b;
}

/* Tile title inside box */
.tile-title {
  margin-top: 8px;
  text-align: center;
  font-size: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  white-space: normal;
  color: black;
}

/* Optional: on hover (not requested but looks good) */
.tiles-container .row > div:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.color-circle {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 10%;
  border: 1px solid #ddd;
}

.border-class {
  border: 0px solid;
  padding: 10px; /* Optional: Add padding inside the border */
  border-radius: 5px; /* Optional: Add rounded corners */
}

.square-keep-ratio {
  aspect-ratio: 1/1;
  /* Ensure it can shrink/grow according to the container’s flex width: */
  width: 100%;
  /* Optional: if you want it to fill available space, you might need display: block or flex settings. */
  display: block;
}

.responsive-square {
  /* Default (screens >= 1000px) */
  width: 767px;
  height: 767px;
}

/* Common styles for wizard buttons */
.btn-next,
.btn-prev,
.btn-skip {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border-radius: 10px;
  padding: 8px 20px;
  font-weight: 500;
  color: #fff;
  margin-top: 5px;
  margin-right: 5px;
}

.btn-next::after,
.btn-prev::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: solid #fff;
  width: 8px;
  height: 8px;
  border-width: 0 2px 2px 0;
}

/* Next Button Styles */
.btn-next {
  background-color: #C73B3D;
}

.btn-next::after {
  right: 15px;
  transform: translateY(-50%) rotate(-45deg);
}

.btn-next:hover {
  background-color: rgb(221.6666666667, 138.3333333333, 139.5238095238);
  padding-right: 30px;
}

/* Previous Button Styles */
.btn-prev {
  background-color: #147DAB;
}

.btn-prev::before {
  left: 15px;
  transform: translateY(-50%) rotate(135deg);
}

.btn-prev:hover {
  background-color: rgb(60.722513089, 180.0157068063, 232.277486911);
  padding-left: 30px;
}

/* Skip Button Styles */
.btn-skip {
  background-color: #6c757d;
}

.btn-skip:hover {
  background-color: #5a6268;
  transform: translateY(-2px);
}

/* =========  PROGRESS BAR=================  */
.loading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  font-family: sans-serif;
  z-index: 9999;
}

.progress-bar-container {
  width: 300px;
  height: 15px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-bar {
  height: 100%;
  background-color: #3b82f6;
  transition: width 0.2s;
}

.responsive-popup {
  width: 1000px;
}

@media (max-width: 1024px) {
  .tile-title {
    font-size: 1em; /* Adjust this value as needed */
    margin-top: 120px;
  }
}
@media (max-width: 768px) {
  .responsive-square {
    /* For screens < 1000px, make height equal to width */
    width: 100vw; /* or 100% if it should match its container's width */
    height: 100vw; /* ensures a square by matching width */
    max-width: 767px;
    max-height: 767px;
  }
  .tile-title {
    font-size: 1em; /* Adjust this value as needed */
    margin-top: 150px;
  }
  .responsive-popup {
    width: 90%;
  }
  .a-menu-title {
    display: none;
  }
}
@media (max-width: 480px) {
  .tile-title {
    font-size: 0.8em; /* Adjust this value as needed */
    margin-top: 100px;
  }
  .responsive-popup {
    width: 90%;
  }
}
