@keyframes wb-fade-in {
  0% {
    opacity: 0;
  }
  to {
    opacity: .85;
  }
}
@-webkit-keyframes wb-fade-in {
  0% {
    opacity: 0;
  }
  to {
    opacity: .85;
  }
}
@-moz-keyframes wb-fade-in {
  0% {
    opacity: 0;
  }
  to {
    opacity: .85;
  }
}
@-ms-keyframes wb-fade-in {
  0% {
    opacity: 0;
  }
  to {
    opacity: .85;
  }
}
@-o-keyframes wb-fade-in {
  0% {
    opacity: 0;
  }
  to {
    opacity: .85;
  }
}
.winbox {
  position: fixed;
  left: 0;
  top: 0;
  background: #f9f9f9;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -webkit-box-shadow: 0 14px 28px rgba(0, 0, 0, .25), 0 10px 10px rgba(0, 0, 0, .22);
  -moz-box-shadow: 0 14px 28px rgba(0, 0, 0, .25), 0 10px 10px rgba(0, 0, 0, .22);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .25), 0 10px 10px rgba(0, 0, 0, .22);
  -webkit-transition: width .3s, height .3s, left .3s, top .3s, opacity .3s;
  -moz-transition: width .3s, height .3s, left .3s, top .3s, opacity .3s;
  -ms-transition: width .3s, height .3s, left .3s, top .3s, opacity .3s;
  -o-transition: width .3s, height .3s, left .3s, top .3s, opacity .3s;
  transition: width .3s, height .3s, left .3s, top .3s, opacity .3s;
  transition-timing-function: cubic-bezier(.3,1,.3,1);
  contain: layout size;
  text-align: left;
  touch-action: none;
}
.winbox .wb-body,
.winbox .wb-header {
  position: absolute;
  left: 0;
}
.winbox .wb-header {
  top: 0;
  width: 100%;
  height: 35px;
  line-height: 35px;
  color: #000;
  overflow: hidden;
  z-index: 1;
}
.winbox .wb-body {
  top: 35px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  margin: 0;
  background: #fff;
  border: solid 4px #fff;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
  will-change: contents;
  contain: strict;
  z-index: 0;
  -webkit-box-shadow: 0 0 0px 2px #c5c5c5;
  -moz-box-shadow: 0 0 0px 2px #c5c5c5;
  box-shadow: 0 0 0px 2px #c5c5c5;
}
.winbox .wb-control *,
.winbox .wb-icon {
  background-repeat: no-repeat;
}
.winbox .wb-control {
  float: right;
  height: 100%;
  max-width: 100%;
  text-align: center;
}
.winbox .wb-control * {
  display: inline-block;
  width: 30px;
  height: 100%;
  max-width: 100%;
  background-position: center;
  cursor: pointer;
}
.winbox .wb-drag {
  height: 100%;
  padding-left: 10px;
  cursor: move;
}
.winbox .wb-title {
  font-family: Arial, sans-serif;
  font-size: 14px;
  white-space: nowrap;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
}
.winbox .wb-icon {
  display: none;
  width: 20px;
  height: 100%;
  margin: -1px 8px -3px;
  float: left;
  background-size: 100%;
  background-position: center;
}
.winbox .wb-e,
.winbox .wb-w {
  width: 10px;
  top: 0;
}
.winbox .wb-n,
.winbox .wb-s {
  left: 0;
  height: 10px;
  position: absolute;
}
.winbox .wb-n {
  top: -5px;
  right: 0;
  cursor: n-resize;
  z-index: 2;
}
.winbox .wb-e {
  position: absolute;
  right: -5px;
  bottom: 0;
  cursor: w-resize;
  z-index: 2;
}
.winbox .wb-s {
  bottom: -5px;
  right: 0;
  cursor: n-resize;
  z-index: 2;
}
.winbox .wb-nw,
.winbox .wb-sw,
.winbox .wb-w {
  left: -5px;
}
.winbox .wb-w {
  position: absolute;
  bottom: 0;
  cursor: w-resize;
  z-index: 2;
}
.winbox .wb-ne,
.winbox .wb-nw,
.winbox .wb-sw {
  width: 15px;
  height: 15px;
  z-index: 2;
  position: absolute;
}
.winbox .wb-nw {
  top: -5px;
  cursor: nw-resize;
}
.winbox .wb-ne,
.winbox .wb-sw {
  cursor: ne-resize;
}
.winbox .wb-ne {
  top: -5px;
  right: -5px;
}
.winbox .wb-se,
.winbox .wb-sw {
  bottom: -5px;
}
.winbox .wb-se {
  position: absolute;
  right: -5px;
  width: 15px;
  height: 15px;
  cursor: nw-resize;
  z-index: 2;
}
.winbox.no-close .wb-close,
.winbox.no-full .wb-full,
.winbox.no-header .wb-header,
.winbox.no-max .wb-max,
.winbox.no-min .wb-min,
.winbox.no-resize .wb-body~div,
.winbox .wb-body .wb-hide,
.winbox .wb-show,
.winbox.hide,
.winbox.min .wb-body > *,
.winbox.min .wb-full,
.winbox.min .wb-min,
.winbox.modal .wb-full,
.winbox.modal .wb-max,
.winbox.modal .wb-min,
.winbox.min .wb-refresh,
.winbox.min .wb-print,
.winbox.modal .wb-refresh,
.winbox.modal .wb-print {
  display: none;
}
.winbox.max .wb-drag,
.winbox.min .wb-drag {
  cursor: default;
}
.winbox .wb-min {
  background-image: url("/admin/scripts/winbox/img/min.svg");
  background-size: 14px auto;
  background-position: center calc(52%);
}
.winbox .wb-max {
  background-image: url("/admin/scripts/winbox/img/max.svg");
  background-size: 17px auto;
}
.winbox .wb-close {
  background-image: url("/admin/scripts/winbox/img/close.svg");
  background-size: 15px auto;
  background-position: 8px center;
}
.winbox .wb-exit {
  background-image: url("/admin/scripts/winbox/img/exit.svg");
}
.winbox .wb-full {
  background-image: url("/admin/scripts/winbox/img/full.svg");
}
.winbox .wb-restore {
  background-image: url("/admin/scripts/winbox/img/restore.svg");
  background-size: 16px auto;
}
.winbox .wb-refresh {
  background-image: url("/admin/scripts/winbox/img/refresh.svg");
  background-size: 16px auto;
  background-position: center calc(51%);
}
.winbox .wb-print {
  background-image: url("/admin/scripts/winbox/img/print.svg");
  background-size: 16px auto;
  background-position: center calc(51%);
}
.winbox.max {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.winbox.winbox-iframe iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;
}
.winbox.modal:before,
.winbox.modal:after {
  content: "";
  position: absolute;
}
.winbox.modal:before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  -webkit-border-radius: inherit;
  -moz-border-radius: inherit;
  border-radius: inherit;
}
.winbox.modal:after {
  top: -50vh;
  left: -50vw;
  right: -50vw;
  bottom: -50vh;
  background: #0d1117;
  -webkit-animation: wb-fade-in .2s ease-out forwards;
  -moz-animation: wb-fade-in .2s ease-out forwards;
  -ms-animation: wb-fade-in .2s ease-out forwards;
  -o-animation: wb-fade-in .2s ease-out forwards;
  animation: wb-fade-in .2s ease-out forwards;
  z-index: -1;
}
.winbox.no-animation {
  transition: none;
}
.winbox.no-shadow {
  box-shadow: none;
}
.winbox.no-header .wb-body {
  top: 0;
}
.winbox.no-move:not(.min) .wb-title {
  pointer-events: none;
}
.winbox .wb-body .wb-show {
  display: revert;
}
.winbox.winbox-image .wb-body > img {
  position: relative;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}
body.wb-lock .winbox {
  will-change: left, top, width, height;
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
  transition: none;
}
body > .wb-body {
  position: relative;
  display: inline-block;
  visibility: hidden;
  contain: none;
}
.winbox.max .wb-body~div,
.winbox.min .wb-body~div,
.winbox.modal .wb-body~div,
.winbox.modal .wb-drag,
body.wb-lock iframe {
  pointer-events: none;
}
.loading-winbox {
  position: absolute;
  display: block;
  color: black;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  padding: 3px;
  border: 1px solid white;
  background-color: white;
  padding-left: 22px;
  background-image: url(/admin/scripts/highslide/graphics/loader.white.gif);
  background-repeat: no-repeat;
  background-position: 3px 1px;
  -webkit-transform: translate(-50%,-50%);
  -moz-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  -o-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}
.overlay-winbox {
  position: fixed;
  inset: 0;
  opacity: 0.4;
  background: #000;
  -webkit-transition: opacity .3s;
  -moz-transition: opacity .3s;
  -ms-transition: opacity .3s;
  -o-transition: opacity .3s;
  transition: opacity .3s;
}
