/* Common Styles */

.box_image{
	width: 35%;
	margin-right: 5%;
	float: left;
	position: relative;
	border: 2px solid #F3F2F3;
	border-radius: 10px;
	padding-bottom: 58px;
	overflow: hidden;
	text-align: center;
}
.box_info{
	width: 60%;
	float: left;
	background-color: #F3F4F5;
	margin-bottom: 30px;
	padding: 16px 32px;
	border-radius: 10px;
	line-height: 20px;
}
@media (max-width: 991px){
	.box_image,
	.box_info{
		width: unset;
		float: unset;
	}
	.box_image{
		min-height: 264px;
		margin-right: 0;
		margin-bottom: 20px;
	}
}
@media (max-width: 767px){
	.box_info{
		padding: 16px;
	}
}



/* Box Image */

.dynamic_color_name{
	margin: auto;
	font-family: 'PTSans-Bold', sans-serif;
	margin: 32px 0 64px;
	line-height: 20px;
	font-size: 16px;
}
.dynamic_img_cnt{
	margin-bottom: 64px;
}
.dynamic_imgs{
	display: inline;
	width: auto;
}
.dynamic_img{
	display: none;
	user-select: none;
	-webkit-animation: fadeIn 1s;
	animation: fadeIn 1s;
}
.dynamic_img.active{
	display: block;
}
@-webkit-keyframes fadeIn {
	from {
		opacity: .7;
	}
	to {
		opacity: 1;
	}
}
@keyframes fadeIn {
	from {
		opacity: .7;
	}
	to {
		opacity: 1;
	}
}
.dynamic_img img{
	max-width: 446px;
	width: 100%;
	max-height: 386px;
	margin: auto;
}
@media (max-width: 991px){
	.dynamic_img img{
		width: 100%;
		max-height: unset;
	}
}



/* Dynamic Pagination */

.dynamic_pagination{
	position: absolute;
	width: 100%;
	margin: auto;
	bottom: 0;
	font-size: 20px;
	pointer-events: none;
	margin-bottom: 60px;
}
.dynamic_img_prev,
.dynamic_img_next{
	position: relative;
	height: 100%;
	width: 50%;
	transition: .3s;
	cursor: pointer;
	pointer-events: auto;
	color: #ccc;
	z-index: 1;
	font-size: 16px;
}
.dynamic_pagination .btn{
	padding: 6px 20px;
}
.dynamic_img_prev{
	float: left;
}
.dynamic_img_next{
	float: right;
}
.di_btn{
	bottom: -60px;
	position: absolute;
	width: 100%;
	padding: 20px 60px;
	cursor: pointer;
	color: #F95A58;
	background-color: #F3F2F3;
	transition: .2s;
}
.dynamic_img_prev .di_btn:hover,
.dynamic_img_next .di_btn:hover{
	opacity: .7;
}
.dynamic_img_prev .di_btn:before{
	content: '';
	position: absolute;
	width: 2px;
	height: 58%;
	top: 22%;
	right: 0px;
	background: #BBBBBB;
}
@media (max-width: 991px){
	.dynamic_color_name,
	.dynamic_img_cnt{
		margin-right: 0;
	}
	.dynamic_img_cnt{
		margin-bottom: 30px
	}
}
@media (max-width: 767px){
	.dynamic_color_name{
		padding: 24px 16px;
		font-size: 18px;
	}
}



/* Common Box Info */

.box_info ul{
	list-style: none;
	padding-left: 0;
}



/* Box Materials */

.box_materials{
	margin-bottom: 20px;
}
.materials_list>li{
	cursor: pointer;
	transition: .2s;
}
.materials_list>li.active{
	font-family: 'PTSans-Bold', sans-serif;
}
.materials_list>li:hover,
.materials_list>li.active{
	color: #F95A58;
}
.materials_list>li:before{
	content: '';
	display: inline-block;
	width: 11px;
	height: 11px;
	border: 1px solid #d0d0d0;
	border-radius: 100%;
	margin-right: 6px;
	transition: .2s;
}
.materials_list>li:hover:before{
	border-color: #F95A58;
}
.materials_list>li.active:before{
	border: none;
	font-family: FontAwesome;
	content: '\f058';
	font-size: 13.5px;
}
.materials_list>li>label{
	margin-bottom: 0;
	font-weight: unset;
}
.materials_list input[name='matrls']{
	display: none;
}
.material_name{
	padding-bottom: 4px;
	display: block;
}



/* Box Colors */

