:root {
  --swiper-navigation-size: 10px;
  --swiper-navigation-color: black;
  --swiper-theme-color: white;
}

material-symbols-rounded {
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48
}
body {
    font-family: 'Inter', sans-serif;
    font-size: 0.9em;
    color: #333333;
    margin: 0 0 100px 0;
}

a {
    color: #666666;
    text-decoration: none;
}
a:hover {
    color: black;
    text-decoration: underline;
}

a.anchor {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

h1 > strong,
h2 > strong {
    color: #fe9900;
}

.highlight {
  position: relative;
}

.highlight::before {
  /* Highlight color */
  background-color: rgb(255,255,0);

  content: "";
  position: absolute;
  width: calc(100% + 4px);
  height: 60%;
  left: -2px;
  bottom: 0;
  z-index: -1;
  transform: rotate(-2deg);
}

.footer {
    margin-top: 10px;
    text-align: center;
}

/* Rules for sizing the icon. */
.md-14 {
    vertical-align: sub;
    font-size: 14px;
}
.md-18 {
    vertical-align: sub;
    font-size: 18px;
}
.md-24 {
    vertical-align: sub;
    font-size: 24px;
}
.ms-big {
    font-size: 1.5em;
    vertical-align: middle;
}

.search {
    width: 100%;
    position: relative;
    display: flex;
    border-radius: 35px 35px 35px 35px;
    box-shadow: 0px 16px 32px rgba(0, 0, 0, 0.15), 0px 3px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}
.search-term {
    border: 0;
    width: 100%;
    height: 70px;
    padding: 0 0 0 35px;
    outline: none;
    font-size: 0.8em;
    background-color: rgba(0, 0, 0, 0);
}
.search-button {
    border: 0;
    width: 70px;
    height: 70px;
    text-align: center;
    border-radius: 0 35px 35px 0;
    cursor: pointer;
    font-size: 20px;
    background-color: rgba(0, 0, 0, 0);
}
/*
.search-block {
    width: 500px;
    border: 1px solid #666666;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
    margin: 60px auto;
    background-color: #eee;
}
*/
.search-block {
    margin-bottom: 80px;
}
.search-wrap {
    width: 350px;
    margin: auto;
}
.buy_or_rent {
    text-align: center;
    margin-bottom: 20px;
}
#geocode {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8em;
}
.home-content {
    margin-top: 85px;
    text-decoration: none;
    justify-content: space-between;
    width: 100%
}
.home-title {
    width: 90%;
    padding: 20px 5%;
}
.home-block {
    font-size: 1.3em;
    width: 90%;
    padding: 20px 5%;
    line-height: 140%;
}
.home_banner {
    display: grid;
    grid-gap: 50px;
    background-color: #eee;
    justify-content: space-between;
}
.home_banner:link {
    text-decoration: none;
    color: #333333;
}
.home_banner:visited {
    text-decoration: none;
    color: #333333;
}
.home_banner:hover {
    text-decoration: none;
    color: #333333;
 }
.home_banner:active {
    text-decoration: none;
    color: #333333;
}
.home_banner_image {
    border: 1px solid black;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    width: 350px;
}
.home_criteria_list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 50px;
}
.home_criteria {
    margin: 0;
    padding: 0;
    font-size: 0.9em;
}

.home-links-columns {
    font-size: 0.9em;
    columns: 200px auto;
}

.refine_links_category {
    display: flex;
    overflow-x: auto;
}

.criteria_button {
    text-decoration:none;
    padding: 5px 15px;
    outline: 1px solid #666666;
    color: #666666;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 999px;
    margin: 5px;
    white-space: nowrap;
}
.criteria_button:hover {
    text-decoration:none;
    outline: 1px solid black;
    color: black;
}
.criteria_button_label {
    font-size: 18px;
}

#header {
    overflow: hidden;
    position: fixed;
    top: 0;
    background-color: white;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    width: 90%;
    padding: 0 5%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
#header a:link { text-decoration: none; }
#header a:visited { text-decoration: none; }
#header a:hover { text-decoration: none; }
#header a:active { text-decoration: none; }
#header_logo {
    width: 150px;
    height: 50px;
    margin: 10px 0;
}

#main {
    margin: 85px 5% 0 5%;
}
ol.breadcrumb {
    padding: 0px;
    list-style: none;
}
ol.breadcrumb li {
    display: inline;
}
ol.breadcrumb li a {
    color: black;
    text-decoration: none;
}

#search_body {
    margin: 0;
    display: flex;
    flex-direction: row-reverse;
}

