html {
	height: 100%;
}

body {
	background: #000000 url('../_img/design/background.jpg') no-repeat fixed center;
    background-size: contain;
	text-align: center;
	height: 100%;
	margin: 0px;
}

.pageContainer {
	display: none;
	width: 980px;
	min-height: calc(100% - 200px);
	margin: auto;
	margin-bottom: 20px;
	padding-top: 20px;
	padding-bottom: 10px;
	text-align: center;
	background-color: rgba(255,255,255,.4);
	box-shadow: 0px 0px 20px 10px #000000 inset;
	border-radius: 20px;
}

.footer {
	position: fixed;
	width: 100%;
	height: 30px;
    bottom: 0px;
	font-family: Tahoma;
	font-size: 14pt;
	color: #FFFFFF;
	pointer-events: none;
	z-index: 1000;
}

.footer div {
	display: inline-block;
	height: 100%;
	line-height: 30px;
	border-radius: 20px 20px 0px 0px;
	pointer-events: auto;
}

.footer > div div {
	background-color: rgba(0,0,0,0.5);
	padding-left: 10px;
	padding-right: 10px;
}

.footer a:link, .footer a:visited {
	padding-left: 5px;
	padding-right: 5px;
	text-decoration: none;
	color: #FFFFFF;
}

.footer a:hover {
	border-bottom: 1px solid;
}


/* ---------------------------------------- Yearling Video ---------------------------------------- */

.title {
	border-radius: 10px;
	font-size: 28pt;
	color: #FFFFFF;
	margin-top: 0px;
	margin-bottom: 10px;
}

.saleTitle {
	margin-top: 25px;
	font-family: Times New Roman;
	font-size: 16pt;
	color: #FFFFFF;
}

.saleSubTitle {
	font-family: Times New Roman;
	font-size: 12pt;
	font-style: oblique;
	color: #FFFFFF;
	margin-bottom: 10px;
}

.playlist  {
	width: 980px !important;
	margin: auto;
}

.playlistItem  {
	display: inline-block;
}

.playlistItem input {
	font-weight: bold;
	border-radius: 3px;
	color: #F8C22D;
	margin: 5px;
	background-color: #222222;
}

.playlistItem input:hover {
	color: #00CC00;
	cursor: pointer;
	background-color: #555555;
}

.msg {
	display: inline-block;
	text-align: center;
	font-family: Arial;
	font-size: 8pt;
	font-weight: bold;
	color: #66CC66;
}

.playing {
	background-color: #66CC66 !important;
	color: #FFFFFF !important;
}

#outerVideoWrapper {
	text-align: center;
	margin: auto;
	margin-top: 5px;
	display: none;
	width: 854px;
	max-width: 100%;
}

#salePage {
	display: none;
	margin: auto;
	width: 950px;
	height: 600px;
}


/* ---------------------------------------- Yearling Video Table ---------------------------------------- */

#yearlingVideoTable {
	position: absolute;
	top: 75px;
	left: 50%;
	-ms-transform: translateX(-50%) translateY(0%);
	-webkit-transform: translate(-50%,0%);
	transform: translate(-50%,0%);
	clear: both;
	margin-bottom: 30px;
}

.yearlingVideoTableNum a {
	cursor: pointer;
	background-color: rgba(255,255,255,0.2);
	line-height: 26px;
	display: block;
}

.table-header-rotated td {
	width: 40px;
	border: 1px solid #FFFFFF;
	vertical-align: middle;
	text-align: center;
}

.table-header-rotated th.row-header {
	width: auto;
	font-family: Tahoma;
	font-size: 11pt;
	background-color: rgba(255,255,255,0.2);
	padding: 5px;
	border-left: 1px solid #FFFFFF;
	border-top: 1px solid #FFFFFF;
	border-bottom: 1px solid #FFFFFF;
	letter-spacing: 1px;
	white-space: nowrap;
	text-align: left;
}

.table-header-rotated th.row-header a {
	display: block;
	width: 100%;
}

.table-header-rotated th.row-header:hover {
	background-color: rgba(255,255,255,0.4);
}

.table-header-rotated, .table-header-rotated a:link, .table-header-rotated a:visited {
	color: #FFFFFF;
}

.table-header-rotated th.rotate-45 {
	height: 140px;
	width: 40px;
	min-width: 40px;
	max-width: 40px;
	position: relative;
	vertical-align: bottom;
	padding: 0;
	font-size: 11pt;
	font-family: Arial;
	line-height: 0.8;
}

.table-header-rotated th.rotate-45 > div {
	position: relative;
	top: 0px;
	left: 71px; /* 80 * tan(45) / 2 = 40 where 80 is the height on the cell and 45 is the transform angle*/
	height: 100%;
	-ms-transform:skew(-45deg,0deg);
	-moz-transform:skew(-45deg,0deg);
	-webkit-transform:skew(-45deg,0deg);
	-o-transform:skew(-45deg,0deg);
	transform:skew(-45deg,0deg);
	overflow: hidden;
	border-left: 1px solid #FFFFFF;
	border-right: 1px solid #FFFFFF;
	border-top: 1px solid #FFFFFF;
	background-color: rgba(255,255,255,0.2);
}

.table-header-rotated th.rotate-45 span {
	-ms-transform: skew(45deg,0deg) rotate(315deg);
	-moz-transform: skew(45deg,0deg) rotate(315deg);
	-webkit-transform: skew(45deg,0deg) rotate(315deg);
	-o-transform: skew(45deg,0deg) rotate(315deg);
	transform: skew(45deg,0deg) rotate(315deg);
	position: absolute;
	bottom: 30px; /* 40 cos(45) = 28 with an additional 2px margin*/
	left: -22px;
	display: inline-block;
	width: 85px; /* 80 / cos(45) - 40 cos (45) = 85 where 80 is the height of the cell, 40 the width of the cell and 45 the transform angle*/
	text-align: left;
	white-space: nowrap; /*whether to display in one line or not*/
}

.bg {
	background-color: rgba(255,255,255,0.5) !important;
}