/*
 * Wrap inline code samples otherwise they shoot of the side and
 * can't be read at all.
 *
 * https://github.com/mkdocs/mkdocs/issues/313
 * https://github.com/mkdocs/mkdocs/issues/233
 * https://github.com/mkdocs/mkdocs/issues/834
 */
.rst-content code {
	white-space: pre-wrap;
	word-wrap: break-word;
	padding: 2px 5px;
}

@font-face{font-family:"PT Sans";font-style:normal;font-weight:400;font-display:fallback;src:url('../fonts/PTSans/pt-sans-v17-latin_latin-ext-regular.ttf') format('truetype');font-stretch:normal;}
@font-face{font-family:"PT Sans";font-style:italic;font-weight:400;font-display:fallback;src:url('../fonts/PTSans/pt-sans-v17-latin_latin-ext-italic.woff2') format('woff2'), url('../fonts/PTSans/pt-sans-v17-latin_latin-ext-italic.ttf') format('truetype');font-stretch:normal;}
@font-face{font-family:"PT Sans";font-style:normal;font-weight:700;font-display:fallback;src:url('../fonts/PTSans/pt-sans-v17-latin_latin-ext-700.woff2') format('woff2'), url('../fonts/PTSans/pt-sans-v17-latin_latin-ext-700.ttf') format('truetype');font-stretch:normal;}
@font-face{font-family:"PT Sans";font-style:italic;font-weight:700;font-display:fallback;src:url('../fonts/PTSans/pt-sans-v17-latin_latin-ext-700italic.woff2') format('woff2'), url('../fonts/PTSans/pt-sans-v17-latin_latin-ext-700italic.ttf') format('truetype');font-stretch:normal;}

body p {
	font-family: "PT Sans" !important;
}

h1,h2,.rst-content .toctree-wrapper p.caption,h3,h4,h5,h6,legend {
    font-family: "PT Sans","sans-serif" !important;
}

/**
 * Make code blocks display as blocks and give them the appropriate
 * font size and padding.
 *
 * https://github.com/mkdocs/mkdocs/issues/855
 * https://github.com/mkdocs/mkdocs/issues/834
 * https://github.com/mkdocs/mkdocs/issues/233
 */
.rst-content pre code {
  white-space: pre;
  word-wrap: normal;
  display: block;
  padding: 12px;
  font-size: 12px;
}

/**
 * Fix code colors
 *
 * https://github.com/mkdocs/mkdocs/issues/2027
 */
.rst-content code {
	color: #E74C3C;
}

.rst-content pre code {
	color: #000;
	background: #f8f8f8;
}

/*
 * Fix link colors when the link text is inline code.
 *
 * https://github.com/mkdocs/mkdocs/issues/718
 */
a code {
	color: #2980B9;
}
a:hover code {
	color: #3091d1;
}
a:visited code {
	color: #9B59B6;
}
/*
 * The CSS classes from highlight.js seem to clash with the
 * ReadTheDocs theme causing some code to be incorrectly made
 * bold and italic.
 *
 * https://github.com/mkdocs/mkdocs/issues/411
 */
pre .cs, pre .c {
	font-weight: inherit;
	font-style: inherit;
}

/*
 * Fix some issues with the theme and non-highlighted code
 * samples. Without and highlighting styles attached the
 * formatting is broken.
 *
 * https://github.com/mkdocs/mkdocs/issues/319
 */
.rst-content .no-highlight {
  display: block;
  padding: 0.5em;
  color: #333;
}


/*
 * Additions specific to the search functionality provided by MkDocs
 */

.search-results {
	margin-top: 23px;
}

.search-results article {
	border-top: 1px solid #E1E4E5;
	padding-top: 24px;
}

.search-results article:first-child {
	border-top: none;
}

form .search-query {
	width: 100%;
	border-radius: 50px;
	padding: 6px 12px;  /* csslint allow: box-model */
	border-color: #D1D4D5;
}

/*
 * Improve inline code blocks within admonitions.
 *
 * https://github.com/mkdocs/mkdocs/issues/656
 */
 .rst-content .admonition code {
  color: #404040;
  border: 1px solid #c7c9cb;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #f8fbfd;
  background: rgba(255, 255, 255, 0.7);
}

