#kfiles-list{
  display: flex;
  flex-wrap: wrap;
  padding: 8px;
  /*border: 1px solid;*/
}
.fk-header{

}
.f-label{
  border: 1px solid;
  background: green;
  margin: 4px 0px;
}
.rule-option{
  display: flex;
  align-items: center;
  margin: 10px 0;
}
.fm-link{
  position: absolute;
  top: -11px;
  display: flex;
  transform: translate(-100%, 0);
}
.fm-link select{

}
.fm-link span{

}
/*.fk-header{
  display: flex;
  justify-content: space-between;
}*/
.sinfo{
  margin-top: 16px;
  font-size: 14px;
}
  /*.rule-wrapper{
    margin-bottom: 16px;
  }*/
.rule-wrapper{  
  display: flex;
  align-items: center;
}
.iwrapper fieldset legend{
  margin: 0 auto;
}
.rule-option label{
  font-size: 12px;
}
.rule-option input[type="checkbox"]{
  width: 16px !important;
  margin-right: 10px;
}
.rule-option input[type="text"]{
  width: 128px !important;
  margin-left: 10px;
  padding: 0 4px;
}
.rule-wrapper input[type="number"]{
  width: 64px !important;
}
.rule-wrapper select{
  height: 32px;
}
#switch-apply-rule1{
  left: 10px;
}
.kfclose{
  position: absolute;
  width: 16px;
  height: 16px;
  top: -11px;
  left: 0;
  right: 0;
  margin: 0 auto;
  border: 1px solid white;
  background: black;
  line-height: 16px;
  border-radius: 11px;
  cursor: pointer;
  text-align: center;
}
.kfclose:hover{
  background: rgba(255,0,0,0.9);
}
.kfile, .kmessage-wrap{
    border: 1px solid white;
    padding: 5px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    margin: 10px;
}
.iwrapper .kmessage-wrap{
  text-align: left;
  margin-top: 16px !important;
  width: fit-content;
  padding: 5px 21px !important;
}


}
.ktype{

}
.kfname{
  border-top: 1px dashed white;
  margin-top: 6px;
  padding-top: 6px;
}
#chatbot-variables{
  display: flex;
  align-items: center;
}
#chatbot-variables select{
  height: 32px;
}
#chatbot-variables > select:nth-of-type(n+1){
margin-left: 6px;
}
/*#chatbot-username select{
  margin-left: 10px;
}*/
.f-tag{
  align-self: center;
}
#keywords-list{

  height: 200px;
  overflow-y: auto;
}
.k-wrapper{
    display: flex;
    background: rgb(101, 23, 171);
    margin-top: 1px;
    
    align-items: center;
    justify-content: space-between;
}
#chatbot-username .conf{
  width: 150px;
}
#chatbot-username .conf:nth-of-type(n+2){
  margin-left: 10px;
}
.rbutton:hover, .ebutton:hover{
  background: rgba(0,0,0,0.5);
}
        /* Hide arrows in Chrome, Safari, Edge, and Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.idelay:after{
     content: 's';
            position: absolute;
            right: -15px; /* Adjust as needed */
            top: 50%;
            transform: translateY(-50%);
}
.rbutton{
  cursor: pointer;
  background: #ff0000;
  padding: 4px 10px;
}
.rbutton i span:before, .ebutton i span:before{
  color: white !important;
}
.ebutton{
  cursor: pointer;
  background: #008200;
  padding: 4px 10px;
}
.idelay{
  position: absolute;
  top: -10px;
  right: -18px;
  height: 18px !important;
  width: 32px !important;
  padding: 0 4px !important;
}
.k-name{
  padding: 4px 10px;
}
.k-actions{
  display: flex;
}
.k-actions input[type=number]{
  width: 44px;
}
.k-actions select{
  height: 100%;
}
.k-actions .button.config{
  background: green;
  /* width: fit-content; */
  /* height: 12px; */
  display: block;
  padding: 3px;
  margin: 6px;
  font-size: 14px;
}
.k-actions .button.config:hover{
  background: #008000a1;
}
#chatbots-available{
      height: 32px;
    align-self: center;
    margin-right: 10px;
}
.iwrapper .fntag{
  margin-left: 12px;
}
#role-word-count{
  color: white;
}
body, html{
      padding: 0;
      margin: 0;
       -webkit-touch-callout:none;
       -webkit-tap-highlight-color:rgba(0,0,0,0);
       top: 0px !important; 
    }
    .skiptranslate iframe{
        visibility: hidden !important;
    }

    a.button{
      text-decoration: none;
    }
    .wrapper{
      display: flex;
    }
    .wrapper .button:nth-of-type(n+2){
      margin-left: 12px;
    }
  /*  .frame{
          padding: 0px 0px 12px 0px;
    }*/
    .wrapper .frame{
      flex: 1;
    }
    #teach-controls textarea{
          resize: none;
        width: 100%;
        box-sizing: border-box; 
        padding: 12px;
        height: calc(100% - 144px);

    }
    textarea{
      resize: vertical;
    }


    #output-wrapper{
      position: relative;
      display: flex;
    }
    @media only screen and (max-width: 600px) {
      .frame #teach {
        height: 120px;
      }
      body .wrapper{
        flex-wrap: wrap;
      }
      body .wrapper .frame{
        flex: unset;
        width: 100%;
      }
      h1{
        margin: 0;
        padding-bottom: 10px;
        font-size: 24px;
      }
      body textarea{
        height: 120px;
      }
    }
