/*@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');

*,*:before,*:after {
  box-sizing: border-box;
  font-feature-settings: "rlig","calt","ss01","ss06";
  touch-action: pan-y;
}

/*@font-face {
  font-family: "myinter";
  src:
    local("Inter"),
    url("/static/fonts/inter.woff") format("woff");
}*/

:root{
  --fontname: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --tgray:  rgb(20,21,25);
  --otgray: rgb(30,31,35);
  --tgrayhover: rgb(40,41,45);
  --letter-spacing: 0px;
  --titlefontname: var(--fontname);
  --titlefontweight: bold;
  --cuesize: 5vmin;
  --cuefontsize: 3vmin;
  --max-width:80%;
  --radius: 11px;
  --thumbradius: 4px;
  --palettew: 32px;
  --thumbw: 160px;
  --thumbh: calc(9/16 * var(--thumbw));
  --cursorw: 32px;
  --body-bg: #222;
  --body-bg: black;

  --color: white;
  --color2: white;
  --box-shadow: 0 0px 2px rgba(0, 0, 0, 0.75);
  --realred:rgb(221, 104, 92);
  --orange: rgb(221, 104, 92);
  --blue: #2196F3;
  --tickbg: #2195f33a;
  --ticksize: 32px;
  --pagesepsize: 30px;
  --ticksizetranslate: -16px;
  --sw: 32px;
  --sh: 18px;
  --sr: 14px;
  --sb: 2px;
  --stageheight: 715.3px;
  --thumbpanelheight: var(--stageheight);
  --border-highlighted: 2px solid yellow;
  --border-selected: 2px solid white;
  --border-none: 2px solid transparent;
  --panelcolor:#111;
  --dialogbg: #333;
  --shadow: black;
  --slider-color:#444;
  --green: rgb(22,163,74);
  --pt:40px;
  --rotation: 0deg;
  --tick-handle-border: 2px solid var(--blue);
  --box-shadow: 0;
  --gray: #3a3a3a;
  --crop-border-width: 1px;
  --crop-corner-width: 8px;
  --crop-corner-margin: -3px;
  --cropcolor: #eee;
  --red: var(--blue);
  --menu-bg: var(--body-bg);
  --trimhandlesize: 6px;
  --caret: rgb(225, 225, 54);
  --caret: var(--blue);
  --nice-gray: rgb(141,141,141);
  --nice-gray: lightgray;
}

html.swal2-shown { overflow-y: auto; overflow-x: hidden!important;padding:0px!important;}
body.swal2-shown { overflow-y: auto; overflow-x: hidden!important;
  /*padding-top: 64px!important;
  padding-bottom: 32px!important;
  padding-left: 0px!important;
  padding-right: 0px!important;*/
  padding: 0!important;
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  font-family: var(--fontname);
  color: var(--color);
  gap: 0px;
  padding:0;
  margin:0 0;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
  background-color: var(--body-bg);
  box-sizing: border-box;
  text-size-adjust: none;
  font-size:16px;
  /*padding-top: 64px;*/
  padding-bottom: 32px;
  width:100vw;
  cursor: default;
}

/*body::-webkit-scrollbar {
  width: 12px;
  border:2px solid yellow;
  border-radius: var(--radius);
}
body::-webkit-scrollbar-track {
  background: transparent;
}
body::-webkit-scrollbar-thumb {
  background:var(--red); 
  border-radius: var(--radius);
  background-clip: padding-box;
}
body::-webkit-scrollbar-thumb:hover {
  background: #555; 
}*/


::-webkit-scrollbar {
  width: 14px;
}

::-webkit-scrollbar-thumb {
  border: 3px solid rgba(0, 0, 0, 0);
  background-clip: padding-box;
  border-radius: 9px;
  background-color: rgba(255,255,255,0.8);
  background-color: var(--slider-color);
}
::-webkit-scrollbar-thumb:hover {
  background-color: #313131;
}
* {box-sizing: border-box;}

p, ul {
  line-height: 1.4rem;
}

#video {
  width: 100vw;
  height: 100vh;
  position: absolute;
  z-index: -1;
  display: block;
}
nav {
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  /*margin-top: 50px;
  margin: 50px 0;*/
}
nav #animateBtn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  background: #26b026;
  color: var(--color);
  text-transform: uppercase;
  /*margin-right: 50px;*/
  cursor: pointer;
}
nav #captureBtn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  background: #004b00;
  color: var(--color);
  text-transform: uppercase;
  /*margin-right: 50px;*/
  cursor: pointer;
}
nav #exportBtn {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #530000;
  padding: 10px 20px;
  color: var(--color);
  text-transform: uppercase;
  /*margin-left: 50px;*/
  cursor: pointer;
}
nav > div {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  transition: border 0.1s ease-in-out;
  width: 180px;
  border:2px solid transparent;
}
nav > div:hover{
  /*transform: scale(1.1);*/
  border:2px solid white;
}
h1 {
  font-size:3rem;
  font-weight: var(--titlefontweight);
  font-family: var(--titlefontname);
  letter-spacing: var(--letter-spacing);
  color: var(--color);
  /*line-height: 1.4;*/
  padding: 16px 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 16px;
  /*background: linear-gradient(to right, white, var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;*/
}
h1, .bigtitle {
  font-size: 3rem;
  margin-top: 32px;
  font-weight: 900;
}
.bigtitle {
  text-shadow: 0 0 4px 4px rgba(120,120,120,0.5);
}
h1 > img {
  height: 44px;
}
h2 {
  font-size: 200%;
  padding: 32px 0;
}
h3 {
  padding-top: 32px;
  line-height: 1.4;
}
.vert{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap:8px;
  width:100%;
}
.wide{
  max-width:640px;
  width: 100%;
  padding: 0;
  border-radius: var(--radius);
  background-color: #222;
  margin: 0 auto;
}
.transparent {
  background-color: transparent;
}
.w16 {
  padding: 16px;
  max-width: min(80%, 400px);
  margin: auto;
}
.hero{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width:100vw;
}
.hori{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width:100%;
  gap: 16px;
}
.nogap{
  gap:0;
}
.s-32 {
  gap: 32px;
}
#playBtn {
  position: absolute;
  color:var(--color);
  font-size: 7vmin;
  display: flex;
  cursor:pointer;
  z-index:8;
  transition: opacity 0.1s ease-in-out, color 0.1s ease-in-out;
  margin:8px;
  left:0;bottom:0;
}

