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

/*************** ADD CUSTOM CSS HERE.   ***************/
@font-face {
	font-family: 'UVF BankGothic Md BT';
	font-weight: 500;
	font-display: auto;
	font-fallback: san-serif;
	src: url('fonts/UVF-BankGothic-Md-BT.ttf') format('truetype');
}

.bt_danhmuc {
    width: 45% !important;
}

.amlab_contact-now {
    background-color: #f9c300 !important; 
    color: #fff !important; 
    padding: 10px 20px !important; 
    margin-right: 5px !important; 
    text-decoration: none !important; 
    border-radius: 5px !important;
    text-transform: none !important;
}
.amlab_view-details {
    background-color: #333 !important; 
    color: #fff !important; 
    padding: 10px 20px !important; 
    text-transform: none !important;
    text-decoration: none !important; 
    border-radius: 5px !important;
}
.amlab_home_title {
    font-size: 40px !important;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom:0;
}
.amlab_banner_overlay:after {
    content:"";
    transition: background-image 0.6s, border-radius 0.3s, opacity 0.6s;
    background-image: linear-gradient(180deg, #00000000 0%, #00000085 85%);
    opacity: 0;
}
.amlab_banner_overlay:hover:after {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: .85;
}
.amlab_tb_banner_overlay .text h3 {
    font-size:28px;
    line-height:1.4;
    transform: translateY(80px);
    transition: all 0.5s ease!important;
}
.amlab_tb_banner_overlay .text p, .amlab_tb_banner_overlay .text a.button {
    font-size: 16px;
    opacity: 0;
    max-height: 0;
    transform: scaleY(0);
    transition: all 0.5s ease!important;
}
.amlab_banner_overlay:hover .text h3 {
    transform: unset;
}
.amlab_banner_overlay:hover .text p {
    max-height: 80px;
    opacity: 1;
    transform: scaleY(1);
}

.amlab_banner_overlay:hover .text a.button {
    max-height: 50px;
    opacity: 1;
    transform: scaleY(1);
}

.amlab_banner_overlay .banner-layers {
    z-index:2;
}
.amlab_banner_overlay_mb:after {
    content:"";
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    background-image: linear-gradient(180deg, #00000000 0%, #00000085 85%);
}
.amlab_banner_overlay_mb .banner-layer {
    z-index:2;
}
.slider-custom{
    padding: 0;
    bottom: 0px; 
}
.slider-custom .flickity-slider .img{
    max-width: 20%!important;
    max-height:130px !important;
    margin: 5px;
    border: 2px solid #fff;
}
.slider-custom .flickity-slider .img .img-inner {
    padding-top:130px !important;
}
.slider-custom .flickity-page-dots,
.slider-custom .flickity-button
{
    display: none;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.amlab_home_title {
    font-size: 28px !important;
}

}