#vbModal .modal-header {
	border-bottom: none;
	padding: 0.8rem 1rem;
}

#vbModal .modal-body {
	min-height: 200px;
	padding-bottom: 25px;
}

#vbModal .modal-content {
  border-radius: 13px;
  border: 0;
}

#vbModal .step {
	display: none;
}

#vbModal #step-1 {
	text-align: center;
}

#vbModal .home {
	display: inline-block;
	padding: 5px;
	background-color: #f0f0f0;
	border-radius: 15px;
	position: relative;
	margin: 15px 0;
	width: 100%;
}

#vbModal .home img {
	vertical-align: middle;
	height: 40px;
	margin: 5px 10px;
}

#vbModal .home span {
	display: inline-block;
	vertical-align: middle;
	margin: 10px;
	font-size: 18px;
	color: #666;
	max-width: 270px;
	overflow: hidden;
}

#vbModal h4 {
	font-size: 20px;
	font-weight: bold;
}

#vbModal .bottom-container {
	margin-top: 15px;
}

#vbModal [class^="button-"] {
	width: calc(50% - 40px);
	height: 50px;
	padding: 0;
	border: none;
	border-radius: 4px;
	color: #fff;
	font-size: 18px;
	letter-spacing: 1px;
	cursor: pointer;
	transition: .2s;
}

#vbModal .button-gray {
	background-color: #9B9B9B;
}

#vbModal .button-gray:hover {
	background-color: #828282;
}

#vbModal .button-green {
	background-color: #2fa72f;
}

#vbModal .button-green:hover {
	background-color: #02bf02;
}

#vbModal #step-2 input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

#vbModal .input-radio {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto 0;
    height: 24px;
    width: 24px;
    border: 1px solid #D5D8D9;
    border-radius: 50%;
}

#vbModal #step-2 form {
	margin-top: 20px;
}

#vbModal #step-2 label {
	position: relative;
	display: block;
	margin: 10px 0;
	padding: 10px 10px 10px 40px;
	font-size: 18px;
}

#vbModal #step-2 label:hover input[type="radio"] ~ #step-2 .input-radio {
    background-color: #f0f0f0;
}

#vbModal #step-2 label:hover input[type="radio"]:checked ~ #step-2 .input-radio,
#vbModal #step-2 input:checked ~ .input-radio {
    background-color: #25a5ec;
}

#vbModal #step-2 .input-radio:after {
    content: "";
    position: absolute;
    display: none;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
}

#vbModal #step-2 input[type="radio"]:checked ~ .input-radio:after {
    display: block;
}

#vbModal .broker {
	position: absolute;
	top: -15px;
	left: -30px;
	height: 380px;
}

#vbModal p {
	margin-bottom: 26px;
	font-size: 17px;
	line-height: 1.5;
}

#vbModal input[type="phone"] {
	width: calc(60% - 10px);
	height: 50px;
	padding: 8px 12px;
	box-sizing: border-box;
	border-radius: 4px;
	border: 1px solid rgba(0,0,0,.22);
	font-size: 16px;
	min-width: 200px;
	margin-right: 5px;
	margin-bottom: 5px;
}

#vbModal input[type="submit"] {
	width: calc(40% - 5px);
}

#vbModal .step-3-default {
	padding-top: 25px;
  padding-left: 85px;
	min-height: 236px;
}

#vbModal .modal-body.step-3 #vbReg {
	padding-left: 80px;
}

#vbModal #step-done {
	text-align: center;
}

@media screen and (max-width: 480px) {
	#vbModal .modal-body {
		padding: 0;
		padding-bottom: 0px;
	}

	#vbModal h4 {
		font-size: 16px;
	}

	#vbModal .home {
		padding: 10px;
	}

	#vbModal .home img {
		height: 30px;
	}

	#vbModal .home span {
		font-size: 15px;
		max-width: 230px;
		max-height: 32px;
		margin: 0;
	}

	#vbModal .bottom-container {
		right: 25px;
		left: 25px;
		height: 40px;
	}

	#vbModal [class^="button-"] {
		height: 40px;
		font-size: 16px;
	}

	#vbModal [type=submit] {
		width: 100%;
	}	

	#vbModal #step-2 label {
		font-size: 15px;
	}

	#vbModal .input-radio {
		width: 20px;
		height: 20px;
	}

	#vbModal p {
		margin-bottom: 16px;
		font-size: 15px;
	}

	#vbModal input[type="phone"] {
		height: 40px;
		padding: 6px 10px;
		font-size: 16px;
		width: 100%;
	}

	.sign-success {
		width: 100px;
		height: 100px;
	}

	.sign-success:after {
	    width: 10px;
	    height: 20px;
	}
}

