@font-face {
  font-family: font1;
  src: url(font/bachdang.TTF);
}
html {
  font-size: 14px;
}
:root {
  --cl1: #f98d85;
  --cl2: #e86a67;
  --cl3: #f9efed;
  --cl4: #201f1b;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  background: white;
  font-size: 1rem;
  overflow-x: hidden;
  font-family: arial;
  color: #666;
  font-weight: 400;
  background-color: #fff;
  margin: 0;
  line-height: 1.4;
}
img {
  max-width: 100%;
  vertical-align: middle;
  object-fit: cover;
}
ul,
li {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}

.container {
  padding: 0 10px;
}

input,
button,
textarea {
  display: block;
  width: 100%;
  /* padding: 0.3rem 0.6rem; */
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  outline: none;
  font-size: 15px;
}

.btn {
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  color: #fff;
  background-color: var(--cl1);
  padding: 0.3rem 2rem;
  line-height: 1.5;
  text-transform: uppercase;
  border-radius: 2rem;
  font-family: "font1";
  font-size: 1.2rem;
}
.style1 {
  color: var(--cl4);
  padding-bottom: 1rem;
  line-height: 2rem;
}

.style1 span {
  font-size: 1.3rem;
  text-transform: uppercase;
  display: block;
}

.style1 p {
  font-family: font1;
  font-size: 2.5rem;
}

.style1 i {
  background: var(--cl2);
  width: 70px;
  height: 2px;
  display: inline-block;
}
.w-100 {
  width: 100%;
}
.rel {
  position: relative;
}
.abs-top {
  position: absolute;
  top: -2px;
  left: -1px;
  width: 100%;
  height: 30px;
  z-index: 100;
}

.abs-bottom {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 30px;
  z-index: 100;
}

.abs-top img {
  width: 100%;
  height: 100%;
}

.abs-bottom img {
  width: 100%;
  height: 100%;
}

/* gui sdt */
div#guisdt {
  background: var(--cl1);
  padding: 7px 0;
  padding-bottom: 30px;
}
.guisdt form {
  position: relative;
}
.guisdt button {
  position: absolute;
  width: 70px;
  top: 2px;
  right: 2px;
  height: calc(100% - 4px);
  border-radius: 2rem;
  color: var(--cl1);
  text-transform: uppercase;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: initial;
}

.guisdt input {
  background: transparent;
  border-radius: 2rem;
  color: #fff;
  font-size: 1rem;
}

.guisdt input::-webkit-input-placeholder {
  /* Edge */
  color: #fff;
  font-size: 1rem;
}

.guisdt input:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #fff;
  font-size: 1rem;
}

.guisdt input::placeholder {
  color: #fff;
  font-size: 1rem;
}

/* danhmucbenh */
a.dmb-item {
  height: 30vw;
  width: 30vw;
  display: flex;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 30%);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  transition: all 0.7s;
}

a.dmb-item img {
  max-width: 35%;
}

.danhmucbenh {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-content: center;
  grid-gap: 20px 10px;
}

div#danhmucbenh {
  padding: 1rem 0;
}

a.dmb-item span {
  text-align: center;
  display: block;
  margin-top: 0.5rem;
  color: var(--cl4);
  font-size: 0.9rem;
  padding: 0 8px;
}

a.dmb-item:hover {
  background: var(--cl1);
}

a.dmb-item:hover span {
  color: #fff;
}

a.dmb-item:hover img {
  filter: brightness(0) invert(1);
}

a.dmb-item:after {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 1px dashed #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 1s;
}

a.dmb-item:hover:after {
  width: 90%;
  height: 90%;
}

/* tim hieu */
.timhieu-p > p {
  margin-bottom: 1rem;
}
div#timhieu {
  padding: 1rem 0;
}

/* tuvan */
div#tuvan {
  background: var(--cl2);
  padding: 1rem 0;
  color: #fff;
}

.tuvan {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
}

.tuvan-item {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.tuvan-img {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 1s;
  border: 1px solid transparent;
}

.tuvan-img img {
  max-width: 80%;
}

.tuvan-item:hover .tuvan-img {
  border: 1px solid #fff;
}

/* truyen thong */
div#truyenthong {
  padding: 2rem 0;
}

.truyenthong-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 2rem 1rem;
}

a.truyenthong-item {
  display: block;
  background: #fff;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 30%);
  border-radius: 10px;
  overflow: hidden;
}

.tt-more {
  padding: 10px;
}

.tt-more span {
  line-height: 17px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.9rem;
  color: #201f1b;
  font-weight: bold;
  font-style: italic;
}

