.rekl-block {
	max-width: 960px;
	margin: 0 auto;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: space-around;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
}
.rekl-block .item {
	display: block;
	width: 29%;
	transition: 0.25s;
}
.rekl-block .item .img-block {
	width: 100%;
	height: 170px;
	border-radius: 5px;
	border: 13px solid #e8e8eb;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: center;
	-ms-align-items: center;
	align-items: center;
	transition: 0.25s;
}
.rekl-block .item span {
	display: block;
	text-align: center;
	font-size: 20px;
	color: #000;
	text-transform: uppercase;
	position: relative;
	margin-top: 30px;
	transition: 0.25s;
}
.rekl-block .item span::before {
	content: '';
	width: 85px;
	height: 5px;
	background: #e8e8eb;
	position: absolute;
	left: 50%;
	margin-left: -43px;
	top: -20px;
}
.rekl-block .item:hover {
	color: #808991;
}
.rekl-block .item:hover span {
	color: #808991;
}
.rekl-block .item1 .img-block {
	background: url(item1.png) no-repeat center;
}
.rekl-block .item1:hover .img-block {
	background: #ffcf01 url(item1-hover.png) no-repeat center;
}
.rekl-block .item2 .img-block {
	background: url(item2.png) no-repeat center;
}
.rekl-block .item2:hover .img-block {
	background: #ffcf01 url(item2-hover.png) no-repeat center;
}
.rekl-block .item3 .img-block {
	background: url(item3.png) no-repeat center;
}
.rekl-block .item3:hover .img-block {
	background: #ffcf01 url(item3-hover.png) no-repeat center;
}

.choose-tab {
	background: #f7f7f9;
	padding: 20px 0 0 0;
	margin: 0 0 15px 0;
}
.choose-tab .nav-tabs {
	max-width: 960px;
	padding: 0 15px;
	margin: 0 auto;
	border: none;
}
.choose-tab .nav-tabs li {
	margin-right: 20px;
	margin-bottom: 20px;
}
.choose-tab .nav-tabs li a {
	font-size: 18px;
	color: #fba603;
	font-weight: 700;
	border: 1px solid #fba603;
	border-radius: 0;
	padding: 0 10px 0 50px;
	line-height: 38px;
}
.choose-tab .nav-tabs li.active a {
	color: #fff;
	border: 1px solid #fba603;
}
.choose-tab .nav-tabs li:nth-child(1) a {
	background: #fff url(s-item1.png) no-repeat center left 10px;
}
.choose-tab .nav-tabs li:nth-child(2) a {
	background: #fff url(s-item2.png) no-repeat center left 10px;
}
.choose-tab .nav-tabs li:nth-child(3) a {
	background: #fff url(s-item3.png) no-repeat center left 10px;
}
.choose-tab .nav-tabs li:nth-child(1).active a {
	background: #fba603 url(s-item1-hover.png) no-repeat center left 10px;
}
.choose-tab .nav-tabs li:nth-child(2).active a {
	background: #fba603 url(s-item2-hover.png) no-repeat center left 10px;
}
.choose-tab .nav-tabs li:nth-child(3).active a {
	background: #fba603 url(s-item3-hover.png) no-repeat center left 10px;
}

.result-tab {
	max-width: 960px;
	padding: 0 15px;
	margin: 0 auto;
}
.result-tab .tab-pane {
	font-size: 0;
	line-height: 0;
	margin-right: -6px;
	margin-left: -6px;
}
.result-tab .item {
	width: 25%;
	padding: 0 6px;
	display: inline-block;
	vertical-align: top;
	box-sizing: border-box;
	margin: 5px 0;
	cursor: pointer;
}
.result-tab .item a {
	text-decoration: none;
}
.result-tab .block {
	background: #f7f7f9;
	padding-bottom: 0px;
}
.result-tab .item.gray .block {
	background: #e8e8eb;
}
.result-tab .block .img-block {
	height: 150px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-ms-align-items: center;
	align-items: center;
	justify-content: center;
}
.result-tab .block .img-block img {
	max-width: 90%;
	height: auto;
	width: 90%;
}
.result-tab .block span {
	display: block;
	text-align: center;
	font-size: 20px;
	line-height: 1;
	color: #000;
}
.custom-modal.modal-dialog {
	width: 100%;
	max-width: 960px;
}
.custom-modal.modal-dialog .modal-content {
	padding: 30px;
	position: relative;
}
.custom-modal.modal-dialog .modal-content .close {
	position: absolute;
	top: 30px;
	font-size: 0;
	right: 30px;
	width: 21px;
	height: 21px;
	background: url(closeYes.png) no-repeat;
	opacity: 1;
	outline: none;
}
.custom-modal.modal-dialog .modal-content .title {
	font-size: 32px;
	color: #4c4c4c;
	opacity: 1;
	border-bottom: 0;
}
.custom-modal.modal-dialog .modal-content .text-block {
	margin: 20px 0;
	font-size: 15px;
	line-height: 1.25;
	color: #808991;
}
.clr {
	clear: both;
}
.custom-modal.modal-dialog .modal-content .text-block .img-block {
	width: 100%;
	max-width: 340px;
	height: 280px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-ms-align-items: center;
	align-items: center;
	justify-content: center;
	border: 2px solid #e8e8eb;
	float: left;
	margin-right: 20px;
}

.custom-modal.modal-dialog .modal-content .text-block .img-block img {
	max-width: 80%;
	height: auto;
}

.custom-modal.modal-dialog .modal-content .ssilka {
	display: block;
	width: 100%;
	max-width: 340px;
	text-align: center;
	font-size: 18px;
	color: #fba603;
	font-weight: 700;
	line-height: 50px;
	border: 1px solid #faa503;
	text-decoration: none;
}
.custom-modal.modal-dialog .modal-content .ssilka:hover {
	color: #fff;
	background: #faa503;
}
.modal-content{
	border-radius: 0;
	border: 0;
}
.modal-backdrop.fade, .modal-backdrop.in, .fade.in{
	opacity: 1;
}
.modal-backdrop{
	background: rgba(252, 196, 90, 0.9) !important;
}
.modal-content{
	box-shadow: none;
}
@media (max-width: 767px) {
	.custom-modal.modal-dialog {
		width: 80%;
		margin: 0 auto;
		margin-top: 20px;
		margin-bottom: 20px;
	}
	.custom-modal.modal-dialog .modal-content .ssilka {
		margin: 0 auto;
	}
	.custom-modal.modal-dialog .modal-content .text-block .img-block {
		float: none;
		margin: 0 auto;
		margin-bottom: 20px;
	}
	.rekl-block {
		max-width: 360px;
		padding: 0 15px;
	}
	.rekl-block .item {
		width: 100%;
		margin: 15px 0;
	}
	.result-tab .item {
		width: 50%;
	}
	.result-tab .block {
		background: #f7f7f9 !important; 
	}
}
@media (max-width: 480px) {
	.custom-modal.modal-dialog {
		width: 90%;
	}
	.custom-modal.modal-dialog .modal-content .text-block .img-block {
		height: 200px;
	}
	.choose-tab .nav-tabs li {
		width: 100%;
	}
	.result-tab .item {
		width: 100%;
	}
}