.doc-panel .gradient-bg, .doc-panel #documentation-wrapper, .doc-panel #doc-selector {
  background: #f7f7f7;
}
.drawer {
  width: 65%;
  top: 36px !important;
  height: calc(100% - 86px) !important;
  overflow-x: hidden;
}
.drawer .close-button {
  position: absolute;
  top: 40px;
  right: 4px;
  z-index:9;
}
.drawer .close-button button > div {
  height:100%;
}
.drawer .close-button button > div > div {
  height:100%;
}

.doc-selector .tabs-root > * {
  background-color:#f7f7f7 !important;
  color: #111;
}
.doc-selector .tabs-root button.tab-root {
  color: currentColor !important;
}

#doc-selector {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  color: #666;
  text-align: left;
}
.documentation-panel h1, .documentation-panel h2, .documentation-panel h3, .documentation-panel h4, .documentation-panel h5, .documentation-panel h6, .documentation-panel .h1, .documentation-panel .h2, .documentation-panel .h3, .documentation-panel .h4, .documentation-panel .h5, .documentation-panel .h6 {
  color: currentColor;
  font-weight: 500;
}
.documentation-panel h1, .documentation-panel h2 {
  font-size: 22px;
  line-height: 40px;
  letter-spacing: 0.63px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  text-transform: capitalize;
}
.documentation-panel h4, .documentation-panel h3 {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  font-size: 18px;
  line-height: 40px;
  letter-spacing: 0.63px;
}
.documentation-panel h5, .documentation-panel h6 {
  font-size: 16px;
  line-height: 30px;
  letter-spacing: 0.63px;
  margin-top: 15px;
}
.documentation-panel hr {
  background-color: rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: row;
  width: 100%;
  margin: 2.5vw 0;
}
.documentation-panel p {
  margin-top: 15px;
  font-size: 14px;
  line-height: 20px;
  color: rgba(0, 0, 0, 0.95);
}
.documentation-panel table {
  border: 1px solid #f1f1f1;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: auto;
}
.documentation-panel table caption {
  font-size: 12px;
  margin: 0.5em 0 0.75em;
}
.documentation-panel table tr {
  background-color: transparent;
  border: 1px solid #f1f1f1;
  padding: 0.35em;
}
.documentation-panel table th,
.documentation-panel table td {
  padding: 0.625em;
  text-align: left;
  border-right: 1px solid #f1f1f1;
  font-size: 12px;
}
.documentation-panel table th:last-child,
.documentation-panel table td:last-child {
  border-right: 0;
}
.documentation-panel table th {
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media screen and (max-width: 600px) {
  .documentation-panel table {
    border: 0;
  }
  .documentation-panel table caption {
    font-size: 1.3em;
  }
  .documentation-panel table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  .documentation-panel table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: 0.625em;
  }
  .documentation-panel table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: 0.8em;
    text-align: right;
  }
  .documentation-panel table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  .documentation-panel table td:last-child {
    border-bottom: 0;
  }
}
.documentation-panel h2, .documentation-panel h1, .documentation-panel h3 {
  position: relative;
  padding-left: 20px;
}
.documentation-panel h2:before, .documentation-panel h1:before, .documentation-panel h3:before {
  content: "";
  width: 100%;
  height: 1px;
  background-color: black;
  opacity: 0.5;
}
.documentation-panel h2:after, .documentation-panel h1:after, .documentation-panel h3:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 4px;
  background-color: black;
  opacity: 0.7;
}
.documentation-panel h1:before {
  margin: 50px 0 30px -24px;
}

.documentation-panel h1:after {
  margin-top: 38px;
}
.documentation-panel h1:first-of-type:before {
  display:none;
}
.documentation-panel h1:first-of-type:after {
  margin-top:-18px;
}
.documentation-panel h2:before {
  margin: 40px 0 20px -24px;
}
.documentation-panel h2:after {
  margin-top: 28px;
}
.documentation-panel h3:before {
  margin: 30px 0 10px -24px;
}
.documentation-panel h3:after {
  margin-top: 18px;
}
.documentation-panel td code {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 3px;
}
.documentation-panel a {
  color: black;
  text-decoration: underline;
}
.documentation-panel .markdown-container {
  margin-top: 24px;
}
.doc-selector {
  padding: 0;
  height: 100%;
  color: currentColor;
}
.doc-selector.no-template {
  padding: 0;
}
.doc-selector.no-template.no-tabs {
  height: 100%;
}
.doc-selector.no-template #template-docs, .doc-selector.no-template #template-docs .notes-container {
  height: 100%;
}
.doc-selector.no-tabs:not(.no-template) #template-docs {
  height: 100%;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}
.documentation-panel .doc-selector.no-tabs:not(.no-template) #template-docs .notes-container {
  height: auto;
  width: 80%;
  max-width: 80%;
}
.autocomplete-root {
  width: calc(100% + 40px);
  margin-left:-20px;
  background-color: #00CE7C;
  color:white;
}
.autocomplete-root h5.autocomplete-title {
  margin:0 0 0 20px;
  padding-top:15px;
  color:white;
  opacity:0.8;
}
.autocomplete-root .autocomplete {
  width: calc(100% - 40px) !important;
  margin:0 20px;
  color:currentColor !important;
}
.autocomplete-root .autocomplete label {
  color:currentColor !important;
}
.autocomplete-root .autocomplete input {
  color:currentColor !important;
}
.autocomplete-root .autocomplete div:first-of-type {
  color:currentColor !important;
}
.autocomplete-root .autocomplete hr {
  border-color:currentColor !important;
}

