html {
  font-size: 80%;
}

:root {
  --bs-primary: #3276B1;
  --bs-danger: #A9032A;
}

.sidebar #menu .nav-item .nav-link {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
}
.sidebar #menu .nav-item .flex-column.nav {
  flex-wrap: nowrap !important;
}

.bg-gray {
  background-color: #e2e3e5;
}

.customer-detail .nav-link {
  color: #000000;
}
.customer-detail .nav-link.active {
  font-weight: bold;
}

.bg-light-gray {
  background-color: #f7f7f7;
}

.common-resolution {
  width: 300px;
}

.btn-primary {
  background-color: #3276B1;
  border-color: #3276B1;
}
.btn-primary:hover, .btn-primary:active {
  background-color: #478cc9 !important;
  border-color: #478cc9 !important;
}
.btn-danger {
  background-color: #ca0c38;
  border-color: #ca0c38;
}
.btn-danger:hover, .btn-danger:active {
  background-color: #eb2251 !important;
  border-color: #eb2251 !important;
}
.btn-outline-secondary {
  background-color: white;
  color: black;
  font-weight: 400;
  font-size: 1rem;
  border: 1px solid rgb(222, 226, 230);
}
.btn-outline-secondary:hover, .btn-outline-secondary:active {
  background-color: #f8f9f9 !important;
  color: black !important;
}
.btn-link {
  padding: 0;
}

.petition-btn {
  height: fit-content;
}

.connection-btn {
  height: fit-content;
  min-width: 126px;
}

.text-primary {
  color: #3276B1 !important;
}
.text-danger {
  color: #ca0c38 !important;
}

.dataTables_wrapper .dataTables_info {
  padding: 0 !important;
}
.dataTables_wrapper .dataTables_length {
  margin-right: 1rem;
}

.nav.nav-tabs .nav-link.active {
  border-top: 2px solid #3276B1;
}

.custom-select {
  position: relative;
}
.custom-select .custom-select-options {
  display: none;
  max-height: 200px;
  overflow-y: scroll;
  border: 1px solid #dee2e6;
  z-index: 1;
  position: absolute;
  width: 100%;
  background-color: white;
  padding: 0;
  border-radius: 0.375rem;
}
.custom-select .custom-select-options .list-group-item {
  padding: 6px 12px;
  border-bottom: 1px solid #dee2e6;
  cursor: pointer;
}
.custom-select .custom-select-options .list-group-item:hover {
  background-color: #f8f9f9;
}
.custom-select .custom-select-options .list-group-item:last-child {
  border-bottom: none;
}

.pagination .paginate_button.active .page-link {
  background-color: #3276B1;
  border-color: #3276B1;
  color: white;
}
.pagination .paginate_button .page-link {
  color: black;
}

.table.table-striped tr:hover {
  cursor: pointer;
}
.table.table-striped tr:hover td {
  background-color: #dee2e6;
}

.new-lsn-btn {
  max-width: 175px;
}

.radio-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.radio-list li {
  margin-left: 1rem;
}

#blueStakesActiveTable,
#workOrdersActiveTable,
#attachedLsnsTable,
#blueStakeHistoryTable,
#commonResolutionTable,
#blueStakesCompleteTable,
#workOrdersCompleteTable,
#customersTable,
#ownersTable,
#rateTable,
#subdivisionTable,
#userTable,
#workOrderHistoryTable,
#workOrdersTable {
  width: 100% !important;
}

.notes-asterisk-icon {
  font-size: 8px;
}

.customer-map-container {
  position: relative;
  width: 100%;
  height: 70vh;
}

.work-order-map-container {
  height: 500px;
}

.blue-stake-map-container {
  height: 500px;
}

.blue-stake-detail-map-container {
  height: 500px;
}

.work-order-detail-map-container {
  height: 500px;
}

#viewDiv {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
}

#edit-customer-map-tab {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  width: 100%;
  height: 100%;
}

#work-order-detail-map-container {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  width: 100%;
  height: 100%;
}

#work-order-detail-map-loading-indicator {
  height: 500px;
  width: calc(50% - 199px);
  display: flex;
  position: absolute;
  z-index: 10;
  justify-content: center;
}

