/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/
#kdz-reference__index {
    #map-canvas {
        height: 500px;
    }

    .reference-filter {

        & {
            margin-top: 2rem;
            margin-bottom: 3.5rem;
        }

        .filter-ico {
            width: 60px;
            background: var(--g-color-1);
            border-top-left-radius: 6px;
        }

        @media (min-width: 576px) {
            .filter-ico {
                border-bottom-left-radius: 6px;
            }
        }

        .search-ico {
            height: 30px;
            width: 30px;
            color: white;
        }

        .filter-selects {
            flex-grow: 1;
        }

        .filter-selects select {
            border-radius: 0;
        }

        select:focus {
            border-color: transparent !important;
            box-shadow: none;
            outline: 0;
        }

        .filter-selects select:first-child {
            border-top-right-radius: 6px;
        }

        @media (min-width: 576px) {
            .filter-selects select:first-child {
                border-top-right-radius: 0;
            }

        }

        button.btn.btn-secondary {
            border-top-left-radius: 0;
            border-top-right-radius: 0;
            background: black;
        }

        @media (min-width: 576px) {
            button.btn.btn-secondary {
                border-radius: 0 6px 6px 0;
            }
        }
    }


    .reference-description {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        height: 100%;
        justify-content: space-between;
    }

    .reference-description .reference-image-container {
        height: 320px;
        -o-object-fit: contain;
        object-fit: contain;
        -o-object-position: left;
        object-position: left;
    }

    .reference-description .reference-link {
        display: block;
        height: 320px;
        width: 100%;
        aspect-ratio: 440 / 320;
        overflow: hidden;
    }

    .reference-description .reference-image-container img {
        -o-object-fit: cover;
        object-fit: cover;
        -o-object-position: center;
        object-position: center;
        height: 100%;
        width: 100%;
        transition: transform 0.5s ease-in-out;
    }

    .reference-description .reference-image-container:hover img {
        transform: scale(1.1);
    }

    .reference-description h2 {
        margin-top: 22px;
        margin-bottom: 12px;
    }

    .reference-detail {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 4px;
    }

    .reference-label {
        display: flex;
        align-items: flex-start;
    }

    .reference-description i {
        color: var(--g-color-2);
        width: 20px;
        /* text-align: center; */
        margin-right: 15px;
        padding-top: 4px;
    }

    .reference-description .title {
        margin-bottom: 0;
        font-weight: 500;
        margin-right: 10px;
        min-width: 95px;
    }

    .btn-reference-detail {
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .btn-reference-detail a {
        position: relative;
        padding: 0.45rem 1.53rem 0.45rem 1.53rem;
        color: white;
        border: none;
        background-color: black;
        cursor: pointer;
        outline: none;
        text-decoration: underline;
        display: inline-block;
        -webkit-transition: all 0.4s ease;
        -o-transition: all 0.4s ease;
        transition: all 0.4s ease;
    }

    .btn-reference-detail a:before {
        content: "";
        background: rgba(255, 255, 255, 0.4);
        width: 60%;
        height: 100%;
        top: 0;
        left: -125%;
        -webkit-transform: skew(45deg);
        -ms-transform: skew(45deg);
        transform: skew(45deg);
        position: absolute;
        -webkit-transition: left 0.5s ease-in-out;
        -o-transition: left 0.5s ease-in-out;
        transition: left 0.5s ease-in-out;
    }

    .btn-reference-detail a:hover::before {
        left: 100%;
    }

    .btn-reference-detail a:hover:after,
    .btn-reference-detail a:hover:before {
        width: 100%;
        height: 100%;
    }

    .marker-reference-description {
        max-width: 250px;
        margin-top: 0;
    }

    .marker-reference-description img {
        max-width: 100%;
    }

    .marker-reference-description h2 {
        margin-top: 10px;
        font-size: 18px;
    }

    .marker-reference-description i {
        color: var(--g-color-2);
        width: 20px;
        text-align: center;
        margin-right: 15px;
    }

    .marker-reference-description label {
        margin-bottom: 0;
        font-weight: 500;
        margin-right: 10px;
    }
}
