/*** macOS HUMAN INTERFACE GUIDELINES ***/


/* 
.video-play,
.video-replay {
  font-size:14px;
  position: relative;
  display: block !important;
  text-align:center;
  margin: 1em auto 0;
  opacity:1;
  -webkit-transition: opacity 0.2s ease;
  -moz-transition: opacity 0.2s ease;
  -o-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}
 */

.video-replay {
  position: absolute;
  left: 50%;
  margin-left: -36px;
  bottom: -1em;
}


/* 
.video-play .icon:after,
.video-replay .icon:after {
  line-height: 1.3
}
 */


/* HIGHLIGHT CURRENT PAGE IN SIDE NAVIGATION */
#doc-nav .side .open > a,
#doc-nav .side .open .selected > a {
  font-weight: 600;
  color: black;
}

/* DISPLAY MENU AND CHEVRON FOR SELECTED PAGE */
#doc-nav .side .open a:after,
#doc-nav .side .open .sub-side,
#doc-nav .side .open .sub-side-page-list {
  display: block;
}

@media only screen and (max-width: 767px) {
  .ac-gf-footer-legal {
    padding-top: 0;
  }

  #directorynav-footer {
    display: none;
  }
}

/* Product and Headline Logos for Overview and Sub pages */
.human-interface-guideline-product-logo {
  margin: 0 auto 0.5em;
  padding: 0;
  height: 44px;
}

.main h1.human-interface-guideline-product-logo {
  color: #333;
  font-size: 64px;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.human-interface-guideline-product-headline {
  display: block;
  height: 26px;
  margin:30px auto 70px;
  font-size:24px;
  font-weight:300;
  color:#333;
}

.human-interface-guideline-product-headline:hover {
  text-decoration: none;
  color:#333;
}

.human-interface-guideline-product-headline .platform-title {
  font-weight:700;
}

.apple-tv-logo {
    margin: 0 auto 0.5em;
    padding: 0;
    width: 90px;
    height: 44px;
    background: url('/templates/human-interface-guidelines/ios/images/apple-tv-logo.png');
    background-repeat: no-repeat;
    background-size: 90px 44px;
}

.tv-headline {
    margin-top: 26px;
    margin-bottom: 70px;
}

p.headline-continue {
    font-size: 22px;
    font-weight: 200;
}

.doc-nav-container {
  /*padding-left:0;*/
}

.stick-nav {
  position: relative;
  position: -webkit-sticky;
  position: -moz-sticky;
  position: -ms-sticky;
  position: -o-sticky;
  position: sticky;
  top: -2em;
  z-index: 9;
}



/* Images */

.scroll-image {
  overflow-x:auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
}

img.pad-image {
  margin-top:2em;
  margin-bottom:2em;
}

.video {
  position: relative;
}

.video video {
  width: 100%;
  height: auto;
}

.device-frame-mac {
  display: block;
  position: relative;
  margin-top: 0;
  margin-bottom: 1em;
  max-width: 768px;
  width: 100%;
  height: auto;
  background-image: url('/macos/human-interface-guidelines/images/MackBookPro_DeviceFrame.png');
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: left top;
}

img.device-frame-mac,
.device-frame-mac img,
.device-frame-mac video {
  width: 100%;
  height: auto;
  padding: 3.9% 11.97% 7% 11.97%;
}

.poster-frame {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0px;
  cursor: pointer;
  transition: opacity: 200ms linear;
}

.screenshot-border {
  border: 1px solid #e6e6e6;
  -webkit-box-sizing:content-box;
  -moz-box-sizing:content-box;
  box-sizing:content-box;
}

.video-standard {
  position: relative;
  /*margin: 0 auto 3em;*/
  padding: 0px 0px 0px 0px;
  width: auto;
  height: auto;
}

.video-standard-poster {
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    opacity: 1;
}

.video-hero {
  position: relative;
  margin: 0 auto 4em;
  padding: 0px 0px 0px 0px;
  width: 768px;
  height: 450px;
  background-size: 768px 450 fdpx;
  background-position: left top
}

.video-touch-bar {
  position: relative;
  margin: 0 auto 4em;
  padding: 0px 0px 0px 0px;
  width: 768px;
  height: 27px;
  background-size: 768px 27px;
  background-position: left top
}

.video-touch-bar-poster {
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    opacity: 1;
}

.video-mac-frame {
  display:block;
  position: relative;
  margin: 0 auto 4em;
  padding: 30px 92px 54px 92px;
  width: 768px;
  height: 449px;
  background-image: url('/macos/human-interface-guidelines/images/MackBookPro_DeviceFrame.png');
  background-repeat: no-repeat;
  background-size: 768px 449px;
  background-position: 0 top;
}

.video-mac-frame-poster {
    position: absolute;
    top: 30px;
    left: 92px;
    opacity: 1;
}

.video-mac-hero {
  position: relative;
  margin: 0 auto 4em;
  padding: 0px 0px 0px 0px;
  width: 768px;
  height: 450px;
  background-size: 768px 450px;
  background-position: left top
}

.video-mac-hero-poster {
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    opacity: 1;
}

/* COLOR PALLETTES */


.color-palette {
  margin-top: 2em;
  margin-bottom: 2em
}

.swatch {
  display: inline-block;
  width: 75px;
  height: 75px;
  font-family: -apple-system, "Myriad Set Pro", "Lucida Grande", "Helvetica Neue", "Helvetica", "Arial", "Verdana", "sans-serif";
}

@media all and (min-width: 768px) and (max-width: 1023px) {
  .swatch {
    width: 75px;
    height: 75px;
  }
}

@media all and (max-width: 767px) {
  .swatch {
    width: 75px;
    height: 75px;
  }
}

.swatch .swatch-color {
  margin-left: 6px;
  margin-right: 6px;
  height: 75px;
  width: 75px;
  border-radius: 10px;
  padding: 0.8em 1em;
}

.swatch .swatch-color span {
  display:block;
  color: #FFF;
  line-height: 1.2;
  font-size:14px;
}

.swatch .swatch-color.color-blue { background-color: rgb(27,173,248);}
.swatch .swatch-color.color-brown { background-color: rgb(162,132,94);}
.swatch .swatch-color.color-gray { background-color: rgb(142, 142, 145);}
.swatch .swatch-color.color-green { background-color: rgb(99, 218, 56);}
.swatch .swatch-color.color-orange { background-color: rgb(255, 149, 0);}
.swatch .swatch-color.color-pink { background-color: rgb(255, 41, 104);}
.swatch .swatch-color.color-purple { background-color: rgb(204, 115, 225);}
.swatch .swatch-color.color-red { background-color: rgb(255, 59, 48);}
.swatch .swatch-color.color-yellow { background-color: rgb(255, 204, 0);}

.swatch .swatch-label {
  display:block;
  text-align: center;
  color:#666;
  padding-top:0.7em;
  font-size:14px;
  margin-bottom:1em;
}


/* Tables */

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


/* Slideshows */
.bx-wrapper {
  margin-bottom:2em;
}

.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;
}

