body {
  font-family: "Poppins", sans-serif;
}

.ajax_loader {
  color: black;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: fixed;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
}

.ajax_loader i {
  position: absolute;
  left: 50%;
  top: 50%;
}

#editor-section {
  color: black;
  max-width: 720px;
  min-width: 300px;
  margin: auto;
  height: 100%;
  overflow-y: auto; /* adds scrollbar */
  padding: 1% 5%;
}

#editor-appbar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 500;
}

#editor-appbar-header {
  display: flex;
  align-items: center;
}

#editor-appbar-title {
  height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1; /* number of lines to show */
  -webkit-box-orient: vertical;
}

#title-count-div {
  margin-bottom: 24px;
}

#editor-title-input {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 15px;
  caret-color: #202653;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #ccd3da;
  outline: none;
  padding: 16px 0px 16px 10px;
  margin: 4px 0px;
}

.ql-font-poppins {
  font-family: "Poppins";
}

.ql-font-roboto {
  font-family: "Roboto";
}

#editor-title-input::placeholder {
  color: #969fa8;
}

#editor-title-input:focus {
  border: 0;
  border-bottom: 1px solid #202653;
}

#editor-container {
  height: 50vh;
  max-height: 60vh;
  margin-bottom: 4px;
  border-radius: 8px;
}

.editor-toolbar-button {
  width: 16px;
  height: 16px;
  margin: 5px;
  padding: 5px;
  margin-top: 15px;
  margin-bottom: 20px;
}

.select {
  appearance: none;
  background: url("./img/select-arrow.svg") no-repeat right 9px center;
  min-width: 133px;
  height: 38px;
  border: #ccd3da solid 1px;
  border-radius: 8px;
  padding: 8px 25px 8px 12px;
  outline: 0 none;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
}

.select option {
  background: white;
  color: black;
  padding: 3px 0;
}

.select:hover {
  border: #6330cd solid 1px;
  color: #6330cd;
}

.not-default-select {
  border: #6330cd solid 1px;
  color: #6330cd;
}

#author-word-input {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  min-height: 100px;
  border: #ccd3da solid 1px;
  border-radius: 8px;
  padding: 16px;
  overflow: auto;
  resize: none;
  width: 100%;
  box-sizing: border-box;
}

#author-word-count-div {
  margin-bottom: 80px;
}

#author-note-title {
  font-size: 14px;
  font-weight: 700;
  color: #969fa8;
}

/*
Count text
*/
.count-text {
  font-size: 10px;
  font-weight: 400;
  text-align: right;
  color: #2f3342;
}

/*
Buttons
*/

#btn-delete {
  display: flex;
  justify-content: center;
  color: #969fa8;
  font-weight: 500;
  font-size: 14px;
  text-decoration: underline;
}

.appbar-item {
  padding: 10px;
}

#btn-back {
  height: 25px;
  width: 25px;
  border-radius: 50%;
  justify-content: center;
  display: flex;
  align-items: center;
  padding: 10px 15px 10px 15px;
  margin-right: 10px;
}

#btn-back img {
  width: 14px;
  height: 14px;
  display: block;
}

#btn-preview {
  border-radius: 8px;
}

#btn-back:hover,
#btn-preview:hover {
  background-color: #c7c7cc;
}

#btn-container {
  padding: 0;
  display: flex;
  margin-bottom: 32px;
}

.editor-btn {
  height: 56px;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

#btn-save {
  background-color: #969fa8;
  width: 30%;
}

#btn-publish {
  background-color: #202653;
  width: 70%;
  margin-left: 8px;
}

#btn-save:hover {
  border: none;
  background-color: rgb(99, 118, 136);
}

#btn-publish:hover {
  border: none;
  background-color: #020c55;
}

.jcenter {
  position: absolute;
  top: 50%;
  left: 50%;
  /*요소의 높이/너비의 반(50%)만큼 위/왼쪽으로 이동*/
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.jcenter-img {
  width: 100px;
  height: 100px;
}

.ql-editor {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.ql-clipboard {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.ql-container {
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-size: 13pt;
}

/*
Media query
*/
@media only screen and (max-width: 400px) {
  .editor-toolbar-button {
    width: 16px;
    height: 16px;
    margin: 5px;
    padding: 5px;
    margin-bottom: 20px;
  }
}
