* {
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

html {
  position: relative;
  min-width: 1280px;
  min-height: 720px;
  height: 100%;
}

body {
  margin: 0;
}

body.dark #bleed {
  background-color: #241200;
}

#bleed {
  -webkit-transition: background-color 1s ease-in-out;
  background-color: #f8dc00;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height:720px;
}

/* remove the bleed on Apple TV */
@media (-webkit-apple-tv) {
  #bleed {
    background-image: none;
  }
}

#navigation {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1280px;
  height: 720px;
  margin-left: -640px;
  margin-top: -360px;
  overflow: hidden;
  z-index: 1;
}

#navigation > div {
  position: absolute;
  top: 0;
  left: 0;
  width: 1280px;
  height: 720px;
	background: url('../images/interface/bg.jpg') repeat top left;
  overflow: hidden;
  z-index: 1;
}

/* Scrollbars */

#navigation ::-webkit-scrollbar {
  width: 33px;
}

#navigation ::-webkit-scrollbar-track {
  width: 33px;
  background: black;
  border: 3px solid #323232;
}

#navigation ::-webkit-scrollbar-track-piece:start {
  margin-top: 6px;
}

#navigation ::-webkit-scrollbar-track-piece:end {
  margin-bottom: 6px;
}

#navigation ::-webkit-scrollbar-thumb {
  background: url('../images/interface/scrollBarPill.jpg') 50% 50% repeat-y;
  cursor: pointer;
}

/* Image faders */

.image-fader {
  position: absolute;
  cursor: pointer;
  font-size: 0;
}

.image-fader > img {
  -webkit-transition: opacity 0.25s;
}

.image-fader > img:nth-of-type(2) {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.image-fader:hover > img:nth-of-type(2),
.image-fader.tk-highlighted > img:nth-of-type(2) {
  opacity: 1;
}

.image-fader:hover > img:nth-of-type(1),
.image-fader.tk-highlighted > img:nth-of-type(1) {
  opacity: 0;
}

.animationEnd {
  -webkit-animation-name: none !important;
}

/* Shared elements */
.home {
  left: 90px;
  bottom: 73px;
	z-index: 500;
	opacity: 1;
	-webkit-transition: opacity 1s ease-in-out;
}

.home.fade{
	opacity: 0;
}

div.galleryNav {
	position: absolute;
	bottom: 85px;
	left: 1100px;
	width: 200px;
	z-index: 50;
	height: 12px;
}

div.galleryNav .left-arrow {
	position: absolute;
	top: 0px;
	left: 0px;
}

div.galleryNav .right-arrow {
	position: absolute;
	top: 0px;
	left: 17px;
}

.hide{
	opacity: 0 !important;
}