@media only screen and (min-width: 960px) {
    .box-lua-chon ul li a {
        min-width: 150px;
        font-size: 16px;
    }
}

/**mobile**/
@media only screen and (max-width: 767px) {
    .mt-footer {
        margin-top: 20px !important;
    }

    #footer .footer-address {
        margin-bottom: 15px !important;
    }

    .phandoan-morong {
        text-align: center;
    }

    .header-bar {
        display: none !important;
    }

    .category-body .phandoan-morong a, .phandoan-body .phandoan-morong a {
        position: unset;
        margin-top: 20px;
    }

    div#main-menu .sidebar-menu.no-scrollbar {
        padding: 0px !important;
        height: 100vh !important;
    }

    .doctor-slide-item .doctor-slide-thumbnail img {
        object-fit: contain;
    }

    #mega-menu-wrap-primary_mobile .mega-menu-toggle.mega-menu-open + #mega-menu-primary_mobile {
        display: block !important;
        background: #fff !important;
    }

    #mega-menu-wrap-primary_mobile .mega-menu-toggle + #mega-menu-primary_mobile {
        display: block !important;
        background: #fff !important;
    }

    .mega-menu-toggle {
        display: none !important;
    }

    .tim-kiem .vung-bao h1 {
        color: #fff;
        font-size: 20px;
        margin-bottom: 20px;
        line-height: 35px;
        font-family: 'Montserrat Regular';
        text-transform: uppercase;
        text-shadow: 1px 1px 1px #333;
    }

    .borderRight {
        border: 0px !important;
    }

    .phandoan-slide .item-pd .item-pd-bg {
        height: 115px;
    }

    .phandoan-slide .owl-nav button.owl-prev {
        left: 0px;
    }

    .phandoan-slide .owl-nav button.owl-next {
        right: 0px;
    }

    .cuaso-vung.cuaso-admin {
        padding-top: 50px;
    }

    .cuaso-vung.cuaso-admin .cuaso-dau {
        top: 0px;
    }

    .box-lua-chon ul li {
        width: 30%;
        text-align: center;
    }

    .tim-kiem .box-lua-chon ul li a {
        font-size: 12px;
    }

    .home-title h2 {
        font-size: 16px;
    }

    .phandoan-body .phandoan-morong a {
        top: -10px;
    }

    .cuaso-tieude {
        font-size: 16px;
    }

    .phandoan-slide .item-pd h3 {
        font-size: 12px;
    }

    .category-body .post-item h3 {
        font-size: 13px;
        padding-top: 10px;
    }

    .category-body .post-slide .owl-nav button.owl-prev {
        left: 00px;
    }

    .category-body .post-slide .owl-nav button.owl-next {
        right: 0px;
    }

    .tim-kiem .text-box {
        width: 100% !important;
    }

    .tim-kiem .timkiem {
        padding: 0px !important;
        min-height: 1vh !important;
    }

    .tim-kiem .timkiem-onhap {
        background: #fff;
        color: #fff;
        outline: none;
        border-radius: 5px;
        line-height: 40px;
        height: 40px;
        font-family: 'Montserrat Light';
        padding-left: 50px;
        padding-right: 25px;
        position: relative;
        border: 1px solid #f2f2f2;
    }

    .tim-kiem .timkiem-onhap .bt-g {
        width: 30px;
        height: 30px;
        line-height: 43px;
        position: absolute;
        top: 0;
        left: 0;
        color: #333;
        text-align: center;
    }

    article#main-search-body .timkiem {
        margin: 0px !important;
    }

    li.html.custom.html_topbar_left {
        width: 100% !important;
    }

    #mobile {
        display: block;
    }

    #desktop {
        display: none !important;
    }

    #lichkham {
        width: 100%;
        background: #fff !important;
        position: relative;
        top: 0px;
        right: 0;
        z-index: 99;
        box-shadow: 0 1px 6px rgb(32 33 36 / 28%);
        border-radius: 8px;
        margin-bottom: 30px;
    }

    .bs-avatar {
        width: 180px;
        margin: auto;
    }

    section#bs-box .bs-information {
        width: 100%;
        display: inline-block;
        margin: 20px 0;
        text-align: center;
    }

    section#bs-box .bs-information h2 {
        font-size: 20px;
    }

    .doctor-item .doctor-content {
        width: 100%;
        display: inline-block;
        margin: 40px 0 10px 0;
        padding: 15px;
        background: #f2f2f2;
    }

    .doctor-item .doctor-thumbnail {
        width: 100px;
        height: unset !important;
        border-radius: 50%;
        margin: auto;
    }

    .doctor-item .doctor-thumbnail img {
        width: 100px !important;
        border-radius: 50%;
        height: 100px !important;
    }

    .post-category .post-thumbnail {
        box-shadow: 0 1px 2px rgb(0 0 0 / 8%);
        width: 100%;
        height: 250px;
    }

    .post-category .post-content {
        width: 100%;
        float: left;
        padding: 10px 0;
    }
}


