:root {
	--cl1: #3ab8e8;
	--cl2: #05ecfc;
	--cl3: #1b7fd3;
	--cl4: #f2f4f6;
}
*{
	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%;
    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;
}

.rel {
    position: relative;
}
.input1{
	display: block;
    width: 100%;
    padding: 0.25rem 0.75rem;
    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;
}
.btn1{
    padding: 0.25rem 0.75rem;
    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;
}

/* header */
/* header */
div#header {
    background: var(--cl2);
    color: #fff;
	padding: 7px;
}

.header-img {
    width: 25px;
    height: 25px;
    background: var(--cl1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
}

.header-left li {
    display: flex;
    align-items: center;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.header-left span {
    font-size: 14px;
}
input#txt-search {
    padding: 6px;
    background: transparent;
    border: none;
    outline: none;
    border-bottom: 1px solid #fff;
    padding-left: 5px;
    color: #fff;
    width: 100%;
}
input#txt-search::-webkit-input-placeholder { /* Edge */
  color: #fff;
  font-style:italic;
}

input#txt-search:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #fff;
  font-style:italic;
}

input#txt-search::placeholder {
  color: #fff;
  font-style:italic;
}

button#btn-search {
    position: absolute;
    top: 0;
    right: 0;
    width: 15%;
    height: 100%;
    background: url(img/header-search.png);
    border: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
	cursor: pointer;
}

.header-search {
    position: relative;
    min-width: 240px;
}

/* nav */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    max-width: 300px;
}

.nav-right>ul {
    display: flex;
}

.nav-right>ul>li>a {
    display: inline-block;
    text-transform: uppercase;
    padding: 10px 20px;
}

nav {
    padding: 10px 0;
}
li.menu-p {
    position: relative;
}

ul.menu {
    position: absolute;
    z-index: 1000;
    background: #fff;
    top: 100%;
    border-top: 1px solid var(--cl1);
    min-width: 120%;
    width: max-content;
	display: none;
}

ul.menu li a {
    display: block;
    padding: 5px 20px;
}



ul.menu>li:hover>a {
    background: var(--cl1);
    color: #fff;
}
.menu-p:hover .menu{
	display: block;
}

/* hotline  */
.hotline {
    background: var(--cl3);
    display: grid;
    grid-template-columns: repeat(4,1fr);
    color: #fff;
    padding: 20px;
    border-radius: 1rem;
}

.hotline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

div#hotline {
    position: relative;
    z-index: 10;
    margin-top: -50px;
    margin-bottom: 40px;
}

/* danh muc benh */
div#danhmucbenh {
    margin-bottom: 40px;
}

.danhmucbenh {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-gap: 20px;
}

.dmb-img {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 20%);
}

a.danhmucbenh-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

a.danhmucbenh-item:hover span {
    color: var(--cl1);
}

a.danhmucbenh-item:hover .dmb-img {
    background: linear-gradient(45deg, var(--cl1) 27%,var(--cl2) 69%);
}

a.danhmucbenh-item:hover .dmb-img img {
    filter: brightness(0) invert(1);
}

/* tim hieu */
.timhieu {
    display: grid;
    grid-gap: 30px;
    grid-template-columns: 45% auto;
}

.timhieu-l img{
    width: 100%;
    height: auto;
}
.bvt-style span {
    display: inline-block;
    background: #eee;
    padding: 3px 20px;
    font-weight: 100;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 16px;
    margin-bottom: 5px;
}

.bvt-style p {
    color: var(--cl3);
    font-weight: bold;
    font-size: 35px;
}

.bvt-style {
    margin-bottom: 20px;
    line-height: 30px;
}

.timhieu-r p {
    margin-bottom: 20px;
    text-align: justify;
}

.timhieu-r ul {
    margin-bottom: 20px;
    display: flex;
    gap: 50px;
}

.timhieu-r ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.timhieu-r ul li img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
}

.timhieu-r ul li span {
    color: var(--cl1);
    font-weight: bold;
}

.btn2 {background: linear-gradient(45deg, var(--cl1) 25%, var(--cl2) 50%);padding: 10px 30px;border-radius: 2rem;color: #fff;text-transform: uppercase;border: none;font-weight: bold;}

div#timhieu {
    margin-bottom: 40px;
}

/* benh */

div#benh {
    padding: 40px 0;
}

.benhtop {
    display: flex;
    align-items: end;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.benhtop .bvt-style {
    margin-bottom: 10px;
}

.benh-right {
    display: flex;
}

ul#benh-choise {
    display: flex;
    margin-right: 40px;
    gap: 40px;
}

ul#benh-choise li.active {
    border-bottom: 1px solid red;
    margin-bottom: -1px;
    color: var(--cl1);
}

ul#benh-choise li {
    padding-bottom: 5px;
    cursor: pointer;
}

.benh-right a {
    display: flex;
    font-weight: bold;
    color: var(--cl2);
    font-style: italic;
}

div#namkhoa-ajax {
    display: grid;
    grid-template-columns: 23% calc(77% - 30px);
    grid-gap: 30px;
}

.namkhoa-block-3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 20px;
    border-bottom: 1px solid var(--cl4);
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.nk-b3-item p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 7px;
    color: var(--cl2);
    line-height: 20px;
}

.nk-b3-item p:hover {
    color: var(--cl1);
}

.namkhoa-block-6 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 20px;
}

.nk-b6-item a {
    display: grid;
    grid-template-columns: 80px auto;
    grid-gap: 10px;
}

.nk-b6-item p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 18px;
    font-size: 15px;
}

.namkhoa-tab {
    background: var(--cl4);
    display: flex;
    flex-direction: column;
    padding-top: 30px;
    padding-right: 15px;
}

