@media only screen and (min-width: 640px) and (max-width: 850px) {
	#wrapper {background:#fff; padding:0 10px; min-width:620px; width:auto; max-width:830px}
	.top_area {width:100%; overflow:hidden}
	.header_new {position:relative}
	.header_new .opt.list li {text-align:left; margin:0 0 0 5px;}
	.header_new .opt.list li:first-child {margin:0;}
	.header_new .header_right {width:270px; position:absolute; top:15px; right:0;}
	.header_new .cooperation {float:right; position:static; margin:0 0 13px;}
	.header_new .auth {clear:right;}
	.header_new .auth, .header_new .reg {float:right; position:static; margin:0 0 0 5px;}
	.header_new .search {margin:0 0 15px}
	.header_new .search input[type="text"] {padding:4px 0; width:100%}
	.header_new .logo img {width:180px}
	.menu_top_new {width:420px}
	.menu_top_new a {font-size:14px}
	.header_new .menu_top {padding:30px; background-size:auto 130%; background-position:center center; display:none}
	.header_new .menu_top .lang {top:5px; right:5px; left:auto;}
	.header_new .menu_top .adapt {display:block; position:absolute; left:5px; padding:9px 0 9px 25px; text-transform:uppercase; font-weight:bold; background:url(/images/a_menu.png) 0 7px no-repeat;}
	.header_new .menu_top .adapt:link, .header_new .menu_top .adapt:visited,
	.header_new .menu_top .adapt:hover, .header_new .menu_top .adapt:active {color:#fff; text-decoration:none;}
	.header_new .menu_top ul {display:none;}
	.header_new .menu_top ul {position:absolute; top:100%; background:#b2763b; width:170px; z-index:11;}
	.header_new .menu_top ul li {float:none;}
	.header_new .menu_top ul li a {display:block; padding:5px;}

	.about img {width:100%;}

	.offers .bordered_h {background-position:0 center; margin:0 0 10px;}
	.offers .bordered_h h3 {font-size:22px;}

	.news {float:none; width:auto; margin:0 0 20px;}
	.news .news-item .text {float:none; width:auto; margin:0 0 0 90px;}
	.update {float:none; width:auto; margin:0 0 20px;}
	.news h3, .update h3 {font-size:22px; margin:0 0 15px;}

	.footer {padding:20px 0; background:none; margin:0; width:auto;}
	.footer .footerL {float:none; width:auto; overflow:hidden; margin:0 0 15px;}
	.footer .footerL h4 {float:left; margin:0 20px 0 0;}
	.footer .footerL ul {float:left;}
	.footer .footerL li {margin:0 0 10px;}
	.footer .vk, .footer .facebook {margin:0;}
	.footer .vk {margin-left:20px;}
	.registration_reminder {padding:20px 0 0}
	.footer .cooperation a {padding:10px 0}
	.bottom_area {padding:0 0 20px; width:100%; overflow:hidden;}

	/* Inner pages */
	.profile-table {width:auto;}
	.links a {margin:0 3% 18px 0; text-align:center; background:#ffe4c7; background:linear-gradient(to bottom, #ffe4c7, #ffcf9f);
		padding:10px 0 11px; border-bottom:1px solid #574636; width:30%;}
	.profile-table input[type="button"], .data-table input[type="submit"],
	 .bx-auth-profile input[type="submit"], .garbage_search input[type="submit"],
	 .bx-auth-profile input[type="reset"],
	 .form input[type="submit"] {background:#77400a; background:linear-gradient(to bottom, #77400a, #653201);
	 border-bottom:1px solid #221100; padding:8px 15px;}
	.cooperation_form, .garbage_search, .filter {background-size:100% auto;}
	.registration {width:auto;}
	.parameter {width:100%; overflow:scroll;}
	.garbage_search input[type="submit"] {height:auto;}
	.news-item .other {float:none; width:auto;}
	.ui-dialog.ui-widget {width:600px !important;}
	.ui-dialog.ui-widget .ui-dialog-content {padding:5px;}
	.ui-dialog.ui-widget .form {width:auto; padding:5px;}

	.registration tbody input[type="text"], .registration tbody input[type="password"],
	 .market tbody input[type="text"], .market tbody input[type="password"] {width:auto;}
	.registration tbody select, .market tbody select {width:180px;}
	.registration tbody th, .market tbody th {font-size:13px;}
	.add_job {overflow:scroll;}

	.jobs, .resume {float:none; width:auto; margin:0 0 10px;}

	.blog_left {float:none; width:auto; margin:0 0 15px;}
	.blog_right {float:none; width:auto;}

	.blog-edit {overflow:scroll;}
	.blog-edit input[type="text"], .blog-edit textarea {width:150px;}
	.blog-edit small {width:150px; display:block;}
	.blog-edit input[type="checkbox"] {vertical-align:top;}
	.blog-edit label {display:inline-block; width:140px;}
	.blog_left img, .blog-post-content img {max-width:100%;}

	.body_blog .avatarchik {float:none;}
	.body_blog .avatarchik img {width:auto; max-width:auto;}
	.blog_post .author, .blog_post .date {padding:0;}
	.blog-post-content {clear:both; width:auto;}
	
	.content > table {width: auto !important;}
	.wrap_me {overflow:scroll;}
	.add_garbage, .gal-opt {float:none;}

	.content img {max-width:100% !important;}
	.map_filter {display:none;}
	.map_map {margin:0;}
	.albums .item.third, .gallery .item.third {margin-right:30px;}
	.content .video iframe {height: 360px;}
}

@media only screen and (min-width: 320px) and (max-width: 639px) {
	#wrapper {background:#fff; padding:0 10px; min-width:300px; width:auto; max-width:619px;}
	/*.top_area {display:none;}*/
	.header_new {position:relative;}
	.header_new .opt.list, .header_new .social {display:none;}
	.header_new .header_right {width:auto; float:none;}
	.header_new .cooperation {float:left; position:static; margin:0; background:none; padding:0; border:0 none;
	height:auto; width:auto;}
	.header_new .cooperation a:link, .header_new .cooperation a:visited,
	 .header .cooperation a:hover, .header_new .cooperation a:active {color:#333; text-decoration:none;}
	.header_new .auth, .header .reg {float:left; clear:right; position:static; margin:1px 0 0 7px;
	 background:none; padding:0; border:0 none; height:auto; width:auto;}
	.header_new .auth a, .header .reg a {background:none; padding:5px 0 !important;}
	.header_new .search {clear:both; overflow:hidden; width:auto; float:none; margin:0 0 10px;}
	.header_new .search input[type="text"] {padding:4px; width:100%;}
	.header_new .logo_menu_block {flex-wrap:wrap}
	.header_new .logo {margin:0 0 15px; text-align:center}
	.header_new .logo img {width:auto; margin:0 auto}
	.menu_top_new {width:auto}
	.menu_top_new li {width:50%}
	.header_new .menu_top {display:none}
	.header_new .menu_top .lang {top:7px; right:5px; left:auto;}
	.header_new .menu_top .adapt {display:block; position:absolute; left:5px; padding:11px 0 11px 25px; background:url(/images/a_menu.png) 0 7px no-repeat; text-transform:uppercase; font-weight:bold;}
	.header_new .menu_top .adapt:link, .header_new .menu_top .adapt:visited,
	.header_new .menu_top .adapt:hover, .header_new .menu_top .adapt:active {color:#fff; text-decoration:none;}
	.header_new .menu_top ul {display:none;}
	.header_new .menu_top ul {position:absolute; top:100%; background:#241303; width:200px; z-index:11;}
	.header_new .menu_top ul li {float:none; width:100%;}
	.header_new .menu_top ul li a {display:block; padding:10px;}
	.header_new .submenu {font-weight:normal; text-transform:none;}
	.header_new .subline .submenu ul li {padding:0 10px 0 0;}
	#cab_trigger {background:url(/images/key.png) 0 3px no-repeat; border:0 none; color:transparent; margin:0; padding:0; width:18px;}

	.about {display:none;}
	.about img {width:100%;}

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

	.photo_filter {padding:5px;}
	.photo_filter .name input {width:96%;}
	.photo_filter .colors, .photo_filter .price {float:none; width:auto; clear:left;}
	.photo_filter .colors label, .edit_section_form .colors label {margin:5px;}
	.photo_filter .price input[type="text"] {width:60px;}
	.albums .item, .albums .item.third {float:none; margin:0 auto 30px;}
	.add_object {margin:-10px 0 10px}

	.gallery_buttons li {float:none; margin:0 0 15px;}
	.gallery .item, .gallery .item.third {float:left; margin:0 1% 10px; width:48%; height:auto; /*width:140px; height:105px;*/}

	.offers .bordered_h {background-position:0 center; margin:0 0 10px;}
	.offers .bordered_h h3 {font-size:22px;}
	.offers li {float:none; overflow:hidden; width:auto; margin:0 0 10px;}
	.offers li .image {float:left;}
	.offers li .text {padding:5px 0 0; margin:0 0 0 70px; text-align:left;}


	.news {float:none; width:auto; margin:0 0 20px;}
	.news .news-item .text {float:none; width:auto; margin:0 0 0 90px;}
	.update {float:none; width:auto; margin:0 0 20px;}

	.news h3, .update h3 {font-size:22px; margin:0 0 15px;}

	.footer {padding:20px 0; background:none; margin:0; width:auto;}
	.footer .footerL {float:none; width:auto; overflow:hidden; margin:0 0 15px; text-align:center}
	.footer .footerL img {margin:0 auto}
	.footer .copyright {margin:0 0 10px;}
	.footer .footerL li {margin:0 0 10px; font-size:14px;}
	.footer .vk, .footer .facebook {width:300px; margin:0 auto 10px; float:none;}

	.registration_reminder {margin:0 -10px 30px}
	.registration_reminder_title {font-size:14px}
	.registration_reminder_content a {height:40px}
	.registration_reminder_content .or {margin:0; width:60px}
	.goreg {width:auto; padding:0 10px}
	.reg_soc {width:40px}
	.reg_soc img {height:14px; width:auto}

	.footer .cooperation a {font-size:14px; padding:10px 0}
	.footer_bottom_new {flex-wrap:wrap}

	/*.bottom_area {display:none;}*/

	/* Inner pages */
	h1 {font-size:25px; margin:0 0 20px;}
	.profile-table {width:auto;}
	.links a {margin:0 3% 18px 0; text-align:center; background:#ffe4c7; background:linear-gradient(to bottom, #ffe4c7, #ffcf9f);
		padding:10px 0 11px; border-bottom:1px solid #574636; width:30%;}
	.profile-table input[type="button"], .data-table input[type="submit"],
	 .bx-auth-profile input[type="submit"], .garbage_search input[type="submit"],
	 .bx-auth-profile input[type="reset"],
	 .form input[type="submit"] {background:#77400a; background:linear-gradient(to bottom, #77400a, #653201);
	 border-bottom:1px solid #221100; padding:8px 15px;}
	.cooperation_form, .garbage_search, .filter {background-size:100% auto;}
	.registration {width:auto;}
	.parameter, .search_speed_table {width:100%; overflow:scroll;}
	.garbage_search input[type="submit"] {height:auto;}
	.news-item .other {float:none; width:auto;}

	.search_speed_ul {height:auto !important;}
	.ui-dialog.ui-widget {width:300px !important;}
	.ui-dialog.ui-widget .ui-dialog-content {padding:5px;}
	.ui-dialog.ui-widget .form {width:auto; padding:5px;}

	.job_detail .pink {float:none; width:auto; margin:0 0 20px;}

	.registration tbody input[type="text"], .registration tbody input[type="password"],
	 .market tbody input[type="text"], .market tbody input[type="password"] {width:auto;}
	.registration tbody select, .market tbody select {width:180px;}
	.registration tbody th, .market tbody th {font-size:13px;}
	.add_job {overflow:scroll;}

	.jobs, .resume {float:none; width:auto; margin:0 0 10px;}

	.blog_left {float:none; width:auto; margin:0 0 15px;}
	.blog_right {float:none; width:auto;}

	.blog-edit {overflow:scroll;}
	.blog-edit input[type="text"], .blog-edit textarea {width:150px;}
	.blog-edit small {width:150px; display:block;}
	.blog-edit input[type="checkbox"] {vertical-align:top;}
	.blog-edit label {display:inline-block; width:140px;}

	.blog_left img, .blog-post-content img {max-width:100%;}

	.body_blog .avatarchik {float:none;}
	.body_blog .avatarchik img {width:auto; max-width:auto;}
	.blog_post .author, .blog_post .date {padding:0;}
	.blog-post-content {clear:both; width:auto;}
	
	.content > table {width: auto !important;}
	.wrap_me {overflow:scroll;}
	.add_garbage {float:none;}
	.gal-opt {display:none;}
	.auction .aufilter li {padding:0 0 0 5px;}

	.forum-block-inner table td {box-sizing: border-box; display: block; width: 100% !important; text-align:justify;}
	.forum-block-inner table th, .forum-column-icon, .forum-column-topics, .forum-column-replies, .forum-column-views {display:none !important;}
	table.forum-post-table td.forum-cell-contact, table.forum-post-table td.forum-cell-actions {height:auto;}
	.forum-column-title .forum-item-name {font-weight:bold;}
	.forum-table .forum-column-lastpost {font-size:13px;  border-top: 0 none !important; color: #666; padding-left: 20px !important;}
	div.forum-statistics-allusers, div.forum-statistics-users {float:none;}
	.map_filter {display:none;}
	.map_map {margin:0;}
	.l1-youtube-player, .l1-youtube-screen {width: 100% !important;}
	.l1-youtube-background {background-position: center center !important;}

	.header_new .subline {position:relative}
	.header_new .submenu {position:static}
	.header_new .submenu .parent {background:none; position:static !important; background:none !important}
	.header_new .submenu .parent > a:after {background:url(/images/parent.png) 0 0 no-repeat; height:4px; width:7px; content:""; display:inline-block; margin-left:10px}
	.header_new .submenu .parent ul, .header_new .submenu .parent:hover ul {position:static !important; background:none; display:none}
	.submenu_trigger {display:block; position:absolute; top:8px; left:35px; width:30px; height:30px; /*transform:translate(0, -50%)*/}
	.submenu_trigger:before, .submenu_trigger span, .submenu_trigger:after {display:block; content:""; height:8px; width:8px; background:#241303; position:absolute; border-radius:50%; top:50%; transform:translate(0, -50%)}
	.submenu_trigger span {left:50%; transform:translate(-50%, -50%)}
	.submenu_trigger:after {right:0}
	.header_new .submenu > ul {display:none; position:absolute; background:#fff; top:50px; width:100%; box-sizing:border-box; z-index:11; left:0; padding:10px 35px}
	.header_new .subline .submenu ul li {display:block; float:none}
	.settings .view_type a {padding:5px 12px;}
	.show_filter {float: none; margin-bottom: 15px;}
	.on_map {float: none;}
	.uptl_toolbar ul {margin-left:-3px !important;}
	.contacts_line {float: left; margin-left: 45px; font-size: 14px; margin-bottom: 5px;}
	.contacts_line img {width:28px; vertical-align: bottom; margin-left: 0px;}
	.members_list .item {display:block}
}


@media only screen and (min-width: 320px) and (max-width: 359px) {
	.fancybox-opened {left:-75px !important; transform:rotate(90deg); width:470px !important;}
	.fancybox-inner {height:auto !important; width:470px !important;}
	div.search-item .img {float:none; margin:0 auto; display: block;}
	.content .video iframe {height: 200px;}
	.works-list {display:block}
	.works-list .item {width:100%}
}
@media only screen and (min-width: 360px) and (max-width: 399px) {
	.fancybox-opened {left:-80px !important; transform:rotate(90deg); width:520px !important;}
	.fancybox-inner {height:auto !important; width:520px !important;}
	div.search-item .img {float:none; margin:0 auto; display: block;}
	.content .video iframe {height: 240px;}
	.works-list {display:block}
	.works-list .item {width:100%}
}
@media only screen and (min-width: 400px) and (max-width: 479px) {
	.fancybox-opened {left:-95px !important; transform:rotate(90deg); width:600px !important;}
	.fancybox-inner {height:auto !important; width:600px !important; }
	div.search-item .img {float:none; margin:0 auto; display: block;}
	.content .video iframe {height: 270px;}
	.works-list .item {width:49%}
}
@media only screen and (min-width: 480px) and (max-width: 539px) {
	.fancybox-opened {left:-100px !important; transform:rotate(90deg); width:650px !important;}
	.fancybox-inner {height:auto !important; width:650px !important;}
	.content .video iframe {height: 300px;}
	.works-list .item {width:49%}
}

@media only screen and (min-width: 320px) and (max-width: 359px) {.l1-youtube-player, .l1-youtube-screen {height: 240px !important;}}
@media only screen and (min-width: 360px) and (max-width: 419px) {.l1-youtube-player, .l1-youtube-screen {height: 270px !important;}}
@media only screen and (min-width: 420px) and (max-width: 479px) {.l1-youtube-player, .l1-youtube-screen {height: 315px !important;}}
@media only screen and (min-width: 480px) and (max-width: 559px) {.l1-youtube-player, .l1-youtube-screen {height: 360px !important;}}
@media only screen and (min-width: 560px) and (max-width: 639px) {.l1-youtube-player, .l1-youtube-screen {height: 420px !important;}}

.offers ul {padding:0; margin:0;}















