﻿/*=========================================== \/ begin css only home page ============================*/

.header-section .carousel-inner .carousel-item img {
    height: 50vh;
    object-fit: cover;
}

#home-page .logo {
    position: absolute;
    width: 100%;
    text-align: center;
    top: -90px;
}

#home-page .logo .img-logo img {
    width: 165px;
    height: auto !important;
}

#home-page .top-menu-wrapper {
    position: relative;
    margin-bottom: 90px;
}

#home-page .logo .img-logo {
    text-align: center;
}

#home-page .home-body-section .site-title h1 {
    text-align: center;
    font-style: normal;
    font-weight: bold;
    font-size: 30px;
    text-transform: uppercase;
    color: Green;
    margin-top: 10px;
}


/*================== quick-links S4=============================*/

#home-page .quick-links {
    padding-top: 10px;
}

#home-page .quick-links .quick-links-container {
    padding: 0;
    margin: 0;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
}

#home-page .quick-links .panel {
    width: auto;
}

#home-page .quick-links .panel .panel-item {
    text-align: center
}

#home-page .quick-links .panel .panel-item:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

#home-page .quick-links .panel .panel-item a.title-panel-item {
    display: block;
    font-style: normal;
    text-transform: uppercase;
    color: #393E46 !important;
    font-weight: 600;
}


/*================== footer_area S5=============================*/

#home-page .footer_area {
    background-color: #bee9c5;
    height: 40px;
    bottom: 0;
    position: fixed;
    width: 100%;
}

#home-page .footer_area .home-bottom {
    background-color: Green;
    height: 30px;
    bottom: 0;
    position: absolute;
    width: 100%;
}


/*================== End top navigator S3=============================*/

#home-page .home-body-section .panel-csdl {
    margin-top: 5px;
}

#home-page .home-body-section .panel-csdl .data-title {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    line-height: 41px;
    text-transform: uppercase;
    color: #393E46;
}

#home-page .home-body-section .panel-csdl .data-title:before {
    background: url(../images/icon/Pattern_Left.svg) right;
    background-size: cover;
    content: '';
    width: 120px;
    height: 16px;
    top: 12px;
    position: absolute;
    animation-name: move-l;
    animation-duration: 1.2s;
    animation-delay: 1.2s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
}

#home-page .home-body-section .panel-csdl .data-title:after {
    background: url(../images/icon/Pattern_Right.svg) left;
    background-size: cover;
    content: '';
    width: 120px;
    height: 16px;
    top: 12px;
    position: absolute;
    animation-name: move-r;
    animation-duration: 1.2s;
    animation-delay: 1.2s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
}

#home-page .quick-links .panel .panel-item img {
    height: 90px;
    width: 90px;
}

#home-page .quick-links .panel .panel-item .title-panel-item h2 {
    font-size: 17px;
    padding: 10px 0;
}

#home-page .container {
    max-width: 960px;
}

@keyframes move-l {
    from {
        left: 80px;
    }
    to {
        left: 180px;
    }
}

@keyframes move-r {
    from {
        right: 80px;
    }
    to {
        right: 180px;
    }
}

@media (min-width: 1367px) {
    #home-page .container {
        max-width: 960px;
    }
}

@media (max-width: 1366px) {
    #home-page .container {
        max-width: 720px;
    }
    #home-page .top-menu-wrapper {
        margin-bottom: 75px;
    }
    #home-page .logo {
        top: -78px;
    }
    #home-page .logo .img-logo img {
        width: 150px;
    }
    #home-page .home-body-section .site-title h1 {
        font-size: 24px;
        margin-top: 5px;
    }
    #home-page .quick-links .panel .panel-item img {
        height: 75px;
        width: 75px;
    }
 
    @keyframes move-l {
        from {
            left: 50px;
        }
        to {
            left: 100px;
        }
    }
    @keyframes move-r {
        from {
            right: 50px;
        }
        to {
            right: 100px;
        }
    }
}

@media (max-height: 1366px) and (max-width: 1024px) {
    .header-section .carousel-inner .carousel-item img {
        height: 35vh;
    }
}

@media (max-height: 1024px) and (max-width: 768px) {
    .header-section .carousel-inner .carousel-item img {
        height: 35vh;
    }
    @keyframes move-l {
        from {
            left: 50px;
        }
        to {
            left: 100px;
        }
    }
    @keyframes move-r {
        from {
            right: 50px;
        }
        to {
            right: 100px;
        }
    }
}

@media (max-height: 860px) and (max-width: 480px) {
    #home-page .header-section .carousel-inner .carousel-item img {
        height: 22vh;
        object-fit: cover;
    }
    #home-page .top-menu-wrapper {
        margin-bottom: 50px;
    }
    #home-page .home-body-section .panel-csdl .data-title:before,
    .home-body-section .panel-csdl .data-title:after {
        display: none;
    }
    #home-page .home-body-section .panel-csdl .data-title {
        font-size: 15px;
        line-height: 35px;
    }
    #home-page .logo {
        top: -52px;
    }
    #home-page .logo .img-logo img {
        width: 100px;
    }
    #home-page .home-body-section .site-title h1 {
        font-size: 20px;
        margin-top: 5px;
    }
    #home-page .quick-links .panel .panel-item img {
        height: 75px;
        width: 75px;
    }
    #home-page .quick-links .panel .panel-item {
        width: 25%;
    }
    /* .quick-links .panel .panel-item:nth-child(4), */
    #home-page .quick-links .panel .panel-item:nth-child(5) {
        width: 100%;
    }
    #home-page .quick-links .panel .panel-item img {
        height: 55px;
        width: 55px;
    }
    #home-page .quick-links .panel .panel-item .title-panel-item h2 {
        font-size: 14px;
        padding: 10px 0;
        padding: 10px 0;
        text-transform: capitalize;
    }

    @keyframes move-l {
        from {
            left: 50px;
        }
        to {
            left: 100px;
        }
    }
    @keyframes move-r {
        from {
            right: 50px;
        }
        to {
            right: 100px;
        }
    }
}


