
    /*html { height: 100%; }
    body { margin: 0; height: 100%; background: #c6c6c6; }
    */
    /* Height / width / positioning can be customized for your use case.
       For demo purposes, we make the user list 175px and firepad fill the rest of the page. */
    
    /*   #userlist {
      position: absolute; 
      left: 0; 
      top: 0; 
      bottom: 0; 
      height: auto;
      width: 175px;
        z-index:3;
    }*/
      

    .firepad-with-toolbar {
      display:none;
    }

    .firepad-with-toolbar .CodeMirror {
      /*top: 0px;*/
    }
      

    .CodeMirror-scroll {
        margin-bottom: 0px;        
        padding-bottom: 0px;
        overflow-x: hidden!important;
    }

    .firepad .CodeMirror {
      position: unset;
    /* top: 0; */
    /* bottom: 0; */
    /* right: 0; */
    /* left: 0; */
    /* height: auto; */

    max-width: 900px;
    margin: auto;
    border-style: solid;
    border-width: 0px 1px;
    border-color: #00000012;

    height: calc(100% - 42px);
    }

    #firepadWrapper {
      /*position: absolute; left: 175px; top: 0; bottom: 0; right: 0; height: auto;*/
      position: absolute; left: 0px; top: 0; bottom: 0; right: 0; height: auto;
        
      /* Style as page*/  
      /*max-width: 800px;*/
      margin: auto;
      border: #d4d4d4;
      border-width: 1px;
      border-style: solid;
      box-shadow: 0px 1px 13px 5px #0000002e;
        
    }
      
    #firepad {
      /*position: absolute; left: 175px; top: 0; bottom: 0; right: 0; height: auto;*/
      /*position: absolute; left: 0px; top: 0; bottom: 0; right: 0; height: auto;*/
        
      position:relative;
      /*height: 100%;*/
      min-height: 300px;
      /* Style as page*/  
      /*max-width: 900px;*/
      /*margin: auto;*/
      border: #d4d4d4;
      border-width: 0px;
      border-style: solid;
      /*box-shadow: 0px 1px 13px 5px #0000002e;*/
      box-shadow: 0px -20px 12px 3px #0000002e;
      background-color: white;
    }

 
      
      .firepad-with-toolbar .CodeMirror-lines {
    padding-top: 10px;
    padding-bottom: 300px;
      }
      
    #cowrite-button {
        /*position: absolute;*/
        /*position: fixed;
        bottom: 12px;
        right: 12px;
        */
        z-index: 1;
        background-color: #55a0de;
        width: 50px;
        height: 50px;
        border-radius: 40px;
        color: white;
        padding: 4px 5px;
        text-align: center;
        font-weight: bold;
        cursor: pointer;
        font-size: 26px;

        float:right;

        margin-bottom: 50px;
        margin-right: 20px;

        pointer-events:all;
    }  

    .outline-header {
      margin-top: 20px;
      text-align: center;
    }

    .outline-inline-button {
      
      z-index: 1;
      background-color: #1a1a1a;
      
      /* width: 100%; */
      border-radius: 40px;
      color: #e0e5e9;
      padding: 4px 5px;
      text-align: center;
      font-weight: bold;
      cursor: pointer;
      font-size: 21px;
      pointer-events: all;
      margin: 12px 0px;
    }

    .outline-inline-button-light {
      
      z-index: 1;
      background-color: #ffffff;
      /* width: 100%; */
      border-radius: 40px;
      color: #1a1a1a;
      padding: 4px 5px;
      text-align: center;
      font-weight: bold;
      cursor: pointer;
      font-size: 16px;
      pointer-events: all;
      margin: 12px 0px;
    }

    .button-instruct {
      font-weight: 100;
      font-size: 11px;
      position: absolute;
      
      opacity: 0.7;
      right: 30px;
      bottom: 15px;
    }

    #outlineForm {
      line-height: initial;
        margin:0px;

        /*position: fixed;*/
    }  

      .CodeMirror-sizer {
          /*margin-left:100px!important;
          margin-right:100px!important;*/

          margin-left: 15%!important;
          margin-right: 15%!important;
      }
    /*  .CodeMirror-code {
 
    padding: 0px 50px 0px 50px;
}*/
      
      .firepad-toolbar {
            padding-left: 20px;
          padding-right: 20px;
           background-color: #fefefe;   

           position: sticky;
           top: 0px;
           z-index: 3;
           max-width: 100vw;
      }
      
      
      
    /* ==== USERLIST === */
      .firepad-userlist {
  /* default height */
  height: 100%;
  width: 100%;
  /*min-width: 175px;*/
          
          

  background: #ebebeb; /* Old browsers */
  background: -moz-linear-gradient(left, #ebebeb 0%, #eaeaea 93%, #d9d9d9 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%,#ebebeb), color-stop(93%,#eaeaea), color-stop(100%,#d9d9d9)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(left, #ebebeb 0%,#eaeaea 93%,#d9d9d9 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left, #ebebeb 0%,#eaeaea 93%,#d9d9d9 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(left, #ebebeb 0%,#eaeaea 93%,#d9d9d9 100%); /* IE10+ */
  background: linear-gradient(to right, #ebebeb 0%,#eaeaea 93%,#d9d9d9 100%); /* W3C */
  color: #404040;
          
  position:absolute;
}
      
.firepad-toolbar {
  height: auto;
  line-height: 0;
}

.button-subheading {
  font-size: 10px;
}

.custom-button {
  width: 50px;
  height: 45px;
  padding: 7px 0px!important;
}

   #userlist {
     /* width: 10px;
      z-index: 3;
      overflow: hidden;
       transition-duration: 1s;
       */ 

       width: 10px;
    /*height: 100%;*/
    z-index: 3;
    overflow: hidden;
    transition-duration: 1s;

    position: absolute;


       
    }
     
      #userlist:hover {
          width: 175px;
          transition-duration: 1s;
      }
      
      
