.noUi-target,
.noUi-target * {
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -ms-touch-action: none;
  touch-action: none;
  -ms-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.noUi-target {
  position: relative;
}

.noUi-base,
.noUi-connects {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.noUi-connects {
  overflow: hidden;
  z-index: 0;
}

.noUi-connect,
.noUi-origin {
  will-change: transform;
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  -ms-transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
  -webkit-transform-style: preserve-3d;
  transform-origin: 0 0;
  transform-style: flat;
}

.noUi-txt-dir-rtl.noUi-horizontal .noUi-origin {
  left: 0;
  right: auto;
}

.noUi-vertical .noUi-origin {
  top: -100%;
  width: 0;
}

.noUi-horizontal .noUi-origin {
  height: 0;
}

.noUi-handle {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  position: absolute;
}

.noUi-touch-area {
  height: 100%;
  width: 100%;
}

.noUi-state-tap .noUi-connect,
.noUi-state-tap .noUi-origin {
  -webkit-transition: transform 0.3s;
  transition: transform 0.3s;
}

.noUi-state-drag * {
  cursor: inherit !important;
}

.noUi-horizontal {
  height: 18px;
}

.noUi-horizontal .noUi-handle {
  width: 34px;
  height: 28px;
  right: -17px;
  top: -6px;
}

.noUi-vertical {
  width: 18px;
}

.noUi-vertical .noUi-handle {
  width: 28px;
  height: 34px;
  right: -6px;
  bottom: -17px;
}

.noUi-txt-dir-rtl.noUi-horizontal .noUi-handle {
  left: -17px;
  right: auto;
}

.noUi-target {
  background: #fafafa;
  border-radius: 4px;
  border: 1px solid #d3d3d3;
  box-shadow: inset 0 1px 1px #f0f0f0, 0 3px 6px -5px #bbb;
}

.noUi-connects {
  border-radius: 3px;
}

.noUi-connect {
  background: #3fb8af;
}

.noUi-draggable {
  cursor: ew-resize;
}

.noUi-vertical .noUi-draggable {
  cursor: ns-resize;
}

.noUi-handle {
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  background: #fff;
  cursor: default;
  box-shadow: inset 0 0 1px #fff, inset 0 1px 7px #ebebeb, 0 3px 6px -3px #bbb;
}

.noUi-active {
  box-shadow: inset 0 0 1px #fff, inset 0 1px 7px #ddd, 0 3px 6px -3px #bbb;
}

.noUi-handle:after,
.noUi-handle:before {
  content: "";
  display: block;
  position: absolute;
  height: 14px;
  width: 1px;
  background: #e8e7e6;
  left: 14px;
  top: 6px;
}

.noUi-handle:after {
  left: 17px;
}

.noUi-vertical .noUi-handle:after,
.noUi-vertical .noUi-handle:before {
  width: 14px;
  height: 1px;
  left: 6px;
  top: 14px;
}

.noUi-vertical .noUi-handle:after {
  top: 17px;
}

[disabled] .noUi-connect {
  background: #b8b8b8;
}

[disabled] .noUi-handle,
[disabled].noUi-handle,
[disabled].noUi-target {
  cursor: not-allowed;
}

.noUi-pips,
.noUi-pips * {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.noUi-pips {
  position: absolute;
  color: #999;
}

.noUi-value {
  position: absolute;
  white-space: nowrap;
  text-align: center;
}

.noUi-value-sub {
  color: #ccc;
  font-size: 10px;
}

.noUi-marker {
  position: absolute;
  background: #ccc;
}

.noUi-marker-sub {
  background: #aaa;
}

.noUi-marker-large {
  background: #aaa;
}

.noUi-pips-horizontal {
  padding: 10px 0;
  height: 80px;
  top: 100%;
  left: 0;
  width: 100%;
}

.noUi-value-horizontal {
  -webkit-transform: translate(-50%, 50%);
  transform: translate(-50%, 50%);
}

.noUi-rtl .noUi-value-horizontal {
  -webkit-transform: translate(50%, 50%);
  transform: translate(50%, 50%);
}

.noUi-marker-horizontal.noUi-marker {
  margin-left: -1px;
  width: 2px;
  height: 5px;
}

.noUi-marker-horizontal.noUi-marker-sub {
  height: 10px;
}

.noUi-marker-horizontal.noUi-marker-large {
  height: 15px;
}

.noUi-pips-vertical {
  padding: 0 10px;
  height: 100%;
  top: 0;
  left: 100%;
}

.noUi-value-vertical {
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  padding-left: 25px;
}

.noUi-rtl .noUi-value-vertical {
  -webkit-transform: translate(0, 50%);
  transform: translate(0, 50%);
}

.noUi-marker-vertical.noUi-marker {
  width: 5px;
  height: 2px;
  margin-top: -1px;
}

.noUi-marker-vertical.noUi-marker-sub {
  width: 10px;
}

.noUi-marker-vertical.noUi-marker-large {
  width: 15px;
}

.noUi-tooltip {
  display: block;
  position: absolute;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  background: #fff;
  color: #000;
  padding: 5px;
  text-align: center;
  white-space: nowrap;
}

.noUi-horizontal .noUi-tooltip {
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  left: 50%;
  bottom: 120%;
}

.noUi-vertical .noUi-tooltip {
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  top: 50%;
  right: 120%;
}

.noUi-horizontal .noUi-origin > .noUi-tooltip {
  -webkit-transform: translate(50%, 0);
  transform: translate(50%, 0);
  left: auto;
  bottom: 10px;
}

.noUi-vertical .noUi-origin > .noUi-tooltip {
  -webkit-transform: translate(0, -18px);
  transform: translate(0, -18px);
  top: auto;
  right: 28px;
}

.noUI-slider-round {
  width: 300px;
}

.noUi-connect {
  background: var(--button-color);
}

.noUI-slider-round {
  height: 10px;
}

.noUI-slider-round .noUi-handle {
  height: 18px;
  width: 18px;
  top: -5px;
  right: -9px;
  
  border-radius: 9px;
}


.noUi-handle::before,
.noUi-handle::after {
  display: none;
}

#output_name {
  display: inline-block;
  word-break: break-all;
  width: 280px;
}

b {
  font-weight: 700;
}

.section {
  display: none;
  flex-direction: column;
  position: relative;
}

#videoPreview {
  background-color: #fff;
  width: 100%;
  object-fit: contain;
  
}

.timeline_step {
  flex-direction: row;
  display: flex;
  justify-content: center;
  width: 320px;
  display: flex;
  flex-direction: row;
  align-items: center;
  
}

#videoContainer {
  margin-top: 8px;
  position: relative;
  background-color: #fff;
  overflow: hidden;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  outline: 1px solid #eee;
  width: 700px;
  margin-top: 0;
}