#blue-stake-map-container {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  width: 100%;
  height: 100%;
}

#blue-stake-detail-map-container {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  width: 100%;
  height: 100%;
}

#blue-stake-detail-map-loading-indicator {
  height: 500px;
  width: calc(50% - 199px);
  position: absolute;
  z-index: 1;
  display: flex;
}

#blue-stake-map-loading-indicator {
  height: 500px;
  width: calc(100% - 340px);
  display: flex;
  position: absolute;
  z-index: 1;
  justify-content: center;
}

#loading-indicator-map-tab {
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 10;
  justify-content: center;
  display: flex;
}

#loading-indicator-work-order-tab {
  height: 500px;
  width: calc(50% - 33px);
  position: absolute;
  z-index: 10;
  justify-content: center;
  display: flex;
}

#loading-indicator-work-order-property {
  height: 500px;
  width: calc(50% - 199px);
  position: absolute;
  z-index: 10;
  justify-content: center;
  display: flex;
}

#loading-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 15px;
  border-radius: 5px;
}

#residential_petition {
  padding: 8px 13px;
  color: black;
  font-size: 13px;
}
#residential_petition .title-bold {
  font-weight: 800;
}
#residential_petition .lsn {
  float: right;
  margin-top: 83px;
  display: flex;
  gap: 5px;
}
#residential_petition .lsn .lsn-text {
  padding: 0 10px;
  border-bottom: 1px solid black;
  text-align: center;
}
#residential_petition .main-heading-wrapper .main-heading {
  margin-top: 23px;
  max-width: 380px;
  text-align: center;
}
#residential_petition .subheading {
  text-align: center;
  font-weight: bold;
}
#residential_petition .subheading.subheading-petition {
  margin-top: 23px;
  margin-bottom: 14px;
}
#residential_petition .p-start-text {
  margin-left: 25px;
}
#residential_petition ol {
  margin-left: 2rem;
  margin-top: 9px;
  padding-left: 6px;
}
#residential_petition ol li .list-item-details {
  margin-left: 25px;
}
#residential_petition ol li .list-item-details .list-item-fill-in {
  margin-top: 16px;
  margin-bottom: 21px;
  display: flex;
}
#residential_petition ol li .list-item-details .list-item-fill-in .fill-in-label {
  min-width: 230px;
}
#residential_petition ol li .list-item-details .list-item-fill-in .fill-in {
  padding: 0 15px;
  border-bottom: 1px solid black;
  min-width: 230px;
}
#residential_petition ol li .fill-in-inline-med {
  padding: 0 15px;
  min-width: 100px;
  border-bottom: 1px solid black;
  text-align: center;
}
#residential_petition .indent-section-1, #residential_petition .indent-section-2 {
  margin-left: 25px;
}
#residential_petition .indent-section-1 .date, #residential_petition .indent-section-2 .date {
  display: flex;
  text-align: center;
  margin-bottom: 4rem;
}
#residential_petition .indent-section-1 .date .fill-in-inline-sm, #residential_petition .indent-section-2 .date .fill-in-inline-sm {
  display: block;
  min-width: 50px;
  border-bottom: 1px solid black;
}
#residential_petition .indent-section-1 .date .fill-in-inline-med, #residential_petition .indent-section-2 .date .fill-in-inline-med {
  display: block;
  min-width: 100px;
  border-bottom: 1px solid black;
}
#residential_petition .signature {
  width: 400px;
  margin-bottom: 6rem;
}
#residential_petition .signature .fill-in-inline-lg {
  display: inline-block;
  width: 100%;
  border-bottom: 1px solid black;
}
#residential_petition .signature .under-info-lg {
  text-align: end;
}

.text-underline {
  text-decoration: underline;
}

#connection-letter {
  padding-left: 155px;
  padding-top: 175px;
  font-size: 13px;
}
#connection-letter .indent-section-2 {
  margin: 20px 0 20px 50px;
}
#connection-letter .indent-section-2 .display-field {
  display: flex;
}
#connection-letter .indent-section-2 .display-field .display-fields-left {
  min-width: 103px;
}
#connection-letter .signature {
  width: 400px;
  margin-bottom: 6rem;
}
#connection-letter .signature .fill-in-inline-lg {
  display: inline-block;
  width: 100%;
  border-bottom: 1px solid black;
}
#connection-letter .signature .under-info-lg {
  text-align: end;
}

