body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    margin: 0;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
}

head, content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
}

head {
    link, script {
        margin: 1vw;
    }
}

content {
    flex-grow: 1;
}
.center{
    display:block !important;
}
tools, new, syns, sents, syn_types, main, sent, find,syn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}
new {
    height: 9vw;
    background: rgba(0,0,0,0.8);
    position: fixed;
    bottom: 0;
}
sents tools {
    font-size: 2vw;
    margin: 1vw;
}

syn_types {
    div {
        background: #333;
    color: #fff;
    font-size: 1.3vw;
    margin: 0.5vw;
    }
    select {
        width: 10%;
    }
;
    width: 5%;
}

input, select {
    font-size: 0.9vw;
    margin: 0.2vw;
    padding: 0.2vw;
    border-radius: 0.5vw;
}

sent input {
    width: 23.7%;
}
sent tools .button {
    display: block;
    padding: .4vh .4 .4vh;
    width: 1.4vw;
    font-size: 0.9vw;
    margin: 0.2vw .1vw;
}

syn_types {
    width: 7% !important;
    position: relative !important; /* Added relative position */
    display: block;
    bottom: unset !important;
    padding: 0 !important;
    min-height: 0vw;
    margin-right: -1vw;
    background: #000;
    margin-left: 0vw;
}
syn tools .button {
    font-size: .9vw;
    padding: .2vw;
    display: block;
    margin: 1px;
    width: 1vw;
}

syn tools {
    height: 8vh;
    display: flex;
    align-items: center;
    align-content: center;
    flex-direction: column;
}
sent tools {
    width: 5vw;
    margin: 0;
    margin-right: 3px;
}

sent tools, syns tools{
    
}
sents tools,syns tools {justify-content: end;}

sents {
    width: 25%;
}

