/* ====================
Customer Portal - Make a Payment
==================== */

/* Modified CTA Styles */
.customer-portal-map__wrapper .btn-cta:not(.alternate):not(.alternate-white) {
  width: calc(100% + 2rem);
  position: relative;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 1em;
  padding-bottom: 1em;
  text-align: left;
}

@media screen and (min-width: 1026px) {
  .customer-portal-map__wrapper .btn-cta:not(.alternate):not(.alternate-white) {
    width: 100%;
  }
}

.customer-portal-map__wrapper .btn-cta:not(.alternate):not(.alternate-white)::after {
  position: absolute;
  top: 50%;
  right: 2.5rem;
  transform: translateY(-50%);
  transition: right 0.3s ease;
}

.customer-portal-map__wrapper .btn-cta:not(.alternate):not(.alternate-white):hover {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.customer-portal-map__wrapper .btn-cta:not(.alternate):not(.alternate-white):hover::after {
  right: 1.5rem;
}

/* Generic List Classes */

.overflow-ellipsis {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cp__content-section {
  margin-bottom: 16px;
}

@media screen and (min-width: 1026px) {
  .cp__content-section {
    border-bottom: 1px solid #868686;
    margin-bottom: 40px;
  }
}

/* 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;
}

.cp__modal__content.cp__hide {
  pointer-events: none;
}

/* ====================
    Generic Styles
    ==================== */
.btn-cta {
  cursor: pointer;
}

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

/* 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(http://dev.level2d.com/epb/images/common/arrow-icon.svg);
  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;
}
