.listing_body {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    min-width: 100%;
    grid-column-gap: 4%;
}

.left_body {
    width: 68%;
    display: flex;
    grid-row-gap: 20pt;
    flex-direction: column;
    box-sizing: border-box;
    padding-left: 20pt;
}

        h1.name_title {
            font-size: 30px;
            font-weight: 600;
            color: #000;
            margin: 0;
        }

        h2.age_subtitle {
            font-size: 25px;
            color: #02680c !important;
            margin: 0;
        }

    .img_grid_disp {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        grid-column-gap: 10pt;
        grid-row-gap: 10pt;
        padding: 0;
        justify-content: flex-start;
    }

        .grid_item {
            width: calc((100% - 20pt) * .333333);
            margin-bottom: -7px;
        }

            .grid_item > img {
                width: 100%;
                aspect-ratio: 1/1;
                object-fit: cover;
            }

    .description_category {

    }

.right_body {
    width: 28%;
    background-color: rgba(255,255,255,0.5);
    border-radius: 7px;
    padding: 15pt;
    display: flex;
    grid-row-gap: 20pt;
    flex-direction: column;
}

    .listing_header_right {
        text-align: center;
    }
        .listing_header_right > h2 {
            font-size: 30px;
            font-weight: 600;
            color: #000;
            margin: 0;
        }

    .adoption_facts {
        display: flex;
        flex-direction: column;
        background-color: #fafafa;
        border-radius: 7px;
        box-shadow: 0 0 8px 0px #00000020;
    }

        .adoption_fact {
            padding: 10pt;
            border-bottom: 1px solid #ccc;
        }

        .bottom_fact {
            border-bottom: 0;
        }

.adoption_button {
    display: inline-block;
    font-size: 17px;
    background-color: #246e36;
    border: 2px solid #246e36;
    border-radius: 7px;
    transition: background-color 300ms ease 0ms;
    position: relative;
    font-weight: 500;
    padding: .3em 1em;
    line-height: 1.7em !important;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    transition-property: all !important;
    text-decoration: none;
    color: #fff !important;
    cursor:pointer;
}

.adoption-form label {
    display: block;
    font-size: 13px;
    margin-bottom: -2px;
    margin-top: 1em;
}

.adoption-form input[type="radio"] + label {
    display: inline-block;
    margin-right: 1em;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #000;
    vertical-align: 7%;
    cursor:pointer;
}

.adoption-form h3 {
    margin-bottom: -0.7em;
    margin-top: 1em;
    color: #2c6e37;
    font-weight: bold;
}

.adoption-form textarea {
    max-width: 100%;
    width: 500px;
    height: 100px;
}

.adoption-form input[type="submit"] {
    background: linear-gradient(0deg, #307136, #83b830);
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 8px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0px 1px 4px rgba(0,0,0,0.6);
}

.adoption-form input[type="submit"]:hover {
    background: linear-gradient(0deg, #3e9739, #83b830);
}

.adoption-form .submit-container {
    margin-top: 2em;
}

input[type="text"].invalid, input[type="tel"].invalid, input[type="email"].invalid, textarea.invalid {
    border: 1px solid #f00;
    outline: 2px solid rgba(255,0,0,0.5);
    outline-offset: 0px;
}

span.radio-invalid {
    color: #f00;
    font-weight: bold;
    position: relative;
    top: -2px;
    font-size: 12px;
    border: 1px solid #f00;
    display: inline-block;
    padding: 0px 5px;
    visibility: hidden;
}

.radio-invalid.invalid {
    visibility:visible;
}

.progress-overlay {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.5);
    z-index: 100;
    display: none;
}

.progress-msg {
    align-self: center;
    justify-self: center;
    display: flex;
    background-color: #fff;
    padding: 20px 50px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    box-shadow: 0px 3px 8px rgba(0,0,0,0.3);
}

/*reformat for mobile*/
@media only screen and (max-width: 800px) {
    .listing_body {
        flex-direction: column !important;
        grid-row-gap: 20pt;
    }

    .left_body {
        width: 100%;
    }

    .right_body {
        width: auto;
    }

}