div.fragment, pre.fragment {
	  margin: 0;
	  padding: 4px;
}

body {
    display: flex;
}

body, table, div, p, dl {
    font: 400 18px/30px Roboto,sans-serif;
}

.textblock > h1:first-of-type {
    font-size: 4em;
    height: 50px;
    margin-top: 58px !important;
    margin-bottom: 30px;
    border: none;
}

.badges {
    display: flex;
    margin-top: 15px;
    margin-bottom: 25px;
    font-size: 25px;
    zoom: 1.5;
}

.badges > .images {
    margin-right: 10px;
}

/*********************************************/
/**               Main content              **/
/*********************************************/
.contents {
    display: flex;
    flex-direction: column;
    width: 80%;
	  margin-left: 20% !important;
	  padding: 0 10px;
}

/*********************************************/
/**     Top bar (turned into a navbar)      **/
/*********************************************/
#top {
    position: fixed;
    display: flex;
    width: 20%;
}

#titlearea {
    border-bottom: none;
    padding: 20px;
}

#projectname {
    cursor: pointer;
}

#projectbrief {
    margin-top: 10px;
    font-style: italic;
}

#projectalign {
    padding: 0;
}

#titlearea tr > td {
    display: flex;
    flex-direction: column;
    margin-top: 1.5em;
    font-size: 1.2em;
}

#MSearchBox {
    margin-top: 20px;
}

#MSearchBox .left img,
#MSearchBox .right,
#nav-path {
    display: none;
}

#MSearchBox,
#MSearchBox .left {
    position: relative;
    display: flex;
    height: auto;
    width: 100%;
    margin: 0;
    left: 0;
}

#MSearchField {
    position: relative;
    display: flex;
    padding: 5px;
    margin: 0;
    border-radius: 0;
    font-size: 1em;
    background: white;
    background-image: none;
    height: 30px;
    width: 100%;
}

#projectname {
    margin-bottom: 10px;
}


/*********************************************/
/**              Search result             **/
/*********************************************/
#MSearchResultsWindow {
    position: fixed;
    left: 20% !important;
    top: 0 !important;
    height: 100%;
    width: calc(80% - 42px) !important;
    font-size: 2em;
    padding: 20px;
}

#MSearchResults {
    transform: scale(2.5) !important;
    width: auto !important;
    height: 400px !important;
    left: 230px !important;
    top: 300px !important;
    position: relative !important;
}

/*********************************************/
/**               Inline code               **/
/*********************************************/
p code,
li code,
td code,
dd code {
	  display: inline;
	  padding: 0px 6px;
	  -webkit-border-radius: 4px;
	  -moz-border-radius: 4px;
	  border-radius: 4px;

	  background-color: #CCCCCC;
	  border: 1px solid #333333;

	  color: #333333;
}

/*********************************************/
/**         Table of Contents (ToC)         **/
/*********************************************/
div.toc {
	  margin: 0 !important;
	  border-radius: 4px !important;
}

div.toc h3 {
	  font-size: 150%;
	  color: inherit;
}

/*********************************************/
/**              Content table              **/
/*********************************************/
.contents table.doxtable {
	  margin: 0 auto;
}

/*********************************************/
/**               Field table               **/
/*********************************************/
.fieldtable {
	  box-shadow: none !important;
	  -webkit-box-shadow: none;
	  -moz-box-shadow: none;
}

/*********************************************/
/**           Memitem and memtitle          **/
/*********************************************/
.memitem,
.memproto,
.memdoc {
	  box-shadow: none;
	  -webkit-box-shadow: none;
	  -moz-box-shadow: none;
	  background-image: none;
}

.memproto {
    display: none;
}

.memtitle {
    width: fit-content;
    margin-right: 0;
    border-bottom: 1px solid #32363d !important;
    z-index: 999;
}

.memdoc {
    display: flex;
    flex-direction: column;
    background: inherit;
    border-color: #000000;
}

.memdoc > * {
    order: 5;
}

.memdoc > dl,
.memdoc > p {
    margin-bottom: 0;
}

.memdoc > .fragment {
    margin-top: 5px;
    width: fit-content;
    padding-left: 10px;
}

.memdoc > .fragment > .line {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.3px;
}

.memdoc > .fragment:nth-of-type(1) {
    order: 1;
}

.memdoc > .fragment:nth-of-type(2) {
    order: 10;
    margin-left: -11px;
    margin-bottom: -3px;
    width: calc(100% - 10px);
    margin-top: 15px;
    padding: 15px;
    background: black;
}

.memdoc > .fragment:nth-of-type(2) > .line {
    line-height: 2;
}



.memdoc > dl {
    display: block;
}

.memdoc > .params.hide > dd,
.memdoc > .params.hide + .return {
    display: none;
}

.memdoc > .params > dt {
    cursor: pointer;
    text-decoration: underline;
    width: fit-content;
}

.memdoc > .params > dt::after {
    content: ' ';
    width: 0;
    height: 0px;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #fff;
    margin-left: 10px;
    display: inline-block;
    margin-bottom: 2px;
}

.memdoc > .params.hide > dt::after {
    content: ' ';
    width: 0;
    height: 0px;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #fff;
    border-bottom: none !important;
    margin-left: 10px;
    display: inline-block;
    margin-bottom: 2px;
}


