@media (max-width: 900px) {
	#wrapper {
		width: 100%;
	}
	
	#header {
		width: 100%;
	}
	
	#headerBild {
		margin-left: 0;
	}
	
	#container {
		padding-right: 0;
	}
	
	#main {
		width: 65%;
    	max-width: 100%;
	}
	
	#right {
	    width: 32%;
	    background-size: 100%;
	    float: left;
	    margin-right: 3%;
	}
	
	#footer .inside {
		width: 100%;
	}
	
	#kontakt .widget-radio span, #kontakt .widget-checkbox span {
	    display: block;
	}
	
	.nosidebar #container {
	    margin: 0 20px;
	}
	
	#right .inside, #right .mod_article {
		background-image: none;
	}
	
	/* Listenansicht */
	#vermietung #estate_list .item img {
		width: 90%;
	}
	
	#headerbild img {
	    height: 240px;
	    width: auto;
	    max-width: 500%;
	}
	
	#navi ul:after {
		font-size: 1.3rem;
		top: 27%;
	}
	
	.year-container:after {
		right: 32px;
	}
	
	/* Detailansicht */
	.detailansicht .estate-detail .content, .detailansicht .estate-detail .right {
		width: 50%;
	}
	
	.detailansicht .total-rent .label,
	.estate-detail .energieverbrauchskennwert,
	form .frage, form span.captcha_text,
	.detailansicht .field {
		font-size: 0.8rem;
	}
	
	.detailansicht .total-rent .value-number {
		font-size: 1rem;
	}
	
	/* Referenzen */
	.galerie-list-box {
		position: relative;
		width: 100%;
		margin: 0;
	}
	
	.galerie-list {
		padding: 0;
		background-image: none;
	}
	
	.galerie-list li {
		margin: 0 5px 5px 0;
    	width: 48%;
	}
	
	.galerie-list li .img-box {
		width: 99%;
		min-height: 130px;
	}
	
	.galerie-list li .caption {
		text-align: center;
	}
	
	#referenzen .pagination p {
		float: none;
	}
	
	.kontakt #anfahrt .inside {
    	width: 90%;
    	margin: 0 0 50px !important;
	}
	
	.dlh_googlemap {
	    width: 100% !important;
	}
}

@media (max-width: 767px) {
	body {
		background-image: none;
	}
	
	.year-container, #naviTop, #headerBild, #navi ul:after {
	    display: none;
	}
	
	#header {
		background-image: none;
		position: fixed;
		z-index: 9999;
		background: #A8C53D;
		width: 100%;
	    left: 0;
	    height: 80px;
	}
	
	#miwoaglogo a:after {
	    background-size: auto 75px;
	    width: 70%;
	    left: 10px;
	    top: 5px;
	    height: 70px;
	    background-position: left;
	}
	
	#mobile-menu {
	    display: block;
	    text-align: right;
	    margin: 0px 15px;
	    font-size: 3rem;
	    cursor: pointer;
	    margin: 10px 20px 0 0;
	    position: absolute;
	    top: 0;
	    right: 0;
	}
	
	#miwoaglogo img {
	    width: 200px;
	    height: auto;
	}
	
	#miwoaglogo {
	    margin: 1% 0 0 3%;
	    background-image: none;
	}
	
	#navi {
		display: none;
		height: 100vh;
		background: #A8C53D;
	}
	
	nav ul {
		margin-left: 2% !important;
	    margin-right: 5% !important;
	    top: 100px !important;
	    width: 93% !important;
	}
	
	#navi ul li a, #navi ul li .active {
    	font-size: 1rem !important;
    	color: #fff !important;
	}
	
	#navi ul li {
	    float: none !important;
	    height: initial !important;
	    padding: 15px 0 !important;
	    margin-left: 20px !important;
	    border-bottom: 1px solid #fff;
	}
	
	#container {
		padding: 80px 0 0 0 !important;
	}
	
	/* Referenzen */
	
	#referenzen ul li {
    	width: 100%;
	}
	
	#referenzen .image_container {
		height: initial;
	}
	
	/* Detailansicht */
	
	.detailansicht {
	    width: 100%;
	    margin: 0;
	}
	
	.detailansicht a.contact-btn, 
	.detailansicht input[type="submit"], .detailansicht input.submit {
		font-size: 1rem;
	}
	
	.detailansicht .content-right-container {
		height: inherit;
	}
	
	.estate-detail .obj-header {
		padding: 0;
		text-align: left;
	}
	
	.detailansicht .obj-header h1 {
	    font-size: 1rem;
	}
	
	.estate-detail .obj-details {
		min-height: initial;
	}
	
	.detailansicht .content, .detailansicht .right {
		width: 100% !important;
		float: none;
	}
	
	.detailansicht .content-box, 
	.detailansicht .right > div,
	.detailansicht #anfrage {
		padding: 0px 20px 20px;
	}
	
	.detailansicht h4 {
		font-size: 1.1rem;
	}
	
	.detailansicht .container-buttons {
		height: 20px;
    	overflow: visible;
    	position: relative;
	}
	
	.detailansicht .container-buttons .total-rent {
	    margin: 0;
    	width: 50%;
    	padding: 0;
    	border: none;
    	height: 50px;
	}
	
	.detailansicht .container-buttons .field {
		background: #e6e6e6;
		padding-top: 8px;
	}
	
	.detailansicht a.contact-btn, .detailansicht .total-rent {
		margin: 0 1% 2% 0;
	}
	
	.detailansicht .total-rent .value-number {
	    font-size: 1rem;
	}
	
	.detailansicht .right .label {
		width: 50%;
    	color: #999;
	}
	
	.detailansicht textarea, .detailansicht input {
	    width: 100%;
	    max-height: 100px;
	}
	
	.estate-detail .preis.energie .obj-details {
		margin-bottom: 10px !important;
	}
	
	.detailansicht form td {
	    display: block;
	}
	
	.detailansicht input[type="submit"], .detailansicht input.submit {
		width: initial;
	}
	
	.mod_rocksolid_slider {
	    width: 100% !important;
	    height: 320px !important;
	}
	
	.detailansicht .rsts-view {
		height: 250px;
	}
	
	.mod_rocksolid_slider .rsts-view img {
	    height: 250px !important;
    	width: auto !important;
    	margin: 0px auto !important;
	}

	.estate-detail form input,
	.estate-detail form label,
	.detailansicht form textarea {
		width: 100%;
	}

	.estate-detail .field>div:last-child {
		float: none;
	}
	
	/* Startseite */
	.immoStartAuswahl #estate_list .estate {
		width: 96%;
		height: initial;
	}
	
	.immoStartAuswahl .container-buttons {
		height: initial;
	}
	
	.immoStartAuswahl .mix.item {
		position: relative;
	}
	
	#home .container-buttons .total-rent {
		background: #f2f2f2;
		padding-bottom: 6px;
		border-top: none;
	}
	
	.container-buttons a.more-details, .container-buttons a.contact-btn {
		padding: 14px 0;
	}

	/* Listenansicht */

	#estate_list .estate {
		width: calc(100% - 20px);
	}
}

