@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');

.lc_loan_container * {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background-clip: border-box;
  box-sizing: border-box;
}

.lc_loan_container {
  display: flex;
  background: #fff;
}

.lc_loan_container input:focus {
  outline: none;
}

.lc_loan_container .lc_input--range {
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  height: 6px;
  padding: 0;
  border-radius: 20px;
  outline: none;
  cursor: pointer;
  margin: 1.5rem 0;
}

/*Chrome thumb*/

.lc_loan_container .lc_input--range::-webkit-slider-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  -webkit-border-radius: 5px;
  /*16x16px adjusted to be same as 14x14px on moz*/
  height: 38px;
  width: 38px;
  border-radius: 50%;
  border: 1px solid #0050b2;
  background: url('/wp-content/plugins/loan-calculator/images/arrow.png') center no-repeat;
  cursor: pointer;
}

/*Mozilla thumb*/

.lc_loan_container .lc_input--range::-moz-range-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  -moz-border-radius: 5px;
  height: 38px;
  width: 38px;
  border-radius: 50%;
  background: url('/wp-content/plugins/loan-calculator/images/arrow.png') center no-repeat;
  border: 1px solid #0050b2;
}

/*IE & Edge input*/

.lc_input--range::-ms-track {
  width: 300px;
  height: 6px;
  background: transparent;
  border-color: transparent;
  border-width: 2px 0;
  color: transparent;
}

/*IE & Edge thumb*/

.lc_loan_container .lc_input--range::-ms-thumb {
  height: 38px;
  width: 38px;
  border-radius: 50%;
  background: url('/wp-content/plugins/loan-calculator/images/arrow.png') center no-repeat;
  border: 1px solid #0050b2;
}

/*IE & Edge left side*/

.lc_input--range::-ms-fill-lower {
  background: #0050b2;
  border-radius: 2px;
}

/*IE & Edge right side*/

.lc_input--range::-ms-fill-upper {
  background: #c5c5c5;
  border-radius: 2px;
}

/*IE disable tooltip*/

.lc_input--range::-ms-tooltip {
  display: none;
}

input[type="text"] {
  border: none;
}

.lc_card, .lc_loan--calculation {
  display: flex;
  flex-direction: column;
  border: 1px solid #e1e1e1;
  box-shadow: 11px -2px 40px -15px rgb(218, 217, 217);
  border-radius: 6px;
  flex: 50%;
  margin: 10px;
}

.lc_card--content {
  position: relative;
  padding: 30px;
}

.lc_input--title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.5rem 0;
}

.lc_input--title,
.lc_input--title p,
.lc_input--title h4 {
  font-weight: 400;
  color: #414141;
}

.lc_input--title h4 {
  font-size: 1rem;
  font-weight: 700;
  flex: 1 50%;
}

.lc_loan_container .lc_input--result {
  width: 70%;
  margin-bottom: 0.25rem;
  text-align: right;
  padding: 5px 0 5px 5px;
  border: none;
}

.lc_loan_container .bordered {
  padding: 6px 12px;
  border: 1px solid #e1e1e1;
  border-radius: 1.5rem;
  flex:1 50%;

}

.lc_input--result,
.lc_result .lc_input--result,
.lc_result span {
  font-weight: 500;
  font-size: 1.125em;
}

.lc_loan--calculation {
  flex: 50%;
}

.lc_range_labels {
  display: flex;
  justify-content: space-between;
  color: #999999;
  font-size: 0.85em;
  margin-bottom: 4px;
}

#loan-section,
#period-section,
#interest-section {
  margin-bottom: 1rem;
  padding: 10px;
  box-shadow: 4px 12px 23px -10px #dcdcdc;
}

.lc_calculation--monthly-value {
  margin: .5rem;
  font-size: 3rem;
  color: #a924fa;
  padding: 0;
  font-weight: 700;
}

.lc_calculation--subcard {
  width: 90%;
  background: #eef2f9;
  padding: 3rem 1.5rem;
  border-radius: 8px;
}

@media screen and (max-width: 768px) {
  .lc_card--content {
    padding-left: 10px;
    padding-right: 10px;
  }

  .lc_input--title {
    display: block;
    justify-content: space-between;
    align-items: center;
  }

  .lc_loan_container .lc_input--result {
    display: inline-block;
    width: 70%;
    text-align: right;
    padding: 3px 0 3px 3px;
    border: none;
  }

  .bordered {
    margin: 2em 0;
  }

  .lc_loan_container {
    display: flex;
    flex-direction: column;
  }

  .lc_card,
  .lc_loan--calculation {
    flex: 100%;
    margin: 10px 0;
  }

  .lc_calculation--monthly-value {
    font-size: 2rem;
  }

  .lc_calculation--subcard {
    width: 100%;
  }

}

.lc_loan_container .blue-button {
  display: block;
  background-color: #0050b2;
  color: white;
  border: none;
  padding: 20px 80px;
  border-radius: 5px;
  cursor: pointer;
  margin: 30px 0;
  font-size: 1rem;
  text-decoration: none;
  transition: all .3s ease-in;
}

.lc_loan_container .blue-button:hover {
  background-color: #004394;
}

.lc_flex {
  display: flex;
}

.lc_flex-column {
  flex-direction: column;
}

.lc_justify-center {
  justify-content: center;
}

.lc_items-center {
  align-items: center;
}

.lc_loan_container h4 {
  font-weight: 700;
}
