@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');

html, body {
  color: #18181B;
}

/*
reset Doxygen links
==============================================================================
*/
a:hover,
a:visited,
a:focus,
a:active {
  all: unset;
  text-decoration: underline;
  cursor: pointer;
}

/*
Hide links
==============================================================================
*/
div.navpath, div.summary {
    display: none !important;
  }

/*
remove Doxygen generated menu
==============================================================================
*/
#nav-tree, 
#side-nav,
#nav-path, 
#main-nav {
  display: none !important;
}

/*
header
==============================================================================
*/
#header {
  padding-top: 8px;
  padding-bottom: 8px;
  height: 47px;
  display: flex;
  align-items: stretch;
  position: relative;
  padding-inline: 1.5rem;
  background-color: none;
}

#header-content {
  display: flex;
  align-items: center;
  font-family: 'Arial'
}

#header-logo {
  flex: 0 0 auto;
  margin: 0 32px 0 0;
  text-decoration: none;
  max-width: 270px;
  position: relative;
}

#header-logo-content {
  line-height: 26px;
  overflow: hidden;
  margin: 0;
  font-size: 1.125rem;
  width: 100%;
}

#header-logo-content a,
#header-logo-content a:hover,
#header-logo-content a:visited,
#header-logo-content a:focus,
#header-logo-content a:active  {
  font-weight: 600;
  color: #1662A2;
  text-decoration: none !important;
}

.header-divider {
  border-left-width: 1px;
  border-style: solid;
  border-image: linear-gradient(180deg, #fff, #18181b, #fff) 1;
  border-top-width: 0px;
  border-right-width: 0px;
  border-bottom-width: 0px;
  height: 100%;
  padding: 0 0 0 16px;
}
/* header end */

/*
header demo button
==============================================================================
*/
#header-demo {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
}

#header-demo-content {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  font-family: 'Arial';
  font-size: 14px;
}

#header-demo-content ul {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  align-items: center;
  list-style: none;
}

#header-demo-content a,
#header-demo-content a:hover {
  background: rgb(249, 119, 0);
  color: rgb(255, 255, 255);
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 14px;
  display: block;
  text-decoration: none;
}
/* header end */

/*
menu start
==============================================================================
*/
#menu {
  padding-left: 24px;
  height: 48px;
  align-items: center;
  /* display: flex; */
  background-color: #f4f4f5;
  border-top: 1px solid #e4e4e7;
  border-bottom: 1px solid #e4e4e7
}

#menu ul {
  margin: 0;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  font-family: 'Arial';
  font-size: 14px;
  color: #51525c;
}

#menu ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #51525c;
}

#menu ul li::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Pro';
    color: #51525c;
    font-weight: 300;
    font-size: .75rem;
    position: relative;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
}

#menu ul li:first-child::before {
  content: none;
}

#menu ul li:last-child {
  color: #18181B;
}

#menu a {
  color: #51525c !important;
  text-decoration: none;
}

#menu a:hover {
  color: #0065FF !important;
  text-decoration: underline;
}
/* menu end */

/*
override doxygen css
==============================================================================
*/
p, h2.groupheader, td.memItemLeft, td.memItemRight, td.mdescRight {
    font-family: "Arial";
    font-size: 16px;
    line-height: 24px;
    color: #18181B;
}

div#projectname {
    font-family: 'Red Hat Display';
    font-size: 30px;
    color: #18181B;
}

div.header {
    background-image: none;
    background-color: white;
    border: none;
}

div.title {
  font-family: 'Red Hat Display';
  font-size: 20px;
  font-weight: normal;
  color: #18181B;
}

hr.footer {
  height: 1px;
  border: none;
  border-top: 1px solid #e4e4e7;
}

td.fieldname {
  font-family: Arial;
  font-size: 16px;
}

table.memname {
  font-family: Arial;
}

h2.memtitle {
  font-family: 'Red Hat Display';
  font-size: 20px;
  color: #18181B;
  font-weight: normal;
}

  /* Borders and background in enum-table */
  .memtitle, div.memproto, div.memdoc {
    background-image: none;
    background-repeat: no-repeat;
    background-color: #f4f4f5;
    border-top: 1px solid #e4e4e7;
    border-left: 1px solid #e4e4e7;
    border-right: 1px solid #e4e4e7;
  }

  div.memdoc {
    background-color: #fff;
  }

  .fieldtable th {
    background-image: none;
    background-repeat: no-repeat;
    background-color: #f4f4f5;
    font-family: Arial;
    border-bottom: 1px solid #e4e4e7;
  }

  .memdoc {
    border-bottom: none;
  }

  table.fieldtable {
    border: 1px solid #e4e4e7;
    box-shadow: none;
  }

  .fieldtable td.fielddoc {
    border-bottom: 1px solid #e4e4e7;
  }

  .fieldtable td.fieldtype, .fieldtable td.fieldname, .fieldtable td.fieldinit {
    white-space: nowrap;
    border-right: 1px solid #e4e4e7;
    border-bottom: 1px solid #e4e4e7;
    vertical-align: middle;
    font-weight: 600;
  }
  /* table layout end */

.contents a {
  color: #0065FF !important;
  font-weight: normal;
  text-decoration: none;
}

.contents a:hover {
  color: #0065FF !important;
  text-decoration: underline;
}

/* Doxygen override end */


/*
custom layuout
==============================================================================
*/
#container {
  max-width: 1440px; /* or use fixed width like 600px */
  padding: 0 10px;  /* optional side padding */
}

.responsive-row {
  display: flex;
  flex-wrap: wrap;
  padding: 6px 0;
  /* border-bottom: 1px solid #ccc; */
}

.cell {
  /*flex: 1 1 auto; allow shrinking and growing, basis is 30% */
  flex: 1 1 20%;
  /* padding: 4px; */
  box-sizing: border-box;
  margin-bottom: 1.6em;
}

.responsive-header {
  font-weight: bold;
  /* background-color: #f0f0f0; */
}

.category {
  font-family: 'Red Hat Display';
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 0.6em;
}

.section {
  font-family: 'Red Hat Display';
  padding-top: 1em;
  margin-bottom: 1em;
  font-size: 20px;
  font-weight: 600;
}

.properties {
  font-family: 'Arial';
  font-size: 16px;
  line-height: 24px;
  padding-left: 1.3em;
  margin-bottom: 0px;
}

@media (max-width: 600px) {
  .cell {
    flex-basis: 100%; /* stack vertically */
  }
}