/* OVERIRDE MAIN CONTENT*/

.main-content {
    margin-left: 16px !important;
}




/* override summernote light mode */

html[data-theme-mode="light"] .header-container,
html[data-theme-mode="light"] .note-toolbar {
    background: rgb(121 93 237 / 1) !important;
    color: #2f2b3f !important;
}

html[data-theme-mode="light"] .note-toolbar {
    background: rgb(121 93 237 / 1) !important;
    color: #2f2b3f !important;
}

html[data-theme-mode="light"] #draftpad-form .header-container {
    background: white !important;
    backdrop-filter: none;
    color: #2f2b3f !important;
}

html[data-theme-mode="light"] .note-editor.note-frame,
html[data-theme-mode="light"] .note-editable , 
html[data-theme-mode="light"] .note-modal-content,
html[data-theme-mode="light"] .note-modal-content .note-form-label, 
html[data-theme-mode="light"] .note-modal-content i,
html[data-theme-mode="light"] .note-modal-content .note-modal-body span,
html[data-theme-mode="light"] .note-dropdown-menu,
html[data-theme-mode="light"] .note-dropdown-menu a,
html[data-theme-mode="light"] .note-dropdown-menu i

{
    background: white !important;
    color: #2f2b3f !important;
}


html[data-theme-mode="light"] .note-dropdown-menu a:hover {
    background: rgb(219, 219, 219) !important;
    font-weight: bold;

}


.zen-mode .note-editor.note-frame.fullscreen .note-toolbar {
    top: -15px !important;
}
/* 
html[data-theme-mode="dark"] i.note-icon-font.note-icon-font{
    background-color: transparent !important;
}

html[data-theme-mode="light"] i.note-icon-font.note-icon-font{
    background-color: transparent !important;
}  */



/* html[data-theme-mode="light"] .note-toolbar .note-btn-group button:not(.note-color-btn) {
        background: none !important;
        color: #2f2b3f !important;
        border: none;

    } */

html[data-theme-mode="light"] .note-editable *:not(font) {
    color: #2f2b3f !important;
}

html[data-theme-mode="dark"] .note-editable *:not(font) {
    color: #f1f5f9 !important;
}


input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition-delay: 9999s;
    transition-property: background-color, color;
 
}


/* overriding css of summernote

 .note-editable h1 { font-size: 2.5rem; font-weight: bold; }
.note-editable h2 { font-size: 2rem; font-weight: bold; }
.note-editable h3 { font-size: 1.75rem; font-weight: bold; }
.note-editable h4 { font-size: 1.5rem;font-weight: bold; }
.note-editable h5 { font-size: 1.25rem;font-weight: bold; }
.note-editable h6 { font-size: 1rem;font-weight: bold; } */


.draftpad-container:not(.dark) .note-editable {
    color: #000;
    background-color: #fff;
}







/* COLOR PALLETE */
html[data-theme-mode="light"] .note-palette-title,
html[data-theme-mode="light"] .note-color-reset,
html[data-theme-mode="light"] .note-color-select {
    color: #5e567c !important;
}
.note-color-reset, 
.note-color-select {
    padding-block: 3px !important;
}

html[data-theme-mode="light"] .note-color-reset,
html[data-theme-mode="light"] .note-color-select {
    color: #0e0d13 !important;
    border: solid 1px #2f2b3f !important;
    background: rgba(47, 28, 82, 0.384) !important;
}


.note-holder-custom {
    display: none !important;
}

.note-color.open .note-dropdown-menu {
    display: flex !important;
}

.note-editable hr {
    display: block;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left: auto;
  margin-right: auto;
  border-style: inset;
  border-width: 1px;
}


.note-editor.note-frame.fullscreen .note-editable {
    height: none !important;
}



html[data-theme-mode="light"] .note-modal-body label {
    color: #0e0d13 !important;
}



.note-placeholder {
    display: block;
    font-size: 1.2rem;
    margin-top: 10px;
    margin-left: 10px;
}




/* IMAGE BACKGROUND OVERRIDEW */

.file-container {
    background: white;
}

.profile-image {
    background: white;
}


/* USERDOC EDITOR */
.userdoc-editor-container .header-container  {
    backdrop-filter: blur(100px );
}


.userdoc-editor-container .note-toolbar {
    position:  sticky !important;
    top: 70px;
}







.select2-search__field {
    outline: none;
    display: none;
    
}

  /* Style the select element */
  select.form-select{
    background-image: none;
    background-size: 2.5em auto;

  }

  select, select.form-select {
    appearance: none;  /* Remove default arrow */
    -webkit-appearance: none;  /* For Safari */
    -moz-appearance: none;     /* For Firefox */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.7em top 50%;
    background-size: 2.5em auto;
    padding-right: 3rem !important;
    /* padding-left: 1.2rem !important; */
  }


  .dark select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFFFFF'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
   
  }
  
 
  /* For IE 10/11 */
  select::-ms-expand {
    display: none;
  }




  /* custom dropdown override */
  .tree-menu-header, 
  .tree-page-header,
  .tree-submenu-header {
    line-height: normal !important;
  }



  /* button ovverrides */
  .btn.b-solid.btn-primary-solid:hover,
  .btn.b-solid.btn-danger-solid:hover
 
   {
    filter: saturate(4);
    transition: all 0.3s ease-in-out;
  }

  .btn.b-outline-static.btn-danger-outline:hover {

  }


  .btn.b-light.btn-danger-light:hover i,
  .btn.b-light.btn-primary-light:hover i
  
  {
    color: white !important;
    transition: all 0.2s ease-in-out;

  }




  /* DROPDOWN CONTAINER OVERRIDE */
  html[data-sidebar-size="sm"] .dropdown-content {
    padding-block: 15px;
  }

  html[data-sidebar-size="sm"] #app-menu-drawer {
    width: 70px;
  }


