
.calculator-block {
padding: 90px 0;
}
.calculator-header {
text-align: center;
max-width: 800px;
padding: 0 20px;
margin: 0 auto 50px auto;
}
@media screen and (max-width: 767px) {
	.calculator-block {
	padding: 60px 0;
	}
}


/* Calculator - form
....................................................................... */
.gm-calculator {
width: 94%;
max-width: 980px;
background: #fff;
border: 1px solid transparent;
box-shadow: 0 0 50px rgba(0,0,0,0.05);
border-radius: 8px;
box-sizing: border-box;
padding: 50px 5%;
margin: 0 auto;
}
@media screen and (max-width: 599px) {
  .gm-calculator {
    padding-left: 5%;
    padding-right: 5%;
  }
}
.gm-calculator h2 {
  font-size: 1.75em;
  line-height: 1.25em;
  text-align: center;
  padding: 0;
  margin: 0 0 50px 0;
}
.gm-calculator p.description {
  text-align: center;
  margin: -20px 0 50px 0;
}
.gm-calculator p.key {
  font-size: 0.75rem;
  margin: 15px 0;
}
.gm_field {
  padding: 0 0 30px 0;
}
.gm_range_input {
  display: flex;
  align-items: flex-start;
  width: 100%;
}
.gm_range {
  flex: 0 1 calc(100% - 120px);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 15px 15px 0 0;
}
.gm_range ul {
  display: flex;
  justify-content: space-between;
  padding: 18px 0 0 0;
  margin: 0 -5px 0 0; /* Center '2000+' with max slider position */
}
.gm_range li {
  list-style: none;
  font-size: 0.7em;
  color: #7b8ca0;
  padding: 0;
  margin: 0;
}
.gm_range li:before {
	display: none;
}
/* Fine tune slider guide positions */
.gm_range li:nth-child(1) {
  margin-left: 7px;
}
.gm_range li:nth-child(2) {
  margin-left: -5px;
}
.gm_range li:nth-child(3) {
  margin-left: 7px;
}

