@media only screen and (max-width:991px) {
    .nav-bottom{
        position: relative;
    }
    .scroll-top {
        bottom: 20px;
    }

    .dich-vu .box .img {
        height: 240px;
    }

    .nav-right p {
        text-align: center;
    }

    .logo a img {
        width: 65%;
    }

    .nav-phone,
    .nav-email {
        display: none;
    }

    .nav-menu-item ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 111px;
        left: -100%;
        width: 100%;
        z-index: 10000;
        background: rgb(46 49 146);
        transition: all 0.3s;
    }

    .nav-menu-item ul li {
        padding: 8px 8px 8px 15px;
        margin-left: 0;
    }

    .nav-menu-item ul {
        display: flex;
        height: unset;
        align-items: unset;
    }

    .nav-menu-item ul.active {
        left: 0;
    }

    .nav-menu-item ul li a {
        color: #fff;
    }

    .btn-toggle {
        display: block !important;
    }

    .nav-menu-item ul li {
        display: block;
    }

    .nav-menu-item ul li:hover a.title-menu,
    .nav-menu-item ul li.sub-lv2 ul li:hover a {
        color: #fff;
    }

    .nav-menu-item ul li.sub-lv2 ul {
        position: unset;
        left: 0;
        top: unset;
        background: unset;
        border-top: unset;
        display: none;
        opacity: 1;
        visibility: visible;
    }

    .nav-menu-item ul li.sub-lv2 ul.active {
        display: block;
    }

    .nav-menu-item ul li.sub-lv2 ul li {
        width: 100%;
        display: block;
        padding-left: 25px !important;
    }

    .nav-menu-item ul li.sub-lv2 a.title-menu::after {
        position: absolute;
        content: '+';
        font-weight: 900;
        font-size: 22px;
        color: #fff;
        margin-left: 15px;
        transform: translateY(-6px);
    }

    .nav-menu-item ul li.sub-lv2 a.title-menu.active::after {
        content: '-';
    }

    .me {
        padding: 0 15px;
    }

    .f-menu_link.lk {
        padding-left: 15px;
    }

    .f-menu_link.mxh {
        display: inherit;
    }

    .f-bt-content {
        justify-content: normal;
        flex-direction: column;
        align-items: center;
    }

    .online {
        margin-top: 5px;
    }

    .dich-vu.song-khoe .list-items {
        padding: 0;
    }

    .dich-vu.song-khoe .list-items .box img {
        margin-right: 20px;
    }

    .s-title {
        margin-bottom: 15px;
    }

    .sk-box-top {
        margin-top: 0 !important;
    }

    .dich-vu.song-khoe .s-title {
        margin-bottom: 15px !important;
    }

    .gt-img {
        width: 100%;
    }

    .dich-vu {
        margin-bottom: 30px;
    }

    .list-items .box {
        margin-bottom: 30px;
    }

    .gioi-thieu .btn-load {
        margin-top: 15px;
    }

    .btn_prev {
        left: 50px;
    }

    .btn_next {
        right: 50px;
    }

    .btn_slider {
        width: 50px;
        height: 50px;
    }

    .fa-3x {
        font-size: 2.5em !important;
    }

    section.form form {
        flex-direction: column;
    }

    section.form form .f-row {
        width: 100%;
        margin-right: 0;
        margin-bottom: 35px;
    }

    .s-form {
        background-position: center;
    }

    section.form form .f-row input {
        padding: 0 10px;
    }

    .dich-vu.thu-vien .box .text-content {
        margin-top: 10px;
    }
}

@media screen and (max-width:768px) {
    header .slider-banner.active{
        z-index: 1;
        margin-top: 84px;
    }
    header .nav.tat{
        height: 0;
    }
    .nav-menu.active {
        background-color: #fff;
        padding: 5px 0px;
        height: unset;
        position: fixed;
        top: 0;
        z-index: 30;
        width: 100%;
    }
    .nav-right{
        width: 100%;
    }
    .form-search_mb{
        width: 200px;
        display: flex;
        justify-content: space-between;
    }
    .form-search_mb input{
        border: 1px solid #00588a;
        border-radius: 5px;
        width: 80%;
        height: 30px;
        padding-left: 10px;
    }
    .search_mb{
        color: #fff;
        font-size: 20px;
    }
    .form-search_mb button{
        width: 18%;
        background-color: #00588a;
    }
    .icon-search_mb{
        position: relative;
    }
    .box-search_mb{
        display: block;
        background-color: #00588a;
        position: absolute;
        top: 58px;
        z-index: 20;
        left: -229px;
        padding: 7px;
        border-radius: 5px;
        transition: all 0.3s;
    }
    .box-search_mb.active{
        left: 0;
    }
    .icon-search_mb{
        background-color: #ec1d25;
        padding: 10px;
    }
    
    .nav-menu-item ul{
        top: 70px;
    }
    header .nav-left .box-search.active{
        bottom: -116px;
    }
    .logo {
        position: relative;
        transform: translateX(-50%);
        left: 50%;
    }

    .nav-top {
        position: relative;
    }

    .nav-left {
        display: none;
    }

   

    .me p,
    .lk .list-item,
    .mxh .list-item {
        margin-top: 10px;
    }

    .me,
    .lk,
    .mxh {
        margin-top: 20px;
    }

    .line2 p {
        font-size: 17px;
        font-style: italic;
    }

    .dich-vu .box1 {
        margin-bottom: 20px;
    }

    .dich-vu .box1 .img img {
        height: 140px;
    }

    .phantrang {
        margin-bottom: 20px;
    }

    .tl_boxLeft img {
        object-fit: contain;
    }

    .title h4 {
        width: 50%;
    }

    .dich-vu.song-khoe .list-items {
        margin: 0;
    }

    .book_child_right {
        margin-top: 20px;
    }
}

@media screen and (max-width:600px) {

    .dich-vu.song-khoe .list-items .box {
        flex-direction: column;
        align-items: center;
    }

    .song-khoe .box .title {
        text-align: center;
        margin-top: 15px;
    }

    .dich-vu.song-khoe .list-items .box img {
        margin-right: 0;
    }

    .btn_slider {
        width: 33px;
        height: 33px;
    }

    .fa-3x {
        font-size: 2em !important;
    }

    .btn_prev {
        left: 20px;
    }

    .btn_next {
        right: 20px;
    }

    .sl .slick-dots {
        bottom: 10px;
    }

    .sl .slick-dots li {
        width: 10px;
        height: 10px;
    }

    .gt-img img {
        height: auto;
    }

    .gt-img {
        height: unset;
    }
}

@media only screen and (max-width:540px) {
    .s-form {
        padding-left: 15px;
        padding-right: 15px;
    }

    .gioi-thieu .list-items,
    .dich-vu .list-items {
        padding: 0 0;
    }

    .gt-content .title {
        font-size: 22px;
    }

    .s-title {
        font-size: 20px;
    }

    .s-form .line1 {
        font-size: 20px;
    }

    .s-form .line2 {
        font-size: 14px;
    }

    header .nav {
        height: 50px;
    }

    .dich-vu.thu-vien .box .img {
        height: 133px;
    }

    section.form form .f-row {
        height: 44px;
    }
}

@media only screen and (max-width:414px) {

    .dich-vu.thu-vien .box .img {
        height: 102px;
    }
}