.box_colors{
	display: flow-root;
}
.colors_list{
	display: none;
}
.colors_list.active{
	display: block;
}
.colors_list>li{
	width: 10.4%;
	display: block;
	margin-right: 10px;
	margin-bottom: 10px;
	float: left;
	cursor: pointer;
	position: relative;
	text-align: center;
	border-radius: 2px;
	transition: .2s;
}
.colors_list>li:hover,
.colors_list>li.active{
	border-radius: 4px;
}
.colors_list>li:hover{
	box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.75);
}
.colors_list>li:before{
	font-family: FontAwesome;
	content: '\f058';
	color: #F95A58;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	font-size: 14px;
	opacity: 0;
	transition: .2s;
	transform: scale(.7);
	margin: auto;
	backface-visibility: hidden;
	height: 20px;
}
.colors_list>li.active:before{
	opacity: 1;
	transform: scale(1);
}
.colors_list>li>label{
	margin-bottom: 0;
	width: 100%;
	margin-right: 0;
	float: unset;
	display: block;
}
.box_colors input[name='colors']{
	display: none;
}
.colors_cnt{
	display: block;
}
.color{
	width: 50%;
	height: 20px;
	display: block;
	float: left;
	transition: .2s;
}
.color1{
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
	border-right: none !important;
	width: 40%;
	float: left;
}
.color2{
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
	border-left: none !important;
	width: 60%;
	float: right;
}
.colors_list>li:hover .color,
.colors_list>li.active .color{
	border: 2px solid #F95A58;
}
.color_name{
	display: none;
	position: absolute;
	top: -35px;
	left: -10px;
	background: #F95A58;
	white-space: nowrap;
	color: #fff;
	padding: 6px 12px;
	z-index: 10;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	pointer-events: none;
	font-size: 12px;
}
.box_colors li:hover .color_name{
	display: block;
}
.box_colors li:hover .color_name:after{
	content: '';
	position: absolute;
	left: 28px; bottom: -14px;
	border: 8px solid transparent;
	border-top: 8px solid #F95A58;
}
@media (max-width: 1199px){
	.colors_list>li{
		width: 11.4773%;
	}
}
@media (max-width: 767px){
	.color{
		height: 24px;
	}
}
@media (max-width: 480px){
	.colors_list>li{
		width: calc(25% - 8px);
		margin-right: 8px;
		margin-bottom: 8px;
	}
}



/* Box Price */

.box_price{
	margin-top: 20px;
	border-top: 1px solid #e0e0e0;
	padding-top: 24px;
	position: relative;
}
.box_price .box_title{
	margin-bottom: 8px;
}
.price_text{
	font-family: 'PTSans-Bold', sans-serif;
}
.total_price{
	font-size: 26px;
	color: #F95A58;
}
.box_price .ruble{
	color: #F95A58;
	font-size: 18px;
}
.box_price .btn{
	padding: 8px 18px;
	position: absolute;
	right: 0;
	bottom: 0;
}



/* Cars Select */

.plus_box_car{
	padding: 30px;
}
.box_car{
	margin-right: 20px;
}
.box_brands,
.box_models{
	position: relative;
	float: left;
	width: 100%;
	margin-right: 8px;
}
.box_car,
.box_info.plus_box_car .box_materials{
	width: calc(50% - 10px);
	float: left;
}
@media (max-width: 480px){
	.box_car,
	.box_info.plus_box_car .box_materials{
		width: 100%;
		float: unset;
	}
}




/* Ul Select Script */

ul.zg-ul-select{
	border-radius: 2px;
	box-sizing: border-box;
	cursor: pointer;
	margin: 0 0 16px 0;
	padding: 0;
}
ul.zg-ul-select li{
	display: none;
	padding: 8px 16px;
}
ul.zg-ul-select li.active{
	align-items: center;
	border-radius: 2px;
	display: flex;
	justify-content: space-between;
	font-family: 'PTSans-Bold', sans-serif;
	transition: color .2s, border-color .2s;
	background: #fff;
}
ul.zg-ul-select li.active:hover{
	color: #F95A58;
	border-color: #F95A58;
}
ul.zg-ul-select li.active:not(.select_hint){
	color: #F95A58;
}
ul.zg-ul-select.active{
	border: 1px solid #F95A58;
	margin-top: -1px;
	position: absolute;
	z-index: 1;
	overflow-y: scroll;
	max-height: 200px;
	width: 100%;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}
ul.zg-ul-select.active::-webkit-scrollbar{
	width: 12px;
}
ul.zg-ul-select.active::-webkit-scrollbar-thumb{
	background: #F95A58;
}
ul.zg-ul-select.active::-webkit-scrollbar-track{
	background: #ececec;
}
ul.zg-ul-select.active li{
	border: none;
	box-shadow: none;
	display: block;
	padding: 4px 16px;
	background: #fff;
}
ul.zg-ul-select.active li:not(.active){
	transition: color .2s;
}
ul.zg-ul-select.active li.active{
	color: #F95A58;
	font-family: 'PTSans-Bold', sans-serif;
	border-radius: 0;
}
ul.zg-ul-select.active li:not(.active):hover{
	color: #F95A58;
}
#selected--zg-ul-select{
	align-items: center;
	box-sizing: border-box;
	color: #808080;
	display: flex;
	justify-content: space-between;
	width: auto;
}
#selected--zg-ul-select.active{
	background: #fbfbfb;
	border-radius: 2px;
	padding: 8px 16px;
	font-family: 'PTSans-Bold', sans-serif;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.select_hint{
	color: #8a8a8a;
}