#speedupBtn {
  right: 0;
  top: 0;
  font-size: 120%;
  text-align: right;
  font-weight: bold;
  padding: 4px;
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
  appearance: none;
}
/*#clearBtn {
  position: absolute;
  color:var(--color);
  font-size: 3vmin;
  display: flex;
  cursor:pointer;
  z-index:8;
  transition: opacity 0.1s ease-in-out, color 0.1s ease-in-out;
  margin:8px;
  right:0;top:0;
  transform: rotate(90deg);
}*/
/*#trashBtn {
  position: absolute;
  color:var(--color);
  font-size: 4vmin;
  display: flex;
  cursor:pointer;
  z-index:8;
  transition: opacity 0.1s ease-in-out, color 0.1s ease-in-out;
  margin:8px;
  right:0;top:0;
}*/

.pick {
  user-select: none;
  display: flex;
  cursor:pointer;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width:var(--palettew);
  font-size: 120%;
  width: auto;
  background-color: transparent;
  gap: 8px;
  color: lightgray;
  border-radius: var(--radius);
  padding: 8px 12px;
  /*border:2px solid transparent;*/
}
.pick:hover{
  background-color: var(--gray);
}
.pick > i {
  font-size: 1rem;
}
button:hover,#clearBtn:hover, #playBtn:hover, #trashBtn:hover,#formatSelect:hover,#aiVoicesSelect:hover {
  /*color: var(--red);*/
  opacity: 0.8;
}
.dropdown-toggle{
  width: 164px;
}
/*#saveBtn{
  width: 164px;
  text-align: center;
  overflow: hidden;
}*/
#saveBtn:disabled{
  opacity: 0.6;
}

#container{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  width:calc(100% - 32px);
  margin:16px;
  padding:0;
}
#thumbpanel {
  box-sizing: border-box;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  background-color: var(--panelcolor);
  display: block;
}
#thumbtools {
  display: flex;
  width: auto;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.thumbpoints, .thumbtools {
  box-sizing: content-box;
  padding: 4px;
}
#addFilesBtn {
  display: none;
}
#thumbs{
  display: block;
  overflow-y: auto;
  max-height: var(--thumbpanelheight);
  padding: 8px;
}
#deleteThumbBtn {
  align-self: flex-end;
}
#thumbs::-webkit-scrollbar {
  width: 4px;
  border-radius: var(--radius);
}
#thumbs::-webkit-scrollbar-track {
  background: transparent;
}
#thumbs::-webkit-scrollbar-thumb {
  background:var(--red); 
  border-radius: var(--radius);

}
#thumbs::-webkit-scrollbar-thumb:hover {
  background: #555; 
}
#addFileBtn {
  color: lightgray;
  font-size: 1rem;
  min-width: var(--thumbw);
}
.delete-thumb{
  position: absolute;
  right: 0;
  top: 0;
  color: white;
  padding: 0px;
  margin: 4px;
  cursor: default;
}
.delete-thumb:hover {
  color: var(--red);
}
.thumb {
  width: var(--thumbw);
  border-radius: 0;
  margin: 4px auto;
  padding: 0px;
  border: var(--border-none);
  background-color: transparent;
  border-radius: var(--thumbradius);
  overflow: hidden;
  display: block;
  position: relative;
  flex-shrink: 0; /* important to force scrolling instead of shrinking the height/width */
  position: relative;
}
.thumbpoints {
  position: absolute;
  user-select: none;
  cursor: pointer;
  left: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  margin: 2px;
  font-size: 12px;
  font-weight: 500;
  color: white;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.thumbtools {
  position: absolute;
  user-select: none;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.thumbtools > div {
  cursor: pointer;
  color: white;
  font-size: 12px;
  font-weight: 500;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

/*.thumb:hover{
  border-color: yellow;
}*/
.thumb.selected {
  border: var(--border-selected);
}
.thumb.highlighted{
  background-color: #3a3a3a;
}
.thumb > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: black;
}
.pagesep {
  position: absolute;
  background-color: var(--blue);
  border: 0px solid transparent;
  height: var(--pagesepsize);
  top:1px;
  width: 2px;
  pointer-events: none;
}
#leftpanel{
  flex-grow:1;
  height:100%;
  /*overflow: hidden;*/
  padding-bottom: 16px; /*for tsTime to show */
  border-radius: var(--radius);
}
#rightpanel{
  flex-grow: 0;
  width:320px;
  height:100%;
  background-color: var(--panelcolor);
  border-radius: var(--radius);
  transition: opacity 0.3s ease-in-out;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}
#mytoolbar{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap:8px;
  margin: 16px;
}
hr{
  width: 120%;
  overflow: hidden;
  color:transparent;
  background-color: var(--body-bg);
  height: 4px;
}
#stage{
  position:relative;
  max-height: var(--stageheight);
  height: 100%;
  margin: 0px auto; /* for outline to show when user drags over */
  padding: 0px;
  background-color: #222;
  border-radius: var(--radius);
  overflow: hidden;
  user-select: none;
  -webkit-touch-callout:none;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
  width:auto;
}
#downloadVideo{
  opacity: 0.0;
  transition: opacity 0.3s ease-in-out;
}
#downloadVideo:hover{
  color:orange;
}
p > span, h3 > span {
  color: var(--red);
}
p > a {
  color: var(--red);
}

.fake{
  display: flex;
  flex-direction: column;
  width:100%;
  justify-content: center;
  align-items: center;
  margin: 0px;
  gap: 0px;
}
.fake > p {
  text-align: center;
  display: block;
  /*color: var(--color);*/
  margin: 8px;
  /*margin-bottom: 16px;*/
}
.sep p {
  font-size:1rem;
  text-align: left;
  width: 100%;
}
.one {
  margin-top: 32px;
}
.fake > video {
  width:640px;
  aspect-ratio: 16/9;
  max-width: 100%;
  object-fit: cover;
  height:100%;
  padding:0px;
  margin:0;
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--caret) }
}

@keyframes flash {
  0% { opacity: 0.4; }
  50% { opacity: 1.0; }
  100% { opacity: 0.4; }
}

@keyframes wobble {
  0% { transform: scale(1.0) }
  50% { transform: scale(0.9) }
  100% { transform: scale(1.0) }
}

.bold {
  font-weight: 500;
}
.m16 { 
  margin:32px auto!important;
}

#type{
  color: var(--caret);
  animation: blink-caret .75s step-end infinite;
  border-right: 2pt solid var(--caret);
}