#statistics {
    width: 270px;
    display: flex;
    flex-wrap: wrap;
    /*box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);*/
    /*border-radius: 10px;*/
    border: 1px solid lightgrey;
    margin: 5px;
    background: white;
    flex-direction: column;
    color: rgb(113, 113, 113);
}
#more_statistics_link {
    display: none;
}
.statistics_card {
    padding: 10px;
    display: flex;
    flex-direction: column;
}
.statistics_card > h2 {
    color: black;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid lightgrey;
    text-align: center;
}
#price_evolution_chart {
    max-width: 400px;
    max-height: 250px;
    margin: auto;
}
.locservice_tensiometre {
    background-image: url(https://kazba-static.s3-website.fr-par.scw.cloud/tensiometre/tensiometre_qte.png);
    background-position: bottom;
    background-repeat: no-repeat;
    text-align: center;
    width: 600px;
}
.locservice_tensiometre > label {
    display: block;
    text-align: left;
}
.locservice_tensiometre_budget {
    background-image: url(https://kazba-static.s3-website.fr-par.scw.cloud/tensiometre/tensiometre_budget.png);
    background-position: bottom;
    background-repeat: no-repeat;
    text-align: center;
    width: 600px;
}
.locservice_tensiometre_budget > label {
    display: block;
    text-align: left;
}
/*
.locservice_tensiometre_budget_horizontal {
    margin: 40px 0;
}
*/
.source {
    font-size: 0.8em;
    text-align: center;
}

.swiperPrice {
  position: relative;
}
.shadow {
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  z-index: 10;
}
.left-shadow {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}
.right-shadow {
  right: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}


.price_cards {
}
.price_card {
    font-size: 0.8em;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #666;
    background-color: #eee;
    border-radius: 10px;
    width: 250px;
    height: 100px;
}
.price_card_icon {
    text-align:center;
    width: 11em;
    padding: 5px;
}
.price_card_content {
    background-color: white;
    padding: 5px;
    height: calc(100% - 10px);
    width: 100%;
    white-space: nowrap;
    border-radius: 0 10px 10px 0;
}
.price_card_content strong {
    font-size: 2em;
}
.price_card_content a {
    text-decoration: underline;
}

#property_cards_container {
    width: 100%;
}
.property_cards {
    display: grid;
    justify-content: space-between;
}
.property_card {
    margin-bottom: 20px;
}
.property_card a:link {
    text-decoration: none;
}
.property_card a:visited {
    text-decoration: none;
}
.property_card a:hover {
    text-decoration: none;
}
.property_card a:active {
    text-decoration: none;
}

.property_card_content {
    color: #6a6a6a;
    font-weight: 300;
}

.kzblnk {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.kzblnk:focus {
    outline: none !important;
}
.kzblnk:hover {
    cursor: pointer;
}

.tags {
    position: absolute;
    margin-top: 10px;
    margin-left: 10px;
    z-index: 2;
    display: flex;
    gap: 5px;
}
.tag {
    color: white;
    background-color: #42d890;
    padding: 5px 10px;
    border-radius: 20px;
}
.property_thumbnail_container {
    position: relative;
    background-color: silver;
    border-radius: 10px;
    aspect-ratio: 1 / 1;
}
.property_thumbnail {
    width: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 10px;
    min-height: 100%;
    height: 100%;
}

.swiper-button-next, .swiper-button-prev {
    background-color:  rgba(255,255,255,0.5);
    transition: 0.6s ease;
    padding: 10px 12px;
    border-radius: 100%;
}
.swiper-button-prev:hover, .swiper-button-next:hover {
    background-color: rgba(255,255,255,1);
}
.swiper-button-disabled {
    display: none;
}
.property_price {
    display: flex;
    margin-top: 10px;
    margin-bottom: 10px;
}
.property_price_value {
    font-size: 1.2em;
    color: black;
    font-weight: bold;
}
.property_price_value span {
    vertical-align: sub;
}
.property_price_per_square_meter {
    margin: auto 5px;
}
.property_title {
    margin-bottom: 10px;
    color: black;
    font-weight: 500;
}
.emphasis {
    color: black;
}
.property_details_label {
    margin-left: 5px;
}
.publication_date {
    display: flex;
}
.publication_date_details {
    font-size: 0.8em;
}
.good {
    font-weight: bold;
}
.medium {
    font-weight: bold;
}
.bad {
    font-weight: bold;
}
.icon {
    vertical-align: -0.2em;
    font-size: 1.4em;
    margin-right: 5px;
}
.property_description .med_price {
    font-weight: bold;
}
.minmax_price {
    font-size: 0.8em;
    margin: -4px 3px 0 3px;
}

/* Pricing bar */
.pricing_bar {
}
.pricing_bar_title {
    margin: 0 0 10px 0;
}
.pricing_bar_labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
}
.pricing_bar_labels strong {
    font-weight: 500;
}
.pricing_bar_values {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
}
.pricing_bar_segments {
    display: flex;
    height: 10px;
    margin: 5px 0;
}
.pricing_bar_01 {
    background: #16904c;
    -webkit-box-flex: 1;
    flex-grow: 1;
    border-radius: 5px 0 0 5px;
}
.pricing_bar_02 {
    background: #2fb56b;
    -webkit-box-flex: 1;
    flex-grow: 1;
}
.pricing_bar_03 {
    background: #67c980;
    -webkit-box-flex: 1;
    flex-grow: 1;
}
.pricing_bar_04 {
    background: #f2e217;
    -webkit-box-flex: 1;
    flex-grow: 1;
}
.pricing_bar_05 {
    background: #ffc344;
    -webkit-box-flex: 1;
    flex-grow: 1;
}
.pricing_bar_06 {
    background: #ffa03d;
    -webkit-box-flex: 1;
    flex-grow: 1;
}
.pricing_bar_07 {
    background: #eb605b;
    -webkit-box-flex: 1;
    flex-grow: 1;
    border-radius: 0 5px 5px 0;
}

.pricing_bar_selected {
    transform: scale(1.2, 1.7);
    border-radius: 8.5px;
}

.price_diffs {
    display: flex;
    justify-content: space-between;
    margin: 20px; 10px;
}
.price_diff_container {
    border-radius: 10px;
    padding: 5px;
}
.price_diff_container_1 {
    border: 2px solid rgb(255, 34, 85);
    background-color: rgba(255, 34, 85, 0.1);
}
.price_diff_container_2 {
    border: 2px solid rgb(255, 117, 50);
    background-color: rgba(255, 117, 50, 0.1);
}
.price_diff_container_3 {
    border: 2px solid rgb(255, 160, 61);
    background-color: rgba(255, 160, 61, 0.1);
}
.price_diff_container_4 {
    border: 2px solid rgb(255, 195, 67);
    background-color: rgba(255, 195, 67, 0.1);
}
.price_diff_container_5 {
    border: 2px solid rgb(255, 226, 31);
    background-color: rgba(255, 226, 31, 0.1);
}
.price_diff_container_6 {
    border: 2px solid rgb(255, 245, 0);
    background-color: rgba(255, 245, 0, 0.1);
}
.price_diff_container_7 {
    border: 2px solid rgb(209, 255, 0);
    background-color: rgba(209, 255, 0, 0.1);
}
.price_diff_container_8 {
    border: 2px solid rgb(177, 244, 18);
    background-color: rgba(177, 244, 18, 0.1);
}
.price_diff_container_9 {
    border: 2px solid rgb(135, 217, 46);
    background-color: rgba(135, 217, 46, 0.1);
}
.price_diff_container_10 {
    border: 2px solid rgb(82, 179, 117);
    background-color: rgba(82, 179, 117, 0.1);
}
.price_diff {
    font-weight: bold;
    font-size: 1.1em;
    width: 100%;
    text-align: center;
}
.price_diff_label {
    width: 100%;
    font-size: 0.8em;
    text-align: center;
}

.squaremeter-typology-table {
    border-collapse: collapse;
    max-width: 500px;
    border: 1px solid #dbdbdb;
    background-color: #FFF;
}
.squaremeter-typology-table th {
    /*background-color: #F0F2F1;*/
    border-bottom: 1px solid #dbdbdb;
    color: #4d4d4f;
    padding: 10px;
    text-align: center;
    text-transform: uppercase;
    font-size: .7em;
    font-weight: 400;
}
.squaremeter-typology-table td {
    border-bottom: 1px solid #dbdbdb;
    padding: 10px;
    text-align: center;
    font-size: .8eem;
    font-weight: 400;
}
.squaremeter-typology-table td span {
    font-size: 15px;
}
.property_profitability {
    margin-top: 10px;
}

/**************
 * Pagination *
 **************/
.pagination-box {
  text-align: center;
  margin-top: 10px;
}
ul.pagination {
  display: inline-block;
  padding: 0;
  margin: 0;
}
ul.pagination li {
  display: inline;
}
ul.pagination li .etc {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
}
ul.pagination li {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 5px;
}
ul.pagination li.active {
  background-color: #000;
  color: white;
  border-radius: 5px;
}
ul.pagination li:hover:not(.active, .etc) {
  background-color: #ddd;
}

.tabs {
    width: 100%;
    overflow: hidden;
    background-color: #000;
}
.tab-item {
    font-size: 1em;
    color: #fff;
    background-color: #000;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    border: none;
}
.tab-item:hover {
    color: #000;
    background-color: #ccc;
}

.search-bar {
    display:flex;
    justify-content: flex-end;
}
#filters-button {
    margin: 10px 0;
    height: 50px;
    border: 1px solid lightgrey;
    border-radius: 35px 35px 35px 35px;
    background-color: #fff;
    cursor: pointer;
    padding: 0 25px;
}
#filters-button:hover {
    border: 1px solid black;
}

