﻿div#s2id_autogen4 {
    width: 200px !important;
}



.search-offers-mobile {
    display: none;
}

@media screen and (max-width: 1017px) {
	
	#page{
		overflow: visible;
	}
	#page,
	#header{
		width: 100%;
	}
	
	.boxes,
	.main-container,
	ul#menu{
		width: auto;
	}
	
	.box.box-dark {
		box-sizing: border-box;
		width: auto;
		padding: 15px;
		padding-top:5px; padding-bottom:5px;
	}
	
	.offer-result-gallery.left {
		margin-left: 1.5% !important;
		margin-right: 1.5% !important;
	}
	.main_boxes .boxes-module-element {
		width: 30%;
		padding-left: 1.5%;
		padding-right: 1.5%;
	}
	.art-main {
		width: 50%;
		box-sizing: border-box;
	}
	.offer-result-gallery {
    	width: 47%;
    }
    .offer-result-gallery.right {
	    margin-left: 1.5%;
	    margin-right: 1.5%;
	}
	
	#header { height:148px;}
	div.objects > div { margin:0px;}
	.index-search-form .search-basic { margin-top:0px;}
	.usual div.tab { padding:4px 10px 4px;}
	.control-group { margin-bottom:2px;}
	.box-dark h2 { margin:0px;}
	.boxes { margin-bottom:4px;}
	.main_boxes { margin-bottom:4px; margin-top:4px; }
	.art-main-box { margin-bottom:4px;}
	.art-main-box h2 { margin-bottom:4px; margin-top:0px; }
	.art-content div.text { margin-bottom:8px; margin-top:0px; }
	#content { margin-bottom: 8px; min-height: 250px;}
	.footer-box,.footer-top { margin-bottom:4px;}
	#footer div.text { margin-bottom:4px;}
	h1 {margin-bottom:4px;}
	.article-container h1 { padding-left:10px; padding-right:10px; padding-bottom:0px; margin-bottom:8px;}
	.rwd-select-container { margin-left:10px; margin-right:10px; margin-bottom:10px;}
	
	.result-view {margin-bottom:8px;}
	#content .offers-container .offers .offer-result { margin-bottom:4px; padding-top:4px; padding-bottom:4px; }
	.icons-left { display:none;}
	.offer-right .features {margin-bottom:4px;}
	.preview-right-table {margin-bottom:4px;}
	.ul.calculators-ul { margin-top:4px; margin-bottom:4px;}
	.offer-right #offer-preview-box { margin-top:4px;}
	.offer-right .social-box { margin-top:4px; margin-bottom:4px;}
	.offer-preview .text-small { padding-left:15px; padding-right:15px; margin-top:4px; margin-bottom:4px; }
	.offer-preview .data-box { margin-bottom:4px; padding-top:4px; padding-bottom:4px;}
	
	.content-left { width:100%;}
}

