body {

    background-image: url("images/stripe-bg3.png");
}

.navbar {
    margin-bottom: 0px;
    border-radius: 0 0 10px 10px;
    font-family: "Arial";
}

.navbar-right {
    margin-top: 10px;
}

.banner {
    width: 100%;
    border-radius: 10px 10px 0 0;
}

.nav-and-banner {
    padding-right: 0;
    padding-left: 0;
    margin-bottom: 10px;
    box-shadow: 2px 3px 10px #B3B3B3;
    border-radius: 10px;
}

h2 {
    padding: 0;
    margin: 0;
    font-family: "Arial";
    color: #717171;
    font-weight: bold;
    font-size: 22px;
    text-transform: uppercase;
    text-shadow: 1px 1px 5px #B2B2B2;
}

h1 {
    color: #717171;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 25px;
    padding: 0;
    margin: 0;
    text-shadow: 1px 1px 5px #B2B2B2;
}

.stuffBelowEstates {
    position: absolute;
    bottom: 0;

    width: 100%;
    margin: auto;

    background-color: #ffffff82;

}

.filtersForm {

    font-size: 21px;
    text-align: center;
    margin: 16px 0 26px 0;
    line-height: 2.4em;

}

.filtersForm .filterSelect {

    color: black;
    margin-right: 1em;
    padding: 0.3em 1.6em 0.3em 0.4em;
    border-radius: 0.4em;
    border: none;
    outline: none;

    background: url("images/selectArrow.png") no-repeat right white;
    -webkit-appearance: none;
    background-position-x: 95%;
    line-height: initial;

}

.filtersForm .headqOption {
    font-weight: bold;

}

.filtersForm .filterSelect option:invalid {
    color: #8f8f8f;

}

.filtersForm option {
    font-size: 0.8em;
    color: black;
}

.filtersForm .filterSelect:invalid {
    color: #8c8c8c;
}

.filtersForm option.defaultSelectOption {
    color: #8c8c8c;
}

.filtersForm .categorySelect {}

.filtersForm .locationSelect {}

.filtersForm .searchButton {
    font-weight: 500;
    border: none;
    background-color: #910b17;
    color: white;
    padding: 0.34em 0.8em;
    border-radius: 0.4em;
    text-shadow: none;

}

.filtersForm .searchButton:hover {
    text-decoration: none;
}


.resultsHeader {
    display: grid;
    grid-template-columns: auto 372px;
    align-items: flex-end;
    column-gap: 3%;
}


#priceSum {


    align-self: flex-end;
    max-width: 372px;

    font-family: "Arial";
    color: #910b17;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 1px 1px 5px #B2B2B2;
    background-color: white;
    border: 3px solid;
    padding: 5px;
    border-radius: 0.5em;
    margin-top: 5px;
    margin-bottom: 7px;

    text-align: center;
}

@media (max-width: 1199px) {
    .resultsHeader {
        grid-template-columns: auto 221px;
    }
}

@media (max-width: 690px) {
    .resultsHeader {
        grid-template-columns: 1fr;
    }

    #priceSum {
        align-self: auto;
    }
}


.subtitle {
    position: relative;
    width: 100%;
    display: inline;
    float: left;
    padding-top: 0px;
    border-bottom: solid 2px lightgray;
}

.subtitle .leftTitleAbsolute {
    display: inline;

}

.subtitle .noFilterLink {
    color: #910b17;
    text-decoration: underline;
    padding-bottom: 0.5em;
    padding-top: 0.1em;
    display: block;
}

.subtitle h2 {}


.subtitle a {
    color: lightgray;
    font-family: "Arial";
    color: #717171;
    text-shadow: 1px 1px 5px #B2B2B2;
}

.gdprLinks {
    text-align: right;
    font-size: 12px;

    align-self: center;
    display: flex;
    flex-direction: column;
}

.real-estate {
    float: left;
    margin: 15px;
    border: solid 1px lightgray;
    border-radius: 1px;
    background-color: white;
}

.real-estate:hover {
    box-shadow: 3px 3px 8px lightgray;
}

