/* Desktop */
@media only screen and (min-width: 981px) {
	.desktop{ display: inline-block !important; }
	/*.tablet{ display: none !important; }*/
	.mobile{ display: none !important; }
	.mobile-navbar{ display: none; }
}

/* Tablet */
@media only screen and (min-width: 768px) and (max-width: 980px) {
	html, body{ min-width: unset; max-width: 100%; }
	#header{ z-index: 2000; }
	#header.firstpage{ height: 490px; max-width: 100%; }
	.fp-title{ margin-top: 40px; font-size: 26px; }
	#videoBackground video{ max-width: 768px; bottom: -40px; }
	.wrapper{ width: calc(100% - 55px) !important; }
	/* .wrapper.px920{ width: 710px; } */
	.top-search-container{ margin-top: 70px; }
	ul.search-boxes-new li{ margin-right: 14px; width: calc(33.3vw - 34px); }
	.wrapper.px920 #main-search-box2 .red-sel.ui-selectmenu-button{ width: 27% !important; height: 58px; line-height: 58px; }
	.wrapper.px920 #main-search-box2 div.select-box{ width: 27%; }
	.s-input.m{ width: calc(50% - 10px); }
	.s-input.s{ width: calc(50% - 10px); }
	#main-search-box2{ height: 58px; }
	#main-search-box2 div.select-box{ height: 58px; line-height: 15px; }
	/* #main-search-box2 .ui-selectmenu-button span.ui-selectmenu-text{ height: 58px; line-height: 58px; } */
	#main-search-box2 .s-block{ margin-left: 20px !important; width: calc(25% - 80px); }
	#main-search-box2 .s-btn{ width: 7vw; min-width: 7vw; height: 58px; background-position: center; max-width: 58px; }
	#main-search-box2 span.limiter{ height: 40px; margin: 9px 0px; }
	#main-search-box2 .ui-selectmenu-button span.ui-selectmenu-text{ height: 58px; line-height: 58px; }
	/* #main-search-box2 .ui-selectmenu-button span.ui-icon::after{ margin: 25px 0px 0px 0px; } */
	.select2-container .select2-search--inline .select2-search__field{ width: 23vw; margin-top: 18px !important; }
	.select2-container .select2-selection--multiple{ max-height: 56px; }

	.ui-front{ z-index: 3000; }
	.wrapper.main .wrapper{ margin: 0; width: 100% !important;}
	.wrapper.main, #footer .wrapper{ margin: 0 19px; }
	.picture-nav > li{ width: calc(33vw - 27px);}
	#footer .footer-navbar-nav{ display: none; }
	#additional_lists{ margin: 0px !important; padding: 0; }

	#footer-search-block{ width: 17vw; }
	#footer-search-block input#searchById{ width: calc(100% - 30px);}
	#footer-form label{ font-size: 15px; }
	#footer-row-first{ margin-bottom: 20px; }
	#footer-row-first div.contact-info{ font-size: 15px; }
	#footer-row-first div.contact-info span{ display: inline-block; }

	#object_popup{ z-index: 999;}
	.l-location span{ display: block; }

	.object-list .o-col:not(.l-id){ word-wrap: anywhere; }
	span.address_field_grid{ width: 100%; word-wrap: anywhere; }
	.content-additional-search .s-cont{ float: left; }
	.content-additional-search .s-block.w-px450{ width: 30vw; }
	.s-block.w-px90{ width: 11vw; }

	.wrapper.relative.extendable div.select-box{ width: 23% !important; }
	.wrapper.relative.extendable #main-search-box2 .red-sel.ui-selectmenu-button{ width: 23% !important; }
	.wrapper.relative.extendable #main-search-box2 .w-px140.s-block{ width: 15vw; }
	.wrapper.relative.extendable #main-search-box2 .w-px140.s-block .s-input.sm{ width: calc(50% - 20px); }

	#project_open .row.tablet_open{ text-align: center; }
	#project_open .col.w-px620.pull-left{ float: unset; text-align: left; }
	#project_open .obj-block .obj-title{ border-bottom: 0; padding-left: 0; }
	#project_open #user_actions{ display: none; }
	#project_open .obj-agent-div{ float: unset; width: 620px; margin-top: 30px; }
	#project_open .sticky-col{ width: 100%; position: relative; }
	#project_open .agent-contact{ position: absolute; top: 56px; left: 107px; }
	#project_open .show_phone{ display: none; position: static; width: 100%; display: block; }
	#project_open .obj-agent-cont{ text-align: left; background-color: #fff; }
	#project_open .obj-agent-cont form{ width: 50%; display: inline-block; text-align: center; background-color: #f4f4f4; padding: 0 13px; height: 132px; padding-top: 9px; }
	#project_open .obj-agent-cont form .contact-agent{ display: none; }
	#project_open .obj-agent-cont form .btn-send{ position: relative; top: 5px; }
	#project_open .obj-agent{ width: calc(50% - 46px); display: inline-block; float: left; background-color: #f4f4f4; padding: 10px; border: none; }
	#project_open .obj-agent .top{ padding: 8px 0px; }
	#project_open .obj-agent .info{ height: 110px; border: 1px solid #fff; padding: 5px; }
	#project_open .obj-agent img{ height: 110px; }
	#project_open .obj-agent-input .field{ margin-bottom: 4px; }
	#project_open .obj-agent-input textarea.field{ min-height: 66px; }
	#project_open .open_proj_manager{ padding: 5px; }

	.agent-contact .phone span.phone_stars{ height: 20px; }

	.agent-contact .phone{ height: auto; min-height: 20px;}

	.input-row .w-px320{ width: 237px; }
	.desktop{ display: none !important; }
	.mobile{ display: none !important; }
	.tablet{ display: inline-block !important; }

	.currency_title{ padding-left: 5px; }
	#review_form .input-row .w-px320{ width: 33.3%; }
	#review_form .col.w25{ width: 33.3%; }
	#review_form .col.w25 .input-field.small{ width: 100%; }
	#review_form .input-row .col.w25:not(.last){ padding-right: 21px; }
	#review_form .input-field.submit{ background: #e20613; color: #fff; border: none; border-radius: 5px; width: 200px; font-size: 16px; margin-bottom: 30px; }

	#newprojects-search .search-center{ height: 38px; line-height: 38px; margin-top: 26px !important; }
	.select_tablet{ margin-right: 25px;  }
	.select_tablet .ui-selectmenu-button{ border: 1px solid #ccc; border-radius: 5px; padding: 0 10px; padding: 0 25px; }
	.select_tablet .red-sel.ui-selectmenu-button span.ui-icon{ background: none; width: 27px; }
	.select_tablet .ui-selectmenu-button span.ui-icon::after { background: url('../img/select_drop.png') no-repeat; width: 15px; height: 8px; background-size: 15px 8px; margin-left: -12px; margin-top: -2px; }
	.select_tablet .ui-selectmenu-button span.ui-selectmenu-text { line-height: 27px; }
	.picture-nav.new-projects{ text-align: center; }
	.picture-nav.new-projects > li{ float: unset; }

	.contact-list li{ width: calc(50% - 20px); }
	.contact-list li:nth-child(2n+1){ margin-left: 0px; }
	.contact-list li:nth-child(1n+1){ margin-left: 20px; }

	.simple-and-easy li{ width: calc(33% - 20px) !important; text-align: center; }

	.input-row .input-boxes li{ width: calc(33% - 10px); }
	.input-row .form_check .w-px250{ width: calc(33% - 10px); }

	.input-field.xsmall{ width: 60px}
	.property_form .input-row .col.w33 label.inline:first-child{ float: unset; display: block; }
	.input-row .col.w33:not(.last){ padding-right: 90px; }
	.property_form .submit{ background: #e20613; color: #fff; border: none; border-radius: 5px; width: 200px; font-size: 16px; }
	.top-navbar-lang{ display: none; position: absolute; top: 70px !important; background: #d20d18; width: 280px; text-align: right; height: 35px; right: -17px !important; line-height: 35px; padding-right: 20px; }
	.top-navbar-lang li{ display: inline-block; float: unset !important; text-align: right; padding: 0 3px; }
	.menu_icon{ display: inline-block; position: absolute; }
	.menu_icon:hover{ cursor: pointer; }
	.menu_icon.mobile_menu_bar{ background: url('../img/menu-bar.png'); width: 20px; height: 19px; right: 15px; top: 26px; background-size: 20px 19px; }
	.menu_icon.mobile_menu_close{ background: url('../img/menu_close.png'); width: 20px; height: 19px; right: 15px; top: 26px; background-size: 20px 19px; }
	.mobile-navbar{ display: none; background:#e20613; position: absolute; top: 105px; right: -17px; color: #fff; text-transform: uppercase; padding: 0 20px 0 80px; width: 200px; }
	.mobile-navbar li{ padding: 10px 0; font-weight: bold; color: #fff5f4; }

	#contact_form .submit { background: #e20613; color: #fff; border: none; border-radius: 5px; width: 200px; font-size: 16px; }
	.full-wrap.text_section{ margin-bottom: 60px; }

	#objectFavList .o-col.l-id:first-child{ width: 170px; min-width: 170px; }
	#objectFavList .btn-simple{ background: url('../img/light_close.png'); display:inline-block; width: 20px; height: 20px; background-position: 20px 0; background-size: 40px 20px; color: transparent; vertical-align: middle; }
	.s-input.sm { width: 36px; }
}

/* Mobile */
@media only screen and (min-width: 320px) and (max-width: 767px) {
	html, body{ min-width: unset; max-width: 100%; }
	#header{ z-index: 5000; }
	#header.firstpage{ height: auto; max-width: 100%; background: #26333c; overflow: visible; }
	#videoBackground{ display: none; }
	.wrapper, .wrapper.px920{ width: calc(100% - 20px); }
	.wrapper.px960{ width: calc(100% - 60px); }
	.fp-title{ display: none; }
	.fp-title.small{ display: none; }
	.top-navbar-nav{ display: none; }
	.mobile.mobile-navbar{ display: none; }
	.top-navbar-lang{ display: none; }

	.menu_icon{ display: inline-block; position: absolute; }
	.menu_icon:hover{ cursor: pointer; }
	.menu_icon.mobile_menu_bar{ background: url('../img/menu-bar.png'); width: 20px; height: 19px; right: 15px; top: 26px; background-size: 20px 19px; }
	.menu_icon.mobile_menu_close{ background: url('../img/menu_close.png'); width: 20px; height: 19px; right: 15px; top: 26px; background-size: 20px 19px; }
	.mobile-navbar{ display: none; background: #e20613; position: absolute; top: 105px; right: 0px; color: #fff; text-transform: uppercase; width: 100%; z-index: 9999; }
	.mobile-navbar li{ padding: 10px 0 10px 80px; font-weight: bold; color: #fff5f4; display: block; }
	.mobile-navbar li a{ display: block; height: 16px; line-height: 16px; }
	.mobile-navbar li:hover a{ color: #000; }
	.mobile-navbar li.with_icon a::before{ margin-right: 7px; display: block; float: left; content: ""; width: 16px; height: 16px; background: url('../img/menu_sprite.png') no-repeat; }
	.mobile-navbar li a.square::before{ background-position: 0 0px; }
	.mobile-navbar li a.map::before{ background-position: -16px 0px; }
	.mobile-navbar li a.favorite::before{ background-position: -32px 0px; }

	.mobile-navbar li:hover a.square::before{ background-position: 0 -16px; }
	.mobile-navbar li:hover a.map::before{ background-position: -16px -16px; }
	.mobile-navbar li:hover a.favorite::before{ background-position: -32px -16px; }


	.top-navbar-lang{ display: none; position: absolute; top: 70px !important; background: #d20d18; width: 100%; text-align: right; height: 35px; right: 0px !important; line-height: 35px; padding-right: 40px; }
	.top-navbar-lang li{ display: inline-block; float: unset !important; text-align: right; padding: 0 3px; }

	.top-search-container{ margin-top: 20px; }
	.content-search{ margin-top: 0px; }
	.top-search-container .search-boxes-new li, .content-search .search-boxes-new li{ width: calc(33% - 1px); margin-right: 2px; border-radius: 0;}
	.top-search-container .search-boxes-new li:first-child, .content-search .search-boxes-new li:first-child{ border-radius: 5px 0 0 5px;}
	.top-search-container .search-boxes-new li:last-child, .content-search .search-boxes-new li:last-child{ border-radius: 0 5px 5px 0;}
	.top-search-container .search-boxes-new li span, .content-search .search-boxes-new li span{ font-size: 11px; display: inline-block; width: calc(100% - 24px); line-height: 16px; font-weight: 600; }
	ul.search-boxes-new li.active span{ color: #fff; }
	ul.search-boxes-new li input[type="checkbox"].checkbox + label::before{ margin: 3px 6px 0 0; float: left; position: relative; left: 5px; }
	#main-search-box2{ background: none; box-shadow: none; }
	.wrapper.px920 #main-search-box2 .red-sel.ui-selectmenu-button{ width: calc(100% - 3px) !important; margin-bottom: 15px; height: 40px; }
	#main-search-box2 { height: 40px; }
	#main-search-box2 .ui-selectmenu-button span.ui-selectmenu-text{ height: 40px; line-height: 40px; }
	/* #main-search-box2 .ui-selectmenu-button span.ui-icon{ top: -11px; } */
	#main-search-box2 span.limiter{ display: none; }
	#search_type_select2-menu{ position: relative; }
	.red-sel.ui-menu .ui-menu-item{ position: relative; z-index: 3000;}
	.ui-front{ z-index: 5000;}
	.select2-container{ z-index: 4999;}
	.select2-container.select2-container--open{ z-index: 5000 !important; }
	ul.search-boxes-new li input[type="checkbox"].checkbox:checked + label{ color: #000; }
	.wrapper.px920 #main-search-box2 div.select-box{ width: calc(100% - 3px); height: 40px; }
	#main-search-box2 .select2-container .select2-search--inline .select2-search__field{ margin-top: 3px; height: 40px; }
	#main-search-box2 .small_block, #additionalSearch .small_block{ margin-left: 0px !important; margin-top: 40px; background: #fff; border-radius: 5px; width: calc(50% - 19px) !important; position: relative; height: 30px; padding-top: 10px; padding-left: 5px; padding-right: 5px; z-index: 20; float: left; }
	#additionalSearch .small_block.select_block, #additionalSearch .small_block.checkbox_block{ background: none; }
	#main-search-box2 .small_block:nth-of-type(2n), #additionalSearch .small_block:nth-of-type(2n - 1){ margin-right: 15px; }
	/* .add-search-tab .small_block:first-child{ margin-top: 20px !important; } */
	#main-search-box2 .small_block label, #additionalSearch .small_block label.lbl-title{ position: absolute; top: -28px; color: #fff; left: 4px; font-weight: bold; }
	#main-search-box2 .small_block input, #additionalSearch .small_block input{ width: calc(50% - 9px); color:#000;  }
		#main-search-box2 .small_block .input-field::placeholder { color:#b7b7b7!important; font-style: italic;  opacity: 1!important; z-index: 1!important;  }
		#main-search-box2 .s-input { color:#b7b7b7!important; font-style: italic;  opacity: 1!important; z-index: 1!important; font-size: 14px!important; }
		.additional-fields .s-input::placeholder { color:#666!important; font-style: italic;  opacity: 1!important; z-index: 1; font-size: 14px!important;  }
	.additional-fields .s-block .from_to { color:#000; }
	#main-search-box2 .s-block input.s-input { height:25px; margin-top:-5px; }
	#main-search-box2 .small_block.area_block input, #additionalSearch .small_block.area_block input{ width: calc(50% - 20px); }
	#main-search-box2 .small_block.area_block{ margin-top: 40px; margin-right: 0px; }
	#main-search-box2.catalog{ padding-right: 0px; }
	.search_map_box #search_map{ background: url('../img/search_map_gray.png'); background-repeat: no-repeat; box-shadow: none; color: #fff; background-size: 14px 16px; background-position: 5px center; width: 50%; text-align: left; 	padding-left: 25px; width: calc(50% - 22px); }
	.search_map_box button#search_map{ background-position: 5px center; cursor: pointer; }
	#main-search-box2 .s-btn{ display: none; }
	.search_map_box{ text-align: left; margin-bottom: 25px; }
	.desktop{ display: none !important; }
	.tablet{ display: none !important; }
	.mobile{ display: inline-block; }

	.search_button_div{ display: inline-block; width: calc(50% - 6px); margin-top: 15px; margin-left: 0px !important;}
	.search_button_div #special_search.magnify{ height: 40px; width: 100%; line-height: 40px; background-position: right 10px center; }

	.main_search.mobile_search{ margin-top: 0px !important; height: 38px; line-height: 38px; width: calc(50% - 17px); border-radius: 5px; font-size: 16px; background: url('../img/search-icon.png') no-repeat, #e20613; background-position: right 10px center; border: none; color: #fff; margin-bottom: 20px; margin-right: 10px; background-size: 16px; }

	.picture-nav.firstpage{ text-align: center; }
	.picture-nav.firstpage > li{ margin-left: 0px; margin-bottom: 25px; width: 100%; height: auto; max-height: 160px; }
	.fpage-col.col-l, .fpage-col.col-r{ display: none; }
	#footer #additional_lists, #footer .footer-navbar-nav{ display: none; }
	#footer-row-first{ text-align: center; height: 140px; }
	#footer-search-block{ display: inline-block; width: 100%; margin: 0 auto; max-width: 300px; float: unset; }
	#footer-row-first div.contact-info{ text-align: center; width: 100%; position: relative; top: -62px; }
	#footer-row-first div.contact-info a.email{ display: block; position: relative; top: 40px; width: min-content; margin: 0 auto; }
	#footer-row-first div.contact-info span{ display: block; position: relative; top: -30px; width: max-content; margin: 0 auto; }
	#footer-form { position: relative; top: 75px; }
	#footer-form label{ text-align: center; width: 100%;  }

	#newprojects-search .content-search { min-height: 68px; height: auto!important; }

	#object_popup{ width: 100%; z-index: 3001; display: none; }
	.s-block:not(:first-child){ margin-left: 0; }
	.w-px450{ width: calc(100% - 12px); }

	#additionalSearch .add-search-tab .select_block { margin-top: 30px; }
	#additionalSearch .search_button_div{ display: none; }
	/* .add-search-tab .select_block{ margin-top: 15px; } */
	/* .add-search-tab .select_block .select2-selection{ background: #fff; border: none !important; } */
	/* .add-search-tab .select_block .select2-selection .select2-search__field::placeholder, */
	/* .add-search-tab .select_block .select2-selection .select2-search__field:-moz-placeholder, */
	/* .add-search-tab .select_block .select2-selection .select2-search__field::-webkit-input-placeholder, */
	/* .add-search-tab .select_block .select2-selection .select2-search__field::-moz-placeholder, */
	/* .add-search-tab .select_block .select2-selection .select2-search__field:-ms-input-placeholder{ color: #000 !important; opacity: 1; } */
	.additional-fields .select2-container--default .select2-selection--multiple .select2-selection__choice{ background-color: #e4e4e4; }

	#additionalSearch .checkbox_block{ margin-left: 0; margin-top: 15px; float: left; }
	#additionalSearch .s-cont{ width: 100%; }
/*
	.search_type_flat .small_block:first-child{ position: relative; left: calc(50% + 6px); top: -81px; }
	.search_type_house .small_block:first-child{ top: -81px; float: right !important; }
	.search_type_flat .small_block:first-child label,
	.search_type_house .small_block:first-child label{ top: -20px !important; }
	*/
/*
	.search_type_flat .select_block{ position: relative; top: -75px; width: calc(100% - 3px); }
	.search_type_flat .checkbox_block{ position: relative; top: -75px; margin-bottom: -100px; }
	.search_type_house .checkbox_block{ position: relative; top: -18px; margin-bottom: -100px; }
*/
	.search_type_office{ margin-top: -18px; }
	.search_type_office .checkbox_block{ width: 50%; }
	.search_type_office .w-px450{ width: 100%; }
	.search_type_sale .w-px750{ width: 100%; }
	.search_type_sale .col.w-px220{ width: 50%; }
	.search_type_invest .s-block{ width: 50%; margin-bottom: 10px; }
	.search_type_invest .usage_type_search{ width: 100%; }
	.search_type_invest .s-block:last-child{ float: left; margin-left: 1px; position: relative; left: -1px; }

	.wrapper.px786{ width: calc(100% - 60px); }
	.simple-and-easy li{ width: 100% !important; margin-bottom: 30px !important; }
	.simple-and-easy li .desc{ width: 200px !important; margin: 0 auto; }
	.text_section .text-block{ margin-bottom: 0px; }

	.property_form .input-row{ width: calc(100% - 60px); margin: 0 auto; }
	.property_form .input-row .col.w33{ width: 100%; }
	.property_form .input-row label{ width: 100%; }
	.property_form .input-row .input-field.xsmall{ width: 20vw; }
	.property_form .input-row .col.w50{ width: 100%; padding-right: 0px; margin: 15px 0px; }
	.property_form .input-row label.inline.dark{ margin-bottom: 0; margin-top: 10px; }
	.property_form .input-row label.inline.dark:not(:first-child){ width: auto; margin: 0; }
	.property_form .input-row .col.w33:not(.last){ padding-right: 0px; }
	.property_form .input-row .small_not{ margin: 15px 0; }
	.property_form .input-row textarea{ margin-bottom: 15px; }
	.property_form .submit{ background: #e20613; color: #fff; border: none; border-radius: 5px; width: 200px; font-size: 16px; float: right; }


	.text-block ul li{ margin-left: 40px !important; }
	.text-block a{ word-wrap: anywhere; }

	.contact-steps li{ width: 100% !important; }
	.contact-steps .delimiter{ display: none !important; }
	.contact-steps li:not(.delimiter){ margin-bottom: 25px; min-height: unset; }


	#contact_form .input-row, #review_form .input-row{ margin-bottom: 0px !important; }
	#contact_form .input-row .col.w50, #review_form .input-row .col.w50{ padding-right: 0px; width: 100%; margin-bottom: 15px; }
	#contact_form .input-row:last-child .col.w50, #review_form .input-row:last-child .col.w50{ margin-bottom: 15px;  }
	#contact_form .g-recaptcha, #review_form .g-recaptcha{ margin-top: 15px; width: 100%; }


	#contact_form .submit, #review_form .submit{ background: #e20613; color: #fff; border: none; border-radius: 5px; width: 200px !important; font-size: 16px; float: right; }


	.contact-list li{ width: 100%; margin-left: 0; margin-bottom: 10px; height: unset; }
	.contact-list li .info{ width: calc(100% - 110px); margin-left: 10px; }
	.contact-list li .info p{ width: 100%; }
	.contact-list li img{ width: 100px; height: auto; }

	#newprojects-search .wrapper.px940{ width: 100%; padding: 0; }
	#newprojects-search .row{ width: calc(100% - 60px); margin: 0 auto; }
	#newprojects-search .col{ width: 100%; }
	#newprojects-search .col.check-col{ width: 50%; display: inline-block; margin-right: 0; }
	#newprojects-search .search-center:first-child{ position: relative; top: 40px; margin: 0 !important; }
	#newprojects-search .search-center:last-child{ position: relative; top: -40px; }
	#newprojects-search .search-center #search_type_select2-button{ border: 1px solid #dbdbdb; }
	#newprojects-search .search-center #search_type_select2-button .ui-selectmenu-text{ text-align: left; padding: 0 28px 0 20px; line-height: 28px; }
	#newprojects-search .red-sel.ui-selectmenu-button span.ui-icon{ background: url('../img/select_drop.png'); background-repeat: no-repeat; background-position: right 8px center; width: 30px; }
	#newprojects-search #special_search{ width: 100%; margin-right: 0; background-position: right 20px center; }

	.new_project_wrapper{ width: 100% !important; padding: 0 !important; margin-top: 80px; }
	.picture-nav.new-projects > li{ width: 100% !important; height: auto; min-height: 200px; margin-left: 0px !important; margin-right: 0px !important; }
	.picture-nav.new-projects > li .abs{ position: unset; text-align: center;}
	.picture-nav.new-projects > li img{ display: inline-block; }


	.picture-nav.firstpage li img{ max-width: 255px; width: 100%; }
	.picture-nav.firstpage .overlay{ background: none;  }
	.picture-nav.firstpage > li:hover img{ max-width: 255px; }
	.picture-nav.firstpage > li:hover .overlay{ background: none;  }

	.full_width{ width: 100%; }
	.full_width .wrapper.px960{ width: 100%; }
	.full_width h2{ text-align: center; }
	#review_form { border-top: 0; margin-top: 0; width: calc(100% - 60px); margin: 0 auto; }
	#review_form .input-row .w-px320{ width: 100%; }
	#review_form .col.w25{ width: 100%; }
	#review_form .col{ padding-right: 0; margin-bottom: 15px; }
	#review_form .input-field.small{ width: 100%; }

	.full_width .text-block p{ margin-left: 0 !important; padding: 0 20px; }

	#objectFavList li, .new_project_div .object-list li{ margin-bottom: 25px; }
	#objectFavList a{ display: block; width: calc(100% - 30px); margin: 0 auto; }
	.new_project_div .object-list a { display: block; width: calc(100% - 2px); margin: 0 auto; line-height: 18px; }
	.object_info{ display: inline-block; width: calc(100% - 90px); margin-left: 10px; vertical-align: top; position: relative }
	.object_info .object_title{ display:inline-block; font-style: italic; padding-left: 15px; width: 55px; height: 14px; line-height: 14px; font-size: 11px; }
	.object_info .object_data{ display:inline-block; width: calc(100% - 75px); height: 14px; line-height: 14px; font-size: 11px; }
	.object_info .object_price{ background: #d20d18; color: #fff; font-weight: 900; padding-left: 15px; height: 24px; line-height: 24px; padding-right: 10px; font-size: 14px; }
	.object_info .object_price span{ float: right; font-weight: 200; }
	.object_info .btn-simple{ position: absolute; background: url('../img/light_close.png'); display:inline-block; width: 20px; height: 20px; background-position: 20px 0; top: 0; right: 0; background-size: 40px 20px; }
	.object_info .fav-btn{ position: absolute; top: 12px; right: 0px; width: 34px; height: 34px; }
	.object_info .fav-btn span{ width: 17px; height: 17px; top: 10px; left: 8px; background-size: 34px 17px; }
	.object_info .fav-btn:hover span, .object_info .fav-btn.active span{ width: 17px; background-position: -17px 0px; }
	.new_project_div .object_info .object_data, .new_project_div .object_info .object_title{ height: 18px; line-height: 18px; }
	.new_project_div .object_info .object_price{ height: 25px; line-height: 25px; }

	.new_project_div #objectGallery li.lslide img{ width: 100% !important; height: auto; }
	.new_project_div .projects .tab-switch li{ width: calc(50% - 5px); display: inline-block; float: left; margin-right: 10px; height: 25px; line-height: 25px; margin-bottom: 5px; border-left: 0 !important; }
	.new_project_div .projects .tab-switch li:nth-child(2n){ margin-right: 0px; }
	.new_project_div .projects > .tab-switch{ background: none; }

	#project_open .col.w-px620{ width: 100%; }
	#project_open .object-slider-cont{ display: none; }
	#project_open #openGallery{ display: none; }
	#project_open .tab-switch-container.map .tab-switch. li{ width: calc(33% - 6px) !important; }
	#project_open .obj-agent-div{ float: unset; width: 100%; margin-top: 30px; }
	#project_open .sticky-col{ width: 100%; position: relative; }
	#project_open .agent-contact{ position: absolute; top: 56px; left: calc(50% - 38px); }
	#project_open .obj-agent-cont{ text-align: left; background-color: #fff; }
	#project_open .obj-agent-cont form{ width: calc(100% - 20px); display: inline-block; text-align: center; background-color: #f4f4f4; padding: 0 10px; height: 132px; padding-top: 9px; }
	#project_open .obj-agent-cont form .contact-agent{ display: none; }
	#project_open .obj-agent-cont form .btn-send{ position: relative; top: 5px; }
	#project_open .obj-agent{ width: calc(100% - 20px); display: inline-block; float: left; background-color: #f4f4f4; padding: 10px; border: none; }
	#project_open .obj-agent .top{ padding: 8px 0px; }
	#project_open .obj-agent .info{ height: 110px; border: 1px solid #fff; padding: 5px; }
	#project_open .obj-agent img{ height: 110px; }
	#project_open .obj-agent-input .field{ margin-bottom: 4px; }
	#project_open .obj-agent-input textarea.field{ min-height: 66px; }
	#project_open .open_proj_manager{ padding: 5px; }
	#project_open #user_actions{ display: none; }
	#project_open .other-objects-container .w2, #project_open .other-objects-container .w3{ width: 100%; margin-bottom: 10px; }
	#project_open .breadcrumb{ margin-top: 20px; }

	#project_open .map .tab-switch li{ width: calc(33% - 6px); margin-right: 10px;}
	#project_open .map .tab-switch li:nth-child(3n){ margin-right: 0px; }

	#special_search.magnify{ display: block; }

	#project_open .show_phone{ display: none; position: static; width: 100%; display: block; }
	.agent-contact .phone{ height: auto; min-height: 20px;}
	.agent-contact .phone span.phone_stars{ height: 20px; }

	#objectGallery li.lslide img {
	    width: auto !important;
	    vertical-align: middle;
	    max-width: calc(100% - 20px);
	    height: auto;
	}

}

@media only screen and (min-width: 320px) and (max-width: 380px) {
	.top-search-container .search-boxes-new li span, .content-search .search-boxes-new li span{ font-size: 10px; display: block; float: left; width: calc(100% - 27px); text-align: left; height: 34px; line-height: 34px; font-weight: 600; }
	.top-search-container .search-boxes-new li:nth-child(3) span, .content-search .search-boxes-new li:nth-child(3) span{ line-height: 11px; padding-top: 5px; }
	ul.search-boxes-new li input[type="checkbox"].checkbox + label::before{ margin: 3px 6px 0 3px; float:left; }
}
@media only screen and (min-width: 320px) and (max-width: 768px) {
	.ui-menu .ui-menu-item { padding: 0 20px 0 15px; line-height: 30px; font-size: 20px; }
	.select2-container--default .select2-results__option {  color: #b6c3cc;  font-size: 20px;  line-height: 26px; }
	.select2-container--default .select2-selection--multiple .select2-selection__choice { font-size: 16px; }
}
