/* ZAMA Style */
.api-method {
  background: #673ab7;
  color: white;
  padding: 2px 6px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: bold;
  line-height: 11px;
}
.api-method-get {
  background: #4CAF50;
}
.api-method-post {
  background: #2196F3;
}
.api-method-put {
  background: #ffc107;
}
.api-method-patch {
  background: #ff9800;
}
.api-method-delete {
  background: #f44336;
}
.api-path {
  padding: 10px;
  border-radius: 2px;
  background: #f5f7f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.api-path-root {
  color: gray;
  margin-left: 10px;
}
.api-path-name {
  word-break: break-all;
  color: #10b3d6;
}
.api-path-try-btn {
  color: var(--base-color);
  padding: 0 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  line-height: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.request-name {}
.request-box {
  border: 1px solid #dbe1e4;
  border-radius: 4px;
  margin-top: 5px;
  margin-bottom: 20px;
}
.request-box-value {
  display: flex;
  padding: 10px;
}
.request-box-name {
  width: 200px;
}
.request-box-required {
  display: block;
  font-size: 10px;
  color: #f44336;
}
.request-box-optional {
  display: block;
  font-size: 10px;
  color: gray;
}
.request-box-details {
  overflow: hidden;
  width: 100%;
}
.request-box-type {
  color: #7ec699;
}
.request-box-default {
  color: gray;
}
.request-box-default span {
  color: gray;
}
.request-box-description {}

.shortcode_info p {
  margin: 0;
}

.shortcode_info h4 {
  padding-top: 35px;
}

.basic_table_info td {
  color: #6b717f;
}

.mb-30 {
  margin-bottom: 30px !important;
}

.highlight {
  font-size: 12px;
  max-height: 400px;
  overflow: scroll;
}

.highlight pre {
  border-radius: 4px;
}

.wtree {
  font-size: 12px;
  max-height: 400px;
  overflow: scroll;
  background: #f4f7f9;
  border-radius: 4px;
}

.wtree li {
  list-style-type: none;
  margin: 5px 0 5px 5px;
  position: relative;
}
.wtree li:before {
  content: "";
  position: absolute;
  top: -5px;
  left: -20px;
  border-left: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  width: 20px;
  height: 15px;
}
.wtree li:after {
  position: absolute;
  content: "";
  top: 9px;
  left: -20px;
  border-left: 1px solid #ddd;
  border-top: 1px solid #ddd;
  width: 20px;
  height: 100%;
}
.wtree li:last-child:after {
  display: none;
}
.wtree li span {
  display: block;
  border: 1px solid #ddd;
  padding: 2px 8px;
  color: #888;
  text-decoration: none;
}

.wtree li span:hover, .wtree li span:focus {
  background: #eee;
  color: #000;
  border: 1px solid #aaa;
}
.wtree li span:hover + ul li span, .wtree li span:focus + ul li span {
  background: #eee;
  color: #000;
  border: 1px solid #aaa;
}
.wtree li span:hover + ul li:after, .wtree li span:hover + ul li:before, .wtree li span:focus + ul li:after, .wtree li span:focus + ul li:before {
  border-color: #aaa;
}

.nav-item a span {
  line-height: 20px;
  margin-bottom: 8px;
}

.wtree li span b {
  display: block;
}
.wtree li span i {
  display: block;
  font-style: normal;
}
.wtree li span i.object-type {
  color: #7ec699;
}

.btn-model-example, .btn-model-definition {
  cursor: pointer;
}

.zama-code {}
.zama-code-buttons {
  display: flex;
}
.zama-code-button {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.zama-code-button i {
  font-size: 20px;
}
.zama-code-button.active {
  background: #eff2f5;
  border-top: 1px solid var(--base-color);
}
.zama-code-button:hover {

}
.zama-code-view {}

.zama-close-btn {
  float: right;
  background: white;
  color: var(--base-color);
  padding: 0 5px;
  border-radius: 4px;
  position: relative;
  right: -8px;
  cursor: pointer;
}

@media all and (max-width: 600px) {
  .documentation_info {
    margin: 0 -20px 0 -40px;
  }

  .request-box-name {
    width: auto;
    margin-right: 15px;
  }

  .tab_shortcode .tab-content {
    padding: 10px;
  }

  .api-path.mb-30 {
    overflow: scroll;
  }
}

.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:focus {
  background-color: var(--base-color) !important;
  border-color: var(--base-color) !important;
  color: var(--text-color) !important;
}

.zama-search-result {
  position: absolute;
  background: white;
  padding: 15px;
  border-radius: 4px;
  position: absolute;
}

.zama-search-result h5 {
  cursor: pointer;
  font-size: 18px;
}

.zama-search-result h5:hover {
  color: gray;
}

.navbar-toggler.collapsed {
  position: absolute;
  top: 50vh;
  left: 0;
  background: var(--base-color);
  padding: 13px;
  border-radius: 0 50% 50% 0;
  opacity: 0.8;
  padding-left: 5px;
}

.menu_toggle {
  width: 22px;
  height: 28px;
  position: relative;
  cursor: pointer;
  display: block;
}

.hamburger span {
  width: 0%;
  height: 4px;
  position: relative;
  top: 0;
  left: 0;
  margin: 4px 0;
  display: block;
  background: var(--text-color) !important;
  border-radius: 3px;
  -webkit-transition: .2s ease-in-out;
  transition: .2s ease-in-out;
}

.search_form {
  position: relative;
  width: 50px;
  height: 45px;
}

.container-fluid {
  flex-wrap: nowrap !important;
}

.zama-search-open-btn i {
  font-size: 24px;
  color: var(--text-color);
}

@media all and (max-width: 600px) {
  .zama-search-result {
    width: 130%;
    margin-left: -15%;
    padding: 8px;
    padding-top: 15px;
  }
  .zama-search-result h5 {
    font-size: 12px;
  }
}

@media all and (max-width: 991px) {
  .navbar-zama-section {
    display: none !important;
  }
}

.custom-select {
  background: transparent;
  color: var(--text-color);
  padding: 0 43px 0 20px;
}

.custom-select:after {
  border-bottom: 2px solid var(--text-color);
  border-right: 2px solid var(--text-color);
}

.navbar-zama-section {
  flex-grow: 1;
  align-items:
  center; display: flex;
}

.navbar-zama-section a {
  margin-right: 20px;
  color: var(--text-color);
}