syn {
    width: 100%;
}
textarea.syn_ids, 
div.syn_ids {
    width: 15%;
    height: 11vh;
    font-size: .9vw;
    transition: background 15s ease;
    transition: border 5s ease;
    font-family: monospace;
    font-weight: 700;
}
sent,syn {
    width: 100%;
    /* padding-top: 1%; */
    align-items: center;
}
params .button {
    float: right;
    margin-top: .4vw;
}
bottom tools {
    display: table;
    float: left;
    background: #000;
    border-radius: 11px;
    padding-left: 1.3vw;
    margin-left: -25px;
    margin-right: 0%;
    width: 18%;
}
voicer params {width: 68%;display: table;background: #00225647;padding: .2vw;border: 1px solid #33333370;border-radius: .5vw;margin-top: .5vh;margin-left: 26%;height: 53px;}voicer span { margin-left: -7vw;}
models {
    width: 6%;
    float: right;
}

input.id {
    width: 10%;
    text-align: center;
    font-family: monospace;
}
input.type{
    width: 4%;
    text-align: center;
}
main syn_types div {
    background: #333;
    width: 89%;
    font-size: 0.9vw !important;
    margin: 0.8vw 0;
    color: #fff;
    text-align: left;
    cursor: pointer;
    border-radius: .7vw;
    display: inline-block;
    font-size: 1.3vw;
    padding: 0.1vw;
}

syns {
    width: 40%;
} 

 sents {
    width: 54%;
    margin-right: 0;
    right: 0;
} 

main, find, new {
    width: 100%;
    padding-right: 0%;
}  

input.data {
    width: 61%;
}    
mtools .button{
    font-size: 0.9vw;
    padding: 0.4vw .3vw !important;
    width: 49px;
    margin-top: 0;
}

button a {
    padding: 0;
}

mtools {
    background: #333;
    padding: 0.2% 0.8%;
    margin: 0vw;
    width: 98.4%;
    z-index: 2;
} 

footer {
    background: #333333e8;
    margin-top: 1vw;
    padding: 0.1vw;
    position: fixed;
    bottom: 16vh;
    width: 100%;
}

input.sel_syn_ids {
    text-align: center;
    width: 62%;
} 

new syns, new sents {
    width: 100%;
}
new input.id,new input.type {display: block;width: 9%;}
new tools{
    width: 9%;
}
new sents textarea, 
div.syn_ids {
    font-size: 1vw;
    line-height: 2vw;
    margin: .2vw;
    background: #fff;
    height: 21vh !IMPORTANT;
    transition: unset;
    border-radius: .5vw;
} 
new sents textarea.ans{
    width: 32%;
    
}
new textarea.data {width: 68%;height: 13vh;} 
syns .data {
    width: 73%;
    height: 8vh;
    border-radius: 0.4vw;
    font-size: 0.9vw;
    line-height: 0.8vw;
    letter-spacing: 0;
}

sents textarea.que, sents textarea.ans {
    width: 35.5%;
    margin-right: 1%;
    height: 11vh;
    line-height: 0.8vw;
    font-size: 0.9vw;
}



textarea {
    border-radius: .4vw;
    /* margin: 0.1%; */
}
find {
    background: #484848;
    z-index: 5;
}

.red { background-color: #FF0000;color: #fff; }
.blue { background-color: #0000FF;color: #fff; }
.green { background-color: #00FF00;color: #fff; }
.yellow {background-color: #ffff00;color: #000;}
.purple { background-color: #800080;color: #fff; }
.orange { background-color: #FFA500;color: #fff; }
.pink {background-color: #FFC0CB;color: #000;}
.cyan { background-color: #00CED1;color: #fff; }
.brown {background-color: #A52A2A;color: #fff;}
.gray { background-color: #808080;color: #fff; }
.black { background-color: #000; color: #fff; }
.flower { background: cornflowerblue; color: #000;} 

i span {
    display: block;
    font-size: 0.8vw;
}

textarea#ask {
    width: 99%;
    height: 5vw;
    margin: .5vw;
    border-radius: .6vw;
}  
 
button i {
    padding-right: 0.2vw;
} 

new input.id,new input.type {
    display: block;
    /* width: 6%; */
}




new .button, find .button {
    font-size: 1vw;
    width: 1vw;
}

main {
    height: 77.7vh;
    align-items: unset;
    /* z-index: 200; */
    /* position: absolute; */
    /* top: 103px; */
    /* overflow: visible; */
} 

input.syn_id {
    width: 9%;
} 
new input.syn_id{
    /* width: 6%; */
}
main sents, main syns {
    overflow-y: scroll;
    height: 94%;
    overflow-x: clip;
}
new {
    height: 9vw;
    background: rgb(55 55 55 / 92%);
    position: fixed;
    bottom: 0;
    padding-bottom: 3vh;
    backdrop-filter: blur(1px);
    /* box-shadow: -1px -9px 10px 0px rgb(0 0 0 / 75%); */
}

#ask, .sel_syn_ids{
    display: none;
}

sents textarea.active {
    height: auto !important;
    width: 32% !important;
    /* position: absolute; */
    z-index: 400;
    min-height: 15vh;
    max-height: 17vh;
    margin-right: 0vw;
    margin-left: 1vw;
    margin-top: -5vh;
    background: rgba(255,255,255,1);
    transform: scale(1.3);
    /* margin-bottom: 4vh; */
}

syns textarea.active {
    height: auto !important;
    /* width: 76% !important; */
    /* margin: -5%; */
    z-index: 400;
    margin-bottom: -10vh;
    margin-top: -7vh;
    margin-left: 0%;
    font-size: 0.8vw;
    min-height: 15vh;
    transform: scale(1.29);
    border: 3px solid #027af0;
}

textarea{
    transition: 0.3s all ease;
}
syns syn:first-child textarea.active{
    margin-top: 4vh !important;
    margin-bottom: -21vh;
}
sents sent:first-child textarea.active{
    margin-top: 1.9%;
}
.active {
    
    border: 3px solid #027af0;
    box-shadow: rgba(0, 0, 0, 0.65) 0px 5px 15px;
}

main textarea, main input {
    cursor: pointer;
}
sents .syn_ids.active{
    width: 14% !important;
    height: 6vh !important;
    margin: 0;
}
main textarea.active, main input.active {
    cursor: text;
}

.fullmode sents {
    width: 100%;
}   

.logicmode .que{
   display: none;
}

.logicmode sentlogic{
  display: block;
  width: 53%;
  border-radius: 0.5vw;
  height: 21vh;
  background: #fff;
  margin-right: 1vw;
}

sentlogic{
  display: none;
}

sentlogic div {
    display: inline-block;
    padding: .1vw .27vw;
    color: #fff;
    border-radius: 0.2vw;
    margin-right: .3vw;
    margin-top: .8vh;
    cursor: pointer;
    transition: .1s all ease;
}
.center div{
    transition: .3s all ease;
}
sentlogic div div:hover,
.center div:hover,
.chain, .tchain{
    transform: scale(1.3);
    box-shadow: rgba(0, 0, 0, 0.65) 0px 5px 15px;
}
 
sentlogic {text-align: left;}  

.disabled {
    /* opacity: .2; */
    filter: contrast(1.5) brightness(0.4);
}  
new syn#new_syn {
    position: absolute;
    bottom: 10.5vw;
    border-top-right-radius: .5vw;
    /* box-shadow: 0px -9px 15px -3px rgb(0 0 0 / 83%); */
    padding: 0vh .0vw;
    left: 0;
    background: rgb(0 0 0 / 80%);
    width: 40vw;
    z-index: 1;
} 

main syns {
    height: 59.4vh;
}


::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-thumb {
    background-color: #3498db;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #2980b9;
}

::-webkit-scrollbar-track {
    background-color: #545454;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

::-webkit-scrollbar-thumb::before,
::-webkit-scrollbar-thumb::after {
    content: '';
    display: block;
    position: absolute;
    height: 50%;
    top: 0;
    width: 12px;
    background: #3498db;
}

::-webkit-scrollbar-thumb::before {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

::-webkit-scrollbar-thumb::after {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    top: 50%;
}
.logicmode textarea.ans {
    width: 17%;
    transition: unset;
}

i.fa-solid.fa-graduation-cap.button.cswitch.cactive {
    background: #000;
    color: #ffaf00;
} 

textarea.data.sactive, input.sactive {
    border: 4px #3498db solid;
}

mtools lable {
    color: #fff;
    font-weight: 400;
    letter-spacing: .03vw;
    font-size: 1vw;
}       

body models button.button {
               margin: 0vw .1vw .1vw;
               display: inline;
               padding: .1 4.9;
               font-size: .8vw !important;
               /* width: 4vw; */
               background: #ffba00;
               color: black;
               /* filter: drop-shadow(4px 8px 14px black); */
               font-weight: bold;
               border-radius: .3vw;
               border: none;
               cursor: pointer;
        }

models {
    display: block;
    width: 100%;
    text-align: center;
    padding-left: 0 !IMPORTANT;
}

body syn models button.button {
    width: 3vw;
}

syns models {
    width: 6%;
}

button.button.bactive {
    background: #000;
    color: gold;
    border: 1px #b69a00 solid;
    box-shadow: inset 0.1vw -0.1vw 0.1vw 0.1vw #5d4e00;
}

sent input.id {display: none;}

sents h3 {
    text-align: center;
    width: 100%;
    color: #ffba00;
    font-weight: 100;
} 
button.button.bactive {
    background: #000 !important;
    color: #ff9f00 !important;
    border: 1px #b69a00 solid;
}   

.ractive {
    filter: invert(1);
}
.syn_cloner .button{
    width: 91%;
}
.syn_cloner{
    width: 13%;
    display: none;
    background: rgb(55 55 55 / 92%);
    padding: 2%;
    position: absolute;
    z-index: 500;
    top: 124px;
    left: 36%;
    backdrop-filter: blur(4px);
    filter: drop-shadow(2px 4px 6px black);
    border-radius: 13px;
}
.syn_cloner input, .syn_cloner .btn{
    marbin-bottom: 10px;
    width: 100%;
    padding: 5px;
    text-align: center;
}

i.fa-solid.fa-xmark.wclose {
    color: #fff;
    position: absolute;
    top: 10px;
    left: 294px;
    font-size: 1.5vw;
    cursor:pointer;
}

i.fa-solid.fa-xmark.wclose:hover{
    color: #ffba00;
}

i:hover{
    color: gold !important;
}

.button#start_button {
    background: #327fa9;
    padding: .4vh .4 .4vh;
}  

i span, a span {
    display: none;
    position: absolute;
    background: #000;
    padding: 5px;
    margin-left: -110px;
    border-radius: 8px;
    margin-top: 9px;
    width: 120px;
}

i:hover span,a:hover span {
    display: block;
    font-weight: 100;
    text-transform:math-auto;
}



#startRecording  {
    color: lime;
}

#stopRecording  {
    color:red;
}

.recording{
    cursor: pointer;
}  



.recog {
    color: red !important;
}

i#start_button {
    
}

textarea.ans.process {
    border: lime 4px solid;
    background: #ddffdd;
}

textarea#final_span,textarea.proccess {
    border: 6px solid lime !important;
}
.recording {
    color: red !important;
} 

.button.fa-t, .button.fa-circle-dot{
    color: lime;
}

textarea#interim_span {
    z-index: 10;
    bottom: 0;
    position: fixed;
    width: 100% !important;
    border: none;
    background: #0000003d;
    color: #c40000;
    scale: none;
    font-family: revert;
    font-weight: 900;
    font-size: 1.5vw;
    height: 2.1vw !important;
    display: none;
    text-align: center;
}

tools .audio {
    width: 32%;
    padding: 2px 0;
    text-align: center;
    font-size: 9px;
    font-weight: bold;
    margin: 0;
    border-radius: 5px;
    text-transform: uppercase;
    background: #000;
    color: gold;
    border: 1px solid #999;
}

mtools .audio{
    font-size: 12px;
    background: #000;
    color: gold;
    border-radius: 6px;
    text-transform: uppercase;
}

.renderInd{
    border-radius: 5px;
    background:#ccc;
    padding:5px;
    margin: 0 3px;
    float:left;
}

.elev {
    background: gold;
}
.real {
    background: red;
}

.renderInd{
    border-radius: 5px;
    background:#ccc;
    padding:5px;
    margin: 0 3px;
    float:left;
    position: relative;
}

.elev {
    background: gold;
}
.real {
    background: red;
}

.renderInd span {
    font-size: 13px;
    position: absolute;
    background: #000;
    color: gold;
    padding: 4px;
    border-radius: 6px;
    display: none;
    width: 100px;
    margin-left: -100px;
    z-index: 20000;
    margin-top: 10px;
}

label#lstem {
    position: absolute;
    color: gold;
    background: #4a4a4a;
    left: 32vw;
    margin-top: -.8vh;
    font-size: 12.2px;
    padding: 1px  2px;
    border-radius: 6px;
}

input#sdepth {
    font-weight: bold;
    width: 53px;
}

.renderInd:hover span{
    display:block;
}

syndict {
    position: absolute;
    z-index: 2000;
    width: 40vw;
    bottom: 37vh;
    padding: .5vw;
    display: none;
    backdrop-filter: blur(4px);
    background: #4a4a4a85;
}

syndict i.fa-solid.fa-x {
    float: right;
}

select#format {
    float: left;
}

syndict * {
    display: block;
    float: left;
}

i.fa-solid.fa-check.button {
    float: right;
}

input#sens,  input#depth {
    width: 29%;
    margin-top: 1vh;
    height: 3vh;
}

synt_counter {
    color: #fff;
    font-size: 19px;
    float: right;
    padding-top: 0.4vw;
    font-weight: bold;
}

label#lsens {
    position: absolute;
    left: 12vw;
    color: gold;
    margin-top: -.8vh;
}

label#ldepth {
    position: absolute;
    left: 24vw;
    color: gold;
    margin-top: -.8vh;
}