@media (max-width: 480px) {
    .real-estate {
        width: 100%;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .real-estate {
        max-width: 43%;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .real-estate {
        max-width: 44.5%;
        margin: 19px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .navbar {
        min-height: 70px;
        padding-top: 10px;
        font-size: 16px;
    }
}

@media (min-width: 1200px) {
    .real-estate {
        max-width: 30.7%;
        margin: 22px;
    }

    .navbar {
        min-height: 73px;
        padding-top: 10px;
        font-size: 17px;
    }
}

@media (max-width: 690px) {
    .subtitle .leftTitleAbsolute {

        position: relative;
    }

    .subtitle h2 {
        position: relative;
        float: inherit;
        text-align: left;
        padding-top: 0;
    }

    .gdprLinks {
        font-size: 10px;
        float: left;
        text-align: left;
    }

    .filtersForm {
        font-size: 18px;
        margin: 5px 0 10px 0px;
    }

    .filtersForm .filterSelect {
        margin-right: 0.5em;
    }
}

h3 {
    border-bottom: solid 1px lightgray;
    margin-top: 10px;
    padding-bottom: 4px;
    font-family: "Arial";
    font-weight: 600;
    color: #666666;
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
}

h4 {
    border-bottom: solid 1px lightgray;
    color: #808080;
    font-weight: bold;
    font-size: 15px;
    padding: 0 5px 5px 5px;
    text-align: center;
    text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
}

.real-estate img {
    width: 100%;
    max-height: 290px;
}



@media (pointer: fine) {
    .real-estate img:hover {
        -webkit-filter: brightness(100%);
    }

    .real-estate img {
        -webkit-filter: brightness(90%);
    }
}




.real-estate a {
    text-decoration: none;
}

.glyphicon-euro {
    margin: 0px 3px 0 6px;
    color: #910b17;
    font-weight: bold;
    display: inline;
}

.price {
    display: inline;
    color: #910b17;
    font-size: 16px;
    font-family: "Arial";
    font-weight: 600;
}

.button {
    background-color: #910b17;
    float: right;
    padding-top: 0;
    margin-right: 5px;
    display: inline;
    font-family: "Arial";
    font-weight: 600;
    color: white;
    padding: 3px 5px;
    border-radius: 5px;
}

.button:hover {
    background-color: #BD0F20;
}

.thumbnail-footer {
    margin: 10px;
}

.container.office {
    padding: 15px;
}

.office img {
    float: left;
    display: inline;
    margin: 5px 30px 10px 5px;
    border-radius: 10px;
    box-shadow: 3px 3px 10px lightgray;
    max-width: 100%;
}

.office p {
    padding: 10px;
    display: inline;
    color: #303030;
    font-size: 16px;
}

.about-us {
    padding-top: 5px;
}

.office ul p {
    font-size: 15px;
    color: #303030;
    padding-bottom: 30px;
}

.office li {
    margin: 10px 10px;
}

.disclaimer {
    font-size: 12px;
    width: 250px;
    padding-top: 15px;
    margin: auto;
    text-align: center;
}

.about {
    margin-left: 10%;
    display: inline;
    float: left;
    text-align: center;
    margin-top: 10px;
}

.about :hover {
    box-shadow: 2px 2px 5px lightgray;

}

@media (max-width: 480px) {
    .about {
        padding-left: 0;
        width: 80%;
    }

    .stuffBelowEstates {
        position: initial;
    }

}

@media (min-width: 481px) and (max-width: 619px) {
    .about {
        padding-left: 16%;
    }
}

@media (min-width: 620px) and (max-width: 991px) {
    .about {
        padding-left: 25%;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .about {
        margin-left: 2%;
    }
}

@media (min-width: 992px) {
    .about {
        margin-top: 40px;
    }
}

.about span {
    color: #910b17;
}

.panel-body {
    font-family: "Tahoma";
    color: #910b17;
    font-weight: bold;
    font-size: 16px;

}

.wellimob-map {
    float: right;
    display: inline;
}

@media (max-width: 990px) {
    .wellimob-map {
        width: 100%;
    }

    .office img {
        width: 100%;
    }

    .disclaimer {
        padding-top: 0;
        margin-bottom: 10px;
    }

    .panel {
        margin-bottom: 10px;
    }
}

.about.contact {
    padding: 15px;
}

.contact-form {
    display: inline;
    float: left;
}

.demo {
    float: left;
    display: inline;
}

.real-estate-details {
    float: left;
    padding-top: 10px;
    display: inline;
    width: 48%;
    margin-left: 2%;
}

@media (max-width: 600px) {
    .real-estate-details {
        width: 100%;
        margin: 0;
        margin-bottom: 2.7vw;
    }
}

.real-estate-details .button {
    font-size: 16px;
    float: left;
    display: inline;
    margin-left: 5px;
    letter-spacing: 1px;
}

.real-estate-details .category {
    font-size: 20px;
    float: left;
    display: inline;
    padding-left: 10px;
    padding-right: 10px;
    border: none;
}

.real-estate-details .money {
    display: inline;
    float: left;
    font-size: 20px;
}

.real-estate-details .price {
    font-size: 20px;
}

.real-estate-details h4 {
    margin-top: 0;
}

.basic-details {
    padding-top: 10px;
    padding-left: 15px;
    font-size: 16px;
    line-height: 130%;
}

.basic-details ul {
    list-style-type: circle;
    padding-left: 20px;
    padding-top: 3px;
    padding-bottom: 0;
}

.basic-details .glyphicon-ok {
    font-size: 12px;
}

.real-estate-details .glyphicon-map-marker {
    margin-top: 13px;
    color: #910b17;
}

.glyphicon-map-marker {
    margin-top: 13px;
    color: #910b17;
}

.real-estate-details .well {
    margin-top: 10px;
    margin-bottom: 7px;
}

.description {
    padding-top: 10px;
}

.searchbox {
    max-width: 35%;
    color: gray;
    font-size: 16px;
    text-align: center;
    float: left;
    display: inline;
    margin-right: 17px;
    margin-top: 10px;
}

.panel-body {
    color: gray;
    font-weight: 600;
}

.panel-heading {
    padding-bottom: 0
}

.search-title {
    color: #910b17;
    font-family: "Arial";
    font-weight: 800;
    font-size: 18px;
    border: bottom 1px solid lightgray;
}

.searchbox select {
    margin-bottom: 7px;
}

.price-range {
    padding-top: 15px;
    color: gray;
    padding-bottom: 20px;
}

.price-range input {
    color: lightgray;
}

.min-value,
.max-value {
    width: 65px;
    height: 30px;
    font-weight: 500;
}

.price-range span {
    color: gray;
    font-weight: 500;
}

.searchbox .button {
    float: none;
    font-size: 18px;
    padding: 5px 10px 5px 10px;
}

.real-estates {
    float: left;
    display: inline;
    width: 100%;

}


.estatesGrid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
}


.real-estate2 {
    position: relative;
    float: left;
    margin: 15px;
    border: solid 1px lightgray;
    border-radius: 1px;
    background-color: white;
    display: inline;
}

.real-estate2:hover {
    box-shadow: 3px 3px 8px lightgray;
}

.real-estate2 img:hover {
    -webkit-filter: brightness(100%);
}

.real-estate2 img {
    width: 100%;
    max-height: 290px;
    -webkit-filter: brightness(90%);
}


.real-estate2 a {
    text-decoration: none;
}

.real-estate2 h3 {
    text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
}

@media (min-width: 1200px) {
    .real-estate2 {

        height: 400px;
    }

    .real-estate2 img {
        max-height: 290px;
    }
}

@media (max-width: 1199px) {
    .estatesGrid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 599px) {
    .estatesGrid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .real-estate2 {
        height: 400px;
    }

    .real-estates {
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .real-estate2 {
        height: 400px;
    }

    .real-estates {
        width: 100%;
    }

    .navbar-right {
        margin-top: -8px;
        margin-bottom: 12px;
    }

    .navbar-right.navbar-right-romanian {
        margin-top: 12px;
    }
}

@media (min-width: 617px) and (max-width: 768px) {
    .real-estate2 {
        height: 395px;
    }

    .real-estates {
        width: 100%;
    }
}

@media (min-width: 481px) and (max-width: 616px) {
    .real-estate2 {
        height: 350px;
    }

    .real-estates {
        width: 100%;
    }
}

@media (min-width: 342px) and (max-width: 480px) {
    .searchbox {
        max-width: 100%;
        margin-left: 15%;
    }

    .real-estate2 {
        height: auto;
    }

    .real-estates {
        width: 100%;
    }
}

@media (max-width: 341px) {
    .searchbox {
        max-width: 80%;
        margin-left: 10%;
    }

    .real-estate2 {
        max-width: 100%;
    }

    .real-estates {
        width: 100%;
    }
}

.new-estate-form {
    margin: 15px;
}

.new-estate-form span {
    font-weight: 500;
    color: gray
}

.new-estate-form textarea {
    width: 100%;
}

@media (min-width: 700px) {
    .new-estate-form {
        margin: auto;
        width: 50%;
    }
}

@media (min-width: 1000px) {
    .new-estate-form {
        margin: auto;
        width: 100%;
    }
}

.input-title {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
    color: #910b17;
}

.input-item {
    padding: 9px;
}

.edit-delete {
    text-align: center;
    padding-top: 5px;
}

.edit-delete button {
    margin: 0 2px;
}

.subtitle ul {
    margin-left: 15px;
}

.footer {
    background-color: white;
    border-top: solid 2px white;
    border-right: solid 2px white;
    border-left: solid 2px white;
    color: gray;
    border-radius: 15px 15px 0 0;
    padding: 5px;
    text-align: center;
}

.footertext {
    display: inline;
}

.legalStuff p {
    margin-top: 10px;
}

.legalStuff h1 {
    padding-bottom: 3px;
    padding-top: 10px;
}

#pageNavigation {
    font-size: 19px;
    text-align: center;
    margin-bottom: 15px;
    border-bottom: solid 2px lightgray;
    border-top: solid 2px lightgray;
    padding-bottom: 10px;
    padding-top: 10px;
}

#pageNavigation .buttonWrapper {
    display: initial;

}

#pageNavigation #currentPage {
    color: #717171;
    text-shadow: 1px 1px 5px #B2B2B2;
    padding-right: 3px;
}

#pageNavigation .prevPage,
#pageNavigation .nextPage {
    color: white;
    background-color: #910b17;
    border-radius: 13px;
    border: none;
}