#county-assessment {
  padding: 0 0;
}
#county-assessment .report-section {
  margin-top: 30px;
}
#county-assessment .report-section .report-title {
  font-weight: 800;
  font-size: 24px;
  text-align: center;
}
#county-assessment .report-section th, #county-assessment .report-section td {
  padding: 0 !important;
  padding-left: 3px;
  padding-right: 3px;
}

.page-break {
  page-break-after: always;
}

.uploader-container {
  max-height: 56px;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  display: flex;
}
.uploader-container .btn-outline-secondary {
  width: 130px;
  border-top: 0;
  border-left: 0;
  border-bottom: 0;
  border-radius: 0.375rem;
  border-right: 1px solid #dee2e6;
}

.file-thumbnail {
  height: 200px;
  width: 200px;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 10px;
  margin-right: 10px;
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.file-thumbnail i {
  font-size: 100px;
  display: block;
  text-align: center;
}
.file-thumbnail .file-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
  margin-bottom: 15px;
}

.img-thumbnail {
  height: 200px;
  width: 200px;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 10px;
  margin-right: 10px;
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.img-thumbnail .file-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
  margin-top: 25px;
}

.file-item {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
}

.file-thumbnail-container,
.img-thumbnail-container {
  position: relative;
}

.file-actions {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 5px;
}

.file-actions .btn {
  padding: 4px 8px;
  font-size: 12px;
}
}

.input-group-text {
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
}

@media (max-width: 767.98px) {
  #sidebar {
    display: block;
    position: fixed;
    z-index: 1050;
    height: 100vh;
    top: 0;
    left: 0;
    width: 220px;
    background: #212529;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  }
  #sidebar.show {
    transform: translateX(0);
  }
  #loading-indicator-work-order-tab {
    width: calc(100% - 40px);
  }
  #loading-indicator-work-order-property {
    width: calc(100% - 60px);
  }
  #work-order-detail-map-loading-indicator {
    width: calc(100% - 61px);
  }
  #blue-stake-map-loading-indicator {
    width: calc(100% - 47px);
  }
  #blue-stake-detail-map-loading-indicator {
    width: calc(100% - 61px);
  }
  html {
    font-size: 100%;
  }
}
@media (max-width: 575.98px) {
  #workOrdersActiveTable tbody,
  thead,
  #workOrdersActiveTable_info {
    display: none !important;
  }
  #workOrdersCompleteTable tbody,
  thead,
  #workOrdersCompleteTable_info {
    display: none !important;
  }
  #blueStakesActiveTable tbody,
  thead,
  #blueStakesActiveTable_info {
    display: none !important;
  }
  #blueStakesCompleteTable tbody,
  thead,
  #blueStakesCompleteTable_info {
    display: none !important;
  }
  #customersTable tbody,
  thead,
  #customersTable_info {
    display: none !important;
  }
  #workOrdersActiveMobile,
  #workOrdersActiveMobileInfo,
  #workOrdersCompleteMobile,
  #workOrdersCompleteMobileInfo #blueStakesActiveMobile,
  #blueStakesActiveMobileInfo,
  #blueStakesCompleteMobile,
  #blueStakesCompleteMobileInfo,
  #customersMobile,
  #customersMobileInfo {
    display: block !important;
  }
  .dt-lp-stack-xs {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem;
  }
  .pagination {
    flex-wrap: wrap;
  }
}
@media (min-width: 576px) {
  #workOrdersActiveMobile,
  #workOrdersActiveMobileInfo,
  #workOrdersCompleteMobile,
  #workOrdersCompleteMobileInfo,
  #blueStakesActiveMobile,
  #blueStakesActiveMobileInfo,
  #blueStakesCompleteMobile,
  #blueStakesCompleteMobileInfo,
  #customersMobile,
  #customersMobileInfo {
    display: none !important;
  }
}
