.contacts-page-node table td[colspan="2"] {
	padding-bottom: 14px;
}

#nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 auto;
}

@media screen and (min-width: 768px) and (max-width: 959px) {
	/* TODO: Remove after finishing */
	#admin-menu {
		display: none;
	}

	/* Header styling
     *====================================================== */
	.front #menu,
	#menu ul.menu {
		width: 768px;
		min-width: initial;
	}

	.front #menu {
		min-height: 377px;
	}

	.front .region.region-menu {
		display: flex;
		flex-direction: column;
		justify-content: space-around;
	}

	.front #menu ul {
		float: none;
		margin-top: 0px;
		min-height: 60px;
	}

	#menu ul.menu {
		height: auto;
		text-align: center;
		background-image: none;
		background-color: #62a69e;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}

	/* Footer styling
    *====================================================== */
	.region-footer {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}

	.region-footer .block {
		float: none;
		width: 50%;
	}

	.region-footer .block.block-block {
		width: 51%;
		justify-self: center;
	}

	#footer {
		padding-bottom: 24px;
	}

	#footer .block {
		padding: 20px;
		box-sizing: border-box;
	}

	/* Content styling
    *====================================================== */
	.fon {
		width: 768px;
		min-width: initial;
		margin: 0 auto;
	}

	.fixwidth {
		width: 768px;
	}

	#block-views-brands-block {
		padding: 0px !important;
	}

	/* Main-page slider
    *====================================================== */
	#block-block-3 {
		position: initial;
	}

	#block-block-3 p {
		line-height: 1.25;
	}

	.front #main {
		float: none;
		box-sizing: border-box;
		padding: 40px 20px 20px 20px;
	}

	#main {
		width: 100%;
		margin: 0 auto !important;
	}

	#main #slider {
		margin: 0 auto;
	}

	#main #slider > a {
		text-align: center;
	}

	#main #slider > a img {
		display: block;
	}

	#nav {
		display: flex;
		justify-content: center;
		padding-top: 20px;
		margin-top: auto;
	}

	.front h1.title {
		text-align: center;
	}

	.view-home td {
		width: calc(100% / 3);
	}

	#main {
		float: none !important;
	}

	/* Catalog items
    *====================================================== */
	#block-block-5 {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}

	#block-block-5 a.cat_item {
		width: calc(100% / 3);
		box-sizing: border-box;
		float: none;
	}

	.block-title {
		text-align: center;
	}

	#block-block-4 {
		text-align: center;
	}

	#sidebar {
		float: none;
		width: 100%;
		box-sizing: border-box;
		padding-left: 20px;
		padding-right: 20px;
	}

	#block-views-product-blocks-block .view-content {
		display: flex !important;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.region.region-sidebar .view-header {
		display: none;
	}

	#search-block-form {
		display: flex;
		justify-content: center;
	}

	#search-block-form > div {
		margin-bottom: 24px;
	}

	.region.region-content-bottom {
		display: flex;
		box-sizing: border-box;
		padding-left: 20px;
		padding-right: 20px;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.region-content-bottom .block {
		float: none;
		width: 100%;
		padding: 0px;
	}

	#block-block-8 img {
		display: none;
	}

	.breadcrumbs,
	.region.region-content {
		box-sizing: border-box;
		padding: 20px;
	}

	h1.title {
		text-align: center;
	}

	.price {
		margin: 24px auto;
	}

	#block-block-20 {
		display: flex;
		justify-content: center;
		flex-direction: column;
		align-items: center;
	}

	.view-pages .views-row {
		margin-bottom: 24px;
	}

	.item-list .pager {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}

	.field-content {
		text-align: center;
	}

	.views-exposed-form {
		margin: 0 auto;
	}

	.cat_item {
		text-align: center;
	}

	.cat_item .cat_img {
		margin: 0 auto;
	}

	.views-view-grid {
		width: 100%;
	}

	.views-view-grid tr {
		display: flex;
		justify-content: space-evenly;
	}

	.view-taxonomy-term td {
		width: (100% / 3);
		margin-bottom: 24px;
		padding: 0px;
		box-sizing: border-box;
	}

	.sop_product h2 {
		text-align: center;
		width: 100%;
	}

	.sop_product {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}

	.sop_product .product_teaser {
		margin-right: 0px;
		float: none;
	}

	.sop_product .cf {
		display: none;
	}
}

