@font-face {
  font-family: font1;
  src: url(font/bachdang.TTF);
}

:root {
  --cl1: #8066c7;
  --cl2: #745db5;
  --cl3: #f9efed;
  --cl4: #201f1b;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  background: white;
  font-size: 16px;
  overflow-x: hidden;
  font-family: arial;
  color: #555;
  font-weight: 400;
  background-color: #fff;
  margin: 0;
  line-height: 1.4;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  object-fit: cover;
}
ul,
li {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
.btn-1 {
  width: auto;
  background: var(--cl2);
  border-radius: 2rem;
  color: #fff;
  text-transform: uppercase;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

input,
button {
  display: block;
  width: 100%;
  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;
  border: 1px solid transparent;
  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.4rem 2rem;
  line-height: 1.5;
  border-radius: 2rem;
  text-transform: uppercase;
  font-family: Times New Roman;
}
.w-100 {
  width: 100%;
}
.d-block {
  display: block;
}

.style1 {
  color: var(--cl4);
  padding-bottom: 30px;
  line-height: 30px;
}

.style1 span {
  font-size: 22px;
  text-transform: uppercase;
  display: block;
}

.style1 p {
  font-family: font1;
  font-size: 50px;
}

.style1 i {
  background: var(--cl2);
  width: 70px;
  height: 2px;
  display: inline-block;
  margin-top: 25px;
}


/* home */

/* header */
header {
  background: var(--cl1);
  color: #fff;
  padding: 12px;
  padding-bottom: 50px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-t {
  display: flex;
  align-items: center;
  gap: 30px;
}
.header-t span {
  font-size: 14px;
}

.header-p {
  position: relative;
}

button#btn-search {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 20%;
  background: transparent;
  background-image: url(img/header-search.png);
  background-repeat: no-repeat;
  background-position: center;
  border: none;
}

input#txt-search {
  background: transparent;
  border-radius: 2rem;
  padding: 0.2rem 0.6rem;
  color: #fff;
  font-style: italic;
}

.header-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

#txt-search::-webkit-input-placeholder {
  /* Edge */
  color: #fff;
}

#txt-search:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #fff;
}

#txt-search::placeholder {
  color: #fff;
}

/* nav */
.nav {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0px 0px 5px rgb(0 0 0 / 30%);
  border-radius: 10px;
  padding: 14px;
}

.nav-p > ul > li > a {
  text-transform: uppercase;
  color: var(--cl4);
  padding: 8px 30px;
  display: block;
}

li.has-sub {
  position: relative;
}

.nav-p > ul {
  display: flex;
  align-items: center;
}

ul.sub {
  display: none;
  position: absolute;
  background: #fff;
  box-shadow: 0px 0px 3px var(--cl1);
  min-width: 100%;
  width: max-content;
}

.nav-logo img {
  max-width: 300px;
}

li.has-sub:hover .sub {
  display: block;
}

ul.sub a {
  display: block;
  padding: 8px 30px;
}

.nav-p a:hover {
  background: var(--cl1);
  color: #fff;
}
nav {
  position: relative;
  margin-top: -35px;
  margin-bottom: -35px;
  z-index: 1000;
}

/* banner */
.rel {
  position: relative;
}

.abs-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* danhmucbenh */
a.dmb-item {
  height: 180px;
  width: 180px;
  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(6, 1fr);
  grid-gap: 20px;
  align-items: center;
  justify-content: center;
}

div#danhmucbenh {
  padding: 40px 0;
}

a.dmb-item span {
  text-align: center;
  padding: 0 30px;
  display: block;
  line-height: 18px;
  margin-top: 10px;
  color: var(--cl4);
}

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 {
  display: grid;
  grid-template-columns: 480px auto;
  grid-gap: 25px;
  align-items: center;
}
.timhieu-p > p {
  text-align: justify;
  margin-bottom: 20px;
}
div#timhieu {
  padding: 20px 0;
}

/* tuvan */
div#tuvan {
  background: var(--cl2);
  padding: 20px 0;
  color: #fff;
}

.tuvan {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.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: 60%;
}

.tuvan-item:hover .tuvan-img {
  border: 1px solid #fff;
}

