@import url("https://fonts.googleapis.com/css?family=Raleway:wght@300..700&display=swap");

.full-width-image{
    width: 100%;
    max-width: 100%;
    *{
        width: 100%;
        max-width: 100%;
    }
}

iframe{
    border: none;
}

.list-body {
    margin: 0px;
}

#tblSearchResults {
    font-family: "Raleway", sans-serif;
    tbody {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 20px;
    }
    tr {
        background: #fff !important;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-gap: 20px;
        @media screen and (max-width: 820px) {
            grid-template-columns: 1fr 1fr;
        }
    }
    td {
        &:empty {
            display: none;
        }
        border-radius: 5px;
        overflow: scroll;
        border: 1px solid #ccc;
        display: flex;
        flex-direction: column;
        height: 340px;
        @media screen and (max-width: 820px) {
            height: 360px;
            overflow: hidden;
        }
        @media screen and (max-width: 480px) {
            height: 350px;
            overflow: hidden;
        }
        .list-animal-photo-block {
            a {
                text-align: center;
                display: block;
                width: 100%;
                padding-bottom: 80%; 
                position: relative;
                @media screen and (max-width: 820px) {
                    height: 200px;
                    padding-bottom: 0;
                }
                img {
                    mix-blend-mode: darken;
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    object-fit: cover; /* Cover the entire area */
                }
                img[src="https://g.petango.com/shared/Photo-Not-Available-cat.gif"],
                img[src="https://g.petango.com/shared/Photo-Not-Available-dog.gif"] {
                    object-fit: contain
                }
            }
        }
        img {
            max-width: 100% !important;
            width: 100%;
            transform: scale(1.01);
        }
        .list-animal-info-block {
            padding: 10px;
            padding-top: 4px;
            font-size: 1.25rem;
            .list-animal-id,
            .list-anima-species,
            .list-animal-sexSN,
            .list-animal-breed,
            .list-animal-age
            {
                font-size: 1rem;
            }
            a {
                margin-bottom: 4px;
                display: block;
                text-align: center;
                text-transform: initial;
                color: #00395a;
                font-size: 1.5rem;
                text-decoration: none;
                font-weight: bold;
            }
        }
    }
    @media screen and (max-width: 820px) {
        td {
            .list-animal-photo-block {
                a {
                }
            }
            .list-animal-info-block {
                font-size: 1rem;
                a {
                    font-size: 1.15rem;
                }
            }
        }
    }
}
