@media screen and (max-width: 1024px) {
	.top-contacts {
		height: 113px;
	}

	/*div.good-item-card .good-right-block {
		padding-left: 14px;
	}*/

	span.n-cena {
		margin-right: 5px;
	}

	div.good-item-card .price-order {
		padding: 15px 15px;
		padding-bottom: 24px;
	}

}

@media screen and (max-width: 991px) {
	.table.cart-table>tbody>tr>td {
		padding: 4px;
	}

	.content-on-main .text-on-main {
		margin-top: 0
	}


	.bottom-service-links {
		top: 0;
	}

	div.other-products.similar-products {
		padding: 0 50px;
	}

	.bottom-service-links {
		left: 0;
	}

	.about_imgs img {
		height: 47px;
		width: auto;
	}

	.about_imgs.last img {
		height: 114px;
		width: auto;
	}

	div.good-item-card .price-order .order {
		width: 100%;
		margin-right: 0;
	}

	.good-main-content .price-order .add_to_compare {
		width: 100%;

		margin-left: 0;
	}

	.price-order #count {
		max-width: 100%;
	}
}

@media (max-width: 995px) and (min-width: 767px) {
	.top-contacts {
		height: auto;
	}
	.cat_new_block {
		width: calc(50% - 10px);
	}
	.show_personal {
		display: none;
	}
}

