/* ====================
Progress Loader
==================== */
.ap__progress-loader {
  height: 300px;

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  background-color: white;

  padding: 16px 32px 16px 10px;

  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.ap__progress-loader__animation svg {
  width: 60px;
  height: 60px;
  display: inline-block;
}

.ap__progress-loader__animation svg path {
  fill: #0392cf;
}

.ap__progress-loader__text {
  font-weight: bold;
}

/* ====================
Auto Pay
==================== */

.cp__autopay-container {
  display: flex;
  padding: 32px;
  background: #f5f5f5;
  align-items: flex-start;
}

.cp__autopay-header {
  font-size: 14px;
}

/* ====================
Select Account
==================== */

@media screen and (min-width: 1026px) {
  .cp__selection-header-container {
    margin-bottom: 40px;
    border-bottom: 1px solid #ccc;
  }
}

.cp__selection-header-container::after {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.cp__selection-header-container .epb-select-wrapper {
  border-bottom: 1px solid #ccc;
  margin-bottom: 18px;
}

@media screen and (min-width: 1026px) {
  .cp__selection-header-container .epb-select-wrapper {
    margin-bottom: 0;
    border-bottom: none;
    display: inline-block;
  }

  .cp__selection-header-container .epb-select-wrapper select {
    max-width: 420px;
    margin-bottom: 0;
  }
}

/* ====================
Features Grid
==================== */

.cp__grid-row {
  display: flex;
  flex-direction: row;
  width: 100%;
  flex: 1 1 100%;
  flex-wrap: wrap;
}

@media screen and (min-width: 1026px) {
  .cp__grid-row {
    flex-wrap: nowrap;
  }
}

.cp__grid-col {
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media screen and (min-width: 1026px) {
  .cp__grid-col:first-child {
    width: 56%;
    padding-right: 14px;
  }

  .cp__grid-col:last-child {
    width: 44%;
    padding-left: 14px;
  }
}

.cp__card-container {
  width: 100%;
  height: 100%;
  min-height: 100px;
  margin-bottom: 32px;
  padding: 32px;
  background-color: #fff;
  color: #404040;
}

.cp__card-link {
  font-family: "FuturaNext-Book";
  cursor: pointer;
  transition: color 0.3s ease;
}

.cp__card-container-dark {
  background-color: #404040;
  color: #fff;
}

.cp__card-container-dark .cp__card-link,
.cp__card-container-dark a {
  color: #fff;
}

.cp__card-container-blue {
  background-color: #0071ba;
  color: #fff;
}

.cp__card-container-blue a,
.cp__card-container-blue a:hover {
  color: #fff;
}

/* ====================
Features Grid - Cards - Generic
==================== */

.cp__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  height: 100%;
}

.cp__card-header-container,
.cp__card-elements,
.cp__card-link-container {
  width: 100%;
}

.cp__card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  position: relative;
}

.cp__card-header-label {
  letter-spacing: 2px;
  font-size: 14px;
  padding-bottom: 12px;
  position: relative;
}

.cp__card-header-label::after {
  content: "";
  display: block;
  width: 20px;
  height: 4px;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #8ad74a;
}

.cp__card-header-link {
  color: #0392cf;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.3s ease;
}

.cp__card-description {
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.2px;
}

.cp__business-protect-text {
  font-size: 14px;
  font-weight: normal;
  line-height: 20px;
  letter-spacing: 0.2px;
}

.cp__card-link-container {
  border-top: 1px solid #ccc;
  padding-top: 24px;
  margin-top: 24px;
}

.cp__card-container.cp__card-4-container .cp__card-link-container,
.cp__card-container.cp__card-5-container .cp__card-link-container {
  border-top: none;
  padding-top: 0;
}

@media only screen and (max-width: 768px) {
  .cp__card-5-container {
    margin-bottom: 0;
  }
}

.cp__card-container-blue .cp__card-link-container {
  border-top: 1px solid #fff;
}

.cp__card-link-description {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.2px;
}

.cp__card-note {
  display: flex;
  align-items: center;
}

/* ====================
Features Grid - Cards - Tips
==================== */

.cp__tips__grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.cp__tips__grid::before {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 100%;
  border-right: 1px dashed #ccc;
  left: calc(50% - 1px);
  top: 0;
  transform: translateX(-50%);
}

.cp__tips__grid::after {
  content: "";
  display: block;
  position: absolute;
  height: 1px;
  width: 100%;
  border-top: 1px dashed #ccc;
  top: calc(50% - 1px);
  left: 0;
  transform: translateY(-50%);
}

.cp__tips__grid__item {
  display: flex;
  width: 50%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 18px;
}

.cp__tips__grid__item-title {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8ad74a;
}

.cp__tips__grid__item-temp {
  font-size: 20px;
  position: relative;
}

.cp__tips__grid__item-temp::after {
  content: "";
  display: block;
  position: absolute;
  top: 2px;
  right: -8px;
  height: 6px;
  width: 6px;
  border-radius: 3px;
  border: 1.5px solid #fff;
}

.cp__tips__info {
  color: #fff;
  font-size: 16px;
  margin-top: 24px;
}

/* ====================
Features Grid - Cards - Cutting the Cord
==================== */

.cp__cutting-cord__network-grid {
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 100%;
}

.cp__cutting-cord__network-logo {
  width: 33.33%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px;
}

.cp__business-protect-logo {
  margin-right: -33px;
  height: 279px;
  width: 100%;
}

.cp__cutting-cord__network-info {
  width: 66.66%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px;
  text-transform: uppercase;
  font-weight: bold;
}

.cp__cutting-cord__network-logo img {
  width: 100%;
  max-width: 100%;
}

/* ====================
Features Grid - Cards - MyEPB App
==================== */

.cp__myepb-app__image {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 30px;
  position: relative;
}

.cp__myepb-app__image img {
  width: 100%;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.cp__myepb-app__image::after {
  content: "";
  display: block;
  position: absolute;
  height: 100%;
  width: 33.33%;
  top: 0;
  right: 0;
  background: linear-gradient(
    35.07deg,
    rgba(3, 146, 207, 0.3) -5.66%,
    rgba(0, 113, 186, 0.3) 97.21%
  );
  opacity: 0.6;
}

.cp__myepb-app__links {
  display: flex;
  margin-top: 32px;
  justify-content: center;
  align-items: center;
  max-height: 60px;
}

.cp__myepb-app__link {
  max-width: 160px;
  margin: 0 8px;
}

/* ====================
Features Grid - Cards - Energy Pros
==================== */

.cp__card-energy-pros svg path {
  fill: #0392cf;
}

.cp__card-container-blue .cp__card-energy-pros svg path {
  fill: #fff;
}

/* ====================
Features Grid - Cards - Billing
==================== */

.cp__card-container.cp__card-4-container .cp__card-header-container {
  background-size: cover;
  background-position: center left;
  width: calc(100% + 64px);
  margin-left: -32px;
  margin-right: -32px;
  margin-top: -32px;
  padding: 32px;
  min-height: 140px;
  height: 100%;
}

.cp__card-container.cp__card-4-container .cp__card-header {
  color: #fff;
}

/* ====================
Features Grid - Cards - Smart Network
==================== */

.cp__card.cp__card__smart-network {
  flex-direction: row;
  flex-wrap: wrap;
}

.cp__card.cp__card__smart-network .cp__card-header-container {
  width: 75%;
  align-self: flex-end;
  order: 2;
}

.cp__card.cp__card__smart-network .cp__card-elements {
  width: 25%;
  height: auto;
  align-self: flex-start;
  order: 1;
}

.cp__card.cp__card__smart-network .cp__card-link-container {
  width: 100%;
  order: 3;
}

/* ====================
Features Grid - Cards - Energy Dashboard
==================== */

.cp__graph-container .subheading,
.cp__graph-container .cp__current-cycle-total,
.cp__graph-container .cp__previous-cycle-total {
  color: #0d123d;
}

.cp__graph-header-container {
  display: flex;
  flex-direction: column;
}

.cp__graph-header-items-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.cp__graph-header-item {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.cp__graph-header-item:nth-child(2) {
  justify-content: flex-end;
}

.cp__graph-legend-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.cp__graph-legend-item {
  width: 48%;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-top: 24px;
}

.cp__legend-square {
  width: 20px;
  height: 20px;
  margin-right: 16px;
}

.cp__estimated-cost {
  font-size: 20px;
  line-height: 30px;
}

.cp__current-cycle {
  font-family: "LL Circular Bold Web", sans-serif;
}

.cp__current-cycle span {
  font-family: "LL Circular Book Web", sans-serif;
}

.cp__current-cycle-icon {
  cursor: pointer;
}

.cp__current-cycle-icon svg path {
  fill: #0d123d;
  transition: fill 0.3s ease;
}

.cp__current-cycle-icon:hover svg path {
  fill: #0392cf;
}

.cp__graph {
  width: 100%;
  min-height: 260px;
}

/* ====================
Customer Portal - Modal
==================== */

/* Account Settings - Modal - Main Overlay and wrapper */
.cp__modal_overlay {
  display: flex;
  align-items: flex-start;
  padding-top: 90px;
  pointer-events: auto;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  justify-content: center;
  align-items: center;

  background-color: rgba(0, 0, 0, 0.3);

  z-index: 10;
}

@media screen and (min-width: 1026px) {
  .cp__modal_overlay {
    align-items: center;
    padding-top: 0;
  }
}

.cp__modal__bill-estimate,
.cp__modal {
  display: flex;
}

/* Customer Portal - Modal - Wrapper */
.cp__modal {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 106px);

  justify-content: flex-start;
  align-items: center;
  flex-direction: column;

  background-color: white;

  padding: 32px;
  margin-right: 16px;
  margin-left: 16px;

  overflow-y: auto;
}

@media screen and (min-width: 1026px) {
  .cp__modal {
    justify-content: center;
    padding: 64px;
  }
}

/* Customer Portal - Modal - Close Button */

.cp__modal__close-button {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 24px;
  right: 24px;
  cursor: pointer;
}

/* Customer Portal - Modal - Content */

.cp__modal__content {
  width: 100%;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

/* ====================
Generic Styles
==================== */

.btn-cta {
  cursor: pointer;
}

.cp__hide {
  display: none !important;
  pointer-events: none !important;
}

/* Generic select stylewrapper */

.epb-select-wrapper {
  position: relative;
  border: 1px solid #ccc;
  z-index: 1;
}

.epb-select-wrapper select {
  width: 100%;
  border: none;
  border-radius: 0;
  height: 50px;
  padding: 10px 40px 10px 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media screen and (min-width: 1026px) {
  .epb-select-wrapper select {
    min-width: 350px;
  }
}

.epb-select-wrapper::after {
  content: "";
  display: block;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 6' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0.580645C0 0.432097 0.0627861 0.283452 0.188357 0.170129C0.439393 -0.0567097 0.846321 -0.0567097 1.09736 0.170129L6 4.59823L10.9026 0.170129C11.1537 -0.0567097 11.5606 -0.0567097 11.8116 0.170129C12.0628 0.396774 12.0628 0.764516 11.8116 0.991161L6.4545 5.82987C6.20346 6.05671 5.79654 6.05671 5.5455 5.82987L0.188357 0.991161C0.0627861 0.877839 0 0.729194 0 0.580645Z' fill='%231D2225'/%3E%3Cmask id='mask0' mask-type='alpha' maskUnits='userSpaceOnUse' x='0' y='0'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0.580645C0 0.432097 0.0627861 0.283452 0.188357 0.170129C0.439393 -0.0567097 0.846321 -0.0567097 1.09736 0.170129L6 4.59823L10.9026 0.170129C11.1537 -0.0567097 11.5606 -0.0567097 11.8116 0.170129C12.0628 0.396774 12.0628 0.764516 11.8116 0.991161L6.4545 5.82987C6.20346 6.05671 5.79654 6.05671 5.5455 5.82987L0.188357 0.991161C0.0627861 0.877839 0 0.729194 0 0.580645Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask0)'%3E%3Crect x='-1' y='-4' fill='%230D123D'/%3E%3C/g%3E%3C/svg%3E%0A");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-size: 12px;
  top: 50%;
  right: 2px;
  height: calc(100% - 2px);
  transform: translateY(-50%);
  width: 40px;
  position: absolute;
  pointer-events: none;
}