.section .file-info span {
  color: #0056b3;
  margin-right: 16px;
  margin-left: 3px;
}

.grid-item svg {
  width: 54px;
  height: 54px;
  color: var(--color-icon);
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 0;
  width: 60%;
  margin: 0 auto;
}

.grid-container .grid-item {
  padding: 3px;
  text-align: center;
  margin-top: 48px;
}

.grid-container .grid-item p {
  font-size: 16px;
  line-height: 20px;
  margin-top: 4px;
  color: #333;
}

.image_title {
  font-size: 32px;
  margin-bottom: 16px;
  font-weight: 700;
}

.image_title div {
  font-size: 16px;
  color: #555;
  margin: 8px 0;
  line-height: 23px;
  font-weight: normal;
}


.container {
  border: 0;
      height: calc(100vh - 72px);
  width: 1000px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  margin: 32px auto;
}

.container .userEdit {
  width: 360px;
  height: 100%;
  border-radius: 3px;
  outline: 1px solid #eee;
}

section.preview {
  height: 800px;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

header.title {
  background-color: #fff;
  width: 1000px;
  margin: 0 auto;
  padding: 8px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

#headerUserBack {
  margin-right: 0;
}

#headerUserBack img {
  background: var(--header-bgcolor);
  padding: 8px;
  border-radius: 8px;
}

.image_title div {
  margin: 16px 0;
}

#videoPreview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

a.preview_lesson {
  text-align: right;
  font-size: 13px;
  margin-right: 8px;
  color: var(--color-blue);
  float: right;
  padding-bottom: 8px;
}

#imageTipsBox {
  width: 1080px;
  height: 600px;
  text-align: center;
  align-items: center;
  margin: 120px auto;
  margin-top: 60px;
}
#imageTipsBox h2 {
  font-size: 18px;
  color: #666;
  margin: 16px;
  line-height: 30px;
  font-weight: normal;
}

.upload-label {
  margin: 54px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 245px;
  height: 60px;

  color: white;
  cursor: pointer;
  border-radius: 3px;

  background-color: #0088ff;
}

#videoInput {
  display: none;
  width: 100%;
}

.section .file-info {
  padding: 16px;
}

.section .file-info input[type="file"] {
  background-color: #fafafa;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}

#videoinfo {
  width: 100%;
  margin: 0;
  font-size: 14px;
}

#videoinfo div {
  padding-bottom: 8px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 8px;
}

.section .file-info span {
  color: #555;
}

.timeLineBox {
  background-color: #fafafa;
}

.timeLineBox fieldset {
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 16px 8px;
  height: 45px;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 8px;
  font-size: 14px;
  height: 60px;
}

.timeLineBox fieldset legend {
  padding: 0 5px;
  font-weight: bold;
}

.timeLineBox label {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0 5px;
}

.timeLineBox fieldset select {
  font-weight: 500;
  height: 25px;
  width: 60px;
  color: #e91e63;
}

#startExtract {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 36px;
  background-color: #000;
  color: white;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid #333;
  transition: all 0.3s ease;
}

#startExtract:hover {
  transform: scale(1.03);
  background-color: #0a0a0a;
  
}

#output_video {
  color: #00b578;
}

.compressAction {
  border-radius: 3px;
  background-color: #fafafa;
  margin: 16px 8px;
}

.compressOutput {
  padding: 8px;
  font-size: 14px;
  outline: 1px solid #aaa;
  border-radius: 3px;
  background-color: #fafafa;
  margin: 16px 8px;
  display: none;
}

.compressOutput div {
  padding-bottom: 8px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 8px;
  border-bottom: 1px solid #eee;
  align-items: center;
}

#downloadButton {
  width: 70px;
  height: 28px;
  background-color: #000;
  color: white;
  cursor: pointer;
  border-radius: 3px;
  border: 0;
  margin-left: 8px;
}

#videoinfo,
#videoInput {
  font-size: 13px;
}

section.preview {
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

@media screen and (orientation: portrait) {
  .grid-container .grid-item p {
    font-size: 14px;
  }

  .container {
    width: 98%;
    padding: 1%;
  }

  #videoInput {
    width: 96%;
  }

  section.preview {
    flex-direction: column;
  }

  header.title {
    width: 98%;
    padding: 1%;
  }

  .container .userEdit {
    width: 98%;
  }

  .grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0;
    width: 98%;
    padding: 0;
  }

  .section .file-info {
    width: 96%;
    padding: 8px 0;
  }

  #videoContainer {
    width: 100%;
  }

  #imageTipsBox {
    margin: 0 auto;
    margin-top: 32px;
  }

  .grid-container .grid-item {
    margin-top: 16px;
  }
}