@media screen and (max-width: 767px) {
	#menu .fixwidth {
		background-color: #62a69e;
	}

	.search-form .form-text {
		float: none;
	}

	.fixwidth {
		width: 100%;
		padding: 10px;
		box-sizing: border-box;
		overflow: hidden;
	}

	#sidebar,
	.front #main,
	.front #sidebar {
		float: none;
		width: 100%;
		box-sizing: border-box;
		padding: 10px;
	}

	.region-content-bottom .block {
		width: 100%;
		float: none;
	}

	#slider {
		width: 100% !important;
	}

	#slider img {
		max-width: 100%;
		height: auto;
	}

	.front #menu {
		min-width: auto;
		width: 100%;
		min-height: initial;
		height: auto;
	}

	.fon {
		min-width: auto;
		width: 100%;
	}

	.view-home td {
		width: 100%;
		display: block;
	}

	.front #menu {
		background-size: cover;
	}

	.front #menu ul {
		float: none;
		margin-top: 0px;
	}

	#menu ul.menu li {
		float: none;
	}

	#menu ul.menu {
		width: 100%;
		display: block;
		height: auto;
	}

	#block-block-3 span {
		font-size: 32px;
		line-height: 1.5;
	}

	#block-block-3 {
		position: initial;
	}

	#block-block-3 p {
		font-size: 24px;
		line-height: 1.35;
	}

	.slogan {
		font-size: 14px;
	}

	.region-footer .block {
		float: none;
	}

	.view-cat-links {
		width: 100%;
		padding-left: 0px;
	}

	.block_title {
		text-align: center;
	}

	.view-footer-block .views-field-field-image {
		float: none;
	}

	.views-field .views-field-title {
		margin: 0px;
	}

	.view-footer-block .views-field-title,
	.view-footer-block .views-field-body {
		margin: 0px;
	}

	.field-content {
		text-align: center;
	}

	.views-field-title {
		font-size: 16px;
		text-align: center;
		padding-bottom: 24px;
	}

	.readmore {
		margin: 0 auto;
		float: none;
	}

	.views-row {
		margin-bottom: 24px;
	}

	.view-brands img {
		max-width: 100% !important;
		height: auto !important;
	}

	.block,
	div {
		box-sizing: border-box;
	}

	.region-content-bottom .block {
		padding-right: 0px;
	}

	.view-cat-links li {
		padding-left: 0px;
	}

	#block-views-brands-block .view-content div a {
		padding: 10px;
		display: inline-block;
	}

	#nav {
		margin-top: 0px !important;
		/* margin: 0 auto; */
		display: flex;
		justify-content: center;
		align-items: center;
		flex-wrap: wrap;
	}

	#nav a {
		float: none;
	}

	#prev,
	#next {
		margin-top: 0px;
	}

	#additional-slider-controls {
		display: flex;
		align-items: center;
		padding-top: 34px;
	}

	#slider a {
		text-align: center;
		max-width: 100%;
		height: auto !important;
	}

	#slider img {
		max-width: 100%;
		height: auto;
	}

	.search-form .container-inline {
		display: flex;
		justify-content: center;
	}

	.tabs {
		padding-top: 24px;
		padding-bottom: 24px;
		display: flex;
		justify-content: space-between;
	}

	.tabs a {
		float: none;
		margin-right: 0px;
	}

	.view-product-blocks .views-row {
		text-align: center;
	}

	.product_link {
		float: none;
		margin: 0 auto;
	}

	#block-block-20 {
		display: flex;
		flex-direction: column;
		align-items: center;
		flex-wrap: wrap;
	}

	.product_teaser,
	.request {
		margin: 0 auto;
	}

	#main {
		width: 100%;
		padding: 20px;
	}

	#search-block-form {
		display: flex;
		justify-content: center;
		width: 100%;
	}

	#search-block-form > div {
		margin-bottom: 24px;
	}

	#block-block-7 {
		display: flex;
		justify-content: center;
	}

	#block-block-8 {
		display: none;
	}

	.node h2.node_title,
	.node .field-name-body {
		width: 100%;
	}

	.node-news img {
		max-width: 100% !important;
		height: auto !important;
		display: block;
		margin: 0 auto 14px auto;
	}

	.field-content img {
		max-width: 100%;
		height: auto;
	}

	.field-content {
		margin-bottom: 14px;
	}

	.node .field-name-field-image {
		float: none;
		text-align: center;
		margin: 0px auto 14px auto;
	}

	.node-teaser h2.node_title,
	.node-teaser .field-name-body {
		margin-bottom: 14px;
		text-align: center;
	}

	.region-content ul.pager {
		display: flex;
		justify-content: center;
	}

	.breadcrumbs {
		margin-bottom: 14px;
	}

	.contacts-page-node table {
		width: 100% !important;
		max-width: 100%;
		box-sizing: border-box;
	}

	.contacts-page-node table p {
		padding: 0px;
		margin: 0px;
	}

	.contacts-page-node table td {
		display: block;
	}

	.contacts-page-node table td h4 {
		margin-bottom: 14px;
	}

	.contacts-page-node table td:first-child {
		padding-bottom: 14px;
	}

	.contacts-page-node table td:nth-child(2n + 2) {
		padding-bottom: 24px;
	}

	.views-exposed-form {
		width: 100%;
		height: auto;
		background-image: none;
		background-color: #fff;
		padding: 14px 0px;
	}

	#edit-field-brand-tid-wrapper select,
	#edit-field-price-value-wrapper input {
		width: 100%;
		margin-bottom: 14px;
		margin-top: 5px;
	}

	#edit-field-brand-tid-wrapper,
	#edit-field-price-value-wrapper {
		width: 100%;
		float: none;
		padding: 0px;
		text-align: center;
	}

	#edit-field-price-value-wrapper .form-item {
		float: none;
	}

	#edit-field-price-value-wrapper {
		padding: 0px;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.views-exposed-widget.views-submit-button {
		float: none;
		padding: 0px;
		margin: 0 auto;
	}

	#edit-submit-taxonomy-term {
		margin: 0 auto !important;
	}

	#block-block-5 {
		display: flex;
		justify-content: space-evenly;
		flex-wrap: wrap;
	}

	#block-block-5 .cf {
		display: none;
	}

	.views-view-grid {
		width: 100%;
	}

	.views-view-grid tr {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-evenly;
	}

	.views-view-grid td {
		text-align: center;
	}

	.views-view-grid td:empty,
	.views-view-grid td:blank {
		display: none;
	}

	h1.title {
		text-align: center;
	}

	.product_desc {
		float: none;
		padding: 0px;
	}

	.pr_price {
		text-align: center;
		margin-bottom: 24px;
	}

	.request {
		margin: 0 auto;
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		text-align: center;
	}

	.sop_product {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.sop_product .product_teaser {
		margin: 0px auto 14px auto !important;
		padding-bottom: 14px;
		float: none;
		text-align: center;
	}

	#block-webform-client-block-114 {
		padding: 0px;
	}

	#block-webform-client-block-114 .form-text,
	#block-webform-client-block-114 textarea {
		width: 100%;
		box-sizing: border-box;
	}

	.form-actions {
		text-align: center;
	}
	#block-webform-client-block-114 .form-submit {
		margin: auto;
	}

	.product_images {
		float: none;
		width: 100%;
	}

	.product_images tr {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
	}

	.product_images .main_img img {
		display: block;
		max-width: 100%;
		height: auto;
		margin: 0 auto;
		padding: 0px;
	}

	.product_desc {
		text-align: center;
	}
}

