/* mortgage calc */
.mortgage_detail_calc_form {
	font-size: 1rem;
}
.mortgage_detail_calculator p{
	font-size: 1.4em;
}
.mortgage_detail_calc_form label{
	font-size: .8em;
	color: #9b9b9b;
	padding-top: 1em;
	padding-bottom: .5em;
	display: flex;
	flex-direction: row;
}
.mortgage_detail_calc_form label span{
	display: flex;
	flex-grow: 1;
}
.mortgage_detail_calc_form label span.value{
	align-self: flex-end;
	display: flex;
	text-align: right;
	justify-content: flex-end;
	font-size: .9em;
	color:#0a3052;
}
.mortgage_detail_calc_form p{
	margin-top: 0;
	margin-bottom: 0;
}
.mortgage_detail_calc_form input, .mortgage_detail_calc_form select{
	display: inline-block;
	font-size: 1em;
	color: #9b9b9b;
	border-radius: 3px;
	border: solid #9b9b9b 1px;
	padding: .4em .5em;
	max-width: 100%;
	box-sizing: border-box;
	line-height: 1.3em;
}
.mortgage_detail_calc_form select{
	width:100%;
	font-size: 1.6em;
}
.mortgage_detail_calc_form .dollarsign input{
	max-width: 80%;
	border-radius: 0 2px 2px 0;
}
.mortgage_detail_calc_form .dollarsign:before{
	content: '$';
	display: inline-block;
	background-color: #9b9b9b;
	font-size: 1em;
	color: #fff;
	border-radius: 3px;
	padding: .4em .5em;
	box-sizing: border-box;
	text-align: center;
	border: solid #9b9b9b 1px;
	border-radius: 2px 0 0 2px;
	line-height: 1.3em;
}
.mortgage_detail_calc_form .percsign:before{
	content: '%';
	display: inline-block;
	background-color: #9b9b9b;
	font-size: 1em;
	color: #fff;
	border-radius: 3px;
	padding: .4em .5em;
	box-sizing: border-box;
	text-align: center;
	border: solid #9b9b9b 1px;
	border-radius: 2px 0 0 2px;
	line-height: 1.3em;
}
.mortgage_detail_calc_form input.nostep::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}
.mortgage_detail_calc_fields > .grid-100, .mortgage_detail_calc_fields > .grid-50{
	display: flex;
	flex-direction: column;
}
.mortgage_detail_calc_fields > .grid-100.grid-parent{
	flex-direction: row;
}
.mortgage_detail_calc_fields label{
	width: 100%;
	display: flex;
	font-size: 1.6em;
}
.mortgage_detail_calc_form .mortgage_detail_calc_fields{
}
.mortgage_calc_disclaimer{
	font-size: 12px;
	max-height: 150px;
	overflow-y: visible;
	max-width: 100%;
	line-height: 1.1em;
	margin-top: 2em;
	padding-top: 2em;
}
.mortgage_calc_disclaimer a{
	text-decoration: underline;
}
#mortgage_detail_calculator{
	padding-left: 30px;
	padding-right: 30px;
	width:1000px;
	max-width: 1200px;
}
.mortgage_detail_calc_results p{
	padding-bottom: 1em;
	font-size: 1.2em;
	justify-content: center;
	align-items: center;
}
.mortgage_detail_calc_results{
	display: flex;
	flex-direction: row;
	justify-content: center;
	flex-grow: 1;
}
.mortgage_detail_calc_results p:nth-child(1){
	padding-top: .5em;
}
.mortgage_detail_calc_results p:last-child{
}

#mortgage_results_fullpayment span:nth-child(2){
	font-weight: bold;
}
.mortgage_detail_calc_results p span:nth-child(2){
	text-align: right;
}
#mortgage_results_pi{
	align-items: center;
	display: flex;
	flex-direction: row;
}
#mortgage_results_pi p{
	display: flex;
	flex-grow: 1;
	align-items: center;
	justify-content: center;
	font-size: 4em;
}
.mortgage_visuals .grid-100 {
	display: flex;
	flex-direction: row;
}
.mortgage_visuals .grid-100 span, .mortgage_visuals .grid-50 span{
	display: flex;
	flex-grow: 1;
	margin-left: 0;
	justify-content: flex-start;
}
.mortgage_visuals .grid-100 span:nth-child(3){
	align-self: flex-end;
	justify-content: flex-end;
}
.mort_dot{
	width: 10px;
	height: 10px;
	border-radius: 10px;
	margin-right: 5px;
	display: inline-block;
	flex-grow: 0;
	max-width: 10px;
}