input[type=email],input[type=password],input[type=text],input[type=number],textarea{
  background-color: white;
  color:black;
  font-size:120%;
  font-weight: normal;
  padding: 8px 8px;
  border:0;
  border-radius: 0;
  outline: none;
  font-family: var(--fontname);
  border-radius: var(--radius);
}

textarea{
  width:100%;
}

input[type=submit]{
  font-size:120%;
  font-weight: normal;
  padding: 8px 16px;
  border-radius: 0;
  border:0px solid transparent;
  outline:none;
  background-color: var(--red);
  font-family: var(--fontname);
  border-radius: var(--radius);
}

form {
  padding: 0px;
  margin:0px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap:8px;
  justify-content: center;
  align-items: center;
  width:100%;
}
form > input,form > textarea {
  width:100%;
  resize: none;
}
form > input[type=submit] {
  text-align: center;
}
.sep form, .sep textarea, .sep input {
  width:100%;
  font-size: 1rem;
}
#footer{
  padding: 16px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 16px;
  font-size: 120%;
}
#footer > a {
  color: white;
}
#footer > div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
#footer a:hover{
  color:var(--blue)!important;
}

#logtools {
  position:absolute;
  top:0;
  right:0;
  margin:8px 16px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  display:none;
}
#account-details{
  display:none;
}
#sign-in-status{
  display:none;
}
#sign-in{
  border:2px solid white;
  padding: 8px 16px;
  cursor: pointer;
  margin: 8px;
}
#pageHolder{
  gap: 8px;
  visibility: hidden;
  opacity: 0.4;
  transition: opacity 0.3s ease-in-out;
  display: none;
}

#filePicker{
  padding: 8px;
}

#msg,#invalidDiv{
  color:orange;
  opacity: 0.0;
  transition: opacity 0.3s ease-in-out;
  margin-bottom: 16px;
  font-size:120%;
  text-align: center;
}

.simple {
  padding-top:0;
  white-space: nowrap;
  padding-bottom: 0px;
}
.wrap {
  max-width: 420px;
  margin: 16px auto;
  font-size: 1.2rem;
  white-space: wrap;
  line-height: 1.3;
  text-align: center;
}
.simple span {
  color: var(--orange);
  color: yellow;
}
.simple t {
  color: var(--blue);
}
.left{
  align-items: flex-start;
}

button, #formatSelect, #aiVoicesSelect {
  padding: 8px 16px;
  background-color: var(--red);
  font-family: var(--fontname);
  font-size:120%;
}

.vert,.hori{
  /*max-width:800px;*/
  flex-grow:1
}

legend{
  display: block;
  margin:0 auto;
  margin-bottom: 16px;
  font-size: 120%;
}
#runWhisperBtn:disabled {
  opacity: 0.6;
}
#submit:disabled{
  opacity:0.6;
}
input[type=file] {
  font-family: var(--fontname);
  background-color: #444;
}

.help{
  opacity: 0.6;
  font-size: 100%;
}

#creditsbar{
  position:absolute;
  right:0;
  top:0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 8px;
  display:none;
}
#credits{
  background-color: var(--red);
  border-radius: 50vh;
  padding: 8px;
  font-size: 120%;
}
#bgtools, #gradients, #bgcolors {
  margin: 8px 0;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px;
}

#bgtools > video:hover, #bgtools > img:hover, #bgcolors img:hover, #bgtools > .bgcolor:hover, #gradients img:hover {
  opacity: 0.8;
}

.bgcolor, #bgtools > video, #bgtools > img, #bgtools > div, #gradients > img, #bgcolors > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  object-fit: fill;
  border-radius: var(--radius);
  border-radius: 3px;
  width: var(--palettew);
  /*height: var(--palettew);*/
  /*border-radius: 50vh;*/
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 36px;
}

input[type=color]{
  width:64px;
  height:36px;
  border:0;
  outline:none;
}

.topbtn {
  background-color: transparent;
  margin: 8px;
  padding: 0;
  opacity: 1.0;
  font-size: 1.2rem;
  font-weight: 500;
  white-space: nowrap;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}
.topbtn:hover {
  color:var(--blue);
}
.topbtn > img {
  padding-right: 8px;
}
.downloadbtn {
  background-color: var(--blue);
  margin: 8px;
  padding: 12px 24px;
  border-radius: 50rem;
  opacity: 1.0;
  font-size: 120%;
  outline: 2px solid transparent;
  transition: outline-color 0.1s ease-in-out;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.downloadbtn:hover {
  /*outline: 2px solid white;*/
  opacity: 0.8;
}

#topbar{
  /*position: absolute;*/
  background-color: transparent;
  left:0;
  top:0;
  width:100%;
  display: flex;
  z-index:10;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 0px 0px;
}

#topmenu {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 0px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: height 0.3s ease-in-out;
  /*background-color: black;*/
  padding: 0 16px;
}
.menuopened {
  height: 240px!important;
}
input[type=range] {
  background-color: var(--slider-color);
  height:6px;
  border-radius: 50vh;
}
#videotimelinecontainer {
  width: 100%;
}
#videotimeline{
  width: 100%;
  padding: 0px;
  visibility: visible;
  position:relative;
}

/*#videotimeline::after{
  z-index:2000;
  position:absolute;
  top: -32px;
  left: 0;
  content: attr(data-value);
  width: 32px;
  height: 32px;
  background-color: black;
  color: white;
  border-radius: var(--radius);
}*/

#ticks{
  width: calc(100% - 12px);
  height: var(--ticksize);
  position: relative;
  padding: 0;
  margin:0;
  visibility: visible;
  background-color: var(--panelcolor);
  margin-bottom: 16px;
  /*bug hiding data-start and data-end overflow: hidden;*/
}

#leftdiv{
  display:flex;
  flex-direction: row;
  font-size: 1rem;
  gap:8px;
  justify-content: flex-start;
  align-items: center;
  white-space: nowrap;
}
#macBtn{
  font-size:120%;
  color: orange;
  cursor:pointer;
}

label {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
label > .fa-solid {
  font-size: 120%;
}

h3 > a, h2 > a {
  color: orange;
}

#colorPicker{
  cursor: pointer;
}

button{
  border-radius: var(--radius);
}

#bgPickerDiv {
  background-color: black;
}

.picker {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  object-fit: fill;
  width: var(--palettew);
  height: var(--palettew);
  border: 2px solid transparent;
  overflow: hidden;
  border-radius: 50vh;
}
.picker:hover {
  opacity:0.8;
}
.picker > img {
  width: 100%;
  height: 100%;
  padding: 0px;
}
#bgPickerDiv:hover,#divColorPicker:hover {
  opacity:0.8;
}

