/* General CSS */
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,700");

body {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  color: #555;
  line-height: 2em;
}

img {
  max-width: 90%;
}

/* Custom CSS for home page */
.hero-spacer {
  margin-top: 50px;
}

.hero-feature {
  margin-bottom: 30px;
}

.blog-content-wrap {
  margin-top: 20px;
  padding-top: 40px;
}

/* Custom CSS for the docs */

.edit-links {
  color: #cccccc;
}

/* Add spacing around headers, code blocks, and notes */
h2,
h3 {
  margin-top: 1em;
  margin-bottom: 1em;
}

h4,
h5 {
  margin-top: 2em;
  margin-bottom: 1em;
}

.highlighter-rouge {
  margin: 1.5em 0em;
}

.alert {
  margin: 1.5em 0em;
}

.edit-container {
  margin-bottom: 1em;
}

/* Prevent in-page links from scrolling under top nav */
h2::before,
h3::before,
h4::before,
h5::before {
  display: block;
  content: " ";
  margin-top: -80px;
  height: 80px;
  visibility: hidden;
}

/* Custom CSS for header and footer */
.site-header {
  width: 100%;
  padding: 24px 0px;
}

img.embed {
  height: 38px;
  margin-top: 10px;

}

img.logo {
  height: 28px;
  margin-left: -18px;
}

.icon > svg {
  display: inline-block;
  width: 28px;
  height: 28px;
}

.icon > svg path {
  fill: #333333;
}

.thumb-home {
  height: 340px;
}

.img-home {
  height: 150px !important;
  margin: 10px;
}

.tableauIcon {
  margin-left: 18px;
}

