/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
/* input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
} */

#calculator_g {
    float: left;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.calc_top, .mort_list {
    float: left;
    width: 100%;
}
/* Your logo watermark layer (already added earlier) */
#gca-watermark{
  position: absolute;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    background-image: url(https://gustancho.com/wp-content/uploads/2022/09/fav.png);
	background-size:50px;
    background-repeat: no-repeat;
    background-position: bottom left;
}
/* CTA row: "Powered by" + Apply button */
.gca-cta-wrap{
  position: absolute;
    right:0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
    color: #111;
    padding: 3px 10px;
}
/* Positioning context */
#gca-calc-wrap { position: relative; float: left;
    padding-bottom:6%;}
.gca-powered{ opacity:.9; white-space:nowrap; }

/* Button */
.gca-apply{
  display:inline-block; text-decoration:none; color:#fff;
  background:#0a7cff; padding:8px 12px; border-radius:10px; font-weight:700;
  box-shadow: 0 4px 12px rgba(10,124,255,.35);
}
.gca-apply:hover{ background:#0666d0; }

/* Mobile */
@media (max-width:520px){
  .gca-cta-wrap{ right:0px; padding:4px 0px; gap:8px; font-size:13px; }
  .gca-apply{ padding:7px 10px; }
	#gca-calc-wrap {
    padding-bottom: 20%;}
}

/* Print/PDF */
@media print{
  #gca-watermark{ display:block !important; -webkit-print-color-adjust:exact; print-color-adjust:exact; }
  .gca-cta-wrap{ position:static; display:inline-flex; }
}
/* Firefox */
.tab_mortgage_content input[type=number] {
  -moz-appearance: textfield;
}

.mortgage_title{

    text-align:center;
    color:#1e3a5f;
}


.mort_list{

    padding-left:0px;
    margin-bottom:0px;
	 margin-left:0px;
    text-align: left;
}
label[for=income]{
    font-size:14px;
    color:black;
    width:100%;
    font-size:15px;
}


.subtitles_for_income{
    width:50%;
    float:left;
    text-align:center;
    font-size:14px;
    color: black;
}

#debt_requirements{
    text-align:center;
    color: black;
    font-size:14px;
    width:100%;
    margin-bottom:5px;
    margin-top:-5px;
    line-height:1.3;

}

.ratio_header_left_subtext{
    width:50%;
    float:left;
    text-align:center;
    padding-left:25px;
    font-size:12px;
    color: black;
}
.ratio_header_right_subtext{
    width:50%;
    float:left;
    text-align:center;
    padding-right:25px;
    font-size:12px;
    color: black;
}
#front_ratio_num{
    float:left;
    border-radius:5px;
    padding-top:8px;
    padding-bottom:3px;
    width:30%;
    font-size:30px;
    font-family: Roboto, Arial, sans-serif;
    color: grey;
}
#back_ratio_num{
    float:left;
    border-radius:5px;
    padding-top:8px;
    padding-bottom:3px;
    width:30%;
    font-size:30px;
    font-family: Roboto, Arial, sans-serif;
    color: grey;
}

#divider{
    font-size:40px;
    font-family: Roboto, Arial, sans-serif;
    color: #678;
    float:left;
}

.tab_mortgage_content.selected{
    background-color:#1e3a5f;
    color:white;
    border-bottom:none;
    box-shadow: 0 0 8px #1e3a5f,
    0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
    font-size:22px;

}
.tab_mortgage_content.selected:hover{
    background-color:#1e3a5f;
    color:white;
    border-bottom:none;
    box-shadow: 0 0 8px #1e3a5f,
    0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
}

#allowance{
    font-size:14px;
    width:100%;
    margin-top:10px;
    font-size:15px;
}

#monthly_income{

    width:80%;
    /* text-align:center; */
    /* border-top-right-radius: 0;
    border-bottom-right-radius: 0; */
    color: #7e7e7e;
    font-family: Poppins;
    font-weight:bold;
    height:40px;
    font-size:20px;
}
 #year_income{

    width:80%;
     /* text-align:center; */
    /* border-top-left-radius: 0;
    border-bottom-left-radius: 0; */
    color: #7e7e7e;
    font-family: Poppins;
    font-weight:bold;
    height:40px;
    font-size:20px;
}

.mort_list li{
    padding:5px;
    display: inline-block;
    font-size:20px;
    cursor:pointer;
    margin-bottom:0px;
    border: 1px solid transparent;
    box-shadow: 0 0 3px 0  #1e3a5f;
    color:black;
}
.mort_list li.selected{
    background-color:#1e3a5f;
    color:white;
    font-size:20px;
    border-bottom:none;
    box-shadow: 0 0 8px #1e3a5f,
    0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
}

.mort_list li[data-value=".FHA"].selected{
    color:white;
}
.mort_list li[data-value=".VA"].selected{
    color:white;
}
.mort_list li[data-value=".Conventional"], .mort_list li[data-value=".USDA"], .mort_list li[data-value=".Jumbo"]
{
 font-size:20px;   
}
.mort_list li[data-value=".VA"]{

    padding-left:10px;
    padding-right:10px;
    /* padding-top:5px; */
    /* padding-bottom:5px; */
    display: inline-block;
    font-size:20px;
    cursor:pointer;
    margin-bottom:0px;
    border: 1px solid transparent;
    box-shadow: 0 0 3px 0  #1e3a5f;
    color:black;
}

.mort_list li[data-value=".FHA"]{

    padding-left:10px;
    padding-right:10px;
    display: inline-block;
    font-size:20px;
    cursor:pointer;
    margin-bottom:0px;
    border: 1px solid transparent;
    box-shadow: 0 0 3px 0  #1e3a5f;
    color:black;
}

.mort_list li:hover{
    background-color: #1e3a5f;
    color:white;
    font-size:22px;
}

.tab_mortgage_content .Conventional{
    background-color: #fff;
    border-radius: 0 10px 10px;
    line-height: 1.8;
    font-size:1.3rem;
    box-shadow: 0 0 8px #1e3a5f,
    0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
    width:95%;
    float:left;
    padding: 5px;

}