.autocomplete-option span {
  color: #444;
  font-weight: 300;
}
.autocomplete-option b {
  font-weight: bold;
  color: black;
}
.autocomplete-option b span {
  font-weight: bold;
  color: currentColor;
}

.autocomplete {
  color: black;
}
.autocomplete .input-root {
  color: currentColor;
}
.autocomplete .input-root fieldset, .autocomplete .input-root button, .autocomplete .input-root input {
  border-color: currentColor;
  color: currentColor;
}
.autocomplete .input-root:hover fieldset, .autocomplete .input-root:hover button, .autocomplete .input-root:hover input {
  border-color: currentColor !important;
  color: currentColor;
}
.autocomplete [class*=focused] {
  color: currentColor;
  border-color: currentColor;
}
.autocomplete [class*=focused] * {
  border-color: currentColor !important;
  color: currentColor;
}
.autocomplete label {
  border-color: currentColor;
  color: currentColor;
}
#documentation-wrapper {
  color: rgba(0, 0, 0, 0.95);
  padding: 5vh 16px 8vh;
  color: #666;
  text-align: left;
}
#documentation-wrapper h1, #documentation-wrapper h2, #documentation-wrapper h3, #documentation-wrapper h4, #documentation-wrapper h5, #documentation-wrapper h6, #documentation-wrapper .h1, #documentation-wrapper .h2, #documentation-wrapper .h3, #documentation-wrapper .h4, #documentation-wrapper .h5, #documentation-wrapper .h6 {
  color: currentColor;
  font-weight: 500;
}
#documentation-wrapper h1, #documentation-wrapper h2 {
  font-size: 22px;
  line-height: 40px;
  letter-spacing: 0.63px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  text-transform: capitalize;
  padding-left:24px;
}
#documentation-wrapper h4, #documentation-wrapper h3 {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  font-size: 18px;
  line-height: 40px;
  letter-spacing: 0.63px;
}
#documentation-wrapper h5, #documentation-wrapper h6 {
  font-size: 16px;
  line-height: 30px;
  letter-spacing: 0.63px;
  margin-top: 15px;
}
#documentation-wrapper hr {
  background-color: rgba(0, 0, 0, 0.65) !important;
  display: flex;
  flex-direction: row;
  width: 100%;
  margin: 2.5vw 0 !important;
}
#documentation-wrapper p {
  margin-top: 15px;
  font-size: 14px;
  line-height: 20px;
  color: rgba(0, 0, 0, 0.95);
}
#documentation-wrapper table {
  border: 1px solid #f1f1f1;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: auto !important;
}
#documentation-wrapper table table {
  white-space: nowrap;
}
#documentation-wrapper table caption {
  font-size: 12px;
  margin: 0.5em 0 0.75em;
}
#documentation-wrapper table tr {
  background-color: transparent;
  border: 1px solid #f1f1f1;
  padding: 0.35em;
}
#documentation-wrapper table th,
#documentation-wrapper table td {
  padding: 0.625em;
  text-align: left;
  border-right: 1px solid #f1f1f1;
  font-size: 12px;
}
#documentation-wrapper table th:last-child,
#documentation-wrapper table td:last-child {
  border-right: 0;
}
#documentation-wrapper table th {
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media screen and (max-width: 600px) {
  #documentation-wrapper table {
    border: 0;
  }
  #documentation-wrapper table caption {
    font-size: 1.3em;
  }
  #documentation-wrapper table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  #documentation-wrapper table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: 0.625em;
  }
  #documentation-wrapper table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: 0.8em;
    text-align: right;
  }
  #documentation-wrapper table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  #documentation-wrapper table td:last-child {
    border-bottom: 0;
  }
}
#documentation-wrapper td, #documentation-wrapper th {
  color: rgba(0, 0, 0, 0.85) !important;
  background-color: rgba(0, 0, 0, 0.1) !important;
}
#documentation-wrapper th {
  font-weight:bold !important;
}
#documentation-wrapper tbody {
  color: rgba(0, 0, 0, 0.85) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}
#documentation-wrapper .main-title span.material-icons {
  transform: translateY(5px);
  padding-right: 6px;
}
#documentation-wrapper .secondary-title span.material-icons {
  transform: translateY(5px);
  padding-right: 6px;
}
.code-highlighter {
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07);
  margin-bottom: 12px;
  -webkit-font-smoothing: antialiased;
  margin-top: 15px;
}
.code-highlighter .header {
  background: #9b1d48;
  font-weight: 500;
  font-size: 12px;
  color: #f1f1f1;
  letter-spacing: 0.01em;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.code-highlighter .header .title {
  color: #f1f1f1;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  padding: 10px 12px;
}
.code-highlighter .code-block {
  position: relative;
  box-sizing: content-box;
}
.code-highlighter .code-block pre, .code-highlighter .code-block code {
  font-family: var(--editorFont);
  font-size: 1em;
  margin: 0;
}
.code-highlighter .code-block pre {
  background: rgb(35, 35, 35) !important;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  color: #f1f1f1;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-grow: 1;
  overflow-x: auto;
  margin: 0;
  height: 100%;
  direction: ltr;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  -moz-tab-size: 4;
  tab-size: 4;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  padding: 0 12px;
}


/*
this is forcing the ink element color as MUI doesn't allow to change it
*/
.tabs-root > div:nth-child(2) > div {
  background-color: #00CE7C !important;
}