.bx-labels.inline-controls {
  text-align: center;
  margin-top: 2em;
  margin-left: 0;
}

.bx-labels.inline-controls a {
  margin-left: -1px;
  padding: 10px 15px 9px;
  font-size: 1em;
  line-height: 1;
  color: #333333;
  text-decoration: none;
  display: block;
  position: relative;
  z-index: 0;
}

.bx-labels.inline-controls a:after {
  left: 15px;
  content: '•';
  font-size: 10px;
  vertical-align: middle;
  position: relative;
  color: #333333;
}

.bx-labels.inline-controls a.active {
    color: #999;
    font-weight:400;
}

.bx-labels.inline-controls li {
  display: inline-block;
}

.bx-labels.inline-controls li:last-of-type a:after {
  content:'';
}

/* Download links */

.tabnav {
  margin: 3em auto 2em;
  padding: 0;
  width: 100%;
  text-align: center;
  position: relative; }
  @media only screen and (max-width: 735px) {
    .tabnav {
      white-space: nowrap;
      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
      -ms-overflow-style: none; } }
  .tabnav ul {
    display: inline-block;
    margin: 0; }
  .tabnav li {
    float: left;
    list-style: none;
    outline: none; }
    @media only screen and (max-width: 735px) {
      .tabnav li {
        display: inline-block;
        float: none; } }

