/*------------
  modal
------------*/

@media (max-width: 900px) {
border: 1px solid red;
}

/*------------
  syntaxhighlighter
------------*/

.syntaxhighlighter {
  border: 1px solid #CBCBCB;
  margin: 2rem 0 2rem 0 !important;
}

.syntaxhighlighter table tbody tr {
  padding: 1rem !important;
}

.syntaxhighlighter .gutter .line {
  border-right: 1px solid #CBCBCB !important;
}

.syntaxhighlighter .gutter .line:first-child {
  padding-top: 0.5rem !important;
}

.syntaxhighlighter .gutter .line:last-child {
  padding-bottom: 0.5rem !important;
}

.syntaxhighlighter .gutter .line.alt1, .syntaxhighlighter .gutter .line.alt2 {
  background-color: #fafafa !important;
}

.syntaxhighlighter table td.gutter .line {
  width: 42px !important;
  padding: 0 !important;
  line-height: 1.5 !important;
  text-align: center !important;
}

.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
  color: #262A32 !important;
  line-height: 1.5 !important;
}

@media (max-width: 900px) {
  .syntaxhighlighter {
    padding: 1rem 0px !important;
  }
  
  .syntaxhighlighter .line {
    white-space: pre-wrap !important;
  }
  .syntaxhighlighter .gutter {
    display: none !important;
  }}

/*--------------------
TOC
--------------------*/

#toc {
  top: 160px;
  position: fixed;
  right: 20px;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #CBCBCB;
  width: 260px;
  z-index: 50;
  padding: 1rem;
}

#toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#toc li {
  line-height: 155%;
  padding: 0 0 4.5px 0;
}

#toc .toc-h4, #toc .toc-h5, #toc .toc-h6 {
  font-size: 12px;
}

#toc a {
  color: #898989;
  text-decoration: none;
  display: block;
}

#toc a:hover {
  color: #CBCBCB;
  text-decoration: none;
  display: block;
}

#toc .toc-h2 {
  font-weight: bold;
}

#toc .toc-h4 {
  padding-left: 0.5rem;
}

#toc .toc-h5 {
  padding-left: 1rem;
}

#toc .toc-h6 {
  padding-left: 1.5rem;
}

#toc .toc-active a {
  color: #009D80;
}

#toc .toc-active a:hover {
  color: #CBCBCB;
}

@media (max-width: 1360px) {
  #toc {
    width: 65%;
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    margin-bottom: 2rem;
  }
}

@media (max-width: 774px) {
  #toc {
    width: 100%;
  }
}

/*--------------------
gototop
--------------------*/

#page-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 77%;
  z-index: 999;
}

#page-top a {
  background: #898989;
  text-decoration: none;
  color: #fff;
  width: 60px;
  padding: 16px 0;
  text-align: center;
  display: block;
  border-radius: 5px;
}

#page-top a:hover {
  text-decoration: none;
  background: #999;
}

/*--------------------
Clip Borde
--------------------*/

.copyBase .alert {
  opacity: 0;
  display: block;
  position: absolute;
  right: 0;
  top: 1px;
  background: white;
  border-bottom: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-radius: 0 0 0 4px;
  font-size: 12px;
  padding: 4px 10px;
}

.copy__Wrap {
  width: fit-content;
  height: fit-content;
  position: relative;
  margin-bottom: 2rem;
}

.wysiwyg .copyBtn {
  position: relative;
  margin-bottom: 0;
  margin-top: 0;
  padding-right: 3rem;
}

.btn-clipboard {
  position: absolute;
  bottom: 0px;
  right: 0px;
  padding: 8px;
  font-size: 12px;
}