* {box-sizing:border-box}

@media only screen and (max-width: 425px)  {
  .calc-inner-container {
    width: 100%;
  }
  .col {
  width: 100%!important;
  padding: 0 20px;
  }
  .row-inner {
    flex-direction: column;
  }
  .hhc-col {
    align-items: center;
  }
  .hhc-col p {
    justify-content: center!important;
  }
  .hhc-col.cards p2 {
    margin: 0.5rem 0;
    min-width: 130px;
    width: 100%;
    display: flex;
    justify-content: flex-start !important;
  }
  .hhc-row {
    flex-direction: column!important;
  }
  .figures p {
    width: 80%;
  }
  .row-inner-table tbody tr:first-child td:first-child {
    background:transparent;
  }
  .row-inner-table tbody tr:nth-child(4), .row-inner-table tbody tr:nth-child(5) {
    height:68px;
  }
    
  .row-inner-table tbody tr:nth-child(4) td, .row-inner-table tbody tr:nth-child(5) td {
      
    vertical-align: top;
  }
  .row-inner-table tbody td:first-child {position:absolute;width:100%;max-width:150px;z-index: 1;}
  .row-inner-table tbody td:nth-child(2) {
  display:inline-block;
  margin-left:160px;
  }
  .row-inner-table tbody td {position: sticky;}
  
  .curved-arrow, .curved-arrow-2 {
    display: none !important;
  }
  .house-icon {
    margin: 30px auto;
  }
}
@media only screen and (max-width: 765px)  {
  .curved-arrow {
    left: 60%;
  }
  .curved-arrow-2 {
    display: none;
  }
  .col.type-centered {
  display: flex;
  flex-direction: column;
  }
}
@media only screen and (max-width: 970px) and (min-width: 766px)  {
  .curved-arrow {
    top: -59px;
    left: 35%;
    width: 90px;

  }
  .curved-arrow-2 {
    display: none;
  }
}



@media only screen and (max-width: 1200px)  {
 
  .curved-arrow-2 {
    left:30%;
  }
  
}

/* End Mobile Styles */

.calc-inner-container {
  /* width: 800px; */
  margin: 0 auto;
}

.col {
/*   width: 650px; */
/*   margin: auto; */
  padding-bottom: 60px;
}
.col.type-centered {
  width: 750px;
  margin: 0;
  display: flex;
  width:100%;
  align-items: center;
  justify-content: space-around;
  padding-bottom: 60px;
}

.hhc-col {
  display: flex;
  flex-direction: column;
}

.hhc-col p {
  margin: 0.5rem 0;
  min-width: 130px;
  display: flex;
}
.alignleft {
  align-items: flex-start;
}
.hhc-col.cards p {
  margin: 0.5rem 0;
  min-width: 130px;
  width: 100%;
  display: flex;
  justify-content: flex-start !important;
}


.hhc-col.cards p span:first-child {
  min-width:80px;
}

.hhc-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

#lead-name {
  text-transform: capitalize;
}

.row-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding-bottom: 20px;
}
.col.type-centered .row-inner {
  display: flex;
  flex-wrap: wrap;
  width:50%;
  justify-content: space-between;
  padding-bottom: 20px;
}

.col-inner {
  display: flex;
  flex-direction: column;
flex: 0 1 150px; /*  No stretching: */
}

.col-inner-cont {
  display: flex;
  flex-direction: row;
}
.summary-title {
  display: flex;
  align-items: center;
  text-transform: uppercase;
  font-weight: 500;
}
.summary-content {
 text-transform: capitalize;
}

.loan-summary-box {
  box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 20px;
  margin-bottom: 20px;
  text-align: center;
  
  font-weight: 500;
  z-index: 0;
 
}

.loan-summary-box-title {
   padding: 10px 10px 0 10px;
  font-size: 1.8rem;
}

.loan-summary-figure {
  padding: 0 10px 0 10px;
  font-size: 3.6rem;
  font-family: Merriweather;
  color: #fff;
}

.est-home-val {
background-color: #19263f;
width: 100%;
}
.avil-hhc-val {
background-color: #fdb701;
width: 100%;
}
.est-mortgage-val {
background-color: #5184A1;
width: 100%;
}
.sqr {
  height: 20px;
  width: 20px;
  margin-right: 10px;
  display: inline-block;
}

.legend p {
  font-size: 1.2rem;
  line-height: 1.35;
}

.funding-items {
  justify-content: center;
  text-align: center;
  font-weight: 500;
  align-items: center;
}
.funding-items p {
  justify-content: center;

}

.funding-total {
  justify-content: space-evenly;
  padding-top: 30px;
}

.figures p {
  background-color: rgb(249, 248, 246);
  border-radius: 10px;
  font-size: 1.8rem;
  font-weight: 500;
  padding: 12px;

}

.curved-arrow {
  position: absolute;
  top: -50px;
  left: 39%;
  z-index: -1;
}
.curved-arrow-2 {
  position: absolute;
  z-index: -1;
  top: 237px;
  left: 26%;
}


.col-inner p {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-transform: uppercase;
}

.row-inner-table {
  overflow-y: hidden;
}
.row-inner-table table {
  text-align: center;
  overflow: scroll;
  border-collapse: collapse;
  cursor: pointer;
}

.row-inner-table tbody td:nth-child(odd) {background-color: #f9f8f6;}
.row-inner-table tbody td:first-child {text-align: left;padding-left: 10px;}
.row-inner-table tbody td {padding: 10px;}