.tab_mortgage_content .FHA{
    background-color: #fff;
    border-radius: 0 10px 10px;
    line-height: 1.8;
    font-size:1.3rem;
    box-shadow: 0 0 8px #1e3a5f,
    0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
    height:730px;
    width:95%;
    float:left;

}
.tab_mortgage_content .Jumbo{
    background-color: #fff;
    border-radius: 0 10px 10px;
    line-height: 1.8;
    font-size:1.3rem;
    box-shadow: 0 0 8px #1e3a5f,
    0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
    height:730px;
    float:left;
    width:95%;

}
.tab_mortgage_content .VA{
    background-color: #fff;
    border-radius: 0 10px 10px;
    line-height: 1.8;
    font-size:1.3rem;
    box-shadow: 0 0 8px #1e3a5f,
    0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
    height:730px;
    width:95%;
    float:left;

}
.tab_mortgage_content .USDA{
    background-color: #fff;
    border-radius: 0 10px 10px;
    line-height: 1.8;
    font-size:1.3rem;
    box-shadow: 0 0 8px #1e3a5f,
    0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
    height:780px;
    width:95%;
    float:left;

}

.dti_content{
    background-color: #fff;
    width:100%;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0 0 8px #1e3a5f,
    0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
    line-height: 1.8;
    font-size:1.3rem;

}

.dti_content input{
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.dti_content .name-item input, .dti_content .name-item div {
    width: calc(50% - 20px);
}
.dti_content .name-item div input {
    width:97%;
}

.dti_content .name-item div label {
    display:block;
    padding-bottom:5px;
}



.tab_mortgage_content p {
    color:#797979;
}

.tab_mortgage_content p:not(:first-of-type){
    display:none;
}

#monthly_payment::before {
    content: "$";
    font-size:46px;
    color:#397D02;

  }
  #monthly_payment_va::before {
    content: "$";
    font-size:46px;
    color:#397D02;

  }

  #monthly_payment_conventional::before {
    content: "$";
    font-size:46px;
    color:#397D02;
    text-shadow: 0px 0px 10px  #7aeb7a;
  }
  #monthly_payment_jumbo::before {
    content: "$";
    font-size:46px;
    color:#397D02;
    text-align:left;
  }

  #monthly_payment_usda::before {
    content: "$";
    font-size:46px;
    color:#397D02;
    text-align:left;
  }



#monthly_payment_conventional{
    font-size:46px;
    color:#397D02;
    text-shadow: 0px 0px 10px  #7aeb7a;
    margin-left:15px;
    width:100%;
    text-align:center;
}
#monthly_payment{
    font-size:46px;
    color:#397D02;
    text-shadow: 0px 0px 10px  #7aeb7a;
    margin-left:15px;
    width:100%;
    text-align:center;
}
#monthly_payment_va{
    font-size:46px;
    color:#397D02;
    margin-left:15px;
    text-shadow: 0px 0px 10px  #7aeb7a;
    width:100%;
    text-align:center;
}
#monthly_payment_jumbo{
    font-size:46px;
    color:#397D02;
    text-align:left;
    margin-left:15px;
    text-shadow: 0px 0px 10px  #7aeb7a;
    width:100%;
    text-align:center;
}

#monthly_payment_usda{
    font-size:46px;
    color:#397D02;
    text-align:left;
    margin-left:15px;
    text-shadow: 0px 0px 10px  #7aeb7a;
    width:100%;
    text-align:center;
}


.breakdown_number::before{
    content:"$"
}



.breakdown_number{
    display:inline-block;
    font-size:15px;
    font-weight:bold;

}

  .down_equity_box {
    display: inline-block;
   }

  .down_equity_box label {
    display: block;
   }

    .tab_mortgage_content>body{
        padding: 0;
        margin: 0;
        outline: none;
        font-family: Roboto, Arial, sans-serif;
        font-size: 14px;
        color: #678;
        line-height: 22px;
    }

    .tab_mortgage_content div{
        padding: 0;
        margin: 0;
        outline: none;
        font-family: Roboto, Arial, sans-serif;
        font-size: 14px;
        color: #678;
        line-height: 22px;
    }

.tab_mortgage_content>form{
    padding: 0;
    margin: 0;
    outline: none;
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    color: #678;
    line-height: 22px;
}

.tab_mortgage_content>input{

    padding: 0;
    margin: 0;
    outline: none;
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    color: #678;
    line-height: 22px;
}

.tab_mortgage_content>select{
    padding: 0;
    margin: 0;
    outline: none;
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    color: #678;
    line-height: 22px;
}

.tab_mortgage_content>label{
    padding: 5px;
    margin: 5px;
    outline: none;
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    color: #678;
    line-height: 22px;
}

.tab_mortgage_content>p {
  padding: 0;
  margin: 0;
  outline: none;
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  color: #678;
  line-height: 22px;
  }

 #homeprice_conventional{

    font-weight:bold;
    font-size:20px;
 }
  #p_and_i_payment_conventional{
    color:#44a0fc;
    font-size:32px;
    text-shadow: 0px 0px 10px  #44fce2ab;

  }

#percentage_downpayment_conventional{
    float:left;
    width:35%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    font-weight:bold;
    font-size:20px;
    margin-left:-10px;

}

#downpayment_conventional{
    float:left;
    width:65%;
    font-weight:bold;
    font-size:20px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;

}

#loan_amount_conventional{
    font-weight:bold;
    font-size:20px;


}

#interest_rate_conventional{
    font-weight:bold;
    font-size:20px;


}
#loan_amount_usda{
    font-weight:bold;
    font-size:20px;
}
#property_tax_conventional{
    font-weight:bold;
    font-size:20px;
}

#homeowner_insurance_conventional{
    font-weight:bold;
    font-size:20px;

}

#hoa_fees_conventional{
    font-weight:bold;
    font-size:20px;

}
#pmi_conventional{
    font-weight:bold;
    font-size:20px;

}

#conventional_breakdown{
    width:100%;
    text-align:left;

}
#conventional_breakdown pre{
    background-color:#fff;
    border:none;

}

#fha_breakdown pre{
    background-color:#fff;
    border:none;

}
#va_breakdown pre{
    background-color:#fff;
    border:none;

}
#jumbo_breakdown pre{
    background-color:#fff;
    border:none;

}