.firepad-userlist {
  text-align: left;
  font-family: 'Helvetica Neue', sans-serif;
  line-height: normal;
}

.firepad-userlist-heading {
  margin: 20px 15px 0;
  font-size: 12px;
  font-weight: bold;
  border-bottom: 2px solid #c9c9c9;
}

.firepad-userlist-users {
  position: absolute;
  left: 15px;
  right: 15px;
  top: 38px;
  bottom: 10px;
  overflow-y: auto;
  overflow-x: hidden;
}

.firepad-userlist-user {
  position: relative;
  margin: 3px 0;
  height: 32px;
  border-bottom: 1px solid #c9c9c9;
  padding-bottom: 5px;
}

.firepad-userlist-color-indicator {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 1px solid #ccc;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

input.firepad-userlist-name-input {
  position: absolute;
  left: 38px;
  top: 0;
  width: 105px;
  height: 20px;
  border: 0;
  border-bottom: 1px solid #d6d6d6;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  font-size: 14px;
  line-height: 14px;
  padding: 1px;
}

.firepad-userlist-name-hint {
  position: absolute;
  left: 38px;
  top: 23px;
  width: 300px; /* I'd rather it clip than wrap. */
  font-size: 9px;
  line-height: 11px;
}

.firepad-userlist-name {
  position: absolute;
  top: 2px;
  left: 38px;
  width: 95px;
  font-size: 13px;
}

#firepadLoader {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    /*background-color: green;*/
    /*opacity: 0.4;*/
    z-index: 3;
    cursor: wait;
    display:none;


    background: linear-gradient(to right, #d9d9d9bf, #ffffff38, #d9d9d9bf);
    background: -webkit-linear-gradient(to right, #d9d9d9bf, #ffffff38, #d9d9d9bf);
    background-size: 200%;
    animation: loading-gradient 1.5s linear infinite;
}

  
  @keyframes loading-gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: -100% 50%;
    }
    100% {
      background-position: -200% 50%;
    }
  }


      
      .blockedCursor {
           /*cursor: wait;   

           cursor: wait!important;
           opacity: 0.2;
           pointer-events: none;
           */

      }
      
.blocked {

    background-color: #b0b0b0;
    pointer-events:none;
}
      
      .blocked .CodeMirror-cursors {
          display:none;
      }
      
      .AIMirror {
          
        position: absolute;
        /*top: 0px;*/
        opacity: 0.5;
        left: 0px;
          pointer-events:none;
          
          
        /*pointer-events: none;
        word-wrap: break-word;
        white-space: pre-wrap;
        word-break: normal;
          */
        padding: 0 4px;
          
    }
  
.document-title {
  margin: 10px 0px 10px 0px;
  border-radius: 20px;
  text-align: center;
  height: 30px;
  width:100%;
}    

.powered-by-gomind {
    position: absolute;
    display: block;
    z-index: 5;
    right: 20px;
    bottom: 11px;
    width: 175px;
    height: 50px;
    background-image: url(ghostwritelogo.png?v=1);
    opacity: 0.3;
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: right;
    transition-duration: 1s;
    display:none;
}

.powered-by-gomind:hover {
    opacity: 1;
    transition-duration: 1s;
}
      
      /*.powered-by-firepad {
         display:none;   
      }*/



/* ======================================= */

.CodeMirror-cursors {
visibility: unset!important;
animation: blinker 1s steps(2) infinite;

}

@keyframes blinker {
50% {
  opacity: 0.2;
}
}

