/* Add your custom styles here */

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#content {
  flex-grow: 1;
}

.dropdown-toggle {
  white-space: normal !important;
}

.container section {
  padding: 0px !important;
}

section,
.section {
  overflow: unset !important;
}

/* Adds a bit of spacing to "Responsive Grid Row" blocks. */
.crx-grid {
  padding-top: 40px;
  padding-bottom: 40px;
}
.crx-grid .crx-grid {
  padding-top: 0;
  padding-bottom: 0;
}

.team .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.team .member-img {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.team .member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team .member-info {
  text-align: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
  height: 200px;
}

.clients {
  background-color: unset;
}

.clients .swiper-slide {
  height: 300px;
  text-align: center;
}

@media (min-width: 1200px) {
  .chart {
    width: 100% !important;
    overflow: auto;
    height: 400px;
  }
  .chart-wrapper {
    display: flex;
    justify-content: center;
  }
}
@media (max-width: 1199px) {
  .chart {
    width: 768px !important;
    overflow-x: auto;
    height: 400px;
  }
  .chart-wrapper {
    overflow: auto;
  }
}

.e-services-section .service-email {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}

.e-services-badge .badge {
  background-color: rgba(var(--bs-primary-rgb), 0.5) !important;
}

/*  FORM    */
.required-mark {
  color: red;
}

.info-box {
  white-space: pre-line;
}

/*--------------------------------------------------------------
# Login Page
--------------------------------------------------------------*/

.main .login.h1 {
  padding-top: 50px;
}

.login {
  .h1 {
    font-size: 2rem;
    font-weight: 700;
    padding-top: 130px;
  }

  .h3 {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.3;
  }
}

@media (min-width: 700px) {
  .main .login.h1 {
    padding-top: 130px;
  }

  .login {
    .h1 {
      font-size: 2.5rem;
    }
    .h3 {
      font-size: 1.6rem;
      width: 80%;
    }
  }
}

@media (min-width: 1000px) {
  .main .login.h1 {
    padding-top: 130px;
  }

  .login {
    .h1 {
      font-size: 3.5rem;
    }
    .h3 {
      font-size: 2rem;
    }
  }
}

/*--------------------------------------------------------------
# Form
--------------------------------------------------------------*/

.main .form.h1 {
  padding-top: 50px;
}

.form {
  .h1 {
    font-size: 2rem;
    font-weight: 700;
    padding-top: 130px;
  }

  .h3 {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.3;
  }
}

@media (min-width: 700px) {
  .main .form.h1 {
    padding-top: 130px;
  }

  .form {
    .h1 {
      font-size: 2.5rem;
    }
    .h3 {
      font-size: 1.6rem;
      width: 80%;
    }
  }
}

@media (min-width: 1000px) {
  .main .form.h1 {
    padding-top: 130px;
  }

  .form {
    .h1 {
      font-size: 3.5rem;
    }
    .h3 {
      font-size: 2rem;
    }
  }
}

.non-standard-measurement-data-section .card-body {
  background-color: #dde9f7;
  border: none;
}

.non-standard-measurement-data-section .document-item {
  padding: 5px;
  margin: 0;
  border: none;
}

.non-standard-measurement-data-section .document-info {
  width: 100%;
}

.non-standard-measurement-data-section .date {
  margin-right: 55px;
}

.non-standard-measurement-data-section .btn {
  height: fit-content;
}

.non-standard-measurement-data-section .modal-dialog .price-description {
  background-color: #dde9f7;
  border: none;
  padding: 10px;
  margin: 0;
}

/*--------------------------------------------------------------
# Search Form
--------------------------------------------------------------*/
#search-form button {
  padding: 5px;
}
#search-form input {
  width: 0;
  -webkit-transition: width 0.7s ease;
  -moz-transition: width 0.7s ease;
  -o-transition: width 0.7s ease;
  transition: width 0.7s ease;
  border: unset;
  background-color: transparent;
  padding: 10px;
  border-radius: 0;
}
#search-form input:focus {
  width: 300px;
  outline: 0;
  border: unset;
}
#search-form:hover button {
  padding-top: 8px;
  border: unset;
}
#search-form:hover input {
  border-bottom: solid 1px #000;
  width: 300px;
  margin-left: 0;
}
@media (max-width: 768px) {
  #search-form input {
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
    display: none;
    width: 0;
  }
  #search-form input:focus {
    display: none;
  }
  #search-form:hover input {
    display: none;
  }
}

