/*
Theme Name: NAG Child
Description: This is a child theme for NAG Theme
Author: NAG
Template: nag247
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@charset "UTF-8";
:root {
    --color-primary: #fde428;
	/*--color-primary: #f6bb19;*/
    --color-secondary: #002e5b;
    --color-background: #27272c;
	--color-title:#656565;
    --color-border-w: #fff;
    --color-footer-bg:#002e5b;
	--color-base:#263036;
	--btn-primary:#fde428;
}
svg:not(:root) {
    overflow: hidden;
}
.button.primary{
	color: var(--color-secondary) !important;
    border-color: var(--btn-primary) !important;
    background: var(--btn-primary) !important;
	border:1px solid var(--color-secondary);
}
.section-title b{
	background:var(--color-secondary);
	opacity:1;
}
/* Header */
#header-contact.nav-uppercase>li>a{
	text-transform: lowercase;
    color: var(--color-secondary) !important;
    font-weight: bold !important;
}
.header-nav-main .nav-dropdown{
	padding: 10px 5px;
}
.header-nav-main .nav-dropdown .nav-dropdown-col>a, .header-nav-main .nav-dropdown li a{
	color: var(--color-secondary) !important;
}
.header-nav-main .nav-dropdown .nav-dropdown-col>a:hover, .header-nav-main .nav-dropdown li a:hover{
	color: var(--primary-secondary) !important;
}
/* Section Why Us */
.sc_nag-whyus{
	
}
.sc_nag-whyus .icon-box .icon .icon-inner {
  background-color: var(--color-primary) !important;
}
/*Section counter*/

.sc_nag-counter{
	
}
.sc_nag-counter .icon-box.featured-box, .sc_nag-counter .icon-box.featured-box .icon-box-text{
	text-align: center;
    position: relative;
    margin: 0px;
}

.sc_nag-counter h3{
	color:var(--btn-primary);
	font-size: 2.5rem;
    font-weight:bold;
}
/* Services */
.sc_nag-services h2{
	border:5px solid var(--btn-primary);
	margin-bottom:0px;
	margin-top:0px;
	padding-top: 12px;
    padding-right: 20px;
    padding-bottom: 12px;
    padding-left: 20px;
}
.sc_nag-services .box-text h3{
	text-transform:uppercase;
}
/* Testimonials */
.sc_nag-testimonials .entry-header{text-align:center;}
.sc_nag-testimonials #testimonials{
	overflow-x:hidden;
}
.sc_nag-testimonials .swiper-pagination-bullet-active{
	background:var(--color-secondary) !important;
}
.sc_nag-testimonials .sc_home-customer-quote {
    color: var(--color-primary);
    font-size: 20px;
    margin-bottom: 10px;
}
.sc_nag-testimonials .testimonial-content{
    background-color: var(--color-secondary);
    position: relative;
    padding: 30px;
    z-index: 10;
    margin-bottom: 50px;
	color:#fff;
}
.sc_nag-testimonials .testimonial-content:after {
    content: "";
    display: inline-block;
    border-right: 30px solid var(--color-primary);
    border-bottom: 30px solid transparent;
    position: absolute;
    top: 100%;
    left: 0;
}
.sc_nag-testimonials .testimonial-footer {
    display: flex;
    align-items: center;
}
.sc_nag-testimonials img {
    width: 50px !important;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 25px;
    margin-right: 15px;
}
.swiper-button-next, .swiper-button-prev{
	color: var(--color-secondary) !important;
}
/* Customer Logo */
:root{
  --swiper-navigation-sides-offset:-2rem; /* offset for navigation */
}
#customers-logo{
	overflow-x:hidden;
}
/* Blog */
.box-blog-post .is-divider{background:transparent;}
.blog-archive .page-title{font-size:2rem;}
.blog-archive .post-item .box-text .post-title{
	border-bottom: 5px solid #f8f8f8;
  	border-left: 5px solid #f8f8f8;
  	padding-left: 10px;
  	padding-bottom: 10px;
}
.blog-archive .post-item .box-text .post-title:hover{
	border-bottom: 5px solid var(--color-primary);
  	border-left: 5px solid var(--color-primary);
}
.single-post .entry-header .is-divider{
	background:var(--color-primary);
}
.bai-viet-lien-quan h3 {
    font-size: 20px;
    color: var(--color-secondary);
	padding-top: 15px;
}
.bai-viet-lien-quan ul {
    margin-bottom: 0;
    display: inline-block;
    width: 100%;
}
.bai-viet-lien-quan ul li {
    list-style: none;
    width: 25%;
    color: graytext;
    float: left;
    padding-left: 4px;
    padding-right: 5px;
}
.bai-viet-lien-quan ul li .box-image img {
    height: 120px;
    border-radius: 4px;
    object-fit: cover;
    object-position: center;
}
.bai-viet-lien-quan h4 {
    font-size: 15px;
    color: black;
    line-height: 19px;
    padding-top: 7px;
    height: 64px;
    overflow: hidden;
}
/*sidebar*/
#secondary span.widget-title {
    overflow: hidden;
    border-bottom: 2px solid var(--color-primary);
    display: block;
    padding: 6px 0
}
#secondary .is-divider{
	display:none;
}
#secondary span.widget-title span {
    text-transform: uppercase;
    padding: 7px 14px !important;
    font-size: 14px;
    line-height: 26px;
    background: var(--color-primary);
    color: var(--color-secondary);
    border-radius: 5px 5px 0 0;
    padding: 0 20px;
    font-weight: 700;
    position: relative;
    margin-right: 20px
}