@media screen and (max-width: 575px) {
	.node-news {
		display: flex;
		flex-wrap: wrap;
		flex-direction: column;
		align-items: center;
		margin-bottom: 24px;
	}

	.node-news .field-item,
	.node-news .node_title {
		margin-bottom: 14px;
	}

	.node-teaser h2.node_title,
	.node-teaser .field-name-body {
		margin-left: 0px;
	}
}

@media screen and (min-width: 576px) and (max-width: 767px) {
	.view-home td {
		width: 50%;
	}

	.views-view-grid {
		width: 100%;
	}

	.views-view-grid tr {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
	}
}

#mobile-menu__additional,
#mobile-menu__phones-add {
	display: none;
}

@media screen and (min-width: 768px) {
	#mobile-menu__trigger,
	#mobile-serach__block,
	#mobile-menu__trigger--phones {
		display: none;
	}
}

@media screen and (max-width: 767px) {
	#header {
		padding: 0;
	}
	.fon #menu {
		display: none;
	}
	#mobile-menu__trigger {
		display: block;
	}
	#mobile-menu__trigger svg {
		width: 34px;
		height: 34px;
	}
	#mobile-menu__trigger--phones svg {
		width: 26px;
		height: 24px;
	}

	#header .fixwidth {
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
		width: 100%;
	}

	.region.region-header {
		width: auto;
	}

	#block-locale-language {
		padding-right: 0;
	}
	.language-switcher-locale-url li {
		margin-left: 0;
	}

	#header #block-block-2 {
		display: none;
	}

	#header h2 {
		display: flex;
		flex-wrap: wrap;
	}

	#logo {
		float: none;
		margin: 0px;
	}

	#mobile-menu__additional #block-block-3 {
		display: none !important;
	}

	#mobile-menu__additional .menu {
		min-width: 300px;
	}

	#mobile-menu__additional .menu li {
		margin-bottom: 14px;
		text-align: center;
	}

	#mobile-menu__additional .menu li a {
		font-size: 24px;
	}

	.mobile-menu__phone-list {
		padding-top: 34px;
		min-width: 300px;
	}

	.mobile-menu__phone-list li {
		margin-bottom: 18px;
		text-align: center;
	}
	.mobile-menu__phone-list a {
		font-size: 26px;
		line-height: 1;
		text-decoration: none;
	}

	body {
		padding-top: 86px;
	}

	#header {
		position: fixed;
		width: 100%;
		top: 0px;
		left: 0px;
		background-color: #fff;
		z-index: 102;
	}

	#logo img {
		max-width: 135px;
		height: auto;
	}

	#footer .view-id-cat_links ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-evenly;
	}

	#footer .view-id-cat_links li {
		margin-bottom: 14px;
		margin-right: 10px;
	}

	#footer .view-id-cat_links li a {
		font-size: 12px;
		width: 100%;
	}

	#footer #block-block-9 {
		padding-bottom: 34px;
		text-align: center;
		display: flex;
		justify-content: center;
		flex-direction: column;
		align-items: center;
		flex-wrap: wrap;
	}
}