.sep, .group {
  width: 100%;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 0px solid var(--gray);
  margin:0px;
  gap:16px;
  padding:0px;
  margin-top:16px;
  border-radius: var(--radius);
}

.group {
  border-top:1px solid white;
  border-bottom:1px solid white;
}

#tsTimeContainer{
  position:absolute;
  width:100%;
  top: 100%;
  margin-top: 16px;
  text-align: center;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 3;
}
#tsTime {
  width: 96px;
  border-radius: var(--radius);
  background-color: var(--blue);
  padding: 4px 8px;
}

.op {
  width: 100%;
  display:flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  line-height:24px;
  cursor:default;
}
.op input[type=range] {
  width: 50%;
}
.smallrng input[type=range] {
  width: 40%;
}
.op select {
  font-family: var(--fontname);
  font-size: 1rem;
  border: 1px solid #3c3c3c;
  border-radius: var(--radius);
  padding: 4px;
  max-width: 100%;
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
  background: transparent;
  color: var(--blue);
}
.op select > option {
  color: var(--blue);
  background-color:rgba(0, 0, 0, 0.75);
}
.op input[type=text], .op input[type=number] {
  background-color: transparent;
  color: var(--blue);
  border: 1px solid #3c3c3c;
  border-radius: var(--radius);
}
.op input[type=number] {
  width: 64px;
}
.table {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
}
.table > div:first-child{
  min-width: 80px;
  text-align: right;
}
.table > div > i {
  font-size: 120%;
}
.table > div:last-child{
  min-width: 44px;
  text-align: left;
}
.table > input {
  width: 96px;
}

#group{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  width:100%;
}
#privacy{
  font-size:1rem;
}

#progresslabel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color:white;
  font-size: 4vmin;
  background-color: rgba(0, 0, 0, 0.75);
  position:absolute;
  width: 100%;
  height: 100%;
  /*padding-left: 20%;*/
  display: none;
  z-index:200;
}

.center {
  display: flex!important;
  /*transform: translateY(0)!important;*/
}
input[type=range]{
  color:white;
}
.tick{
  width: var(--ticksize);
  height: var(--ticksize);
  min-width: var(--ticksize);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 0;
  font-weight: bold;
  font-size: 1rem;
  background-color: var(--red);
  position:absolute;
  top:0;
  user-select: none;
  border: 2px solid transparent;
  overflow: hidden;
  border-left: var(--tick-handle-border);
  border-right: var(--tick-handle-border);
  border-top: 0px solid var(--blue);
  border-bottom: 0px solid var(--blue);
  background-color: var(--tickbg);
}
.tick:hover{
  opacity: 0.8;
}

#new_progressLabel{
  color: var(--blue);
}
#app {
  margin: 0 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border:0px solid red;
}

#cursorsDiv {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
#cursorsDiv > img, #cursorsDiv > div {
  /*cursor: pointer;*/
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius);
  width: var(--cursorw);
  height: var(--cursorw);
  padding: 0px;
  transition: transform 0.1s ease-in-out;
}
#cursorsDiv > img:hover {
  /*transform: scale(1.2);*/
  opacity: 0.8;
}

#swal2-html-container a {
  text-decoration: none;
}
#swal2-html-container a:focus {
  outline: none;
}

#buymycoffee{
  height: 60px;
  border:2px solid transparent;
  border-radius: 14px;
}
#buymycoffee:hover {
  border: 2px solid var(--blue);
}
.swal2-textarea {
  text-align: left;
}

#swal2-html-container button {
  background-color: var(--blue);
  color: white;
}
#swal2-html-container video, #swal2-html-container img {
  width: 100%;
  max-height:50vh;
  border-radius: var(--radius);
  background-color: transparent;
  object-fit: contain;
}
.swal2-close:focus {
  box-shadow: none!important;
}
#paddingAuto {
  padding: 4px 8px;
  border-radius: var(--radius);
  border:1px solid var(--gray);
  cursor:default;
  text-transform: capitalize;
}
#paddingAuto:hover{
  /*background-color: #666;*/
  color: var(--red);
}

#noCursorBtn{
  /*cursor: pointer;
  transition: transform 0.1s ease-in-out;*/
  font-size: 24px;
  color: gray;
}
/*#noCursorBtn:hover {
  transform: scale(1.2)
}*/


/* switch from https://codepen.io/alvarotrigo/pen/jOaXGKy */
.switch {
  position: relative;
  display: inline-block;
  width: var(--sw);
  height: var(--sh);
}

.switch input {display:none;}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: var(--sr);
  width: var(--sr);
  left: var(--sb);
  bottom: var(--sb);
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(var(--sr));
  -ms-transform: translateX(var(--sr));
  transform: translateX(var(--sr));
}


.slider.round {
  border-radius: 50vh;
}

.slider.round:before {
  border-radius: 50%;
}
/* end of switch  */

.op span {
  color: gray;
}

#screenvideo{
  position:absolute;
  left:0;
  top:0;
  width:640px;
  background-color: red;
  z-index:200;
}

#watermarkInput {
  width: 50%;
  padding: 4px 8px;
  font-size: 100%;
  text-align: left;
}

/*#watermarkInput:focus {
  outline: 1px solid #3c3c3c;
}*/

.top-right {
  transform: scale(1,1);
}
.bottom-right {
  transform: scale(1,-1);
}
.top-left {
  transform: scale(-1,1);
}
.bottom-left {
  transform: scale(-1,-1);
}
/*#watermarkPos{
  width: var(--palettew);
  height: var(--palettew);
  margin-left: 8px;
  border-radius: 50vh;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}*/

#watermarkPos:hover{
  opacity: 0.8;
}

.left-aligned {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap:8px;
  width: 50%;
}
.center-aligned {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 50%;
  align-items: center;
  gap:8px;

}
.right-aligned {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  width: 50%;
  align-items: center;
  gap:8px;
}

.full-width {
  width: auto;
  gap: 4px;
}
.right{
  align-items: center;
  justify-content: flex-end;
}

.key {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ccc;
  color:white;
  width: 32px;
  height:32px;
}

/*#soundtrackIcon{
  cursor: pointer;
}*/
#soundtrackIcon:hover{
  opacity: 0.8;
}

.disabled {
  opacity: 0.3;
  /*pointer-events: none;*/
}

.pdisabled {
  opacity: 0.2;
  pointer-events: none;
}

