.pet-box {
    margin: 0;
    height: 100%;
    overflow: hidden;
    position: relative;
    color: #FFF !important;
    font-weight: bold;
}

.pet-box h2 {
    color: #FFF;
}

.pet-box>.pet-foto {
    padding: 0;
    position: relative;
    top: 0;
    -webkit-transition: top .3s ease-in-out;
    -moz-transition: top .3s ease-in-out;
    -ms-transition: top .3s ease-in-out;
    -o-transition: top .3s ease-in-out;
    transition: top .3s ease-in-out;
}

.pet-hover {
    position: absolute;
    top: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    -webkit-transition: top .3s ease-in-out;
    -moz-transition: top .3s ease-in-out;
    -ms-transition: top .3s ease-in-out;
    -o-transition: top .3s ease-in-out;
    transition: top .3s ease-in-out;
    text-align: center;

    background-color: cadetblue;
}

.pet-hover .dashicons, .pet-display .dashicons {
    font-size: 40px;
    margin-bottom: 15px;
    width: 100%;
}

.pet-display {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	-webkit-transition: top .3s ease-in-out;
	-moz-transition: top .3s ease-in-out;
	-ms-transition: top .3s ease-in-out;
	-o-transition: top .3s ease-in-out;
	transition: top .3s ease-in-out;
	text-align: center;
}

.pet-box:hover>.pet-hover {
    top: 0;
    height: 100%;
}

.pet-box:hover>.pet-foto {
    top: -100%;
}

#pet-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

#pet-content p, #pet-content br {
    display: none;
}

#pet-content > a {
	width: 16.5%;
	display: block;
	text-decoration: none;
	min-height: 198px;
	margin-top: 2px;
}

.pet-foto img {
    width: 100%;
    height: auto;
}

.pet-bc0 {
    background-color: #a3d256;
}

.pet-bc1 {
    background-color: #42b0e2;
}

.pet-bc2 {
    background-color: #f2b533;
}

.pet-bc3 {
    background-color: #f23384;
}

#loopage {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin: 30px 0 0 0;
	font-family: Arial,sans-serif;
	width: 100%;
}

#loopage a, #loopage span {
    display: inline-block;
    padding: 8px 12px;
    margin: 2px;
    font-size: 14px;
    color: #0073aa;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

#loopage a:hover {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

#loopage .current {
    background-color: #0073aa;
    color: #fff;
    font-weight: bold;
    border-color: #0073aa;
}

#loopage .prev, #loopage .next {
    font-weight: bold;
}

#pet-content {
    transition: opacity 0.3s ease;
}

/* Responsividade */
@media only screen and (max-width: 768px) {

	#loopage a, #loopage span {
        padding: 6px 8px;
        font-size: 12px;
    }
	
    /* Tablet */
    #pet-content a {
        width: 50%;
        margin-right: 20px;
    }

    .pet-dados {
        display: block;
    }

    .pet-foto {
        padding-right: 0;
    }

    .pet-info {
        border-radius: 0 0 20px 20px;
        margin-top: 0;
    }

    .pet-box {
        margin-right: 0;
        overflow: unset;
        position: unset;
    }

    .pet-hover {
        width: 100%;
        height: auto;
        display: block;
        position: unset;
        padding: 10px 5px;
    }

    #listaFiltros {
        margin: 0;
        display: flex;
        flex-flow: row wrap;
        align-content: space-between;
        align-items: stretch;
        justify-content: stretch;
    }

    #listaFiltros .button {
        flex: 1;
        margin: 5px;
    }
}

@media only screen and (max-width: 544px) {

    /* Celular */
    #pet-content a {
        width: 100%;
        margin-right: 0;
    }
}