html {
    font-size: 14px;
}

:root {
    --cl1: #755cb4;
    --cl2: #ffa9c1;
    --cl3: #efefef;
    --cl4: #40326b;
    --cl5: #dfddf9;
    --cl6: #ea728c;
}

* {
    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;
    line-height: 1.4;

    max-width: 650px;
    width: 100%;
    margin: auto;
}

img {
    max-width: 100%;
    height: auto;
    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: .375rem .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;
    font-weight: bold;
    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(--cl6);
    /* padding: 0.3rem 0.6rem; */
    padding: .375rem .75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
    text-transform: uppercase;
}

.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%;
}

.style1 {
    margin-bottom: 1rem;
}

.style1 p {
    color: var(--cl4);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.5rem;
}

.style1 span {
    display: inline-block;
    background: var(--cl5);
    font-size: 1rem;
    padding: 0.2rem 1rem;
    border-radius: 20px;
    color: var(--cl1);
    font-weight: bold;
}

/* nav */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-menu img {
    max-width: 1rem;
}

.nav-logo img {
    max-width: 18rem;
}

.nav-search img {
    max-width: 1rem;
}

div#nav {
    padding: 7px 0;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 10000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

#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: 70px;
    top: 2px;
    right: 2px;
    height: calc(100% - 4px);
}

/* nav */

/* gui sdt */
.guisdt {
    margin-top: 10px;
}

.guisdt form {
    position: relative;
}

.guisdt button {
    position: absolute;
    width: 50px;
    top: 2px;
    right: 2px;
    height: calc(100% - 4px);
}

.guisdt input::-webkit-input-placeholder {
    /* Edge */
    color: #fff;
    font-size: 13px;
}

.guisdt input:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #fff;
    font-size: 13px;
}

.guisdt input::placeholder {
    color: #fff;
    font-size: 13px;
}

#header-search input::-webkit-input-placeholder {
    /* Edge */
    color: #fff;
    font-size: 13px;
}

#header-search input:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #fff;
    font-size: 13px;
}

#header-search input::placeholder {
    color: #fff;
    font-size: 13px;
}

.guisdt input {
    background: rgb(255 255 255 / 40%);
    color: #fff;
}

/* gui sdt */

/* danh muc benh */
.danhmucbenh {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(3, 1fr);
}

div#danhmucbenh {
    margin: 1rem 0;
}

.danhmucbenh a img {
    margin-bottom: 7px;
    max-width: 25px;
}

.danhmucbenh a span {
    text-align: center;
    display: block;
    line-height: 15px;
    font-size: 0.8rem;
}

.danhmucbenh a:hover {
    background: var(--cl1);
}

.danhmucbenh a:hover span {
    color: #fff;
}

.danhmucbenh a:hover img {
    filter: brightness(0) invert(1);
}

.danhmucbenh a {
    background: var(--cl3);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    border-radius: 5px;
    position: relative;
    transition: all 0.5s;
    padding: 5px;
}

.danhmucbenh a:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100%;
    width: 100%;
    background: var(--cl5);
    z-index: -1;
    border-radius: 10px;
    transform: translate(-50%, -50%);
    transition: all 0.5s;
}

.danhmucbenh a:hover:before {
    width: 110%;
    height: 110%;
    transition: all 0.5s;
}

/* danh muc benh */

/* tim hieu */

div#timhieu {
    padding: 1rem 0;
}

.timhieu-t {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timhieu-p>p {
    text-align: center;
    margin-bottom: 1rem;
}

.timhieu-p ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1rem;
    margin-bottom: 1rem;
}

.timhieu-p ul li {
    display: grid;
    justify-items: center;
}

.timhieu-p ul li img {
    margin-bottom: 5px;
}

.timhieu-p {
    text-align: center;
}

/* tim hieu */

/* dang ky */
div#dangky {
    padding: 1rem 0;
    text-align: center;
    position: relative;
    z-index: 110;
    margin-bottom: -90px;
}

.dangky {
    background: url(img/nhap-sdt-bg.jpg);
    padding: 10px;
}

.dangky center {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.dangky input {
    margin-bottom: 0.5rem;
}

button.btn1 {
    background: #ffe955;
    font-weight: bold;
    text-transform: uppercase;
    width: 45%;
    display: inline-block;
    font-size: 14px;
}

/* dang ky */

/* uu diem */
div#uudiem {
    background: url(img/uu-diem-bg.jpg);
    padding: 1rem 0;
    color: #fff;
    position: relative;
    padding-top: 50px;
    padding-bottom: 50px;
}

.uudiem-t li {
    display: grid;
    grid-template-columns: 50px auto;
    grid-gap: 10px;
    margin-bottom: 1rem;
}

.uudiem-t li div span {
    font-size: 1.1rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 5px;
}

