#loginPitch {
  width:100%;
  padding:10px 15px;
}

#loginPitch h1, #loginPitch h4 {
  text-align: center;
}

.loginGridContainer button.cta {
  max-width: 420px;
}

#loginPitch p {
  max-width: 270px;
  margin:0 auto;
  padding:10px 0;
}

div.applicationGrid {
  display: grid;
  grid-column-gap: 1px;
  grid-template-columns: 2fr 1fr 2fr;
  grid-row-gap: 20px;
  justify-items: stretch;
  align-items: stretch;
  max-width: 800px;
  padding-bottom:20px;
  padding-bottom: 0px;
}

div.paymentHistory {
  grid-template-columns: 2fr 1fr 2fr 2fr;
  grid-row-gap: 0px;
}

div.loanAccount {
  grid-template-columns: 2fr 1fr 2fr;
  grid-row-gap: 0px;
}

div.paymentPlan {
  grid-template-columns: 2fr 1fr 2fr;
  grid-row-gap: 0px;

}

#myPayments-content > div > span:not(.strong),
div.paymentPlan > span.booked {
  background:rgba(188,250,217,0.55);
}
#myPayments-content > div.tableGrid.upcomingPayments > span:not(.strong),
div.paymentPlan > span.future {
  background:rgba(250,235,188,0.8);
}

div.upcomingPayments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 1px;
  grid-row-gap: 20px;
  justify-items: stretch;
  align-items: stretch;
  max-width: 800px;
  padding-bottom:20px;
  grid-row-gap: 0;
  padding-bottom: 0;
}

div.documentsGrid {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  grid-column-gap: 1px;
  grid-row-gap: 20px;
  justify-items: stretch;
  align-items: stretch;
  max-width: 800px;
  padding-bottom:20px;
}

