/*!
 * Parts taken from the CSS file generated from https://github.com/jupyter/notebook/blob/4.3.0/notebook/static/notebook/less/style.less
 * That project is licensed under the terms of the Modified BSD License (also
 * known as New or Revised or 3-Clause BSD), as follows:
 *
 *  * Copyright (c) 2001-2015, IPython Development Team
 *  * Copyright (c) 2015-, Jupyter Development Team
 *
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice, this
 * list of conditions and the following disclaimer.
 *
 * Redistributions in binary form must reproduce the above copyright notice,
 * this list of conditions and the following disclaimer in the documentation
 * and/or other materials provided with the distribution.
 *
 * Neither the name of the Jupyter Development Team nor the names of its
 * contributors may be used to endorse or promote products derived from this
 * software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 */

div.input_prompt {
  color: #303F9F;
}

div.output_prompt {
  color: #D84315;
}

.prompt {
  /* This needs to be wide enough for 3 digit prompt numbers: In[100]: */
  min-width: 14ex;
  /* This padding is tuned to match the padding on the CodeMirror editor. */
  padding: 0.4em;
  margin: 0px;
  font-family: monospace;
  text-align: right;
  /* This has to match that of the the CodeMirror class line-height below */
  line-height: 1.21429em;
}

div.output_area, div.input {
  /* Old browsers */
  display: -webkit-box;
  display: -moz-box;
  display: box;
  /* Modern browsers */
  display: flex;
  width: 100%;
}

div.output_subarea, div.inner_cell {
  overflow-x: auto;
  /* Old browsers */
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  box-flex: 1;
  /* Modern browsers */
  flex: 1;
}

div.input_area pre {
  margin-bottom: 0;
}

div.output_area pre {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  color: black;
  background-color: transparent;
  border-radius: 0;
}

div.output_subarea {
  padding: 0.4em;
}

div.output_stderr {
  background: #fdd;
  /* very light red background for stderr */
}

/** Table styles adapted from
  * https://github.com/jupyter/notebook/blob/5.0.0/notebook/static/notebook/less/renderedhtml.less
  * under the license above
  */

table.dataframe  {
    margin-right: auto;
    border: none;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
}
.dataframe thead {
    border-bottom: 1px solid black;
    vertical-align: bottom;
}
.dataframe tr, .dataframe th, .dataframe td {
    vertical-align: middle;
    text-align: right;
    padding: 0.5em 0.5em;
    line-height: normal;
    white-space: normal;
    max-width: none;
    border: none;
}
.dataframe th {
    font-weight: bold;
}
.dataframe tbody tr:nth-child(odd) {
    background: #f5f5f5;
}
.dataframe tbody tr:hover {
    background: rgba(66, 165, 245, 0.2);
}