.gm_input_container {
  flex: 0 0 120px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.gm_input {
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  text-align: right;
}
.gm_input span {
  display: none;
  vertical-align: middle;
  width: 20px;
  font-size: 1.8em;
  line-height: 1em;
}
.gm_input.max span {
  display: inline-block;
}

.gm-calculator form {
  padding: 0;
  margin: 0;
}
.gm-calculator .gm_field label {
  display: block;
  color: #002A42;
  font-size: 1.5em;
  line-height: 1.5em;
  font-weight: 400;
  word-wrap: break-word;
  word-break: break-word;
  max-width: 630px;
  padding: 0;
  margin: 0 0 0 0;
}
.gm-calculator .gm_field label.hidden {
  position: absolute;
  top: -9999px;
  left: -9999px;
}
.gm-calculator .gm_field label em {
  font-style: normal;
  font-size: 0.7em;
  color: #7b8ca0;
}
.gm_input input,
.gm_input input[type="text"],
.gm_input input[type="number"] {
  display: inline-block;
  vertical-align: middle;
  width: calc(100% - 20px);
  color: #002A42;
  background: #fff;
  font-size: 1.8em;
  font-weight: 400;
  text-align: right;
  border: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  padding: 0;
  margin: 0 -4px 0 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
  cursor: default;
}
.gm_input input:focus,
.gm_input input[type="text"]:active,
.gm_input input[type="text"]:focus,
.gm_input input[type="number"]:active,
.gm_input input[type="number"]:focus {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  outline: 0;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.lp-form-button:after {
  content: "";
  width: 30px;
  height: 15px;
  background: url(../imgs/icon/arrow-right-long.svg) 50% 50% no-repeat;
  background-size: contain;
}
.gm_range .rangeslider {
  background: rgba(33,91,234,0.2);
  box-shadow: none;
}
.gm_range .rangeslider--horizontal {
  height: 10px;
}
.gm_range .rangeslider__fill {
  background: #215BEA;
  box-shadow: none;
}
.gm_range .rangeslider__handle {
  width: 34px;
  height: 34px;
  background: #215BEA;
  top: -13px;
  border: 0;
}
.rangeslider__handle:after {
  background: #fff;
}
@media screen and (max-width: 599px) {
  .gm_range {
    flex: 0 1 calc(100% - 100px);
  }
  .gm_input_container {
    flex: 0 0 100px;
  }
  .gm_input input,
  .gm_input input[type="text"],
  .gm_input input[type="number"] {
    font-size: 1.5em;
  }
}
@media screen and (max-width: 479px) {
  .gm_range li:nth-child(even) {
    visibility: hidden;
  }
}

/* Calculator - calculations
....................................................................... */
table.gm_calculations {
  width: 100%;
  border: 0;
  border-collapse: collapse;
  padding: 0;
  margin: 0 0 30px 0;
}
.gm_calculations tr:nth-child(even) {
  background: #f5fbff;
}
.gm_calculations th,
.gm_calculations td {
  vertical-align: middle;
  text-align: left;
  font-size: 0.9em;
  line-height: 1.5em;
  border-bottom: 1px solid #e9eef4;
  padding: 10px 15px;
}
.gm_calculations tr:last-child th,
.gm_calculations tr:last-child td {
  border: 0;
}
.gm_calculations th {
  font-weight: 400;
}
.gm_calculations td {
  font-weight: 700;
  text-align: right;
}

/* Calculator - result
....................................................................... */
.gm_result {
  display: flex;
  align-items: center;
  color: #fff;
  background: #215BEA;
  border-radius: 8px;
  padding: 20px 2rem;
}
.gm_result h2 {
  text-align: left;
  padding: 0 20px 0 0;
  margin: 0;
}
.gm_result h2 em {
  display: inline-block;
  font-style: normal;
  font-size: 0.6em;
  line-height: 1.25em;
  padding: 10px 0 0 0;
}
.gm_result h2:last-child {
  flex-shrink: 0;
  min-width: 16rem;
  text-align: right;
  margin-left: auto;
  padding: 45px 20px 35px;
  background: url(../../images/highlight-total.svg) 50% 50% no-repeat;
  background-size: contain;
  text-align: center;
}
@media screen and (max-width: 1023px) {
  .gm_result {
    display: block;
    padding-top: 40px;
    padding-bottom: 30px;
  }
  .gm_result h2 {
    text-align: center;
    padding-right: 0;
  }
  .gm_result h2:last-child {
    text-align: center;
    margin-top: 20px;
  }
}
@media screen and (max-width: 479px) {
  .gm_result h2:last-child {
    min-width: 0;
    margin-left: -20px;
    margin-right: -20px;
  }
}

/* Calculator - lead gen
....................................................................... */
.gm_lead_gen {
  position: relative;
  background: rgba(33,91,234,0.2);
  border-top: 10px solid #215BEA;
  border-radius: 0 0 8px 8px;
  padding: 50px 0 50px 0;
  margin: -10px 0 0 0;
}
.gm_lead_gen:before {
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  left: 50%;
  top: 0;
  margin-left: -20px;
  border: 20px solid transparent;
  border-top-color: #215BEA;
}
.gm_lead_gen header,
.gm_lead_gen footer {
  padding-left: 2rem;
  padding-right: 2rem;
}
.gm_lead_gen h2 {
  color: #215BEA;
  margin-bottom: 40px;
}
.gm_lead_gen a {
  color: #215BEA;
  text-decoration: underline;
}
.gm_lead_gen a:hover,
.gm_lead_gen a:focus {
  color: #374144;
}
.gm_lead_gen .hubspot-form-container .hbspt-form {
	padding-bottom: 0;
}
.gm_lead_gen .remote-form {
	overflow: auto;
	padding: 0 2rem;
}
.frontend .gm_lead_gen form label,
.dynamics-form-container form div[data-section="true"] p {
  color: rgba(55, 65, 68, 1) !important;
}
.frontend .gm_lead_gen form input,
.frontend .gm_lead_gen form select,
.frontend .gm_lead_gen form textarea {
  border-color: rgba(242, 150, 120, 1);
  border-radius: 4px;
  /* background: #fff; */
}
.frontend .gm_lead_gen form textarea:focus {
  outline: none;
  border-width: 2px;
}
.gm-calculator input[type="checkbox"]:before {
  border-color: #215BEA;
}
.gm-calculator input[type="checkbox"]:checked:before {
  background: #215BEA;
}
.gm_lead_gen
  .dynamics-form-container
  form
  div[data-editorblocktype="SubmitButtonBlock"]
  .lp-form-button {
  background: #215BEA);
}
.gm_lead_gen
  .dynamics-form-container
  form
  div[data-editorblocktype="SubmitButtonBlock"]
  .lp-form-button:hover {
  background: #215BEA;
}
.gm_lead_gen footer {
  font-size: 0.75rem;
}