@media screen and (max-width: 1000px) {
	
	.select2-container{
	    width: 100%;
	}

	.search-offers-mobile {
		display: block;
	}
	.search-offers-mobile form{
		display: none;
	}
	.search-offers-mobile {
		margin-bottom: 4px;
	}
	.estateOffers-container.office {
		padding-bottom: 0;
	}
	.navigation {
		margin-bottom: 8px;
	}
	.search-offers-mobile > div:first-child {
		margin-bottom: 20px;
	}
	p#open-close-form{
		display: inline-block;
		    color: #D1B445;
	}
	p#open-close-form + span{
		display: inline-block;
		
		color: #D1B445;
		font-weight: 900;
		font-size: 14px;
		display: inline-block;
		background-image: url('../images/arrow.png');
		width: 12px;
		height: 7px;
		margin-left: 15px;
		margin-bottom: 1px;
		transition-duration: 0.5s;
	}
	
	span.active {
		transform: rotate(180deg);
	}
	.usual,
	#footer{
		width: auto;
	}
	
	.search-offers.no-mobile {
		display: none;
	}
	
	#footer{
		    height: auto;
	}
	
	.mobile-menu {
	    width: 60px;
	    height: 30px;
	    /* background: red; */
	    position: absolute;
	    right: 10px;
	    top: 30px;
	    z-index: 37;
	        z-index: 9999;
		border: 1px solid #A5A0A0;
		padding-bottom: 10px;
		padding-top: 5px;
	}
	.content-right {
	    float: none;
		padding-bottom:5px;
	    padding-left: 10px;
	    padding-right: 10px;
	    width: 100%;
	    box-sizing: border-box;

	}

	#menu li a {
	    line-height: 65px;
	}

	
	ul#menu.active {
    	display: block;
    	z-index: 9998;
	}
	.mobile-menu.open .bar.first {
	    -webkit-transform: rotate(45deg);
	    transform: rotate(45deg);
	    margin-top: 15px;
	}
	.mobile-menu.open .bar.central {
    	display: none;
	}
	.mobile-menu.open .bar.last {
	    -webkit-transform: rotate(-45deg);
	    transform: rotate(-45deg);
	    margin-top: -2px;
	}

	.bar {
	    width: 65%;
	    height: 2px;
	    background-color: #fff;
	    display: block;
	    margin: 7px auto 0;
	    transition: .3s;
	}
	
	ul#menu {
		display: block;
		position: absolute;
		padding: 0;
		top: 0;
		background: #434343;
		width: 100%;
		z-index: 10;
		padding-top: 75px;
		
		display: none;
	}

	#menu li a span {
	    display: inline;
	    margin-left: 7px;
	}
	#menu li a br{
		display: none;
	}
	#menu li a{
		text-transform: lowercase;
		text-transform: capitalize;
		font-size: 17px;
	}
	#menu li {
		display: block;
		float: none;
		margin: 0;
		text-align: center;
		text-transform: lowercase;
	}
	#menu li a#on, #menu li a:hover{
		background: none;
	}
	
	.art-photo {
		width: 33%;
	}
	.art-content {
		width: 62%;
		box-sizing: border-box;
	}
	.art-photo img{
		max-width: 100%;
	}
	
	
	div.objects {
		margin-left: 0;
	}
	
	
	.index-search-form .search-basic {
		width: 100%;
	}
	.index-search-form .search-basic .control-group > label, 
	.index-search-form .search-advanced .control-group.surfaceArea-select label,
	.index-search-form .search-advanced > div.part-2 .control-group > label
	{
		width: 20%;
	}
	.index-search-form .search-advanced {
		margin-left: 0%;
		width: 100%;
		float: none;
    	overflow: hidden;
	}

	.index-search-form .search-basic .control-group > .controls > input[type=text] {
	    width: 100%;
	    box-sizing: border-box;
	}
	.index-search-form .search-advanced > div{
		width: 100%;
	}
	.index-search-form .search-advanced .control-group.currency-select {
    	position: static;
    	width: auto;
	}
	.index-search-form .search-advanced .control-group > label {
	    width: 20%;
	    text-align: right;
	    float: left;
	}
	

	.index-search-form .search-advanced .control-group.surfaceArea-select .from-to-div input,
	.index-search-form .search-advanced .control-group.plotSurfaceArea-select .from-to-div input
	{
	    width: 24%;
	    float: left;
	 }
	.index-search-form .search-advanced .control-group.surfaceArea-select .from-to-div > div, 
	.index-search-form .search-advanced .control-group.plotSurfaceArea-select .from-to-div > div
	{
    	width: 30px;
    	float: left;
	}
	.index-search-form .search-advanced > div.part-2 {
	    width: 100%;
	    margin: 0;
	}

	.part-1 .control-group .controls,
	.part-2 .control-group .controls
	{
	    overflow: hidden;
    	float: left;
	    margin-left: 3%;
	    width: 66%;
	}
	.index-search-form .search-advanced .control-group .controls input[name=numberOfFloors][type=text], .index-search-form .search-advanced .control-group .controls input[name=amountOfRooms][type=text] {
	    width: 100%;
	    box-sizing: border-box;
	}
	.button-advance-search button{
		margin-right: 0;
	}
	.index-search-form .button-advance-search {
	    float: none;
	    margin: 25px auto;
		margin-top:0px; margin-bottom:0px;
	    width: 168px;
	    overflow: hidden;
	}

	.art-main-box {
    	padding: 0 1.5%;
	}
	div#footer {
	    background-color: #343434;
	    padding-left: 10px;
	    padding-right: 10px;
		padding-top:4px;
	}
	ul.footer-menu {
	    width: 25%;
	    margin-left: 0;
	    margin-right: 0;
	    padding: 0 15px;
	        box-sizing: border-box;
    }

    .calc-tabs .usual {
    	width: auto;
	}
	
	div#cookiePolicyWrap {
		padding-left: 5px;
		padding-right: 5px;
		width: auto;
	}
	.iradio_minimal {
    	margin-right: 4px !important;
	}
	
	.content-right .map-office-description {
		margin: 10px 0;
		width: 100%;
	}
	
	.map-office-description div#map-canvas {
		width: 100% !important;
	}
	
	.offer-left {
		width: auto;
		float: none;
	}
	div#gallery-photos {
		overflow: hidden;
	}
	.short-description {
		padding: 0 15px;
	}
	.text-div {
		padding: 0 15px;
	}
	.offer-right {
		float: none;
		width: auto;
		padding: 0 15px; padding-top:4px; padding-bottom:4px;
	}
	.offer-preview h2 {
		padding: 0 15px;
	}
	
	.form-box {
		width: 100% !important;
		padding: 0 15px;
		box-sizing: border-box;
	}
	.offer-preview .form-box .textarea textarea {
		width: 100%;
		box-sizing: border-box;
	}
	.offer-preview .form-box .input input {
		width: 190px;
	}

	#content .offers-container {
	    width: 100%;
	}
	.offer-item-content {
	    width: 70%;
	}

	.offer-add-office .control-group label {
	    width: 25%;
    	box-sizing: border-box;
	}
	.offer-add-office .control-group .controls {
	    width: 75%;
	}
	.offer-add-office .control-group input[type="text"], .offer-add-office .control-group input[type="email"],
	.offer-add-office .control-group textarea
	 {
	    width: 100%;
	    box-sizing: border-box;
	}

	#content .search-offers {
	    width: 100%;
	    padding: 10px;
	    box-sizing: border-box;
	}

	.offer-search-form .search-basic .control-group label {
	    width: 20%;
	    padding: 0;
	}
	.offer-search-form .search-basic .control-group .controls{
		width: 80%;
	}
	.offer-search-form .search-basic .control-group .controls input {
		width: 100%;
		box-sizing: border-box;
	}
	.offer-search-form .search-basic .control-group .controls .from-to-div input {
    	width: 100px;
	}

	div#son-partners-department-offers {
	    padding: 0 10px;
	    box-sizing: border-box;
	}
	.deals {
		background: white url("../images/okazje_bg_mobile.jpg") no-repeat scroll 0 0;
	}
}