#secondary span.widget-title span:after {
    content: '';
    display: block;
    line-height: 40px;
    background: var(--color-primary);
    width: 18px;
    height: 40px;
    position: absolute;
    top: 0;
    right: 0;
    margin-right: -7px;
    transform: skewX(21deg);
    border-radius: 0 5px 0 0
}

#secondary span.widget-title span:before {
    content: '';
    display: block;
    line-height: 40px;
    background: var(--color-secondary);
    width: 15px;
    height: 40px;
    position: absolute;
    top: 8px;
    right: 0;
    margin-right: -13px;
    transform: skewX(13deg);
    border-radius: 0 5px 0 0
}
.flatsome_recent_posts ul, #secondary .widget ul {
    border: 1px solid #ececec;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 2px 2px 10px #0000001a
}
/* end sidebar*/
/* Footer */
#footer .is-divider{
	background:var(--color-primary);
}
#footer ul.menu > li > a:hover {
	color:var(--color-primary);
}
#footer .footer-2 .col:first-child{
	flex-basis: 50%;
    max-width: 50%;
	text-align: left;
}

#footer .footer-2 .col{
	flex-basis: 25%;
    max-width: 25%;
	text-align: left;
}
#footer .footer-2 i{
	padding-right:5px;
	color: var(--color-primary);
}
.absolute-footer .container{
	border-top:1px solid hsla(0,0%,100%,.3);
}
.absolute-footer .copyright-footer{
	color:#fff !important;
	padding-top:10px;
}
/* Button Contact */
.echbay-sms-messenger div.phonering-alo-zalo, 
.echbay-sms-messenger div.phonering-alo-alo {
	background-color:#0084ff
}
.echbay-sms-messenger div.phonering-alo-sms {
	background-color:#f60
}
.echbay-sms-messenger div.phonering-alo-messenger {
	background-color:#e60f1e
}
 
.echbay-sms-messenger {
	width:45px
}
.echbay-sms-messenger a {
	line-height:45px;
    color: transparent;
	display:block;
}
.echbay-sms-messenger {
	display:block
}
.echbay-sms-messenger div.phonering-alo-zalo {
	display: block
}
 
.echbay-sms-messenger div.phonering-alo-alo {
    background-image: url(https://nag247.com/wp-content/uploads/2025/05/call.webp);
}
/*.echbay-sms-messenger div.phonering-alo-sms {
    background-image: url(https:/wp-content/uploads/2022/11/mail.png);
    background-color: #f60;
    background-size: 60%;
}*/
.echbay-sms-messenger div.phonering-alo-zalo {
    background-image: url(https://nag247.com/wp-content/uploads/2025/05/zalo.webp);
}
.echbay-sms-messenger div.phonering-alo-messenger {
    background-image: url(https://nag247.com/wp-content/uploads/2025/05/messenger.webp);
    background-color: #e60f1e;
}
.echbay-sms-messenger div {
    margin: 14px 0;
    background: #0084FF center no-repeat;
    background-size: 70%;
    border-radius: 50%;
    box-shadow: 0 3px 10px #888;
	-webkit-animation: hoverWave linear 1s infinite;
    animation: hoverWave linear 1s infinite;
}

.echbay-sms-messenger {
    text-align: center;
    right:20px;
    position: fixed;
    bottom: 150px;
    z-index: 999;
}
@-webkit-keyframes hoverWave {
    0% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 0 rgba(56, 163, 253, 0.2), 0 0 0 0 rgba(56, 163, 253, 0.2)
    }

    40% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 15px rgba(56, 163, 253, 0.2), 0 0 0 0 rgba(56, 163, 253, 0.2)
    }

    80% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 30px rgba(56, 163, 253, 0), 0 0 0 26.7px rgba(56, 163, 253, 0.067)
    }

    100% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 30px rgba(56, 163, 253, 0), 0 0 0 40px rgba(56, 163, 253, 0.0)
    }
}

