/*
	Theme Name: DKCD Template
	Theme URI: http://phongkhamquocte193.vn
	Description: Giao diện website phongkhamquocte193.vn từ DKCD
	Version: 1.0.0
	Author: Aci
	Author URI: http://phongkhamquocte193.vn
	Tags: HTML5, CSS3
	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/


body {
    position: relative;
}

#bannerTop {
    position: fixed;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: 480px;
    margin: auto;
    z-index: 101;
    overflow: hidden;
    transform: translateX(-50%);
    /* background-color: #fff; */
    /* Thêm transition cho chính nó */
    transition: transform 1s ease-in-out; 
}

#bannerTop.hide-content {
    transform: translateX(-50%) translateY(-100%);
}

#bannerTop picture {
    width: 100%;
    display: block;
    transition: transform 1s ease-in-out;
}

/* Vị trí mặc định */
#bannerTop .img-normal {
    transform: translateY(0);
}

#bannerTop .img-fixed {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-100%);
}

/* Khi đang trong thời gian 20s đầu (Đang hiện img-fixed) */
#bannerTop.show .img-normal {
    transform: translateY(-100%);
}
#bannerTop.show .img-fixed {
    transform: translateY(0);
}

/* Khi đã hết 20s VÀ đang ở vùng cuộn xuống: Ẩn cả 2 ảnh */
#bannerTop.hide-content .img-normal,
#bannerTop.hide-content .img-fixed {
    transform: translateY(-100%);
    /* opacity: 0; */
}

/*------------------------------------*\
        Header
\*------------------------------------*/
#header-main-wrapper{
    position: relative;
}
#header-top-m{
    background-color: #3189a1;
    padding: 8px 12px;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    width: 100%;
}
#header-top-m a{
    width: 120px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border: 1px dashed #fff;
    color: #fff;
    position: relative;
    z-index: 1;
}
#header-top-m a i{
    margin-right: 6px;
}
#logo{
    background-color: #fff;
    width: 100px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    margin: 12px auto 0;
    padding: 8px;
}
#logo-text{
    text-align: center;
    padding-bottom: 12px;
}
.logo-sitename{
    font-weight: 400;
    text-transform: uppercase;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 6px;
}
.logo-text{
    font-size: 14px;
    font-style: italic;
}


/*------------------------------------*\
    Home
\*------------------------------------*/
#secSlider{
    margin-bottom: 0 !important;
}
#s1{
    background-color: #3189a1;
    padding-top: 30px;
    padding-bottom: 30px;
}
.s1_items{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.s1_items h3{
    font-size: 16px;
    color: #fff;
    margin-top: 8px;
    margin-bottom: 20px;
    text-align: center;
}

#s2{
    padding-top: 30px;
    padding-bottom: 30px;
}
.sec-header{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.sec-header h4{
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    color: #3189a1;
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
    flex: 1;
}

/*------------------------------------*\
    Footer
\*------------------------------------*/
#sec-feedback{
    background: url(./img/feedback-bg.png);
    padding-top: 20px;
    padding-bottom: 20px;
}
.feedback-header{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.feedback-header img{
    width: 64px;
}
.feedback-info{
    background-color: #f4f4f4;
    padding: 8px 12px;
}
.feedback-name{
    text-transform: uppercase;
    color: #3189a1;
    font-weight: 500;
}
.feedback-content{
    border-radius: 12px;
    border: 2px dashed #3189a1;
    min-height: 230px;
    margin-top: -30px;
    padding: 36px 12px 1px;
    text-align: justify;
}
#sec-links{
    background-color: #3189a1;
    padding: 4px 0;
}
.sec-links-button{
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    margin: 8px 0;
    height: 42px;
    font-size: 14px;
    color: #fff;
    border-radius: 4px;
}
.sec-links-button i{
    margin-right: 6px;
}

#sec-ftInfo{
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #2e3639;
    color: #fff;
}
#ftInfo-title{
    font-family: var(--font-heading);
    text-align: center;
}
#ftInfo-list li:not(:last-child){
    border-bottom: 1px solid #d5d5d5;
}
#ftInfo-list li{
    padding: 12px 0;
    font-size: 14px;
}
#ftInfo-list li i{
    margin-right: 8px;
}
#ftInfo-list li b{
    display: block;
}

#ftInfo-socials{
    margin-bottom: 20px;
    border: 1px dashed #fff;
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
}
#ftInfo-socials b{
    display: block;
    margin-bottom: 8px;
}
#ftInfo-socials a{
    display: inline-block;
    margin: 0 6px;
    width: 32px;
    height: 32px;
    border: 1px solid #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
}
#sec-copyright{
    background-color: #3189a1;
    color: #fff;
    font-size: 14px;
    padding-top: 8px;
    padding-bottom: 8px;
}


/*------------------------------------*\
    Category
\*------------------------------------*/
#mainCntn{
    padding-bottom: 30px;
}
#breadcrumbs{
    background-color: #3189a1;
    padding: 12px;
    color: #fff;
}