a.truyenthong-item:hover span {
  color: var(--cl1);
}

.tt-abs {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  width: 40px;
  height: 40px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-self: center;
}

/* dathen */
div#dathen {
  background: #f9efed;
  padding: 2rem 0;
}

.dathen-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 25px;
}

.dathen-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dathen-img {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0px 0px 14px var(--cl1);
}

.dathen-content h4 {
  font-size: 1.1rem;
  font-family: "font1";
  padding: 0.5rem 0;
  text-align: center;
  font-weight: bold;
}

.dathen-content {
  color: var(--cl4);
}

.dathen-content p {
  text-align: center;
  color: var(--cl4);
  font-size: 0.9rem;
}

.dathen-t {
  margin-bottom: 2rem;
}

.dathen-p {
  background: #fff;
  padding: 1.5rem;
  /* position: relative; */
}

.dh-f-item {
  margin-bottom: 15px;
}

.dathen-p textarea {
  width: 100%;
  resize: none;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

.dh-f-item label {
  display: inline-block;
  margin-bottom: 5px;
}

.dathen-p button {
  width: 60%;
}
.dh-abs {
  background: rgb(249 141 133 / 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-transform: uppercase;
  font-family: "font1";
  font-size: 1.5rem;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  padding: 0.5rem 0;
}

/* cam nhan */
.camnhan-top {
  background: url(img/bai-viet-bg.jpg);
  padding: 2rem 0;
  background-position: center;
  background-size: contain;
  padding-bottom: 200px;
}

.camnhan-top .style1 {
  color: #fff !important;
}

.camnhan-top .style1 i {
  background: #fff;
}
.camnhan-content {
  margin: 5px 1rem;
  background: #fff;
  box-shadow: 0px 0px 5px rgb(0 0 0 / 30%);
  padding: 1rem;
  position: relative;
  padding-top: 50px;
  margin-top: 85px;
  border-radius: 10px;
}

div#camnhan .container {
  position: relative;
  margin-top: -200px;
  z-index: 100;
}

.camnhan-img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -90px;
}

.camnhan-img img {
}

.camnhan-main p {
  text-align: center;
  margin-bottom: 15px;
}

.camnhan-info {
  text-align: center;
}

.camnhan-main {
  text-align: center;
}

.camnhan-main img {
  display: inline-block;
}

.camnhan-info span {
  font-size: 25px;
  font-family: "font1";
  text-transform: capitalize;
}

.camnhan-slider .slick-dots {
  bottom: -40px;
}

.camnhan-slider .slick-dots li button:before {
  width: 30px;
  height: 6px;
  content: "";
  border-radius: 10px;
  background: gray;
}

.camnhan-slider .slick-dots li button {
  width: 30px;
  height: 6px;
}

.camnhan-slider .slick-dots li.slick-active button:before {
  color: black;
  background: var(--cl2);
  opacity: 1;
}

.camnhan-slider .slick-dots li {
  margin: 0 10px;
}

/* moitruong */
div#moitruong {
  padding: 2rem 0;
}

.moitruong-item a {
  display: block;
  margin: 0 0.5rem;
  box-shadow: 0px 0px 5px #ccc;
}

/* footer */
/* footer */
#footer {
  background: url(img/ft-bg.jpg) center;
  padding-top: 50px;
}

.footer {
  color: #fff;
}

.ft-1 > a {
  display: block;
  margin-bottom: 20px;
  text-align: center;
}

.ft-1 ul {
  margin-bottom: 15px;
}

.ft-1 li {
  display: grid;
  grid-template-columns: 16px auto;
  grid-gap: 10px;
}

.ft-1 ul li:not(last-child) {
  margin-bottom: 8px;
}

.footer h3 {
  text-transform: capitalize;
  margin-bottom: 10px;
  padding-bottom: 4px;
  font-family: "font1";
  font-weight: 500;
  font-size: 1.5rem;
}

.footer h3:before {
  content: "/";
  color: var(--cl6);
  margin-right: 2px;
  display: inline-block;
}

.ft-2 li a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 9px;
  margin-top: 9px;
  /* font-size: 15px; */
}

.ft-2 ul li:not(:last-child) {
  border-bottom: 1px solid rgb(255 255 255 / 30%);
}

.ft-3 p {
  margin-bottom: 20px;
}

.ft-3 input,
.ft-3 textarea {
  margin-bottom: 8px;
}

.ft-3 textarea {
  font-family: arial;
  resize: none;
}

.ft-map {
  margin-bottom: 15px;
}

