
.modal {
	display: none;

	margin: 200px auto;
	background-color: #FBFCFD;
}

.modal_close {
	display: block;
	position: absolute;
	top: 0;
	right: 0;

	width: 40px;
	height: 40px;
	border: 1px solid #F1F6F9;
}

.modal_close:before {
	content: '';
	position: absolute;
	top: 15px;
	right: 15px;

	width: 10px;
	height: 10px;
	background: url('/images/close.svg') center center no-repeat;
	background-size: 10px auto;

	transform: scale(1);
	transition: transform linear .5s;
}

.modal_close:hover:before {
	transform: scale(1.5);
}

.modal_bone {
	padding: 120px;
}

.modal_title {
	width: 80%;
	margin: 0 auto;
	font-size: 24px;
	font-weight: 700;
	font-family: 'Ubuntu', sans-serif;
	text-align: center;
	line-height: 32px;
}

.modal_descr {
	margin-top: 20px;
	text-align: center;
	line-height: 23px;
}

.modal_balls {
	margin-top: 50px;
	text-align: center;
}

.modal_ball {
	display: inline-block;

	width: 40px;
	height: 40px;
	margin: 0 7px;
	text-align: center;
	line-height: 40px;
	border: 1px solid #F1F6F9;

	transition: border-color linear .5s;
}

.modal_ball:hover {
	border-color: #497BD5;
}

.modal_ball.active {
	color: #497BD5;
	background-color: #F1F6F9;
	border-color: #F1F6F9;
}

.modal.one {
	width: 800px;
	box-sizing: border-box;
}

.modal_lock {
	overflow: hidden;
}

.modal_overlay {
	overflow: auto;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;

	background: rgba(241, 246, 249, 0.9);
	z-index: 7000;
	zoom: 1;

	-webkit-overflow-scrolling: touch;
}

.modal_overlay > * {
	-webkit-transform: translateZ(0px);
}