#category-header{
    height: 46px;
    width: 100%;
    background-color: #f4f4f4;
    border-bottom: 1px solid #3189a1;
}
#category-name{
    display: inline-flex;
    align-items: center;
    height: 45px;
    background-color: #3189a1;
    color: #fff;
    padding: 0 12px;
    position: relative;
}
#category-name::after{
    content: '';
    display: block;
    width: 15px;
    height: 45px;
    background-color: #3189a1;
    transform: skewX(15deg);
    position: absolute;
    top: 0;
    right: -8px;
}
#category-name i, #category-name h1{
    font-size: 20px;
    margin: 0;
}
 #category-name h1{
    padding-left: 12px;
 }


#catPost-wrapper{
    border: 1px solid #ebebeb;
    border-top: none;
    padding: 12px;
}

.catePosts{
    padding: 12px 0;
    border-bottom: 1px solid #c2c2c2;
}
.catePosts-thumb{
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    border: 1px solid #3189a1;
    border-radius: 6px;
    overflow: hidden;
}
.catePosts-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.catePosts-name{
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 18px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.catePosts-des{
    text-align: justify;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.pagination{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    margin-bottom: 16px;
}
.page-numbers{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    font-size: 16px;
}
.page-numbers.current{
    color: #fff;
    border-color: #3189a1;
    font-weight: 500;
    background-color: #3189a1;
}

/*------------------------------------*\
    Post
\*------------------------------------*/
#postCntn #category-header, #postCntn #category-name{
    height: unset;
}
#postCntn #category-name{
    align-items: flex-start;
    background: transparent;
    color: #3189a1;
    padding-top: 12px;
    padding-bottom: 12px;
}
#postCntn #category-name i{
    padding-top: 6px;
}
#postCntn #category-name::after{
    content: '';
    display: none;
}


.postDetail h2,.postDetail h3{
	margin-bottom: 8px;
	border-bottom: 1px dashed #3189a1;
	padding-bottom: 8px;
}
.postDetail h2,.postDetail h2 > *{
	font-size: 22px!important;
	color:#3189a1!important;
}
.postDetail h3,.postDetail h3 > *{
	font-size: 18px!important;
	color:#3189a1!important;
}
.postDetail h4,.postDetail h4 > *{
	font-size: 16px!important;
	color:#3189a1!important;
}
.postDetail ul, .postDetail ol{
    padding-left: 20px;
}
.postDetail ul, .postDetail li, .postDetail ol{
	list-style: disc;
}
.postDetail li{
    margin: 6px 0;
}
.postDetail p{
	line-height: 1.8;
}

#postDetail-notify{
    background-color: #3189a1;
    color: #fff;
    font-style: italic;
    text-align: justify;
    padding: 1px 12px;
}
#postDetail-notify b{
    color: #ff0;
}




@media screen and (max-width: 991.98px) {
}