.custom-popup {
	position: relative;
  padding: 35px 20px;
  background-color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 14px;
  -webkit-transition: 0.3s linear;
  transition: 0.3s linear;
}
@media (min-width: 992px) {
  .custom-popup {
    max-width: 640px;
    padding: 20px 0 20px;
  }
}
@media (max-width: 370px) {
  .custom-popup {
    padding: 20px 0px;
  }
}
.custom-popup__close {
  width: 30px;
  height: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: 0.2s linear;
  transition: 0.2s linear;
	padding: 1px 6px;
  background-color: transparent;
  border: 0;
}
.custom-popup__close svg {
  width: 100%;
  height: 100%;
  fill: #c4c4c4;
  -webkit-transition: 0.2s linear;
  transition: 0.2s linear;
}
.custom-popup__close:hover {
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
	background-color: transparent;
}
.custom-popup__close:hover svg {
  fill: #000;
}
.custom-popup__form {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-transition: 0.2s linear;
  transition: 0.2s linear;
}
@media (min-width: 992px) {
  .custom-popup__form {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}
.custom-popup__form-item {
  margin-bottom: 20px;
}
@media (min-width: 992px) {
  .custom-popup__form-item {
    margin-right: 15px;
    margin-bottom: 0;
  }
}
.custom-popup__form-item input {
  padding-left: 45px;
  height: 50px;
  border: 1px solid #4d4d4d;
  border-radius: 14px;
  width: 100%;
  font-size: 20px;
}
@media (min-width: 992px) {
  .custom-popup__form-item input {
    padding-left: 25px;
  }
}
@media (max-width: 370px) {
  .custom-popup__form-item input {
    height: 40px;
  }
}
.custom-popup__form-btn {
  width: 100%;
  text-align: center;
  background-color: #1178e2;
  height: 50px;
  border-radius: 14px;
  color: #fff;
  font-size: 20px;
  -webkit-transition: 0.3s linear;
  transition: 0.3s linear;
}
@media (min-width: 992px) {
  .custom-popup__form-btn {
    max-width: 150px;
  }
}
@media (max-width: 370px) {
  .custom-popup__form-btn {
    height: 40px;
  }
}

.custom-popup__second {
  padding: 120px 40px 40px;
}
@media (min-width: 992px) {
  .custom-popup__second {
    max-width: 500px;
    padding: 20px 0 40px;
  }
}
@media (max-width: 370px) {
  .custom-popup__second {
    padding: 80px 20px 20px;
  }
}

.custom-popup__second-wrapper {
  max-width: 370px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
@media (min-width: 992px) {
  .custom-popup__second-wrapper {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }
}
@media (max-width: 992px) {
  .custom-popup__second-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

.custom-popup__second-right {
  max-width: 280px;
}

.custom-popup__marker-img {
  max-width: 88px;
  max-height: 120px;
  margin-bottom: 50px;
  overflow: hidden;
}
@media (min-width: 992px) {
  .custom-popup__marker-img {
    max-width: 68px;
    max-height: 90px;
    margin-right: 20px;
  }
}
@media (max-width: 370px) {
  .custom-popup__marker-img {
    max-width: 75px;
    max-height: 100px;
    margin-bottom: 30px;
  }
}
.custom-popup__marker-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.custom-popup__second-descr {
  font-size: 21px;
  text-align: center;
  margin-bottom: 20px;
  line-height: 24px;
}
@media (min-width: 992px) {
  .custom-popup__second-descr {
    text-align: left;
  }
}

.custom-popup__second-details {
  font-weight: 300;
  font-size: 16px;
  line-height: 42px;
  margin-bottom: 35px;
  text-align: center;
}
@media (max-width: 992px) {
  .custom-popup__second-details {
    text-align: center;
  }
}
@media (max-width: 370px) {
  .custom-popup__second-details {
    margin-bottom: 20px;
  }
}

.custom-popup__second-form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  max-width: 160px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
@media (min-width: 992px) {
  .custom-popup__second-form {
    max-width: 370px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }
}

.custom-popup__second-btn-yes {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  background-color: #1178e2;
  margin-bottom: 15px;
  color: #fff;
  font-size: 20px;
  -webkit-transition: 0.3s linear;
  transition: 0.3s linear;
}
@media (min-width: 992px) {
  .custom-popup__second-btn-yes {
    width: 50%;
    margin-right: 20px;
    margin-bottom: 0;
  }
}
@media (max-width: 370px) {
  .custom-popup__second-btn-yes {
    height: 40px;
    font-size: 18px;
  }
}

.custom-popup__second-btn-no {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  background: transparent;
  border: 1px solid #e3e3e3;
  color: #797979;
  font-size: 20px;
}

.custom-popup__second-btn-no:hover {
  background: #eaeaea;
}

@media (min-width: 992px) {
  .custom-popup__second-btn-no {
    width: 50%;
  }
}
@media (max-width: 370px) {
  .custom-popup__second-btn-no {
    height: 40px;
    font-size: 18px;
  }
}

.custom-popup__third {
  padding: 0 30px 30px;
}
@media (min-width: 992px) {
  .custom-popup__third {
    max-width: 500px;
    padding: 20px 0 20px;
  }
}
@media (max-width: 370px) {
  .custom-popup__third {
    padding: 15px 20px;
  }
}

.custom-popup__third-descr {
  text-align: center;
  font-size: 21px;
  margin-bottom: 20px;
  line-height: 24px;
}
@media (min-width: 992px) {
  .custom-popup__third-descr {
    max-width: 310px;
  }
}

.custom-popup__third-details {
  max-width: 130px;
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
  margin-bottom: 25px;
}
@media (min-width: 992px) {
  .custom-popup__third-details {
    max-width: 130px;
  }
}

@media (min-width: 992px) {
  .custom .rounded-triange_less {
    right: 55px;
  }
}

@media (max-width: 992px) {
  .custom .rounded-triange_less {
    right: 30px;
  }
}

@media (min-width: 992px) {
  .custom-popup__fourth {
    width: 640px;
  }
}

.custom-popup__fourth-descr {
  padding: 15px 35px;
}
@media (min-width: 992px) {
  .custom-popup__fourth-descr {
    max-width: 260px;
    padding: 15px 40px;
  }
}
@media (max-width: 370px) {
  .custom-popup__fourth-descr {
    padding: 15px;
  }
}

.custom-popup__fourth-form {
  width: 100%;
}
@media (min-width: 992px) {
  .custom-popup__fourth-form {
    max-width: 520px;
  }
}

.custom-popup__fourth-btn {
  width: 100%;
  height: 60px;
  border-radius: 14px;
  background-color: #1178e2;
  margin-bottom: 15px;
  color: #fff;
  font-size: 20px;
  -webkit-transition: 0.3s linear;
  transition: 0.3s linear;
}
@media (min-width: 992px) {
  .custom-popup__fourth-btn:not(:last-child) {
    margin-right: 10px;
  }
}
@media (max-width: 370px) {
  .custom-popup__fourth-btn {
    font-size: 18px;
  }
}

.custom-popup__fifth {
  padding: 120px 60px 60px;
}
@media (min-width: 992px) {
  .custom-popup__fifth {
    width: 640px;
    padding: 45px 0 45px;
  }
}
@media (max-width: 370px) {
  .custom-popup__fifth {
    padding: 80px 30px 30px;
  }
}

.custom-popup__fifth-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media (min-width: 992px) {
  .custom-popup__fifth-wrapper {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
		min-width: 530px;
  }
}
@media (max-width: 992px) {
  .custom-popup__fifth-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

.custom-popup__fifth-left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

@media (min-width: 992px) {
	.custom-popup__fifth-left {
		margin-right: 20px;
	}
}

.custom-popup__fifth-right {
  padding-top: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
	align-items: center;
}

.custom-popup__fifth-title {
  max-width: 260px;
  font-size: 25px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
  margin-bottom: 40px;
}

.custom .fifth__house-img {
  width: 100%;
  max-width: 280px;
  max-height: 140px;
  margin-bottom: 30px;
  overflow: hidden;
}
.custom .fifth__house-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.custom-popup__fifth-descr {
  max-width: 230px;
  font-size: 18px;
  text-align: center;
  margin-bottom: 25px;
}
@media (min-width: 992px) {
  .custom-popup__fifth-descr {
    margin-bottom: 60px;
  }
}
.custom-popup__fifth-descr span {
  font-weight: 700;
}

@media (min-width: 992px) {
  .custom-popup__fifth-form {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .custom-popup__fifth-form .custom-popup__second-btn-yes {
    margin-right: 0;
    width: 100%;
    margin-bottom: 20px;
  }
  .custom-popup__fifth-form .custom-popup__second-btn-no {
    width: 100%;
  }
}

.custom-popup__sixth {
  padding: 120px 60px 60px;
}
@media (min-width: 992px) {
  .custom-popup__sixth {
    width: 640px;
    padding: 45px 0 45px;
  }
}
@media (max-width: 370px) {
  .custom-popup__sixth {
    padding: 20px 0px 20px;
  }
}

.custom .sixth__house-img {
  max-width: 190px;
  max-height: 167px;
  overflow: hidden;
  margin-bottom: 30px;
}
.custom .sixth__house-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.custom-popup__seventh {
  padding: 120px 50px 30px;
}
@media (min-width: 992px) {
  .custom-popup__seventh {
    width: 640px;
    padding: 20px 0 20px;
  }
}
@media (max-width: 370px) {
  .custom-popup__seventh {
    padding: 80px 30px;
  }
}

.custom-popup__seventh-descr {
  min-width: 240px;
  min-width: 320px;
  margin: 25px;
}
@media (min-width: 992px) {
  .custom-popup__seventh-descr {
    min-width: 320px;
    max-width: 375px;
    margin: 25px 25px 25px;
    margin-bottom: 20px;
  }
}

.custom-popup__seventh-form {
  max-width: 230px;
}
@media (min-width: 992px) {
  .custom-popup__seventh-form {
    max-width: 100%;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .custom-popup__seventh-form .custom-popup__form-item {
    margin-right: 15px;
    margin-bottom: 0;
  }
  .custom-popup__seventh-form .custom-popup__form-input {
    padding-left: 25px;
  }
  .custom-popup__seventh-form .custom-popup__form-btn {
    max-width: 150px;
  }
}

.thanks__popup-overlay {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-transition: 0.3s linear;
  transition: 0.3s linear;
  opacity: 0;
  visibility: hidden;
}
.thanks__popup-overlay .thanks__popup-content {
  position: relative;
  padding: 120px 60px 60px;
  background-color: #fff;
  border-radius: 14px;
  max-width: 375px;
  margin: auto;
  -webkit-transform: translateX(-500%);
  transform: translateX(-500%);
  -webkit-transition: 0.3s linear;
  transition: 0.3s linear;
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
@media (min-width: 992px) {
  .thanks__popup-overlay .thanks__popup-content {
    margin: auto;
    width: 640px;
    max-width: 640px;
    padding: 20px 0 40px;
  }
  .thanks__popup-overlay .thanks__popup-content .custom-popup__avatar {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .thanks__popup-overlay .thanks__popup-content .custom-popup__descr {
    max-width: 260px;
    margin: 0 auto;
  }
  .thanks__popup-overlay .thanks__popup-content .rounded-triangle {
    right: 50px;
  }
}
@media (max-width: 370px) {
  .thanks__popup-overlay .thanks__popup-content {
    padding: 80px 30px 30px;
  }
}

.custom-popup__thanks-descr {
  position: absolute;
  top: 0;
  left: 0;
  padding: 20px;
  background-color: #1178e2;
  color: #fff;
  margin-bottom: 0;
  -webkit-transition: 0.4s linear;
  transition: 0.4s linear;
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
}
.custom-popup__thanks-descr svg {
  fill: #1178e2;
}

.thanks-descr_show {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(-10%);
  transform: translateY(-10%);
}

.thanks__popup_active {
  opacity: 1;
  visibility: visible;
}
.thanks__popup_active .thanks__popup-content {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

.custom-popup__avatar-container_light {
  border: 4px solid #fff5de;
}

.custom-popup__descr_blue {
  background-color: #1178e2;
	color: #fff;
}

.custom-popup__descr_blue svg {
	fill: #1378e2;
}

@media (min-width: 992px) {
  .custom-popup__descr svg {
    right: 85px;
  }
}

.custom-popup__descr_light {
  background-color: #fff5de;
}
.custom-popup__descr_light svg {
  fill: #fff5de;
}

.btn_blue {
  -webkit-transition: 0.3s linear;
  transition: 0.3s linear;
  background-color: #1178e2;
  color: #fff;
  border: 0;
}
.btn_blue:hover {
  background-color: #eaeaea;
  color: #000;
}

.active_thanks_content {
  padding: 20px 0 110px;
}
@media (max-width: 992px) {
  .active_thanks_content {
    padding: 40px 30px 110px;
  }
}
.active_thanks_content .custom-popup__descr:not(.custom-popup__thanks-descr) {
  padding: 0;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
}
.active_thanks_content .custom-popup__form {
  padding: 0;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
}
.active_thanks_content .js-other {
  padding: 0;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
}
.active_thanks_content .thanks-descr_show {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(-10%);
  transform: translateY(-10%);
}

.custom-popup__descr-container {
  position: relative;
}

.custom-popup__nps-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
.custom-popup__nps-text {
  margin-bottom: 10px !important;
}
.custom-popup__nps-star {
  display: flex;
  align-items: center;
}
.custom-popup__nps-image img {
  height: 30px;
  width: 30px;
}
.custom-popup__nps-score {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  margin-left: 12px;
}
.custom-popup__nps-score span {
  font-size: 20px;
}
.custom-popup__social_proof {
  text-align: center;
  font-size: 12px;
}
