.page-service-2 .col-bottom .icon-box img,
.page-service-8 .icon-box img {
    transition: all .5s ease;
}

.page-service-2 .col-bottom .icon-box:hover img,
.page-service-8 .icon-box:hover img {
    transform: scale(-1) rotate(180deg);
    transition-delay: .3s;
}

.post-sidebar .widget {
    margin-top: 0px;
}

.post-sidebar .wpcf7 {
    margin-bottom: 60px;
}

.page-template-page-service2 .section.teams-project .text-title h2 {
    display: none;
}

.page-template-page-service2 #main .page-service .sec-teams {
    background: none;
}

.nhan_su_bg {
    background: linear-gradient(270deg, rgba(22, 22, 22, 0.00) 0%, #161616 50.5%, #161616 100%);
    padding-top: 60px;
}

.page-template-page-service2 #main .page-service .sec-teams .section-bg {
    background: none !important;
}

/* Thu vien */
.page-banner {
    padding-top: 35%;
}

.page-banner .banner-bg {
    background-repeat: no-repeat;
    background-position: top;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-size: cover;
}

.page-banner:before {
    content: '';
    width: 100%;
    height: 33%;
    background: linear-gradient(0deg, rgba(26, 30, 37, 0) 37.14%, rgba(26, 30, 37, 0.85) 82.89%);
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0
}

.breadcrumb-post {
    background: linear-gradient(90deg, #FFE17F 0%, #FFF3DC 100%);
    min-height: 40px;
    display: flex;
    align-items: center;
    margin-bottom: 85px;
}

.breadcrumb-post p {
    margin: 0
}

.rank-math-breadcrumb p {
    font-size: 14px;
    line-height: 20px;
    margin: 0;
    padding: 0;
    text-align: left;
    color: #f9fffe;
}

.rank-math-breadcrumb p .separator {
    opacity: 1;
    color: #525A5F;
    margin: 0 10px;
}

.rank-math-breadcrumb a,
.rank-math-breadcrumb span {
    color: #525A5F;
    font-weight: normal;
    font-size: 16px;
}

.rank-math-breadcrumb .last {
    font-family: var(--medi);
}

.row-thuvien {
    margin-top: 60px;

}

.page-template-page-thu-vien #main {
    background-color: #161616 !important;
    background-image: none
}