@media screen and (max-width: 767px) {
    .list-media--body .media--body-ribbon {
        text-align: center;
        position: relative;
        left: 0;
        margin-bottom: 17px;
    }

    .list-media--body .media--body-ribbon > a {
        width: 110px;
        height: 110px;
        border: 3px solid #cbd8e2;
        border-radius: 0;
    }

    .list-media--body .media--body-ribbon > a img {
        border-radius: 0px;
    }

    .list-media--body span.ribbon {
        position: absolute;
        width: 110px;
        left: 0;
        bottom: 0;
        margin-top: 0;
        border-radius: 0;
        padding: 2px 10px 0px;
    }

    .list-media--body .name-like {
        padding: 0;
        position: absolute;
        top: 0;
        left: 125px;
    }

    .list-media--body .info-list {
        padding: 15px;
        margin-left: 0;
        display: block;
        border-left-width: 1px;
    }

    .list-media--body .name-like > a.name, .list-media--body .name-like .post-title a {
        font-size: 16px;
        line-height: 20px;
    }

    .list-media--body .info-list ul {
        width: 100%;
        border-right: 0;
        border-bottom: 1px dashed #ccc;
        padding-right: 0;
        padding-bottom: 10px;
        margin-bottom: 10px !important;
    }

    .dev-doctor-content {
        margin-top: 20px;
    }

    section#dev-breadcrumbs .page-breadcrumbs h3 {
        font-size: 25px;
        line-height: 30px;
        margin-top: 15px !important;
    }

    div#datLichKham {
        max-width: 100% !important;
    }

    .hotline-phone-ring-wrap {
        z-index: 99 !important;
    }

    .summary-list--a a.has-mobile {
        display: block !important;
        border: none !important;
        background: #225e8c !important;
        color: #a3cbe8 !important;
        letter-spacing: 0.5px;
        margin-right: -15px !important;
        margin-left: -15px;
        padding: 8px 45px 8px 12px !important;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }

    .summary-list--a a.has-mobile i {
        color: #a3cbe8 !important;
    }

    .summary-list--a a.has-icon, .filter-summary-list .title, .post-content span.ribbon, section#filter-summary-list h2.title {
        display: none !important;
    }

    #filter-summary-list {
        display: unset !important;
        padding: 0 0 1px !important;
        background: #e2e8ec;
    }

    .mfp-container.mfp-s-ready.mfp-inline-holder {
        padding: 0px !important;
    }

    div#showFilter {
        border: 0px !important;
        border-top: 10px solid #2171af !important;
        width: 100% !important;
        height: 100vh !important;
    }

    div#tab-filter-summary .tab-filter {
        background: #ebeef1;
        width: 125px;
        height: 100vh;
        float: left;
    }

    .tab-panel-summary {
        width: calc(100% - 125px);
        float: left;
        max-height: 100vh;
        overflow: scroll;
    }

    div#showFilter .tab-filter ul {
        width: 100%;
        display: block;
        background: #ebeef1;
    }

    div#showFilter .tab-filter ul li a:after {
        top: 50% !important;
        left: 100% !important;
        border-top-color: transparent !important;
        border-left-color: #2171af !important;
        border-width: 8px !important;
        margin-left: 0px !important;
        margin-top: -8px !important;
    }

    div#showFilter .tab-filter ul li a {
        font-size: 12px !important;
        width: 100%;
    }

    #tab-filter-summary {
        background: #ebeef1 !important;
    }

    div#showFilter form {
        width: calc(100% - 125px);
        float: left;
    }

    div#showFilter .tab-panel-summary .checkbox-filter li label {
        margin: 0px !important;
        font-size: 13px;
    }

    div#showFilter .tab-panel-summary {
        width: 100% !important;
        background: #fff !important;
        max-height: calc(100vh - 125px) !important;
        overflow: scroll !important;
    }

    div#showFilter .filter-action [type=button] {
        margin-top: 12px !important;
    }

    div#showFilter .filter-action {
        background: #fff !important;
    }

    div#showFilter ul.checkbox-filter {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}