#pageNavigation .prevPage {
    padding-left: 9px;
    padding-right: 12px;

}

#pageNavigation .disabledButton {
    opacity: 0.3;
    background-color: grey;
    pointer-events: none;
}

#pageNavigation a:hover {
    text-decoration: none;
}


#pageNavigation .nextPage {
    padding-right: 9px;
    padding-left: 12px;
}

@media (min-width: 992px) {
    #pageNavigation {
        padding-top: 0.7vw;
        padding-bottom: 0.7vw;
        margin-top: 0.7vw;
        margin-bottom: 1.5vw;
    }

    #pageNavigation #currentPage {
        padding-left: 4vw;
        padding-right: 4vw;
    }

}

#socialStuff {
    text-align: center;
}

#facebookButton {
    position: relative;
    top: -7.4px;
}

.estate-full-image {
    width: 100%;
}

.facebook-icon {
    width: 17px;
    height: auto;
    position: relative;
    top: -2px;
}


#franchise-banner {
    background-color: #910b17;
    color: white;
    border-radius: 5px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 5px;
    text-align: center;
    margin-bottom: -9px;
    padding-left: 10px;
    padding-right: 10px;
    max-width: 100%;


    float: left;
    margin-top: 4px;


}

#franchise-banner a {
    background-color: #910b17;
    color: white;
    text-align: center;
    text-shadow: none;
    font-size: 17px;
}