/* PEM Doxygen "dusty ice" theme using the project palette */
:root {
  --pem-ice-050 : #f9ead3;
  --pem-ice-250 : #debd90;
  --pem-ice-450 : #be945f;
  --pem-dust-700: #765834;
  --pem-dust-900: #392e23;

  --pem-text: var(--pem-dust-900);
  --pem-link: var(--pem-dust-700);
  --pem-link-hover: var(--pem-dust-900);
  --pem-bg-page: #fffdf9;
  --pem-bg-panel: var(--pem-ice-050);
}

body {
  color: var(--pem-text);
  background: var(--pem-bg-page);
}

#titlearea {
  border-bottom: 2px solid var(--pem-ice-450);
  background: linear-gradient(180deg, var(--pem-ice-050) 0%, #f3dfbe 100%);
}

#projectname {
  color: var(--pem-dust-900);
  font-weight: 700;
  letter-spacing: 0.25px;
}

#projectbrief,
#projectnumber {
  color: var(--pem-dust-700);
}

/* Top tabs and menu bars */
.tabs,
.tabs2,
.tabs3,
.sm-dox {
  background: var(--pem-dust-900);
}

.tabs .tablist li a,
.tabs2 .tablist li a,
.tabs3 .tablist li a,
.sm-dox > li > a,
.sm-dox > li > a:visited {
  color: var(--pem-ice-050);
}

.sm-dox ul a,
.sm-dox ul a:visited {
  color: var(--pem-dust-900) !important;
}

.tabs .tablist li.current a,
.tabs2 .tablist li.current a,
.tabs3 .tablist li.current a,
.sm-dox a:hover {
  color: #fff;
  background: var(--pem-dust-700);
}

/* Search box */
#MSearchBox {
  border: 1px solid var(--pem-ice-450);
  border-radius: 6px;
  background: #fff;
}

#MSearchField {
  color: var(--pem-dust-900);
}

/* Left navigation tree */
#side-nav,
#nav-tree {
  background: var(--pem-bg-panel);
}

#nav-tree .selected,
#nav-tree .item:hover {
  background: #edd0a8;
}

/* Main content */
.contents {
  background: #fff;
}

.contents a,
.contents a:visited {
  color: var(--pem-link);
}

.contents a:hover,
.contents a:focus {
  color: var(--pem-link-hover);
}

.contents h1,
.contents h2,
.contents h3,
.contents h4 {
  color: var(--pem-dust-900);
  border-bottom-color: var(--pem-ice-250);
}

/* Member sections and definition blocks */
.memtitle,
.fieldname,
dl.section dt {
  background: #ecd0a7;
  color: var(--pem-dust-900);
  border-color: var(--pem-ice-450);
}

.memitem,
dl.section {
  border-color: var(--pem-ice-250);
  background: #fffdfa;
}

/* Code fragments */
div.fragment {
  border-color: var(--pem-ice-250);
  background: #fff8ef;
}

div.line {
  color: #4a3a2b;
}

/* Tables and list headers */
table.memberdecls th,
table.directory th,
table.params th {
  background: var(--pem-dust-700);
  color: var(--pem-ice-050);
}

table.memberdecls,
table.directory,
table.params {
  border-color: var(--pem-ice-250);
}

/* Files page heading (e.g. "File List") */
div.header,
div.header .headertitle,
div.header .headertitle .title,
div.header .title {
  background-color: #fffdf9 !important;
  color: #392e23 !important;
}

/* Footer */
#nav-path ul {
  background: var(--pem-dust-900);
}

#nav-path ul li,
#nav-path ul li a,
#nav-path ul li a:visited {
  color: var(--pem-ice-050);
}