.modal-kazba {
    display: none;
    position: fixed;
    z-index: 10;
    /*padding-top: 100px;*/
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    padding-top: 40px;
}
.modal-container {
    background-color: #FFF;
    margin: auto;
    width: 600px;
    border-radius: 20px;
    max-height: calc(100% - 80px);
    display: flex;
    flex-flow: column;
}
.modal-header {
    min-height: 20px;
    max-height: 20px;
    text-align: center;
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
    border-bottom: solid 1px lightgrey;
}
.modal-close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    vertical-align: baseline;
    margin-top: -5px;
}
.modal-content {
    padding: 0 40px 40px 40px;
    overflow: auto;
    flex-grow: 1;
}
.modal-footer {
    min-height: 50px;
    max-height: 50px;
    text-align: right;
    padding: 5px 20px 5px 0;
    border-top: solid 1px lightgrey;
}
.submit {
    cursor: pointer;
    font-size: 16px;
    background: black;
    color: white;
    height: 50px;
    width: 100px;
    border-radius: 20px;
    border: none;
}

.modal-close:hover,
.modal-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.filter-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 20px;
}
.filter-title-first {
    margin-top: 10px;
}
.filter-box {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
}
.filter-choice {
    width: 50%;
}

input[type=checkbox] {
    -border-radius: 20px;
    height: 25px;
    width: 25px;
    /*border: 1px solid #ccc;*/
    vertical-align: middle;
}

