/* --- Overview */

#horses {
	float: left;
	width: 100%;
	margin-bottom: 3.5em;
}

#horses .horse {
	float: left;
	display: block;
	width: 25%;
	margin: 0 0.5em 1em;
	text-decoration: none;
}

#horses .horse div {
	padding: 1.75em;
	background: #efefef;
}

#horses .horse h2 {}

#horses .horse p {
	margin: 0;
}


@media (max-width: 768px) {

	#horses .horse {
		width: 50%;
	}

}

@media (max-width:480px) {

	#horses .horse {
		width: 100%;
	}

}



/* --- Detail */

#horse-data {
	float: left;
	width: 30%;
	margin-bottom: 3.5em;
}

#horse-data ul {
	margin: 0;
	padding: 0;
}

#horse-data ul li {
	float: left;
	width: 100%;
	list-style: none;
}


#horse-slider {
	float: right;
	width: 70%;
	margin-bottom: 1.75em;
}

#horse-slider .flexslider {
	width: 100%;
	height: auto;
	margin-bottom: 1.75em;
	background: #efefef;
	border: 0;
}

#horse-slider .flex-direction-nav a  {
	line-height: 40px;
}



#horse-content {
	float: left;
	width: 50%;
	margin-bottom: 1.75em;
}


#horse-video {
	float: right;
	width: 50%;
	margin-bottom: 3.5em;
}

#horse-video .video-wrapper {
	position: relative;
	max-width: 100%;
	height: 0;
	margin-bottom: 1.75em;
	padding-bottom: 56.25%; /* 16:9 */
	overflow: hidden;
}

#horse-video .video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}



#horse-familytree {
	float: left;
	width: 100%;
	margin-bottom: 3.5em;
}

#horse-familytree .table-responsive {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
}

#horse-familytree .table-responsive table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}

#horse-familytree .table-responsive table td {
	padding: 10px 20px;
	color: #95959e;
	text-align: center;
	border: 1px solid #d0d0d0;
	vertical-align: middle;
}

#horse-familytree .table-responsive table td p {
	margin: 0;
}



#horse-results {
	float: left;
	width: 100%;
	margin-bottom: 3.5em;
}



#horse-offspring {
	float: left;
	width: 100%;
	margin-bottom: 3.5em;
}


@media (max-width: 768px) {}

@media (max-width:480px) {
	
	#horse-data {
		width: 100%;
	}
	
	#horse-slider {
		width: 100%;
	}
	
	#horse-content {
		width: 100%;
	}
	
	#horse-video {
		width: 100%;
	}
	
}