@media screen and (max-width: 767px) {
	table.search {
		padding-left: 0;
	}

	.show_address,
	.show_personal 	{
		width: 45px;
		height: 34px;
		float: right;
		text-align: center;
		line-height: 12px;
		padding: 4px;
		border-radius: 5px;
		border: 1px solid #dddddd;
		cursor: pointer;
		margin-top: 3px;
		margin-bottom: 10px;
		position: absolute;
		right: 11px;
		top: 64px;
	}

	.flex_top_row .show_address {
		right: 74px;
		top: 6px;
	}

	.flex_top_row .show_personal {
		right: 124px;
		top: 6px;
	}

	.about_imgs {
		text-align: center;
	}

	.about_imgs.last img {
		height: auto !important;
		width: auto;
		max-width: 100%;
		padding: 0 !important;
		float: left;
		margin-bottom: 10px;
	}

	.about_imgs img {
		width: auto;
		height: 60px;
		display: inline-block;
	}

	.fotorama_object.fotorama--fullscreen .fotorama__wrap--css3 .fotorama__stage .fotorama__img {
		max-width: 100% !important;
		max-height: 100% !important;
	}

	.fotorama_object.fotorama--fullscreen .fotorama__fullscreen-icon {
		background: url(../images/magnifier_minus.png) no-repeat !important;
		width: 40px;
		height: 40px;
		background-size: 100% !important;
	}

	/*img:not(#map_canvas, #map_canvas *, #map_canvas_contacts, #map_canvas_contacts *, .good-gallery *, .search-img) {
		max-width: 100% !important;
		height: auto !important;
	}*/

	iframe:not(#map_canvas, #map_canvas *, #map_canvas_contacts, #map_canvas_contacts *),
	textarea,
	input,
	button,
	submit,
	select,
	video,
	object:not(#map_canvas, #map_canvas *, #map_canvas_contacts, #map_canvas_contacts *),
	embed {
		max-width: 99% !important;
	}

	table,
    span:not(.irs-from, .irs-to, .irs-single),
    div:not(.good-item, .good-main__price, [data-entity="buttons-block"], .fancybox-wrap, .fancybox-overlay, .fancybox-outer, .fancybox-inner, .fancybox-content, .basket-popup, #map_canvas, .slick-slide, .slick-track, .slick-list, .slick-slider, #map_canvas *, #map_canvas_contacts, #map_canvas_contacts *, .b24-widget-button-wrapper, .b24-widget-button-popup, .b24-widget-button-inner-mask),
    ins {
		max-width: 100% !important;
	}

	#vk_groups {
		margin: auto !important;
	}

	#vk_groups iframe {
		max-width: 200% !important;
	}

	#wrapper {
		padding-bottom: 20px;
	}

	#header .navbar-toggle {
		border-color: #ddd;
	}

	#header .navbar-toggle .icon-bar {
		background-color: #888;
	}

	#header .navbar-toggle {
		z-index: 1;
		position: absolute;
		right: 12px;
		top: 1px;
	}

	#header .flex_top_row .navbar-toggle {
		right: 12px;
	}

	.sm-text-left {
		text-align: left;

	}

	.top-contacts .sm-text-left {
		max-width: 210px;
	}

	p.top-address {
		position: relative;
		margin: 8px 0;
	}

	.top-contacts .callback {
		margin: 0;
		/* top: -42px; */
		/* position: absolute; */
	}

	#warehouses-quantity-danger {
		margin-bottom: 20px;
	}

	.navbar-collapse.in {
		overflow-y: auto;
		margin-bottom: 2px;
	}

	.flex_top_row .navbar-collapse {
		position: absolute;
		width: 100%;
		top: 55px;
		border-top: 0;
		padding: 0px 0;
		left: 0;
		text-align: center;
		border-bottom: 2px solid #e0e8f6;
		background: -webkit-gradient(linear, left top, left bottom, color-stop(3%, #FFFFFF), color-stop(344%, #8daae0));
		background: -webkit-linear-gradient(top, #FFFFFF 3%, #8daae0 344%);
		background: -o-linear-gradient(top, #FFFFFF 3%, #5d79ae 344%);
		background: -ms-linear-gradient(top, #FFFFFF 3%, #5d79ae 344%);
		background: linear-gradient(to bottom, #FFFFFF 3%, #8daae0 344%);
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#5d79ae', GradientType=0);
	}

	.top-contacts .flex_top_row .navbar-collapse .list-inline>li {
		float: left;
		margin: 0px 0;
		border-bottom: 1px solid #f4f4f4;
	}

	.top-contacts .phone {
		font-size: 14px;
		font-weight: 600;
		margin: 0;
		text-align: left;
	}

	.top-contacts {
		height: auto;
		padding: 12px;
	}

	.top-contacts .top-menu a {
		padding: 15px 7px;
	}

	.top-contacts.top-contacts-new .top-menu a {
		padding: 12px 7px;
		display: inline-block;
		font-size: 17px;
		width: 100%;
		box-sizing: border-box;
	}

	.top-contacts .top-menu.list-inline>li {
		padding: 0;
		width: 100%;
		margin-bottom: 10px;
	}

	.phone-hey-nanana {
		clear: both;
		clear: both;
		width: 155px;
	}

	#logo {
		display: block;
		width: 250px;
		margin: auto;
		max-width: 100%;
	}

	div.good-item-card {
		padding: 10px;

	}

	.top-search {
		padding: 0 3% 3%;
		margin: 0;
		box-sizing: border-box;
	}

	#slider {
		margin: auto;
	}

	.top-menu-second {
		width: auto;
		padding: 20px 0;
		margin-left: 0;
		text-align: center;
	}

	.top-menu-second a {
		padding: 15px;
	}

	.tovar_slider {
		margin: auto;
	}

	.left-sidebar,
	.hits,
	.content-on-main .text-on-main {
		padding: 0 3%;
	}

	.catalog-menu,
	.catalog_filter {
		margin: 0;
	}

	.catalog-menu .sub-menu {
		position: relative;
		width: 100%;
		left: inherit;
        padding-left: 20px;
        margin-right: 0;
        border: none;
        padding-right: 0;
	}

	/*div.list-spisok div.category-item .haract-bg {
		width: 64%;
	}

	div.list-spisok div.category-item .haract-value {
		width: 36%;
	}*/

	.content-on-main {
		padding-top: 3%;
	}

	.content-on-main .news-on-main {
		padding: 3%;
		margin: 0;
		border: none;
		box-shadow: none;
	}

	#map_canvas {
		width: 100%;
		margin: 0;
	}

	div.catalog-items,
	div.inner-page {
		padding: 20px 3%;
		padding-top: 14px;
		background-color: #fff;
	}

	div.inner-page .inner-page-content {
		padding: 0;
		border: none;
		width: 100%;
	}

	table {
		border: none;
		display: block !important;
		width: 100% !important;
		overflow: auto !important;
	}


	.tbl-view .btn-default {
		margin-bottom: 5px;
	}

	div.front_popup {
		left: 3px !important;
		width: calc(100% - 6px) !important;
		margin-left: 0 !important;

	}

	div.front_popup.ui-draggable {
		top: 0 !important;
	}

	.num_pages_curent {
		height: auto;
		margin-bottom: 0;
	}

	div.category-text {
		margin-bottom: 0;
		overflow: hidden;
		padding: 15px;
	}

	div.category-text.mg-top {
		margin-top: 0;
	}

	.left-sidebar .subscription p {
		font-size: 18px;
	}

	div.inner-page .feedback .feedback-textarea .form-group {
		margin-left: 0;
	}

	.contacts .col-md-4>div {
		min-width: 235px;
		min-height: 65px;
	}

	.category-text img {
		float: none !important;
	}

	table.tbl-view {
		border: none;
	}

	.tbl-view th,
	.tbl-view td {
		padding: 9px;
	}

	div.list-plitka {
		margin-left: 0;
	}

	div.category-item {
		margin: 0 0 10px;
	}

	div.arenda-order {
		width: 100%;
		margin: 0 0 15px;
	}

	div.good-item-card .good-articul {
		padding: 3%;
		line-height: 2;
	}

	/*div.good-item-card .good-right-block {
		padding-left: 0;
		width: 320px;
	}*/

	div.good-item-card .price-order .order {
		margin-right: 0;
		width: 100%;
		font-size: 17px;
	}

	.add_to_compare {

		width: 115px;

		padding-left: 19px;
		font-size: 15px;
		padding-top: 2px;

	}

	.good-item-card .add_to_compare {
		padding-top: 0px;
		background-size: 13px;
		border: 1px solid white;
		border-radius: 4px;
		padding: 2px 10px;
		height: auto;
		padding-left: 35px;
		background-position: 8px 5px;
		margin-top: 4px;
		width: 115px !important;
	}

	[data-entity="buttons-block"] .btn {
		width: 115px !important;
	}

	div.good-item-card .price-order .size {
		font-size: 17px;
		display: block;
		text-align: right;
		padding-right: 10px;
	}

	div.good-item-card .nav-tabs>li>a {
		padding: 8px;
		font-size: 12px;
	}

	div.good-item-card .content-tabs .haract {
		width: 100%;
	}

	.additional-price-lable {
		font-size: 13px;
	}

	div.good-item-card .good-right-block .like-goods img {
		margin: 0 auto;
		display: block;
	}

	/*div.good-item-card .content-tabs .haract-bg {
		width: 70% !important;
	}*/

	div.good-item-card .content-tabs .haract-value {
		vertical-align: top;
	}

	div.other-products {
		padding: 5px;
	}

	.ss-review {
		display: inline-block;
		line-height: 1.2;
	}

	.media-middle {
		width: 100%;
		display: block;
		text-align: center;
	}

	.fixed-cart img.left {
		margin: 0 5px;
		width: 20px;
	}

	.fixed-cart div a,
	.fixed-cart #cart-order {
		font-size: 12px;
		font-weight: normal;
	}

	#footer {
		padding: 20px 3% 15px;
		line-height: 1.2;
	}

	.footer-copy {
		text-align: center;
		margin-bottom: 3%;
	}

	.link-sitemap {
		position: relative;
		top: inherit;
		left: inherit;
		margin: 3% 0;
		display: block;
	}


	.footer-contacts {
		margin: 0;
		text-align: center;
	}

	.footer-altera {
		text-align: center;
		align-items: center;
		margin-top: 3%;
	}

	.bottom-service-links {
		text-align: center;
	}

	#slider.fotorama {
		display: none;
	}

	div.inner-page .feedback label.radio-inline {
		margin-left: 30px;
		width: 80%;
	}

	.left-sidebar>button.h2,
	.left-sidebar p.sm-hide {
		display: none;
	}

	.left-sidebar>button.sm-h2 {
		display: block;
		width: 100%;
	}

	.sm-hide {
		display: none;
	}

	.left-sidebar>button.sm-filter {
		background-color: #629cd6;
		padding: 12px 9px;
		font-size: 21px;
		line-height: 1.1;
		border-radius: 4px;
		border: none;
		margin-left: 7px;
		margin-top: 17px;
		margin-bottom: 8.5px;
	}

	.left-sidebar>button.sm-filter .fa-filter:before {
		color: #fff;
	}

	#catalog-filter-form-results {
		display: none;
	}

	div.inner-page .contacts div.col-md-4 {
		border: none;
	}

	.subscription,
	.news-on-main {
		display: none !important;
	}

	.compare_bottom {
		width: 117px;
		border-radius: 4px;
		background: url(../images/add_compare.png) no-repeat left #5d79ae;
		padding-left: 24px;
		background-position-x: 6px;
		margin-left: 0;
		height: 34px;
		line-height: 33px;
		margin-top: 3px;
		box-sizing: border-box;
		margin: 3px auto;
		float: none;
		display: block;

	}

	.compare_bottom a {
		font-size: 12px !important;
		font-weight: normal !important;
	}

	.fixed-cart #quantity-val span {

		height: 34px;
		margin-top: 3px;
	}

	.good-item.good-of-day .good-manuf,
	.good-item.good-of-day .good-price,
	.good-of-day .add_to_compare {
		margin-left: 57%;
	}

	.good-item.good-of-day .order {
		left: 57%;
	}

	.good-of-day.good-item img {
		position: absolute;
		bottom: 7px;
		left: 25%;
		right: auto;
		width: 150px;
		height: auto;
	}

	.tovar_slider .fotorama__arr {
		top: 65%;
	}

	.tovar_slider .fotorama__arr.fotorama__arr--prev {
		left: 10px;

	}

	.tovar_slider .fotorama__arr.fotorama__arr--next {
		right: 10px !important;
	}

}