.bottom-content {
    font-weight: 200;
    margin: 10px -10px;
    padding: 20px;
}

@media screen and (max-width: 672px) {
    .modal-kazba {
        padding: 0;
    }
    .modal-container {
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }
    .filter-box {
        display: block;
    }
    .filter-choice {
        width: 100%;
    }
}

#price-slider {
    width: 100%;
    height: 100px;
}
.esri-slider__min {
    visibility: hidden;
}
.esri-slider__max {
    visibility: hidden;
}
.esri-slider__label {
    visibility: hidden;
}

.min_max_inputs {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.form-floating {
    border: 1px solid grey;
    border-radius: 5px 5px 5px 5px;
    padding: 5px;
    font-size: 1.2em;
    width: calc(50% - 30px);
}
.form-floating:focus-within {
    border: 2px solid black;
}
.form-floating > label {
    display: block;
    color: grey;
    font-size: 0.6em;
}
.form-floating > input {
    border: hidden;
    font-size: 1em;
    width: calc(100% - 50px);
}
.form-floating .unit {
    float: right;
}
.form-floating > input:focus {
    outline: none;
}

@media screen and (max-width: 672px) {
    .home_banner: {
        grid-template-columns: repeat(1, 1fr);
    }
    .home_banner_text {
        width: 100%;
    }
    .home_banner_image {
        width: 100%;
    }
    #filters-button {
        width: 50px;
        padding: 0;
    }
    #filters-button .filters-button-label {
        display: none;
    }
    #search_body {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    #statistics {
        margin: 0;
        width: 100%;
    }
    #more_statistics_link {
        color: #6a6a6a;
        display: block;
        text-align: center;
    }
    #more_statistics {
        display: none;
    }
    .property_cards {
        grid-template-columns: repeat(auto-fill, 100%);
    }
    #avg_price_per_square_meter_over_time {
        width: 100%;
    }
}
@media screen and (min-width: 673px) and (max-width: 549px) {
    .home_banner {
        grid-template-columns: repeat(1, 1fr);
    }
    .home_banner_text {
        width: 100%;
    }
    .home_banner_image {
        width: 100%;
    }
    .property_cards {
        grid-template-columns: repeat(auto-fill, calc(100% - 1.25%));
    }
    #avg_price_per_square_meter_over_time {
        width: 100%;
    }
}
@media screen and (min-width: 550px) and (max-width: 743px) {
    .home_banner {
        grid-template-columns: 1fr 350px;
    }
    .property_cards {
        grid-template-columns: repeat(auto-fill, calc(50% - 1.25%));
    }
    #avg_price_per_square_meter_over_time {
        width: 50%;
    }
}
@media screen and (min-width: 744px) and (max-width: 949px) {
    .home_banner {
        grid-template-columns: 1fr 350px;
    }
    .property_cards {
        grid-template-columns: repeat(auto-fill, calc(50% - 1.25%));
    }
    #avg_price_per_square_meter_over_time {
        width: 50%;
    }
}
@media screen and (min-width: 744px) and (max-width: 1127px) {
    .home_banner {
        grid-template-columns: 1fr 350px;
    }
    .property_cards {
        grid-template-columns: repeat(auto-fill, calc(33.3333% - 1.25%));
    }
    #avg_price_per_square_meter_over_time {
        width: 33.3333%;
    }
}
@media screen and (min-width: 1128px) and (max-width: 1605px) {
    .home_banner {
        grid-template-columns: 1fr 350px;
    }
    .property_cards {
        grid-template-columns: repeat(auto-fill, calc(25% - 1.25%));
    }
    #avg_price_per_square_meter_over_time {
        width: 23%;
    }
}
@media screen and (min-width: 1606px) {
    .home_banner {
        grid-template-columns: 1fr 350px;
    }
    .property_cards {
        grid-template-columns: repeat(auto-fill, calc(20% - 1.25%));
    }
    #avg_price_per_square_meter_over_time {
        width: 20%;
    }
}

