html {
	font-size: 10px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/*---------------------- Page ----------------------*/

.Page {
	font-family: 'Roboto', sans-serif;
	line-height: 1.2;
	margin: 0 auto;
	/*max-width: 120rem;*/
	overflow: hidden;
}

.Deposits {
	margin-bottom: 6.8em;
	padding: 17.2em 5px 0 5px;
}

/*---------------------- Calc ----------------------*/

.Calc {
	font-family: 'Roboto', sans-serif;
	font-size: 1.2rem;
	letter-spacing: 0.05em;
	line-height: 1.2;
	margin: 0 auto 4.5em auto;
	max-width: 100em;
}
.Calc-title {
	font-size: 1.9em;
	font-weight: 500;
	margin-bottom: 0.9em;
	text-align: center;
}
.Calc-form {
	align-items: center;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	margin: 0 auto 2.6em auto;
	max-width: 76.2em;
}
@media (min-width: 870px) {
	.Calc-form {
		align-items: flex-start;
		flex-direction: row;
	}
}
.CalcElement {
	padding: 1em 1.4em 1.3em 2.1em;
	width: 100%;
}
@media (min-width: 870px) {
	.CalcElement {
		width: 50%;
	}
}
.CalcElement-title {
	color: #777;
	font-weight: 500;
	letter-spacing: 0.05em;
	margin-bottom: 0.9em;
}
.CalcElement-input {
	margin-bottom: 0.5em;
	position: relative;
}

.CalcElement-line {
	background-color: #fff200;
	bottom: 1px;
	display: block;
	height: 0.3em;
	left: 0;
	position: absolute;
	transform: translate(0, 50%);
	width: 0;
	z-index: 2;
	pointer-events: none;
}

.CalcElement-type {
	border: 1px solid #bbb;
	font-size: 1.5em;
	padding: 0.35em 0.5em;
	width: 100%;
}
.CalcElement-textarea {
	height: 3.5em;;
}
.CalcElement-select {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid #bbb;
    font-size: 1.5em;
	padding: 0.35em 0.5em;
	background: transparent;
}
.CalcElement-range {
	bottom: 1px;
	left: 0;
	position: absolute;
	transform: translate(0, 50%);
	width: 100%;
	z-index: 2;
}
input[type=range] {
  -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
  background: transparent; /* Otherwise white in Chrome */
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
}

input[type=range]:focus {
  outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

input[type=range]::-ms-track {
  cursor: pointer;

  /* Hides the slider so custom styles can be added */
  background: transparent; 
  border-color: transparent;
  color: transparent;
}
/* Special styling for WebKit/Blink */
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: none;
  height: 1.2em;
  width: 1.2em;
  border-radius: 50%;
  background: #fff200;
  cursor: pointer;
  box-shadow: 0 0 0.4em #ddd, 0px 0px 0.1em #ccc; /* Add cool effects to your sliders! */
}

/* All the same stuff for Firefox */
input[type=range]::-moz-range-thumb {
  box-shadow: 0 0 0.4em #ddd, 0px 0px 0.1em #ccc;
  border: none;
  height: 1.2em;
  width: 1.2em;
  border-radius: 50%;
  background: #fff200;
  cursor: pointer;
}

/* All the same stuff for IE */
input[type=range]::-ms-thumb {
  box-shadow: 0 0 0.4em #ddd, 0px 0px 0.1em #ccc;
  border: none;
  height: 1.2em;
  width: 1.2em;
  border-radius: 50%;
  background: #fff200;
  cursor: pointer;
}

.CalcElement-sign {
	display: flex;
	/*justify-content: space-between;*/
	margin-left: -0.2em;
}
.CalcElement-sign span {
	color: #777;
	font-weight: 500;
	letter-spacing: 0.05em;
	white-space: nowrap;
}

.CalcElement-control {
	align-items: center;
	display: flex;
	flex-direction: column;
}
@media (min-width: 450px) {
	.CalcElement-control {
		flex-direction: row;
	}
}
.CalcElement-cash {
	flex-grow: 1;
	margin-bottom: 2em;
	white-space: nowrap;
}
@media (min-width: 450px) {
	.CalcElement-cash {
		margin-bottom: 0;
	}
}
.CalcElement-cash label {
	display: inline-block;
	margin-right: 1em;
}
.CalcElement-cash input {
	display: none;
}
.CalcElement-cash span {
	border: 1px solid #777;
	cursor: pointer;
	display: inline-block;
	font-size: 1.4em;
	padding: 0.6em 0.7em 0.4em 0.7em;
	text-transform: uppercase;
	transition: all 0.3s ease-out;
}

.CalcElement-cash input:checked ~ span {
	background-color: #fff200;
	border: 1px solid #fff200;
}
.CalcElement-calc {
	background-color: #000;
	border: none;
	color: #fff;
	cursor: pointer;
	font-size: 0.9em;
	font-weight: 700;
	height: 3.6em;
	letter-spacing: 0.04em;
	padding: 0 3.3em 0 3.3em;
	text-transform: uppercase;
	width: 100%;
}
@media (min-width: 450px) {
	.CalcElement-calc {
		width: auto;
	}
}

.Calc-ps {
	color: #777;
	font-size: 0.9em;
	letter-spacing: 0.02em;
	margin: 0 auto;
	max-width: 95.4em;
	padding: 0 1.6em;
	text-align: right;
}

.col-20 {
	width: 17%;
}
.col-40 {
	width: 38.5%;
}
.col-40n {
	flex-grow: 1;
}
.col-25 {
	width: 20.5%;
}
.col-25n {
	flex-grow: 1;
}
.col-50 {
	width: 49.5%;
}
.col-g {
	flex-grow: 1;
}


/*---------------------- Deposits-title ----------------------*/

.Deposits-title {
	font-size: 3rem;
	font-weight: 500;
	margin-bottom: 1.4em;
	text-align: center;
}

/*---------------------- Deposits-items ----------------------*/

.Deposits-items {
	margin: 0 auto 0 auto;
	max-width: 100em;
}
.SingleDeposit:link,
.SingleDeposit:visited,
.SingleDeposit:hover,
.SingleDeposit:active {
	color: #000;
	display: flex;
	flex-direction: column;
	margin-bottom: 4em;
	position: relative;
	text-decoration: none;
}
@media (min-width: 620px) {
	.SingleDeposit:link,
	.SingleDeposit:visited,
	.SingleDeposit:hover,
	.SingleDeposit:active {
		flex-direction: row;
	}
}
.SingleDeposit:last-child {
	margin-bottom: 0;
}
.SingleDeposit-header {
	position: relative;
}
.SingleDeposit-headerText {
	align-items: center;
	background-color: rgba(0,0,0,0.6);
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}
.SingleDeposit-title {
	color: #fff200;
	font-size: 2.4rem;
	font-weight: 500;
	margin-bottom: 0.5em;
	text-align: center;
}
.SingleDeposit-headerText ul {
	color: #fff;
	display: flex;
	font-size: 1.4em;
	font-weight: 300;
	text-transform: uppercase;
}
.SingleDeposit-headerText li {
	margin: 0 0.6em;
}
.SingleDeposit-img {
	line-height: 0;
	height: 13em;
	overflow: hidden;
}
@media (min-width: 620px) {
	.SingleDeposit-img {
		width: 23.5em;
	}
}
.SingleDeposit-img img {
	width: 100%;
}
.SingleDeposit-properties {
	border-bottom: 1px solid #ddd;
	border-right: 1.8em solid #fff200;
	border-top: 1px solid #ddd;
	flex-grow: 1;
	position: relative;
	transition: all 0.3s ease-out;
	align-items: center;
	display: flex;
	padding: 1em 0 0 0;
}
@media (min-width: 620px) {
	.SingleDeposit-properties {
		padding: 1em 0 0 4.4em;
	}
}

.SingleDeposit:hover .SingleDeposit-properties {
	background-color: #ebecee;
	border-bottom: 1px solid #ebecee;
	border-top: 1px solid #ebecee;
}
.SingleDeposit-properties ul {
	color: #777;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	font-size: 1.3rem;
	font-weight: 500;
	line-height: 1.4;
	width: 100%;
}

.SingleDeposit-properties li {
	margin-bottom: 1em;
	padding-right: 1em;
	width: 50%;
}
@media (min-width: 740px) {
	.SingleDeposit-properties li {
		width: 25%;
	}
}
.SingleDeposit-properties strong {
	color: #000;
	display: block;
	font-size: 1.4em;
}

.SingleDeposit-arrow {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translate(0, -50%) rotate(180deg);
	transition: all 0.3s ease-out;
}
.SingleDeposit:hover .SingleDeposit-arrow {
	right: -2em;
}

.Deposits-contentText{
    margin: 2rem auto 2rem auto;
    max-width: 71em;
    font-size: 1.4rem;
    font-weight: 400;
}
.Deposits-contentText p{
	font-size: 1.4rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1.45;
	margin-bottom: 15px;
}
.Deposits-contentText strong{
	font-weight: 500;
	font-size: 1.6rem;
}
.Deposits-contentText a{
	text-decoration: underline;
	color: #000;
}
.Deposits-contentText a:hover,
.Deposits-contentText a:visited{
	color: #000;
}
.Deposits-contentText ul {
	list-style-position: inside;
	list-style-type: disc;
	margin-bottom: 1.7em;
}
.Deposits-contentText li {
	line-height: 1.4;
	margin-bottom: 0.4em;
}
.refinance__result .Properties strong{
	color: #000;
}
.refinance__result .Properties li {
	color: red;
	width: 33.333%;
	padding: 0 0.8em 1.2em 0.8em;
	margin: unset;
	text-align: center;
}

.refinance__result .Consultation-form input,
.refinance__result .Consultation-form select {
	color: #000;
	border-color: rgba(0, 0, 0, 0.6);
}
.refinance__result .Consultation-form label {
	color: rgba(0, 0, 0, 0.6);
}
.refinance__result div.wpcf7-response-output, 
.refinance__result div.wpcf7-response-output {
	position: static;
	color: rgba(0, 0, 0, 0.6);
}
.refinance__result .Form-left,
.refinance__result .Form-right {
	max-width: 50%;
	padding: 0 20px;
	margin: unset
}
.refinance__result .ConsultationForm-phone,
.refinance__result .ConsultationForm-city {
	width: 100%;
}
.refinance__result .Properties {
	text-align: center;
}
.refinance__result .Properties ul {
	max-width: 66em;
}

@media all and (max-width: 639px) {
	.refinance__result .Properties ul {
		display: block;
		text-align: center;
	}
	.refinance__result .Properties li {
		width: 100%;
	}
	.refinance__result .Form-left,
	.refinance__result .Form-right {
		max-width: unset;
	}
	.refinance__result .ConsultationForm-phone,
	.refinance__result .ConsultationForm-city {
		width: 280px;
	}
}

.credite-modal {
	font-size: 13px;
	font-family: 'Roboto', sans-serif;
	max-width: 480px;
}
.credite-modal-header {
	text-align: center;
	margin-bottom: 24px;
}
.credite-modal-title {
	font-size: 1.9em;
    font-weight: 500;
    margin-bottom: 0.3em;
}

.credite-modal-subtitle {
	font-size: 1.4em;
    font-weight: 400;
}


.credite-modal-checkbox {
	margin-right: 12px;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}
.credite-modal-check {
	display: flex;
	font-size: 0.9em;
	align-items: center;
	margin-bottom: 24px;
}

.credite-modal-check label span:not(:last-child) {
	display: block;
	margin-bottom: 6px;
}

.credite-modal-btn {
	align-items: center;
    background-color: #fff200;
	color: #000;
    border: none;
    cursor: pointer;
    display: flex;
    font-size: 13px;
    font-weight: 700;
    padding: 13px 27px;
    text-transform: uppercase;
    transition: all 0.3s ease-out;
    white-space: nowrap;
	margin: 0 auto;
}

.credite-modal-btn.disabled {
	pointer-events: none;
	opacity: 0.3;
	background-color: #d9ce00;
}

.credite-modal-btn:hover {
	background-color: #d9ce00;
}
.credite-modal-actions {
	margin-top: 24px;
}

.credite-modal-button {
	align-items: center;
    background-color: #fff200;
	color: #000;
    border: none;
    cursor: pointer;
    display: flex;
    font-size: 13px;
    font-weight: 700;
    padding: 13px 27px;
	min-height: 48px;
    text-transform: uppercase;
    white-space: nowrap;
	position: fixed;
	right: 100px;
	bottom: 32px;
	z-index: 10;
	border-radius: 3px;
	box-shadow: 0 2px 2px rgba(0,0,0,.2);
}

.credite-modal-element {
	margin-bottom: 12px;
}


.credite-modal div.wpcf7-response-output, div.wpcf7-response-output {
	color: unset;
    border: 2px !important;
    position: static;
    bottom: unset;
    margin: 2em 0.5em 1em !important;
	padding: 0.2em 1em !important;
}

.credite-modal div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
	border: 2px solid #f7e700!important;
}

.credite-modal div.wpcf7-response-output {
	border: 2px solid #ff0000!important;
}

.credite-modal div.wpcf7-mail-sent-ok {
	border: 2px solid #398f14!important;
}

@media all and (max-width: 639px) {
	.credite-modal-button {
		right: 24px;
		bottom: 100px;
	}
}