@keyframes hoverWave {
    0% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 0 rgba(56, 163, 253, 0.2), 0 0 0 0 rgba(56, 163, 253, 0.2)
    }

    40% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 15px rgba(56, 163, 253, 0.2), 0 0 0 0 rgba(56, 163, 253, 0.2)
    }

    80% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 30px rgba(56, 163, 253, 0), 0 0 0 26.7px rgba(56, 163, 253, 0.067)
    }

    100% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 30px rgba(56, 163, 253, 0), 0 0 0 40px rgba(56, 163, 253, 0.0)
    }
}

/* animations icon */

@keyframes shake {
    0% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }

    10% {
        transform: rotateZ(-30deg);
        -ms-transform: rotateZ(-30deg);
        -webkit-transform: rotateZ(-30deg);
    }

    20% {
        transform: rotateZ(15deg);
        -ms-transform: rotateZ(15deg);
        -webkit-transform: rotateZ(15deg);
    }

    30% {
        transform: rotateZ(-10deg);
        -ms-transform: rotateZ(-10deg);
        -webkit-transform: rotateZ(-10deg);
    }

    40% {
        transform: rotateZ(7.5deg);
        -ms-transform: rotateZ(7.5deg);
        -webkit-transform: rotateZ(7.5deg);
    }

    50% {
        transform: rotateZ(-6deg);
        -ms-transform: rotateZ(-6deg);
        -webkit-transform: rotateZ(-6deg);
    }

    60% {
        transform: rotateZ(5deg);
        -ms-transform: rotateZ(5deg);
        -webkit-transform: rotateZ(5deg);
    }

    70% {
        transform: rotateZ(-4.28571deg);
        -ms-transform: rotateZ(-4.28571deg);
        -webkit-transform: rotateZ(-4.28571deg);
    }

    80% {
        transform: rotateZ(3.75deg);
        -ms-transform: rotateZ(3.75deg);
        -webkit-transform: rotateZ(3.75deg);
    }

    90% {
        transform: rotateZ(-3.33333deg);
        -ms-transform: rotateZ(-3.33333deg);
        -webkit-transform: rotateZ(-3.33333deg);
    }

    100% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }
}

@-webkit-keyframes shake {
    0% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }

    10% {
        transform: rotateZ(-30deg);
        -ms-transform: rotateZ(-30deg);
        -webkit-transform: rotateZ(-30deg);
    }

    20% {
        transform: rotateZ(15deg);
        -ms-transform: rotateZ(15deg);
        -webkit-transform: rotateZ(15deg);
    }

    30% {
        transform: rotateZ(-10deg);
        -ms-transform: rotateZ(-10deg);
        -webkit-transform: rotateZ(-10deg);
    }

    40% {
        transform: rotateZ(7.5deg);
        -ms-transform: rotateZ(7.5deg);
        -webkit-transform: rotateZ(7.5deg);
    }

    50% {
        transform: rotateZ(-6deg);
        -ms-transform: rotateZ(-6deg);
        -webkit-transform: rotateZ(-6deg);
    }

    60% {
        transform: rotateZ(5deg);
        -ms-transform: rotateZ(5deg);
        -webkit-transform: rotateZ(5deg);
    }

    70% {
        transform: rotateZ(-4.28571deg);
        -ms-transform: rotateZ(-4.28571deg);
        -webkit-transform: rotateZ(-4.28571deg);
    }

    80% {
        transform: rotateZ(3.75deg);
        -ms-transform: rotateZ(3.75deg);
        -webkit-transform: rotateZ(3.75deg);
    }

    90% {
        transform: rotateZ(-3.33333deg);
        -ms-transform: rotateZ(-3.33333deg);
        -webkit-transform: rotateZ(-3.33333deg);
    }

    100% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }
}
/* End contact button */
/* hieu ung anh sang anh*/
.box-image:hover::before{
	-webkit-animation:shine .75s;
	animation:shine .75s
}
@-webkit-keyframes shine{
	100%{left:125%}
}
@keyframes shine{
	100%{left:125%}
}
.box-image::before {
	position:absolute;
	top:0;
	left:-75%;
	z-index:2;
	display:block;
	content:'';
	width:50%;
	height:100%;
	background:-webkit-linear-gradient(left,rgba(255,255,255,0) 0,rgba(255,255,255,.3) 100%);
	background:linear-gradient(to right,rgba(255,255,255,0) 0,rgba(255,255,255,.3) 100%);
	-webkit-transform:skewX(-25deg);transform:skewX(-25deg)
}
/* end hieu ung anh sang anh*/
@media screen and (min-width: 850px) {
	.post-sidebar.large-3{
        padding-left:0px;
    }
	.row-divided .post-sidebar.large-3{border-left:none !important}
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
		.header-bg-color {
    		background-color: rgba(0, 0, 0, 0.3) !important;
		}
		.bai-viet-lien-quan ul li{width:50%;}
		#footer .footer-2 .col{
			flex-basis: 50% !important;
    		max-width: 50% !important;
		}
		#footer .footer-2 .col:first-child{
			flex-basis: 100% !important;
    		max-width: 100% !important;
		}

}