
/*==================================
 Style 1
===================================*/
.htmega-source-code-wrap pre {
  position: relative;
  width: 100%;
}
.htmega-source-code-wrap pre[class*=language-]:not(.line-numbers) > code {
  padding-top: 10px;
  padding-bottom: 10px;
}
.htmega-source-code-wrap pre[class*=language-] {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 10px;
  padding-bottom: 10px;
}
.htmega-source-custom pre[class*=language-]{
  overflow: auto;

}
.htmega-source-custom pre[class*=language-] > code {
  display: block;
}
.htmega-source-code-wrap{
  overflow: hidden;
}


/*-----------------------------
htmega-source-coy Css
-------------------------------*/
.htmega-source-code-wrap.htmega-source-coy {
  --coyborder: #ddd;
  --coyborderW: 1px;
  border-top: var(--coyborderW) solid var(--coyborder);
  border-bottom: var(--coyborderW) solid var(--coyborder);
  border-right: var(--coyborderW) solid var(--coyborder);
}
.htmega-source-code-wrap.htmega-source-coy pre[class*=language-] {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0px;
}

/*-----------------------------
htmega-source-coy Css
-------------------------------*/
.htmega-source-code-wrap.htmega-source-white-bg {
  border: 2px solid #ddd;
  border-radius: 5px;
}

/*-----------------------------
htmega-source-coy Css
-------------------------------*/
.htmega-source-code-wrap.htmega-source-funky pre[class*=language-] > code {
  padding-top: 0;
  padding-bottom: 0;
}

.htmega-source-code-wrap.htmega-scroll .copy-to-clipboard-button {
  right: 16px;
}

.htmega-copy-btn {
  position: relative;
}
.htmega-copy-btn .copy-to-clipboard-button {
  position: absolute;
  top: 0px;
  left: auto;
  right: 0px;
  cursor: pointer;
  background-color: #540FB6;
  border: none;
  padding: 6px 22px;
  color: #fff;
  border-radius: 50px 0 0 50px;
  z-index: 3;
  transition: all 0.3s ease-in-out;
  display: none;
}
.htmega-copy-btn .copy-to-clipboard-button span{
  transition: all 0.3s ease-in-out;
}
.htmega-copy-btn .copy-to-clipboard-button:hover {
  background-color: #333;
}