#bottom {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 0px;
  padding: 8px 0;
  margin: 0;
  width: 100%;
}
#bottom > i {
  flex-grow: 0;
}
#bottomtimeline {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  gap: 8px;
}
#externalPlayBtn {
  margin: 0px;
  font-size: 44px;
  color: white;
  cursor: pointer;
  text-shadow: 0 0 2px var(--gray);
}
#externalPlayBtn:hover {
  color: var(--blue);
}
#progressLabel {
  color: gray;
  text-align: right;
  width: 60px;
}

/*.range-slider {
  position: relative;
  height: 80px;
}*/

.trim {
  background-color: var(--blue);
  height:100%;
  box-sizing: border-box;
  position: absolute;
  top: 0px;
  cursor: pointer;
  margin-left:-3px;
  width: 6px;
}
.trim:hover{
  background-color: var(--red);
}
#trimEnd{
  left:100%;
}

#trimmer {
  box-sizing: border-box;
  height: 100%;
  position:absolute;
  top:0px;
  border: 0px solid var(--blue);
  border-radius: var(--radius);
  background-color: #111;
  width: 100%;
}
.trimming {
  border-left: var(--trimhandlesize) solid var(--blue)!important;
  border-right: var(--trimhandlesize) solid var(--blue)!important;
  z-index: 2; /* so trimmer appears above ticks */
}
#trimmer:hover{
  /*background-color: #444;*/
  opacity: 0.8;
}
#trimmer::before{
  width:120px;
  content: attr(data-start);
  position: absolute;
  top: 100%;
  left: 0px;
  padding-top: 4px;
  /*font-size:14px;*/
  text-align: left;
  z-index:1000;
}
#trimmer::after{
  width:120px;
  content: attr(data-end);
  position:absolute;
  top: 100%;
  right:0px;
  padding-top: 4px;
  /*font-size:14px;*/
  text-align: right;
  z-index:1000;
}

#cameraBtn {
  position: relative;
}
#cameraBtn:hover {
  opacity: 1;
}

#runttsBtn {
  position: relative;
}

#cameraPicker {
  position: absolute;
  top: 100%;
  display: none;
  z-index:3;
}

#webcamvideo, #webcamcanvas {
  position: absolute;
  background-color: black;
  left: 0;
  top: 0;
  object-fit: cover;
  z-index: 2;
  margin: 0px;
  padding: 1px; /* solve visual bug on Chrome with missing pixels */
  cursor: move;
  display: none;
  width: 10%;
  height: auto;
  z-index:2000;
  /*transition: all 0.3s ease-in-out;*/
  /*box-shadow: 0 0 8px black;*/
}

/*#webcamcanvas {
  pointer-events: none;
  z-index: 3;
  display: block;
  position: fixed;
  left: unset;
  top: unset;
  bottom: 0;
  right: 0;
  margin: 8px;
  border-radius: 50%;
  padding: 4px;
  background-color: var(--blue);
}*/

.webcamround {
  aspect-ratio: 1;
  border-radius: 50%;
}
.webcamsquare {
  aspect-ratio: 1;
  border-radius: 0;
}
.webcamlandscape {
  aspect-ratio: 4/3;
  border-radius: 0;
}
.webcamportrait {
  aspect-ratio: 3/4;
  border-radius: 0;
}

.webcamfullscreen {
  border:0;
  top: 0px!important;
  left:0px!important;
  width:100%!important;
  height:100%!important;
  border-radius: 0;
}

.pricing{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #111;
  width: 340px;
  max-width: 80%;
  gap: 8px;
  padding: 32px 16px;
  cursor: pointer;
  border: 1px solid rgb(27, 30, 38);
  transition: background-color 0.2s ease-in-out;
  border-radius: 11pt;
  background-color: var(--tgray);
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;

}
.pricing:hover, .pricing:active, .pricing:focus {
  /*border: 2px solid var(--blue);*/
  background-color: var(--tgrayhover);
}
.chip{
  padding: 4px 8px;
  border-radius: var(--radius);
  position:absolute;
  left:0;
  top:-16px;
  font-size:120%;
  /*transform: rotate(-5deg);*/
  width:100px;
  margin-left:calc(50% - 50px);
  background-color: var(--green);
  content:attr(data-saving);
}
.pricing p, .pricing div {
  text-align: center;
}
#referralInput {
  font-size: 120%;
  text-align: center;
  border: 1px solid #222;
  border-radius: var(--radius);
  padding: 8px 16px;
}
#referralInput:hover{
  border: 1px solid var(--blue);
}
#referralBtn {
  padding: 8px 16px;
  background-color: var(--blue);
}

.smallbtn {
  cursor: pointer;
  display: inline-block;
  width:auto;
  padding: 4px 8px;
  border-radius: var(--radius);
  border: 1px solid #444;
  background-color: transparent;
}
.smallbtn:hover {
  background-color: var(--gray);
}
.largeBtn {
  border: 0;
  padding: 12px 16px;
  background-color: var(--gray);
}
.largeBtn:hover {
  opacity: 0.6;
}
.largeBtn:disabled {
  cursor: not-allowed;
}
.carter {
  /*font-family: var(--titlefontname);*/
  font-size: 1.2rem;
  font-weight: 900;
}
h4 {
  width:100%;
  text-align: center;
  font-weight: bold;
  /*font-family: var(--titlefontname);*/
}
.active {
  color: var(--blue);
}
.cutebtn {
  cursor: pointer;
  display: inline-block;
  width:auto;
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid #444;
}
.cutebtn:hover {
  border: 1px solid var(--blue);
}

@media only screen and (max-width: 800px) {
  :root{
    --max-width:90%;
    --palettew: 32px;
    --thumbradius: 2px;
  }
  #container{
    flex-direction: column;
  }
  #leftpanel, #rightpanel {
    width: 100%;
  }
  #thumbpanel{
    display: block;
    width: 100%;
    /*max-width: 100%;*/
    overflow: hidden;
    padding-bottom: 0;
  }
  #thumbtools {
    flex-direction: column;
  }
  #thumbs{
    display: flex;
    overflow-x: auto;
    flex-direction: row;
    max-width: 100%;
    padding: 8px;
  }
  #thumbs::-webkit-scrollbar {
    width: unset;
    height: 4px;
    border-radius: var(--radius);
  }
  .thumb {
    width: var(--thumbw);
    min-width: var(--thumbw);
    height: var(--thumbh);
    min-height: auto;
  }
  h3{
    font-size:20px;
  }
  .s-32 {
    gap: 6px;
  }
  .w16 {
    padding: 8px;
  }
  #bottom {
    padding:8px 0px;
  }
}

