@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');
body, html{
    margin:0;
    height: 100%;
}

.main {
    display: flex;
    flex-direction: column; 
    height: 100%;
    width: 100%;
    margin: 0;
}

.form h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 12px;
    width: 100px;
    padding: 8px;
    margin: 0 auto;
}

#map{
    height: 75vh;
    width: 100%;
    margin: 0 auto;
}

.form {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    height: 25vh;
}

.form-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title {
    border-bottom: 1px solid rgba(0, 0, 0, 0.20);
    height: 30px;
}

  /* ============== */
  /*      POPUP     */
  /* ============== */

.leaflet-popup {
    max-width: 270px !important;
}
a.leaflet-popup-close-button {
    padding-top: 6px;
    padding-right: 6px;
}
.house-popup {
    max-width: 270px;
    max-height: 350px;
    overflow: auto;
}
.house-infos {
    max-width: 270px;
}
.house-popup ul {
    padding-left: 15px;
}
.leaflet-popup .house-popup img {
    max-width: 170px !important;
    max-height: 120px;
}
.leaflet-popup .house-popup p {
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 4px;
}
.leaflet-popup .house-popup h2 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
}

  /* ============== */
  /*     CHIPS      */
  /* ============== */

.mdc-chip-set {
    padding-left: 10px;
    overflow: auto;
    height: 100%;
}

.mdc-chip__icon {
    margin-bottom: 4px !important;
}

.mdc-chip {
    background-color: white;
    color: rgb(0, 165, 165);
    border: 1px solid rgb(0, 165, 165);
}

.mdc-chip__text {
    padding-left: 6px !important;
}

.mdc-button--outlined {
    color: rgb(228,6,19) !important;
    border: solid 2px !important;
}

.mdc-chip--selected {
    color: white !important;
    background-color: rgb(228,6,19);
    font-weight: bold;
    border: 1px solid rgb(228,6,19) !important;
}

  /* ============== */
  /* CLUSTER STYLE  */
  /* ============== */

.cluster {
    background: rgb(228,6,19,0.72);
    border-radius: 50%;
    text-align: center;
    color: white;
    font-weight: 700;
    border: 1px solid rgb(228,6,19,0.72);
    font-family: monospace;
}
.cluster:before {
    content: ' ';
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    border: 1px solid white;
}
.digits-1 {
    font-size: 16px;
    height: 34px;
    width: 34px;
    line-height: 35px;
    margin-top: -17px;
    margin-left: -17px;
}
.digits-2 {
    font-size: 18px;
    height: 48px;
    width: 47px;
    line-height: 47px;
    border-width: 3px;
    margin-top: -24px;
    margin-left: -24px;
}
.digits-2:before {
    border-width: 2px;
}
.digits-3 {
    font-size: 20px;
    height: 58px;
    width: 58px;
    line-height: 57px;
    border-width: 4px;
    margin-top: -29px;
    margin-left: -29px;
}
.digits-3:before {
    border-width: 3px;
}
.digits-4 {
    font-size: 20px;
    height: 70px;
    width: 70px;
    line-height: 69px;
    border-width: 4px;
    margin-top: -35px;
    margin-left: -35px;
}
.digits-4:before {
    border-width: 4px;
}

  /* ============== */
  /*     LOADER     */
  /* ============== */

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 100vw;
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 42px;
    height: 42px;
}
.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 38px;
    height: 38px;
    margin: 8px;
    border: 3.5px solid rgb(228,6,19);
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: rgb(228,6,19) transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
