body {
	font-family: 'Lora', serif;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Tangerine', cursive;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: #301f0b;
	transition: all 0.4s ease-out;
}

a:hover,
a:focus {
	color: #c1a757;
	text-decoration: none;
}

#masthead {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 10;
}


/* Bootstrap integration for 5-columns layout */
.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
	position: relative;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
}

.col-xs-15 {
	width: 20%;
	float: left;
}
@media (min-width: 768px) {
	.col-sm-15 {
		width: 20%;
		float: left;
	}
}
@media (min-width: 992px) {
	.col-md-15 {
		width: 20%;
		float: left;
	}
}
@media (min-width: 1200px) {
	.col-lg-15 {
		width: 20%;
		float: left;
	}
}

#page {
	min-height: 100vh;
	background-image: url(../img/page_bg.jpg);
	background-size: contain;
	background-position: center top;
	background-repeat: repeat-y;
}

@media all and (orientation: portrait) {
	
	#page {
		background-image: none;
	}
	
	body.home #page #welcome,
	body.home #page #passingbg
	{
		background-image: url(../img/page_bg_v.jpg);
	}
	
	#page #welcome,
	#page #passingbg {
		background-size: cover;
		background-position: center center;
		background-repeat: repeat-y;
	}
}

#intro {
	min-height: 100vh;
	background-image: url(../img/page_bg.jpg);
	background-size: cover;
	background-position: center top;
	background-repeat: repeat-y;
}

.navbar {
	position: relative;
}

.navbar-toggle {
	background-color: #301f0b;
	margin: 0;
	padding: 20px 18px;
	border: none;
	border-radius: 0px;
	position: relative;
	top: 10px;
	right: 0px;
	z-index: 4;
}

.navbar-toggle .icon-bar {
	background-color: #e4dcc3;
	transform: rotate(0);
}

#navbar {
	position: absolute;
	z-index: 3;
	background-color: rgba(49, 31, 11, 0.9);
	color: #fff;
	margin: 0;
	opacity: 0;
	transition: opacity 0.3s ease-out;
	float: right;
	width: 320px;
	max-width: 100%;
	right: 0px;
	top: 133px;
	border: none;
	padding: 15px 0;
}

/*#navbar {
	position: fixed;
	z-index: 3;
	background-color: rgba(49, 31, 11, 0.9);
	color: #fff;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh !important;
	max-height: 100vh;
	margin: 0;
	opacity: 0;
	transition: opacity 0.3s ease-out;
}
*/
#navbar.in {
	opacity: 1;
}
/*
.outer {
	display: table;
	width: 100%;
}

#navbar .outer,
#navbar .inner {
	height: 100vh;
}

.inner {
	width: 100%;
	display: table-cell;
	vertical-align: middle;
}
*/
#navbar ul {
	text-align: center;
	margin: 0;
	list-style-type: none;
	padding: 0;
}

.navbar-nav>li {
	font-size: 24px;
	text-transform: uppercase;
	transform: scale(0.5);
	transition: all 0.4s ease-out;
	margin-bottom: 5px;
}

#navbar.in .navbar-nav>li {
	transform: scale(1);
}

.navbar-nav>li li {
	font-size: 18px;
	text-transform: none;
}

.navbar-nav>li>a,
.navbar-nav .child>li>a {
	line-height: 1em;
	color: #e4dcc3;
	text-decoration: none;
	transition: color 0.3s ease-out;
}

.nav>li>a:hover,
.nav>li>a:focus {
	background-color: transparent;
}

.navbar-nav>li>a:hover,
.navbar-nav>li>a:focus,
.navbar-nav .child>li>a:hover,
.navbar-nav .child>li>a:focus {
	color: #fff;
}

.section-full {
	min-height: 100vh;
	position: relative;
}

.section-full .outer,
.section-full .inner {
	min-height: 100vh;
	padding-top: 15px;
	padding-bottom: 15px;
}

.section-title {
	text-align: center;
	font-size: 60px;
}

.section-subtitle {
	font-style: italic;
	font-size: 16px;
	text-align: center;
}

#welcome,
#welcome .outer,
#welcome .inner {
	height: calc(100vh - 60px);
	position: relative;
}



#welcome .site-name {
	text-align: center;
}

@media (min-width:768px) {
	#welcome .site-name {
		position: absolute;
		width: 100%;
		top: 50%;
		transform: translateY(-50%);
	}
}