@media screen and (max-width: 940px){
	.art-main {
	    width: 100%;
	    padding-left: 0;
	}
}

@media screen and (max-width: 910px){


	div#s2id_add-company-town {
		width: 100%;
		margin-bottom: 10px;
	}

	
	.content-right.company form input {
		width: 100%;
		box-sizing: border-box;
	}
	
	.content-right.company form textarea {
		width: 100%;
		box-sizing: border-box;
	}
	.content-right.company form button {
		display: block;
		margin: 20px auto;
		/* width: 250px; */
		float: none;
	}
	.content-right.company form label {
		width: 20%;
	}
	.content-right.company form .controls {
		width: 70%;
		margin-left: 1%;
		float: left;
	}
	div#s2id_autogen4 {
		width: 100% !important;
		margin-bottom: 10px;
	}

	.office .office-left {
	    width: 25%;
	    box-sizing: border-box;
	}
	.office-address {
	    width: 55%;
	    box-sizing: border-box;
	}
	.office-right2 {
	    width: 20%
	}
}

@media screen and (max-width: 890px){
	.offer-item-content {
	    width: 70%;
	    padding-left: 15px;
	    box-sizing: border-box;
	}
	.offer-result .gallery-thumbnails {
	    width: 23%;
	}
	.offer-result .gallery-photo {
	    width: 100%;
	}
}

@media screen and (max-width: 820px){
	/*.main_boxes .boxes-module-element {
		width: 50%;
		padding-left: 1.5%;
		padding-right: 1.5%;
		box-sizing: border-box;
	}
	
	a.boxes-module-element img {
		width: 100%;
	}
	.main_boxes .boxes-module-element:nth-child(3) {
	    padding: 0px;
	    width: 100%;
		padding: 1.5%;
	    box-sizing: border-box;
	}*/

	.usual ul.idTabs li, .usual ul.idTabsSearch li {
    	width: 50%;
	}
	.calc-tabs .usual ul.idTabs a {
	    width: 100%;
	}

	.calc-tabs .usual ul.idTabs a {
	    padding-left: 0;
	    padding-right: 0;
	}
	.calc-tabs .usual div.tab {
	    padding: 36px 10px 13px;
	}

	form#calculator-credit-form > div > div {
	    width: 50%;
	    margin: 0;
	    float: left;
	}
	.credit div.input {
	    width: auto !important;
	}

	form#calculator-credit-form input[type=text], input[type=email] {
	    width: 50%;
	}
	.credit div {
	    margin-right: 0;
	}
	.credit {
	    width: 85%;
	    margin: auto;
	}
	form#calculator-credit-form .checkboxes {
	    width: 85%;
	    margin: auto;
	}

	.pagination ul li:not(.active) {
		display: none;
	}
	.pagination ul li.disabled.no-border,
	.pagination ul li:nth-last-child(-n + 3),
	.pagination ul li:first-child		
	{
		display: inline-block;
	}


}

