@media(max-width: 799px) {
	.largeDevice {
		display: none;
	}

	.mediumDevice, .nonLargeDevice {
		display: block;
	}

	.branding {
		display: none !important;
	}

	ul.langSwitcher {
		left: 0;
	}

	h1, h2, h3, p {
		padding-left: 10px;
		padding-right: 10px;
	}

	ul.socialNetworks {display: none;}
	.leftFrame {display: none;}
	.statisticsBlock {display: none;}

	.mainFrame,
	.topFrame,
	div.topContent {
		padding: 0 !important;
		width: 100% !important;
		min-width: 1px;
	}

	.topContent {
		height: 130px !important;
	}

	.topFrame a.logo {
		width: 158px;
		height: 57px;
		margin-right: 5px;
		margin-left: 10px;
	}

	.topFrame .buttons {
		width: 140px;
		float: right;
		margin-top: 50px;
	}

	.topFrame .searchButton,
	.topFrame .newAdvert {
		display: inline-block;
		width: 58px;
		height: 58px;
		line-height: 58px;
		background: gray;
		text-align: center;
		font-size: 4em;
		font-weight: normal;
		color: #fff;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		border-radius: 5px;
	}

	.topFrame .searchButton:hover,
	.topFrame .newAdvert:hover {
		text-decoration: none;
	}

	.topFrame .newAdvert {
		background: #cd0000;
	}

	.topFrame .searchButton {
		background: url('/images.v2/search.png') no-repeat center center #ececec;
	}

	.userBlock ul li a {
		-webkit-text-size-adjust: 100%;
	}

	.topContent .search {
		display: none;
	}

	.content {
		padding: 0;
		width: 100%;
	}

	.cookiesInfo div,
	.cookiesInfo {
		padding: 7px 7px;
		height: auto;
		width: 100%;
		line-height: 21px;
		box-sizing: border-box;
	}

	.topMenu {
		height: 26px;
		width: 100% !important;
		padding: 0 !important;
		/*display: none;*/
		overflow: hidden;
		min-width: 1px;
	}

	.topMenu.open {
		height: auto;
	}

	.topMenu ul {
		height: auto;
		width: 100%;
		line-height: 35px;
		padding: 35px 0 8px 10px;
	}

	.topMenu ul li {
		float: left;
		border-top: none;
		width: 50%;
	}

	.topMenu ul li.last {
		display: none;
	}

	.topMenu ul li:hover,
	.topMenu ul li.active {
		border-top: none;
	}

	.topMenu ul li a {
		border-left: none;
		display: inline;
		font-size: 17px;
		-webkit-text-size-adjust:100%;
	}

	a.openMenu {
		display: block;
		width: 56px;
		height: 50px;
		position: absolute;
		left: 25px;
		bottom: -31px;
		background: url('/images.v2/menu.png');
		z-index: 2;
	}

	.content .workContainer,
	.content .forumContainer {
		width: 48%;
	}

	.userBlock {
		position: absolute;
		top: -24px;
		right: 0;
		margin-top: 0;
	}

	.userBlock .facebook {
		display: none;
	}

	.userBlock .loginBlock {
		padding-right: 5px;
		padding-left: 5px;
	}

	.userBlock form input[type=text],
	.userBlock form input[type=password] {
		width: 270px;
	}

	.content .mainpageul li {
		width: 33%;
	}

	.content p.homeInfo {
		margin: 0;
	}

	.organizer.home,
	.content .organizer a.help {
		display: none;
	}

	.bottomMenu {
		display: none;
	}

	.footer {
		background: none;
		padding: 0;
	}

	.footer ul.areas {
		height: auto;
		width: 100%;
		padding: 0;
		padding-bottom: 110px;
		background: url('/images.v2/logoSmall.png') no-repeat center calc(100% - 15px);
	}

	.footer ul.areas li {
		width: 20%;
		padding-top: 0;
	}

	.footer ul.areas li a {
		width: 55%;
	}

	.listing .navigator,
	.listing .subcats {
		display: none;
	}

	.listing p.count {
		float: left !important;
	}

	.listing .estate h2 {
		margin-right:0 !important;
	}

	.listing .estate .areasLocality {
		margin-right:0 !important;
	}

	.contentDetail {
		padding: 0 5px;
	}

	.contentDetail .head {
		line-height: 30px;
	}

	.contentDetail .head span.navigator {
		float: none;
	}

	.contentDetail .openMap,
	.contentDetail .scrollContact {
		display: none;
	}

	.contentDetail ul.buttons {
		float: none;
		clear: both;
		text-align: center;
	}

	.contentDetail .main,
	.contentDetail .gallery {
		float: none;
		width: 100%;
	}

	.contentDetail .gallery ul li {
		margin-right: 0;
		width: 16.66%;
		height: auto;
		text-align: center;
	}

	.contentDetail .gallery ul li img {
		width: 94%;
		height: auto;
	}

	.contentDetail .firstImage img {
		width: 99%;
		display: block;
		margin: auto;
	}

	.contentDetail .fbShareLink {
		width: 99%;
	}

	.contentDetail .properties {
		float: left;
		width: 48%;
		margin-right: 10px;
	}

	.contentDetail .right,
	.contentDetail .right2 {
		float: none;
		width: auto;
		margin: 15px -5px 0 -5px;
	}

	.contentDetail .properties ul,
	.contentDetail #map_canvas {
		width: 100%;
	}

	.contentDetail p {
		padding: 5px;
	}

	.contentDetail .contactForm {
		width: 235px;
	}

	.contentDetail .priceInfoContainer {
		padding-left: 5px;
	}

	.agencyListing .agency {
		width: auto !important;
	}

	.content .agencyListing .paginatorContainer input[type=text] {
		width: 250px;
	}

	.content .search {
		padding: 5px;
	}

	.content .search fieldset {
		float: left;
		max-width: 310px;
	}

	.content .form div {
		width: auto;
	}

	.content .ourLogo img {
		max-width: 100%;
	}

	#map_content {
		width: 100%;
	}

	#estate_map {
		width: 100%;
	}

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

	.ui-multiselect {
		border: 1px solid #cacaca !important;
		background: white !important;
		margin: 2px 2px 2px 3px !important;
		padding-left: 10px !important;
		color: gray !important;
		font-size: 12px !important;
		font-weight: normal !important;
	}

	.content .agentDetail .photo_logo {
		margin-left: 15px;
	}

	.content .agentDetail .description {
		float: none;
		margin-left: 0;
	}

	.content .agentDetail .agent_info {
		margin-left: 0;
	}

	.content .agentDetail .agent_info ul li {
		margin-left: 15px;
	}

	.videoResponsiveContainer {
		position: relative;
		padding-bottom: 56.25%;
		padding-top: 35px;
		height: 0;
		overflow: hidden;
	}

	.videoResponsiveContainer iframe {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}

	.content .agencyDetail .branches .branch {
		width: 100%;
	}

	.content .agencyDetail .branches .branch:nth-child(2n) {
		border-right: none;
	}
}