/* Putting Member Data Documentation on top of the page */

.contents > h2.groupheader:nth-child(n+10),
.contents > .groupheader + a:last-of-type,
.contents > .memtitle:last-of-type,
.contents > .memitem:last-of-type {
    order: -1 !important;
}

/* Members data have no type signature */
.contents > .memitem:last-of-type > .memdoc > div.fragment:first-of-type {
    display: none;
}

.contents > h2:first-of-type,
.contents > div.textblock {
    order: -2 !important;
}

/*********************************************/
/**             Class members               **/
/*********************************************/

.memberdecls {
    display: none;
}


/*********************************************/
/**             TOP navigation              **/
/*********************************************/
.tablist a:hover,
.tablist li.current a {
	  text-shadow: none;
	  -moz-text-shadow: none;
	  -webkit-text-shadow: none;
}

/*********************************************/
/**              H1 in textblocks           **/
/*********************************************/
.textblock h1 {
    border-bottom: 1px solid #32363d;
    border-left: 3px solid #32363d;
    margin: 40px 0px 10px 0px;
    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 5px;
}

.textblock h1:first-child {
	  margin-top: 10px;
}

/*********************************************/
/**               Note, warning             **/
/*********************************************/
dl.note,
dl.warning,
dl.todo,
dl.deprecated,
dl.reflist {
	  border: 0;
	  padding: 0px;
	  margin: 4px 0px 4px 0px;
	  border-radius: 4px;
}

dl.note dt,
dl.warning dt,
dl.todo dt,
dl.deprecated dt,
dl.reflist dt {
	  margin: 0;
	  font-size: 14px;
	  padding: 2px 4px;

	  border: none;
	  border-top-left-radius: 0px;
	  border-top-right-radius:0px;

	  font-weight: bold;
	  text-transform: uppercase;
	  color: #FFFFFF !important;

	  box-shadow: none;
	  -webkit-box-shadow: none;
	  -moz-box-shadow: none;
	  text-shadow: none;
}

dl.note dd,
dl.warning dd,
dl.todo dd,
dl.deprecated dd,
dl.reflist dd {
	  margin: 0;
	  padding: 4px;
	  background: none;

	  color: #222222;

	  border: 1px solid;
	  border-bottom-left-radius: 0px;
	  border-bottom-right-radius: 0px;
	  border-top: none;

	  box-shadow: none;
	  -webkit-box-shadow: none;
	  -moz-box-shadow: none;
	  text-shadow: none;
}

dl.reflist dd {
	  margin-bottom: 15px;
}

/* Background colors */
dl.note {}
dl.warning {}
dl.todo {}
dl.deprecated {}
dl.reflist {}

/* Content */
dl.note dd {
	  background-color: #fff9c4;
	  border-color: #cbc693;
}

dl.warning dd {
	  background-color: #f48fb1;
	  border-color: #bf5f82;
}

dl.todo dd {
	  background-color: #b3e5fc;
	  border-color: #82b3c9;
}

dl.deprecated dd {
	  background-color: #e1bee7;
	  border-color: #af8eb5;
}

dl.reflist dd {
	  background-color: #ffe0b2;
	  border-color: #cbae82;
}

/*********************************************/
/**               Reference list            **/
/**Similar to warning/note/todo/... messages**/
/*********************************************/
dl.reflist {

}

/*********************************************/
/**               Note, warning             **/
/*********************************************/
#docs_list {
	  padding: 0 10px;
}

#docs_list ul {
	  margin: 0;
	  padding: 0;
	  list-style: none;
}

#docs_list ul li {
	  display: inline-block;
	  border-right: 1px solid #BFBFBF;
}

#docs_list ul li:last-child {
	  border-right: none;
}

#docs_list ul li a {
	  display: block;
	  padding: 8px 13px;
	  font-weight: bold;
	  font-size: 15px;
}

#docs_list ul li a:hover,
#docs_list ul li a.docs_current {
	  text-decoration: underline;
}

/*********************************************/
/**               Resizable UI              **/
/*********************************************/
.ui-resizable-e {
	  width: 3px;
}

/*********************************************/
/**               Download url              **/
/*********************************************/
.download_url {
	  font-weight: bold;
	  font-size: 150%;
	  line-height: 150%;
}

/*********************************************/
/**               Syntax folor              **/
/*********************************************/
div.line a {
	  text-decoration: underline;
}

span.lineno a {
	  text-decoration: none;
}

/*********************************************/
/**          Modules/Directory table        **/
/*********************************************/
.directory .arrow {
	  height: initial;
}

.directory td.entry {
	  padding: 3px 6px;
}

/*********************************************/
/**                 Mem items               **/
/*********************************************/
.memproto table td {
	  font-family: monospace, fixed !important;
}

td.memItemLeft, td.memItemRight {
	  font-family: monospace, fixed;
}

.paramname, .paramname em {
	  font-style: italic;
}

.memdoc {
	  text-shadow: none;
}

.memItem {
	  font-family: monospace, fixed;
}

.memItem table {
	  font-family: inherit;
}

/*********************************************/
/**                 Footer                  **/
/*********************************************/
img.footer {
	  height: 22px;
}

.header {
    display: none;
}
