/* ads */
[data-ad-slot] {
    user-select: none;
    overflow: hidden;
}
[data-ad-slot] img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}
[data-ad-slot] a {
    display: block;
    width: 100%;
    height: 100%;
}
[data-ad-slot] a:focus {
    outline: none;
}
    [data-ad-slot*="navigation-banner"] {
        width: calc(75em - 30px);
        max-height: 260px;
        margin: 0px -15px -5px -15px;
    }
    [data-ad-slot*="footer-banner"] {
        width: calc(75em - 30px);
        max-height: 400px;
        margin: 15px auto 0px auto;
    }
    [data-ad-slot*="search-banner"] {
        width: 100%;
        max-height: 150px;
        margin: 15px 0px -5px 0px;
    }
    [data-ad-slot*="search-result"] {
        height: 305px;
        margin-bottom: 20px;
        margin-left: 0;
        margin-right: 0;
        position: relative;
    }


/* mobile */
@media only screen and (max-width: 768px) {
    [data-ad-slot*="search-result"] {
        margin: 0px 10px 20px 10px;
    }

    .view_property [data-ad-slot*="navigation-banner"] {
        margin-top: 64px;
    }

    [data-ad-slot*="navigation-banner"] {
        width: unset;
        margin: 5px -10px -5px -10px;
    }

    .view_property [data-ad-slot*="footer-banner"] {
        margin-top: 15px;
    }
    [data-ad-slot*="footer-banner"] {
        width: unset;
        margin: 0px 5px 0px 5px;
    }
}

@media (min-width: 768px) {
    [data-ad-slot*="navigation-banner"],
    [data-ad-slot*="footer-banner"] {
        width: 750px;
    }
}

@media (min-width: 992px) {
    [data-ad-slot*="navigation-banner"],
    [data-ad-slot*="footer-banner"] {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    [data-ad-slot*="navigation-banner"],
    [data-ad-slot*="footer-banner"] {
        width: 1170px;
    }
}

/* ad mocks */
[data-ad-slot].mock {
    outline: 3px dashed #3a4246;
    background-color: #fff;
    outline-offset: -3px;
    text-align: center;
    position: relative;
}
    [data-ad-slot].mock > .ad-info > * {
        padding: 2px 6px;
    }
    [data-ad-slot].mock > .ad-info > *:nth-child(2n-1) {
        font-weight: bold;
    }
    [data-ad-slot].mock > .ad-info {
        position: absolute;
        left: 3px;
        bottom: 3px;
        right: 3px;
        display: grid;
        justify-content: start;
        grid-template-columns: auto 1fr;
        z-index: 1;
        font-size: 12px;
        text-align: left;
        transition: 150ms;
        background-color: #f5f5f530;
        filter: saturate(0);
    }
    [data-ad-slot].mock:hover > .ad-info {
        background-color: #f5f5f5f0;
        filter: saturate(1);
    }
    [data-ad-slot].mock > .ad-info,
    [data-ad-slot].mock::before {
        font-family: monospace;
        position: absolute;
    }

    [data-ad-slot].mock::before {
        content: attr(data-ad-slot);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 16px;

        text-transform: uppercase;
        z-index: 2;
        font-weight: bold;
        background-color: #f5f5f5f0;
        padding: 9px 12px;
        white-space: nowrap;
    }

    [data-ad-slot].mock::after {
        content: "";
        display: block;
        height: 1000px;
    }