/*style for bank calc */

.main-grid.my-calc {
    display: -ms-grid;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    width: 100%;
    margin: 0 auto;
    border-radius: 5px;
    background-color: #E1ECD1; 
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.75);
}

@media screen and (max-width : 991px) {
    .main-grid.my-calc {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    }
} 
.fields.my-calc {
    grid-column: 1/2;
    grid-row: 1/2;
    display: -ms-grid;
    display: -moz-grid;
    display: grid;
    grid-template-columns: 1fr;
}
.accomodation.my-calc, .main-amount.my-calc, .downpayment.my-calc, .interest.my-calc, .expense.my-calc, .expense2.my-calc{
    padding-bottom: 1.5rem;
}
.input-numbers.my-calc {
    grid-column: 1/4;
    padding: 3%;
}
.my-calc2, .expense2{
    display: none;
}
@media screen and (max-width : 1200px) {
    .input-numbers.my-calc {
        grid-column: 1/6;
    }
    }
.note.my-calc p{
    text-align: justify;
    font-style: italic;
}
.results.my-calc {
    grid-column: 5/6;
    padding: 4%;
    display: -ms-grid;
    display: -moz-grid;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    background-color: #A8CB5C;
    color: white;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
.radio-1.my-calc {
   display: inline-block;
}
@media screen and (max-width : 1200px) {
    .results.my-calc {
        grid-column: 1/6;
    }
    .radio-1.my-calc {
        width: 100%;
        padding-bottom: 1rem;
    }
}
table.my-calc {
    width: 100% !important;
    border: transparent;
}
table.my-calc.renter td {
    border: 1px solid #A8CB5C !important;
}
@media only screen and (max-width: 760px), (max-width: 1024px) and (min-width: 768px) {
    tr.my-calc {
        border: 1px solid #A8CB5C !important;
    }
    td.my-calc {
        padding-left: 0% !important;
    }
}
td.my-calc {
    background-color: #A8CB5C !important;
    border: 1px solid #A8CB5C !important;
}
table.my-calc tr>td:nth-child(2) {
    text-align: right !important;
}
.pre-sum.my-calc, .sum.my-calc {
    text-align: center;
}
.rate.my-calc {
    font-size: 250%;
    font-weight: 600;
}
input.my-calc[type=text], select.my-calc{
    width: 80%;
    padding: 12px;
    color: black;
    border: 1px solid #eee;
    resize: vertical;
    background-color: white;
  }
  select.my-calc {
    width: 83%;
    color: black;
    background-color: white;
  }
  option.my-calc {
    color: black;
    background-color: white;
  }
@media screen and (max-width : 1200px) {
    select.my-calc {
        width: 82%;
      }
    }
  @media screen and (-webkit-min-device-pixel-ratio:0) { 
    select:focus.my-calc,
    textarea:focus.my-calc,
    input:focus.my-calc {
      font-size: 16px;
      background: #eee;
    }
  }
  @media screen and (-webkit-min-device-pixel-ratio:0) { 
    select.my-calc,
    textarea.my-calc,
    input.my-calc {
      font-size: 16px !important;
      outline: none;
    }
  }
  td.my-calc {
    padding: 5% 0;
    background: #fff;
    border: transparent;
  }
.red {
    color: red;
    border: 1px solid red !important;
}
.tooltip-e.my-calc {
    display: none;
}
.tool {
  display: block;
  color: red;
}

h1.pre-sum.my-calc {
    color: white;
}

