.wrapper {
  height: 100%;
  overflow: auto;
  width: 100%;
}

.wrapper.scrollbar-dynamic {
  max-height: none;
}

.page-content {
  margin: 0 auto;
  max-width: 1600px;
  padding: 25px;
}

.content .demo {
  padding: 25px;
}

/** Custom page styles **/

.content {
  max-width: 1200px;
}

.content .demo {
  border: 1px solid #ccc;
}

.content .demo .inner-content {
  border: 1px solid #ccc;
  max-height: 170px;
  width: 600px;
}

.content .demo > div {
  max-height: 250px;
  overflow: auto;
}

.content .demo .permanent {
  min-width: 800px;
}

.controls {
  padding: 0 0 10px;
}

.controls span {
  cursor: pointer;
  padding: 2px 8px;
}

.controls span.active {
  background: #4698ce;
  color: #fff;
  cursor: default;
}

.prettyprint ol.linenums > li {
  list-style-type: decimal;
}

#lorem-ipsum {
  display: none;
}

/*************** SCROLLBAR BASE CSS ***************/

.scroll-wrapper {
  overflow: hidden !important;
  padding: 0 !important;
  position: relative;
}

.scroll-wrapper > .scroll-content {
  border: none !important;
  box-sizing: content-box !important;
  height: auto;
  left: 0;
  margin: 0;
  max-height: none;
  max-width: none !important;
  overflow: scroll !important;
  padding: 0;
  position: relative !important;
  top: 0;
  width: auto !important;
}

.scroll-wrapper > .scroll-content::-webkit-scrollbar {
  height: 0;
  width: 0;
}

.scroll-element {
  display: inline-block;
}
.scroll-element,
.scroll-element div {
  box-sizing: content-box;
}

.scroll-element.scroll-x.scroll-scrollx_visible,
.scroll-element.scroll-y.scroll-scrolly_visible {
  display: block;
}

.scroll-element .scroll-bar,
.scroll-element .scroll-arrow {
  cursor: default;
}

.scroll-textarea {
  border: 1px solid #cccccc;
  border-top-color: #999999;
}
.scroll-textarea > .scroll-content {
  overflow: hidden !important;
}
.scroll-textarea > .scroll-content > textarea {
  border: none !important;
  box-sizing: border-box;
  height: 100% !important;
  margin: 0;
  max-height: none !important;
  max-width: none !important;
  overflow: scroll !important;
  outline: none;
  padding: 2px;
  position: relative !important;
  top: 0;
  width: 100% !important;
}
.scroll-textarea > .scroll-content > textarea::-webkit-scrollbar {
  height: 0;
  width: 0;
}

.scrollbar-external_wrapper {
  position: relative;
  width: 100%;
  height: 51vh;
  top: 0px;
  left: 0px;
  pointer-events: all;
  z-index: 999;
}

.scrollbar-external_wrapper2,
.scrollbar-external_wrapper3 {
  position: relative;
  width: 98%;
  height: 51vh;
  top: 0px;
  left: 0px;
  pointer-events: all;
  z-index: 999;
}
.scrollbar-external {
  height: 51vh;
  overflow: auto;
  width: 100%;
}

.scrollbar-external2,
.scrollbar-external3 {
  height: 250px;
  overflow: auto;
  width: 100%;
}
.scrollbar-externalFull {
  height: 100%;
  overflow: auto;
  width: 100%;
}
.scrollbar-externalFull2 {
  height: 100%;
  overflow: auto;
  width: 100%;
}

.scrollbar-externalFull3 {
  height: 100%;
  overflow: auto;
  width: 100%;
}

/******************* EXTERNAL SCROLLBAR *******************/

.external-scroll_x,
.external-scroll_y {
  /*background-color: #D1BFB1;*/
  cursor: pointer;
  display: none;
  position: absolute;
  border-radius: 5px;
  border: 1px solid #c0b8a9;
}

.external-scroll_x.scroll-scrollx_visible {
  display: block;
  height: 10px;
  left: 0;
  top: 410px;
  width: 200px;
}

.external-scroll_y.scroll-scrolly_visible {
  display: block;
  height: 100%;
  right: 0%;
  top: 0%;
  width: 8px;
  position: absolute;
}

.external-scroll_x div,
.external-scroll_y div {
  height: 100%;
  left: 0;
  top: 0;
  position: absolute;
  width: 100%;
}

.external-scroll_x .scroll-bar,
.external-scroll_y .scroll-bar {
  background: #c0b8a9;
  z-index: 12;
  border-radius: 5px;
}

.external-scroll_x .scroll-bar {
  width: 100px;
}
.external-scroll_y .scroll-bar {
  height: 35%;
}

/******************* EXTERNAL SCROLLBAR *******************/
.external-scroll_y2 {
  background-color: #c0b8a9;
  cursor: pointer;
  display: none;
  position: absolute;
  border-radius: 0px;
}
.external-scroll_y2.scroll-scrolly_visible {
  display: block;
  height: 100%;
  right: 0%;
  top: 0%;
  width: 8px;
  position: absolute;
}
.external-scroll_y2 div {
  height: 100%;
  left: 0;
  top: 0;
  position: absolute;
  width: 100%;
  z-index: 9999;
}
.external-scroll_y2 .scroll-bar {
  background: #000;
  z-index: 12;
  border-radius: 0px;
}
.external-scroll_y2 .scroll-bar {
  height: 35%;
}

/******************* EXTERNAL SCROLLBAR *******************/
.external-scroll_y3 {
  background-color: #d9d3cc;
  cursor: pointer;
  display: none;
  position: absolute;
  border-radius: 0px;
}
.external-scroll_y3.scroll-scrolly_visible {
  display: block;
  height: 100%;
  right: 0%;
  top: 0%;
  width: 8px;
  position: absolute;
}
.external-scroll_y3 div {
  height: 100%;
  left: 0;
  top: 0;
  position: absolute;
  width: 100%;
  z-index: 9999;
}
.external-scroll_y3 .scroll-bar {
  background: #000;
  z-index: 12;
  border-radius: 0px;
}
.external-scroll_y3 .scroll-bar {
  height: 35%;
}

/******************* EXTERNAL SCROLLBAR *******************/
.external-scroll_Full {
  background-color: #d1d1ce;
  cursor: pointer;
  display: none;
  position: absolute;
  border-radius: 0px;
}
.external-scroll_Full.scroll-scrolly_visible {
  display: block;
  height: 100%;
  right: 0%;
  top: 0%;
  width: 8px;
  position: absolute;
}
.external-scroll_Full div {
  height: 100%;
  left: 0;
  top: 0;
  position: absolute;
  width: 100%;
  z-index: 9999;
}
.external-scroll_Full .scroll-bar {
  background: #a28262;
  z-index: 12;
  border-radius: 0px;
}
.external-scroll_Full .scroll-bar {
  height: 25%;
}

/******************* EXTERNAL SCROLLBAR *******************/
.external-scroll_Full2 {
  background-color: #d1d1ce;
  cursor: pointer;
  display: none;
  position: absolute;
  border-radius: 0px;
}
.external-scroll_Full2.scroll-scrolly_visible {
  display: block;
  height: 100%;
  right: 0%;
  top: 0%;
  width: 8px;
  position: absolute;
}
.external-scroll_Full2 div {
  height: 100%;
  left: 0;
  top: 0;
  position: absolute;
  width: 100%;
  z-index: 9999;
}
.external-scroll_Full2 .scroll-bar {
  background: #a28262;
  z-index: 12;
  border-radius: 0px;
}
.external-scroll_Full2 .scroll-bar {
  height: 25%;
}
