/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.index-card {
    display: block;
    padding: 10px 10px 10px 10px;
    margin: 20px 20px 40px 20px;
    border: 1px solid lightgrey;
    height: auto;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

@media screen and (min-width: 960px) {
    .horse-header
    {
        flex: 0 1 calc(50% - 1em);
    }
    
    .horse-content
    {
        flex: 0 1 calc(50% - 1em);
    }
}

@media screen and (max-width: 640px) {
    .horse-header
    {
        flex: 0 1 calc(100% - 1em);
    }
    
    .horse-content
    {
        flex: 0 1 calc(100% - 1em);
        padding: 10px 10px 10px 40px;
        /* position: absolute;
        top: 50%;
        transform: translateY(-50%); */
    }

    .horse-card {
        flex-wrap: wrap;
    }
}

.horse-content a
{
	color:#4e6c3c;
}

h1.horse-title
{
	color:#4e6c3c;
	font-size: .875rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.horse-image
{
	width: 100%;
	height: auto;
}

.horse-card {
display: flex;
justify-content: space-between;
padding: 10px 10px 10px 10px;
margin: 20px 20px 40px 20px;
border: 1px solid #d3d3d3;
height: auto;
min-height: 260px;
width: 100%;
font-size: 85%;
position: relative;
align-items: flex-end;
}

table.horse-details
{
	width:240px;
	height:200px;
	margin-left: auto;
	margin-right: auto;

}

table.horse-details th
{
	width:100px;
}

table.horse-details td
{
	width:auto;
}