/***** Sort field *****/
.title_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 10px 0;
}
.title_with_notification {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}
.title_with_notification h1 {
    margin: 0;
}
.title_select {
    margin: auto 0;
}
.select_wrapper {
    border-radius: 35px;
    border: 1px solid lightgrey;
    background-color: white;
    width: 300px;
}
.select_wrapper:hover {
    border: 1px solid black;
}
.select_box {
    width: calc(100% - 65px);;
    height: 50px;
    border: 0px;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 1em;
    color: #666666;
    background-color: white;
    -webkit-appearance: none;
}

.filtersTags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}
.filterTag {
    border-radius: 5px;
    border: 1px solid lightgrey;
    background-color: white;
    padding: 5px;
    white-space: nowrap;
}
.filterTag:hover {
    border: 1px solid black;
}
.filterTag span {
    vertical-align: middle;
}
.filterTagClose {
    cursor: pointer;
}

/* toggle styling starts here */
/* hide the "default" checkbox/appearance */
.toggle-checkbox {
    display: none;
}
.slider {
    position: relative;
}
.slider::before {
    background: lightgrey;
    border-radius: 34px;
    bottom: 0;
    content: '';
    height: 24px;
    margin: auto;
    position: absolute;
    top: 0;
    width: 40px;
}
.slider::after {
    background: white;
    border-radius: 50%;
    bottom: 0;
    content: '';
    height: 16px;
    left: 4px;
    margin: auto;
    position: absolute;
    top: 0;
    transition: 0.4s;
    width: 16px;
}
.toggle-switch {
    margin-left: 50px;
}
.toggle-switch.opt1 {
    color: grey;
}
.toggle-switch.opt2 {
    color: #4a86e8;
    display: none;
}
.toggle-checkbox:checked + .slider::before {
    background-color: #4a86e8;
}
.toggle-checkbox:checked + .slider::after {
    background-color: white;
    transform: translateX(16px);
}
.toggle-checkbox:checked ~ .slider > .toggle-switch.opt1 {
    display: none;
}
.toggle-checkbox:checked ~ .slider > .toggle-switch.opt2 {
    display: inline-block;
}


/* ad */
#ad_body {
    display: flex;
    flex-wrap: wrap;
}
#ad_left_column {
    margin: 10px;
    width: calc(100% - 440px);
    background-color: white;
}
#ad_right_column {
    margin: 10px;
    width: 360px;
}
.ad_property_description {
    font-weight: 300;
    color: #6e6d7a;
    padding-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}
#price_chart {
    width: 500px;
    height: 250px
}
.ad_property_price {
    font-weight: 700;
    font-size: 2em;
    color: black;
}
.ad_property_price span {
    font-weight: 400;
    font-size: 0.7em;
    color: black;
}
.ad_property_title {
    font-weight: 400;
    font-size: 1.4em;
    color: black;
}
.ad_property_location {
    font-weight: 400;
    font-size: 1.4em;
    color: black;
    margin-bottom: 10px;
}
.ad_block {
    margin: 30px 0;
    padding-top: 30px;
    border-top: 1px solid lightgrey;
}
.ad_block h2 {
    margin-bottom: 30px;
}
.ad_block p {
    color: #6e6d7a;
}
.ad_block .ad_title {
    color: black;
    font-weight: 700;
}
.right_block_title {
   padding: 0 20px;
   margin: 0;
}
.right_block {
    padding: 20px;
    background-color: white;
}
.right_block_outlined {
    border: 1px solid #666666;
    color: #666666;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 10px;
    margin-bottom: 10px;
    text-align: center;
}
.right_block_outlined_value {
    font-size: 1.5em;
    font-weight: bold;
}
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}