.uudiem .style1 p {
    color: #fff;
}

.uudiem-t {
    margin-bottom: 1rem;
}

/* uu diem */

/* cam nhan */
.camnhan-main {
    box-shadow: 0px 0px 10px rgb(0 0 0 / 30%);
    margin: 10px;
    border-radius: 10px;
    padding: 10px;
}

.cntop {
    background: var(--cl5);
    display: flex;
    align-items: center;
    max-width: 88%;
    padding: 10px;
    border-radius: 10px;
}

.cntop img {
    max-width: 40px;
    margin-right: 10px;
}

.cntop div {
    display: flex;
    flex-direction: column;
    color: #1b2c51;
}

.cntop div span {
    font-weight: bold;
}

.cn-bottom {
    padding: 1rem;
    text-align: justify;
}

.camnhan-slider .slick-dots li button:before {
    width: 25px;
    height: 6px;
    content: "";
    border-radius: 10px;
    background: gray;
}

.camnhan-slider .slick-dots li button {
    width: 25px;
    height: 6px;
}

.camnhan-slider .slick-dots li.slick-active button:before {
    color: black;
    background: var(--cl2);
    opacity: 1;
}

div#camnhan {
    padding: 1rem 0;
}

.camnhan-r {
    padding-bottom: 1rem;
}

.camnhan-l-i {
    padding: 10px;
    display: grid;
    grid-template-columns: 90% auto;
    cursor: pointer;
}

.cn-l-content.active {
    display: block;
}

.camnhan-l-i p {
    line-height: 16px;
}

.camnhan-l-i.active p {
    color: var(--cl4);
    font-weight: bold;
}

.camnhan-l-i span {
    position: relative;
}

.camnhan-l-i span:after {
    content: "";
    height: 3px;
    width: 15px;
    background: var(--cl1);
    position: absolute;
    top: 50%;
    left: 50%;
    /* transform: translate(-50%); */
}

.camnhan-l-item {
    margin-bottom: 10px;
    border: 1px solid var(--cl5);
    border-radius: 6px;
    overflow: hidden;
}

.cn-l-content {
    display: none;
    margin: 10px 15px;
    text-align: justify;
}

.camnhan-l-i span:before {
    content: "";
    height: 15px;
    width: 3px;
    background: var(--cl1);
    position: absolute;
    top: calc(50% - 6px);
    left: calc(50% + 6px);
    /* transform: translate(-50%); */
}

.camnhan-l-i.active span:before {
    content: unset;
}

.camnhan-l-i.active {
    background: var(--cl1);
}

.camnhan-l-i.active p {
    color: #fff;
}

.camnhan-l-i.active span:after {
    background: #fff;
}

/* cam nhan */

/* center */
/* footer */
#footer {
    background: url(img/footer-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: uppercase;
    margin-bottom: 10px;
    border-bottom: 1px solid rgb(255 255 255 / 40%);
    padding-bottom: 4px;
}

.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: 40%;
    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;
}

/* center */

/* tim kiem */
.nav-search {
    color: #fff;
}

input#txt-search {
    background: rgb(255 255 255 / 40%);
    color: #fff;
}

.guisdt.dis {
    display: none;
}

/* tim kiem */
/* benh thuong gap */
.benh-tab {
    overflow: auto;
    white-space: nowrap;
    display: flex;
    gap: 13px;
}

span.benh-tab-item {
    display: inline-block;
    padding: 5px 10px;
    background: var(--cl3);
    white-space: nowrap;
    border-radius: 5px;
}

div#benh {
    padding: 1rem 0;
}

span.benh-tab-item.active {
    color: #fff;
    background: var(--cl1);
}

.benh-1 {
    margin-bottom: 1rem;
}

div#ajax-benh {
    margin-top: 1rem;
}

.br-abs {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 20;
    color: #fff;
    padding: 10px;
    text-align: center;
}

.benh-1 a {
    position: relative;
    display: block;
    height: 100%;
    width: 100%;
}

.benh-1 a:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(359deg, var(--cl1), transparent);
    top: 0;
    left: 0;
    z-index: 10;
    background-size: cover;
}

.benh-5 a {
    display: grid;
    grid-template-columns: 33% auto;
    grid-gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.benh-5 h5 {
    color: var(--cl1);
    line-height: 15px;
}

.benh-5 span {
    font-size: .8rem;
}

.benh-5 span img {
    margin-right: 5px;
}

.br-abs h4 {
    text-transform: uppercase;
    line-height: 17px;
    margin-bottom: 5px;
}

.br-abs span {
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.br-abs img {
    filter: brightness(0) invert(1);
    margin-right: 5px;
    margin-top: -5px;
}

/* benh thuong gap */
/* 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;
}

/* cat */

/* 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 */