.ft-3 {
  padding-bottom: 15px;
}

.ft-3 form {
  text-align: center;
}

.ft-3 form button {
  display: inline-block;
  max-width: 60%;
  border: none;
}

.ft-2 {
  margin-bottom: 20px;
}
.ft-bt {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.8rem;
  line-height: 14px;
  color: #fff;
  border-top: 1px solid rgb(255 255 255 / 20%);
  padding: 5px 0;
}

.ft-1 > a img {
  filter: brightness(0) invert(1);
}

/* nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  background: #fff;
  padding: 7px;
  box-shadow: 0px 0px 2px rgb(0 0 0 / 30%);
  border-radius: 5px;
}

.nav-menu img {
  max-width: 1rem;
}

.nav-logo img {
  max-width: 16rem;
}

.nav-search img {
  max-width: 1rem;
}

div#nav {
  position: sticky;
  z-index: 10000;
  top: -1px;
  left: 0;
  width: 100%;
  margin-top: -20px;
  margin-bottom: -20px;
  max-height: 40px;
}
#header-search {
  position: absolute;
  left: 0;
  width: 100%;
  top: calc(100% + 10px);
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  -webkit-transform: scaleY(0);
  -ms-transform: scaleY(0);
  transform: scaleY(0);
  -webkit-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  transform-origin: 0 0;
}
div#header-search.active {
  transform: scaleY(1);
}

button#btn-search {
  position: absolute;
  width: auto;
  top: 2px;
  right: 2px;
  height: calc(100% - 4px);
  font-size: 0.9rem;
  background: var(--cl1);
  color: #fff;
}


/* cat */
.baiviet-item > a {
  display: block;
}

.baiviet-item div {
  padding: 10px;
}

.baiviet-item {
  margin-bottom: 1rem;
}

.baiviet-item div h4 a {
  color: var(--cl1);
  margin-bottom: 5px;
  display: block;
}

.baiviet-item div p {
  text-align: justify;
  margin-bottom: 10px;
}

ul.pagination {
  display: flex;
  margin-bottom: 1rem;
  gap: 5px;
}

li.page-item a {
  display: inline-block;
  box-shadow: 0px 0px 7px #ccc;
  padding: 2px 8px;
}


li.page-item.active {
  background: var(--cl1);
}

li.page-item.active a {
  color: #fff;
}

div#cat {
    padding: 2rem 0;
}

.cat .style1 p {
    font-size: 2rem;
}

/* post page */
div#content h1 {
  color: var(--cl1);
  border-bottom: 1px solid;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  text-transform: uppercase;
}

div#cat {
  padding: 1rem 0;
}

div#content p {
  margin-bottom: 1rem;
}

div#content h2 {
  font-size: 1.1rem;
  line-height: 18px;
  margin-bottom: 1rem;
  color: var(--cl2);
}

div#content img {
  height: auto!important;
}
/* post page */


/* hkt-select */

/* The container must be positioned relative: */
.hkt-select {
  position: relative;
    font-family: Arial;
    margin-bottom: 1rem;
    padding: 5px 0;
    box-shadow: 0px 0px 3px rgb(0 0 0 / 30%);
}

.hkt-select select {
  display: none; /*hide original SELECT element: */
}

/* Style the arrow inside the select element: */
.select-selected:after {
  position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: var(--cl1) transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}

/* style the items (options), including the selected item: */
.select-items div,.select-selected {
  color: #ffffff;
    padding: 8px 16px;
    cursor: pointer;
    position: relative;
}

/* Style items (options): */
.select-items {
  position: absolute;
    background-color: var(--cl1);
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}

/* Hide the items when the select box is closed: */
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}

.select-selected:before {
  content: "";
  position: absolute;
  background: var(--cl1);
  z-index: -1;
  top: 0;
  left: 0;
  height: 100%;
  width: 70%;
  border-top-right-radius: 2rem;
  border-bottom-right-radius: 2rem;
}

.select-items div {
  border-bottom: 1px solid rgb(255 255 255 / 30%);
}

/* tintuc list */
.tintuc-list {
  margin-bottom: 1rem;
}

a.tintuc-item p {
  color: var(--cl4);
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 20px;
  padding: 10px 0;
}

.tintuc-list-2 a {
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: 100px auto;
  grid-gap: 1rem;
  align-items: center;
}

.tintuc-list-2 div span {
  font-size: .9rem;
  font-style: italic;
}

.tintuc-list-2 div p {
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 5px;
}

div#tintuc {
  padding: 20px 0;
}