.wbg {
	background-color: #e4dcc3;
	background-image: url(../img/deco-bg.jpg);
}

#passingbg {
	/* background-image: url(../img/deco-bg.png); */
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	padding-bottom: 88%;
}

.top-deco::before {
	content: '';
	display: block;
	position: absolute;
	height: 3px;
	width: 100%;
	/* background-color: #e4dcc3; */
	top: -8px;
}


.horse-header {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	text-align: center;
	background-color: rgba(229,220,195,0.9);
	width: 90%;
	max-width: 100%;
	padding: 15px;
	z-index: 3;
}

.horse-header::after {
	content: '';
	display: block;
	position: absolute;
	left: -8px;
	right: -8px;
	top: -8px;
	bottom: -8px;
	background-color: transparent;
	z-index: 2;
	border: 3px solid #e4dcc3;
}

h1.horse-name {
	font-size: 33px;
	white-space: nowrap;
}

.horse-goback {
	position: relative;
	z-index: 4;
}

@media (min-width: 768px) {
	.horse-header {
		width: auto;
		padding: 30px;
	}
	
	h1.horse-name {
		font-size: 60px;
	}
}


#page-wrapper {
	display: none;
}

#page-wrapper #welcome {
	background-size: cover;
}

.horse-gallery figure,
.home-gallery figure {
	margin-top: 15px;
	margin-bottom: 15px;
	position: relative;
}

/*.horse-gallery figure::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

@media (min-width: 768px) {
	.horse-gallery figure::after {
		display: none;
	}
}*/

.horse-gallery .overlay {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(227, 219, 196, 0.8);
	opacity: 0;
	transition: all 0.4s ease-out;
}

.horse-gallery a:hover .overlay {
	opacity: 1;
}

.horse-gallery .overlay i {
	font-size: 36px;
	color: #301f0b;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(0%) translateX(-50%);
	transition: all 0.4s ease-out;
}

.horse-gallery a:hover .overlay i {
	transform: translateY(-50%) translateX(-50%);
}

.horse-gallery a {
	display: block;
	position: relative;
}

.horse-gallery a img {
	display: block;
}

.horse-gallery a::before,
.horse-gallery a::after,
.horse-gallery a span::before,
.horse-gallery a span::after {
	content: '';
	display: block;
	position: absolute;
	z-index: 2;
	background-color: #301f0b;
	transition: all 0.4s ease-out;
}



.horse-gallery a::before {
	left: 0;
	top: 0;
}

.horse-gallery a::after {
	right: 0;
	bottom: 0;
}

.horse-gallery a span::before {
	left: 0;
	bottom: 0;
}

.horse-gallery a span::after {
	right: 0;
	top: 0;
}

.horse-gallery a::before,
.horse-gallery a::after {
	height: 2px;
	width: 0%;
}

.horse-gallery a:hover::before,
.horse-gallery a:hover::after {
	width: 100%;
}

.horse-gallery a span::before,
.horse-gallery a span::after {
	height: 0%;
	width: 2px;
}

.horse-gallery a:hover span::before,
.horse-gallery a:hover span::after {
	height: 100%;
}



.strain-col {
	border-left: 1px solid rgba(49, 31, 11, 0.3);
}

@media (min-width: 768px) {
	.strain-col {
		min-height: 400px;
	}
}

.strain-col-first {
	border-left: none;
}

.strain-listing .strain-title {
	font-family: 'Lora', serif;
	text-align: center;
	font-size: 18px;
	margin: 0;
}

.strain-listing .strain-horses ul {
	padding: 0;
	margin: 0;
	margin-top: 30px;
}

.strain-listing .strain-horses li {
	list-style-type: none;
	text-align: center;
	margin: 0;
	padding: 0;
}

.strain-listing .strain-horses li a {
	display: block;
	padding: 15px 0;
}

.strain-listing .strain-horses li a:hover {
	background-color: #301f0b;
}




.carousel-indicators {
	position: static;
	float: left;
	width: 100%;
	text-align: left;
	padding: 0px;
	margin-top: 0;
	margin-left: 0;
}

@media (min-width: 768px) {
	margin-top: -34px;
	margin-left: -30%;
	padding: 0px 15px;
	float: right;
	text-align: right;
}

.carousel-indicators li {
	text-indent: 0;
	width: auto;
	height: auto;
	border: none;
	border-radius: 0px;
}

.carousel-indicators .active {
	margin: 0;
	width: auto;
	height: auto;
	background-color: transparent;
}