div.documentsGrid > ul {
  max-height: 35px;
  cursor: pointer;
  overflow: hidden;
  background: -webkit-linear-gradient(var(--deepblue), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

div.documentsGrid > span:not(.strong) {
  text-align: left;
  font-weight: 200;
}
div.documentsGrid > ul {
  margin:0;
}
div.documentsGrid > ul > li {
  font-size:13px;
  line-height: 110%;
  font-weight: 200;
  margin-bottom:2px;
  list-style: circle;
}

.tableGrid {
  display: grid;
  grid-template-columns: minmax(30px, 100px) 3fr 2fr 5fr;
  border-top: 1px solid var(--lighterCoral);
  border-right: 1px solid var(--lighterCoral);
  border-radius: 4px;
}
.tableGrid > span {
  padding: 8px 4px;
  border-left: 1px solid var(--lighterCoral);
  border-bottom: 1px solid var(--lighterCoral);
  text-align: center;
}

.myItemContent > .rowHeader {
  font-size: 1rem;
  display: flex;
  align-items: center;
}
.myItemContent > .rowHeader:after {
  content: '';
  flex: 1;
  margin-left: 1rem;
  height: 1px;
  background-color: var(--lightGrey);
}

.ppiSection {
  display: grid;
  gap: 14px;
}

.ppiCard {
  border: 1px solid var(--lightGrey);
  border-radius: 10px;
  padding: 14px;
  background: #f8fbff;
}

.ppiCard h3 {
  margin: 0 0 6px 0;
  font-size: 1.1rem;
}

.ppiCard p {
  margin: 0;
  line-height: 1.45;
}

.ppiCard--active {
  border-color: #c9dfef;
  background: linear-gradient(180deg, #f5faff 0%, #eef6fd 100%);
}

.ppiCard--inactive {
  border-color: #e5e7eb;
  background: linear-gradient(180deg, #fcfcfd 0%, #f7f8fa 100%);
}

.ppiEyebrow {
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  color: #5f6d7a;
}

.ppiActionGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.ppiActionGrid > a.ctaSmall {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 0;
}

.ppiSecondaryAction {
  background: #fff;
  color: var(--deepblue);
  border: 1px solid #cfd8e3;
}

.ppiInfoGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.ppiInfoCard {
  border: 1px solid var(--lightGrey);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.ppiInfoCard h4 {
  margin: 0 0 8px 0;
  font-size: 1rem;
}

.ppiInfoCard p {
  margin: 0 0 8px 0;
  line-height: 1.45;
}

.ppiInfoCard p:last-child {
  margin-bottom: 0;
}

.ppiInfoCard ul {
  margin: 0;
  padding-left: 20px;
}

.ppiInfoCard li {
  margin-bottom: 5px;
}

@media (max-width: 767px) {
  .ppiSection {
    gap: 10px;
  }

  .ppiCard {
    border-radius: 8px;
    padding: 12px;
  }

  .ppiCard h3 {
    font-size: 1rem;
    line-height: 1.35;
  }

  .ppiCard p {
    line-height: 1.4;
  }

  .ppiActionGrid {
    gap: 10px;
  }

  .ppiActionGrid > a.ctaSmall {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .ppiInfoGrid {
    gap: 8px;
  }

  .ppiInfoCard {
    border-radius: 8px;
    padding: 10px;
  }

  .ppiInfoCard h4 {
    font-size: 0.96rem;
  }

  .ppiInfoCard ul {
    padding-left: 18px;
  }
}

.myItemContent button.ctaSmall, .myItemContent > button.ctaMin, .myItemContent > button.tertiaryButton {
  width:100%;
  max-width: none;
  margin:10px 0;
  font-size: 18px;
  font-weight: 300;
  box-sizing: border-box;
}


.myPagesGridContainer {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-rows: 2fr;
  grid-column-gap: 10px;
  grid-row-gap: 5px;
  justify-items: stretch;
  align-items: stretch;
  padding:10px;
  box-sizing: border-box;
  transition: 0.3s ease;
}
.myPagesGridContainer .grid {
  font-size: 18px;
  font-weight: 300;
  line-height: 24px;
}
.myPagesGridContainer > .grid.nav {
  box-shadow: 5px 0 7px rgba(0,0,0,0.02);
  padding:10px;
  margin-top:40px;
  padding-right: 25px;
}
.myPagesGridContainer > .grid > p.accordian {
  font-size:16px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.myPagesGridContainer > .grid > p.accordian.active {
  color:var(--coral);
  font-size:18px;
  font-weight: 400;
}
.myPagesGridContainer > .grid > p.accordian.sub {
  font-size:15px;
  margin-left:15px;
  cursor: pointer;
}
.myPagesGridContainer > .grid > p.accordian:hover {
  color:var(--coral);
  cursor: pointer;
}
.myPagesGridContainer > .grid > p.accordian::before {
  content: "";
  float: right;
  margin-top: 8px;
  margin-right: 10px;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  border-width: 2px 2px 0 0;
  border-style: solid;
  border-color: var(--deepblue);
  display: block;
}

section.myItem {
  width:100%;
  background: rgba(255,255,255,0.75);
  padding:20px 10px;
  border:1px solid var(--lightGrey);
  border-radius: 4px;
  margin:10px 0;
  cursor: pointer;
}

section.myItem > span {
  display: block;
  float:right;
  margin-right: 20px;
  width: 25px;
  line-height: 25px;
  border-radius: 50%;
  text-align: center;
  font-size: 15px;
  font-weight: 400;
  color:white;
  background: var(--coral);
}

section.myItem::before {
  content: "";
  float: right;
  margin-top: 6px;
  margin-right: 10px;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  border-width: 2px 2px 0 0;
  border-style: solid;
  border-color: var(--coral);
  transition: 0.2s ease;
  display: block;
}
div.myItemContent {
  display:none;
  font-size: 14px;
  padding:10px;
  margin-top:-2px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border-bottom: 1px solid var(--lightGrey);
  border-left: 1px solid var(--lightGrey);
  border-right: 1px solid var(--lightGrey);
}

section.myItem.active {
  border-bottom: none;
  margin-bottom: 0;
  font-weight: 500;
  box-shadow: none;
}

.myPagesGridContainer div.faqSection > .faqContainer > div > h5 > label {
  background: none;
}



/* desktop */
@media (min-width: 1024px) {
.myPagesGridContainer {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 200fr;
  grid-template-rows: 2fr;
  grid-column-gap: 50px;
  grid-row-gap: 5px;
  justify-items: stretch;
  align-items: stretch;
}

.ppiActionGrid {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.ppiInfoGrid {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
}

  #loginPitch h1 {
  font-size:38px;
}
#loginPitch > div.spacerM {
  height:20px;
}
.loginGridContainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(319px, 1fr));
  grid-column-gap: 5px;
  grid-row-gap: 0px;
  height: 100%;
}
.loginGridContainer > div {
  width:100%;
  min-width: 320px;
  box-sizing: border-box;
}
.loginGridContainer > div:nth-child(1) {
  grid-area: 1 / 1 / 2 / 2;
}
.loginGridContainer > div:nth-child(2) {
  grid-area: 1 / 2 / 2 / 4;
  background: url('/static/images/mpbg.jpg') no-repeat;
  background-size: cover;
  background-position: bottom right;
  height: 100%;
}
.loginGridContainer > div {
  padding: 0px 20px;
}
}
/* desktop */