: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: 16px;
	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;
}
.btn-1{
	width: auto;
	background: var(--cl2);
	border-radius: 2rem;
	color: #fff;
	text-transform: uppercase;
}

.container{
	max-width: 1140px;
	margin: 0 auto;
padding-left:15px;
padding-right:15px;
}

input, button, textarea{
	display: block;
	width: 100%;
	padding: 0.3rem 0.6rem;
	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 .15s ease-in-out,box-shadow .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 .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
	color: #fff;
	background-color: var(--cl6);
	padding: 0.3rem 0.6rem;
	font-size: .875rem;
	line-height: 1.5;
	border-radius: 0.2rem;
    text-transform: uppercase;
}
.rel {
    position: relative;
}


/* banner */
div#banner {
    position: relative;
}


div#banner img {
    width: 100%;
}

.banner-abs {
    position: absolute;
    bottom: -1px;
    left: -1px;
    width: 100%;
    height: 100px;
}

.banner-abs img {
    width: 100%;
    height: 100%;
}

/* banner */

/* header */
header#header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1000;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #fff;
}

.header-left {
width:48%;
}

.header-right ul {
    display: flex;
    align-items: center;
    color: #fff;
    gap: 30px;
}

.header-right ul li {
    display: flex;
    align-items: start;
}

.header-right ul li p {
    font-size: 12px;
    line-height: 16px;
    margin-left: 10px;
}
/* header */

/* nav */
.nav {
    display: flex;
    align-items: center;
    padding-top: 10px;
    justify-content: space-between;
}

.nav-left>ul {
    display: flex;
    align-items: center;
}

.nav-left>ul>li>a {
    color: #fff;
    text-transform: uppercase;
    padding: 9px 30px;
	display: block;
}

.nav-left>ul>li:first-child>a {
    /* padding: 3px 0; */
}

.nav-right {
    position: relative;
    min-width: 270px;
}

button#btn-search {
    position: absolute;
    width: 20%;
    height: calc(100% - 6px);
    top: 3px;
    right: 3px;
    border: none;
    cursor: pointer;
}

.nav-right input {
    background: transparent;
    color: #fff;
}

button#btn-search {
    background: #fff url(img/nav-search.png) no-repeat center;
    background-size: 30%;
}

li.has-sub {
    position: relative;
	width: 220px;
}

ul.sub {
    position: absolute;
    display: none;
    background: var(--cl1);
}

li.has-sub:hover .sub {
    display: block;
    width: max-content;
    min-width: 100%;
}

li.has-sub:hover {
    background: var(--cl2);
}

ul.sub>li>a {
    display: block;
    padding: 9px 30px;
    color: #fff;
}

ul.sub>li {
    position: relative;
}

ul.sub>li:hover {
    background: var(--cl4);
}
ul.sub>li>ul {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width:100%;
    background: var(--cl1);
    border-left: 1px solid var(--cl2);
	width: max-content;
}

ul.sub>li:hover ul {
    display: block;
}

ul.sub>li>ul>li>a {
    display: block;
    padding: 9px 30px;
    color: #fff;
    border-bottom: 1px solid rgb(255 255 255 / 20%);
	padding-top: 8px;
}

ul.sub>li>ul>li>a:hover {
    background: var(--cl2);
}

/* nav */

/* danh muc benh */
.danhmucbenh {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(6,1fr);
}

.danhmucbenh a {
    background: var(--cl3);
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 15px;
    justify-content: center;
    border-radius: 10px;
    position: relative;
}

div#danhmucbenh {
    margin: 30px 0;
}

.danhmucbenh a img {
    margin-bottom: 10px;
}

.danhmucbenh a span {
    text-align: center;
    display: block;
    padding: 0 23px;
    line-height: 15px;
}

.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;
    padding: 15px;
    justify-content: center;
    border-radius: 10px;
    position: relative;
    transition: all .5s;
}
.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 .5s;
}