@media screen and (max-width: 780px){
	.search-department .control-group {
		margin-right: 0;
		width: 100%;
	}
	.search-department .control-group .controls input {
		width: 100%;
		box-sizing: border-box;
	}
	.content-right.company form label {
		width: 100%;
		text-align: left;
	}
	.content-right.company form .controls {
		width: 100%;
		margin-left: 0%;
	}
}

@media screen and (max-width: 730px){
	.offer-main-box .offer-result-gallery {
		width: 47%;
	}
	.offer-main-box .offer-result-gallery:nth-child(3n - 1){
		margin-bottom: 20px; 
	}
	ul.footer-menu {
    	width: 50%;
	}
	.footer-box {
    	float: none;
	}
	.search h2 {
	    margin-left: 15px;
	}
}

@media screen and (max-width: 700px){
	.main-container .deals #mycarousel{
		padding-left: 0;
	}
	.main-container .deals #mycarousel li {
		width: 48%;
	}
	a.photo-deal{
		width: 80%;
	}

	.offer-item-content {
	    width: 65%;
	}
	.offer-result .gallery-thumbnails {
	    width: 26%;
	}
}

@media screen and (max-width: 690px){
	.offer-add-office .control-group label {
	    width: 100%;
	    text-align: left;
	}
	.offer-add-office .control-group .controls {
	    width: 100%;
	}
}

@media screen and (max-width: 670px){
	div.idTabsSearch input[type=radio]:checked + label, div.idTabsSearch input[type=radio] + label
	{
	
		width: 50%;
		box-sizing: border-box;
	}
	div.idTabsSearch {
    	margin-left: 0;
	}

	div.idTabsSearch input[type=radio]:checked + label, div.idTabsSearch input[type=radio] + label {
	    padding-left: 5px;
	    padding-right: 5px;
	    text-align: center;
	}
	div.idTabsSearch input[type=radio] + label span, div.idTabsSearch input[type=radio]:checked + label span {
    	display: none;
	}
	
}

@media screen and (max-width: 630px){
	.main_boxes .boxes-module-element {
		width: 100%;
		box-sizing: border-box;
	}
	.main_boxes .boxes-module-element img{
		width: 100%;
	}
}

@media screen and (max-width: 620px){
	form#calculator-credit-form > div > div {
	    width: 100%;
	}
	form#calculator-credit-form input[type=text], input[type=email] {
    	width: 75%;
	}
	.credit,
	form#calculator-credit-form .checkboxes
	{
    	width: 100%;
	}
	.credit div.input div.percent {
	    font-size: 12px;
	}
}
@media screen and (max-width: 580px){
	.content-right.company .all-estate .office-address {
		width: 77%;
	}
	.content-right.company .all-estate {
		padding-left: 0px;
	}
	.content-right.company .all-estate .office-right {
		width: auto;
	}
}


@media screen and (max-width: 550px){
	.art-main {
		width: 100%;
		padding-left: 0;
	}
	
	.offer-main-box .offer-result-gallery {
		width: 97%;
	}

	.offer-result .gallery-thumbnails {
    	width: 100%;
	}
	.icons-left a.icon-link1, 
	.icons-left a.icon-link2
	{
	    padding-left: 0;
	    width: 41px;
	    display: block;
    	float: left;
	}
	.offer-result > .icons-left {
	    width: 100%;
	}
	.offer-result .gallery-photo a, 
	.offer-result .gallery-photo a img
	{
	    display: block;
	    width: 100%;
	}
	.offer-item-content {
	    width: 100%;
	    margin-top: 20px;
	    padding: 0;
	}
	.gallery-photo-container {
		margin-bottom: 5px;
	}
	.offer-result-gallery {
	    width: 97%;
	}
	.offer-search-form .search-basic .control-group label, 
	.offer-search-form .search-basic .control-group .controls
	{
	    width: 100%;
	}


}

@media screen and (max-width: 500px){

    table th {
	    padding: 6px 1px 5px;
	}
}

