:root {
  --main0: #b3afaf;
  --main1: #e28547;
  --main2: #9f5424;
  --main3: #561d00;
  --main4: #ffcf9c;
  --main5: #ffefa3;
  --text-color1: #ffcf9c;
  --text-color2: #ad4105;
  --text-color3: #1e5b7e;
  --text-color4: #023481;
  --text-color5: #676767;
  --text-color6: #fdf2f2;
  --tbl-bg1: #dedede;
  --tbl-bg2: #f9f0da;
  /**/
  --line-flat1: #d3b087;
  --line-flat2: #c1c1c1;
  --nav-bg: #e9a040;
  --footer-bg: #e28637;
  --link-actor: #1e5b7e;
  --border-color: #ccc;
  --btn-color-suc: #28a745;
  --btn-color: #7fc689;
}

* {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
  background-color: var(--main0);
}

.container {
  max-width: 630px;
  margin: 0 auto;
  /* background-color: var(--main1);
  border-radius: 6px; */
}

.header-top {
  height: 42px;
  background: url(/img/banner-top.png) repeat-x;
  border-radius: 6px;
  z-index: 100;
}

.header-logo {
  height: 70px;
  margin-top: -10px;
  background-color: var(--main1);
}

.header-bot {
  height: 59px;
  background: url(/img/banner-bottom.png) repeat-x;
  background-color: var(--main1);
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.header-logo div {
  display: flex;
  justify-content: center;
  background-color: var(--main1);
}

.header-logo a img {
  margin-top: -30px;
}

.nav {
  margin-top: -44px;
}

.nav ul {
  list-style-type: none;
  padding-inline-start: 0px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  background-color: var(--main3);
  height: 24px;
  gap: 4px;
  padding: 0px 4px;
}

.banner-bot {
  background-color: var(--main1);
  height: 2px;
  margin-top: -15px;
}

.nav li {
  width: 100%;
  background-color: var(--main2);
  height: 16px;
  text-align: center;
  font-size: 12px;
}

.nav a {
  color: var(--text-color1);
  text-decoration: none;
  transition: 0.3 ease;
}

.nav a:hover {
  text-decoration: underline;
  cursor: pointer;
  opacity: 1;
}

.nav .nav-now {
  background-color: var(--nav-bg);
  background: url(/img/nav-now-bg.png);
}

.nav .nav-now a {
  color: var(--main3);
}

.footer {
  height: 57px;
  background-color: var(--main1);
}

.footer-bg-top {
  margin-top: -52px;
  background: url(/img/footer-top.png) no-repeat;
  height: 48px;
}

.footer-bg {
  margin-top: 31px;
  background: url(/img/footer.png) var(--footer-bg) repeat-x;
  height: 26px;
  border-radius: 6px;
}

.content {
  background-color: var(--main4);
  border: 2px solid var(--main3);
  padding-bottom: 8px;
  padding-left: 2px;
  padding-right: 2px;
}

.content-down img {
  height: 44px;
}

.content-down-1 {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.content-down-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-title {
  color: var(--main2);
  font-weight: 500;
  font-size: 15px;
}

.hr1 {
  margin-top: 1px;
  border: 0.5px solid var(--line-flat1);
}

.content p {
  font-size: 12px;
}

.content-info {
  display: flex;
  justify-content: space-between;
  bottom: -5px;
  position: relative;
}

.content-info-link {
  font-size: 12px;
  color: var(--main2);
  cursor: pointer;
}

.content-info-time {
  font-size: 9px;
}

.login {
  font-size: 12px;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.login input {
  border-radius: 5px;
  height: 20px;
  border: none;
  font-weight: 550;
  width: 90%;
}

.thong-bao-dang-nhap {
  font-size: 12px;
}

.thong-bao-dang-nhap a {
  text-decoration: none;
  color: var(--main2);
}

.thong-bao-dang-nhap ul {
  margin-block-end: -3px;
}

.napluong {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.taive {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.taive table {
  color: var(--main2);
  text-decoration: none;
  font-size: 12px;
}

.taive img {
  height: 15px;
  width: 13px;
  margin-right: 5px;
}

.title-diendan {
  display: flex;
  justify-content: space-between;
}

.title-diendan a,
.title-diendan {
  background-color: var(--main3);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
}

.title-diendan a {
  text-decoration: none;
  margin-left: -10px;
  font-size: 11px;
  font-weight: 500;
}

.content-baidang-admin {
  display: flex;
  flex-direction: column;
  padding-top: 5px;
  padding-left: 15px;
  font-size: 12px;
  line-height: 15px;
}

.hr2 {
  margin-bottom: 1px;
  border: 0.5px solid var(--line-flat2);
}

.link-actor {
  color: var(--link-actor);
  text-decoration: none;
}

.link-actor:hover {
  text-decoration: underline;
}

.content-baidang-admin.mem {
  padding-left: 5px;
}

.title-diendan.page {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  height: 23px;
}

.btn-page {
  background-color: white;
  border: 2px solid #e5e5e5;
  color: var(--text-color2);
  font-weight: 600;
  cursor: pointer;
}

.btn-page.now {
  background-color: var(--main3);
  border: 2px solid #e5e5e5;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.content-bottom {
  padding-left: 10px;
}

.content-bot-1 {
  font-size: 13px;
  color: var(--text-color3);
  font-weight: 550;
}

.content-bot-2 {
  font-size: 12px;
  top: -4px;
  position: relative;
  font-weight: 450;
}

.taikhoan a,
.nav-user {
  color: var(--link-actor);
  text-decoration: none;
}

.taikhoan a:hover,
.nav-user:hover {
  color: red;
  text-decoration: underline;
  cursor: pointer;
}

.taikhoan {
  font-size: 12px;
  margin-top: 10px;
}
.taikhoan2 {
  font-size: 12px;
  background-color: var(--tbl-bg2);
}

.content .viewinfo {
  margin: 0 auto;
  width: 90%;
  margin-top: 50px;
}

.taikhoan label {
  font-weight: 500;
}

.taikhoan th {
  min-width: 100px;
}
.taikhoan2 th {
  font-weight: 500;
  min-width: 100px;
  vertical-align: bottom;
  text-align: right;
  background-color: var(--tbl-bg1);
  padding: 2px 5px 2px 2px;
  margin: 3px 5px 2px 5px;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: #c1c1c1;
  width: 70px;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-bottomleft: 4px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.taikhoan2 td {
  font-weight: 500;
  border-width: 0px 0px 1px 0px;
  padding: 2px 0px 2px 2px;
  border-style: solid;
  border-color: #c1c1c1;
}

.btn-new-thread {
  font-size: 14px;
}

.trang-login {
  text-align: center;
}

.trang-login label {
  font-size: 12px;
  font-weight: 500;
}

.trang-login input {
  border-radius: 4px;
  padding: 2px 2px;
  border: 1px solid var(--border-color);
  width: 90%;
}

.trang-login button {
  font-size: 12px;
  margin-top: -5px;
  margin-bottom: -5px;
}

.center-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.btn-new-thread a {
  color: black;
  text-decoration: none;
}

.new-thread {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  padding-left: 10px;
  padding-right: 30px;
}

.new-thread label {
  font-weight: 600;
  margin: 4px 0px;
}

.new-thread textarea {
  resize: none;
  min-height: 300px;
}

.btn-new-thread {
  margin-top: 20px;
  padding-left: 10px;
}

.btn-new-thread button {
  min-width: 80px;
}

.paging {
  text-decoration: none;

  color: var(--text-color2);
}

.paging.now {
  color: white;
}

.btn-page:hover {
  background-color: var(--main3);
  color: white;
  cursor: pointer;
}

.chude-title {
  background-color: var(--main5);
  margin: 5px 5px;
  padding: 10px 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chude-title .ava {
  display: flex;
  flex-direction: column;
}

.chude-title .ava span {
  font-size: 10px;
  margin-top: 4px;
}

.chude-content {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  width: calc(100% - 45px - 20px - 10px);
}

.chude-title2 {
  margin: 5px 5px;
  margin-top: -15px;
  background-color: var(--main5);
  padding: 10px 10px;
  font-size: 10px;
  color: var(--text-color5);
  display: flex;
  justify-content: space-between;
}

.adver {
  background-color: var(--main4);
  display: flex;
  justify-content: center;
  font-size: 12px;
  gap: 5px;
  padding: 15px 10px;
  padding-bottom: 20px;
}

.adver a {
  text-decoration: none;
  color: var(--link-actor);
}

.box-content {
  margin-top: -5px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.btn-quote {
  width: 18px;
}

.quote-view {
  background-color: var(--text-color6);
  border-radius: 5px;
  margin: 10px 10px;
  padding: 5px 5px;
  width: 80%;
  word-wrap: break-word;
}

.quote-view-cmt {
  background-color: var(--text-color6);
  border-radius: 15px;
  padding: 10px 10px;
  margin-bottom: 5px;
  font-size: 10px;
  margin-bottom: 15px;
}

.taikhoan3,
.tbl-author {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  background-color: var(--main4);
  margin-top: -1px;
  gap: 5px;
}

.taikhoan3,
.tbl-author table {
  width: calc(100% - 3px - 3px);
  font-size: 12px;
  margin-bottom: 5px;
  margin-top: 5px;
  table-layout: fixed;
}

.tbl-author table {
  word-break: break-all;
}

.taikhoan3 th,
.tbl-author th {
  padding: 4px 9px;
}

.taikhoan3 td,
.tbl-author td {
  padding: 4px 4px;
  width: 95%;
}

.form-cmt {
  background-color: var(--main4);
  padding: 4px 0px;
  padding-left: 50px;
  display: flex;
  flex-direction: column;
  align-items: start;
}

.form-cmt textarea {
  width: 60%;
  height: 100px;
  resize: none;
}

.quote-view-cmt {
  word-wrap: break-word;
  width: 80%;
}

.index {
  color: var(--text-color5);
  font-size: 10px;
  position: absolute;
  margin-top: -1px;
  margin-left: 5px;
}

.conainter-naptien {
  max-width: 600px;
  margin: 0 auto;
}

.naptien-content {
  background-color: white;
  border-radius: 10px;
}

.naptien-banner {
  padding: 10px 10px;
  text-align: center;
}

.naptien-banner img {
  max-width: 200px;
}

.naptien .naptien-section {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  padding: 14px 14px;
  gap: 5px;
}

.naptien select,
.naptien input {
  padding: 8px 8px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

.naptien-section table,
.naptien-section td,
.naptien-section th {
  border: 1px solid var(--border-color);
  border-collapse: collapse;
  padding: 12px 12px;
  text-align: left;
}

.btn-thanhtoan {
  background-color: var(--btn-color-suc);
  border: none;
  padding: 10px 10px;
  color: white;
  width: 100%;
  border-radius: 5px;
}

#hienqrnap {
  display: flex;
  justify-content: center;
}

.qr-show {
  width: 100%;
  max-width: 400px;
}

.btn-thanhtoan:hover {
  cursor: pointer;
}

.test {
  word-wrap: break-word;
}

#icon-select img,
.icon-show-area {
  width: 50px;
  cursor: pointer;
}

.tbl-icon-show {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  width: 80%;
}

.like-show-area {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.edit-remove-cmt {
  font-size: 10px;
  display: flex;
  width: 25%;
  gap: 7px;
  flex-direction: column;
}

.napthe-select {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 10px 0px;
}

.btn-select-nap {
  padding: 8px 8px;
  background-color: #e7e7e7;
  border: none;
  border-radius: 10px;
}

.btn-select-nap.active {
  background-color: #04aa6d;
}

.btn-select-nap:hover {
  cursor: pointer;
}

@media screen and (max-width: 992px) {
}

@media screen and (max-width: 600px) {
  .quote-view-cmt {
    word-wrap: break-word;
  }

  .mobile-login-notice {
    text-align: center;
  }
}
