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

.cd__hide {
  display: none;
}

/* ====================
    Billing Details 
    ==================== */

.cd__billing-date-details-container {
  width: 100%;
  margin-bottom: 12px;
}

.cd__billing-date-details {
  margin-left: 5px;
  font-weight: bold;
}

/* Billing Details - Spreadsheet Links */

.cd__spreadsheet-link-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  cursor: pointer;
}

/* ====================
    All Lines Summary
    ==================== */

.cd__all-lines-table {
  width: 100%;
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 1026px) {
  .cd__all-lines-table {
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #ccc;
  }
}

.cd__all-lines-header {
  display: none;
}

@media screen and (min-width: 1026px) {
  .cd__all-lines-header {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 2px solid #0392cf;
  }
}

.cd__all-lines-row,
.cd__line-total-row {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 16px;
  padding-right: 16px;
  padding-bottom: 16px;
  padding-left: 16px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
}

.cd__line-total-row {
  background-color: #fff;
  margin-bottom: 0;
  margin-top: 16px;
}

@media screen and (min-width: 1026px) {
  .cd__all-lines-row,
  .cd__line-total-row {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-top: 24px;
    padding-right: 0;
    padding-bottom: 24px;
    padding-left: 0;
    margin-bottom: 0;
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: none;
    background-color: #f9f9f9;
  }

  .cd__line-total-row {
    margin-top: 0;
  }
}

.cd__all-lines-cell,
.cd__line-total-cell {
  padding-bottom: 16px;
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.cd__all-lines-cell:first-of-type,
.cd__line-total-cell:first-of-type {
  margin-bottom: 16px;
  border-bottom: 1px dashed #ccc;
}

.cd__all-lines-cell:last-of-type,
.cd__line-total-cell:last-of-type {
  padding-bottom: 0;
}

@media screen and (min-width: 1026px) {
  .cd__all-lines-cell,
  .cd__line-total-cell {
    margin-bottom: 0;
    padding-bottom: 0;
    width: 75px;
    justify-content: flex-start;
    justify-self: flex-end;
    margin-right: 32px;
    flex-shrink: 0;
  }

  .cd__all-lines-cell:first-of-type,
  .cd__line-total-cell:first-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    justify-content: center;
    width: 100%;
    margin-right: 0;
    flex-shrink: 1;
  }
}

.cd__all-lines-minute-label,
.cd__all-lines-cost-label,
.cd__line-total-minute-label,
.cd__line-total-cost-label {
  width: 75px;
  text-align: left;
  margin-right: 32px;
}

@media screen and (min-width: 1026px) {
  .cd__all-lines-minute-label-mobile,
  .cd__all-lines-cost-label-mobile,
  .cd__line-total-minute-label,
  .cd__line-total-cost-label {
    display: none;
  }
}

/* ====================
    Line Table Desktop
    ==================== */

.cd__line-table {
  display: none;
}

@media screen and (min-width: 1026px) {
  .cd__line-table {
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #868686;
  }

  .cd__line-table:last-of-type {
    border-bottom: none;
  }
}

/* ====================
    Line Table Mobile
    ==================== */

.cd__mobile-line-table {
  display: flex;
  flex-direction: column;
  padding-top: 32px;
  padding-bottom: 0;
  margin-bottom: 18px;
  border-bottom: none;
}

@media screen and (min-width: 1026px) {
  .cd__mobile-line-table {
    display: none;
  }
}

.cd__line-header {
  width: 100%;
  padding-bottom: 0;
}

@media screen and (min-width: 1026px) {
  .cd__line-header {
    padding-bottom: 16px;
  }
}

.cd__line_header:first-child {
  margin-top: 16px;
}

.cd__line-summary-header {
  display: none;
}

@media screen and (min-width: 1026px) {
  .cd__line-summary-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1.5px solid #0392cf;
    font-size: 16px;
  }
}

.cd__line-summary-row {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  padding-top: 16px;
  padding-right: 16px;
  padding-bottom: 16px;
  padding-left: 16px;
  border-top: none;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-bottom: none;
  background: #fff;
  position: relative;
}

.cd__line-summary-row:not(:last-of-type)::after {
  content: "";
  display: block;
  width: calc(100% - 32px);
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom: 1px dashed #ccc;
}

@media screen and (min-width: 1026px) {
  .cd__line-summary-row:not(:last-of-type)::after {
    display: none;
  }
}

.cd__line-summary-row:first-of-type {
  border-top: 1px solid #ccc;
}