.signinbtn{
  gap: 16px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-weight: normal;
  width: 290px;
  padding: 12px 18px;
  border-radius: 50rem;
}
.signinbtn > span {
  text-align: center;
  flex-grow: 1;
}
#googleBtn {
  background-color: #4678ED;
  color: white;
}
#twitterBtn {
  background-color: var(--blue);
}
#facebookBtn {
  background-color: #4267B2;
}
#githubBtn {
  background-color: #3b3b3b;
  color: white;
}
#appleBtn {
  background-color: #444;
  color: white;
}


input[type=submit]:hover{
  opacity: 0.8;
}

.upgradebtn {
  padding: 6px 12px;
  background-color: var(--blue);
}
.upgradebtn > a {
  color:white;
}

.icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 8px;
  font-size: 24px;
  width: 32px;
  height: 32px;
  color: white;
  cursor: pointer;
  text-shadow: 0 0 2px var(--gray);
  z-index: 4;
}
.icon:hover{
  color: var(--blue);
}
.stageBtn {
  position: absolute;
  margin: 8px;
  font-size: 44px;
  color: white;
  cursor: pointer;
  text-shadow: 0 0 2px var(--gray);
  z-index: 4;
}
.stageBtn:hover {
  color: var(--blue);
}
#micBtn {
  right: 0px;
  top: 0px;
  font-size: 24px;
  width: 32px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#cropBtn {
  font-size: 24px;
  width: 32px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#blurBtn {
  font-size: 24px;
  width: 32px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.yellow {
  color: yellow;
}
.recording {
  color: yellow!important;
  /*background-color: var(--gray);*/
  animation: flash 2s infinite;
}
.recording:hover{
  border: 0px solid transparent;
}


#tts, #transcriptArea {
  padding: 8px;
  border:1px solid var(--gray);
  margin:0;
  background-color: #111;
  color: white;
  display: block;
  resize: none;
}
#transcriptArea::-webkit-scrollbar {
  width: 4px;
  border-radius: var(--radius);
}
#transcriptArea::-webkit-scrollbar-track {
  background: transparent;
}
#transcriptArea::-webkit-scrollbar-thumb {
  background:var(--blue); 
  border-radius: var(--radius);

}
#transcriptArea::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

.fullwidth{
  width: 100%;
}
.switch .disabled {
  opacity: 0.4;
  pointer-events: none;
}
#transcriptBtn {
  display: none;
}

#liveToggle, #webcamToggle {
  position:absolute;
  left:0;
  top:0;
  color:white;
  margin: 8px;
  font-size:24px;
}
#liveToggle:hover {
  opacity: 0.8;
}

#rightdiv, #toolmenu {
  display: flex;
  position: static;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  margin-right: 8px;
  background-color: var(--body-bg);
}
#toolmenu {
  font-size: 1.2rem;
}
.tabbtn {
  z-index: 1;
  cursor: pointer;
  display: inline-block;
  padding: 4px 8px;
  border-radius: var(--radius);
  background-color: transparent;
  font-size: 100%;
  transition: color 0.1s ease-in-out, background-color 0.1s ease-in-out;
  text-align: center;
  width: auto;
  outline: none!important;
}
.tabbtn:hover{
  background-color: var(--gray);
}

#toolTip {
  pointer-events: none;
  position: fixed;
  background-color: black;
  color: white;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  border-radius: var(--radius);
  padding: 4px 6px;
  box-shadow: var(--box-shadow);
  border: 0px solid yellow;
  margin: 0px;
  max-width: 360px;
  text-align: left;
  z-index: 80000;
  padding: 8px 16px;
  font-weight: 500;
  border: 1px solid rgba(128,128,128,0.5);
}

.timeline-tooltip {
  background-color: rgba(0, 0, 0, 0.4)!important;
  width: 72px;
}
/*.timeline-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: var(--blue) transparent transparent transparent;
}*/
#toolbarItems {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.strike {
  color: lightgray;
}
.deal {
  color: var(--blue);
  margin:0 auto;
  line-height: 1rem;
  border:0px solid red;
  letter-spacing: -2px;
  font-family: var(--fontname);
}
.dealname {
  /*font-family: var(--titlefontname);*/
  letter-spacing: var(--letter-spacing);
  line-height: 1;
  padding: 0;
  font-weight: bold;
  border: 0px solid red;
}
.features {
  display: flex;
  gap: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin: 16px auto;
}

.priceBtn {
  background-color: var(--blue);
  text-align: center;
  width: 70%;
  border-radius: 50rem;
  font-weight: normal;
  padding: 12px 24px;
}
.offdeal {
  color: rgba(120,120,120,0.5);
}

.clear {
  background-color: transparent;
}

.fontstyle {
  border: 2px solid transparent;
  font-size: 1rem;
  background-color: var(--gray);
  padding: 2px 12px;
  margin: 0;
  border-radius: var(--radius);
}

.btnselected {
  border: 2px solid var(--blue);
}

.shapeselected {
  /*color: var(--blue);*/
  background-color: var(--blue);
}
#proBadge, #bannerBtn {
  background-color: var(--blue);
  border-radius: var(--radius);
  color: white;
  padding: 6px 16px;
  font-size:1rem;
  cursor: pointer;
  text-align: center;
  width:70px;
}
#proBadge:hover, #bannerBtn:hover {
  opacity: 0.8;
}
#proBadge {
    line-height: 1.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  margin-left:-1rem;
}

ul{
  font-size: 120%;
  line-height: 1.4;
  color:#ccc;
  list-style-type: none; 
}
ul > li {
  margin-bottom: 8px;
}

.simpletext {
  margin: 16px 0;
}

#cropBtn:hover, #blurBtn:hover{
  opacity: 0.8;
}

.hgap8{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.cropHandle{
  position:absolute;
  width:32px;
  height:32px;
  background-color: var(--blue);
}

.warning{
  font-weight: bold;
  margin: 16px;
  color: var(--blue);
}

.volumewarning {
  margin: 16px;
  font-weight: bold;
}

iframe {
  max-width: 80%;
  margin: 0 auto;
}

.point {
  background-color: var(--red);
  color: white;
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: bold;
  align-items: center;
  user-select: none;
  cursor: pointer;
  border: 2px solid transparent;
  width: var(--pt);
  height: var(--pt);
  font-size: calc(var(--pt) / 2);
  z-index:1;
  /*height:10%;
  font-size:100%;
  aspect-ratio: 1;*/
}
.point:hover{
  border: 2px solid white;
}
#clearBtn {
  z-index:0!important;
}
/*#cursor {
  pointer-events: none;
  position: absolute;
  display:block;
  width:44px;
  left:50%;
  top:50%;
  height:44px;
  transform: translate(-50%,-50%);
  z-index:2;
}*/