.row-thuvien .title-page {
    text-align: center;
    color: var(--black);
    font-size: 34px;
    font-family: var(--bold);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.row-thuvien .load-more {
    padding: 1px;
    background: linear-gradient(270deg, #FFFDEB 0%, #D3A455 100%);
    border-radius: inherit;
    border-radius: 5px;
    margin-bottom: 30px !important;
}

.row-thuvien .btn-viewall2 {
    margin: 0
}

.row-thuvien .tab-thuvien {
    justify-content: center;
    display: flex;
    gap: 24px;
    margin-bottom: 36px;
}

.row-thuvien .tab-thuvien a {
    text-align: center;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

.row-thuvien .btn-2 span {
    position: relative;
    z-index: 2;
}

.row-thuvien .btn-2:after {
    content: "";
    position: absolute;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    border-radius: 1000px;
    left: calc(50% + 1px);
    top: calc(50% + 1px);
    transform: translate(-50%, -50%);
    background: white;
    z-index: 1;
}

.row-thuvien .btn-2:before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0px;
    background: linear-gradient(180deg, #FFDF7B 0%, #EDBA29 100%);
    border-radius: inherit;
    top: 50%;
    transform: translate(1px, -48%);
    height: 100%;
    width: 100%;
}

.row-thuvien .btn-2.active:after,
.blog-archive .btn-2:hover:after {
    background: linear-gradient(247.66deg, #FFF5E2 0%, #FFF6E5 64.56%);
}

.row-thuvien .box-media-image {
    border-radius: 15px;
    cursor: pointer;
}

.row-thuvien .box-media-image .box-text {
    padding: 20px 0 4px;
    text-align: center
}

.row-thuvien .box-media-image .post-title {
    margin: 0;
    font-size: 18px;
    color: #fff;
    font-family: var(--semi);
}

.row-thuvien .box-media-image .post-title:hover {
    color: var(--theme-color);
    cursor: pointer
}

.row-thuvien .box-media-image img {
    transition: all .5s
}

.row-thuvien .box-media-image:hover img {
    transform: scale(1.08)
}

.popup-gallery-wrapper {
    background-color: #282828;
    height: 100vh;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1200;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.07);
    transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateX(100%);
}

.popup-gallery-wrapper.show {
    transform: translateX(0%);
}

.popup-gallery-wrapper .popup-gallery {
    height: 100%;
    overflow: hidden;
    transition: 0.5s;
    transition-delay: 0.7s;
    opacity: 0;
    margin-top: 60px;
    position: relative;
}

.popup-gallery-wrapper.show .popup-gallery {
    opacity: 1;
}

.not-scroll-body {
    overflow: hidden !important
}

.close-gallery {
    position: absolute;
    top: 0;
    right: 50px;
    z-index: 10;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: all .3s;
    font-size: 30px;
    cursor: pointer;
}

.close-gallery:hover {
    background-color: var(--theme-color2);
    color: #fff;
}

.popup-gallery-wrapper .title {
    text-align: center;
    font-size: 26px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.popup-gallery-wrapper .slick-list {
    margin: 0 -15px
}

.popup-gallery-wrapper .list-image {
    max-width: 800px;
    margin: 0 auto;
}

.popup-gallery-wrapper .list-image .image-cover {
    padding-top: 56.25%;
    border-radius: 15px;
}

.popup-gallery-wrapper .list-image .img {
    padding: 0 15px;
}

.popup-gallery-wrapper .slick-arrow {
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 45px;
    height: 45px;
    padding: 0;
    line-height: 13px;
    text-align: center;
    margin: 0px 1px;
    transition: 0.2s;
    font-size: 20px;
    min-height: 40px;
    z-index: 99;
    border-radius: 4px;
    transform: translateY(-50%);
    font-size: 30px;
}

.popup-gallery-wrapper .slick-arrow:hover {
    color: var(--theme-color2)
}

.popup-gallery-wrapper .slick-arrow.slick-prev {
    left: -60px;
}

.popup-gallery-wrapper .slick-arrow.slick-next {
    right: -60px;
}

.row-thuvien .post-item {
    display: none;
}

.load-more {
    max-width: max-content !important;
}

.row-thuvien .load-more {
    margin: auto;
}
/* End Thu vien */

/* chi tiet nhan su */
.box-chungchi-img a{
	padding: 10px;
}
.box-chungchi-img img{
	height: 173px;
	object-fit: contain;
	display: block;
	margin: auto;
}
.box-chungchi-img .slick-prev.slick-arrow {
    left: -6px;
	cursor: pointer
}
.box-chungchi-img .slick-next.slick-arrow {
    right: -6px;
	cursor: pointer
}
.single-ns-sec-2 .col2 .image-inner{
	padding: 15px;
	overflow: hidden;
	border: 1px solid #C99C52;
	border-radius: 10px;
}
.box-chungchi-img{
	margin-top: 30px;
}
.single-ns-sec-1 .col3 .image-box{
	padding: 1px;
    border-radius: 10px;
    background-image: linear-gradient(180deg, #DFC69B 0%, #C99C52 100%);
}
.single-ns-sec-1 .col3 .image-box div{
	border-radius: 10px;
}
.single-ns-sec-1 .btn-viewall2{
	margin-bottom: 0
}
/* end chi tiet nhan su */

@media (min-width: 1600px){
	.box-chungchi-img img{
		height: 215px;
	}
}

@media screen and (max-width: 980.98px) {
    .popup-gallery-wrapper .list-image {
        padding: 0 60px;
    }
}

@media screen and (max-width: 575.98px) {
    .row-thuvien {
        margin-top: 50px
    }

    .row-thuvien>.col {
        padding-bottom: 0;
    }

    .sec-teams .row-bottom .box .box-bottom {
        opacity: 1;
        transition: all .6s;
        visibility: visible;
        transition-delay: .1s;
    }

    .sec-teams .row-bottom .box .box-top {
        opacity: 0;
        transition: all .6s;
        visibility: hidden;
    }

    .sec-teams .row-bottom .box .box-bottom .name:before {
        width: 175px;
    }

    .sec-teams .col-right .box .name:before {
        width: 175px;
    }

    h3,
    h2,
    h1,
    .project-single .project-sidebar .title-post,
    .relatedcat .title-post,
    .post-lquan .title-post,
    .post-sidebar .widget-title {
        line-height: 1.5 !important
    }

    .project-info .info-project .left {
        width: 175px;
        font-size: 16px;
    }

    .project-single .project-info .info-project li {
        font-size: 16px;
    }

    .page-service-1 .nav {
        justify-content: flex-start;
        display: flex;
        flex-wrap: nowrap;
        -ms-overflow-style: none;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
        width: 100%;
    }

    .page-service-8 .col-bottom .col-inner:before,
    .page-service-8 .col-bottom .col-inner:after {
        display: none;
    }

    .page-service-8 .col-bottom .icon-box:not(:last-child):before {
        content: "";
        background: linear-gradient(270deg, rgba(255, 253, 235, 0.00) 0.92%, #D3A455 100%);
        width: 0%;
        height: 1px;
        position: absolute;
        bottom: -30px;
        left: 0;
        z-index: 1;
        transition: all 1s;
    }

    .page-service-8 .col-bottom.scroll-css .icon-box:before {
        width: 100%;
    }

    .popup-gallery-wrapper .popup-gallery {
        margin-top: 0 !important;
        padding-top: 150px;
    }

    .close-gallery {
        right: 0 !important;
        top: 130px;
    }

    .popup-gallery-wrapper .list-image {
        padding: 0;
    }

    .popup-gallery-wrapper .slick-arrow {
        bottom: -50px;
        transform: translateX(-50%);
        top: unset;
        font-size: 20px;
    }

    .popup-gallery-wrapper .slick-arrow.slick-prev {
        left: calc(50% - 20px)
    }

    .popup-gallery-wrapper .slick-arrow.slick-next {
        left: calc(50% + 20px)
    }
	.single-ns-sec-1 .col1, .single-ns-sec-2 .col1, .single-ns-sec-3 .col1{
		padding-bottom: 0
	}
	.single-ns-sec-1 .col2{
		order: 1
	}
	.single-ns-sec-1, .single-ns-sec-2, .single-ns-sec-3{
		padding-top: 0
	}
	.single-ns-sec-2, .single-ns-sec-3{
		padding-bottom: 20px;
	}
	.box-chungchi-img img {
		height: 120px;
	}
}