embed.card ~ .card {
    padding-top: 30px;
    position: relative;
}

embed.card ~ .card table {
    width: 100%;
    margin-bottom: 20px;
}

embed.card ~ .card table .linkcell {
    width: 5%;
    text-align: center;
    vertical-align: middle;
    font-size: 40pt;
}

embed.card ~ .card table .linkcell a {
    display: none;
}

embed.card ~ .card table h1 {
    line-height: 1.7em !important;
}

#adopt-me {
	top: 0;
	right: 0;
    padding: 10px;
    border: 3px double white;
	background-color: #F06;
    color: white !important;
    font-size: 15pt;
	display: none;
	position: absolute;
	cursor: pointer;
}

#adopt-me:hover {
	color: white !important;
}

.card .loading {
    width: 100%;
    height: 100%;
    display: block;
    line-height: 400px;
}

#dog-photo-cell {
    width: 40%;
    text-align: center;
    vertical-align: middle;
}

#dog-photo-cell img {
    max-width: 300px;
    max-height: 340px;
}

#dog-info-extended-cell {
    width: 50%;
    padding-left: 50px;
}

#dog-info-extended-cell .dog-info-extended h1 {
    margin-top: 30px;
    margin-bottom: 10px;
    padding: 0;
    line-height: 1em;
    font-size: 40pt !important;
}

.dog-description {
    display: block;
}

embed.card ~ .card > hr, .feed-container {
    display: none;
}

.feed-container h2 {
    margin-bottom: 25px;
}

.feed hr {
    margin-bottom: 40px;
}

.feed div.img {
    width: 193px;
    height: 193px;
    margin-right: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    float: left;
}

.feed div.img:nth-child(4n) {
    margin-right: 0;
}

.feed div.img img {
    margin-left: -33%;
    margin-top: -60%;
    max-width: 300px;
    min-height: 200px;
}

.feed tr.description a {
    margin-top: 20px;
    font-weight: bold;
    color: #F06;
    text-align: left;
    display: block;
}

.feed tr.description .quote {
    margin-left: 40px;
    max-width: 90%;
    display: inline-block;
    text-align: left;
}

.feed tr.description .quote:before, .feed tr.description .quote:after {
    font-family: Georgia, serif;
    font-size: 50pt;
    color: #476b6b;
    position: absolute;
}

.feed tr.description .quote:before {
    content: "\201C";
    margin-left: -40px;
    margin-top: -20px;
}

.feed tr.description .quote:after {
    content: "\201D";
    margin-left: 20px;
}

#card-links {
    margin-top: 30px;
    text-align: center;
    display: block;
}

@media print {

    #adopt-me, .card table .linkcell a, hr, .feed-container, #card-links, #footer {
        display: none !important;
    }
    
}