.content-wrapper.rounded-corners {
    background-color: transparent;
}

.content-wrapper.content-wrapper-detail {
    box-shadow: none;
}

.text-center {
    text-align: center;
}

.text-area--immmo-detail {
    background-position: 17px 16px;
}

.estate {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 50px;
    width: 100%;
}

.estate-row {
    background: white;
    box-shadow: 0 5px 20px 0 rgba(0,0,0,.05);
    transition: background 300ms ease-in-out, box-shadow 300ms ease-in-out, transform 300ms ease-in-out;
    color: #004789;
}

.estate-row:hover {
    background: #12aaeb00;
    box-shadow: 0 5px 20px 0 rgba(0,0,0,.15);
}

.estate h2 {
    font-size: 20px;
}

.estate .tags {
    margin-bottom: 10px;
}

.estate .tag {
    background: #899da7;
    border-radius: 5px;
    color: white;
    font-size: 12px;
}

.estate .tag + .tag {
    margin-left: 5px;
}

.estate-row .content,
.estate-row .main-image {
    display: inline-block;
}

.estate-row .content {
    padding: 15px 15px 15px 30px;
    vertical-align: top;
    width: calc(100% - 250px);
    height: 250px;
    position: relative;
}

.estate-row .main-image {
    height: 250px;
    width: 250px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.estate .zipcode {
    margin-bottom: 15px;
}

.estate .bottom {
    position: absolute;
    bottom: 25px;
    width: 100%;
}
.estate .bottom .heading {
    font-size: 12px;
    margin-bottom: 5px;
}

.estate .bottom .fact {
    display: inline-block;
    width: 33.3%;
}

.estate .bottom .value {
    font-size: 22px;
}

.estate .bottom .value-price {
    font-weight: 600;
}

.estate .bottom .value-price.on-request {
    font-size: 20px;
    line-height: 22px;
}

.estate-single {
    box-shadow: 0px 0px 3px 0px #d4d4d4;
}

.estate-single .content,
.estate-single .prices {
    padding: 20px 25px;
}

.estate-single .row {
    padding: 3px 0;
    display: flex;
    flex-flow: wrap;
}

.estate-single .label,
.estate-single .info-content {
    display: inline-block;
    vertical-align: top;
    line-height: 22px;
}

.estate-single .label {
    font-weight: bold;
    width: 33.3%;
}

.estate-single .info-content {
    width: 66.6%;
}

.estate-single .content {
    background: white;
    position: relative;
}

.estate-single .bottom {
    position: relative;
    bottom: 0;
}

.estate-single .content.height-auto {
    height: auto;
}

.estate-single .prices {
    background: #f5f5f5;
}

form label {
    margin-top: 15px;
    font-weight: 600;
}

input,
textarea,
select {
    width: 100%;
}

select,
input,
textarea {
    border: 1px solid #ced4da;
    padding: 8px 10px;
}

textarea {
    line-height: 22px;
}

select {
    background: white;
}

select:focus,
input:focus,
textarea:focus {
    outline-color: #abb0b5;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

#contact-form textarea {
    height: 100%;
}

#contact-form button {
    padding: 0;
}

.col-50 {
    display: flex;
    flex: 1 0 48%;
    flex-direction: column;
}

.col-50 + .col-50 {
    margin-left: 4%;
}

.sorting {
    margin-bottom: 20px;
    margin-top: 30px;
    font-weight: 600;
}

.sort-by {
    position: relative;
    padding: 10px 25px 10px 15px;
}

.sort-by:before,
.sort-by:after {
    border: 4px solid transparent;
    content: "";
    display: block;
    height: 0;
    right: 5px;
    top: 50%;
    position: absolute;
    width: 0;
}

.sort-by:before {
    border-bottom-color: #666;
    margin-top: -9px;
}
.sort-by:after {
    border-top-color: #666;
    margin-top: 1px;
}

.contact-success {
    padding: 20px;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 30px;
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    text-align: center;
}

@media screen and (max-width: 320px) {
    .estate .bottom .value {
        font-size: 16px;
    }
}

@media screen and (max-width: 380px) {
    .estate .bottom .fact-50 {
        width: 50%;
    }

    .estate .bottom .value {
        font-size: 18px;
    }
}

@media screen and (max-width: 767px) {
    .content-wrapper {
        padding: 0;
    }

    .estate-row .main-image {
        display: block;
        margin: 0 auto;
    }

    .estate-row .content {
        height: auto;
        display: block;
        width: 100%;
    }

    .estate .bottom {
        position: relative;
        bottom: inherit;
        margin-top: 30px;
    }

    .estate-single .label {
        width: 100%;
    }

    .estate-single .info-content {
        width: 100%;
    }

    .col-50 {
        flex: 1 0 100%;
    }

    .col-50 + .col-50 {
        margin-left: 0;
    }
}