/* truyen thong */
div#truyenthong {
  padding: 40px 0;
}

.truyenthong-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 24px;
}

a.truyenthong-item {
  display: block;
  background: #fff;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 30%);
  border-radius: 10px;
  overflow: hidden;
}

.tt-more {
  display: grid;
  grid-template-columns: 40px auto;
  grid-gap: 10px;
  align-items: center;
  padding: 10px;
}

.tt-more span {
  line-height: 17px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  color: #201f1b;
  font-weight: bold;
  font-style: italic;
}

a.truyenthong-item:hover span {
  color: var(--cl1);
}

/* dathen */
div#dathen {
  background: #f9efed;
  padding-bottom: 50px;
}

.dathen {
  /*display: grid;
  grid-gap: 30px;
  grid-template-columns: auto 380px;*/
}

.dathen-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 25px;
}

.dathen-item {
  display: grid;
  grid-template-columns: 60px auto;
  grid-gap: 20px;
  align-items: flex-start;
}

.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: 25px;
  font-family: "font1";
  margin-bottom: 5px;
}

.dathen-content {
  color: var(--cl4);
}

.dathen-content p {
  text-align: justify;
}

.dathen-t {
  padding-top: 50px;
}

.dathen-p {
  background: #fff;
  padding: 30px;
  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 {
  position: absolute;
  background: rgb(249 141 133 / 70%);
  bottom: 100%;
  width: 100%;
  left: 0;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-transform: uppercase;
  font-family: "font1";
  font-size: 25px;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

/* tintuc */
div#tintuc {
  padding: 40px;
}

.tintuc {
  display: grid;
  grid-template-columns: 280px auto;
  grid-gap: 24px;
}

.tintuc-tab {
  box-shadow: 0px 0px 5px rgb(0 0 0 / 30%);
  padding: 25px 35px 25px 0;
  border-radius: 10px;
}

.tintuc-tab-item {
  padding: 11px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 15px auto;
  align-items: center;
}

.tintuc-tab-item.active {
  background: var(--cl1);
  color: #fff;
  border-top-right-radius: 3rem;
  border-bottom-right-radius: 3rem;
}
.tintuc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 24px;
  margin-bottom: 24px;
}

a.tintuc-item {
  display: block;
}

a.tintuc-item img {
  width: 100%;
  height: 250px;
  object-fit: fill;
}

a.tintuc-item p {
  padding: 10px;
  font-weight: bold;
  color: var(--cl4);
  text-transform: uppercase;
}

.tintuc-list-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 25px;
}

.tintuc-list-2 a {
  display: grid;
  grid-template-columns: 100px auto;
  grid-gap: 15px;
  align-items: center;
}

.tintuc-list-2 a p {
  color: var(--cl4);
  margin-bottom: 3px;
}

.tintuc-list-2 a span {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tintuc-list-2 a span img {
  margin-bottom: 3px;
}

.tintuc-list-2 a:hover p {
  color: var(--cl2);
}

a.tintuc-item:hover p {
  color: var(--cl2);
}

.tintuc-tab-item img {
  margin-bottom: 3px;
}

.tintuc-tab-item.active img {
  filter: brightness(0) invert(1);
}

/* moi truong */
.moitruong-item a {
  display: block;
  margin: 0 5px;
  box-shadow: 0px 0px 3px var(--cl);
}

.moitruong-rel {
  position: relative;
}

.mt-prev {
  position: absolute;
  top: 48%;
  left: -30px;
  cursor: pointer;
}

.mt-next {
  position: absolute;
  top: 48%;
  right: -30px;
  cursor: pointer;
}

div#moitruong {
  padding: 40px 0;
}


/* cam nhan */
.camnhan-top {
  background: url(img/bai-viet-bg.jpg);
  padding: 50px 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: 100px;
  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;
}

/* footer */
footer {
  background: url(img/ft-bg.jpg);
  background-position: center;
  background-size: contain;
  color: #fff;
  padding: 40px 0;
  padding-top: 80px;
  padding-bottom: 0;
}

.abs-top {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  z-index: 100;
}

.abs-top img {
  width: 100%;
}

.footer {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-gap: 20px;
}

.ft-1>a img {
  filter: brightness(0) invert(1);
}

