@media screen and (max-width: 1030px){
	#wrapper{
		width: 940px;
	}
	.himage{
		width: 940px !important;
	}
	.sidebar{
		width: 210px;
	}
	.sidebar a img{
		width: 210px;
	}
	#content{
		width: 715px;
	}
	#lightbox-container-image-box{
		width: 940px !important;
		height: auto;
	}
	#lightbox-image{
		width: 920px;
	}
	.products{
		text-align: center;
	}
	div[style="width:30%;float:left;margin:10px 10px;"]{
		text-align: center;
	}
}
@media screen and (max-width: 960px){
	html{
		padding: 5px !important;
		margin: 5px !important;
	}
	#wrapper{
		width: 748px;
	}
	.himage{
		width: 748px !important;
	}
	#content{
		width: 748px;
	}
	.sidebar{
		display: none;
	}

	#lightbox-container-image-box{
		width: 748px !important;
		height: auto !important;
	}
	#lightbox-image{
		width: 728px;
	}
}
@media screen and (max-width: 760px){
	#wrapper{
		width: 480px;
	}
	.himage{
		display: none;
	}
	#content{
		width: 480px;
	}
	#header{
		height: 190px;
	}
	.contacts{
		top: 60px;
	}
	.tabs{
		width: 480px;
		margin-left: 0px !important;
	}
	.tabs li{
		width: 115px;
		margin-left: 0px !important;
	}
	.tabs li a{
		width: 120px;
	}
	.apartments{
		background-size: 480px auto;
	}
	.building{
		background-size: 480px auto;
	}
	.bathrooms{
		background-size: 480px auto;
	}
	.apartments form{
		margin: -31px 0 0 -50px;
	}
	.box{
		height: 170px;
	}
	.kvartiri, .officesnav, .vannienav, .zdanianav{
		margin-left: 0px;
	}
	.box .form-block{
		height: 10px;
	}
	.selectbox .select{
		width: 110px;
	}
	.buttons a{
		height: 20px;
		line-height: 20px;
	}
	.apartments .economy a{
		top: 135px;
	}
	.apartments .euro a{
		top: 155px;
	}
	.apartments .exclusive a{
		top: 175px;
	}
	.apartments .calc a{
		top: 195px;
		left: 180px;
	}
	.apartments .buttons a{
		left: 180px;
	}
	.building form{
		margin: -28px 0 0 18px;
	}
	.bathrooms form{
		margin: -27px 0 0 28px;
	}
	.bathrooms .buttons a{
		left: 180px;
	}
	.bathrooms .economy a{
		bottom: 155px;
	}
	.bathrooms .euro a{
		bottom: 130px;
	}
	.bathrooms .exclusive a{
		bottom: 105px;
	}
	.bathrooms .calc a{
		left: 180px;
		bottom: 60px;
	}
	.building .buttons a{
		left: 45px;
	}
	.building .economy a{
		bottom: 170px;
	}
	.building .euro a{
		bottom: 145px;
	}
	.building .exclusive a{
		bottom: 120px;
	}
	.building .calc a{
		left: 45px;
		bottom: 80px;
	}
	.right-block{
		right: 295px;
		top: 60px; 
	}
	.left-block{
		height: 135px;
		left: 240px;
		top: 60px;
	}
	img[src="/uploads/imagebox/thumbs/firms.jpg"]{
		width: 440px;
	}
	#lightbox-container-image-box{
		width: 940px !important;
		height: auto;
	}
	#lightbox-image{
		width: 920px;
	}
	#lightbox-container-image-data-box{
		width: 920px;
	}
	#logo a{
		margin: 10px 0 0 70px; 
	}
	.phone{
		margin: 17px 55px 0 0; 
	}
	.article{
		text-align: center;
	}
	a[rel="lightbox"] img{
		width: 290px !important;
	}
	.mail{
		padding: 0 60px 0 40px;
	}

	div[style="width:30%;float:left;margin:10px 10px;"]{
		width: 45% !important;
		text-align: center;
	}
	.text_block_cat{
		text-align: center !important;
	}
	.gal_kvartiri{
		text-align: center !important;
	}
	.new_menu > ul > li > a{
		font-size: 12px;
	}
	div#ymaps-map-id_134071699125886333169{
		display: none;
	}
	div#ymaps-map-id_134071699125886332098{
		display: none;
	}
	div#ymaps-map-id_134071699125886334306{
		display: none;
	}
	a[href="#"]{
		display: none !important;
	}
	table[style="width: 599px; height: 12px;"]{
		width: 480px !important;
	}
	table[style="height: 18px; width: 130px;"]{
		width: 480px !important;
	}
	table[style="width: 599px;"]{
		width: 480px !important;
	}
}
@media screen and (max-width: 510px){
	#wrapper{
		width: 279px;
	}
	#logo a{
		background-size: 280px auto;
		width: 280px;
		margin: 10px 0 0 0;
	}
	.phone{
		margin: 17px 0px 0 0;
	}
	.phone a{
		font: bold 35px Tahoma,Arial,Helvetica,sans-serif;
	}
	.mail, .icq{
		display: block;
	}
	.section{
		display: none;
	}
	#content{
		width: 290px;
	}
	td{
		display: block !important;
		width: 100% !important;
		text-align: center !important;
	}
	div[style="width:30%;float:left;margin:10px 10px;"]{
		width: 100% !important;
	}
	#lightbox-container-image-box{
		width: 290px !important;
		height: auto;
	}
	#lightbox-image{
		width: 270px;
	}
	#lightbox-container-image-data-box{
		width: 270px;
	}
	.icq span{
		padding: 0 5px 0 0;
		background: none;
	}
	.icq{
		padding-right: 70px;
	}
	.mail{
		padding: 0 60px 0 40px;
	}
	.gal_kvartiri a{
		margin-right: 0px;
		margin-bottom: 0px;
	}

	table[style="width: 599px; height: 12px;"]{
		display: none;
	}
	table[style="height: 18px; width: 130px;"]{
		display: none !important;
	}
	table[style="width: 599px;"]{
		display: none;
	}
}

@media(min-width: 960px){
	div#logo{
		bottom: -53px;
		position: absolute;

	}
	.contacts{
		top: -35px;
	}
	#header{
		height: 30px;
	}
	#logo a{
		height: 65px;
		padding-bottom: 5px;
		background-size: contain;
		width: 200px;
	}
	.nav{
		position: relative;
		z-index: 100000;
		margin-left: 215px;
		width: 714px;
	}
	.himage{
		display: block;
		margin-top: -24px;
		position: relative;
		border-top: 2px solid #818181;
	}
	.nav li{
		margin-left: 20px;
		margin-right: 19px;
	}
	.nav li:last-child{
		position: relative;
		
	}
	.nav li:last-child:hover ul{
		left: -75px;
	}
	.phone span{
		font-size: 24px!important;
	}
}
@media (min-width: 1030px){
	#logo a{
		height: 75px;
		padding-bottom: 5px;
		background-size: inherit;
		width: 350px;
	}
	.nav li{
		margin-right: 37px;
	}
	.nav{
		margin-left: 250px;
		width: 736px;
	}
	.phone span{
		font-size: 30px!important;
	}
}
@media (min-width: 1160px){
	.nav li:last-child:hover ul{
		left: 0;
	}
}
/*
     */
/*
*/