/*      #assign-role{
      position: absolute;
        right: 8px;
        top: 8px;
      }*/
.pop-up{

}
#role{
  width: 100%;
  height: 200px;
}

#form-role{
  width: 80%;
}
.role-controls{
  display: flex;
justify-content: space-between;
}
#assign-role-overlay{
  display: none;
  background: rgba(0,0,0,0.4);
  z-index: 8;
}
#teach-box{
  width: 100%;
  margin-top: 10px;
  display: flex;
    flex-direction: column;
   /* height: calc(50% - 10px);*/
}
#info-controls .button:nth-of-type(n+2){
  margin-left: 10px;
}
#teach-controls .overlay{
  z-index: 8;
}
#setup-controls{
  display: flex;
justify-content: space-between;
/*padding: 0 0 12px 0;*/
width: 100%;
height: fit-content;
}
#setup-controls .control{
  margin-right: 10px;
}
#setup-controls .control:last-child{
  margin-right: 0px;
}
#setup-controls .upgrade{
  background: #beaf00;
}
#generate-code{}
#teach-box h1{
  margin-top: 0px;
  font-size: 22px;
}
#pre-loader{
  background: black;
}
#learned-information{
  position: relative;
  flex-grow: 1;
}
#learned-loader{
  background: black;
}
#teach-controls{
  display: flex;
  height: calc(100% - 70px);
    flex-wrap: wrap;
    width: 100%;
}
#learned-information{
  width: 100%;
  overflow: hidden;
  /*height: 50%;*/
}
#learned-information .iframe, #learned-information .more-info{
  margin-top: 12px;
}

#learned-information #linfo-wrapper{
  /*  height: calc(100% - 47px);*/
  overflow-y: auto;
}
#learned-information #linfo{
  margin: 0;
  padding: 0;
    width: 100%;
    flex-direction: column-reverse;
    display: flex;
    flex-wrap: wrap-reverse;
}
#learned-information #linfo li{
   width: 100%;
    color: white;
    margin-top: 1px;
/*    padding: 12px 0 12px 0px;*/
    box-sizing: border-box;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
#learned-header, #teach-header{
  background: black;
    color: white;
    margin-top: 1px;
    padding: 9px 0 8px 0px;
    box-sizing: border-box;
/*    text-align: center;*/
    font-size: 20px;
    width: 100%;
    padding: 12px;
}
#learned-information #linfo li a:hover{
  background: rgba(0,0,0,0.8)
}
#learned-information #linfo li a{
  display: flex;
  background: black;
    width: 100%;
    padding: 12px 0 12px 0px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    justify-content: space-between;
}
.file-info{
  display: flex;
}
.f-wc{
  padding-right: 11px;
}
.total-wc{
      position: absolute;
    right: 0;
    top: 12px;
    right: 12px;
}
.delete-file i{
  align-self: center;
  font-size: 28px;
}
.edit-file i{
  align-self: center;
  font-size: 21px;
}
#app .delete-file i span:before, #app .edit-file i span:before{
  color: white;
}