.ft-1 > a {
  margin-bottom: 25px;
  display: block;
}

.ft-1 li {
  display: grid;
  grid-template-columns: 20px auto;
  grid-gap: 7px;
}

.ft-1 li:not(:last-child) {
  margin-bottom: 8px;
}

.ft-1 ul {
  margin-bottom: 20px;
}

.footer h3 {
  text-transform: capitalize;
  margin-bottom: 15px;
  font-size: 25px;
  font-family: 'font1';
  font-weight: 200;
}

.ft-2 a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #fff;
}

.ft-3 p {
  margin-block: 20px;
}

.ft-3 input {
  margin-bottom: 10px;
}

.ft-3 textarea {
  display: block;
  margin-bottom: 10px;
  padding: 0.375rem 0.75rem;
  width: 100%;
  resize: none;
  font-family: arial;
  font-size: 16px;
  border-radius: .25rem;
  border: none;
}

.footer h3:before {
  content: "/";
  font-weight: bold;
  margin-right: 5px;
}
.cpy {
  text-align: center;
  padding: 10px;
  border-top: 1px solid rgb(255 255 255 / 30%);
  margin-top: 15px;
}

/* cat */
.cat {
  display: grid;
  grid-template-columns: 25% auto;
  grid-gap: 20px;
}

div#cat-list a {
  border-bottom: 1px dotted var(--cl5);
  padding: 8px;
  text-transform: capitalize;
  position: relative;
  cursor: pointer;
  display: block;
}

div#cat {
  padding: 40px 0;
  /* background: var(--cl5); */
}

div#cat-list {
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0px 0px 3px rgb(0 0 0 / 30%);
}

div#cat-list a:after {
  position: absolute;
  content: "";
  height: 1px;
  width: 0;
  background: var(--cl2);
  left: 0;
  top: 100%;
  transition: all .7s;
}

div#cat-list a:hover:after {
  width: 100%;
}

div#cat-list a:hover {
  color: var(--cl2);
}

div#content h1 {
  color: var(--cl2);
  border-bottom: 1px solid;
  margin-bottom: 1rem;
}

div#content p {
  margin-bottom: 1rem;
}

.cat-bv {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-gap: 20px;
}

.cat-bv-item {
  background: #fff;
}

.cat-bv-item>a {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.bt-main {box-shadow: 0px 0px 5px rgb(0 0 0 / 20%);}

.bt-main>p {
  padding: 1rem;
}

.bt-main>a {
  background: var(--cl1);
  color: #fff;
  margin-left: 1rem;
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 14px;
  padding: 5px 15px;
}

.b-t {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(2,1fr);
  margin-bottom: 20px;
}

.b-t-item img {
  width: 100%;
  object-fit: cover;
  height: 100%;
}

a.bt-abs {
  background: url(img/mask.png) center no-repeat;
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  padding: 1rem;
  display: flex;
  justify-content: end;
  flex-direction: column;
  top: 0;
  color: #fff;
}

.b-t-item {
  position: relative;
  height: 260px;
}

a.bt-abs p {
  text-transform: capitalize;
  border-bottom: 1px solid rgb(255 255 255 / 20%);
  padding-bottom: 3px;
  margin-bottom: 3px;
}

a.bt-abs span {
  font-size: 13px;
  font-style: italic;
}

.b-b {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-gap: 20px;
}

.b-b-item a {
  display: grid;
  grid-template-columns: 30% auto;
  grid-gap: 15px;
}

.b-b-item a p {
  color: var(--cl3);
}

.b-b-item a span {
  font-size: 13px;
  color: #888888;
  font-style: italic;
}

.b-t-item img {
max-height: 100%;
}

/*phantrang*/
ul.pagination {
  display: flex;
}

a.page-link {
  display: inline-block;
  padding: 5px 8px;
  background: var(--cl4);
  color: #fff;
}

li.page-item {
  margin-right: 4px;
}

li.page-item.active a {
  background: var(--cl1);
}
div#content h2 {
  color: var(--cl1);
  border-bottom: 1px solid;
  margin-bottom: 10px;
}

div#content div {
  margin-bottom: 10px;
}
/* cat */
