/* 
Maptek branding styles for the Maptek Help Sphinx template

author: Jeremy Driver
version: 1
date: Nov 2020
*/


/*  -----
    Fonts 
    ----- */

/* Main font stack */
body, .rst-content .toctree-wrapper>p.caption, h1, h2, h3, h4, h5, h6, legend {
    font-family: "proxima-nova", Helvetica, Arial, sans-serif;
}

/* Headings aren't bold */
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
    font-weight: 300;
    line-height: 1.1;
    color: inherit;
}

/* Other stuff isn't bold */
.wy-menu-vertical header,
.wy-menu-vertical p.caption,
.wy-side-nav-search .wy-dropdown>a,
.wy-side-nav-search>a {
    font-weight: 300;
}


/*  -------
    Colours 
    ------- */

h1 {
    color: #025829;
    font-size: 2.5rem;
}

.wy-side-nav-search a.icon {
    color: white;
}

/* Sidebar logo bg */
.wy-side-nav-search,
.wy-side-nav-search img {
    background-color: #4D9D37;
}

/* Mobile top bar */
.wy-nav-top {
    background: #4D9D37;
}

/* Search bar */
.wy-side-nav-search input[type=text] {
    border-color: #4D9D37;
}


/* Sidebar 'contents' text */
.wy-menu-vertical header,
.wy-menu-vertical p.caption {
    color: white;
}

/* Code calluot boxes */
html.writer-html4 .rst-content dl:not(.docutils)>dt:before, 
html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple)>dt:before {
    color: #4D9D37;
}

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(.glossary):not(.simple)>dt {
    color: #387128; /* Slightly darker for good contrast */
    border-top-color: #4D9D37;
    background: #eafae6;
}

/* Alert/callout boxes */
.rst-content .note .admonition-title,
.rst-content .note .wy-alert-title,
.rst-content .seealso .admonition-title,
.rst-content .seealso .wy-alert-title,
.rst-content .wy-alert-info.admonition-todo .admonition-title,
.rst-content .wy-alert-info.admonition-todo .wy-alert-title,
.rst-content .wy-alert-info.admonition .admonition-title,
.rst-content .wy-alert-info.admonition .wy-alert-title,
.rst-content .wy-alert-info.attention .admonition-title,
.rst-content .wy-alert-info.attention .wy-alert-title,
.rst-content .wy-alert-info.caution .admonition-title,
.rst-content .wy-alert-info.caution .wy-alert-title,
.rst-content .wy-alert-info.danger .admonition-title,
.rst-content .wy-alert-info.danger .wy-alert-title,
.rst-content .wy-alert-info.error .admonition-title,
.rst-content .wy-alert-info.error .wy-alert-title,
.rst-content .wy-alert-info.hint .admonition-title,
.rst-content .wy-alert-info.hint .wy-alert-title,
.rst-content .wy-alert-info.important .admonition-title,
.rst-content .wy-alert-info.important .wy-alert-title,
.rst-content .wy-alert-info.tip .admonition-title,
.rst-content .wy-alert-info.tip .wy-alert-title,
.rst-content .wy-alert-info.warning .admonition-title,
.rst-content .wy-alert-info.warning .wy-alert-title,
.rst-content .wy-alert.wy-alert-info .admonition-title,
.wy-alert.wy-alert-info .rst-content .admonition-title,
.wy-alert.wy-alert-info .wy-alert-title {
    background: #4D9D37;
}

.rst-content .note,
.rst-content .seealso,
.rst-content .wy-alert-info.admonition,
.rst-content .wy-alert-info.admonition-todo,
.rst-content .wy-alert-info.attention,
.rst-content .wy-alert-info.caution,
.rst-content .wy-alert-info.danger,
.rst-content .wy-alert-info.error,
.rst-content .wy-alert-info.hint,
.rst-content .wy-alert-info.important,
.rst-content .wy-alert-info.tip,
.rst-content .wy-alert-info.warning,
.wy-alert.wy-alert-info {
    background: #eafae6;
}


/*  -----
    Links
    ----- */

a {
    color: #4D9D37;
}

a:visited {
    color: #387128;
}

a:hover:not(.headerlink) {
    color: #025829;
    text-decoration: underline;
}

a {
    text-decoration: underline;
}

nav a {
    text-decoration: none !important;
}

.wy-breadcrumbs a,
a.headerlink,
a.icon,
a[title] {
    text-decoration: none;
}

a.icon:hover {
    text-decoration: none;
}


.wy-menu-vertical a {
    color: #d9d9d9;
}

.wy-menu-vertical a:visited {
    color: #d9d9d9;
}

.wy-menu-vertical a:hover {
    color: #d9d9d9;
}

.wy-side-nav-search a.icon:hover {
    color: white;
}

/* logo link overlay */
.wy-side-nav-search .wy-dropdown>a:hover,
.wy-side-nav-search>a:hover {
    background: none;
}