/*
 * Account for wide tables which go off the side.
 * Override borders to avoid wierdness on narrow tables.
 *
 * https://github.com/mkdocs/mkdocs/issues/834
 * https://github.com/mkdocs/mkdocs/pull/1034
 */
.rst-content .section .docutils {
	width: 100%;
	overflow: auto;
	display: block;
	border: none;
}

td, th {
   border: 1px solid #e1e4e5 !important; /* csslint allow: important */
   border-collapse: collapse;
}

h1, h2, .rst-content .toctree-wrapper p.caption, h3, h4, h5, h6, legend {
    margin-top: 20px;;
}

body {
    color: #00354e;
}

h1, h2, h3 {
   color: #008939;
}

.wy-side-nav-search {
   background-color: #005437;
   background-image: url("../img/sunflower.png");
   background-repeat: no-repeat;
   background-size: 150px;
   background-position: 12.8em -3.7em;
}

.wy-side-nav-search input[type=text]{
   border: 0;
}

.section img{
   border: 1px solid #F5F1E9;
}

.caption-text {
    color: #ffffff;
    font-size: 12pt;
    font-weight: bold;
}

.rst-versions .rst-current-version {
    background-color: #005437;
}

.wy-nav-side {
    background-color: #005437;
}

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

.wy-menu-vertical a:hover {
    color: #ffffff;
    background-color: transparent;
    background-image: linear-gradient(to bottom right,transparent 0 50%,#00432C 50% 100%),linear-gradient(#00432C,#00432C),linear-gradient(to top left,transparent 50%,#00432C 50%);
    background-size: calc(calc(0.8em / 100* 22.5)) calc(0.8em),calc(100% - calc(0.8em / 100* 22.5) * 2 + .5px) 0.8em,calc(calc(0.8em / 100* 22.5)) 0.8em;
    background-position: 0 100%,bottom,100% 100%;
    background-repeat: no-repeat;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.wy-menu-vertical li span.toctree-expand {
    color: #F5F1E9;
}

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

.wy-menu-vertical li.on a, .wy-menu-vertical li.current>a {
    color: #005437;
    background: #F5F1E9;
}

.wy-menu-vertical li.current {
    background: #F5F1E9;
}

.wy-menu-vertical li.current a:hover {
    background: #A1CA50;
}

.wy-menu-vertical li.toctree-l2 a, .wy-menu-vertical li.toctree-l3 a, .wy-menu-vertical li.toctree-l4 a {
    color: #000000;
}


.wy-menu-vertical li.toctree-l2.current>a {
    background: #A1CA50;
}

.wy-menu-vertical li.toctree-l2.current li.toctree-l3>a {
    background: #A1CA50;
}

.wy-menu-vertical li.toctree-l2 span.toctree-expand {
    color: #005437;
}

.wy-menu-vertical li.on a span.toctree-expand, .wy-menu-vertical li.current>a span.toctree-expand {
    color: #005437;
}

.wy-menu-vertical li.toctree-l2 a:hover span.toctree-expand {
    color: #000000;
}


.wy-nav-content a {
    color: #005437;
    text-decoration: underline;
}

.wy-nav-content a:hover {
    color: #005437;
    background-color: transparent;
    background-image: linear-gradient(to bottom right,transparent 0 50%,#FFF17A 50% 100%),linear-gradient(#FFF17A,#FFF17A),linear-gradient(to top left,transparent 50%,#FFF17A 50%);
    background-size: calc(calc(0.8em / 100* 22.5)) calc(0.8em),calc(100% - calc(0.8em / 100* 22.5) * 2 + .5px) 0.8em,calc(calc(0.8em / 100* 22.5)) 0.8em;
    background-position: 0 100%,bottom,100% 100%;
    background-repeat: no-repeat;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.wy-nav-content a:visited {
    color: #005437;
}

hr {
    border-top: 1px solid #008939;
}

.btn-neutral {
    background-color: #008939 !important;
    color: #ffffff !important;
}

.btn-neutral:visited {
    color: #ffffff !important;
}

.btn-neutral:hover {
    background-color: #005437 !important;
    background-image: none !important;
}

.btn-neutral a:hover{
    color: red;
}

footer {
    color: #000000;
}