#mortgage_results_pi span.mo{
	font-size: .4em;	
}

#mortgage_bar{
	margin-bottom: 1em;
	height: 1em;
	width: 100%;
	display: flex;
}
#mortgage_bar div{
	width:25%;
}
.dollarsign{
	display: flex;
}
.hidefields input{
	color: #fff;
}
label[for="price"] span.value:before{
	content:'$';
	display: inline-block;
}
label[for="perc_down"] span.value:after{
	content:'%';
	display: inline-block;
}
label[for="taxes"] span.value:before{
	content:'$';
	display: inline-block;
}
label[for="hoa"] span.value:before{
	content:'$';
	display: inline-block;
}
label[for="ins"] span.value:before{
	content:'$';
	display: inline-block;
}
label[for="rate"] span.value:after{
	content:'%';
	display: inline-block;
}
a.payment_link{
	font-weight: normal;
	color:#093052;
}
a.payment_link:hover{
	color: #BED32E;
}
a.payment_link:hover strong{
	border-color: #BED32E;
}
a.payment_link strong{
	font-size: 1.4em;
	font-weight: 600;
	border-bottom: solid 2px #093052;
}
.mortgage_calc_disclaimer a{
	color:#093052;
}
.listing_card_payment h4{
	margin: 0;
	padding: 0;
}
.listing_list_block .primary_list_single_content_left h2{
	margin-bottom: 0;
	margin-top: 0;
}

@media screen and (max-width: 767px) {
	#mortgage_detail_calculator{
		width:100vw;
		max-width: 100vw;
		position: absolute;
		top:2em;
		left:0;
	}
	.mortgage_detail_calc_results{
		flex-direction: column;
	}

}

/*slider */
.slider{
    position: relative;
    width: 100%;
    background-color: #ffffff;
    height: 2em;
}

.slider input[type="range"]{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    outline: none;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    background-color: transparent;
    pointer-events: none;
    margin-top: -.5rem;
    padding-left: 0;
    padding-right: 0;
    border: none;
    outline: none;
}
.slidertrack{
    width: 100%;
    height: 10px;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    border-radius: 5px;
    background-color: #efefef;
}
.slider input[type="range"]::-webkit-slider-runnable-track{
    -webkit-appearance: none;
    height: 5px;
    border: none;
}
.slider input[type="range"]::-moz-range-track{
    -moz-appearance: none;
    height: 5px;
}
.slider input[type="range"]::-ms-track{
    appearance: none;
    height: 5px;
}
.slider input[type="range"]::-webkit-slider-thumb{
    -webkit-appearance: none;
    height: 1.7em;
    width: 1.7em;
    background-color: #79BF42;
    cursor: pointer;
    margin-top: -5px;
    pointer-events: auto;
    border-radius: 50%;
}
.slider input[type="range"]::-moz-range-thumb{
    -webkit-appearance: none;
    height: 1.7em;
    width: 1.7em;
    cursor: pointer;
    border-radius: 50%;
    background-color: #333;
    pointer-events: auto;
}
.slider input[type="range"]::-ms-thumb{
    appearance: none;
    height: 1.7em;
    width: 1.7em;
    cursor: pointer;
    border-radius: 50%;
    background-color: #333;
    pointer-events: auto;
}
.slider input[type="range"]:active::-webkit-slider-thumb{
    background-color: #ffffff;
    border: 3px solid #79BF42;
}
.slider .values{
    background-color: transparent;
    width: 60%;
    position: relative;
    margin: auto;
    padding: 10px 0;
    border-radius: 5px;
    text-align: center;
    font-size: 1rem;
    color: #333;
}
.slider .values:before{
    content: "";
    position: absolute;
    height: 0;
    width: 0;
    border-top: 15px solid transparent;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    margin: auto;
    bottom: -14px;
    left: 0;
    right: 0;
}