@media screen and (max-width: 490px){
	.offer-preview .form-box .input input {
		width: 100%;
		box-sizing: border-box;
	}
	.offer-preview .form-box .input {
		width: 100%;
		box-sizing: border-box;
		padding-right: 0;
	}
	a#lista,  
	a#galeria
	{
	    margin-bottom: 10px;
	}
	.result-view span {
	    display: block;
	    margin-bottom: 10px;
	}
}

@media screen and (max-width: 480px){
	ul.footer-menu {
	    width: 100%;
		margin-bottom: 0;
		margin-top: 0;
	}
	table td {
	    font-size: 12px;
	}

	#footer div.text {
		width: 100%;
		text-align: center;
	}
	.footer-box img {
		display: block;
		margin: auto;
	}
}
@media screen and (max-width: 460px){
	.index-search-form .search-basic .control-group > label, .index-search-form .search-advanced .control-group.surfaceArea-select label, .index-search-form .search-advanced > div.part-2 .control-group > label,
	.index-search-form .search-advanced .control-group > label
	 {
	    width: 100%;
	    text-align: left;
	}
	.index-search-form .search-basic .control-group > .controls, 
	.part-1 .control-group .controls, .part-2 .control-group .controls
	{
	    margin-left: 0;
	    width: 100%;
	}
	.index-search-form .from-to-div input,
	.index-search-form .search-advanced .control-group.surfaceArea-select .from-to-div input, .index-search-form .search-advanced .control-group.plotSurfaceArea-select .from-to-div input
	 {
	    float: left;
	  	width: 42.5%;
	    box-sizing: border-box;
	}
	.index-search-form .from-to-div > div, 
	.index-search-form .search-advanced .control-group.surfaceArea-select .from-to-div > div, .index-search-form .search-advanced .control-group.plotSurfaceArea-select .from-to-div > div
	{
		width: 15%;
	}
	
	form#calculator-costs-form .credit > div {
		width: 100%;
	}
	form#calculator-costs-form input[type=text], form#calculator-costs-form input[type=email] {
		width: 100%;
		box-sizing: border-box;
	}

	.office .office-left, 
	.office-address,
	.office-right2
	{
    	width: 100%;
    	margin-bottom: 15px;
	}

	.office-middle a {
	    display: block;
	    margin-bottom: 10px;
	    float: left;
	    width: 50%;
	}
	.office-address h4 {
	    text-align: center;
	}
}

@media screen and (max-width: 450px){
	.offer-preview .data-photo {
		width: 100px;
	}
}

@media screen and (max-width: 420px){
	.main-container .deals #mycarousel li {
		width: 100%;
	}
	.art-photo {
		width: 85%;
		margin: 15px auto;
		float: none;
	}
	.art-content {
		width: 100%;
	}
	.calc-tabs .usual ul.idTabs a {
    	height: 60px;
	}
	form#calculator-credit-form input[type=text], input[type=email] {
    	width: 86%;
	}
	.pagination ul li {
		padding-left: 0px;
		padding-right: 0px;
	}
}


@media screen and (max-width: 420px){
	div.objects input[type=radio] + label {
	    padding: 10px 15px 0;
	}
}

@media screen and (max-width: 405px){
	.offer-preview .data-photo {
		width: 70%;
		display: block;
		margin: auto;
		float: none;
		margin-bottom: 15px;
	}
}

@media screen and (max-width: 740px)
{
	#cookiePolicy { display:none;}

	#gallery-photos {
	    height: 335px;
	}
	#photos-ul
	{
		text-align: center;
	}

	.gallery-navigation
	{
		display: none;
	}
	.gallery-elements
	{
		display: inline-flex;
		justify-content: space-between;
		width: 80%;
		margin: 0 auto;
		height: inherit;
	}
	
	.gallery-elements a 
	{
		width: 15px;
		height: 15px;
		display: block;
		background: url('../images/rwd_circle.png') no-repeat center center transparent;
	}	
	.gallery-elements a.active 
	{
		background: url('../images/rwd_circle_active.png') no-repeat center center transparent;
	}
	.gallery-elements a img
	{
		display: none;
	}



}	


@media screen and (max-width: 400px) 
{
	div#gallery-photos	{ height:300px; }

}

@media screen and (max-width: 1000px){

	.rwd-only { display:block;}
	.desktop-only { display:none;}
	.rwd-only h1{ margin-bottom:0px;}
	.short-description { padding-top:0px;}
}
@media screen and (min-width: 1001px){

	.rwd-only { display:none;}
	.desktop-only { display:block;}

}

