img {
	max-width: 100%;
}

@media screen and (min-width: 446px) {
	.departments .img:hover {
		width: 555px;
		-webkit-transition-property: width;
		transition-property: width;
		-webkit-transition-duration: 0.75s;
		        transition-duration: 0.75s;
	}
	.departments .img .inner > * {
		visibility: hidden;
	}
	.departments .img .inner .metro-icon,
	.departments .img .inner .station,
	.departments .img .inner .hand-icon {
		visibility: visible;
	}
	.departments .img:hover .inner > * {
		visibility: visible;
	}
	.departments .img:hover .inner .hand-icon {
		visibility: hidden;
	}
	
	.departments .img .inner {
		width: calc(100% - 50px)!important;
		max-width: inherit;
		height: 389px;
		position: absolute;
		padding: 80px 0 0 0;
		top: 25px;
		left: 25px;
		text-align: center;
		border-width: 2px;
		border-style: solid;
		border-color: transparent;
	}
	.departments .img:hover .inner {
		border-color: #fff;
	}
	.departments .img:hover .inner .metro-icon {
		margin-top: 0;
	}
}

@media screen and (max-width: 759px) {
	.categories .img.colspan-2 {
		width: 374px;
	}

	.shops .stolbec {
		width: 100%;
		float: none;
		padding-left: 10px;
		text-align: initial;
	}
	.shops .stolbec .item {
		width: 50%;
	}
	#map {
		width: 100% !important;
	}
	.row-1 > .spec {
		display: none;
	}
}
@media screen and (max-width: 446px) {
	.departments .img {
		width: 100%;
		max-width: 100%;
	}
	.departments .img .inner > * {
		visibility: hidden;
	}
	.departments .img .inner .metro-icon,
	.departments .img .inner .station,
	.departments .img .inner .hand-icon {
		visibility: visible;
	}
	.departments .img .inner > * {
		visibility: visible;
	}
	.departments .img .inner .hand-icon {
		visibility: hidden;
	}
	
	.departments .img .inner {
		width: calc(100% - 38%);
		max-width: inherit;
		height: 389px;
		position: absolute;
		padding: 80px 0 0 0;
		top: 25px;
		left: 25px;
		text-align: center;
		border-width: 2px;
		border-style: solid;
		border-color: transparent;
	}
	.departments .img .inner {
		border-color: #fff;
	}
	.departments .img .inner .metro-icon {
		margin-top: 0;
	}
	.action .right {
		max-width: 100%;
	}
}
@media screen and (max-width: 1160px) {
	.akcii .action:nth-last-child(1),
	.akcii .action:nth-last-child(2) {
		display: none;
	}
	.categories {
		margin: 0 auto;
		width: 770px;
	}
}
@media screen and (max-width: 770px) {
	.akcii .action {
		width: 45%;
		max-width: 320px;
	}
}
@media screen and (max-width: 604px) and (min-width: 471px) {
	.akcii .action {
		width: 45%;
		max-width: 320px;
	}
}
@media screen and (max-width: 760px) {
	.categories {
		margin: 0 auto;
		width: 374px;
	}
}
@media screen and (max-width: 640px) {
	.promo {
		display: none;
	}
}
@media screen and (max-width: 900px) and (min-width: 641px) {
	header .opt {
		margin-left: 0px;
		margin-right: 140px;
	}
}
@media screen and (max-width: 445px) {
	.categories {
		margin: 0 auto;
		max-width: 374px;
		width: 100%;
	}
}
@media screen and (max-width: 1180px) {
	.desktop-only {
		visibility: hidden;
		display: none;
	}
	.footer .column {
		width: 49%;
		max-width: 100%;
	}
	.articles .content .date,
	.articles .content h1 {
		display: inline-block;
		max-width: 650px;
	}
	.promo {
		right: 15px;
	}
}

@media screen and (max-width: 1180px) {
    
    p img[alt="Отстатки для оптовой продажи"] {
        max-width: 30% !important;
    }
	}
}
@media screen and (max-width: 700px) {

	/* #main_content .second-hand-images {
	    flex-direction: column;
	}
	
	#main_content .second-hand-images img {
	        margin: 10px;
	    padding: 0;
	    width: 50%;
	} */

}

@media screen and (max-width: 445px) {
	.modal a[href="#close"] {
		right: 0px;
		top: -24px;
	}
	.articles .content .text > p {
		padding: 0 20px;
	}
}

@media screen and (max-width: 470px) {
	.mobile-only {
		visibility: visible;
		display: inline-block;
	}
	.desktop-only {
		visibility: hidden;
		display: none;
	}
	.no-mobile {
		visibility: hidden;
		display: none;
	}
	.row-1 {
		background-color: #232425;
		min-height: 50px;
		padding: 0 17px;
	}
	
	header .wrapper .row-1 {
		padding: 30px 17px 0!important;
	}
	
	.footer .column {
		width: 100%;
	}
	
	.go-back {
		float: left;
		width: 50px;
		height: 50px;
		background: url('../img/mobile/back.png') 17px 50% no-repeat;	/* 26x19 */
		position: absolute;
		left: 0px;
		top:20px;
	}

	.menu-opener {
		float: left;
		width: 50px;
		height: 50px;
		background: url('../img/mobile/menu.png') 17px 50% no-repeat;	/* 26x19 */
		
		position: absolute;
		left: 0px;
	}
	
	.call {
		float: right;
		width: 50px;
		height: 50px;
		background: url('../img/mobile/phone.png') 17px 50% no-repeat;	/* 16x16 */
		
		position: absolute;
		right: 0px;
	}
	
	.carousel .left.arrow {
		width: 32px;
		height: 57px;
		background: url('../img/mobile/departments-carousel-left-arrow.png');
	}
	.carousel .right.arrow {
		width: 34px;
		height: 57px;
		background: url('../img/mobile/departments-carousel-right-arrow.png');
	}
	
	.akcii .action {
		display: none;
	}
	.akcii .action:first-of-type {
		display: inline-block !important;
	}
	.akcii .action > * {
		display: block;
	}
	.carousel.horiz .arrow {
		top: 50%;
	}
	.akcii .carousel.horiz .arrow {
		top: 75%;
	}
	.dots {
		display: block;
	}
	
	.categories .img,
	.categories .img.colspan-2 {
		width: 100%;
		max-width: 400px;	/* 374px */
		margin: 0;
	}
	
	.departments .img .inner {
		border: 0;
	}
}



.main-menu ul,
.menu-toggle ul {
  padding: 0;
  margin: 0;
}
.main-menu li,
.menu-toggle li {
  list-style: none;
  float: left;
}

.menu-toggle {
  font-family: "Blogger Sans";
   font-size: 14px;
     text-transform: uppercase;
     border-radius: 5px;
}

.main-menu a,
.menu-toggle {
  padding: 10px;
}

.main-menu a:hover,
.menu-toggle:hover {
/*  background-color: #3F4151;
  color: #F05D5E;*/
}

.main-menu {
  float: left;
}