<style>

    #search-criteria {
        height: 120px;
        width: 100%;
    }
    #search-container {
        text-align: center;
        padding: 10px;
    }
    #search-container-xs {
        display: none;
    }
    #search-form {
        display: flex;
        flex-direction: column; 
        gap: 15px;
        padding: 15px;
        margin-right: 50px;
        margin-left: 50px;
    }
    .form-check-input {
        background-color: #ead2ac;
        color: #ead2ac;
    }
    .val-input {
        padding-left: 0px !important;
        padding-right: 30px !important;
        font-weight: bold !important;
    }
    #fval1 {
        padding: 10px !important;
    }

    .spinner {
        border: 4px solid rgba(0, 0, 0, 0.1);
        border-top: 4px solid #000;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        animation: spin 1s linear infinite;
        position: absolute;
        right: 10px;
        top: 57%;
        transform: translateY(-50%);
        display: none;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .fslider {
        display: flex;
        margin-top: 6px;
    }
    .slider-selection {
        background: #ead2ac;
    }
    .slider-handle {
        background: #35B6B0;
        user-select: none; 
        -webkit-user-select: none; 
        -moz-user-select: none; 
        -ms-user-select: none; 
        pointer-events: auto; 
        cursor: pointer; 
    }

    @media (min-width: 768px) {
        #search-form {
            flex-direction: row;
            align-items: center;
            flex-wrap: wrap;
        }
        .form-group {
            flex: 1; 
            min-width: 180px;
        }
        .type-bien {
            flex: 0 0 auto;
        }
    }
    .sz-error {
        border-color: red;
        background-color: #FDD;
        color: red;
        font-weight: bold;
    }
    .btn-group .btn {
        min-width: 40px;
    }
    .btn-group .btn.active {
        background-color: #0d6efd;
        color: white;
        border-color: #0d6efd;
    }
    .btn-outline-ikz {
    }
    #rb-container {
        flex: 1;
        overflow: hidden;
    }
    #rb-list {
        width: 50%;
        overflow-y: auto;
        overflow-x: hidden;
        height: 100%;
        padding: 40px;
    }
    #rb-info {
        flex: 1;
        overflow: hidden;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        width: 100%;
        padding: 15px;
    }
    .rb-showd {
        display: inline;
    }
    .rb-showm {
        display: none;
    }
    #rb-search {
        margin-top: 12px;
    }
    #rb-search-additional {
        padding: 50px;
    }
    .dpe-sticker {
        display: inline-flex;
        align-items: center;
    }
    .dpe-sticker-content {
        color: white;
        font-weight: bold;
        padding: 0px 10px;
        border-radius: 5px 0 0 5px;
        height: 22px;
    }
    .dpe-sticker-arrow {
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 10px solid;
    }
    #rb-map {
        width: 50%;
        height: 100%;
        overflow: hidden;
        padding: 10px;
        display: none;
    }
    #map {
        width: 100%;
        height: 100%;
    }
    .gm-ui-hover-effect {
        display: none !important;
    }
    #footer {
        max-height: 100px;
        height: 100px;
        width: 100%;
        overflow: hidden;
        color: white;
    }
    #footer-desktop {
        display: flex;
        flex-direction: row;
        justify-content: center;
    } 
    #footer-desktop ul {
        padding: 0px 10px;
        display: flex;
        align-items: center;
    }
    #footer-desktop li {
        padding: 0px 10px;
    }
    #footer-desktop a:hover {
        cursor: pointer;
    }
    #footer-mobile {
        display: none;
    }

    /* Petit desktop */
    @media (min-width: 768px) and (max-width: 1280px) {

        #presentation {
            min-height: 80px;
        }
        #search-criteria {
            height: 90px;
        }
        #search-form {
            margin: 0px;
            padding: 10px;
        }
        .form-group {
            min-width: 0px;
        }
        .card-label::after {
            content: "\A"; 
            white-space: pre;
        }
        .btn-group .btn {
            min-width: 0px;
        }
        #rb-list {
            padding: 20px;
        }
        #rb-search-additional {
            padding: 10px;
            width: 70%;
        }
        #footer {
            padding-bottom: 5px;
            height: 60px;
        }
        #footer-desktop {
            margin-top: -25px;
            text-align: center;
        }
        #footer-desktop ul {
            padding: 0px 5px;
        }
        #footer-desktop ul li {
            padding: 0px 5px;
            text-wrap: balance;
        }
        #footer-desktop ul li a {
            font-size: 14px;
            text-align: left;
            line-height: 16px !important;
        }
        #footer-links {
            text-align: left;
            padding-left: 30px !important;
        }
        .footer-desktop-nowrap {
            text-wrap: nowrap !important;
            padding-right: 10px !important;
        }
        .zmdi-hc-2x {
            font-size: 1em;
        }

    }

    /* Mobile */
    @media (max-width: 768px) {
        
        #search-criteria {
            height: 65px;
            margin-top: 50px;
        }
        #toggleSearch {
            display: block;
        }
        #search-reminder {
            display: inline-block;
            max-width: 60vw;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;            
        }        
        #search-form {
            display: none;
            margin: 20px;
        }
        .btn-group .btn {
            min-width: 0px;
        }
        #search-container-xs {
            padding: 20px;
            font-size: 16px;
            display: none;
        }
        #search-container-xs table {
            width: 100%;
            border-collapse: collapse;
        }
        #search-container-xs td:first-child {
            width: 80%; 
            white-space: nowrap;
        }
        #search-container-xs td:last-child {
            width: 20%;
            text-align: right; 
        }
        #search-criteria.fullscreen {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 1050;
            background-color: #e9ecef;
            overflow-y: auto;
            height: 100%;
            margin-top: 0px;
        }
        .pac-container {
            z-index: 10000 !important;
        }
        .slider .tooltip,
        .slider .tooltip-inner {
            display: none !important;
        }
        #rb-container {
            flex-direction: column;
            overflow: hidden;
        }
        #rb-search-additional {
            display: none;
        }
        #rb-list {
            height: 60%;
            width: 100%;
            overflow-x: auto;
            overflow-y: clip;
            white-space: nowrap;
            display: flex;
            flex-wrap: nowrap;
            padding: 10px;
            flex-direction: column;
        }
        .rb-showd {
            display: none;
        }    
        .rb-showm {
            display: inline;
        }
        #rb-list .card {
          flex: 0 0 auto;
          width: 70%;
          margin: 1px;
        }
        #rb-map {
            height: 40%;
            width: 100%;
        }    
        #map {
            width: 100%;
            height: 100%;
        }
        .gm-style-cc {
            display: none !important;
        }
        #footer {
            height: 60px;
            padding: 10px;
            background-color: #ddd;            
        }
        #footer a {
            color: #1d201f;
        }
        #footer-desktop {
            display: none;
        }
        #footer-mobile {
            display: inline;
            color: #1d201f;
            font-size: 16px;
        }
        .td-rb-footer-mobile {
            padding: 0px !important;
            border-top: hidden !important;
            line-height: 1px !important;
            vertical-align: middle !important;
        }
        #footer-mobile-contact {
            text-align: right;
        }
        /* Mobile et petite hauteur */
        @media (max-height: 700px) { 
          #presentation {
                display: none;
          }
          #search-form {
                padding-top: 0px;
                margin-top: 0px;
          }
        }


    }

    /* Annonces */
    .custom-card {
      display: flex;
      flex-direction: row;
      border: 1px solid #ddd;
      overflow: hidden;
      margin: 20px;
      background-color: #EEE;
      transition: background-color 0.3s ease-in-out;
    }
    .card-text-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        max-height: 100%;
    }
    .text-container-top {
      align-self: flex-start;
    }
    .custom-card > .card-img-container {
        padding: 10px;
    }
    .custom-card > .card-text-container {
      padding: 10px 10px 10px 5px;
    }
    .custom-card .card-img-container .img-wrapper {
      text-align: center;
    }
    .custom-card .card-img-container .img-wrapper img {
      max-width: 100%;
      height: auto;
    }
    .card-label {
      color: white;
      background-color: #35B6B0;
      padding-left: 3px;
      padding-right: 3px;
      margin-right: 10px;
    }
    .detailed {
        background-color: white;
        cursor: pointer;
    }

    /* Cards mobile */
    @media (max-width: 768px) {
        #rb-list .card {
            width: 60%;
            margin: 5px;
        }
        .custom-card {
            flex-direction: column;
            height: 100%;
            max-height: 300px;
        }
        .custom-card > .card-img-container {
            height: 70%;
            width: 100%;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 5px;
        }
        .custom-card > .card-text-container {
            height: 40%;
            width: 100%;
            padding: 10px;
        }
        .text-container-top > p {
            line-height: 13px;
        }
        .custom-card .card-img-container .img-wrapper {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }
        .custom-card .card-img-container .img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .detailed {
            border-bottom-width: 2px;
            border-bottom-color: #FF0000;
        }
        /* Mobile et petite hauteur */
        @media (max-height: 798px) { 
          .text-container-bottom {
                display: none;
          }
        }

    }
    @media (min-width: 769px) {
        .detailed {
            border-right-width: 2px;
            border-right-color: #FF0000;
        }
    }

</style>