.danhmucbenh a:hover:before {
    width: 110%;
    height: 110%;
    transition: all .5s;
}
/* danh muc benh */

/* tim hieu */
.timhieu {
    display: grid;
    grid-template-columns: 41.5% auto;
    grid-gap: 20px;
}

div#timhieu {
    padding: 30px 0;
}

.style1 {
    margin-bottom: 20px;
}

.style1 p {
    color: var(--cl4);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 30px;
}

.style1 span {
    display: inline-block;
    background: var(--cl5);
    font-size: 15px;
    padding: 7px 30px;
    border-radius: 20px;
    color: var(--cl1);
    font-weight: bold;
}

.timhieu-p p {
    margin-bottom: 20px;
}

.timhieu-p ul {
    display: flex;
    margin-bottom: 20px;
    gap: 80px;
}

.timhieu-p a {
    background: var(--cl6);
    border: none;
    text-transform: uppercase;
}
.timhieu-p ul li {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.timhieu-p ul li span {
    text-align: center;
    line-height: 16px;
    display: inline-block;
    margin-top: 10px;
}
/* tim hieu */

/* dang ky */
.dangky {
    background: url(img/nhap-sdt-bg.jpg);
    padding: 50px;
    border-radius: 20px;
    margin-bottom: 40px;
}

.dangky center {
    font-size: 30px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
}

.dangky form {
    display: grid;
    grid-template-columns: 40% 40% auto;
    grid-gap: 20px;
}

.dangky button {
    background: #FFE955;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 17px;
}
div#dangky {
    position: relative;
    z-index: 110;
    margin-bottom: -200px;
}

/* uudiem */
div#uudiem {
    background: url(img/uu-diem-bg.jpg);
    padding: 50px 0;
    color: #fff;
    padding-top: 150px;
    position: relative;
    padding-bottom: 90px;
}

.uudiem-t .style1 p {
    color: #fff;
}

.uudiem {
    display: grid;
    grid-template-columns: 60% auto;
}

.uudiem-t ul {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 20px;
    margin-bottom: 30px;
}

.uudiem-t ul li {
    display: grid;
    grid-template-columns: 60px auto;
    grid-gap: 10px;
}

.uudiem-t ul li span {
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 5px;
}

.uudiem-t ul li p {
    font-size: 15px;
}

.abs-top {
    position: absolute;
    top: -2px;
    left: -1px;
    width: 100%;
    height: 130px;
    z-index: 100;
}

.abs-bottom {
    position: absolute;
    bottom: -1px;
    left: -1px;
    width: 100%;
    height: 90px;
}

.abs-top img {
    width: 100%;
    height: 100%;
}

.abs-bottom img {
    width: 100%;
    height: 100%;
}

/* uudiem */

/* footer */
footer {
    background: url(img/footer-bg.jpg) center;
    padding: 20px;
    padding-top: 150px;
}

.footer {
    display: grid;
    grid-template-columns: 34% 34% auto;
    color: #fff;
    grid-gap: 20px;
}

.ft-1>a {
    display: block;
    margin-bottom: 20px;
}

.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;
}

.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 #fff;
}

.ft-3 p {
    margin-bottom: 20px;
}

.ft-3 input, .ft-3 textarea {
    margin-bottom: 8px;
}

.ft-3 textarea {
    font-family: arial;
    resize: none;
}
/* footer */

/* moi truong */
.moitruong-rel {
    position: relative;
}
.mt-prev {
		position: absolute;
		top: 50%;
		left: -30px;
		transform: translateY(-50%);
		cursor: pointer;
	}

	span.mt-next {
		position: absolute;
		top: 50%;
		right: -30px;
		transform: translateY(-50%);
		cursor: pointer;
	}

div#moitruong .slick-arrow img {
    max-width: 15px;
}
/* moi truong */

/* camnhan */
.camnhan {
    display: grid;
    grid-template-columns: 68% auto;
    grid-gap: 20px;
}

.cntop {
    background: var(--cl5);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: relative;
    overflow: inherit;
}

