@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@200..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --theme-color: rgb(183, 138, 40);
}

html, body {
    font-size: 14px;
}

html[lang="zh"], html[lang="zh"] body {
    font-family: "Noto Serif SC";
}

html[lang="vi"], html[lang="vi"] body {
    font-family: "Noto Serif", Palatino;
}

.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:visited {
    background-color: var(--theme-color) !important;
    border: none;
}

.cursor-pointer {
    cursor: pointer;
}

.form-floating .form-control {
    border: none;
    border-bottom: 1px solid #ced4da;
    border-radius: 0;
    box-shadow: none;
    background-color: transparent;
}
.form-floating .form-control:focus {
    border-bottom: 2px solid #0d6efd;
    box-shadow: none;
    background-color: transparent;
}
.form-floating label,
.form-floating label::after {
    background-color: transparent !important;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

header {
    background-color: #27408B;
    height: 3.375rem;
}

main {
    max-width: 60rem;
    margin: auto;
}

main article {
    font-size: 1.45em;
    text-indent: 2em;
}

#book-tab > li > button.active {
    border-bottom: none !important;
    border-top-left-radius: 0.6rem;
    border-top-right-radius: 0.6rem;
}

.list-group-item.active {
    border-color: var(--theme-color);
}
.list-group-item.active a {
    color: var(--theme-color);
}

.page-item {
    min-width: 2.5rem;
    text-align: center;
}
.page-item a {
    font-size: small;
}

.palette-setting .color-option {
    align-items: center;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    height: 55px;
    justify-content: center;
    position: relative;
    width: 55px;
}

.palette-setting .color-option.active i {
    display: inline-block!important;
}

.palette-setting .color-option.back-color-1 {
    background: rgba(250,245,235,.8);
}

.palette-setting .color-option.back-color-2 {
    background: rgba(245,234,204,.8);
}

.palette-setting .color-option.back-color-3 {
    background: rgba(230,242,230,.8);
}

.palette-setting .color-option.back-color-4 {
    background: rgba(228,241,245,.8);
}

.palette-setting .color-option.back-color-5 {
    background: rgba(255,255,255,.8);
}

/* PC */
@media only screen and (min-width: 770px) {
  .mobile-ver {
      display: none;
  }
}

/* Mobile */
@media only screen and (max-width: 768px) {
  .pc-ver {
      display: none;
  }
}