@media screen and (max-width: 740px) and (orientation : landscape) {
	.fotorama_object.fotorama--fullscreen .fotorama__wrap--css3 .fotorama__stage .fotorama__img {
		max-width: 100% !important;
		max-height: 328px !important;
	}
}

@media screen and (max-width: 670px) and (orientation : landscape) {
	.fotorama_object.fotorama--fullscreen .fotorama__wrap--css3 .fotorama__stage .fotorama__img {
		max-width: 100% !important;
		max-height: 296px !important;
	}
}

@media screen and (max-width: 570px) and (orientation : landscape) {
	.fotorama_object.fotorama--fullscreen .fotorama__wrap--css3 .fotorama__stage .fotorama__img {
		max-width: 100% !important;
		max-height: 237px !important;
	}
}

@media screen and (max-width: 480px) {

	div.good-item-card .good-text {
		padding-left: 0;
		padding-top: 20px;
	}

	body,
	html {
		-moz-hyphens: auto;
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto;
	}

	h1,
	.h1 {
		font-size: 26px;
	}

	h2,
	.h2 {
		font-size: 22px;
	}

	h3,
	.h3 {
		font-size: 20px;
	}

	div.infoblock div.title h2 {
		font-size: 18px;
		padding: 25px 25px 10px;
	}

	div.infoblock div.body label {
		font-size: 11px;
	}

	.top-search .search,
	.top-search .dropdown-menu {
		display: none;
	}

	div.infoblock div.body label,
	div.infoblock .req-text {
		margin-top: 5px;
	}

	div.infoblock div.body textarea {
		height: 85px;
	}

	div.infoblock div.body {
		padding: 0 25px 25px;
	}

	.cart-table,
	.cart-table thead tr th {
		font-size: 12px;
	}

	.table>thead>tr>th,
	.table>tbody>tr>th,
	.table>tfoot>tr>th,
	.table>thead>tr>td,
	.table>tbody>tr>td,
	.table>tfoot>tr>td {
		padding: 5px;
	}

	.table-style {
		font-size: 12px;
	}

	.table-style img {
		max-width: 60px !important;
	}

	.raiting_star .raiting {
		margin-bottom: 10px;
	}

	.good-articul .raiting_star .raiting {
		margin-bottom: 0;
	}

	.good-of-day.good-item img {
		left: 10%;
		height: 138px;
		width: auto;
		bottom: 10px;
	}
}