body .loading {
  color: #a77a00;
  background: linear-gradient(140deg, #fff 30%, #ffffff 50%, #89d1ff 70%) ;
  background-size: 200%;
  animation: loading 1.2s ease-in-out alternate infinite;
  border-color: #d3b200 !important;
}
body .loading a{
    color: #b48e50 !important
}
@keyframes loading {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

i.fa-solid.fa-arrows-rotate.button {
    float: right;
}

.updated {
    background: #fff2c9;
    border: 5px solid gold;
}
#voicelist {
    height: 100%;
    float: left;
    width: 25%;
    border-radius: 11px;
    overflow: hidden;
    z-index: 2000;
    /* position: absolute; */
}
#voicelist select{
    width: 100%;
    text-align: center;
    overflow-y: scroll;
    margin-top: 0;
    margin: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
input#emo_name {
    width: 7vw;
    float: left;
    text-align: center;
    margin-top: 0.7vh;
}



select#voice {
    background: #000;
    color: gold;
    text-transform: uppercase;
    border-bottom-left-radius: 0;
    font-size: 13px;
    border-bottom-right-radius: 0;
    font-weight: bold;
    border-bottom: 2px solid gold;
}
voicer {
    position: absolute;
    padding: .5vw;
    bottom: 10.5vw;
    width: 58%;
    right: 0vw;
    backdrop-filter: blur(5px);
    background: #4a4a4a9c;
    border-radius: 6px;
}

