@font-face {
  font-family: 'Whyte';
  font-style: normal;
  font-weight: normal;
  src:
    url('/fonts/ABCWhyte-Book.woff') format('woff'),
    url('/fonts/ABCWhyte-Book.woff2') format('woff2');
}
@font-face {
  font-family: 'Whyte';
  font-style: italic;
  font-weight: normal;
  src:
    url('/fonts/ABCWhyte-BookItalic.woff') format('woff'),
    url('/fonts/ABCWhyte-BookItalic.woff2') format('woff2');
}
@font-face {
  font-family: 'Whyte';
  font-style: normal;
  font-weight: bold;
  src:
    url('/fonts/ABCWhyte-Medium.woff') format('woff'),
    url('/fonts/ABCWhyte-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Whyte';
  font-style: normal;
  font-weight: 600;
  src:
    url('/fonts/ABCWhyte-Medium.woff') format('woff'),
    url('/fonts/ABCWhyte-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Whyte';
  font-style: italic;
  font-weight: bold;
  src:
    url('/fonts/ABCWhyte-MediumItalic.woff') format('woff'),
    url('/fonts/ABCWhyte-MediumItalic.woff2') format('woff2');
}
@font-face {
  font-family: 'Whyte';
  font-style: italic;
  font-weight: 600;
  src:
    url('/fonts/ABCWhyte-MediumItalic.woff') format('woff'),
    url('/fonts/ABCWhyte-MediumItalic.woff2') format('woff2');
}

#navbar {
  height: 87px;
}

#navbar > a:first-child {
  position: relative;
  left: 6px;
  top: 2px;
}

#navbar > ul > li[data-cy="Developer Documentation"] {
  font-weight: 400 !important;
}

#navbar > ul > li[data-cy="Developer Documentation"] > a {
  display: flex;
}

#navbar > ul > li[data-cy="Developer Documentation"] > a:hover {
  text-decoration: underline;
}

nav img {
  color: #00297a;
}

/*
Last Updated text above h1 on guides
Grey 600, increase spacing from top nav
*/
time[data-cy="last-updated"] {
  margin-top: 48px;
  color: #6e6e78 !important;
}

/*
Left nav caret
Increase horizontal spacing between arrow and text
*/
i[data-cy="arrow"] {
  margin-right: 8px;
}

/*
PUT/POST/GET/DELETE icon (wrapper) in left nav API items
Center with text
*/
div[data-cy^="sidebar-item-"] div {
  margin-top: -2px;
}

/*
PUT/POST/GET/DELETE icon in left nav API items
Increase horizontal spacing between icon and text
*/
span.operation-type {
  margin-right: 8px;
}

/*
Left nav API reference tag groups
Grey 900
*/
aside ul ul > span {
  color: #1d1d21 !important;
}

/*
Table header cells
Blue 900 background
ColorTextBodyInverse color
*/
table th {
  color: #ffffff;
  background-color: #fff !important;
  color: #000 !important;
  border-bottom: 0.2em solid #6e6e78 !important;
}

table tr {
  border-bottom: 0.05em solid #6e6e78;
  border-top: none !important;
}

table td {
  border: none !important;
}

table tr:nth-child(2n) {
  background-color: #fff !important;
}

/*
Markdown pages content
*/
section {
  margin-left: 50px !important;
  max-width: 100% !important;

  @media (max-width: 900px) {
    margin: 0 20px !important;
  }
}

section a {
  font-weight: 500;
}

section a:hover {
  text-decoration: underline;
}

/*
API page content
50px margin-leftbecause content has additional 25px padding, match markdown spacing
*/
div.api-content {
  margin-left: 50px;
  max-width: 100% !important;

  @media (max-width: 900px) {
    margin: 0 20px !important;
  }
}

div.api-content a {
  font-weight: 500;
}

div.api-content a:hover {
  text-decoration: underline;
}

/*
Footer
*/
body > div > div > div > div:nth-child(3) {
  background-color: #191919;
}

/*
Left nav
*/
body > div > div > div > div > aside {
  width: 20% !important;
  min-width: 320px;
}
body > div > div > div > div > aside > div {
  -webkit-font-smoothing: auto;
}