#cropBackground {
  padding: 8px;
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 5;
  display: none;
}
#cropBackground > i:hover {
  opacity: 0.8;
}
#cropDiv {
  position: absolute;
  left:10%;
  top:10%;
  width:80%;
  height:80%;
  border: 0px solid yellow;
  z-index: 6;
  border-radius: var(--radius);
  display: none;
  cursor: move;
  /*overflow: hidden;*/
}
#cropContainer{
  width:100%;
  height:100%;
  position:relative;
}
#cropLeft{
  position:absolute;
  left:0;top:0;
  width: var(--crop-border-width);
  background-color: var(--cropcolor);
  height:100%;
  cursor:ew-resize;
}
#cropRight{
  position:absolute;
  right:0;
  top:0;
  width: var(--crop-border-width);
  background-color: var(--cropcolor);
  height:100%;
  cursor:ew-resize;
}
#cropTop{
  position:absolute;
  left:0;
  top:0;
  width: 100%;
  background-color: var(--cropcolor);
  height: var(--crop-border-width);
  cursor:ns-resize;
}
#cropBottom{
  position:absolute;
  left:0;
  bottom:0;
  width: 100%;
  background-color: var(--cropcolor);
  height: var(--crop-border-width);
  cursor:ns-resize;
}
.cropCorner {
  position:absolute;
  width: var(--crop-corner-width);
  height: var(--crop-corner-width);
  background-color: var(--cropcolor);
  margin: var(--crop-corner-margin);
}
#cropNW{
  left:0;top:0;
  cursor:nwse-resize;
}
#cropNE{
  right:0;top:0;
  cursor:nesw-resize;
}
#cropSW{
  left:0;bottom:0;
  cursor:nesw-resize;
}
#cropSE{
  right:0;bottom:0;
  cursor:nwse-resize;
}

#swal-trash {
  position: absolute;
  margin: 8px;
  right: 0;
  top: 0;
  background-color: transparent!important;
}

.zoomedout {
  background-color: var(--blue);
} 

.famewall-embed{
  text-align: center;
}

#multiPickBtn {
  position: relative;
  overflow: auto;
}
#multiPickBtn select {
  visibility: hidden;
  position: absolute;
  background-color: red;
  width:100%;
  height:320px;
  bottom:0;
  z-index:2000;
}
#multiPickBtn:active select {
  visibility: visible;
}
.dropdown-item{
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-start;
  align-items: center;
}
button:hover{
  outline:0;
}

@keyframes spin {
  from {
      transform:rotate(0deg);
  }
  to {
      transform:rotate(360deg);
  }
}

.spin {
  animation: spin 1s infinite;
}
.split {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 0px solid var(--blue);
}

.split:hover {
  background-color: var(--gray);
}
.split button {
  border-radius: 0;
}
.splitgap {
  gap: 2px;
}
.splitgap button {
  border-radius: var(--radius);
}
.splitgap:hover {
  background-color: transparent;
}
.splitbtn {
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color: var(--text);
}

#formatSelect, #aiVoicesSelect {
  font-family: var(--fontname);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: var(--red);
  height:100%;
  color: white;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position-x: 100%;
  background-position-y: 50%;
  padding-right: 26px;
  cursor: pointer;
}
#aiVoicesSelect {
  background-color: transparent;
}
#testimonials {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 32px auto;
  max-width: 80%;
  gap: 0px;
}
#testimonials > h3 {
  margin: 16px auto;
  
}
.testimonial > img {
  border-radius: 50%;
  width: 64px;
  height: 64px;
  background-color: white;
  padding: 2px;
  margin-left: -6px;
  transition: transform 0.1s ease-in-out;
}
.testimonial > img:hover {
  transform: scale(1.2);
}

.fa-gauge-simple {
  transition: transform 0.3s ease-in-out;
  transform: rotate(var(--rotation));
}

#watermarkDiv {
  position: absolute;
  padding: 8px 16px;
  left: 0;
  top: 0;
  margin: 16px;
  background-color: black;
  color: white;
  font-size: 44px;
  border-radius: var(--radius);
}

.drawer-header {
  cursor: pointer;
  user-select: none;
  width: 100%;
  justify-content: space-between;
  padding: 4px 0px;
}
.drawer-header:hover {
  color: gray;
}
.drawer {
  transition: opacity 0.3s ease-in-out, height 0.3s ease-in-out;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.drawer-head{
  transition: transform 0.3s ease-in-out;
}
.up-down {
  transform: rotate(-180deg);
}
.opendrawer {
  opacity: 1;
  height: 196px;
}

#recordingBanner {
  z-index: 2000;
  padding: 8px;
  position: fixed;
  top:0;
  height: 48px;
  left:0;
  border-radius: var(--radius);
  color:white;
  right:0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  transition: transform 0.3s ease-in-out;
  transform: translate(0,-64px);
  border: 0px solid gray;
  padding:0 16px;
  box-shadow: var(--box-shadow);
  font-size: 100%;
  font-weight: 600;
  color: white;
  margin: 8px 20vw;
  background-color: var(--blue);
}
#recordingBanner > div {
  display: flex;
  flex-direction: row;
  justify-items: flex-start;
  gap: 16px;
  align-items: center;
}
#bannerBtn {
  width: auto;
  font-weight: normal;
  font-size: 100%;
  background-color: var(--red);
  font-weight: 600;
  background-color: transparent
}

#brand {
  width: 128px;
  height: 128px;
  position: absolute;
  left: 0;
  top: 0;
  z-index:200;
}

body {
  min-height: 100vh;
  padding-bottom: 0;
}
#footer {
  margin-top: auto;
}