@media screen and (min-width: 992px) {

    #bannerTop{
        max-width: unset;
    }

    /*------------------------------------*\
        Header
    \*------------------------------------*/
    #header-main-wrapper{
        padding-top: 8px;
        padding-bottom: 8px;
        align-items: center;
    }
    #logo-wrapper{
        width: 100%;
        display: flex;
        align-items: center;
    }
    #logo{
        margin: 0;
        padding: 0;
    }
    #logo-text{
        flex: 1;
        text-align: left;
        padding-left: 16px;
        padding-bottom: 0;
    }
    .logo-sitename{
        color: #3189a1;
        font-size: 20px;
        line-height: 24px;
    }
    .logo-text{
        font-weight: 500;
        line-height: 24px;
    }
    #header-main-right{
        justify-content: flex-end;
    }
    .header-main-itms{
        display: flex;
        align-items: center;
        padding: 0 32px;
    }
    .header-main-itms-text{
        padding-left: 12px;
        line-height: 25px;
    }
    .header-main-itms-text b{
        display: block;
        color: #3189a1;
        font-size: 18px;
        text-transform: uppercase;
    }
    #hdBtnFB .header-main-itms-text{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #hdBtnFB .header-main-itms-text span{
        text-transform: uppercase;
        font-size: 24px;
        color: #3189a1;
    }
    #hdBtnFB .header-main-itms-text i{
        font-size: 32px;
        color: #3189a1;
    }

    #header-bottom{
        padding: 1px 0;
        background-color: #3189a1;
        color: #fff;
        margin-top: 8px;
    }
    .header-menu ul{
        display: flex;
        align-items: center;
        margin-top: 6px;
        margin-bottom: 6px;
    }
    .header-menu ul li a{
        padding: 0 20px;
    }
    .header-menu ul li:not(:nth-last-child(-n+2)) a{
        border-right: 1px solid #fff;
    }
    .header-menu ul li:last-child{
        margin-left: auto;
    }
    .header-menu-search form{
        width: 200px;
        height: 24px;
        background-color: #fff;
        border-radius: 4px;
        border: 0;
        margin: 0;
        padding: 0;
    }
    .header-menu-search input{
        width: calc(100% - 44px);
        height: 20px;
        padding: 0 10px;
        background-color: transparent;
    }
    .header-menu-search button{
        background-color: transparent;
        width: 40px;
        height: 20px;
        color: #3189a1;
        cursor: pointer;
    }

    /*------------------------------------*\
        HOME
    \*------------------------------------*/
    #s1, #s2, #sec-feedback{
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .s1_items h3{
        font-size: 14px;
        margin-top: 16px;
        margin-bottom: 0;
    }
    .sec-header span{
        width: 270px;
        height: 2px;
        background-color: #3189a1;
    }
    .sec-header h4{
        font-size: 32px;
    }

    /*------------------------------------*\
        FOOTER
    \*------------------------------------*/
    .feedback-item{
        margin-left: 8px;
        margin-right: 8px;
    }
    #feedbackPrev{
        left: -26px;
    }
    #feedbackNext{
        right: -26px;
        left: auto;
    }
    .sec-links-button{
        height: 50px;
        margin-top: 16px;
        margin-bottom: 16px;
        font-size: 18px;
    }
    .sec-links-button i{
        font-size: 24px;
    }
    #sec-ftInfo{
        padding-top: 40px;
    }
    #ftInfo-title{
        text-align: left;
        font-size: 22px;
    }
    #ftInfo-list{
        margin-top: 0;
        margin-bottom: 0;
    }
    #ftInfo-socials b{
        display: inline-block;
        line-height: 32px;
        margin-bottom: 0;
    }

    /*------------------------------------*\
        CATEGORY
    \*------------------------------------*/
    #catPost-wrapper{
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
        padding: 20px;
    }
    .catePosts{
        padding-top: 0;
        padding-bottom: 22px;
    }
    .pagination{
        margin-top: 0;
        margin-bottom: 0;
        grid-column: 1 / -1;
    }
    .page-numbers{
        width: 40px;
        height: 36px;
    }
    
    /*------------------------------------*\
        SIDEBAR
    \*------------------------------------*/
    #stickySidebar{
        top: 20px;
    }
    .sbBox-header{
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 42px;
        background-color: #3189a1;
        color: #fff;
        text-transform: uppercase;
        font-weight: 500;
    }
    .sbBox-header i{
        height: 1px;
        width: 40px;
        background-color: #fff;
    }
    #sbFrm-cntn{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        border: 1px solid #ebebeb;
        padding: 12px 16px;
    }
    #sbFrm-cntn input, #sbFrm-cntn textarea{
        width: 100%;
        height: 36px;
        border: 1px solid #ebebeb;
        margin-bottom: 12px;
        border-radius: 4px;
        padding: 0 8px;
    }
    #sbFrm-cntn input.w65{
        width: calc(65% - 6px);
    }
    #sbFrm-cntn input.w35{
        width: calc(35% - 6px);
    }
    #sbFrm-cntn textarea{
        height: 100px;
        padding-top: 6px;
        padding-bottom: 6px;
    }
    #sbFrm-cntn button{
        width: 120px;
        height: 40px;
        background-color: #d71921;
        border-radius: 4px;
        text-transform: uppercase;
        font-family: var(--font-heading);
        color: #fff;
        font-size: 18px;
        margin-left: auto;
        margin-right: auto;
        cursor: pointer;
    }

    /*------------------------------------*\
        POST
    \*------------------------------------*/
    #postDetail{
        border: 1px solid #ebebeb;
        padding: 0 16px 16px;
    }
    

    /*------------------------------------*\
        Page Bác sĩ
    \*------------------------------------*/
    
    /*------------------------------------*\
        Single Bác sĩ
    \*------------------------------------*/
   




    /*------------------------------------*\
        TOOLBAR PC
    \*------------------------------------*/
    

}




/* Xử lý ảnh thật */
.blurredImages-wrap {
    display: inline-block;
    position: relative;
}

.blurredImages-pattern {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .9);
    color: #fff;
}

.blurredImages-text {
    text-align: center;
    font-size: 18px;
}

.blurredImages-button {
    display: block;
    margin-top: 15px;
    padding: 7px 20px;
    border-radius: 5px;
    background: #148265;
    cursor: pointer;
}

.pagebg {
    background: var(--background-1);
}

#secSlider .slick-dots {
    bottom: -5px;
}

#secSlider .slick-dots li button {
    background-color: #fff;
    opacity: .7;
}

#secSlider .slick-dots li.slick-active button {
    opacity: 1;
    background-color: #fff;
}

#secSlider .slick-arrow {
    height: 30px;
    border-radius: 15px;
    background-color: rgb(255, 255, 255, 0.7);
    line-height: 30px;
    left: 3px;
}

#secSlider #sliderNext.slick-arrow {
    right: 3px;
}