bottom {
    width: 74%;
    display: block;
    float: right;
    margin-top: 1%;
}
.fa-solid img {
    filter: invert(1);
}

voicer i.fa-solid.fa-x.button {
    float: right;
    right: .2vw;
}
.fa-solid img {filter: invert(1);width: 1vw;}

params label {
    position: absolute;
    margin-left: .6%;
    color: gold;
} 


params input {
    margin-top: 25px;
    width: 9vw;
}

select#emos option:nth-child(odd) {
    background: #efefef;
}

sent:nth-child(odd), syn:nth-child(odd) {
    background: #363636;
}
input#boost {
    float: right;
    width: 1.3vw;
    margin-left: -4vw;
    height: 1.3vw;
    margin-right: 1.7vw;
    display: block;
}

label#lstabil {
    margin-left: 5%;
}

label#lstyle {
    margin-left: 6%;
}

label#lsimilar {
    margin-left: 5%;
}

.button {
    cursor: alias;
} 
bottom i{
    float: left;
}

voicer{
    display: none;
}
#record{
    display: none;
}

.minibutton {
    background: #255d7c;
    color: #fff;
    position: absolute;
    padding: 5px;
    border-radius: 11px;
    margin-left: 3%;
    cursor: pointer;
}

#voicelist span {
    margin-left: -12px;
}