.camnhan-main {
    margin: 0 10px;
}

.cn-bottom p {
    padding: 1rem;
    text-align: center;
}

.cntop div {
    display: flex;
    flex-direction: column;
    color: #1B2C51;
}

.cntop img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 10px;
}

.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;
	}
    .camnhan-l-i {
		padding: 10px;
		display: grid;
		grid-template-columns: 90% auto;
		cursor: pointer;
	}
	.cn-l-content.active {
		display: block;
	}
	.camnhan-l-i p {
		font-size: 15px;
		line-height: 20px;
	}

	.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: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;*/
	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;
}
div#camnhan {
    padding: 20px 0;
}
/* camnhan */

/* benh */
ul.benh-tab {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    grid-gap: 10px;
    margin-bottom: 20px;
}

ul.benh-tab li {
    background: var(--cl3);
    display: inline-flex;
    padding: 7px 6px;
    text-align: center;
    border-radius: 7px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 15px;
    align-items: center;
    justify-content: center;
}

ul.benh-tab li:hover {
    background: var(--cl1);
    color: #fff;
}

ul.benh-tab li.active {
    background: var(--cl1);
    color: #fff;
}

.benh {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 30px;
}

.benh-l {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 30%);
}


.benh-l li {
    padding: 10px 0 10px 20px;
    border-bottom: 1px dashed var(--cl5);
    text-transform: capitalize;
    position: relative;
    cursor: pointer;
}
.benh-l li:hover {
	color: var(--cl1);
	font-weight: bold;
}

.benh-l li:before {
	position: absolute;
	content: "";
	height: 1px;
	width: 0;
	background: var(--cl1);
	bottom: -1px;
	left: 0;
	transition: all .7s;
}

.benh-l li:hover:before {
	width: 100%;
}
.benh-l li.active {
	color: var(--cl1);
	font-weight: bold;
}
.benh-l li:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%) rotate(45deg);
	width: 5px;
	height: 5px;
	border: 1px solid var(--cl1);
	border-left: none;
	border-bottom: none;
}
.br-t {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	margin-bottom: 20px;
	grid-gap: 20px;
}

.br-t a {
	position: relative;
}

.br-t a > img {
	width: 100%;
	height: 100%;
}

.br-abs {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(img/mask.png) center repeat;
	background-size: 100%;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: end;
	color: #fff;
}

.br-abs h4 {
	margin-bottom: 10px;
}

.br-abs span {
	font-size: 13px;
}

.br-abs span img {
	margin-right: 8px;
	margin-bottom: 2px;
}

.br-b {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	grid-gap: 20px;
}

a.br-t-item {
	display: grid;
	grid-template-columns: 30% auto;
	grid-gap: 15px;
	align-items: center;
}

a.br-t-item h5 {
	color: var(--cl1);
	margin-bottom: 10px;
}

a.br-t-item span {
	color: #777777;
	font-size: 14px;
}

a.br-t-item span img {
	margin-bottom: 2px;
	margin-right: 7px;
}

a.br-t-item:hover h5 {
	color: var(--cl6);
}

div#benh {
    padding: 20px 0;
}

/* benh */


/* 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;
}

div#cat-list {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 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);
}
.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;
}

.bt-main>a:hover {
    background: var(--cl2);
}

.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(--cl2);
    color: #fff;
}

li.page-item {
    margin-right: 4px;
}

li.page-item.active a {
    background: var(--cl1);
}
/* cat */

/* post */
div#content h1 {
    color: var(--cl1);
    border-bottom: 1px solid;
    text-transform: uppercase;
    font-size: 22px;
    margin-bottom: 15px;
}

div#content p {
    text-align: justify;
    margin-bottom: 15px;
}
div#content h2 {
    color: var(--cl2);
    font-size: 18px;
    border-bottom: 1px solid;
    margin-bottom: 15px;
    display: inline-block;
}
.camnhan-item {
    display: grid;
    grid-template-columns: repeat(2,1fr);
}
/* post */