/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.header-block{
	width: auto;
}
img{
	width: auto;
}
.header-bg-color{
	background-color: unset !important;
}
#masthead .header-nav > li{
	margin: 0;
}
#masthead .header-nav > li > a{
	font-size: 15px;
	color: #0854A2;
	padding-left: 8px;
	padding-right: 8px;
}
#masthead .header-nav > li > a:hover{
	color: #FCB315;
	transition: 0.3s;
}
#masthead .header-nav > li.current-menu-item > a{
	font-weight: 700;
	color: #FCB315;
}
#masthead .header-nav > li.active > a{
	font-weight: 700;
	color: #FCB315;
}
#masthead .header-nav > li.col2 > .sub-menu {
	width: 436px;
}
#masthead .header-nav > li.col2 > .sub-menu > li{
	width: 50%;
	float: left;
}
#masthead .header-nav > li.col2 > .sub-menu > li > a{
	font-size: 14px;
	font-weight: 400;
	line-height: 21.82px;
	letter-spacing: 0.05em;
	text-align: left;
	color: #0854A2;
}
#masthead .header-nav > li.col2 > .sub-menu > li > a:hover{
	color: #FCB315;
	transition: 0.3s;
}
#masthead .header-nav > li.col2 > .sub-menu > li.current-menu-item > a{
	color: #FCB315;
}
.header-button-1 a{
	font-size: 16px;
    text-transform: inherit;
    font-weight: 400;
    border: none;
    background: #0854A2 !important;
    box-shadow: unset;
    color: #fff;
    min-height: 38px;
    padding: 0 9px;
}
.custom-btn:hover {
    background-color: #007bff; /* Màu nền xanh khi hover */
    color: #ffffff;
}
.related-posts-list .related-post-link {
    color: #21409a; /* Màu mặc định của link */
    text-decoration: none;
    transition: all 0.3s ease; /* Hiệu ứng chuyển động khi hover */
    font-size: 16px;
}

.related-posts-list .related-post-link:hover {
    color: #fdb913; /* Màu khi hover */
    text-decoration: underline; /* Gạch chân khi hover */
    font-weight: bold; /* Chữ đậm hơn khi hover */
    padding-left: 5px; /* Thụt vào một chút khi hover */
}
@media (max-width: 768px) {
        .content-wrapper {
            padding: 10px;
            font-size: 14px;
        }
        
        .custom-btn {
            width: 100%;
            padding: 8px 0;
            text-align: center;
        }

        .related-posts h3 {
            font-size: 16px;
        }
    }

@media (max-width: 480px) {
        .content-wrapper {
            padding: 5px;
            font-size: 12px;
        }
    }
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Tỷ lệ 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.popup_footer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