.agency_block {
    text-align: center;
}
.simulations-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#loan-form {
    width: 300px;
}
#loan-form .loan-field {
    width: 270px;
    margin-bottom: 20px;
}
#loan-form .loan-field label {
    font-weight: bold;
    margin-bottom: 0;
}
#down-payment {
    width: 75px;
}
#loan-rate {
    font-weight: bold;
}
#loan-insurance-rate {
    font-weight: bold;
}
#loan_table {
    width: 300px;
    margin: 0 20px;
}
#property_features {
    margin: 0 0 20px 0;
    padding: 0;
}
#property_features ul {
    list-style:none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
#property_features ul li {
    width: 200px;
    padding-left: 40px;
    text-indent: -40px;
    line-height: 1.2em;
    margin-bottom: 20px;
}
#property_features ul li:before {
    content: "\e86c";
    font-family: "Material Symbols Rounded";
    font-variation-settings: 'FILL' 1;
    font-size: 30px;
    color: #fe7e75;
    margin-right: 10px;
    vertical-align: middle;
}
.button {
	background-color: #fe7e75;
	border-radius: 6px;
	border: 1px solid #fe7e75;
	display: inline-block;
	cursor: pointer;
	color: #ffffff;
	font-weight: 500;
	padding: 10px 24px;
	margin: 10px 0;
	text-decoration: none;
}
.button:hover {
	color: #ffffff;
	text-decoration: none;
}
#loan_chart {
    width: 250px;
    height: 250px;
    margin: 0 25px
}
#loan_table .estimations-table {
    width: 300px;
}
#loan_table td {
    text-align: left;
}
#loan_table .estimations {
    text-align: right;
}
#loan_table .estimations_chart_legend {
    display: inline-block;
    width: 25px;
    height: 15px;
    border-radius: 3px;
}
#loan_table .estimations_chart_legend_vendor_price {
    background-color: #5470c6;
}
#loan_table .estimations_chart_legend_price {
    background-color: #90cc76;
}
#loan_table .estimations_chart_legend_notary_fees {
    background-color: #fac859;
}
#loan_table .estimations_chart_legend_loan_warranty_fees {
    background-color: #ed6667;
}
#loan_table .estimations_chart_legend_loan_interests {
    background-color: #73c0df;
}
#loan_table .estimations_chart_legend_loan_insurance {
    background-color: #3ba272;
}
#loan_table .total {
    font-weight: bold;
}


.energy_performance_diagnosis {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.energy_consumption {
    margin-top: 1em;
    margin-right: 4em;
}
.greenhouse_gas_emissions {
    margin-top: 1em;
}
.dpe {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    padding-inline-start: 0;
    padding-bottom: 3rem;
}
.dpe_index {
    position: relative;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-right: .1rem;
    color: #fff;
    font-weight: 400;
    font-size: 1rem;
    border-radius: .5rem;
    display: flex;
    align-items: center;
}
.dpe_index_A {
    background-color: #029163;
}
.dpe_index_B {
    background-color: #46a64a;
}
.dpe_index_C {
    background-color: #6db56b;
}
.dpe_index_D {
    background-color: #f2e314;
}
.dpe_index_E {
    background-color: #edab0f;
}
.dpe_index_F {
    background-color: #e8782f;
}
.dpe_index_G {
    background-color: #d1201e;
}
.ges_index_A {
    background-color: #99d5f7;
}
.ges_index_B {
    background-color: #80abcd;
}
.ges_index_C {
    background-color: #6d87a8;
}
.ges_index_D {
    background-color: #546384;
}
.ges_index_E {
    background-color: #434665;
}
.ges_index_F {
    background-color: #332d47;
}
.ges_index_G {
    background-color: #231a2f;
}
.dpe_index_active {
    width: 3rem;
    height: 3rem;
    font-weight: 500;
    font-size: 1.4rem;
    border-radius: 0.8rem;
}
.dpe_label:before {
    content: "";
    position: absolute;
    bottom: calc(100% + 0.3rem);
    left: calc(50% - 0.3rem);
    border-right: 0.2rem solid transparent;
    border-bottom: 0.3rem solid;
    border-left: 0.2rem solid transparent;
}
.dpe_label {
    position: absolute;
    top: calc(100% + 0.3rem + 1rem);
    left: 50%;
    color: #595959;
    font-size: 1.2rem;
    line-height: 1;
    transform: translateX(-50%);
}
.dpe_unit {
    width: 150px;
    position: absolute;
    top: 100%;
    left: 0;
    font-weight: 400;
    font-size: 0.8rem;
}

.last_sold_table {
    border: 1px solid black;
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}
.last_sold_table th {
    border: 1px solid black;
    text-align: center;
    padding: 5px;
    border-collapse: collapse;
}
.last_sold_table td {
    border: 1px solid black;
    text-align: left;
    padding: 5px;
    border-collapse: collapse;
}
.last_sold_table .last_sold_table_date {
    width: 15%;
}
.last_sold_table .last_sold_table_desc {
    width: 65%;
}
.last_sold_table .last_sold_table_price {
    text-align: center;
    width: 20%;
}

#property_cards_container h2 {
    border-top: 1px solid lightgrey;
    padding-top: 30px;
    margin: 20px 10px; 0 10px;
}


