.tm-page #ProOPC input[type="checkbox"], 
.tm-page #ProOPC input[type="radio"] {
	width: 16px;
}
body * {
	box-sizing: border-box;
	font-family: 'Roboto', Arial;
}
img {
	max-height: 100%;
}

/*
типографика
*/
.uk-h1, 
.uk-h2, 
.uk-h3, 
.uk-h4, 
.uk-h5, 
.uk-h6, 
h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
	letter-spacing: normal;
	line-height: 1.41;
	font-weight: 400;
	text-transform: none;
}
.btn, 
.uk-button {
	letter-spacing: normal;
	font-weight: 400;
}
.uk-h1, 
h1 {
	font-size: 40px;
}
.uk-h2, 
h2 {
	font-size: 32px;
}	

/*
вывод товаров
*/
.latest-view h4 {
	font-size: 32px;
	font-weight: 400;
}
div[class*="-view"] .row {
	margin: 0 -15px;
}
.row > .product {
	padding: 0 15px;
	margin: 0 0 20px 0;
}
div[class*="-view"] .row .product .spacer {
	height: 100%;
	padding: 10px;
}
div[class$="-view"] .product .vm-product-media-container {
	height: 290px;
}
div[class$="-view"] .product .vm-product-media-container img {
	max-height: 100%;
}
.addtocart-bar input.quantity-input{
	width: 50px;
}
div[class$="-view"] .product .product-price {
	float: none;
    text-align: center;
    margin-bottom: 15px;
}
div[class$="-view"] .product .product-price span.PricesalesPrice {
	font-size: 18px;
}
div[class$="-view"] .product  .addtocart-bar {
	text-align: center;
}
.product .spacer h2 a {
	font-size: 16px;
	text-decoration: none;
}
.display-number select.inputbox {
	width: auto !important;
}

/*
сортировка
*/
.vm-order-list {
	float: left;
}
.vmsorting .btn-group {
	flex-wrap: wrap;
}
.vmsorting .btn-group .title{
	font-size: 16px;
	width: 100%;
}
.vmsorting .btn {
	padding-top: 3px;
	padding-bottom: 3px;
}
.vmsorting .btn .caret {
	margin-top: 7px;
}
.vmsorting .btnbtn:active,
.vmsorting .btn-group.open .btn.dropdown-toggle {
	background-color: #5cc6d6;
	color: #fff;
}

/*
вывод категорий
*/
.row .category {
	padding: 0 15px;
	margin-bottom: 20px;
}
.row .product .category {
	height: 100%;
}
.category .category-image {
	height: 200px;
	text-align: center;
	margin-bottom: 10px;
}
.category .category-image image {
	max-height: 100%;
}
.category .category-name h2 a{
	font-size: 16px;
	text-decoration: none;
}

/*
карточка товара
*/
.productdetails-view .product-price {
	margin-bottom: 30px;
	font-size: 24px;
}
.productdetails-view .price-count {
	font-size: 24px;
	display: inline-block;
	margin-left: 5px;
	line-height: 18px;
}
.product-description-title {
	border-bottom: 1px solid #ccc;
}
.product-description h2 {
	font-size: 24px;
}

/*
настраиваемые поля в карточке товара
*/
.productdetails-view .addtocart-area .product-field-type-S {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/*
сопутствующие товары
*/
.product-related-products{
	border-top: 0;
}
.product-related-products .product-fields-title {
	font-size: 28px;
    font-weight: 400;
    margin-bottom: 30px;
    display: block;
}
.product-related-products .product .spacer .vm-product-media-container {
	height: 250px;
}
.product-related-products .product .vm-customfields-wrap,
.product-related-products .product .product_s_desc{
	display: none;
}

/*
похожие товары
*/
.productdetails-view .moduletable h3 {
	text-transform: none;
}
.product-module-view .product .spacer .vm-product-media-container {
	height: 250px;
}
.product-module-view .product .vm-customfields-wrap,
.product-module-view .product .product_s_desc{
	display: none;
}

/*
всплывающее окно
*/
#fancybox-wrap {
	min-width: 500px;
}
#fancybox-content{
    min-width: 480px;
}
.padded-wrap {
	background: #fff;
}
.padded-wrap .padded-button {
	margin-bottom: 20px;
}
.padded-product-image{
    width: 100px;
    height: 100px;
    float: left;
    margin-right: 10px;
}
.padded-product-image img{
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
}

.padded-related-wrap{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    max-width: 650px;
    border-top: 1px solid #eee;
}
.padded-related-wrap h4{
    width: 100%;
}
.padded-related-product{
    -ms-flex-preferred-size: 25%;
    flex-basis: 25%;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}
.padded-related-product img{
    display: block;
    margin: 0 auto;
}
.padded-related-product .vm-img-desc,
.padded-related-product .product_s_desc{
    display: none;
}


/*
медиа запросы
*/
@media (min-width: 992px) and (max-width: 1199px) {
	.category .category-image {
		height: 150px;
	}
	div[class$="-view"] .product .vm-product-media-container{
		height: 200px;
	}
	.product-module-view .product .spacer .vm-product-media-container,
	.product-related-products .product .spacer .vm-product-media-container{
		height: 200px;
	}
	.tm-header ul.uk-navbar-nav > li > a{
		padding-left: 5px;
		padding-right: 5px;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	.category-view > .row > .category {
		width: 50%;
	}
	.category .category-image {
		height: 150px;
	}

	div[class*="-view"] .row > .product {
		width: 50%;
	}

	div[class$="-view"] .product .vm-product-media-container{
		height: 200px;
	}
	.product-module-view .product .spacer .vm-product-media-container,
	.product-related-products .product .spacer .vm-product-media-container{
		height: 200px;
	}
	.back-to-category {
	    width: 100%;
	    text-align: right;
	}
}
@media (max-width: 767px) {
	.category-view > .row > .category {
		width: 50%;
	}
	.category .category-image {
		height: 130px;
	}

	div[class*="-view"] .row > .product {
		width: 50%;
	}

	div[class$="-view"] .product .vm-product-media-container{
		height: 200px;
	}
	.product-module-view .product .spacer .vm-product-media-container,
	.product-related-products .product .spacer .vm-product-media-container{
		height: 200px;
	}
	.back-to-category {
	    width: 100%;
	    text-align: right;
	}
	#fancybox-content {
	    min-width: auto;
	}
	#fancybox-wrap {
		min-width: auto;
	}
	.padded-wrap .padded-button {
		display: flex;
		flex-direction: column;
	}
	.padded-wrap .padded-button .continue_link {
		margin-bottom: 15px;
	}
	.padded-product-image {
	    width: 100%;
	    height: 150px;
	    float: none;
	    margin-right: 0;
	    text-align: center;
	    margin-bottom: 10px;
	}
	.padded-product-name {
		text-align: center;
	}
	.productdetails-view .vm-product-container .vm-product-media-container,
	.productdetails-view .vm-product-details-container {
		width: 100%;
	}
	.uk-h1, h1{
		font-size: 36px;
	}
	.uk-h2, h2 {
		font-size: 30px;
	}
	.uk-h3, h3 {
		font-size: 24px;
	}
}
@media (max-width: 480px) {
	.category .category-image {
		height: 100px;
	}
	div[class*="-view"] .row > .product {
		width: 100%;
	}
}