@media(min-width: 361px) and (max-width: 639px) {
	.content .mainpageul li {
		width: 50%;
		box-sizing: border-box;
	}

	.content .workContainer,
	.content .forumContainer {
		width: 100%;
	}
}

@media(max-width: 540px) {
	.listing .links {
		display: none;
	}

	.listing .navigator,
	.listing .subcats,
	.listing .areas,
	.listing .rkLogo,
	.listing .priceArea,
	.listing .date,
	.listing .tagsNotesButton {
		display: none;
	}

	.listing .price {
		top: 120px !important;
	}
}

@media(max-width: 360px) {
	.smallDevice {
		display: block;
	}

	.mediumDevice {
		display: none;
	}

	.content .form input[type=text], .content .form input[type=password], .content .form textarea {
		width: 95%;
	}

	.content .workContainer,
	.content .forumContainer {
		width: 100%;
	}

	.topMenu ul li {
		float: none;
		width: 100%;
	}

	.content .mainpageul li {
		width: 100%;
		height: auto;
		padding-bottom: 10px;
		border-right: none;
	}

	.content .mainpageul li img {
		 float: left;
		margin-left: 10px;
	}

	.footer ul.areas {
		padding-bottom: 70px;
	}

	.footer ul.areas li {
		float: none;
		padding: 15px 5px;
		border-bottom: 1px dotted #adadad;
		width: auto;
	}

	.footer ul.areas li a {
		border-left: none;
	}



	.listing .estate h2 {
		word-wrap: break-word;
		margin-left: 145px !important;
		padding: 0;
		max-height: 60px;
		line-height: 16px;
		overflow: hidden;
	}



	.listing .flags {
		right: auto !important;
		top: auto !important;
		bottom: 25px !important;
		right: 14px !important;
	}

	.paginator {
		margin-top: 10px;
	}

	.paginator a, .paginator span {
		width: 24px;
	}

	.contentDetail .gallery ul li {
		width: 33.33%;
	}

	.contentDetail .firstImage img {
		width: 98%;
	}

	.contentDetail .fbShareLink {
		width: 98%;
	}

	.contentDetail .properties {
		float: none;
		width: 100%;
	}

	.contentDetail .properties ul,
	.contentDetail #map_canvas {
		width: 100%;
	}

	.agencyListing ul.phones,
	.agencyListing ul.web {
		display: none;
	}

	.agencyListing ul.clickMenu li ul {
		width: auto !important;
		float: none;
	}

	.agencyDetail {
		padding: 5px;
	}

	.agencyDetail ul {
		position: relative !important;
		top: 0 !important;
		margin-top: 1em;
	}

	.agencyDetail .phone,
	.agencyDetail .links {
		top: 0 !important;
		left: 15px !important;
		display: block;
	}

	.listing .btn-showOnMap {
		display: none;
	}

	.loginBlock {
		width: 293px !important;
	}

	.userBlock form input[type=text],
	.userBlock form input[type=password] {
		width: 251px;
	}

	ul.langSwitcher {
		display: none;
	}

	.dialog form input[type=text],
	.dialog form textarea,
	.dialog form select,
	.dialog div,
	.dialog ul.error {
		width: 280px;
	}

	.content .agentDetail .agent_info ul {
		width: 100%;
		border-bottom: 1px dotted #adadad;
		padding-bottom: 15px;
	}

	.navigator a,
	.navigator span {
		padding-bottom: 5px;
		background-position: right 11px;
	}

	.listing .search_keywords h2 {
		border: none;
		background-image: url('/images.v2/arrowDown.png');
		background-repeat: no-repeat;
		background-position: right 10px center;
	}

	.listing .search_keywords h2.open {
		border: none;
		background-image: url('/images.v2/arrowUp.png');
	}

	.listing .search_keywords > ul {
		display: none;
	}

	.listing .search_keywords .shower {
		font-size: 15px;
		right: auto;
		left: 230px;
	}
}



@media(max-width: 360px) {
	.footer .about {
		position: relative;
		width: 100%;
		padding: 0px 10px;
		box-sizing: border-box;
	}

	.footer .about span, .footer .about div {
		margin-left: 10px;
	}
}

@media(min-width: 640px) {
	.content .listing .estate h2 {
		max-height: 2em;
		overflow: hidden;
	}
}

@media(max-width: 400px) {
	#div-gpt-ad-topreality-mobile-mobile-top {
		display: none;
	}
}
