/* Set dropdown font-families */
.ql-toolbar .ql-font span[data-label='Sailec Light']::before {
  font-family: 'Sailec Light';
}

.ql-toolbar .ql-font span[data-label='Sofia Pro']::before {
  font-family: 'Sofia';
}

.ql-toolbar .ql-font span[data-label='Slabo 27px']::before {
  font-family: 'Slabo 27px';
}

.ql-toolbar .ql-font span[data-label='Roboto Slab']::before {
  font-family: 'Roboto Slab';
}

.ql-toolbar .ql-font span[data-label='Inconsolata']::before {
  font-family: 'Inconsolata';
}

.ql-toolbar .ql-font span[data-label='Ubuntu Mono']::before {
  font-family: 'Ubuntu Mono';
}

/* Set content font-families */
.ql-font-sofia {
  font-family: 'Sofia';
}

.ql-font-slabo {
  font-family: 'Slabo 27px';
}

.ql-font-roboto {
  font-family: 'Roboto Slab';
}

.ql-font-inconsolata {
  font-family: 'Inconsolata';
}

.ql-font-ubuntu {
  font-family: 'Ubuntu Mono';
}

.ql-toolbar {
  border-color: #DFE3E7 !important;
}

.ql-toolbar .ql-formats:focus,
.ql-toolbar .ql-formats *:focus {
  outline: 0;
}

.ql-toolbar .ql-formats .ql-picker-label:hover, .ql-toolbar .ql-formats .ql-picker-label:focus,
.ql-toolbar .ql-formats button:hover,
.ql-toolbar .ql-formats button:focus {
  color: #5A8DEE !important;
}

.ql-toolbar .ql-formats .ql-picker-label:hover .ql-stroke, .ql-toolbar .ql-formats .ql-picker-label:focus .ql-stroke,
.ql-toolbar .ql-formats button:hover .ql-stroke,
.ql-toolbar .ql-formats button:focus .ql-stroke {
  stroke: #5A8DEE !important;
}

.ql-toolbar .ql-formats .ql-picker-label:hover .ql-fill, .ql-toolbar .ql-formats .ql-picker-label:focus .ql-fill,
.ql-toolbar .ql-formats button:hover .ql-fill,
.ql-toolbar .ql-formats button:focus .ql-fill {
  fill: #5A8DEE !important;
}

.ql-toolbar .ql-formats .ql-picker-label.ql-active,
.ql-toolbar .ql-formats button.ql-active {
  color: #5A8DEE !important;
}

.ql-toolbar .ql-formats .ql-picker-item.ql-selected {
  color: #5A8DEE !important;
}

.ql-toolbar .ql-formats .ql-picker-options .ql-picker-item:hover {
  color: #5A8DEE !important;
}

.ql-toolbar .ql-formats .ql-picker-options .ql-active {
  color: #5A8DEE !important;
}

.ql-bubble .ql-picker {
  color: #FFFFFF !important;
}

.ql-bubble .ql-stroke {
  stroke: #FFFFFF !important;
}

.ql-bubble .ql-fill {
  fill: #FFFFFF !important;
}

.ql-container {
  border-color: #DFE3E7 !important;
  font-family: "Rubik", Helvetica, Arial, serif;
}

.ql-editor a {
  color: #5A8DEE;
}

.ql-picker {
  color: #475F7B !important;
}

.ql-stroke {
  stroke: #475F7B !important;
}

.ql-active .ql-stroke {
  stroke: #5A8DEE !important;
}

.ql-active .ql-fill {
  fill: #5A8DEE !important;
}

.ql-fill {
  fill: #475F7B !important;
}

.ql-toolbar,
.ql-container {
  border-top-right-radius: 0.267rem;
  border-top-left-radius: 0.267rem;
}

.ql-toolbar + .ql-container,
.ql-container + .ql-toolbar {
  border-bottom-right-radius: 0.267rem;
  border-bottom-left-radius: 0.267rem;
  border-top-right-radius: unset;
  border-top-left-radius: unset;
}

.dark-layout .quill-toolbar,
.dark-layout .ql-toolbar {
  background-color: #1a233a;
  border-color: #464d5c !important;
}

.dark-layout .quill-toolbar .ql-picker,
.dark-layout .ql-toolbar .ql-picker {
  color: #FFFFFF !important;
}

.dark-layout .quill-toolbar .ql-stroke,
.dark-layout .ql-toolbar .ql-stroke {
  stroke: #FFFFFF !important;
}

.dark-layout .quill-toolbar .ql-fill,
.dark-layout .ql-toolbar .ql-fill {
  fill: #FFFFFF !important;
}

.dark-layout .quill-toolbar .ql-picker-options,
.dark-layout .quill-toolbar .ql-picker-label,
.dark-layout .ql-toolbar .ql-picker-options,
.dark-layout .ql-toolbar .ql-picker-label {
  background-color: #1a233a;
}

.dark-layout .quill-toolbar .ql-picker-options .ql-active,
.dark-layout .quill-toolbar .ql-picker-label .ql-active,
.dark-layout .ql-toolbar .ql-picker-options .ql-active,
.dark-layout .ql-toolbar .ql-picker-label .ql-active {
  color: #5A8DEE !important;
}

.dark-layout .ql-active .ql-stroke {
  stroke: #5A8DEE !important;
}

.dark-layout .ql-active .ql-fill {
  fill: #5A8DEE !important;
}

.dark-layout .ql-bubble .ql-toolbar {
  background: #464d5c;
  border-radius: 2rem;
}

.dark-layout .ql-container {
  border-color: #464d5c !important;
  background-color: #1a233a;
}

.dark-layout .ql-editor .ql-syntax {
  background-color: #1a233a;
}

.dark-layout .ql-editor.ql-blank:before {
  color: #8a99b5;
}

[data-textdirection='rtl'] .ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) i,
[data-textdirection='rtl'] .ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg {
  left: auto !important;
  right: 0;
}