.delete-file, .edit-file{
  width: 42px;
    text-align: center;
    background-color: #838383;
    border-top: 1px solid #838383;
    border-bottom: 1px solid #838383;
    height: 42px;
    display: block;
    /* vertical-align: -webkit-baseline-middle; */
    display: flex;
    justify-content: center;
}
.delete-file:hover, .edit-file:hover{
  background-color: rgba(131,131,131,0.7);
}
.tcenter{
  text-align: center;
}
.tleft{
  text-align: left !important;
}
#learned-information #linfo li .f-n{
      display: block;
    padding: 0px 11px;
}
#learned-information #linfo li .f{
display: -webkit-box;
    /* max-width: 400px; */
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
#teach-box .row{
  display: flex;
      display: flex;
    align-items: center;
        padding: 6px 0px;
}
#teach-box h2{
  font-size: 16px;
  margin: 0;
}
#ref-title{
  margin-left: 12px;
    height: 32px;
    box-sizing: border-box;
    padding: 0px 8px;
    width: 100%;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
/*  width: 60px;
  height: 34px;*/
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.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: 18px;
  width: 18px;
  left: 5px;
  bottom: -4px;
  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(22px);
  -ms-transform: translateX(22px);
  transform: translateX(22px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
      height: 9px;
    width: 44px;
        display: flex;
    align-self: center;
}

.slider.round:before {
  border-radius: 50%;
}
#ephimeral-mode-wrapper{

}
#mode-ephimeral{
  width: 42px;
    height: 12px;
    top: 16px;
}
#ephimeral-mode-wrapper{
  display: inline-block;
    position: absolute;
    right: 64px;
}
#ephi-loader{
  background: black;
}

#change-version{
  display: none;
  margin-right: 10px;
}
#change-version select{
    height: 100%;
    padding: 0px 8px;
    box-sizing: border-box;
}
#change-version .op{
  padding: 8px 0px;
}
.bot-config{
  display: flex;
}
#roles-wrapper{
  display: flex;
}
#cancel-assign-role{
  background: red;
}
#assign-role{
/*  width: 146px;*/
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px;
}
#assign-role i{
  position: static;
    padding-right: 3px;
}
#training fieldset{
  margin: 0;
    position: relative;
    top: -3px;
    margin-right: 10px;
    display: none;
}
#teach-controls h1{
  font-size: 16px;

}
#training-controls{
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 84px;
}
#training{
  padding: 16px;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
}
.buttons-box{
      display: flex;
    justify-content: flex-end;
}
.buttons-box select{
  height: 32px;
  margin-right: 6px;
  align-self: center;
}
#chatbot-username{
      display: flex;
    align-items: flex-end;
    flex-flow: column;
    justify-content: end;
    margin-right: 10px;
}

#chatbot-username .conf label{
  display: block;
  align-self: flex-start;
}
#chatbot-username input, #chatbot-username select{
  height: 32px;
  padding: 0 8px;
  box-sizing: border-box;
  max-width: 150px;
  width: 100%;
}
#middle-buttons{
  display: flex;
  justify-content: space-between;
  margin: 5px 0px;
}

#info-controls{
  display: flex;
  align-items: center;
  margin-right: 10px;
}
.or{
  padding: 0 8px;
}
.ta-center{
  text-align: center;
}
#save-username{
  height: 32px;
    width: 32px;
    padding: 0;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    align-self: self-end;
}
#save-username i{
  position: static;
  margin-right: 0px;
}
.irow {
    display: flex;
    margin-top: 16px;
}
.icol{
  width: 100%;
}
.icol .iwrapper {
    width: 100%;
    margin-top: 6px;
    display: grid;
}
.icol input {
    width: 100%;
    height: 32px;
    padding: 0 8px;
    box-sizing: border-box;
}
@media all and (max-width: 800px) {
  #app .button{
    font-size: 13px;
  }
  #training .buttons-box{
    justify-content: flex-end;
    flex-direction: column;
  }
  #training .buttons-box select{
    align-self: unset;
    margin-bottom: 10px;
    height: 32px;
  }
}