.cd__line-summary-row:last-child {
  border-bottom: 1px solid #ccc;
}

@media screen and (min-width: 1026px) {
  .cd__line-summary-row {
    min-height: 108px;
    padding-right: 0;
    padding-left: 0;
    margin-bottom: 0;
    border-top: transparent;
    border-right: transparent;
    border-left: transparent;
    border-bottom: 1px dashed #ccc;
    flex-wrap: nowrap;
  }

  .cd__line-summary-row:last-child {
    border-bottom: none;
  }
}

.cd__line-summary-cell {
  padding-top: 8px;
  padding-bottom: 8px;
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.cd__line-summary-cell:first-of-type {
  padding-top: 0;
}

.cd__line-summary-cell:last-of-type {
  padding-bottom: 0;
}

.cd__line-header .cd__line-summary-cell {
  align-items: flex-start;
}

.cd__line-summary-cell:last-child {
  display: flex;
  flex-wrap: wrap;
}

@media screen and (min-width: 1026px) {
  .cd__line-summary-cell {
    padding-top: 0;
    padding-bottom: 0;
    width: 20%;
    justify-content: flex-start;
    align-items: center;
  }
}

@media screen and (min-width: 1026px) {
  .cd__line-summary-cell.cd__line-summary-header-minutes,
  .cd__line-summary-cell.cd__line-summary-header-cost,
  .cd__line-summary-cell:nth-last-child(2),
  .cd__line-summary-cell:nth-last-child(1) {
    width: 75px;
    text-align: left;
    margin-right: 32px;
    justify-self: flex-end;
    flex-shrink: 0;
  }
}

.cd__mobile_label {
  color: rgba(64, 64, 64, var(--text-opacity));
}

@media screen and (min-width: 1026px) {
  .cd__mobile_label {
    display: none;
  }
}

.cd__date-time,
.cd__from,
.cd__to,
.cd__location,
.cd__minutes,
.cd__cost {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  color: rgba(64, 64, 64, var(--text-opacity));
}

@media screen and (min-width: 1026px) {
  .cd__date-time,
  .cd__from,
  .cd__to,
  .cd__location,
  .cd__minutes,
  .cd__cost {
    font-size: 14px;
  }
}

.cd__mobile-slider-wrapper {
  position: relative;
  width: calc(100% + 36px);
  overflow: hidden;
  margin-left: -18px;
  margin-right: -18px;
  margin-top: 16px;
}

@media screen and (min-width: 641px) {
  .cd__mobile-slider-wrapper {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

.cd__mobile-slider-wrapper::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  width: 80px;
  height: 100%;
  background: rgb(255, 255, 255);
  background: linear-gradient(
    270deg,
    rgba(255, 255, 255, 1) 20%,
    rgba(249, 249, 249, 0) 90%
  );
  z-index: 2;
  pointer-events: none;
}

.cd__mobile-slider {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 100%;
  overflow-x: scroll;
}

@media screen and (min-width: 1026px) {
  .cd__mobile-slider {
    display: none;
  }
}

.cd__mobile-table-wrapper {
  margin-right: -18px;
  margin-left: -18px;
  width: calc(100% + 36px);
  padding-left: 18px;
  padding-right: 18px;
  background-color: #f9f9f9;
}

@media screen and (min-width: 641px) {
  .cd__mobile-table-wrapper {
    margin-right: 0;
    margin-left: 0;
    width: 100%;
  }
}

.cd__mobile-table-container {
  content: "";
}

@media screen and (min-width: 1026px) {
  .cd__mobile-table-container {
    display: none;
  }
}

.cd__slide-item {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 128px;
  width: 100%;
  padding: 16px;
  border-right: 1px solid #ccc;
  z-index: 1;
  text-transform: uppercase;
  font-size: 12px;
  font-family: "FuturaNext-Book", sans-serif;
  letter-spacing: 0.12em;
}

.cd__slide-item::after {
  content: "";
  display: block;
  position: absolute;
  pointer-events: none;
  width: 100%;
  height: 4px;
  bottom: 0;
  left: 0;
  background-color: #e7e7e7;
  transition: background-color 0.3s ease;
}

.cd__slide-item.cd__active::after {
  background-color: #8ad74a;
}

.cd__slide-item.cd__active .cd__slider-title {
  color: #0071ba;
}

.cd__slider-title {
  height: auto;
  pointer-events: none;
  transition: color 0.3s ease;
}