.carousel-indicators li a {
	
}

.carousel-indicators li a:hover {
	background-color: #301f0b;
}

#map-canvas {
	min-height: 400px;
}

.form-control {
	border-radius: 0px;
	border-color: #c1a757;
	background-color: #f3eedf;
}

.form-control:hover,
.form-control:focus {
	background-color: #fff;
}

.btn-default {
	border-radius: 0px;
	background-color: #301f0b;
	color: #c1a757;
	cursor: pointer;
	padding: 10px 20px;
	border: 1px solid #301f0b;
}

.btn-default:hover,
.btn-default:focus {
	color: #301f0b;
	background-color: #c1a757;
	border: 1px solid #301f0b;
}








/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #f9f9f9;
	color: #444;
	text-shadow: none;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	        border-radius: 4px;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url('../img/fancybox_sprite.png');
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url('../img/fancybox_loading.gif') center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('../img/blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 10px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: 10px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
    overflow: hidden !important;
    width: auto;
}

.fancybox-lock body {
    overflow: hidden !important;
}

.fancybox-lock-test {
    overflow-y: hidden !important;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background: url('../img/fancybox_overlay.png');
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	background: rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 15px;
	   -moz-border-radius: 15px;
	        border-radius: 15px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}

/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5){

	#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
		background-image: url('../img/fancybox_sprite@2x.png');
		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
	}

	#fancybox-loading div {
		background-image: url('../img/fancybox_loading@2x.gif');
		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
	}
}






.pedigree-wrapper {
	overflow: auto;
}

@media (min-width: 768px) {
	.pedigree-wrapper {
		overflow: hidden;
	}
}


.pedigree {
	color: #333;
	min-width:738px;
	width: 100%;
	
	/* flex container */
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-align-content: flex-start;
	-ms-flex-line-pack: start;
	align-content: flex-start;
	-webkit-align-items: flex-start;
	-ms-flex-align: start;
	align-items: flex-start;
}

.individual {
	margin: 15px;
	/* flex item */
	-webkit-order: 0;
	-ms-flex-order: 0;
	order: 0;
	-webkit-flex: 0 1 auto;
	-ms-flex: 0 1 auto;
	flex: 0 1 auto;
	-webkit-align-self: stretch;
	-ms-flex-item-align: stretch;
	align-self: stretch;
}

.gen0 .individual,
.individual.male {
	color: #301f0b;
}

.gen0 .individual {
	font-size: 18px;
}

.gen0, .gen1, .gen2, .gen3 {
	/* flex item */
	-webkit-order: 0;
	-ms-flex-order: 0;
	order: 0;
	-webkit-flex: 0 1 auto;
	-ms-flex: 0 1 auto;
	flex: 0 1 auto;
	-webkit-align-self: center;
	-ms-flex-item-align: center;
	align-self: stretch;
	
	/* flex container */
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-align-content: flex-start;
	-ms-flex-line-pack: start;
	align-content: flex-start;
	-webkit-align-items: flex-start;
	-ms-flex-align: start;
	align-items: flex-start;
	justify-content: space-around;
}

.alt {
	color: #333;
}

.pedigree-container tr:first-child td:first-child{
	font-size:18px;
	font-weight:bold;
	text-transform:uppercase;
}
.pedigree table, .pedigree td,.pedigree tbody{border:0!important;}
.pedigree .sex_M{color:#301f0b;}
.pedigree .sex_M{font-style:italic;}
.pedigree td {
    padding: 15px 0;
    flex: 0 1 auto;
    white-space: nowrap;
}
#cookieChoiceInfo{
	top:auto!important;
	bottom:0!important;
	background-color:#f3eedf!important;
	border-color:#c1a757!important;
	color:#333!important;
	font-size:12px!important;
}
#cookieChoiceInfo a{
	background-color: #301f0b;
    color: #c1a757;
    border: 1px solid #301f0b;
}
#cookieChoiceInfo a:hover{
    color: #301f0b;
    background-color: #c1a757;
    border: 1px solid #301f0b;
}
#info-container.section-full, 
#info-container .section-full, 
#info-container .section-full .inner, 
#info-container .section-full .outer{
	min-height:auto;
}
#info-container #horse-description p{padding-top:50px;}

.video-holder {
	height: 100vh;
	display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
	display: -ms-flexbox;  /* TWEENER - IE 10 */
	display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
	display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
	
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: center;
	justify-content:center;
}