/*--------------------------------------------------------------
# Auth
--------------------------------------------------------------*/

@media (min-width: 992px) {
  .auth-container {
    border-right-width: var(--bs-border-width) !important;
    border-right-style: var(--bs-border-style) !important;
    border-right-color: var(--bs-border-color) !important;
  }
}

/* Auth - Mobile */

@media (max-width: 768px) {
  .auth-container {
    border-bottom-width: var(--bs-border-width) !important;
    border-bottom-style: var(--bs-border-style) !important;
    border-bottom-color: var(--bs-border-color) !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.header .logo h1 {
  color: var(--accent-color);
  font-size: 25px;
}

/*--------------------------------------------------------------
# Navbar
--------------------------------------------------------------*/

.mobile-nav-toggle {
  color: var(--nav-color);
  font-size: 2rem;
  line-height: 0;
  margin-left: 10px;
  cursor: pointer;
  transition: color 0.3s;
}

.navmenu .dropdown > .dropdown-active {
  --bs-dropdown-link-active-bg: unset !important;
}

.navmenu {
  padding: 0;
  z-index: 1 !important;
}

.navmenu .dropdown ul a,
.navmenu .dropdown ul button,
i {
  font-size: 1rem;
}

@media (min-width: 1200px) {
  .navmenu {
    background-color: unset !important;
  }

  .navmenu .dropdown ul {
    visibility: visible !important;
    opacity: 1 !important;
  }

  .navmenu ul {
    display: none;
    position: absolute;
    inset: 0px;
    padding: 0px;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-dropdown-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px
      color-mix(in srgb, var(--default-color), transparent 90%);
    place-content: center;
    background-image: url("../../assets/img/logo/epbih-logo.svg") !important;
    background-repeat: no-repeat !important;
    background-position: 120% 150% !important;
    background-size: 50%;
  }

  .navmenu a,
  .navmenu a:focus,
  .navmenu button,
  .navmenu button:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    white-space: nowrap;
    transition: 0.3s;
    font-size: 25px;
    border: unset;
  }

  .navmenu a i,
  .navmenu a:focus i,
  .navmenu button i,
  .navmenu button:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: unset;
    border: unset;
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover,
  .navmenu button i:hover,
  .navmenu button:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border: unset;
  }

  .navmenu a:hover,
  .navmenu button:hover,
  .navmenu .active,
  .navmenu .active:focus,
  .navmenu .active a {
    color: var(--nav-dropdown-hover-color) !important;
    border: unset;
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown > .dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
    background-image: unset !important;
    background-repeat: unset !important;
    background-position: unset !important;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: var(--nav-color);
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
    list-style-type: none;
  }

  .mobile-nav-active .navmenu > ul > li {
    margin-left: 10%;
    margin-right: 10%;
  }

  .navmenu .dropdown > .dropdown-menu {
    --bs-dropdown-link-hover-bg: unset;
  }

  .navmenu {
    display: none;
    transition-behavior: normal;
    transition-duration: 3s;
    transition-timing-function: cubic-bezier(0.75, 0, 0.25, 1);
    transition-delay: 0s;
    transition-property: all;
    overflow: hidden;
    max-height: 0;
    display: contents;
    transform: translateY(-100%);
  }

  .navmenu.show {
    display: block;
    max-height: 100vh;
    transform: translateY(0);
    z-index: 9999 !important;
  }

  @keyframes slideRight {
    from {
      transform: translateX(-100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  .navmenu.show > ul > li {
    animation: slideRight 1s ease-out forwards;
    animation-delay: 0.1s;
    opacity: 0;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  nav#navmenu {
    z-index: 9999 !important;
  }
  button.btn.toggle-dropdown {
    width: 100%;
  }
  .navmenu button i {
    background-color: unset;
  }
}

.render-field-required label:not(.form-check-label)::before {
  content: "*" !important;
  color: var(--bs-danger) !important;
  margin-right: 4px !important;
  display: inline;
}

.user-info-group-btn {
  text-decoration: none;
  color: var(--nav-color);
  padding: 0px;
  margin: 0px;
}

.user-info-group-btn:hover {
  color: var(--accent-color);
  text-decoration: none;
  cursor: pointer;
  padding: 0px;
}

/* Request details */
.ods-requests-details-subtitle {
  margin-top: 3rem;
}

.ods-requests-details-preview h2 {
  text-align: center;
}

.ods-requests-details-preview h2:has(+ h3),
.ods-requests-details-preview h2 + h3 {
  display: none;
}

.ods-requests-details-preview h3 {
  margin-top: 2.5rem;
  line-height: 1;
  font-size: 1.2rem;
}
.ods-requests-details-preview h3 + p {
  margin-top: -6px;
}

/* Stepper */
.steps-header {
  padding: 0.375rem;
  border-bottom: 1px solid #e7e7e7;
}

.steps-header .progress {
  height: 0.25rem;
}

.steps-body {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.step {
  display: table-cell;
  position: relative;
  padding: 0.5rem;
  transition: all 0.25s ease-in-out;
  border-right: 1px dashed #dfdfdf;
  color: rgba(0, 0, 0, 0.65);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.step:last-child {
  border-right: 0;
}

.step-indicator {
  display: block;
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid #e7e7e7;
  border-radius: 50%;
  background-color: #fff;
  font-size: 0.875rem;
  line-height: 1.375rem;
}

.has-indicator {
  padding-right: 1.5rem;
  padding-left: 2.375rem;
}

.has-indicator .step-indicator {
  top: 50%;
  margin-top: -0.75rem;
}

.step-icon {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 auto;
  margin-bottom: 0.25rem;
  transition: all 0.25s ease-in-out;
  color: #888;
}

.step:hover {
  color: rgba(0, 0, 0, 0.9);
  text-decoration: none;
}

.step:hover .step-indicator {
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  border-color: transparent;
  background-color: #f4f4f4;
}

.step:hover .step-icon {
  color: rgba(0, 0, 0, 0.9);
}

.step-active,
.step-active:hover {
  color: #2e4bdb;
  pointer-events: none;
  cursor: default;
}

.step-active .step-indicator,
.step-active:hover .step-indicator {
  border-color: transparent;
  background-color: #2e4bdb;
  color: #fff;
}

.step-active .step-icon,
.step-active:hover .step-icon {
  color: #2e4bdb;
}

.step-completed .step-indicator,
.step-completed:hover .step-indicator {
  border-color: transparent;
  background-color: rgba(51, 203, 129, 0.12);
  color: #33cb81;
  line-height: 1.25rem;
}

.step-completed .step-indicator .feather,
.step-completed:hover .step-indicator .feather {
  width: 0.875rem;
  height: 0.875rem;
}

@media (max-width: 575.98px) {
  .steps-header {
    -webkit-transform: rotate(90deg);
    -webkit-transform-origin: left top;
    -moz-transform: rotate(90deg);
    -moz-transform-origin: left top;
    -ms-transform: rotate(90deg);
    -ms-transform-origin: left top;
    -o-transform: rotate(90deg);
    -o-transform-origin: left top;
    transform: rotate(90deg);
    transform-origin: left top;

    padding-left: 10px;
    width: 308px;
  }

  .steps-body,
  .step {
    display: block;
  }
  .step {
    border-right: 0;
    border-bottom: 1px dashed #e7e7e7;
  }
  .step:last-child {
    border-bottom: 0;
  }
  .has-indicator {
    padding: 1rem 0.75rem;
  }
  .has-indicator .step-indicator {
    display: inline-block;
    position: static;
    margin: 0;
    margin-right: 0.75rem;
  }
}

.bg-secondary {
  background-color: #f7f7f7 !important;
}

/* DataTables */
table.dataTable thead th {
  font-weight: bold;
  text-align: center;
}

div.dt-container .dt-input {
  margin: 0px 5px 0px 5px !important;
}

div.dt-container .dt-length,
div.dt-container .dt-search,
div.dt-container .dt-info,
div.dt-container .dt-processing,
div.dt-container .dt-paging {
  color: inherit;
  font-size: small;
}

div.dt-container .dt-paging .dt-paging-button {
  padding: 0.2em 0.7em;
}

table.dataTable thead th {
  text-align: center !important;
}

div.dt-scroll-headInner {
  width: auto !important;
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/

.stats .stats-item {
  cursor: pointer;
  transition: transform 0.2s ease;
  flex: 1;
  padding: 35px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 150px;
}

.stats .stats-item:hover {
  transform: scale(1.05);
}

.stats i {
  z-index: 0 !important;
}

/*--------------------------------------------------------------
# Pages
--------------------------------------------------------------*/

.details-link {
  font-size: x-large;
}

.details-link::before {
  content: "+ ";
  font-weight: bold;
}

@media (max-width: 768px) {
  .page-table {
    overflow-x: auto;
    display: block;
  }

  .page-table table {
    width: 100%;
    min-width: 100%;
    table-layout: auto;
  }
}

.price-list-table {
  margin-top: 50px;
}

.price-list-table th:last-child {
  text-align: right !important;
}

.price-list-table td:last-child {
  text-align: right !important;
}

.price-list-table-second-last th:nth-last-child(2) {
  text-align: right !important;
}

.price-list-table-second-last td:nth-last-child(2) {
  text-align: right !important;
}

.center-item {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

.w-fit-content {
  width: fit-content;
}
/* ODS REQUESTS PAGE COMPONENTS*/

.ods-requests-page h2 {
  text-align: center;
}
.ods-requests-page h2 + h3 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.ods-requests-page h3 {
  margin-top: 2.5rem;
  line-height: 1;
  font-size: 1.5rem;
}
.ods-requests-page h3 + p {
  margin-top: -6px;
}

.ods-requests-page h3 + hr + p {
  margin-top: 0;
}

.ods-requests-page h3:first-of-type {
  margin-top: 0;
}

/*progess bar*/

.ods-requests-page .progress {
  height: 24px !important;
  font-size: 0.7rem;
}
.ods-requests-page .progress-bar {
  font-weight: 600;
  text-transform: uppercase;
}

.ods-requests-page form {
  padding: 0 12px 12px 12px;
}

/*Buttons*/
.ods-requests-page .form-group .col-sm-2 {
  display: none;
}
.ods-requests-page .form-group .col-sm-10 {
  width: 100%;
  text-align: right;
}

/*Field component*/
.ods-requests-form-field .row {
  flex-direction: column;
}
.ods-requests-form-field label.col-sm-2 {
  width: 100%;
}
.ods-requests-form-field label.col-form-label {
  font-weight: 500;
  line-height: 1;
}
.ods-requests-form-field div.col-sm-10 {
  width: 100%;
}
.ods-requests-form-field .form-text {
  text-align: left;
}

/*Date component*/
.ods-requests-form-field.ods-requests-form-field-date div.col-sm-10 {
  width: fit-content;
}

/*Attachment component*/
.ods-requests-form-field.ods-requests-form-field-attachment .row {
  flex-direction: column;
}
.ods-requests-form-field.ods-requests-form-field-attachment label.col-sm-2 {
  width: 100%;
}
.ods-requests-form-field.ods-requests-form-field-attachment label.col-sm-10 {
  width: 100%;
}

.ods-requests-form-field.ods-requests-form-field-attachment.hidden-field {
  content-visibility: hidden;
}

/*Location component*/
.ods-requests-form-field-bound-fields > div {
  margin-bottom: 0 !important;
}
.ods-requests-form-field-bound-fields .col-sm-10 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.ods-requests-form-field-bound-fields .form-select {
  width: 33%;
}

.ods-requests-form-field-bound-fields a {
  display: flex;
  width: 100%;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .ods-requests-form-field-bound-fields .form-select {
    width: 100%;
    margin-bottom: 10px;
  }
}

.power-outage-info {
  padding: 0%;
  margin-block-start: -4em;
  margin-block-end: -2em;
  justify-content: center;
}

.power-outage-info .stats-item {
  min-height: auto !important;
  align-items: center;
}
.power-outage-info .stats-item:last-of-type {
  padding-bottom: 0;
}

.power-outage-info ul {
  max-width: fit-content;
}

.power-outage-info ul li i {
  height: 0.85rem;
  width: 0.85rem;
}
.testimonials .container {
  padding: 50px !important;
}

.media-text-block .container img {
  width: 100%;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.form-label {
  font-weight: bold;
}

.qualified-producers table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.qualified-producers table,
.qualified-producers th,
.qualified-producers td {
  border-bottom: 1px solid var(--bs-border-color);
  padding-left: 20px;
}

.qualified-producers th {
  padding: 0.5rem 0.5rem;
  text-align: center;
}

.qualified-producers thead th {
  font-weight: bold;
}

.qualified-producers tr {
  border-bottom: 1px solid var(--bs-border-color);
}

.qualified-producers td a {
  display: block;
  margin-bottom: 5px;
  text-decoration: none;
}

.qualified-producers td a:hover {
  text-decoration: underline;
  color: var(--accent-color);
}

.date-time-icon {
  border: none !important;
  font-size: 0.85rem !important;
  color: #000 !important;
  background-color: transparent !important;
  vertical-align: middle;
  margin-right: 8px;
  margin-bottom: 1px;
}
.date-time-icon + .date-time-icon {
  margin-left: 10px;
}

.payment-instructions .accordion-button {
  font-weight: bolder;
}

.payment-info-box p {
  --bs-alert-bg: transparent;
  --bs-alert-padding-x: 1rem;
  --bs-alert-padding-y: 1rem;
  --bs-alert-margin-bottom: 1rem;
  --bs-alert-color: inherit;
  --bs-alert-border-color: transparent;
  --bs-alert-border: var(--bs-border-width) solid var(--bs-alert-border-color);
  --bs-alert-border-radius: var(--bs-border-radius);
  --bs-alert-link-color: inherit;
  position: relative;
  padding: var(--bs-alert-padding-y) var(--bs-alert-padding-x);
  margin-bottom: var(--bs-alert-margin-bottom);
  color: var(--bs-alert-color);
  background-color: var(--bs-alert-bg);
  border: var(--bs-alert-border);
  border-radius: var(--bs-alert-border-radius);

  --bs-alert-color: var(--bs-primary-text-emphasis);
  --bs-alert-bg: var(--bs-primary-bg-subtle);
  --bs-alert-border-color: var(--bs-primary-border-subtle);
  --bs-alert-link-color: var(--bs-primary-text-emphasis);
}

.crx-grid:has(.payment-confirmation) {
  padding-top: unset;
  padding-bottom: 15px;
}

.table.bold-last-row tr:last-child {
  font-weight: bold;
}

table.align-all-middle {
  td {
    text-align: center;
  }
  th {
    text-align: center;
  }
}

table.align-header-middle {
  th {
    text-align: center;
  }
}

.table.align-1-right {
  td:nth-child(1) {
    text-align: right;
  }
  th:nth-child(1) {
    text-align: right;
  }
}

th[rowspan],
td[rowspan] {
  text-align: center;
  vertical-align: middle;
}

th[rowspan]:not(:first-child),
td[rowspan]:not(:first-child) {
  background-color: var(--bs-table-bg);
}

.hero.section {
  background-position: center;
  min-height: 50vh;
}

.padding-x-20 {
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.data-table-row:hover {
  background-color: rgba(var(--bs-emphasis-color-rgb), 0.05);
}

.flow-root {
  display: flow-root;
}

.break-line {
  display: none;
}

@media (max-width: 768px) {
  .break-line {
    display: flex;
    border-top: 1px solid var(--bs-secondary-color);
  }
}
