/*
 * pycpl-nature.css
 * ~~~~~~~~~~~~~~~~
 *
 * This stylesheet is intended to override some style elements of the used
 * nature Sphinx theme in order to integrate better with the look-and-feel
 * of the European Southern Observatory web pages.
 *
 * :copyright: Copyright 2007-2025 European Southern Observatory.
 * :license: BSD
 *
 */

div.document {
    background-color: #ffffff;
}

div.body h1 {
    font-size: 225%;
}

div.body h2 {
    font-size: 175%;
}

div.body h3 {
    font-size: 155%;
}

div.body h4 {
    font-size: 135%;
}

div.body h5 {
    font-size: 125%;
}

div.body h5 {
    font-size: 125%;
}

div.body h1,
div.body h2,
div.body h3,
div.body h4,
div.body h5,
div.body h6 {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    font-weight: normal;
    color: #212224;
    margin: 30px 0px 10px 0px;
    padding: 5px 0 5px 0px;
}

dl.simple dt {
    font-weight: 700;
}

div.related {
    background-color: #1E74A8;
    line-height: 32px;
    color: #fff;
    text-shadow: 0px 1px 0 #444;
    font-size: 0.9em;
}

div.related a {
    color: #cce3f3;
}

pre.literal-block {
    background-color: #f3f4f5;
    border: 1px solid #d1d5da;
    border-radius: 0.25rem;
    box-shadow: none;
}

div.highlight pre {
    background-color: #f3f4f5;
    border: 1px solid #d1d5da;
    border-radius: 0.25rem;
    box-shadow: none;
}

div.admonition {
    padding: 0px;
    border-top: none;
    border-bottom: none;
    border-right: none;
    border-radius: 0.25rem;
    box-shadow: 0 .2rem .5rem rgba(0, 0, 0, 0.1);
}

div.admonition p.admonition-title+p {
    display: block;
    margin-top: 0px;
    margin-bottom: 0px;
}

p.admonition-title {
    display: block;
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-block: 5px;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    border-bottom-left-radius: 0rem;
    border-bottom-right-radius: 0rem;
}

p.admonition-title::after {
    content: "";
}

div.admonition p {
    display: block;
    width: auto;
    padding-left: 7px;
    padding-right: 7px;
    padding-top: 5px;
    padding-bottom: 5px;
}

div.attention p.admonition-title {
    background-color: #f8e3d0;
}

div.attention {
    background-color: #ffffff;
    border-left: 3px solid #f66a0a;
}

div.caution p.admonition-title {
    background-color: #f8e3d0;
}

div.caution {
    background-color: #ffffff;
    border-left: 3px solid #f66a0a;
}

div.danger p.admonition-title {
    background-color: #f9e1e4;
}

div.danger {
    background-color: #ffffff;
    border-left: 3px solid #d72d47;
}

div.error p.admonition-title {
    background-color: #f9e1e4;
}

div.error {
    background-color: #ffffff;
    border-left: 3px solid #d72d47;
}

div.hint p.admonition-title {
    background-color: #d6ece1;
}

div.hint {
    background-color: #ffffff;
    border-left: 3px solid #00843f;
}

div.important p.admonition-title {
    background-color: #f8e3d0;
}

div.important {
    background-color: #ffffff;
    border-left: 3px solid #f66a0a;
}

div.note p.admonition-title {
    background-color: #dce7fc;
}

div.note {
    background-color: #ffffff;
    border-left: 3px solid #276be9;
}

div.seealso p.admonition-title {
    background-color: #d6ece1;
}

div.seealso {
    background-color: #ffffff;
    border-left: 3px solid #00843f;
}

div.tip p.admonition-title {
    background-color: #d6ece1;
}

div.tip {
    background-color: #ffffff;
    border-left: 3px solid #00843f;
}

div.todo p.admonition-title {
    background-color: #e0c7ff;
}

div.todo {
    background-color: #ffffff;
    border-left: 3px solid #8045e5;
}

div.warning p.admonition-title {
    background-color: #f8e3d0;
}

div.warning {
    background-color: #ffffff;
    border-left: 3px solid #f66a0a;
}

div.bodywrapper {
    margin: 0 0 0 270px;
    border-left: 1px solid #d1d5da;
    overflow: scroll;
}

div.sphinxsidebar {
    width: 265px;
    background-color: #fff;
    overflow-x: scroll;
    padding-right: 5px;
    border-right: 1px solid #d1d5da;
}

div.sphinxsidebar .searchformwrapper {
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 10px;
}

div.sphinxsidebarwrapper img.logo {
    max-width: 80%;
    padding-left: 10%;
}

div.sphinxsidebar p.caption {
    background-color: #e5e5e5;
    color: #555;
}

div.sphinxsidebar h3,
div.sphinxsidebar h4 {
    background-color: #ffffff;
    color: #000;
    font-weight: bolder;
}
