/*
 * Copyright (c) 2019-2020 NVIDIA Corporation.  All rights reserved.
 *
 * NVIDIA Corporation and its licensors retain all intellectual property
 * and proprietary rights in and to this software, related documentation
 * and any modifications thereto.  Any use, reproduction, disclosure or
 * distribution of this software and related documentation without an express
 * license agreement from NVIDIA Corporation is strictly prohibited.
 */

table .supported
{
    color: green;
    text-align: center;
}

table .not_supported
{
    color: red;
    text-align: center;
}

table.diagram
{
    border: 0px;
    display: inline-block;
    vertical-align: middle;
}

table.diagram td.box
{
    border: 1px solid black;
}

table.diagram td
{
    padding: 5px;
    vertical-align: middle;
    text-align: center;
    display: table-cell;
}

table.diagram .starttd
{
    padding: 0px;
    margin: 0px;
}

table.diagram .endtd
{
    padding: 0px;
    margin: 0px;
    line-height: 0;
}

table.diagram .intertd
{
    padding: 0px;
    margin: 0px;
    line-height: 0;
}

table.perf
{
    display: inline-block;
}

table.perf th[scope=row]
{
    background-color: #effbda; /* very light green */
    text-align: center;
    font-weight: normal;
}

table.perf td
{
    text-align: right;
}

table.perf_comp
{
    display: inline-block;
}

table.perf_comp th[scope=row]
{
    background-color: #effbda; /* very light green */
    text-align: left;
    font-weight: normal;
}

table.perf_comp td
{
    text-align: right;
}


sup {
    font-size: 50%;
}

.MathJax_Display {
    text-align: left !important;
}

#directory_structure {
    border: none;
}

#directory_structure td {
    vertical-align: top;
}

table.gallery td {
    border: 0px;
    padding: 5px;
    text-align: center;
    vertical-align: top;
}


table.gallery p {
    font-weight: normal;
}

.perf_filter_all
{
    font-style: italic;
}

#perf_clear_filter
{
    float: left;
}

#perf_message
{
    float: right;
}

#perf_empty_msg
{
    color: red;
    text-align: center;
}

.bench_error {
    color: red;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  min-width: 120px;
  max-width: 360px;
  background-color: #555;
  color: #fff;
  text-align: left;
  padding: 5px;
  border-radius: 6px;

  /* Position the tooltip text to the right */
  position: absolute;
  z-index: 1;
  top: -10px;
  left: 150%;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent #555 transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
  animation: tooltipkeys 0.7s 1;
}

@-webkit-keyframes tooltipkeys{ 0%   {opacity: 0;} 75%  {opacity: 0;} 100% {opacity: 1;} }
@-moz-keyframes tooltipkeys{ 0%   {opacity: 0;} 75%  {opacity: 0;} 100% {opacity: 1;} }
@-o-keyframes tooltipkeys{ 0%   {opacity: 0;} 75%  {opacity: 0;} 100% {opacity: 1;} }
@keyframes tooltipkeys { 0%   {opacity: 0;} 75%  {opacity: 0;} 100% {opacity: 1;} }

input.language[type='radio'] {
    display:none;
}

input.language[type='radio'] + label {
    display: inline-block;
    box-shadow: 1px 1px grey;
    background-color: #e0e0e0;
    padding: 5px;
    border-radius: 3px;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
}

input.language[type='radio']:checked + label {
    box-shadow: -1px -1px grey;
    background-color: #e0f1e0; /* light green */
}

/* Button to be used when leaving to Python API and back to main page:
   I've added all button types and important to white color so the button
   text don't disappear when it gets blueish/purpleish link colors
 */
.button,
.button:link,
.button:visited,
.button:hover,
.button:active {
  color: white !important;
  font-size: 16px;
  text-decoration: none;
  text-align: left;
  background-color: #76B900; /* NVIDIA green */
  padding: 11px 11px 8px 11px;
  border-top: 1px solid #76B900;
  border-right: 1px solid #76B900;
  border-bottom: 1px solid #76B900;
  border-left: 1px solid #76B900;
}

/* Sphinx tables are by default no-wrap within cell, this overrides table no-wrap */
.wy-table-responsive table td, .wy-table-responsive table th {
    white-space: normal;
}
.nvidia_footer {
    background-color: black;
    color: white;
    padding-left: 10px;
    padding-right: 10px;
    list-style: none;
}

.nvidia_footer a {
    color: white;
    text-decoration: none;
}

.nvidia_footer .pane {
    display: inline-block;
    margin-right: 80px;
    box-sizing: border-box;
}

/* title */
.nvidia_footer .pane p {
    border-bottom: 1px solid #979797;
    margin-bottom: 15px;
    padding-bottom: 3px;
    word-break: keep-all;
    font-weight: 700;
    font-size: 18px;
}

.nvidia_footer .pane ul {
    margin: 0;
    padding: 0;
}

.nvidia_footer .pane a {
    margin-bottom: 15px;
    word-break: keep-all;
    color: #74b900;
    font-size: 16px;
    font-weight: 400;
}

.nvidia_footer .bottom {
    font-weight: 400;
    font-size: 12px;
}

.nvidia_footer .bottom p {
    font-weight: inherit;
    font-size: inherit;
    margin-top: 12px;
    margin-bottom: 12px;
}

.nvidia_footer .bottom a {
    display: inline-block;
    font-weight: inherit;
    font-size: inherit;
}
.nvidia_footer {
    background-color: inherit;
    color: inherit;
    padding-top: 25px;
}
.nvidia_footer a {
    color: inherit;
}
.nvidia_footer .pane p {
    font-size: 16px;
}
.nvidia_footer .pane a {
    font-size: 14px;
}
.nvidia_footer .bottom p {
    font-size: 12px;
}
.nvidia_footer .bottom a {
    font-size: 12px;
}