@media (max-width: 640px) {
	#main, #right {
		width: 100%;
	}
	#social-media {
		right: 50%;
	}
}

@media (max-width: 640px) {
	.estate-filter label {
		height: 42px;
	}
}

@media (max-width: 450px) {
	/* Allgemein */
	#wrapper {
		width: 100%;
		padding-bottom: 0;
	}
	
	#container {
    	margin: 0 2%;
	}
	
	#main .mod_article {
		padding-top: 0;
	}
	
	#container #main {
		width: 100%;
	}
	
	#right {
		width: 100%;
		float: left;
    	margin-top: 0;
	}
	
	#main {
		line-height: normal;
	}
	
	#main .mod_article {
		padding-right: 5px;
    	padding-left: 5px;
	}
	
	sup {
		top: 0;
	}
	
	/* Footer */
	#footer {
	    height: 100px;
	    padding: 0;
	    margin: 0;
	    background-image: none;
	    background: #A8C53D;
	    position: relative;
	}
	
	#footer .inside {
		width: 100%;
		height: initial;
	}
	
	#footer img {
	    float: left;
	    margin-top: 10px;
	}

	#footer a, #footer li.active span {
	    font-size: 0.8rem;
	}
	
	#naviFooter, #social-media, #footerlogo {
		position: relative;
	}
	
	#naviFooter {
		float: left;
		margin-bottom: 10px;
	}
	
	#naviFooter ul {
	    width: 100% !important;
	    padding: 0;
	}
	
	#naviFooter ul li {
		margin-top: 0;
		margin-bottom: 15px;
		float: left;
		border: none;
	}
	
	#social-media {
		float: right;
		right: 0;
		margin-right: 15px;
	}
	
	#footerlogo {
		float: left;
		clear: left;
	}
	
	/* Header/Menü */

	
	/* Listenansicht */
	
	#estate_list .estate {
	    width: 96%;
	    margin: 2% 2% 6% 2% !important;
	    height: initial;
	}
	
	#estate_list .estate h2 a {
		font-size: 1rem;
	}
	
	#estate_list img {
		width: 100%;
	}
	
	#estate_list .item, #estate_list .objectDescr {
		font-size: 0.8rem !important;
		margin-bottom: 60px;
	}
	
	#vermietung .container-buttons .total-rent {
		padding: 7px 0 !important;
	}
	
	.container-buttons .total-rent .label {
		font-size: 0.8rem;
	}
	
	.container-buttons .total-rent .value, .container-buttons a.more-details {
		font-size: 1rem;
	}
	
	.container-buttons {
		height: 50px;
	}
	
	.mod_immoListView .pagination {
		margin-top: 0;
	}
	
	.mod_immoListView .pagination ul li a {
		font-size: 1rem;
	}
	
	#estate_filter_list > div {
		width: 46%;
		margin: 0 10px 10px 0;
	}
	
	.select2-container {
		width: 100% !important;
	}
	
	.estate-filter label {
		font-size: 0.8rem;
		height: inherit;
	}
	
	/* Kontakt */
	#kontakt form textarea, #kontakt form .widget-text input {
	    width: 97%;
	}
	
	#kontakt form .widget-captcha input {
		width: 25%;
	}
}

@media (max-width: 420px) {
	#estate_list .estate {
		height: initial;
	}
	
	#estate_list .item, #estate_list .objectDescr {
		float: none;
	}
	
	#estate_list .item {
		width: 90%;
		margin-bottom: 0;
	}
	
	.content.objectDescr {
	    width: 100% !important;
	    margin-top: 10px;
	    margin-bottom: 60px;
	}
}

@media (max-width: 320px) {
	#estate_filter_list > div {
		width: 90%;
	}
}