.minibutton:hover {
    background: #000;
    color: gold;
}
label.snt_id:hover {
    color: gold;
}
params.loading {opacity: 0.8;filter: contrast(0.7) brightness(0.8);}

label.snt_id {
    font-size: .8vw;
    width: 100%;
    text-align: right;
    color: #bfbfbf;
    background: #1e1e1e;
    cursor: pointer;
}

body{
    background: rgb(53, 53, 65);
}

input.required {
    width: 1.1vw;
    height: 1.1vw;
    filter: brightness(.7) invert(1) contrast(1.4);
    cursor: pointer !important;
}

#formrange {
    position: absolute;
    width: 44px;
    margin: 0;
    text-align: center;
    left: 27%;
    background: gold;
    font-size: 12px;
    font-weight: bold;
    border-radius: 20px;
    padding: 3px;
}

#formrange.readonly{
    z-index:-1;
    background-color: #b3a13f;
}

new input.type {
    width: 5%;
    font-size: 0.7vw;
    height: 1.8vw;
    font-weight: 700;
}

input.type {
    font-weight: bold;
    font-family: monospace;
}

select#emos {
    height: 69%;
}

i.fa-solid.fa-star.button.mainemo {
    margin-left: 7px;
}

label.snt_id {
    margin-top: -7px;
}




models {
    /* position: absolute; */
    left: 7px;
    z-index: 500;
    width: max-content;
    display: inline-table!important;
    float: unset;
    text-align: center;
    margin-left: 26px;
    height: 50px;
    margin-bottom: -100vh !important;
}


body models button.button {
   display: none;
   width: 100px;
   transition: 0.3s all ease;
}

body models:hover button.button{
    display: block !important;
}

body models button.bactive {
    display: block;
    /* position: absolute; */
    top: 0px;
}