select.form-control:not([size]):not([multiple]) {
    height: calc(2.25rem + 2px);
}
.input-group-prepend {
    margin-right: -1px;
}
.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}
.input-group>.form-control {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0;
    margin-right: -1px;
}
.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}
.input-group>.custom-select:not(:first-child),
.input-group>.form-control:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.input-group>.custom-select:not(:last-child),
.input-group>.form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-group>.input-group-append>.btn,
.input-group>.input-group-append>.input-group-text,
.input-group>.input-group-prepend:first-child>.btn:not(:first-child),
.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),
.input-group>.input-group-prepend:not(:first-child)>.btn,
.input-group>.input-group-prepend:not(:first-child)>.input-group-text {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.input-group>.input-group-append:last-child>.btn:not(:last-child):not(.dropdown-toggle),
.input-group>.input-group-append:last-child>.input-group-text:not(:last-child),
.input-group>.input-group-append:not(:last-child)>.btn,
.input-group>.input-group-append:not(:last-child)>.input-group-text,
.input-group>.input-group-prepend>.btn,
.input-group>.input-group-prepend>.input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-group-text {
    display: flex;
    align-items: center;
    padding: .375rem .75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

@media screen and (max-width: 672px) {
    .ad_property_description {
        padding: 0px;
    }
    .ad_block {
        margin: 30px 0;
    }
    #price_chart {
        margin-top: 20px;
        width: 350px;
        height: 250px
    }
    #loan_chart_container {
        width: 100%;
    }
    #loan_chart {
        margin: auto;
    }
}
@media screen and (max-width: 1150px) {
    #ad_left_column {
        width: calc(100% - 20px);
    }
    #ad_right_column {
        width: calc(100% - 20px);
    }
}

/*
 * Cities pages
 */
.strengths {
    list-style-type: "✅ "
}
.strengths > li > strong{
    color: green;
}
.weaknesses {
    list-style-type: "❌ "
}
.weaknesses > li > strong{
    color: red;
}

#popup_title {
    font-weight: bold;
}
#popup_footer {
    width: 100%;
    text-align: center;
}
/*
.stars-city-page {
    margin-bottom: 20px;
}
*/
#map {
    height: 100%;
    min-height: 500px;
    width: 100%;
}
.map-marker {
    font-variation-settings: 'FILL' 1;
}
.notice {
    font-size: 0.8em;
    color: white;
}
.notice a {
    color: white;
    text-decoration: underline;
}
.profitability_map td {
    font-size: 12px;
}
.profitability_map tr:nth-child(odd) {
    background-color:#eee;
}
.profitability_map tr:nth-child(even) {
    background-color:#fff;
}

.profitability_table {
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.profitability_table th,td {
    padding: 5px;
}
.centered th, .centered td {
    text-align: center;
}
.profitability_table tr:nth-child(odd) {
    background-color:#eee;
}
.profitability_table tr:nth-child(even) {
    background-color:#fff;
}

#touristic-location {
    width: 600px;
}
.city-table {
    width: 600px;
    margin: auto;
}
.city-table th,td {
    padding: 5px;
}
.city-table td.label {
    text-align: left;
    font-weight: bold;
}
.city-table td.value {
    text-align: right;
}
.city-table tr:nth-child(odd) {
    background-color: #1c3968;
    color: #91dcfd;
}
.city-table tr:nth-child(even) {
    background-color: #4f8ecd;
    color: white;
}
.city-table strong {
    color: #f8ce0b;
    font-size: 1.5em;
}

/*
.price-diff-plus {
    color: #92cc76;
}
.price-diff-minus {
    color: #ef6666;
}
*/

.summary-block {
    width: 400px;
    margin: auto 100px;
}
.summary {
    color: #91dcfd;
    padding: 20px;
    text-align: center;
    margin: auto;
    background-color: #1c3968;
}
.summary-block-title {
    font-weight: bold;
    color: white;
    font-size: 1.2em;
}
.summary-value {
    font-size: 2em;
    font-weight: bold;
    color: #f8ce0b;
}