#wall {
  margin: 16px auto;
  width: 100%;
  /*display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  grid-auto-rows: minmax(100px, auto);*/
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.tweet {
  background-color:var(--tgray);
  color: white;
  font-weight: 500;
  padding: 16px;
  width: 100%;
  border-radius: var(--radius);
  border-radius: 8px;
  max-width: min(400px, 80%);
  border: 1px solid rgb(27, 30, 38);
  transition: background-color 0.2s ease-in-out;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  font-weight: normal;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.tweet:hover, .tweet:active, .tweet:focus {
  background-color: var(--tgrayhover);
}
.tweet img:hover {
  opacity: 0.8;
}
.timg {
  border-radius: 50%;
  width: 48px;
  height:48px;
  display: block;
}
.tverif{
  width: 24px;
  height: 24px;
  padding: 2px;
}
.tname {
  display: flex;
  font-size:100%;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 8px;
  font-weight: 600;
  line-height: 1.4;
}
.tname:hover {
  cursor: pointer;
}
.tlogo {
  width: 24px;
}
.thead {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.tleft {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.thandle {
  color: var(--nice-gray);
  font-weight: normal;
}
.tbody {
  margin: 16px 0;
  line-height: 1.4;
}
.tbody .a {
  color:rgb(160, 145, 250);
  font-weight: normal;
}
.tbody .a:hover {
  opacity: 0.8;
}
.tfooter{
  font-size: 80%;
  display: none;
}

.yt {
  width: 320px;
  height: 180px;
  outline: 2px solid transparent;
  /*transition: outline-color 0.2s ease-in-out;*/
  position: relative;
}
.yt img {
  position:absolute;
  width: 100%;
  height: 100%;
}
.yt::after{
  content:"";
  position: absolute;
  left:0;
  top:0;
  width:100%;
  height:100%;
  background: url('/static/images/ytplay.png') center no-repeat;
  background-size: 20%;
}
.yt:hover {
  opacity: 0.8;
}

#menu {
  font-size: 120%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  display: none;
}

.divider {
  font-size: 1px;
  background: rgba(0, 0, 0, 0.5);
}

select[disabled]{
  color:darkgray;
  opacity: 0.8;
}

.dragged {
  outline: 2px solid yellow;
  z-index: 20000;
}

#toolmenu {
  display: none;
  padding: 16px;
}
#toolmenu:hover {
  color: var(--blue);
  cursor: pointer;
}
@media only screen and (max-width: 620px) {
  #toolmenu { display: block;}
  #rightdiv {
    display: none;
    gap:0;
    flex-direction: column;
    justify-content: flex-start;
    position: fixed;
    z-index: 20;
    border-radius: var(--radius);
    align-items: flex-start;
    width: 160px;
    border: 1px solid white;
    margin-top: 8px;
    margin-right: 16px;
  }
  .point {width:calc(var(--pt) / 2);height:calc(var(--pt) / 2);font-size: calc(var(--pt) / 4);} 
  #speedupBtn { margin: 0; }
  #recordingBanner {
    margin: 8px;
    gap: 8px;
  }
  #recordingBanner > div {
    gap: 8px;
  }
  .testimonial > img {
    width: 48px;
    height: 48px;
    /*margin: -6px;*/
  }
  #testimonials > a:nth-child(n+8) {
    display: none;
  }
  #menu { gap: 4px; }
}
#bottomrowstage {
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 0px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}
#bottomrow {
  height: 100%;
  margin: 0px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.row {
  display: flex;
  overflow: hidden;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 16px;
}
.row input[type=button] {
  border: 2px solid var(--blue);
  border-radius: var(--radius);
}
.swal2-html-container > img, .swal2-html-container > audio, .swal2-html-container > video {
  border-radius: 11px!important;
  overflow: hidden;
  padding: 0px;
  margin: 8px 0;
  display: block!important;
}

.swal2-html-container {
  height: 100%;
}

.myrange {
  display: flex;
  flex-direction: row;
  gap: 0;
  width: 100%;
}
.myrange input[type=range] {
  width: 100%;
  background-color: #666;
  border-radius: 4px 0 0 4px;
}
.myrange input[type=range]:last-child {
  width: 100%;
  border-radius: 0 4px 4px 0;
}
.thumbtools > div:hover, .thumbpoints:hover {
  color: var(--blue);
}
.thumb > .thumbtools, .thumb > .thumbpoints {
  display: none;
}
.thumb.selected > .thumbtools, .thumb.selected > .thumbpoints, .thumb:hover > .thumbtools, .thumb:hover > .thumbpoints {
  display: flex;
}

.thumbvert {
  --thumbw: 90px;
  --thumbh: calc(16/9 * var(--thumbh));
}
#trimBtn {
  display: flex;
  padding-top: 10px;
}

.blue {
  font-size: 1.2rem;
  color: var(--blue);
}
#cameraBtn {
  z-index: 1;
}
#cameraPicker, #aiVoicesPicker {
  position: absolute;
  left: 0;
  top: 100%;
  border-radius: var(--radius);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
  
  border: 0px solid white;
  white-space: nowrap;
  padding: 12px 16px;
  display: none;
  background-color: #222;
  box-shadow: 0 0 8px black;
  color: white;
}
#aiVoicesPicker {
  top: unset;
  bottom: 100%;
}
.flexshown {
  display: flex!important;
}
#cameraPicker > div:hover, #aiVoicesPicker > div:hover {
  color: var(--blue);
}
p{
  color:var(--color2);
}

.opened {
  position: absolute;
  top: 48px;
  right: 0;
  display: flex!important;
  flex-direction: column;
  padding-left: 0!important;
  padding-bottom: 0!important;
  padding-right: 0!important;
  background-color: var(--slider-color)!important;
}
.opened hr {
  width: 100%;
  padding: 0;
  display: block;
  background-color: black;
  height: 1px;
}
.opened a {
  padding-left: 8px;
}
@media only screen and (min-width: 620px) {
}

#enterStudioBtn {
  padding: 12px 24px;
  border-radius: 50rem;
}
#enterStudioBtn:hover {
  opacity: 0.8;
}
form > input[type=email], form > input[type=submit], form > input[type=password] {
  padding: 12px 18px;
  border-radius: 50rem;
}

button:hover, input[type=submit]:hover {
  opacity: 1;
  /*outline: 2px solid white;*/
}

.swal2-modal {
  background-color: var(--dialogbg);
  color: var(--color);
  box-shadow: 0 0 4px var(--body-bg);
}

#tts {
  border: 0;
}

#webcamShapes {
  width: 70%;
}

.rowleft {
  justify-content: flex-start;
  width: 50%;
}
p, figcaption {
  font-size: 120%;
  line-height: 1.4;
  color:var(--nice-gray);
}

.m-8 {
  max-width: min(400px, 80%);
  text-align: center;
}

#aspectSelect {
  width: 100px;
}
#resolutionSelect {
  width: 100px;
}
#fpsSelect {
  width: 80px;
}

.webcamt {
  position: absolute;
  background-color: transparent;
}