/* override table width restrictions */
@media screen and (min-width: 767px) {

  .wy-table-responsive table td {
    /* !important prevents the common CSS stylesheets from
       overriding this as on RTD they are loaded after this stylesheet */
    white-space: normal !important;
  }

  .wy-table-responsive {
    overflow: visible !important;
  }

  .wy-nav-content {
  	max-width: 1024px !important;
  }
}

/* Override colors */

.wy-nav-top {
    background-color: #CC0000; /* TI red */
}

.wy-nav-side {
    background-color: #f9f9f9 !important; /* TI website Nav background*/
}

.wy-side-nav-search {
    background-color: #CC0000; /* TI red */
}

.wy-side-nav-search input[type=text] {
    border-color : #a70000; /* TI red darker 1 */
}


/* Links in general. */
a {
    color: #189; /* TI website inline link color */
}

/* Inline code */
a .rst-content code {
    color: #189;
}

/* General settings for sidebar */
.wy-menu-vertical a {
  color: #c00;
  background-color: #f9f9f9 !important; /* TI website Nav background*/
  border-top: none !important;
  border-right: none !important;
  border-bottom: solid 1px #c9c9c9 !important;
}

.wy-menu-vertical li.on a, .wy-menu-vertical li.current > a {
    color: #c00; /* TI website current nav link */
}

.wy-nav-side li.current {
     background-color: #f9f9f9 !important; /* TI website Nav background*/
}


/* Match the 'title' of each doxygen entry, like DEFINE or void myFunc (int x) */
.breathe-sectiondef dl:not(.docutils) dt, .rst-content dl.struct dt {
  background: #f0f0f0;
  border-top-color: transparent;
}

/* Match the textual content of a 'title' of define, typedef, func */
.breathe-sectiondef dl:not(.docutils) dt, .rst-content dl.struct dt {
  color: #a70000; /* TI dark red */
}

/* Match "Return", "Parameters" headers, and struct members */
.breathe-sectiondef dl:not(.docutils) dl dt, .rst-content dl.struct dl.variable dt {
  background: transparent;
}

/* Match parenthesis for function signatures */
.breathe-sectiondef .sig-paren {
  margin-left: 0.1em;   /* Some breathing space */
  margin-right: 0.1em;
}

/* Match autogenerated links inside function signatures, descripions etc */
.breathe-sectiondef .reference.internal, .rst-content dl.struct .reference.internal{
  color: #c00;
}

/* Match autogenerated links inside function signatures etc */
.breathe-sectiondef .reference.internal:hover, .rst-content dl.struct .reference.internal:hover {
  text-decoration: underline;
}
