ol {
    padding-left: 15px;
}

#adoptions {
    background-color: #fff;
    background-image: linear-gradient(rgba(255, 255, 255, 0.20), rgba(255, 255, 255, .26)),
        url(../images/backgrounds/corkboard2.jpg);
    background-repeat: repeat;
}

#headline {
    background-image: linear-gradient(rgba(0, 0, 0, 0.20) 5%, rgba(255, 255, 255, 1.0) 90%),
        url(../images/backgrounds/adoptions_headline.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-flow: row wrap;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
}

#headline h1 {
    font-size: 3.5em;
    line-height: 1.1;
    color: #fff;
    text-shadow: -1px -1px 0 #333,
        /* Left top shadow */
        1px -1px 0 #333,
        /* Right top shadow */
        -1px 1px 0 #333,
        /* Left bottom shadow */
        1px 1px 0 #333;
    /* Right bottom shadow */
    margin: 30px auto;
}

#process {
    background-color: var(--grey1);
}

#process ol {
    margin: 20px auto;
}

#faq {
    background-color: var(--grey2);
    width: 100%;
}

#surrender {
   background-color: var(--grey2);
}

#option1 ul,
#option2 ul {
    margin: 10px 30px;
}

#option2 {
    background-color: var(--grey1);
}

#option1 h3,
#option2 h3 {
    font-size: 1.25em;
    margin-bottom: -8px;
    padding-bottom: 0;
    padding-top: 1em;
    text-decoration: underline;
    text-decoration-color: var(--teal);
    text-underline-offset: 2px;
}

.qna {
    list-style-type: none;
    padding-left: 0;
}

.qna li {
    margin-bottom: 20px;
}

.prefix {
    font-weight: bold;
    margin-right: 10px;
    /* Space between prefix and text */
    color: var(--teal);
    /* Set the color of Q: and A: to teal */
}

.question,
.answer {
    display: block;
    /* Ensures it takes full width for better control */
}

.question .prefix,
.answer .prefix {
    display: inline-block;
    /* Keeps prefix inline with text */
    width: 20px;
    /* Ensure consistent width for alignment */
}

#faq hr {
    border: none;
    border-top: 1px solid var(--teal);
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
}

ul.green-checks {
    list-style-type: none;
    padding-left: 0;
}

ul.green-checks li {
    position: relative;
    padding-left: 27px;
    padding-bottom: .7em;
}

ul.green-checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    background-image: url('../images/icons/bullet_green-check.png');
    background-size: cover;
    background-repeat: no-repeat;
}

ul.red-x {
    list-style-type: none;
    padding-left: 0;
}

ul.red-x li {
    position: relative;
    padding-left: 27px;
    padding-bottom: .7em;
}

ul.red-x li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    background-image: url('../images/icons/bullet_red-x.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.welcome-card {
    background-color: rgba(255, 255, 255, .85);
    color: #000;
    border: 1px solid rgba(0, 0, 0, 0.65);
    box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.25);
    padding: 5px 15px;
    margin-bottom: 35px !important;
    width: 49%;
    margin-left: .5%;
    margin-right: .5%;
}

.what {
    padding: 10px;
}

.action-buttons {
    margin-top: auto;
}

.action-buttons .button {
    margin-left: 0;
    margin-right: 0;
    cursor: pointer;
}

.adoption-source {
    width: 50%;
    margin: auto;
    text-align: right;
    align-items: center;
}

.adoption-source img {
    height: 2em;
    margin: auto;
    width: auto;
}

.bird-data {
    margin-left: .5%;
    margin-right: .5%;
    padding: 0 0 0 25px;
    width: 69%;
}

.bird-image {
    margin: 0;
    margin-left: .5%;
    margin-right: .5%;
    padding: 0;
    position: relative;
    width: 29%;
}

.bird-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.bird-tile {
    background: #ffffffe7;
    box-shadow: 2px 2px 7px rgba(77, 77, 77, 0.349);
    padding: 20px 30px 30px;
    margin-bottom: 40px;
}

.bird-name {
    color: var(--teal);
    font-size: 2em;
    width: 50%;
    white-space: nowrap;
    overflow: visible;
}

.bird-species {
    border-bottom: 1px solid var(--teal);
    font-size: 1em;
    margin: 6px 0 10px;
    padding-bottom: 4px;
}

.bird-story {
    font-size: 1em;
    padding-bottom: 20px;
}

.introduction {
    background: #ffffffe7;
    border-bottom: 1px solid var(--teal);
    box-shadow: 2px 2px 7px rgba(77, 77, 77, 0.35);
    margin: auto auto 40px;
    padding: 10px 25px;
    
}

.introduction h1 {
    text-decoration: underline;
    color: var(--teal);
}

.callout {
    position: absolute;
    top: -45px;
    left: -45px;
    width: 100%;
    height: 100%;
}

.callout img {
    width: 50%;
    height: 50%;
    object-fit: contain;
    overflow-clip-margin: initial !important;
    overflow: visible !important;
}

.main {
    width: 79%;
    margin-left: .5%;
    margin-right: .5%;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    .bird-data {
        width: 98%;
        padding-left: 0;
    }

    .bird-image {
        width: 98%;
    }

    .bird-story {
        font-size: .9em;
        width: 100%;
    }

    .bird-tile {
        width: 70%;
        margin: auto;
        margin-bottom: 35px;
    }

    .callout {
        top: -55px;
        left: -55px;
    }

    .callout img {
        width: 45%;
        height: 45%;
    }

    .main {
        width: 99%;
    }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
    .callout {
        top: -60px;
        left: -60px;
    }

    .callout img {
        width: 60%;
        height: 60%;
    }
}


@media only screen and (max-width: 700px) {
    #adoption-intro {
        text-align: center !important;
        text-decoration: none;
    }

    .action-buttons .button {
        margin-bottom: 10px;
    }

    .bird-image {
        width: 99%;
    }

    .bird-name {
        font-size: 2em;
        line-height: 1em;
        padding: 10px 0 0 0;
    }

    .bird-data {
        padding: 0;
        width: 99%;
    }

    .bird-story {
        text-align: justify;
        font-size: 1em;
        padding-bottom: 20px;
    }

    .button {
        padding-top: 8px;
        padding-bottom: 8px;
        font-size: 21px;
    }

    .introduction h1 {
        color: var(--teal);
        font-size: 1.6em;
    }

    .main {
        width: 99%;
    }
    
    .welcome-card {
        padding-left: 20px;
        padding-right: 20px;
        margin-bottom: 0 !important;
        width: 95%;

    }

    .what {
        padding: 0;
    }
}

@media only screen and (min-device-width : 375px) and (max-device-width : 812px) and (orientation : landscape) {
    .bird-data {
        margin-left: .5%;
        margin-right: .5%;
        padding: 0;
        width: 59%;
    }

    .bird-image {
        margin-left: .5%;
        margin-right: .5%;
        padding: 10px 0;
        width: 39%;
        height: 100%;
    }

    .button.tile50 {
        width: 49;
    }
    .introduction p {
        font-size: .55em !important;
    }

    .main {
        width: 99%;
    }
    /* .tile10 {
        width: 99%;
    }

    .tile20 {
        width: 99%;
    }

    .tile30 {
        width: 99%;
    }

    .tile40 {
        width: 99%;
    }

    .tile50 {
        width: 99%;
    }

    .tile60 {
        width: 99%;
    }

    .tile70 {
        width: 99%;
    }

    .tile80 {
        width: 99%;
    }

    .tile90 {
        width: 99%;
    } */

    #adoptions p {
        font-size: .85em;
        line-height: 1.3em;
    }
}