.docs-page-heading { align-items: flex-start; display: flex; gap: 20px; justify-content: space-between; margin-bottom: 20px; }
.docs-page-heading > h1 { flex: 1; margin-bottom: 0; margin-top: 0; min-width: 0; }
.docs-portal-actions { flex: none; position: relative; }
.docs-portal-actions__split { display: inline-flex; }
.docs-portal-actions__button { background: #fff; border: 2px solid #0176d3; color: #0176d3; min-height: 36px; padding: 5px 12px; }
.docs-portal-actions__button:hover { background: #eaf5fe; border-color: #014486; color: #032d60; }
.docs-portal-actions__button:focus-visible { outline: 2px solid #014486; outline-offset: -4px; }
.docs-portal-actions__copy { border-radius: 4px 0 0 4px; border-right-width: 1px; }
.docs-portal-actions__toggle { border-left-width: 1px; border-radius: 0 4px 4px 0; }
.docs-portal-actions__menu { background: #fff; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.16); min-width: 250px; padding: 6px 0; position: absolute; right: 0; text-align: left; top: calc(100% + 6px); z-index: 10; }
.docs-portal-actions__menu a { align-items: center; color: #333; display: flex; justify-content: space-between; padding: 10px 24px; text-decoration: none; }
.docs-portal-actions__menu a:hover, .docs-portal-actions__menu a:focus { background: #eaf5fe; color: #032d60; outline: none; }
.docs-portal-actions__group { border-top: 1px solid #ebebeb; }
.docs-portal-actions__heading { color: #757575; display: block; font-size: 13px; padding: 8px 24px 4px; }
.expanded-resource-only { display: none !important; }
.expanded-resources .expanded-resource-only { display: block !important; }
@media print { .print-hidden, .expanded-resource-only { display: none !important; } }

.jumbotron {
  background-color: #fafafa;
  border: 1px solid #e8e8e8;
}

#community-jumbo {
  background-color: #f0f8ff;
}

footer {
  margin: 30px 0;
  text-align: center;
}

.footer-hr {
  width: 100%;
  position: relative;
}

table {
  border: 1px solid #c2c2c2;
  border-collapse: collapse;
  margin: 1em 0px;
}

th {
  font-weight: bold;
  border: 1px solid #c2c2c2;
  text-align: left;
  padding: 0.3em;
  vertical-align: top;
  background-color: #fafafa;
}

td {
  border: 1px solid #c2c2c2;
  text-align: left;
  padding: 0.3em;
  vertical-align: top;
}

/* Adding for definition lists */

dl {
  border: 3px double #ccc;
  padding: 0.5em;
}

dt {
  font-weight: bolder;
  text-decoration: none;
}

dd {
  margin: 1em;
  padding: 0 0 0.5em 0;
}

/* So the scroll bar width doesn't cause the page to jump */
html {
  overflow-y: scroll;
}

.label {
  margin-right: 3px;
}

/* to get right navbar icons to respect collapse */
@media (max-width: 992px) {
  .navbar-header {
    float: none;
  }
  .navbar-left,
  .navbar-right {
    float: none !important;
  }
  .navbar-toggle {
    display: block;
  }
  .navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  .navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
  }
  .navbar-collapse.collapse {
    display: none !important;
  }
  .navbar-nav {
    float: none !important;
    margin-top: 7.5px;
  }
  .navbar-nav > li {
    float: none;
  }
  .navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .docs-page-heading { display: block; }
  .docs-page-heading > h1 { margin-bottom: 20px; }
  .docs-portal-actions { width: fit-content; }
  .collapse.in {
    display: block !important;
  }
}

/* Custom css for news section */
.blog-content {
  margin-bottom: 70px;
}

.blogul {
  padding: 0px;
}

.blogul h1 {
  margin-top: 40px;
}

.blog-content > h4 {
  margin-top: 20px;
}

.blog-content > ol {
  margin-bottom: 20px;
}

/* Community connectors */
.thumbnail {
  background-color: #fff;
  border: 1px solid #ccc;
  margin: 12px;
}

.thumbnail h2 {
  border-left: 2px solid #337ab7;
  text-decoration: none;
  font-size: 20px;
  padding: 6px;
  margin-left: 10px;
}

.thumbnail h2 a {
  text-decoration: none;
  color: #333333;
}

.well {
  background-color: #ffffff;
  margin-bottom: 40px;
}

.tsd-navigation {
  padding: 10px !important;
}

/* Media queries for responsive design */
#grid[data-columns]::before {
  content: "3 .column.size-1of3";
}

.column {
  float: left;
}
.size-1of3 {
  width: 33.333%;
}

@media screen and (max-width: 767px) {
  #grid[data-columns]::before {
    content: "1 .column.size-1of1";
  }

  /* Docs Menu*/
  .docs-menu,
  .tsd-navigation {
    top: 20px;
    position: relative;
  }
}
@media screen and (min-width: 769px) {
  #grid[data-columns]::before {
    content: "3 .column.size-1of3";
  }

  /* Docs Menu*/
  .docs-menu,
  .tsd-navigation {
    position: fixed;
    overflow: auto;
    top: 90px;
    max-height: 90%;
    max-width: 250px;
  }

  .content {
    position: relative;
    margin: 40px 0px 0px 275px;
    max-width: 1000px;
  }

  /* API Reference */

  .ref-content {
    margin: 40px 0px 0px 275px;
    max-width: 1000px;
  }
}

.column {
  float: left;
}
.size-1of1 {
  width: 100%;
}
.size-1of2 {
  width: 50%;
}
.size-1of3 {
  width: 33.333%;
}

.alert-info {
  color: #555;
  background-color: #e8f6fd;
}

.nav-nested {
  padding-left: 1.5em;
  list-style-type: none;
}
/* TOC Sync - Active menu item highlighting */
.docs-menu .nav-list li.active > a {
  background-color: #337ab7;
  color: #ffffff;
  font-weight: 600;
}

.docs-menu .nav-list li.active > a:hover,
.docs-menu .nav-list li.active > a:focus {
  background-color: #286090;
  color: #ffffff;
}

.copyRight {
  font-size: 12px;
}

.footer-links {
  display: flex;
  justify-content: center; 
  list-style: none;
  padding: 0; 
  flex-wrap: wrap;
}

.footer-links li {
  margin: 0 15px; 
}

.footer-links a {
  text-decoration: none;
  transition: color 0.3s;
  font-size: 12px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* One Trust Cookie Manager
-------------------- */
#ot-pc-content, .ot-title-cntr, .ot-pc-footer {
  font-size: 1.6rem;
}

#ot-pc-footer {
  font-size: 1.4rem;
}

/* Coming-soon links: the inline note is hidden on screen (the click dialog
   handles it) and revealed only when printing / saving to PDF. */
.coming-note {
  display: none;
}

@media print {
  .coming-note {
    display: inline;
    font-style: italic;
    color: #555;
  }
  /* In print there is no dialog, so render the link as plain text. */
  a[data-coming] {
    color: inherit;
    text-decoration: none;
  }
}

/* copy-code.html */
pre.highlight > button {
  position: relative;
  opacity: 0;
}

pre.highlight:hover > button {
  opacity: 1;
}

pre.highlight > button:active,
pre.highlight > button:focus {
  opacity: 1;
}

/* Home page navigation cards */
.nav-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.nav-card {
  flex: 1 1 220px;
  padding: 10px;
  border: 1px solid #dddddd;
  border-radius: 4px;
  background-color: rgb(255, 245, 191);
  text-align: center;
}

.nav-card p {
  margin-bottom: 2px;
  line-height: 1.3;
}

.nav-card-title {
  font-weight: 600;
}

.nav-card p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  .nav-cards {
    display: block;
  }

  .nav-card {
    margin-bottom: 15px;
  }
}

/* Release note change-type lozenges */
.lozenge {
  display: inline-block;
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-transform: uppercase;
  padding: 0.15em 0.55em;
  border-radius: 3px;
  margin-right: 0.5em;
  vertical-align: 0.12em;
  color: #fff;
  white-space: nowrap;
}
.lozenge-add {
  background-color: #2e7d32;
}
.lozenge-update {
  background-color: #337ab7;
}
.lozenge-deprecate {
  background-color: #b8860b;
}
.lozenge-retire {
  background-color: #b3261e;
}
.lozenge-default {
  background-color: #6c757d;
}