/*=========================================== /\ end css only home page ============================*/

.topnav .search-panel,
.topnav .button-nav {
    display: block;
}


/* .search-section {
    display: none;
} */

@media screen and (max-width: 1200px) {
    .data-title p:before {
        left: 140px;
    }
    .data-title p:after {
        right: 140px;
    }
    .navbar-nav li.nav-item {
        padding: 0 0.5rem;
    }
}

@media screen and (max-width: 1024px) {
    .section-title h2 {
        font-size: 45px;
        line-height: 60px;
    }
}

@media screen and (min-width: 992.1px) {
    .topnav .search-panel,
    .topnav .button-nav {
        display: none;
    }
    .search-section {
        width: 50% !important;
    }
}

@media screen and (max-width: 992px) {
    .data-title .container .row {
        overflow: hidden;
    }
    .data-title p:before {
        left: 0px;
    }
    .data-title p:after {
        right: 0px;
    }
}

@media screen and (min-width: 768.1px) {
    .danh-muc-du-lieu .item {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .item-blogs .swipebox img {
        border-radius: 30px 0 30px 0;
        object-fit: cover;
        height: 272px;
        object-position: 50% 0;
    }
    .item-blogs:hover .swipebox img {
        border-radius: 0 30px 0 30px;
        opacity: .9
    }
    .thong_ke-3 {
        margin-top: 30px;
    }
    footer h3 {
        padding: 30px 0px 5px 0;
        border-bottom: 1px dashed #6d6d6d;
        margin-bottom: 15px;
        color: green;
        font-weight: bold;
        padding: 30px 0px 5px 0;
        border-bottom: 2px solid #969696;
        margin-bottom: 15px;
    }
    .footer-social {
        padding-top: 30px;
        padding-bottom: 15px;
    }
}

@media screen and (max-width: 768px) {
    .menu-nav {
        background: green;
        height: 90px;
        margin: 35px 0 35px 0;
    }
    .menu-nav-content {
        background: green;
        height: 90px;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .topnav {
        position: absolute;
        left: 50px;
    }
    .logo-svh {
        top: 10px;
    }
    .logo-svh img {
        height: 140px;
        width: 140px;
    }
    .search-section {
        width: 75%;
    }
    .mn-list-item {
        display: none;
    }
    .data-title .container .row {
        overflow: hidden;
    }
    .data-title p:before {
        left: -65px;
    }
    .data-title p:after {
        right: -65px;
    }
    .danh-muc-du-lieu .item {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .thong_ke-2,
    .thong_ke-3 {
        margin-top: 15px;
    }
    .danh-muc-du-lieu .card-body .card-text {
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 20px;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }
    .danh-muc-du-lieu .item h3 {
        font-size: 14px;
    }
    .search-panel .search-box input {
        width: 84%;
    }
    .dia_diem_hot {
        width: 80%;
    }
    .dia_diem_hot h3 {
        font-size: 16px;
    }
    .img-dia_diem_hot {
        width: 40%;
    }
    .info-dia_diem_hot {
        width: 60%;
        flex-basis: auto;
    }
}

@media screen and (min-width: 768px) {
    .link-thongke {
        background: #bed8d8;
    }
}

@media screen and (max-width: 767.8px) {
    .wrapthongke {
        width: 100%;
        float: left;
        padding: 15px;
        background: #bed8d8;
        min-height: 125px;
    }
}

@media screen and (min-width:576.1px) {
    #home-page .quick-links .panel .panel-item {
        padding: 2px 40px;
        text-align: center
    }
}

@media screen and (max-width: 576px) {
    #logo {
        padding-top: 55px;
    }
    .data-title p:before,
    .data-title p:after {
        content: none;
    }
    .quick-links .panel-item {
        margin: 10px 0;
        padding: 0px 10px;
    }
    .main-nav nav .active>a:after {
        width: 0;
    }
    .section-title p {
        font-size: 12px;
    }
    .section-title h2 {
        font-size: 30px;
        line-height: 35px;
    }
    .section-title .line img {
        height: 15px;
    }
    .navbar {
        width: 100%
    }
    .search-section {
        width: 100%;
    }
    .search-panel .search-box input {
        height: 39px;
        border-radius: 0;
        border: 1px solid rgba(0, 0, 0, .1);
    }
    .search-panel .search-box button {
        height: 39px;
        width: 50px;
        border-radius: 0 5px 5px 0;
    }
    .footer-social {
        padding-top: 15px;
    }
    .count-item span {
        font-size: 18px;
    }
    .count-item h4 {
        font-size: 12px;
    }
    .slider-main img {
        height: 200px;
    }
    .vanhoa-section .head .view-all p,
    .vanhoa-section .category-item .item p {
        display: none;
    }
    .vanhoa-section .category-item .item h3 {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        overflow: hidden;
        font-size: 14px;
        text-align: justify;
    }
    .vanhoa-section .head .title {
        width: 100%;
        text-align: center;
        font-size: 20px;
    }
    .vanhoa-section .head .title p {
        margin: 0;
    }
    .vanhoa-section .category-item {
        margin-top: 15px;
    }
    .menu-nav,
    .menu-nav-content {
        height: 70px;
    }
    .logo-svh img {
        height: 120px;
        width: 120px;
    }
    .topnav {
        left: 15px;
    }
}

@media screen and (max-width: 400px) {}