.breakdown_title{
    display:inline-block;

    font-size:15px;
    font-weight:bold;
}

.breakdown_title_adjusted{
    display:inline-block;
    font-size:15px;
    font-weight:bold;
    margin-left:-25px;
}



#homeprice{
    font-weight:bold;
    font-size:20px;

}

#funding_fee_usda{
    font-weight:bold;
    font-size:20px;
}
#percentage_downpayment{
    float:left;
    width:35%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    font-weight:bold;
    font-size:20px;
    margin-left:-10px;


}

#percentage_downpayment_usda{
    float:left;
    width:35%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    font-weight:bold;
    font-size:20px;
    margin-left:-10px;


}
#downpayment{
    float:left;
    width:65%;
    font-weight:bold;
    font-size:20px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
#loan_amount{
    font-weight:bold;
    font-size:20px;
}
#loan_amount_mip{
    font-weight:bold;
    font-size:20px;
}
#interest_rate_{
    font-weight:bold;
    font-size:20px;
}
#interest_rate_usda{
    font-weight:bold;
    font-size:20px;
}

#p_and_i_payment{
    font-size:32px;
    color:#44a0fc;
    text-shadow: 0px 0px 10px  #44fce2ab;

  }

  #property_tax{

    font-weight:bold;
    font-size:20px;
  }
  #property_tax_usda{

    font-weight:bold;
    font-size:20px;
  }

  #homeowner_insurance{
    font-weight:bold;
    font-size:20px;
  }
  #homeowner_insurance_usda{
    font-weight:bold;
    font-size:20px;
  }

  #hoa_fees{
    font-weight:bold;
    font-size:20px;
  }
  #hoa_fees_usda{
    font-weight:bold;
    font-size:20px;
  }
  #pmi{
    font-weight:bold;
    font-size:20px;
  }

  #p_and_i_payment_va{
    color:#44a0fc;
    font-size:32px;
    text-shadow: 0px 0px 10px  #44fce2ab;

  }

  #p_and_i_payment_jumbo{
    color:#44a0fc;
    font-size:32px;
    text-shadow: 0px 0px 10px  #44fce2ab;


  }

  #p_and_i_payment_usda{
    color:#44a0fc;
    font-size:32px;
    text-shadow: 0px 0px 10px  #44fce2ab;


  }

  #percentage_downpayment_jumbo{
    float:left;
    width:35%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    font-weight:bold;
    font-size:20px;
    margin-left:-10px;

  }

  #downpayment_jumbo{
    float:left;
    width:65%;
    font-weight:bold;
    font-size:20px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;

  }

  #percentage_downpayment_va{
    float:left;
    width:35%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    font-weight:bold;
    font-size:20px;
    margin-left:-10px;
  }
  #downpayment_usda{
    float:left;
    width:65%;
    font-weight:bold;
    font-size:20px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;

  }

    #downpayment_va{
        float:left;
        width:65%;
        font-weight:bold;
        font-size:20px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;


    }

    #homeprice_va{
        font-weight:bold;
        font-size:20px;

    }
    #loan_amount_va{
        font-weight:bold;
        font-size:20px;

    }
    #interest_rate_va{
        font-weight:bold;
        font-size:20px;
    }
    #funding_fee_va{
        font-weight:bold;
        font-size:20px;
    }

    #property_tax_va{
        font-weight:bold;
        font-size:20px;
    }
    #homeowner_insurance_va{
        font-weight:bold;
        font-size:20px;

    }
    #hoa_fees_va{
        font-weight:bold;
        font-size:20px;
    }

    #loan_amount_jumbo{
        font-weight:bold;
        font-size:20px;
    }

    #interest_rate_jumbo{
        font-weight:bold;
        font-size:20px;
    }
    #property_tax_jumbo{
        font-weight:bold;
        font-size:20px;
    }

    #homeowner_insurance_jumbo{
        font-weight:bold;
        font-size:20px;
    }

    #hoa_fees_jumbo{
        font-weight:bold;
        font-size:20px;
    }


    .tab_mortgage_content>textarea {
        width: calc(100% - 12px);
        padding: 5px;
    }

  .testbox {
    display: flex;
    justify-content: left;
    align-items: left;
    height: inherit;
    width:55%

  }


  .tab_mortgage_content>form {
        width: 100%;

        border-radius: 6px;
        background: #fff;
    }

    .tab_mortgage_content input{
        margin-bottom: 10px;
        border: 1px solid #ccc;
        border-radius: 3px;
    }
    .tab_mortgage_content select {
        margin-bottom: 10px;
        border: 1px solid #ccc;
        border-radius: 3px;
    }

    .tab_mortgage_content  textarea{
        margin-bottom: 10px;
        border: 1px solid #ccc;
        border-radius: 3px;
    }

  .tab_mortgage_content input {
    width: calc(100% - 10px);
    padding: 5px;
  }

  .tab_mortgage_content textarea {
    width: calc(100% - 12px);
    padding: 5px;
  }

  .tab_mortgage_content .item:hover p, .item:hover i, .question:hover p, .question label:hover, input:hover::placeholder {
  color:  #1e3a5f;
  }
  .tab_mortgage_content .item input:hover, .item select:hover, .item textarea:hover {
  border: 1px solid transparent;
  box-shadow: 0 0 3px 0  #1e3a5f;
  color: #1e3a5f;
  }
  .tab_mortgage_content .item {
  position: relative;
  margin: 10px 0;
  text-align: center;
  /* padding:20px; */
  }
  .tab_mortgage_content .item span {
  color: black;
  }



  .colums {
  display:flex;
  justify-content:space-between;
  flex-direction:row;
  flex-wrap:wrap;
  }

  .colums div {
  width:48%;
  }

  .colums .item_pi {
    width:100%;
    }



  .item i {
    right: 1%;
    top: 30px;
    z-index: 1;
  }

  #p_and_i_payment_conventional {
      margin: 0 auto;
  }




  tab_mortgage_content .flax {
    display:flex;
    justify-content:space-around;
  }

  #dti_section{
      width:100%;
      float:left;
      padding:5px;
  }



  @media (min-width: 100px) and (max-width: 299px) {

    .testbox{
        display: flex;
        justify-content: left;
        align-items: left;
        height: inherit;
        width:100%
    }

    #monthly_income{

        width:80%;
        text-align:center;
        /* border-top-right-radius: 0;
        border-bottom-right-radius: 0; */
        color: #7e7e7e;
        font-family: Poppins;
        font-weight:bold;
        height:40px;
        font-size:20px;
    }
     #year_income{

        width:80%;
         text-align:center;
        /* border-top-left-radius: 0;
        border-bottom-left-radius: 0; */
        color: #7e7e7e;
        font-family: Poppins;
        font-weight:bold;
        height:40px;
        font-size:20px;
    }

    .mort_list li.selected{
        background-color:#1e3a5f;
        color:white;
        font-size:15px;
        border-bottom:none;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;

    }
    .mort_list li[data-value=".FHA"].selected{
        color:white;
    }
    .mort_list li[data-value=".VA"].selected{
        color:white;
    }
    .mort_list li[data-value=".Conventional"].selected{
        color:white;
    }
    .mort_list li[data-value=".Conventional"]{

        padding:2px;
        display: inline-block;
        font-size:12px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;
        box-shadow: 0 0 3px 0  #1e3a5f;
        color:black;
    }
    .mort_list li[data-value=".FHA"]{

        padding:2px;
        display: inline-block;
        font-size:12px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;
        box-shadow: 0 0 3px 0  #1e3a5f;
        color:black;
    }
    .mort_list li[data-value=".VA"]{
        padding:2px;
        display: inline-block;
        font-size:12px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;
        box-shadow: 0 0 3px 0  #1e3a5f;
        color:black;
    }

    .mort_list li[data-value=".FHA"]{

        padding: 2px 7px 2px 7px;
        display: inline-block;
        font-size:12px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;
        color:black;
        width:40px;
        box-shadow: 0 0 3px 0  #1e3a5f;

    }

    .mort_list li[data-value=".Jumbo"].selected{
        color:white;
    }

    .mort_list li[data-value=".Jumbo"]{
        color:black;
        padding: 2px 2px 2px 2px;
        display: inline-block;
        font-size:12px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;
        width:80px;
        line-height:1.3;
        box-shadow: 0 0 3px 0  #1e3a5f;

    }

    #monthly_payment_conventional{
        font-size:46px;
        color:#397D02;
        text-shadow: 0px 0px 10px  #7aeb7a;
        margin-left:15px;
        width:100%;
        text-align:center;
    }

    #monthly_payment{
        font-size:46px;
        color:#397D02;
        text-shadow: 0px 0px 10px  #7aeb7a;
        margin-left:0px;
        width:100%;
        text-align:center;
    }
    #monthly_payment_va{
        font-size:46px;
        color:#397D02;
        margin-left:0px;
        text-shadow: 0px 0px 10px  #7aeb7a;
        width:100%;
        text-align:center;
    }

    #monthly_payment_usda{
        font-size:46px;
        color:#397D02;
        margin-left:0px;
        text-shadow: 0px 0px 10px  #7aeb7a;
        width:100%;
        text-align:center;
    }
    #monthly_payment_jumbo{
        font-size:46px;
        color:#397D02;
        text-align:left;
        margin-left:0px;
        text-shadow: 0px 0px 10px  #7aeb7a;
        width:100%;
        text-align:center;
    }

    .tab_mortgage_content .Conventional{
        background-color: #fff;
        border-radius: 0 10px 10px;
        line-height: 1.8;
        font-size:1.3rem;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
        width:100%;
        float:left;

    }
    .tab_mortgage_content .FHA{
        background-color: #fff;
        border-radius: 0 10px 10px;
        line-height: 1.8;
        font-size:1.3rem;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
        width:100%;
        float:left;

    }
    .tab_mortgage_content .Jumbo{
        background-color: #fff;
        border-radius: 0 10px 10px;
        line-height: 1.8;
        font-size:1.3rem;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
        float:left;
        width:100%;


    }
    .tab_mortgage_content .VA{
        background-color: #fff;
        border-radius: 0 10px 10px;
        line-height: 1.8;
        font-size:1.3rem;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
        width:100%;
        float:left;

    }

    #p_and_i_payment_conventional{
        font-size:32px;
        color:#44a0fc;
        text-shadow: 0px 0px 10px  #44fce2ab;
    }
    #p_and_i_payment{
        font-size:32px;
        color:#44a0fc;
        text-shadow: 0px 0px 10px  #44fce2ab;

    }
    #p_and_i_payment_va{
        font-size:32px;
        color:#44a0fc;
        text-shadow: 0px 0px 10px  #44fce2ab;

    }
    #p_and_i_payment_jumbo{
        font-size:32px;
        color:#44a0fc;
        text-shadow: 0px 0px 10px  #44fce2ab;

    }
    #dti_section{
        width:100%;
        height:700px;
        float:left;
        padding:5px;
    }

    #monthly_payment_usda{
        font-size:46px;
        color:#397D02;
        margin-left:0px;
        text-shadow: 0px 0px 10px  #7aeb7a;
        width:100%;
        text-align:center;
    }
    .mort_list li[data-value=".USDA"].selected{
        color:white;
    }
    .mort_list li[data-value=".USDA"]{
        color:black;
        padding: 2px 7px 2px 7px;
        display: inline-block;
        font-size:15px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;
        box-shadow: 0 0 3px 0  #1e3a5f;

    }
    #percentage_downpayment_usda{
        float:left;
        width:41%;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        font-weight:bold;
        font-size:20px;
        margin-left:-15px;

    }
    .tab_mortgage_content .VA{
        background-color: #fff;
        border-radius: 0 10px 10px;
        line-height: 1.8;
        font-size:1.3rem;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
        height:730px;
        width:100%;
        float:left;

    }

  }

  @media (min-width: 300px) and (max-width: 319px)  {
    .testbox{
        display: flex;
        justify-content: left;
        align-items: left;
        height: inherit;
        width:100%
    }

    #monthly_income{

        width:80%;
        text-align:center;
        /* border-top-right-radius: 0;
        border-bottom-right-radius: 0; */
        color: #7e7e7e;
        font-family: Poppins;
        font-weight:bold;
        height:40px;
        font-size:20px;
    }
     #year_income{

        width:80%;
         text-align:center;
        /* border-top-left-radius: 0;
        border-bottom-left-radius: 0; */
        color: #7e7e7e;
        font-family: Poppins;
        font-weight:bold;
        height:40px;
        font-size:20px;
    }
    #monthly_payment_conventional{
        font-size:46px;
        color:#397D02;
        text-shadow: 0px 0px 10px  #7aeb7a;
        width:100%;
        text-align:center;
        margin-left:0px;
    }
    #monthly_payment{
        font-size:46px;
        color:#397D02;
        text-shadow: 0px 0px 10px  #7aeb7a;
        margin-left:0px;
        width:100%;
        text-align:center;
    }
    #monthly_payment_va{
        font-size:46px;
        color:#397D02;
        margin-left:0px;
        text-shadow: 0px 0px 10px  #7aeb7a;
        width:100%;
        text-align:center;
    }
    #monthly_payment_jumbo{
        font-size:46px;
        color:#397D02;
        text-align:left;
        margin-left:0px;
        text-shadow: 0px 0px 10px  #7aeb7a;
        width:100%;
        text-align:center;
    }
    .mort_list li.selected{
        background-color:#1e3a5f;
        color:white;
        font-size:15px;
        border-bottom:none;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;

    }
    .mort_list li[data-value=".FHA"].selected{
        color:white;
    }
    .mort_list li[data-value=".VA"].selected{
        color:white;
    }
    .mort_list li[data-value=".Conventional"].selected{
        color:white;
    }
    .mort_list li[data-value=".Conventional"]{

        padding:2px;
        display: inline-block;
        font-size:12px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;
        box-shadow: 0 0 3px 0  #1e3a5f;
        color:black;
    }
    .mort_list li[data-value=".FHA"]{

        padding:2px;
        display: inline-block;
        font-size:12px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;
        box-shadow: 0 0 3px 0  #1e3a5f;
        color:black;
    }
    .mort_list li[data-value=".VA"]{
        padding:2px;
        display: inline-block;
        font-size:12px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;
        box-shadow: 0 0 3px 0  #1e3a5f;
        color:black;
    }

    .mort_list li[data-value=".FHA"]{

        padding: 2px 2px 2px 2px;
        display: inline-block;
        font-size:12px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;
        color:black;
        width:40px;
        box-shadow: 0 0 3px 0  #1e3a5f;

    }

    .mort_list li[data-value=".Jumbo"].selected{
        color:white;
    }

    .mort_list li[data-value=".Jumbo"]{
        color:black;
        padding: 2px 2px 2px 2px;
        display: inline-block;
        font-size:12px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;
        width:80px;
        line-height:1.3;
        box-shadow: 0 0 3px 0  #1e3a5f;

    }
    .breakdown_number::before{
        content:"$"
    }
    .breakdown_number{
        /* display:inline-block; */
        margin-left:-10px;
        font-size:15px;
        font-weight:bold;
        float: right;


    }

    #percentage_downpayment_conventional{
        float:left;
        width:42%;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        font-weight:bold;
        font-size:19px;
        margin-left:-15px;


    }

    #downpayment{
        float:left;
        width:65%;
        font-weight:bold;
        font-size:19px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;

    }

    #percentage_downpayment{
        float:left;
        width:42%;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        font-weight:bold;
        font-size:19px;
        margin-left:-14px;


    }

    #percentage_downpayment_jumbo{
        float:left;
        width:42%;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        font-weight:bold;
        font-size:19px;
        margin-left:-10px;


      }

      #downpayment_jumbo{
        float:left;
        width:65%;
        font-weight:bold;
        font-size:19px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;


      }


    #percentage_downpayment_va{
        float:left;
        width:42%;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        font-weight:bold;
        font-size:19px;
        margin-left:-10px;

      }

      #downpayment_va{
        float:left;
        width:65%;
        font-weight:bold;
        font-size:19px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;



      }

    #downpayment_conventional{
        float:left;
        width:65%;
        font-weight:bold;
        font-size:19px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;


    }
    .mort_list{

        padding-left:0px;
        margin-bottom:0px;
        text-align: left;
    }
    .tab_mortgage_content .selected{
        background-color:#1e3a5f;
        color:white;
        font-size:12px;
        border-bottom:none;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;

    }
    .selected:hover{
        background-color:#1e3a5f;
        color:white;
        font-size:12px;
        border-bottom:none;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;

    }
    .mort_list li{
        /* background-color: #1e3a5f; */
        padding:2px;
        display: inline-block;
        font-size:12px;
        cursor:pointer;
        font-weight:bold;
        margin-bottom:0px;
        border: 1px solid transparent;
        text-align:center;

        box-shadow: 0 0 3px 0  #1e3a5f;
        color:black;

    }
    .mort_list li:hover{
        background-color: #1e3a5f;
        color:white;
        font-size:12px;
    }

    .tab_mortgage_content{
        background-color: #fff;
        width:100%;
        border-radius: 0 10px 10px;
        line-height: 1.8;
        font-size:1.3rem;

        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;

    }

    .dti_content{
        background-color: #fff;
        width:100%;
        border-radius: 0 10px 10px;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
        line-height: 1.8;
        font-size:1.3rem;
        margin-top:10px;


    }
    .dti_content>body{
        padding: 0;
        margin: 0;
        outline: none;
        font-family: Roboto, Arial, sans-serif;
        font-size: 14px;
        color: #678;
        line-height: 22px;
    }

    .dti_content div{
        padding: 0;
        margin: 0;
        outline: none;
        font-family: Roboto, Arial, sans-serif;
        font-size: 14px;
        color: #678;
        line-height: 22px;
    }

    .dti_content>form{
        padding: 0;
        margin: 0;
        outline: none;
        font-family: Roboto, Arial, sans-serif;
        font-size: 14px;
        color: #678;
        line-height: 22px;
    }

    .dti_content>input{

        padding: 0;
        margin: 0;
        outline: none;
        font-family: Roboto, Arial, sans-serif;
        font-size: 14px;
        color: #678;
        line-height: 22px;
    }

    .dti_content>select{
        padding: 0;
        margin: 0;
        outline: none;
        font-family: Roboto, Arial, sans-serif;
        font-size: 14px;
        color: #678;
        line-height: 22px;
    }

    .dti_content>label{
        padding: 5px;
        margin: 5px;
        outline: none;
        font-family: Roboto, Arial, sans-serif;
        font-size: 14px;
        color: #678;
        line-height: 22px;
    }

    .dti_content>p {
    padding: 0;
    margin: 0;
    outline: none;
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    color: #678;
    line-height: 22px;
    }


    .tab_mortgage_content p {
        color:#797979;
    }

    .tab_mortgage_content p:not(:first-of-type){
        display:none;
    }

    #p_and_i_payment_conventional{
        font-size:32px;
        color:#44a0fc;
        text-shadow: 0px 0px 10px  #44fce2ab;

    }
    #p_and_i_payment{
        font-size:32px;
        color:#44a0fc;
        text-shadow: 0px 0px 10px  #44fce2ab;
    }
    #p_and_i_payment_va{
        font-size:32px;
        color:#44a0fc;
        text-shadow: 0px 0px 10px  #44fce2ab;
    }
    #p_and_i_payment_jumbo{
        font-size:32px;
        color:#44a0fc;
        text-shadow: 0px 0px 10px  #44fce2ab;
    }

    #pmi_conventional{
        margin-top:20px;
    }

    #dti_section{
        width:100%;
        float:left;
        padding:5px;
    }
    .tab_mortgage_content .Conventional{
        background-color: #fff;
        border-radius: 0 10px 10px;
        line-height: 1.8;
        font-size:1.3rem;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;

        width:100%;
        float:left;

    }
    .tab_mortgage_content .FHA{
        background-color: #fff;
        border-radius: 0 10px 10px;
        line-height: 1.8;
        font-size:1.3rem;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
        height:710px;
        width:100%;
        float:left;

    }
    .tab_mortgage_content .Jumbo{
        background-color: #fff;
        border-radius: 0 10px 10px;
        line-height: 1.8;
        font-size:1.3rem;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
        height:700px;
        float:left;
        width:100%;

    }
    .tab_mortgage_content .VA{
        background-color: #fff;
        border-radius: 0 10px 10px;
        line-height: 1.8;
        font-size:1.3rem;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
        height:730px;
        width:100%;
        float:left;

    }

    #p_and_i_payment_usda{
        font-size:32px;
        color:#44a0fc;
        text-shadow: 0px 0px 10px  #44fce2ab;
    }
    .tab_mortgage_content .USDA{
        background-color: #fff;
        border-radius: 0 10px 10px;
        line-height: 1.8;
        font-size:1.3rem;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
        height:730px;
        width:100%;
        float:left;

    }


  }

  @media (min-width: 320px) and (max-width: 374px)  {
    .testbox{
        display: flex;
        justify-content: left;
        align-items: left;
        height: inherit;
        width:100%
    }


    #monthly_income{

        width:80%;
        text-align:center;
        /* border-top-right-radius: 0;
        border-bottom-right-radius: 0; */
        color: #7e7e7e;
        font-family: Poppins;
        font-weight:bold;
        height:40px;
        font-size:20px;
    }
     #year_income{

        width:80%;
         text-align:center;
        /* border-top-left-radius: 0;
        border-bottom-left-radius: 0; */
        color: #7e7e7e;
        font-family: Poppins;
        font-weight:bold;
        height:40px;
        font-size:20px;
    }
    #monthly_payment_conventional{
        font-size:46px;
        color:#397D02;
        text-shadow: 0px 0px 10px  #7aeb7a;
        width:100%;
        text-align:center;
        margin-left:0px;
    }
    #monthly_payment{
        font-size:46px;
        color:#397D02;
        text-shadow: 0px 0px 10px  #7aeb7a;
        margin-left:0px;
        width:100%;
        text-align:center;
    }
    #monthly_payment_va{
        font-size:46px;
        color:#397D02;
        margin-left:0px;
        text-shadow: 0px 0px 10px  #7aeb7a;
        width:100%;
        text-align:center;
    }
    #monthly_payment_jumbo{
        font-size:46px;
        color:#397D02;
        text-align:left;
        margin-left:0px;
        text-shadow: 0px 0px 10px  #7aeb7a;
        width:100%;
        text-align:center;
    }
    .selected:hover{
        background-color:#1e3a5f;
        color:white;
        border-bottom:none;
        font-size:15px;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;

    }
    .mort_list li:hover{
        background-color: #1e3a5f;
        color:white;
        font-size:15px;
    }
    .breakdown_number::before{

        content:"$"
    }
    .breakdown_number{
        /* display:inline-block; */
        margin-left:-10px;
        font-size:15px;
        font-weight:bold;
        float: right;


    }


    .mort_list{

        padding-left:0px;
        margin-bottom:0px;
        text-align: left;
    }
    .mort_list li.selected{
        background-color:#1e3a5f;
        color:white;
        font-size:15px;
        border-bottom:none;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;

    }

    .mort_list li{
        /* background-color: #1e3a5f; */
        color:black;
        padding: 2px 7px 2px 7px;
        display: inline-block;
        font-size:12px;
        cursor:pointer;
        font-weight:bold;
        margin-bottom:0px;
        border: 1px solid transparent;
        text-align:center;
        /* margin-left:-5px; */
        box-shadow: 0 0 3px 0  #1e3a5f;


    }

    .mort_list li[data-value=".FHA"]{

        padding: 2px 2px 2px 2px;
        display: inline-block;
        font-size:14px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;
        color:black;
        width:40px;
        box-shadow: 0 0 3px 0  #1e3a5f;

    }
    .mort_list li[data-value=".FHA"].selected{
        color:white;
    }
    .mort_list li[data-value=".VA"].selected{
        color:white;
    }
    .mort_list li[data-value=".VA"]{
        color:black;
        padding: 2px 7px 2px 7px;
        display: inline-block;
        font-size:14px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;

        box-shadow: 0 0 3px 0  #1e3a5f;

    }
    .mort_list li[data-value=".USDA"]{
        color:black;
      
        display: inline-block;
        font-size:14px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;
        box-shadow: 0 0 3px 0  #1e3a5f;

    }
    .mort_list li[data-value=".Jumbo"].selected{
        color:white;
    }

    .mort_list li[data-value=".Jumbo"]{
        color:black;
        padding: 2px 7px 2px 7px;
        display: inline-block;
        font-size:13px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;
        width:50px;
        line-height:1.3;
        box-shadow: 0 0 3px 0  #1e3a5f;

    }

    .tab_mortgage_content{
        background-color: #fff;
        width:100%;
        border-radius: 0 10px 10px;
        line-height: 1.8;
        font-size:1.3rem;

        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;

    }

    .tab_mortgage_content p {
        color:#797979;
    }

    .tab_mortgage_content p:not(:first-of-type){
        display:none;
    }

    #p_and_i_payment_conventional{
        font-size:32px;
        color:#44a0fc;
        text-shadow: 0px 0px 10px  #44fce2ab;

    }
    #pmi_conventional{
        font-weight:bold;
        font-size:20px;


    }

    #p_and_i_payment{

        color:#44a0fc;
        font-size:32px;
        text-shadow: 0px 0px 10px  #44fce2ab;
    }

    #percentage_downpayment_conventional{

        float:left;
        width:41%;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        font-weight:bold;
        font-size:20px;
        margin-left:-15px;

    }

    #percentage_downpayment{

        float:left;
        width:41%;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        font-weight:bold;
        font-size:20px;
        margin-left:-15px;

    }
    #percentage_downpayment_va{

        float:left;
        width:41%;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        font-weight:bold;
        font-size:20px;
        margin-left:-15px;

    }
    #percentage_downpayment_jumbo{

        float:left;
        width:41%;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        font-weight:bold;
        font-size:20px;
        margin-left:-15px;

    }
    #dti_section{
        width:100%;
        float:left;
        padding:5px;
    }
    .tab_mortgage_content .Conventional{
        background-color: #fff;
        border-radius: 0 10px 10px;
        line-height: 1.8;
        font-size:1.3rem;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
    
        width:100%;

        float:left;

    }
    .tab_mortgage_content .FHA{
        background-color: #fff;
        border-radius: 0 10px 10px;
        line-height: 1.8;
        font-size:1.3rem;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
        height:710px;
        width:100%;
        float:left;

    }
    .tab_mortgage_content .Jumbo{
        background-color: #fff;
        border-radius: 0 10px 10px;
        line-height: 1.8;
        font-size:1.3rem;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
        height:700px;
        float:left;
        width:100%;


    }
    .tab_mortgage_content .VA{
        background-color: #fff;
        border-radius: 0 10px 10px;
        line-height: 1.8;
        font-size:1.3rem;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
        height:730px;
        width:100%;
        float:left;

    }
    #monthly_payment_usda{
        font-size:46px;
        color:#397D02;
        margin-left:0px;
        text-shadow: 0px 0px 10px  #7aeb7a;
        width:100%;
        text-align:center;
    }
    .mort_list li[data-value=".USDA"]{
        color:black;
        padding: 2px 7px 2px 7px;
        display: inline-block;
        font-size:14px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;

        box-shadow: 0 0 3px 0  #1e3a5f;

    }
    #percentage_downpayment_usda{

        float:left;
        width:41%;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        font-weight:bold;
        font-size:20px;
        margin-left:-15px;

    }
    .tab_mortgage_content .USDA{
        background-color: #fff;
        border-radius: 0 10px 10px;
        line-height: 1.8;
        font-size:1.3rem;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
        height:730px;
        width:100%;
        float:left;

    }
  }



  @media (min-width: 375px) and (max-width: 567px) {

    .testbox{
        display: flex;
        justify-content: left;
        align-items: left;
        height: inherit;
        float:left;
        width:100%
    }

    #monthly_income{

        /* width:80%; */
        text-align:center;
        /* border-top-right-radius: 0;
        border-bottom-right-radius: 0; */
        /* color: #7e7e7e;
        font-family: Poppins;
        font-weight:bold;
        height:40px;
        font-size:20px; */
    }
     #year_income{

        /* width:80%;  */
         text-align:center;
        /* border-top-left-radius: 0;
        border-bottom-left-radius: 0; */
        /* color: #7e7e7e;
        font-family: Poppins;
        font-weight:bold;
        height:40px;
        font-size:20px; */
    }
    .mort_list li[data-value=".FHA"].selected{
        color:white;
    }
    .mort_list li[data-value=".VA"].selected{
        color:white;
    }
    .mort_list li[data-value=".Conventional"].selected{
        color:white;
    }
    .mort_list li[data-value=".Conventional"]{

        padding:2px;
        padding-left:0px;
        padding-right:0px;
        display: inline-block;
        font-size:12px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;
        box-shadow: 0 0 3px 0  #1e3a5f;
        color:black;
    }
    .mort_list li[data-value=".FHA"]{

        padding:2px;
        padding-left:0px;
        padding-right:0px;
        display: inline-block;
        font-size:12px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;
        box-shadow: 0 0 3px 0  #1e3a5f;
        color:black;
    }
    .mort_list li[data-value=".VA"]{
        padding: 2px 7px 2px 7px;

        display: inline-block;
        font-size:12px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;
        box-shadow: 0 0 3px 0  #1e3a5f;
        color:black;
    }

    .mort_list li[data-value=".FHA"]{

        padding: 2px 7px 2px 7px;

        display: inline-block;
        font-size:12px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;
        color:black;
        width:40px;
        box-shadow: 0 0 3px 0  #1e3a5f;

    }

    .mort_list li[data-value=".Jumbo"].selected{
        color:white;
    }

    .mort_list li[data-value=".Jumbo"]{
        color:black;
        padding-left:0px;
        padding-right:0px;
        padding: 2px 2px 2px 2px;
        display: inline-block;
        font-size:12px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;
        box-shadow: 0 0 3px 0  #1e3a5f;

    }
    .tab_mortgage_content .Conventional{
        background-color: #fff;
        border-radius: 0 10px 10px;
        line-height: 1.8;
        font-size:1.3rem;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
        width:100%;
        float:left;

    }
    .tab_mortgage_content .FHA{
        background-color: #fff;
        border-radius: 0 10px 10px;
        line-height: 1.8;
        font-size:1.3rem;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
        height:710px;
        width:100%;
        float:left;

    }
    .tab_mortgage_content .Jumbo{
        background-color: #fff;
        border-radius: 0 10px 10px;
        line-height: 1.8;
        font-size:1.3rem;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
        height:700px;
        float:left;
        width:100%;


    }
    .tab_mortgage_content .VA{
        background-color: #fff;
        border-radius: 0 10px 10px;
        line-height: 1.8;
        font-size:1.3rem;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
        height:730px;
        width:100%;
        float:left;

    }

    .tab_mortgage_content .selected:hover{
        background-color:#1e3a5f;
        color:white;
        border-bottom:none;
        font-size:12px;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;

    }
    .mort_list li:hover{
        background-color: #1e3a5f;
        color:white;
        font-size:12px;
    }

    .mort_list li{
        /* background-color: #1e3a5f; */

        padding:5px;

        display: inline-block;
        font-size:12px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;

        box-shadow: 0 0 3px 0  #1e3a5f;
        color:black;

    }
    .mort_list li.selected{
        background-color:#1e3a5f;
        color:white;
        font-size:12px;
        border-bottom:none;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;

    }



    .breakdown_number::before{
        content:"$"
    }
    .breakdown_number{
        /* display:inline-block; */
        margin-left:-10px;
        font-size:15px;
        font-weight:bold;
        float: right;


    }

    #monthly_payment_conventional{
        font-size:46px;
        color:#397D02;
        text-align:center;
        width:100%;
        text-shadow: 0px 0px 10px  #7aeb7a;
        margin-left:0px;
    }


    #monthly_payment{
        font-size:46px;
        color:#397D02;
        text-shadow: 0px 0px 10px  #7aeb7a;
        margin-left:0px;
        width:100%;
        text-align:center;
    }
    #monthly_payment_va{
        font-size:46px;
        color:#397D02;
        margin-left:0px;
        text-shadow: 0px 0px 10px  #7aeb7a;
        width:100%;
        text-align:center;
    }
    #monthly_payment_jumbo{
        font-size:46px;
        color:#397D02;
        text-align:left;
        margin-left:0px;
        text-shadow: 0px 0px 10px  #7aeb7a;
        width:100%;
        text-align:center;
    }
    #percentage_downpayment{

        float:left;
        width:35%;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        font-weight:bold;
        font-size:20px;
        margin-left:-14px;

    }


    #p_and_i_payment{
        font-size:32px;
        color:#44a0fc;
        text-shadow: 0px 0px 10px  #44fce2ab;

    }
    #p_and_i_payment_conventional{
        font-size:32px;
        color:#44a0fc;
        text-shadow: 0px 0px 10px  #44fce2ab;


    }
    #dti_section{
        width:100%;
        float:left;
        padding-top:5px;
        padding-left:15px;
        padding-right:15px;
    }

    .mort_list li[data-value=".USDA"].selected{
        color:white;
    }
    .mort_list li[data-value=".USDA"]{
        padding: 2px 7px 2px 7px;

        display: inline-block;
        font-size:12px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;
        box-shadow: 0 0 3px 0  #1e3a5f;
        color:black;
    }
    .tab_mortgage_content .USDA{
        background-color: #fff;
        border-radius: 0 10px 10px;
        line-height: 1.8;
        font-size:1.3rem;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
        height:730px;
        width:100%;
        float:left;

    }
    #monthly_payment_usda{
        font-size:46px;
        color:#397D02;
        margin-left:0px;
        text-shadow: 0px 0px 10px  #7aeb7a;
        width:100%;
        text-align:center;
    }
  }


  @media (min-width: 568px) {
    .testbox{
        display: flex;
         /* justify-content: left;
        align-items: left; */
        height: inherit;
        float:left;
        width:50%
    }

    .line-item-display-number{
        width:70%;
    }

    .mort_list li{

        padding:5px;
        display: inline-block;
        font-size:20px;
        cursor:pointer;
        margin-bottom:0px;
        border: 1px solid transparent;

        box-shadow: 0 0 3px 0  #1e3a5f;
        color:black;
    }


        .name-item, .city-item {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }
        .breakdown_number::before{

            content: "$"
        }
        .breakdown_number{
            /* display:inline-block; */
            float:right;
            font-size:15px;
            font-weight:bold;


        }


        #p_and_i_payment{
            font-size:39px;
            color:#44a0fc;
            text-shadow: 0px 0px 10px  #44fce2ab;
        }

        .tab_mortgage_content .name-item input, .tab_mortgage_content .name-item div {
            width: calc(50% - 20px);
        }
        .tab_mortgage_content .name-item div input {
            width:97%;
        }

        .tab_mortgage_content .name-item div label {
            display:block;
            padding-bottom:5px;
        }
        .dti_content{
            background-color: #fff;
            width:100%;
            line-height: 1.8;
            font-size:1.3rem;
            border-radius:  10px 10px 10px 10px;
            box-shadow: 0 0 8px #1e3a5f,
            0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
            margin-left:5%;

        }

  }

  @media only screen and (max-width: 650px) {
    .testbox{
        display: flex;
        justify-content: left;
        align-items: left;
        height: inherit;
        width:100%;

    }
    .dti_content{
        background-color: #fff;
        width:100%;
        line-height: 1.8;
        font-size:1.3rem;
        border-radius:  10px 10px 10px 10px;
        box-shadow: 0 0 8px #1e3a5f,
        0 0 8px #1e3a5f, 0 0 8px #1e3a5f;
        /* margin-left:5%; */
        margin-top:10px;

    }
    .breakdown_number{
        float:right;
    }

}


    .colums .item_pi {
        width:100%;
        text-align:center;
        }

        #back_ratio_num, #front_ratio_num {
                text-align: center
        }

        .item {
                text-align: center;
        }
 #p_and_i_payment_va, #p_and_i_payment_jumbo,
#p_and_i_payment {
    margin: 0 auto;
}
