@import 'theme.css'; /* for the Read the Docs theme */

.wy-nav-content {
  max-width: 900px !important; /* Default value seems to be 800*/
}

.rst-content div[class^="highlight"] pre {
  font-size: 95%;
}

/*
div.indexpage p {
  font-size: 5.0em;
}
*/

/* override table no-wrap */
.wy-table-responsive table td, .wy-table-responsive table th {
    white-space: normal;
}

.def {
  color: #e41a1c;
  font-weight: bold;
}

.mono {
  font-family: 'Courier New', monospace;
}

.cgns {
  color: #08306b;
  font-family: 'Courier New', monospace;
}

.center {
  text-align: center;
}

/*To have title font, without toc entry -- TODO implement it as directive ? */
.titlelike {
  margin-top: 0;
  font-weight: 700;
  font-size: 125%;
  font-family:Roboto Slab,ff-tisa-web-pro,Georgia,Arial,sans-serif;
}

/* --------------------------------------------------------------------------- */

dl.class{
  border-left: 2px solid #6ab0de;
}

dl.function {
  border-left: 1px solid #6ab0de;
}

dl.method {
  border-left: 1px solid #ccc;
}

/* This erase the CSS rule defined in sphinx theme responsible for the small grey border before methods signature 
  We erase this rule because such a border is already added by dl.method, and we don't want to have two */
html.writer-html4 .rst-content dl:not(.docutils) dl:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) > dt,
html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) dl:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) > dt {
  border: none;
}

/* Also erase the CSS rule defined in sphinx theme responsible for the blue border on the top of signatures 
  We just replace it with a smaller value */
html.writer-html4 .rst-content dl:not(.docutils) > dt,
html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) > dt {
  border-top: 2px solid #6ab0de;
}

