/* typography
 ----------------------- */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,400i,700,700i|Poppins:300,300i,400,400i,700');

body {
	font-family: 'Poppins', Futura, Century Gothic, sans-serif;
	font-weight: 200;
	color: rgba(48,65,76,0.5);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Playfair Display', serif;
	font-weight: 400;
}

a {
	color: #30414C;
	font-weight: 300;
}

a:hover {
	color: #1e2023;
	text-decoration: none;
}

a.light {
	color: rgba(255,255,255,0.7);
}

a.light:hover {
	color: rgba(255,255,255,1.0);
}

.shadow {
	text-shadow: 0 0 10px #1e2023;
}

.poppins		 					{ font-family: 'Poppins'; }
.playfair							{ font-family: "Playfair Display"; }

.text-10							{ font-size: 10px; }
.text-11							{ font-size: 11px; }
.text-12							{ font-size: 12px; }
.text-14							{ font-size: 14px; }
.text-18							{ font-size: 18px; }
.text-20							{ font-size: 20px; }
.text-24							{ font-size: 24px; }
.text-32							{ font-size: 32px; }
.text-48							{ font-size: 48px; }
.text-64							{ font-size: 64px; }
.text-72							{ font-size: 72px; }
.text-144							{ font-size: 144px; }
.font-weight-light 		{ font-weight: 100; }
.letter-spaced				{ letter-spacing: 4px; }
.font-weight-100			{ font-weight: 100; }
.font-weight-200			{ font-weight: 200; }
.font-weight-300			{ font-weight: 300; }
.font-weight-400			{ font-weight: 400; }
.font-weight-500			{ font-weight: 500; }
.font-weight-600			{ font-weight: 600; }
.font-weight-700			{ font-weight: 700; }

.no-padding						{ padding: 0px; margin: 0px; }

/* global colours
 ----------------------- */