.tabnav-button {
  margin-left: -1px;
  padding: 10px 15px 9px;
  font-size: 1em;
  line-height: 1;
  color: #666666;
  text-decoration: none;
  display: block;
  position: relative;
  z-index: 0; }
  .tabnav-button:hover {
    color: #0070c9;
    text-decoration: none; }
  .tabnav-button:focus {
    outline-offset: -6px; }
  .tabnav-button.active {
    pointer-events: none;
    color: #333333;
    text-decoration: none;
    cursor: default;
    z-index: 10; }
  .tabnav-button:after {
    left: 15px;
    content: '•';
    alt: '';
    font-size: 10px;
    vertical-align: middle;
    position: relative;
    color: #333333; }
    li:last-child .tabnav-button:after {
      content: ''; }


      .tabnav {
        margin: 3em auto 2em;
        padding: 0;
        width: 100%;
        text-align: center;
        position: relative;
        white-space: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none; }
        .tabnav .tabnav-items {
          display: inline-block;
          margin: 0; }
        .tabnav .tabnav-item {
          padding-left: 60px;
          border-bottom: 1px solid #d6d6d6;
          display: inline-block;
          list-style: none;
          outline: none; }
          @media only screen and (max-width: 1068px) {
            .tabnav .tabnav-item {
              padding-left: 50px; } }
          @media only screen and (max-width: 735px) {
            .tabnav .tabnav-item {
              padding-left: 30px; } }
          .tabnav .tabnav-item:first-child {
            padding-left: 0; }

      .tabnav-wrapper {
        height: 2.5625em;
        font-size: 16px;
        overflow: hidden;
        width: 100%; }
        .tabnav-wrapper .tabnav-items {
          padding-bottom: 2.5625em; }

      .tabnav-link {
        font-size: 14px;
        line-height: 1;
        font-weight: 400;
        letter-spacing: 0em;
        padding: 10px 0 9px 0;
        color: #666666;
        text-align: left;
        text-decoration: none;
        display: block;
        margin-bottom: 4px;
        position: relative;
        z-index: 0; }
        .tabnav-link:hover {
          color: #0070c9;
          text-decoration: none; }
        .tabnav-link:focus {
          outline-offset: 6px; }
        .tabnav-link.active {
          pointer-events: none;
          color: #333333;
          text-decoration: none;
          cursor: default;
          z-index: 10; }
          .tabnav-link.current:after,
          .tabnav-link.active:after {
            left: 0;
            position: absolute;
            bottom: -5px;
            width: 100%;
            border-bottom: 1px solid #666666;
            content: ''; }

[class*='col-'] > .tabnav:first-child {
  margin-top: 0;
}

.tabnav-grid-stepper + .bx-wrapper {
  background-image: none;
}

.tabnav-stacked {
  width: 33%;
  margin-top: 0;
}

.tabnav-stacked .tabnav-item {
  display: block;
  float: none;
  padding-left: 0;
}

.tabnav-stacked .tabnav-link{
  padding: 3px 0 2px 0;
}

.tabnav-item a {
  font-size:14px;
}

/* ROUTER LINKS */
.router {
  padding: 0;
}

.router .router-copy {
  padding-top: 28px;
  padding-bottom: 18px;
}

.router .text-left .router-copy {
  padding-left: 10px;
}

.router .text-right .router-copy {
  padding-right: 10px;
}

.router h4 {
  font-size: 26px;
  font-weight: 400;
  margin-top: 0;
}

.router a:hover h4 {
  color: #0070c9;
}

.router h4 small {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.router .icon-chevronleft {
  margin-left:-19px;
}

.router .icon-chevronright {
  margin-right:-19px;
}

@media only screen and (max-width: 1023px) {

.router .text-left .router-copy {
  padding-left: 38px;
}
.router .text-right .router-copy {
  padding-right: 38px;
}

}

@media only screen and (max-width: 735px) {

.router .col-50 {
  border-top: 1px solid #f2f2f2;
}

.router h4 {
  font-size: 22px;
}

.router h4 small {
  font-size: 16px;
  line-height: 1;
}


.router .text-left .router-copy {
  padding-left: 38px;
}
.router .text-right .router-copy {
  padding-right: 38px;
}

.router .icon-chevronleft {
  margin-left:-14px;
}

.router .icon-chevronright {
  margin-right:-14px;
}

}

/* CSS that was removed from global.dist.css */
.row {
  position: relative;
  z-index: 1;
  *zoom: 1;
  margin: 0 -1em; }
  .row:before, .row:after {
    content: " ";
    display: table; }
  .row:after {
    clear: both; }