.box {
  display: flex;
  flex-flow: column;
  height: 100%;

  max-width: 1500px;
  margin: auto;
}



.column {
    
}

.column-1 {
    flex: 1;

}

.column-2 {
    flex: 2;
}

#outlineForm label {
    display: block;
    font-weight: 600;
    font-size: 18px;
    padding: 9px 0px 0px 0px;
}

#outlineForm input {
    width: 100%;
}

#outlineForm select {
    width: 100%;
    padding: 7px 5px;
}

.box .row.header {
  flex: 0 1 auto;


  z-index: 1;
  background: rgb(199,199,199);
  background: linear-gradient(0deg, rgb(226 226 226) 0%, rgba(255,255,255,1) 100%);

  /* The above is shorthand for:
  flex-grow: 0,
  flex-shrink: 1,
  flex-basis: auto
  */
}

.box .row.content {
  flex: 1 1 auto;

  height: 100%;
  overflow: hidden;
}

.box .row.footer {
  /* flex: 0 1 40px;*/ 
  flex: 0 1 0px;
}
      
#outlineWrapper {
  /*
  max-width: 900px;
  width: 100%;
  color: #1a1a1a;
  
  background-color: #dfe5e9;
  margin: auto;
  padding: 0px 20px;

  margin: 0px auto 0px auto;
 
  box-shadow: 0px -20px 12px 3px #0000002e;
  height: auto;

  transition: 1s;

  line-height: 2em;

  
  font-family: 'Recoleta';


  overflow: scroll;
  height: 100%;
  position: sticky;
  top: 0px;
  */

  max-width: 1200px;
  width: 100%;
  color: #1a1a1a;

  background-color: #98b9d6;
  /*background-color: #dfe5e9;*/
  margin: auto;
  /*padding: 0px 20px;*/

  padding: 0px 0px; /* Snug Mode*/

  /* color: white; */
  margin: 0px auto 0px auto;
  /* box-shadow: 0px -20px 12px 3px #0000002e; */
  box-shadow: 0px 0px 12px 3px #0000002e;
  height: auto;
  transition: 1s;
  line-height: 2em;
  font-family: 'Recoleta';
  /*overflow-y: scroll;*/
  /*height: calc(100% - 100px);*/
  height: 100%;
  position: sticky;
  top: 0px;

}

#outlineWrapper textarea, #outlineWrapper input {
  background-color:white!important;
  
  font-family: 'Montserrat';
}

#outlineWrapper select {
  background-color:#dfe5e9;
  border: 2px solid white;
  font-family: 'Montserrat';
}



#outlineWrapper label {
  color:black;
}

.loading #outlineForm {
  opacity:0;
  pointer-events:none;
  height: 100px;
  transition: 1s;
}

#outlineWrapper.loading {
  background-color:white;
}

.buttonHighlight {
  background-color:yellow!important;
  
}


.outlineOpen {

left: 0px!important;


}

.file-menu-button {
  padding: 0px 8px!important;
    line-height: 27px;
    border-radius: 10px;
}

.mobileUI {
display:none;
}

/*

@media only screen and (max-width: 600px) {
  .CodeMirror-sizer {
    margin-left:10px!important;
    margin-right:10px!important;
  }

  #outlineWrapper {
    position: absolute;
    width: 100vw;
    left: -100vw;
    z-index: 200;
  }

  #inline-go-button {
    position: fixed;
    bottom: 30px;
    right: 0px;
    width: -webkit-fill-available;
    margin-left: 40px;
    margin-right: 40px;
  }
  .mobileUI {
    display:block!important;
  }

  #firepad {
    max-height: calc(100vh - 200px);
  }

  #mobileWarning {

    display:block!important;
  }

  #outlineForm {
    position: sticky;
    top: 0px;
    overflow: scroll;
    padding-bottom: 100px;
    height: calc(100vh - 100px);
  }
}
*/



.flexiContainer {
  /*background-color: red;*/
  display: flex;
  flex-direction: column;
  
}
.flexiContainer__header {
  /*background-color: green;*/
  /*padding: 0px 20px;*/

  display: flex;
  flex-direction: column;
  
}
.flexiContainer__content {
  /*background-color: yellow;*/
  /*max-height: 200px;*/
  height: -webkit-fill-available;
  overflow-y: auto;
  /*padding: 0px 20px;*/


  /* LRP ADDS make the content section fill available space */
  display: flex;
  flex-direction: column;

}


.flexiContainer__content:has(#sidebar) {
  padding-right: 0px;
}

.flexiContainer__footer {
  /*background-color: purple;*/
  /*padding: 0px 20px;*/

  display: flex;
  flex-direction: column;
}