.white 								{ color: #ffffff; }
.tr-white							{ color: rgba(255,255,255,0.5); }
.grey 								{ color: #AFB3B9; }
.light-grey						{ color: rgba(175,179,185,0.6); }
.dark-blue						{ color: #30414C; }
.chocolate						{ color: #54433D; }
.chestnut							{ color: #af9684; }
.chestnut-light				{ color: rgba(175,150,132,0.6); }
.gold									{ color: #D3B23E; }

/* global background colours
 ----------------------- */
.bg-white 						{ background-color: #ffffff; }
.bg-grey 							{ background-color: #AFB3B9; }
.bg-dark-blue					{ background-color: #30414C; }
.bg-chocolate					{ background-color: #54433D; }
.bg-chestnut					{ background-color: #af9684; }
.bg-gold							{ background-color: #D3B23E; }

/* global fillcolours
 ----------------------- */
.fill-lightblue path	{ fill: #AFB3B9; fill-opacity: 0.5; }

/* global items
 ----------------------- */
.no-gutters,
.no-gutters .col,
.no-gutters [class*="col-"] {
	margin-right: 0 !important;
  margin-left: 0 !important;
}

.quote {
	height: 100px;
}

hr.white {
	border-top: 1px solid rgba(255,255,255,0.2);
}

.bar {
	height: 2px;
	width: 100px;
	background: rgba(255,255,255,0.5);
	margin-bottom: 20px;
}

.bar-dark {
	height: 2px;
	width: 100px;
	background: rgba(155,155,155,0.5);
	margin-bottom: 20px;
}

.white-shadow-box {
	background: #ffffff;
	-webkit-box-shadow: 0 0 40px 0 rgba(155,155,155,0.5);
	box-shadow: 0 0 40px 0 rgba(155,155,155,0.5);
	padding: 50px;
}

.shadow-box {
	background: #ffffff;
	-webkit-box-shadow: 0 0 40px 0 rgba(155,155,155,0.5);
	box-shadow: 0 0 40px 0 rgba(155,155,155,0.5);
	padding: 25px;
}

.shadow-box-img img {
	background: #ffffff;
	-webkit-box-shadow: 0 0 40px 0 rgba(155,155,155,0.5);
	box-shadow: 0 0 40px 0 rgba(155,155,155,0.5);
}

img.black-white {
	filter: grayscale(100%) sepia(40%);
	-webkit-filter: grayscale(100%) sepia(40%);
}

.neg-pos-100 {
	position: relative;
	top: -100px;
}

@media (max-width: 1200px) {
	.neg-pos-100 {
		top: 100px;
	}
}

/* global buttons
 ----------------------- */
.btn-default {
	-webkit-border-radius: 500px 500px 500px 500px;
	border-radius: 500px 500px 500px 500px;
	background: transparent;
	border: 2px solid rgba(255,255,255,0.5);
	color: #ffffff;
	text-transform: uppercase;
	font-weight: 500;
	letter-spacing: 2px;
	font-size: 10px;
	padding: 12px 16px;
}

.btn-default:hover {
	background: rgba(255,255,255,1.0);
	border: 2px solid rgba(255,255,255,1.0);
	color: rgba(10,13,20,0.83);
}

.btn-dark {
	-webkit-border-radius: 500px 500px 500px 500px;
	border-radius: 500px 500px 500px 500px;
	background: transparent;
	border: 2px solid rgba(155,155,155,0.5);
	color: rgba(155,155,155,1.0);
	text-transform: uppercase;
	font-weight: 500;
	letter-spacing: 2px;
	font-size: 10px;
	padding: 12px 16px;
}

.btn-dark:hover {
	background: rgba(155,155,155,1.0);
	border: 2px solid rgba(155,155,155,1.0);
	color: rgba(255,255,255,1.0);
}

/* login page
 ----------------------- */
#login {
	background-image: url('../img/compass.png');
	background-size: auto;
	background-position: 50px center;
	background-repeat: no-repeat;
	width: 100vw;
	height: 100vh;
	background-color: #54433D;
}

.login-inner {
	background-color: rgba(84,67,61,0.6);
	width: 100%;
	height: 100%;
	padding-top: 20%;
}

#login form input[type='text'],
#login form input[type='password'] {
	background: rgba(255,255,255,0.2);
	-webkit-border-radius: 500px 500px 500px 500px;
	border-radius: 500px 500px 500px 500px;
	color: #ffffff;
	font-family: "Montserrat", Gill Sans, Futura, Century Gothic, sans-serif;
	font-size: 10px;
	letter-spacing: 2px;
	padding: 8px 12px;
	margin-bottom: 10px;
	font-weight: 100;
}

#login form input[type='text']::-webkit-input-placeholder,
#login form input[type='password']::-webkit-input-placeholder {
	color: rgba(255,255,255,0.6);
	font-family: "Montserrat", Gill Sans, Futura, Century Gothic, sans-serif;
	font-weight: 100;
	text-transform: uppercase;
}

#login form input[type='text']:focus,
#login form input[type='password']:focus {
	border: 1px solid white;
	color: rgba(10,13,20,0.83);
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	background: rgba(255,255,255,1.0);
}

/* logo hover
 ----------------------- */

	.logo svg path.text {
    opacity: 0;
		-webkit-animation: FADEIN 500ms 500ms backwards ease; /* Safari 4+ */ /* Fx 5+ */ /* Opera 12+ */
  	animation:         FADEIN 500ms 500ms backwards ease; /* IE 10+, Fx 29+ */
		-webkit-transition: opacity 500ms ease-in-out;
		transition: opacity 500ms ease-in-out;
	}

	.logo:hover svg path.text {
		-webkit-transition: opacity 500ms ease-in-out;
		transition: opacity 500ms ease-in-out;
		opacity: 1;
	}


/* nav tabs adjustments
 ----------------------- */
.nav-tabs .nav-link {
	border: 0px solid transparent;
	border-radius: 0px;
	-webkit-border-radius: 0px;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #ffffff;
}

.nav-link {
	padding: 1rem 1.5rem;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  border-color: transparent;
	background: #af9684;
	color: #54433D;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
	color: #54433D;
	border: 0px;
	background: #af9684;
}

/* navigation & modal
 ----------------------- */
#navbar {
	padding: 25px 0px;
}

.navbar-scroll {
	background-color: rgba(48,65,76,1.0);
	/*-webkit-box-shadow: 0 0 25px 0 rgba(10,13,20,0.4);
	box-shadow: 0 0 25px 0 rgba(10,13,20,0.4);*/
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.navbar-header {
  float: none;
	width: inherit;
}

form.form-header input {
	border: 0px;
	background: rgba(255,255,255,0.2);
	-webkit-border-radius: 500px 500px 500px 500px;
	border-radius: 500px 500px 500px 500px;
	color: #ffffff;
	font-family: "Playfair Display";
	font-size: 11px;
	font-style: italic;
	letter-spacing: 0.5px;
	padding-left: 10px;
}

form.form-header input::-webkit-input-placeholder {
  color: #ffffff;
	font-family: "Playfair Display";
}

form.form-header input:focus {
	color: rgba(10,13,20,0.83);
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.modal {
	background: rgba(48,65,76,1.0);
}

.modal-fullscreen-menu .close {
  color: white;
  opacity: 1;
  padding: 10px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  font-size: 2vh;
}

.modal-fullscreen-menu .modal-dialog {
  margin: 0 auto;
  width: 100%;
  max-width: 80%;
  display: flex;
  height: 100%;
  align-items: center;
}

.modal-fullscreen-menu .modal-content {
  background-color: transparent;
  box-shadow: none;
  border: none;
}

.modal-fullscreen-menu .list-group-item {
	padding: 0px !important;
}

.modal-fullscreen-menu .list-group {
  margin: 0 auto;
  width: 100%;
}

.modal-fullscreen-menu .list-group a {
  letter-spacing: 0.05em;
  border: none;
  transition: all 0.25s ease;
  background-color: transparent;
  color: rgba(255,255,255,0.5);
	margin: 2px 0px;
	font-weight: 100;
}

.modal-fullscreen-menu .list-group a:hover {
  color: #ffffff;
	text-decoration: underline;
}

.navbar-light .navbar-toggler-icon {
	background-image: url('../img/nav-icon.svg');
}

.modal-fullscreen-menu .close {
	background-image: url('../img/close-btn.svg');
	top: 20px;
	right: 20px;
	padding: 9px;
}

/* home-page customs
 ----------------------- */
.history-panel-bg {
	background-image: url('../img/arab-drawing.png');
	background-position: left top;
	background-repeat: no-repeat;
	background-size: contain;
}

#main {
	position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
}

@media (max-width: 768px) {
	#main {
		display: none;
	}
}

.video-box {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

#video-background {
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100vh;
  width: auto;
  height: auto;
  z-index: -100;
	margin-bottom: -10px;
}

@media (max-width: 1200px) {
	.history-panel-bg {
		background-image: none;
	}
}

.square-box {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	width: 100%;
	height: 0;
	padding-top: 50%;
	padding-bottom: 50%;
	padding-left: 20%;
	padding-right: 20%;
	text-align: center;
	background-color: rgba(84,67,61,0.5);
}

.overlay {
	position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
	background-color: rgba(84,67,61,0.9);
}

.col-sm-3:hover .overlay,
.col-sm-2:hover .overlay {
  opacity: 1;
}

.overlay .text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

/* footer
 ----------------------- */
footer {
	background: #54433D;
	padding: 75px 0px;
}

footer a {
	color: #af9684;
}

footer a:hover {
	color: #ffffff;
}

/* custom north/south headers
 ----------------------- */
.north {
	background-image: url('../img/compass.png');
	background-position: left 30px;
	background-size: auto;
	background-repeat: no-repeat;
}

.south {
	background-image: url('../img/compass.png');
	background-position: left -530px;
	background-size: auto;
	background-repeat: no-repeat;
}

/* 404 page
 ----------------------- */
.short-header {
	height: 125px;
	background: url('../img/header2.png');
	background-position: top left;
	background-repeat: no-repeat;
	background-size: cover;
}

.short-header-horse {
 	height: 400px;
  background: url('../img/header5.png');
 	background-position: center center;
 	background-repeat: no-repeat;
 	background-size: cover;
}

.short-header-heritage {
 	height: 400px;
  background: url('../img/header-heritage.png');
 	background-position: center center;
 	background-repeat: no-repeat;
 	background-size: cover;
}

/*pedigree
 ----------------------- */
.pedigree {
	border: 0 none;
	text-align: left;
	font-size: 14px;
  color: rgba(84,67,61,0.7);
	font-family: "Playfair Display";
}

.pedigree tbody tr:hover td,
.pedigree tbody tr:hover th {
	background-color: transparent;
}

.pedigree tbody tr td a {
	color: rgba(84,67,61,0.7);
	font-style: italic;
	text-decoration:none;
	position:relative;
}

.pedigree tbody tr td#sire a,
.pedigree tbody tr td#sire,
.pedigree tbody tr td#dam a,
.pedigree tbody tr td#dam {
	color: #54433D;
  font-size: 16px;
	font-family: "Playfair Display";
	text-transform: uppercase;
	letter-spacing: 2px;
	font-style: normal;
	text-decoration:none;
	position:relative;
}

.pedigree tbody tr td a::after {
    content:'';
    display:inline-block;
    width:0;
    height:1px;
    background: rgba(84,67,61,0.3);
    position: absolute;
    left: 0px;
    bottom:0px;
    transition:0.2s ease-in;
}

.pedigree tbody tr td a:hover::after {
    width:100%;
}

.pedigree tbody tr td {
	vertical-align: middle;
	padding: 6px 10px;
}

#sire {
	vertical-align: bottom;
	background: url('../img/border.png') repeat-x left bottom;
}

#dam {
	vertical-align: top;
}

.top {
	vertical-align: top;
}

.bottom {
	vertical-align: bottom;
}

.border-left {
	background: url('../img/border.png') repeat-y left top;
}

.border-bottom {
	background: url('../img/border.png') repeat-x left bottom;
}

.border-top {
	background: url('../img/border.png') repeat-x left top;
}

.borderless {
	border: 0 none;
}

p.breed {
	color: rgba(118,95,45,0.4);
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}