.namkhoa-tab span:hover {
    background: var(--cl1);
    color: #fff;
}

.namkhoa-tab span {
    cursor: pointer;
    font-size: 15px;
    padding: 5px 0 5px 20px;
    display: block;
    margin-bottom: 5px;
}

.namkhoa-tab span.active {
    background: var(--cl1);
    color: #fff;
    position: relative;
}

.namkhoa-tab span.active:before {
    content: "";
    position: absolute;
    left: 2px;
    background: url(img/next.png);
    width: 15px;
    height: 15px;
    background-position: center;
    background-repeat: no-repeat;
    top: 49%;
    transform: translateY(-50%);
    background-size: 5px;
}
.nk-b6-item img {
    max-height: 50px;
    width: 100%;
}
.nk-b6-item p:hover {
    color: var(--cl2);
}
.nk-b3-item img {
    max-height: 190px;
    width: 100%;
}

/* footer */

footer {
    padding: 40px 0;
    background: url(img/ft-bgHC.jpg);
}

.footer {
    display: grid;
    grid-template-columns: 30% auto auto;
    grid-gap: 25px;
}

.ft-1 a img {
}

.ft-1>a {
    display: block;
    margin-bottom: 15px;
}

.ft-1 li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.ft-1 ul {
    margin-bottom: 20px;
}

.footer h3 {
    color: var(--cl1);
    text-transform: uppercase;
    margin-bottom: 15px;
    margin-top: 8px;
}

.footer h3:before {
    content: "/";
    display: inline-block;
    font-weight: bold;
    margin-right: 4px;
}

.ft-2 a {
    display: block;
    padding-bottom: 10px;
}

.ft-2 a:hover {
    color: var(--cl1);
}

/* moi truong */
div#moitruong {
    padding: 30px 0;
}

.moitruong-item {
    margin: 0 10px;
}

.moitruong-out {
    position: relative;
}

span.moitruong-prev {
    position: absolute;
    top: 50%;
    left: -20px;
}

.moitruong-prev {
    position: absolute;
    top: 50%;
    left: -20px;
    cursor: pointer;
}

.moitruong-next {
    position: absolute;
    top: 50%;
    right: -20px;
    cursor: pointer;
}

/* dang ky */

div#dangky {
    background: var(--cl3);
    padding: 30px;
    color: #fff;
    text-align: center;
}

div#dangky p {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
}

div#dangky form {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 40% 40% auto;
}

div#dangky button {
    background: linear-gradient(45deg, var(--cl1) 25%, var(--cl2) 50%);
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
}


/* cam nhan */

div#camnhan {
    padding: 40px 0;
}

.camnhan-rel {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    padding-bottom: 30px;
    padding-top: 50px;
}

.camnhan-content {
    margin: 0 10px;
    padding-bottom: 20px;
}

.camnhan-note {
    position: absolute;
    height: 30px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
}

.camnhan-abs {
    display: flex;
    align-items: center;
    width: 85%;
    height: 90px;
    margin-left: 7%;
    position: relative;
    margin-bottom: -40px;
    z-index: 10;
}

.camnhan-info {
    background: linear-gradient(45deg, var(--cl1), var(--cl2));
    border-radius: 3rem;
    padding: 20px;
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding-left: 90px;
    color: #fff;
}

.camnhan-img {
    height: 85px;
    width: 85px;
    border-radius: 50%;
    position: absolute;
    overflow: hidden;
}

.camnhan-info span {
    text-transform: capitalize;
    font-weight: bold;
}

.camnhan-info p {
    font-size: 14px;
}

.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{
    bottom: -40px;
  }

  /* hieu qua */
  div#hieuqua {
    background: #F2F4F6;
    padding: 40px 0;
    padding-top: 100px;
}

.hieuqua {
    display: grid;
    grid-gap: 30px;
    grid-template-columns: auto 45%;
}

.hieuqua-l ul {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 20px;
    margin-bottom: 20px;
}

.hieuqua-l ul li {
    display: grid;
    grid-template-columns: 50px auto;
    grid-gap: 15px;
    align-items: flex-start;
}

.hieuqua-l ul li img{
    width: 100%;
    height: auto;
}

.hieuqua-l ul li span {
    color: #555;
    font-weight: bold;
    font-size: 18px;
}

.hieuqua-l a {
    display: inline-block;
}

/* tuvanvien */
div#tuvanvien {
    height: 130px;
    position: relative;
    z-index: 10;
    margin-bottom: -65px;
}

div#tuvanvien a {
    height: 100%;
    display: flex;
}



/* trang loai */
.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 {
    max-height: 100%;
    object-fit: fill;
    height: 100%;
    width: 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);
}

.bt-main h4 {padding: 1rem;padding-bottom: 0;}

.bt-main h4:hover a {
    color: var(--cl1);
}



/* trang chi tiet */
div#content h1 {
    color: var(--cl3);
    font-size: 25px;
    border-bottom: 1px solid;
    margin-bottom: 1rem;
    line-height: 30px;
    padding-bottom: 5px;
    text-transform: uppercase;
}

div#content p {
    text-align: justify;
    margin-bottom: 1rem;
}

div#content h2 {
    font-size: 20px;
    color: var(--cl1);
    border-bottom: 1px solid;
    margin-bottom: 1rem;
    padding-bottom: 5px;
}

div#content * {
    max-width: 100%;
    height: auto!important;
}

div#content h4 {
    margin-bottom: 1rem;
}

div#content h2 {
    text-transform: uppercase;
}

div#content h3 {
    color: var(--cl3);
    display: inline-block;
    border-bottom: 1px solid;
    margin-bottom: 10px;
}