@media screen and (max-width: 375px) {
	.compare_bottom {
		width: 98px;
		height: 32px;
	}

	.cart-table {
		border: none;
	}

	.fixed-cart #quantity-val span {

		min-width: 28px;

	}

	.cart-table,
	.cart-table thead tr th {
		font-size: 11px;
	}

	#cbh.cbh:not(.cbh-desktop) .cbh-wrapper .cbh-catch .cbh-bubbles-wrapper {

		margin-right: 9px;
		margin-bottom: 2px !Important;
	}

	.fixed-cart {
		width: 100%;
		height: auto;
	}

	.category-pages-info {
		text-align: left;
		margin-top: 24px;
	}

	.compare_bottom a {
		font-size: 11px !important;
	}

	#cbh.cbh:not(.cbh-desktop) .cbh-wrapper .cbh-catch {
		position: absolute;
		bottom: 55px !Important;
		right: 0;
	}

	.table>thead>tr>th,
	.table>tbody>tr>th,
	.table>tfoot>tr>th,
	.table>thead>tr>td,
	.table>tbody>tr>td,
	.table>tfoot>tr>td {
		padding: 5px 2px;
	}

	.top-search .input-group {
		border-radius: 5px;
	}

	.top-search .input-group .form-control {
		box-shadow: none;
	}

	.top-search input[type="submit"] {

		box-shadow: none;
	}

	.cart-table .ng-scope a {
		word-break: break-all;
	}

	.table-style td {
		word-break: break-all;
	}

}

@media screen and (max-width: 330px) {

	.top-contacts.top-contacts-new p.top-address {
		font-size: 13px;
	}

	.top-contacts.top-contacts-new .top-address a {
		font-size: 14px;
	}

	.good-item-card .add_to_compare {
		padding: 3px 2px;

		padding-left: 30px;

	}

	.about_imgs img {
		width: auto;
		height: 48px;
		display: inline-block;
	}
}

@media screen and (max-width: 310px) {
	td {
		word-break: break-all;
	}

	th {
		word-break: break-all;
	}

}

@media (min-width: 992px) and (max-width: 1200px) {

	.container {
		width: 99%;
	}

}
