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

body {
	font-family: 'Montserrat', Century Gothic, sans-serif;
	font-weight: 200 !important;
	color: rgba(94,119,142,0.7);
	-webkit-font-smoothing: antialiased;
	background-image: url('../img/bg.png');
}

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

a {
	color: #ffffff;
}

a:hover {
	color: rgba(94,119,142,1);
	text-decoration: none;
	-webkit-transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;
	-ms-transition: all 0.25s ease-in-out;
	-o-transition: all 0.25s ease-in-out;
	transition: all 0.25s ease-in-out;
}

hr.dashed {
	border-left: 0 none;
	border-right: 0 none;
	border-bottom: 0 none;
  border-top: 1px dashed rgba(94,119,142,0.7);
  background: none;
  height: 0;
}

.lead 								{ line-height: 1.8em; }

.oswald			 					{ font-family: 'Oswald'; }
.vidaloka							{ font-family: 'Vidaloka'; }
.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-16							{ font-size: 16px; }
.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: 3px; }
.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; }
.white-light					{ color: rgba(94,119,142,0.7); }
.tr-white							{ color: rgba(255,255,255,0.5); }
.tan									{ color: #b89c59; }

/* global background colours
 ----------------------- */
.bg-white 						{ background-color: #ffffff; }
.bg-grey 							{ background-color: #AFB3B9; }
.bg-white-light				{ background-color: rgba(255,255,255,0.05); }

/* background choices
 ----------------------- */
.main {
	background-image: url('../img/horse-header.png');
	background-size: contain;
	background-repeat: no-repeat;
	padding: 150px 0px;
}

.main-login {
	background-image: url('../img/horse-header.png');
	background-position: top left;
  background-repeat: no-repeat;
  background-size: contain;
	height: 100%;
	/* border: 1px solid red; */
}

.stallions,
.broodmares,
.competitors,
.youngstock,
.legacy,
.information,
.hof,
.whoopsie,
.alberta,
.newyork,
.record {
	background-size: contain;
	background-repeat: no-repeat;
	padding: 150px 0px;
}

.stallions 			{ background-image: url('../img/stallions.svg'); }
.broodmares 		{ background-image: url('../img/broodmares.svg'); }
.competitors		{ background-image: url('../img/competitors.svg'); }
.youngstock			{ background-image: url('../img/youngstock.svg'); }
.legacy					{ background-image: url('../img/legacy.svg'); }
.information		{ background-image: url('../img/information.svg'); }
.hof						{ background-image: url('../img/halloffame.svg'); }
.whoopsie				{ background-image: url('../img/404.svg'); }
.alberta				{ background-image: url('../img/alberta.svg'); }
.newyork				{ background-image: url('../img/newyork.svg'); }
.record					{ background-image: url('../img/record.svg'); }

.comp-box:hover		{ background: rgba(255,255,255,0.1); }

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


/* login page
 ----------------------- */
#login {
	/* background-image: url('../img/bg.png'); */
	background-size: auto;
	background-repeat: repeat;
	width: 100vw !important;
	height: 100vh !important;
	/* background-color: #0a1521; */
}

.login-inner {
	width: 100%;
	height: 100%;
}

form input[type='text'],
form input[type='password'] {
	background: rgba(255,255,255,0.1);
	-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: 12px;
	padding: 8px 12px;
	margin-bottom: 10px;
	font-weight: 100;
}

form input[type='text']::-webkit-input-placeholder,
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;
}

form input[type='text']:focus,
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;
	}
}

.image-box {
	position: relative;
}

.brands {
	width: 50px;
	height: 100%;
	background: rgba(7,16,24,0.8);
	float: left;
  position: absolute;
  left: 0px;
  top: 0px;
}

.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: #0b1622;
	background-image: url('../img/bg.png');
	padding: 75px 0px;
}

footer a {
	color: rgba(255,255,255,0.3);
}

footer a:hover {
	color: #ffffff;
}

/* 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;
}

/*show records
 ----------------------- */
.show-records tr th {
	font-family: 'Oswald' !important;
	color: #b89c59 !important;
	letter-spacing: 2px;
	font-weight: 200;
	text-transform: uppercase;
}

.show-records th,
.show-records td {
	border-top: 1px solid rgba(94,119,142,0.7) !important;
}

.show-records td a {
	color: rgba(94,119,142,0.9);
	font-style: italic;
}

.show-records td a:hover {
	color: #ffffff;
}

.custom-list-group li {
	background: rgba(94,119,142,0.1);
}

.custom-list-group li.disabled {
	background: rgba(94,119,142,0.2);
}

/*pedigree
 ----------------------- */
.pedigree {
	border: 0 none;
	text-align: left;
	font-size: 14px;
  color: rgba(94,119,142,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(94,119,142,0.95);
	text-decoration:none;
	position:relative;
	font-style: italic;
}

.pedigree tbody tr td#sire a,
.pedigree tbody tr td#sire,
.pedigree tbody tr td#dam a,
.pedigree tbody tr td#dam {
	color: #b89c59;
  font-size: 16px;
	font-family: "Oswald";
	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(94,119,142,0.6);
    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;
}

.logo-nav-side {
	position: relative;
	top: 50%;
	display: block;
	width: 300px;
	margin-left: -7.5em;
}

#shell {
	width: 30px;
	float: left;
}

.rotate {
	-webkit-transform: rotate(-90deg);
	-moz-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

::-moz-selection { /* Code for Firefox */
  color: #b89c59;
  background: rgba(48,65,76,1.0);
}

::selection {
  color: #b89c59;
  background: rgba(48,65,76,1.0);
}

.btn-primary {
	background-color: rgba(94,119,142,0.8) !important;
	border-color: rgba(94,119,142,0.8) !important;
}
.btn-pink {
	color: #fff;
	background-color: rgba(129,75,105,0.7) !important;
	border-color: rgba(129,75,105,0.7) !important;
}