.stars-outer {
    display: inline-block;
    position: relative;
}
.stars-outer::before {
    content: "\e83a \e83a \e83a \e83a \e83a";
}
.stars-inner {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
}
.stars-inner::before {
    content: "\e838 \e838 \e838 \e838 \e838";
    color: #f8ce0b;
    font-variation-settings: 'FILL' 1
}
.indicators-wrapper {
    display: flex;
    flex-wrap: wrap;
    background-color: #4f8ecd;
}
.indicators-block {
    width: 50%;
    display: flex;
    flex-direction: column;
}
.indicators {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px 0 15px 15px;
}
.price-indicator {
    width: calc(50% - 25px);
    aspect-ratio: 2 / 1;
    padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #1c3968;
    color: #91dcfd;
}
.indicator {
    width: calc(25% - 25px);
    aspect-ratio: 1 / 1;
    padding: 5px;
    display: flex;
    flex-direction: column;
    background-color: #1c3968;
    color: #91dcfd;
}
@media screen and (min-width: 1200px) and (max-width: 1600px) {
    .indicator {
        width: calc(33% - 25px);
    }
}
@media screen and (min-width: 800px) and (max-width: 1200px) {
    .indicators-block {
        width: 100%;
    }
    #map {
        height: 500px;
    }
    .indicator {
        width: calc(25% - 25px);
    }
}
@media screen and (min-width: 600px) and (max-width: 800px) {
    .indicators-block {
        width: 100%;
    }
    #map {
        height: 500px;
    }
    .indicator {
        width: calc(33% - 25px);
    }
}
@media screen and (max-width: 600px) {
    .indicators-block {
        width: 100%;
    }
    #map {
        height: 500px;
    }
    .price-indicator {
        width: calc(100% - 25px);
    }
    .indicator {
        width: calc(50% - 25px);
    }
}
@media screen and (max-width: 400px) {
    .indicator-title-label {
        font-size: 0.9em;
    }
}
.price-indicator-title {
    color: white;
    font-weight: bold;
}
.price-indicator div {
    text-align: center;
}
.indicator-icon {
    font-size: 3em;
    vertical-align: middle;
}
.indicator-title {
    height: 50%;
    display: flex;
    color: white;
}
.indicator-title-label {
    margin: auto;
    text-align: center;
    font-weight: bold;
}
.indicator-content {
    margin: auto;
    text-align: center;
}
.indicator-content-small {
    margin: auto;
    text-align: center;
    font-size: 0.7em;
}
.indicator-content-value {
    font-size: 1.7em;
    font-weight: bold;
    color: #f8ce0b;
}
.indicator-content-value-small {
    font-weight: bold;
    color: #f8ce0b;
}

.price-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.indicator-button {
    margin: 10px auto;
}

.city-block {
    display: flex;
    gap: 20px
}
.city-score {
    width: 160px;
    height: 160px;
    aspect-ratio: 1 / 1;
    padding: 5px;
    display: flex;
    flex-direction: column;
    background-color: #1c3968;
    color: #91dcfd;
}
.city-block-content {
    width: 100%;
}

.city-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 20px
}
.city-indicator {
    text-align:center;
}

.useful-links {
    line-height: 1.5em;
}

.map-notice {
    font-size: 0.8em;
    color: white;
}
.map-notice strong {
    color: #f8ce0b
}
.map-notice a {
    color: white;
    text-decoration: underline;
}

.pie-chart {
    width: 600px;
    height: 300px;
}
.line-chart {
    margin-top: 20px;
    width: 600px;
    height: 300px;
    margin: auto;
}

.price-table {
    width: 48%;
}

.profitability-formula {
    width: 600px;
    margin: auto;
}
.formula {
    font-size: 1.2em;
}

@media screen and (max-width: 480px) {
    .city-block {
        flex-direction: column;
    }
    .city-score {
        margin: auto;
    }
    .profitability-formula {
        font-size: 0.7em;
    }
    .formula {
        font-size: 1em;
    }
    .locservice_tensiometre {
        margin: auto;
    }
    .locservice_tensiometre_budget {
        margin: auto;
    }
    .city-indicator {
        margin: auto;
    }
}

@media screen and (max-width: 672px) {
    .optional {
        display: none;
    }
    #map {
        height: 400px;
    }
    .summary-block {
        width: 100%;
        margin: auto;
    }
    .city-table {
        width: 100%;
    }
    .city-indicator {
        width: 100%;
    }
    .locservice_tensiometre {
        width: 100%;
    }
    .locservice_tensiometre_budget {
        width: 100%;
    }
    .profitability-formula {
        font-size: 0.9em;
        width: 100%;
    }
    #touristic-location {
        width: 100%;
    }
    .pie-chart {
        width: 100%;
    }
    .line-chart {
        width: 100%;
    }
    .price-table {
        width: 100%;
    }
    .title_select {
        margin: auto;
    }
}
@media screen and (min-width: 673px) and (max-width: 549px) {
    .title_select {
        margin: auto;
    }
}
@media screen and (min-width: 550px) and (max-width: 743px) {
    .title_select {
        margin: auto;
    }
}