/*
Right nav
*/
body > div > div > div > div > div > div > aside {
  width: 20% !important;
  min-width: 240px;
}
body > div > div > div > div > div > div > aside > div {
  width: 100% !important;
}
body > div > div > div > div > div > div > aside > div > div:first-child {
  /*
  Right nav heading
  */
  font-weight: 500 !important;
  text-transform: unset !important;
  font-size: 16px !important;
}
body > div > div > div > div > div > div > aside > div > a {
  /*
  Right nav links
  */
  color: #6e6e78 !important;
  border-left: 3px solid #ebebed;
  font-weight: 500;
  background: transparent !important;
  font-size: 14px !important;
  padding-top: 6px !important; 
  padding-bottom: 8px !important; 
}
body > div > div > div > div > div > div > aside > div > a.active {
  /*
  Right nav active link
  */
  color: #191919 !important;
  border-left: 3px solid #1662dd !important;
}

.mermaid svg {
  font-family: 'Whyte,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif' !important;
  font-size: '1rem' !important;
}

.node rect, .node circle, .node ellipse, .node polygon, .node path, .entityBox {
  fill: #a7b5ec !important;
  stroke: #00297a !important;
}

.mermaid svg .entityBox, .mermaid svg .entityBox {
  fill: #a7b5ec !important;
  stroke: #00297a !important;
}

.mermaid svg .attributeBoxOdd {
  stroke: #00297a !important;
}

.mermaid svg .attributeBoxEven {
  stroke: #00297a !important;
}

blockquote {
  margin: 0 0 1.5rem;
  padding: 1.5rem 1.5rem 1.5rem calc(1.5rem + 3px) !important;
  border: 1px solid #dcdcdc;
  border-left: 3px solid #8d6e97 !important;
  border-radius: 4px;
}

.separator-children {
  display: none !important;
}

.menu-separator-active .separator-children {
  display: block !important;
}

.menu-separator-active .separator-arrow i {
  transform: rotate(0deg);
}

.admonition, .admonition-info {
  position: relative;
  -webkit-box-align: center;
  align-items: center;
  margin: 8px 0px;
  padding: 16px 16px 16px calc(57px);
  border-radius: 8px;
  color: rgb(29, 29, 33);
  background-color: rgb(235, 237, 240);
  font-size: 16px;
  font-weight: normal;
  line-height: 1.5;
}
/** Added for ASA banner **/

.admonition::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  margin-right: 16px;
  flex-shrink: 0;
  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20version%3D%221.1%22%20id%3D%22Layer_1%22%20x%3D%220%22%20y%3D%220%22%20viewBox%3D%220%200%20500.6%20500.6%22%20xml%3Aspace%3D%22preserve%22%20enable-background%3D%22new%200%200%20500.6%20500.6%22%3E%3Cpath%20fill%3D%22%231d1d21%22%20d%3D%22M250.3%20490.7c132.5%200%20239.8-107.2%20239.8-239.8%200-132.5-107.2-239.8-239.8-239.8%20-132.5%200-239.8%20107.2-239.8%20239.8C10.6%20383.5%20117.8%20490.7%20250.3%20490.7zM250.3%2048.6c111.8%200%20202.3%2090.5%20202.3%20202.3%200%20111.8-90.5%20202.3-202.3%20202.3C138.5%20453.2%2048%20362.7%2048%20250.9%2048%20139.1%20138.5%2048.6%20250.3%2048.6z%22%2F%3E%3Cpath%20fill%3D%22%231d1d21%22%20d%3D%22M250.3%20370c10.3%200%2018.7-8.4%2018.7-18.7V230.6c0-10.3-8.4-18.7-18.7-18.7%20-10.3%200-18.7%208.4-18.7%2018.7v120.6C231.6%20361.6%20240%20370%20250.3%20370z%22%2F%3E%3Ccircle%20fill%3D%22%231d1d21%22%20cx%3D%22250.3%22%20cy%3D%22163.7%22%20r%3D%2225.3%22%2F%3E%3C%2Fsvg%3E);
}

.admonition h5 {
  display: block;
  margin: 0px;
  padding: 0px;
  letter-spacing: 0.3px;
  color: rgb(29, 29, 33);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
}

.admonition-content > p:first-child {
  margin-top: 0px;
}

.admonition-content > p:last-child {
  margin-bottom: 0px;
}

.admonition-content a:not([role="button"]) {
  text-decoration: underline;
  color: rgb(29, 29, 33);
}
