/*
Theme Name: Nevo Child
Theme URI: https://tuoitrecsgtgialai.vn
Description: Child theme for Nevo theme
Author: Your Name
Template: nevo
Version: 1.0.0
Text Domain: nevo-child
*/





/*-css-btn-contact-bottom-mb-*/
/* Thanh contact fixed */
.contact-grid {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    box-shadow: 0 -2px 4px rgb(219 27 22 / 40%);
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 9999;
}

/* Item */
.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px; /* icon & text sát nhau */
    padding: 6px 5px;
    text-decoration: none;
    color: #000;
    border-right: 1px solid #db1b16;
    font-size: 14px;
    text-align: center;
}

.contact-item:last-child {
    border-right: none;
}

/* Icon */
.contact-item .icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #fff;
    animation: shake 1.5s infinite;
}

/* Text */
.contact-item .text {
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

/* Zalo chữ */
.zalo-text {
    font-weight: 600;
    font-size: 12px;
}

/* Màu icon */
.phone { background: #39c14a; }
.imessage { background: #010101; }
.zalo { background: #4a8cff; }
.facebook { background: #1877F2; }

/* Hover */
.contact-item:hover {
    background: #f5f5f5;
}

/* Hiệu ứng rung */
@keyframes shake {
    0%   { transform: rotate(0deg); }
    10%  { transform: rotate(8deg); }
    20%  { transform: rotate(-8deg); }
    30%  { transform: rotate(6deg); }
    40%  { transform: rotate(-6deg); }
    50%  { transform: rotate(4deg); }
    60%  { transform: rotate(-4deg); }
    70%  { transform: rotate(2deg); }
    80%  { transform: rotate(-2deg); }
    100% { transform: rotate(0deg); }
}

/* MOBILE */
@media (max-width: 767px) {
    .contact-item {
        flex-direction: column; /* icon trên - text dưới */
        gap: 2px;
        padding: 6px 4px;
    }

    .contact-item .text {
        font-size: 13px;
        white-space: normal;
    }
}

/*-end-css-btn-contact-bottom--*/





/*-all-btn-contact-*/
.iconfixfolow {
    position: fixed;
    right: 20px;
    bottom: 80px;
    list-style: none;
    padding: 0px;
    margin: 0px;
	z-index: 999;
}
.iconfixfolow li {
    border: 1px solid #ed1c25;
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 100%;
    margin-right: 5px;
    background-color: #ed1c25;
	z-index: 999;
	margin-bottom: 10px;
}
.iconfixfolow a {
    color: #fff;
}
.iconfixfolow i {
    margin-top: 8px;
    font-size: 24px;
}
.hotline-phone-ring-wrap {
position: fixed;
bottom: 0;
left: 0;
z-index: 999999;
}
.hotline-phone-ring {
position: fixed;
visibility: visible;
background-color: transparent;
width: 110px;
height: 110px;
cursor: pointer;
z-index: 11;
-webkit-backface-visibility: hidden;
-webkit-transform: translateZ(0);
transition: visibility .5s;
display: block;
margin-top: -10px;
}
.hotline-phone-ring-circle {
width: 130px;
height: 130px;
top: -20px;
left: -20px;
position: absolute;
background-color: transparent;
border-radius: 100%;
border: 2px solid #ed1c25;
-webkit-animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
transition: all .5s;
-webkit-transform-origin: 50% 50%;
-ms-transform-origin: 50% 50%;
transform-origin: 50% 50%;
opacity: 0.5;
}
.hotline-phone-ring-circle-fill {
width: 90px;
height: 90px;
top: 0px;
left: 0px;
position: absolute;
background-color: #ed1c25;
border-radius: 100%;
border: 2px solid transparent;
-webkit-animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
transition: all .5s;
-webkit-transform-origin: 50% 50%;
-ms-transform-origin: 50% 50%;
transform-origin: 50% 50%;
}
.hotline-phone-ring-img-circle {
background-color: #ed1c25;
width: 70px;
height: 70px;
top: 10px;
left: 10px;
position: absolute;
background-size: 20px;
border-radius: 100%;
border: 2px solid transparent;
/*-webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;*/
/*animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;*/
-webkit-transform-origin: 50% 50%;
-ms-transform-origin: 50% 50%;
transform-origin: 50% 50%;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
align-items: center;
justify-content: center;
}
.hotline-phone-ring-img-circle .pps-btn-img {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
font-size: 28px;
text-align: center;
color: #fff;
font-weight: bold;
line-height: 1.4;
}
.hotline-phone-ring-img-circle .pps-btn-img img {
width: 20px;
height: 20px;
}
.hotline-bar {
position: absolute;
background: rgb(49, 74, 166);
border-radius: 3px;
padding: 0 15px 0 0;
background-size: 100%;
cursor: pointer;
transition: all 0.8s;
-webkit-transition: all 0.8s;
z-index: 9;
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.1);
border-radius: 50px !important;
/* width: 175px !important; */
left: 33px;
bottom: 37px;
}
.hotline-bar > a {
color: #fff;
text-decoration: none;
font-size: 15px;
font-weight: bold;
text-indent: 50px;
display: block;
letter-spacing: 1px;
line-height: 40px;
font-family: Arial;
}
.hotline-bar > a:hover,
.hotline-bar > a:active {
color: #fff;
}
@-webkit-keyframes phonering-alo-circle-anim {
0% {
-webkit-transform: rotate(0) scale(0.5) skew(1deg);
-webkit-opacity: 0.1;
}
30% {
-webkit-transform: rotate(0) scale(0.7) skew(1deg);
-webkit-opacity: 0.5;
}
100% {
-webkit-transform: rotate(0) scale(1) skew(1deg);
-webkit-opacity: 0.1;
}
}
@-webkit-keyframes phonering-alo-circle-fill-anim {
0% {
-webkit-transform: rotate(0) scale(0.7) skew(1deg);
opacity: 0.6;
}
50% {
-webkit-transform: rotate(0) scale(1) skew(1deg);
opacity: 0.6;
}
100% {
-webkit-transform: rotate(0) scale(0.7) skew(1deg);
opacity: 0.6;
}
}
@-webkit-keyframes phonering-alo-circle-img-anim {
0% {
-webkit-transform: rotate(0) scale(1) skew(1deg);
}
10% {
-webkit-transform: rotate(-25deg) scale(1) skew(1deg);
}
20% {
-webkit-transform: rotate(25deg) scale(1) skew(1deg);
}
30% {
-webkit-transform: rotate(-25deg) scale(1) skew(1deg);
}
40% {
-webkit-transform: rotate(25deg) scale(1) skew(1deg);
}
50% {
-webkit-transform: rotate(0) scale(1) skew(1deg);
}
100% {
-webkit-transform: rotate(0) scale(1) skew(1deg);
}
}
/*-end-all-btn-contact-*/


.site-logo {
	display: flex;
	align-items: center;
	margin-right: -5px;
}
/* Chữ đứng trước logo */
.site-logo::before {
	content: "CÔNG AN TỈNH GIA LAI \A PHÒNG CẢNH SÁT GIAO THÔNG";
	white-space: pre;
	text-align: center;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 16px;
	color: #fff;
}
.boxchat .btnchatfacebook, .boxchat .btnchatzalo {
    margin-left: 25px;
}
.boxchat img {
    border-radius: 100%;
    width: 13%;
    margin-bottom: 10px;
}
.boxchat {
    position: fixed;
    bottom: 80px;
    left: 0px;
    z-index: 9999;
}
.social-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
	margin-top: 35%;
}

.social {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social.fb { background: #1877f2; }
.social.yt { background: #ff0000; }
.social.tt { background: #000000; }
.social:focus{
	color: #fff;
}
.social:hover {
    transform: translateY(-3px);
	color: #fff;
}



.iphone-wrap {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 9 / 19.5;
    margin: auto;
	z-index: 100; /* tạo tầng cha */
    overflow: visible; /* RẤT QUAN TRỌNG */
}

/* VIDEO = PHẦN MÀN HÌNH */
.video-player {
    position: absolute;
    top: -7%;
    left: -2%;
    object-fit: cover;
    background: #000;
    z-index: 1;
}

/* KHUNG IPHONE */
.iphone-overlay {
    position: absolute;
	top: -95px;
    left: -90px;
    width: 135%;
    height: 93%;
	background: url('/wp-content/uploads/2026/01/Iphone-Frame-PNG-File-scaled.png') top / contain no-repeat;
    z-index: 9999; /* đè mọi thứ trong wrap */
    pointer-events: none;
}



.site-logo, .has-start.has-center .header-col.col-start{
	text-align: center !important;
}
.header-social-icons {
    margin-top: 80px;
}
/*.header-html.builder-item-focus, .site-branding.builder-item-focus {
    display: inline-block;
}*/
.site-branding.builder-item-focus .site-description {
    color: #fff;
    font-weight: bold;
	font-size: 18px;
}
.video-content {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.video-content.is-changing {
    opacity: 0;
}
.video-player, .video-content iframe {
    width: 90%;
    height: 700px;
    background: #000;
    border-radius: 40px;
}



.video-switcher {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0px;
	/*padding: 0 30px;*/
	width: 70%;
    text-align: center;
    margin: 0 auto;
}
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}
.bg-video-switcher {
    width: 100vw;
    height: 100vh;
    background-image: url(/wp-content/uploads/2026/01/bg84jgh.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    position: fixed; 
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
	padding-top: 250px !important;
}





.video-buttons-wrapper {
    display: flex;
	flex-direction: column;
    align-items: center;
	margin-top: 130px;
    width: 100%;
}

/* track trượt theo PAGE */
.video-buttons {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.45s ease;
}

/* mỗi page chiếm 100% viewport */
.video-page {
    flex: 0 0 100%;
    display: flex;
	flex-direction: column;
	gap: 10px;
    /*flex-wrap: wrap;*/
}





/* viewport carousel */
.video-buttons-carousel {
    overflow: hidden;
	width: 150%;
    margin-left: 20%;
}

/* nav nằm dưới */
.video-buttons-nav {
    display: flex;
    justify-content: center;
	gap: 20px;
    margin-top: 10px;
    margin-left: 20%;
}

.vb-nav {
    width: 44px;
    height: 44px;
    border-radius: 100%;
    border: none;
    cursor: pointer;
	color: #000;
    font-size: 20px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,.15);
    transition: all .25s ease;
}

.vb-nav:hover {
    transform: translateY(-2px);
}

.vb-nav:disabled {
    opacity: .4;
    cursor: not-allowed;
}




.video-btn span {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.video-btn {
    padding: 12px 14px;
    border: none;
    background: #f3f3f3;
	color: #000;
    cursor: pointer;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
	text-align: left;
	/* Hiệu ứng mượt */
    transition: 
        all 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;
    position: relative;
    overflow: hidden;
}
/* hiệu ứng ánh sáng lướt */
.video-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.4),
        transparent
    );
    transition: all 0.6s ease;
}
.video-btn:hover::before {
    left: 100%;
}
/* hover & active */
.video-btn:hover,
.video-btn.active {
    background: linear-gradient(to right, #fd9f28, #fdba2f);
    color: #fff;
    box-shadow: 0 8px 20px rgba(253, 159, 40, 0.35);
}


.video-content iframe {
    width: 100%;
    height: 450px;
    border-radius: 10px;
}
header#masthead {
    z-index: 999;
	background-color: #ffffff00;
}
.main-header .nevo-section-inner:before {
    background-color: #e6030000;
}
.boxlogohear {
	display: flex;
	align-items: center;
}

/* Chữ bên phải logo */
.boxlogohear::after {
	content: "NGÀY TRUYỀN THỐNG\A LỰC LƯỢNG CẢNH SÁT GIAO THÔNG\A 21/12/1946 - 21/02/2026";
	white-space: pre;
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
	color: #fff;
}

.boxlogohear {
    margin-left: -10px;
}
.boxlogohear img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}
.hga-mobile-scroll-box {
    display: none;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

.boxchat {
	display: none;
}
.contact-grid {
	display: grid;
}
.site-branding img.is-logo-image {
    max-width: 80px;
}
.hga-mobile-scroll-box {
        display: block;
        text-align: center;
    }
.hga-msb-content h2 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}
.hga-msb-content h1 {
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 600;
	color: #fff;
}
.boxhotromb {
    background-color: #0000003b;
    border-radius: 10px;
    padding: 20px 10px;
    margin-bottom: 20px;
}
.hga-msb-content p {
    font-weight: 600;
	color: #fff;
    text-transform: uppercase;
	margin-bottom: 0px;
}
.hga-msb-inner img {
	 width: 60%;
     margin-bottom: 10px;
}
	
	.video-btn span{
		-webkit-line-clamp: 2;
	}	
	html, body {
		height: auto !important;
        overflow-y: auto !important;
}
	.bg-video-switcher{
		position: relative;
        height: auto;
		margin-top: -250px;
	}
	.video-player {
		top: 3%;
        width: 96%;
        left: 2%;
        height: 630px;
		border-radius: 30px;
	}
	.iphone-overlay {
    	top: -2%;
		left: -20%;
        width: 140%;
		height: 100%;
	}
	button.vb-nav i {
    	margin-left: -3px;
	}
	.video-buttons-carousel {
    	width: 100%;
		margin-left: 0%;
	}
	.site-branding.builder-item-focus .site-description{
		font-size: 17px;
	}
	.video-buttons-wrapper{
		margin-top: 0px;
	}
	.vb-nav {
    	width: 31px;
    	height: 31px;
		font-size: 12px;
	}
	.video-buttons-nav {
    	gap: 10px;
		margin-top: 10px;
        margin-bottom: 15px;
    	margin-left: 0px;
	}
	.vb-nav:hover {
    	transform: none;
	}
	.video-page {
    	gap: 10px;
	}
	.video-btn{
		padding: 5px 10px;
		font-size: 13px;
        height: 60px;
		text-align: center;
	}
	.video-switcher {
		display: block;
        grid-template-columns: 1fr;
		gap: 0px;
		width: 84%;
    }
    .video-content iframe {
        height: 260px;
    }
}