/*** APPLE WATCH HUMAN INTERFACE GUIDELINES ***/

/* HIGHLIGHT CURRENT PAGE IN SIDE NAVIGATION */
#overview .nav-overview > a,
#remote-and-controllers .nav-remote-and-controllers > a,
#user-interaction .nav-user-interaction > a,
#icons-and-images .nav-icons-and-images > a,
#visual-design .nav-visual-design > a,
#ui-elements .nav-ui-elements > a,
#resources .nav-resources > a {
    font-weight: 600;
    color: black;
}

/* DISPLAY MENU AND CHEVRON FOR SELECTED PAGE */

#overview .nav-overview a:after,
#remote-and-controllers .nav-remote-and-controllers a:after,
#user-interaction .nav-user-interaction a:after,
#icons-and-images .nav-icons-and-images a:after,
#visual-design .nav-visual-design a:after,
#ui-elements .nav-ui-elements a:after,
#resources .nav-resources a:after,
#overview .nav-overview .sub-side,
#remote-and-controllers .nav-remote-and-controllers .sub-side,
#user-interaction .nav-user-interaction .sub-side,
#icons-and-images .nav-icons-and-images .sub-side,
#visual-design .nav-visual-design .sub-side,
#ui-elements .nav-ui-elements .sub-side,
#resources .nav-resources .sub-side {
    display: block;
}

/* Product and Headline Logos for Overview and Sub pages */
.human-interface-guideline-product-logo {
  width: 90px;
  height: 44px;
  margin: 0 auto 0.5em;
  padding: 0;
  background: url('/tvos/human-interface-guidelines/images/apple-tv-logo.png') no-repeat;
  background-size: 90px 44px;
}

.human-interface-guideline-product-headline {
  display: block;
  width: 335px;
  height: 26px;
  margin: 26px auto 70px;
  background: url('/tvos/human-interface-guidelines/images/tv-hig-title.png') no-repeat;
  background-size: 335px 26px;
}

/* DROP COPY */

.hig-content .middle-copy {
  padding-top: 72px;
}

.hig-content img {
  margin-bottom: 48px;
}

@media all and (min-device-width: 768px) and (max-width: 1023px) {
  .doc-nav-container {
    padding-left:0.8em !important;
  }
}

/* Tables */

.table-head { border-color: #333; }

/* Device screens */

.tv-set {
    position: relative;
    margin: 48px auto 60px;
    padding: 15px;
    width: 668px;
    height: 415px;
    background-image: url('/tvos/human-interface-guidelines/images/tv-set.png');
    background-repeat: no-repeat;
    background-size: 668px 415px;
}

.tv-set-66 {
    position: relative;
    margin: 6px auto 20px;
    padding: 13px 12px 12px 13px;
    width: 503px;
    height: 312px;
    background-image: url('/tvos/human-interface-guidelines/images/tv-set-2col.png');
    background-repeat: no-repeat;
    background-size: 503px 312px;
}

[class*='tv-set'] span {
    display: block;
    margin-top: 2.15em;
    padding: 0 1em;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    color: yellow;
}

/* Slideshows */

.bx-wrapper ul {
    margin: 0;
    position: relative;
}

.bx-labels a {
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    color: #0088cc;
}

.bx-labels a .smaller {
    font-size:16px;
}

.bx-labels a.active {
    font-weight: 700;
    color: black;
}

/* Animation controls */

.full-screen-animations {
	position: relative;
}

.full-screen-animations.cropped:after { 
  content: '';
  display: block;
  position: absolute;
  height: 1px;
  background: #e6e6e6;
  width: 100%;
  bottom: 46px;
}

/*
.full-screen-animations .video-play:before { left: 346px; }
.full-screen-animations .video-replay:before { left: 340px; }

.video-play,
.video-replay {
    width: 100%;
    margin-left: 6px;
}

.video-play:before { left: 88px; }

.video-replay:before { left: 82px; }*/

.tv-set .video-play,
.tv-set .video-replay {
    width: 100%;
    margin-left: -4px;
}

.tv-set    .video-play:before   { left: 298px; }
.tv-set    .video-replay:before { left: 292px; }
.tv-set-66 .video-play:before   { left: 216px; }
.tv-set-66 .video-replay:before { left: 210px; }

/* Gesture animations */

.gesture-animations {
    margin-bottom: 4em;
    position: relative;
    width: 250px;
    height: 250px;
    border: 1px solid #e3e3e3;
}

/* Parallax */

.parallax {
    position: relative;
    margin-top: 54px;
}

.parallax .video-play:before { left: 85px; }

.parallax .video-replay:before { left: 78px; }

.video-parallax {
    width: 235px;
    height: 161px;
    background: transparent url('/tvos/human-interface-guidelines/images/overview-parallax-poster.png');
    background-repeat: no-repeat;
    background-size: cover;
}

/* Download links */

.download-link { padding-top: 1.35em; }

.two-line-download-links {
    display: block;
    padding-top: 0.7em;
}

ul.links.small > li.download {
    padding-top: 3px;
    padding-left: 42px;
    height: 30px;
    background-image: url('https://devimages.apple.com.edgekey.net/watch/human-interface-guidelines/resources/images/resources-icon-download.png');
    background-repeat: no-repeat;
    background-size: 30px 30px;
}
