.g_main{
    margin-bottom: 3rem;
}
.main_g{
    position: relative;
    cursor: pointer;
}
.main_g img{
    width: 100%;
}
.main_g .main_hover_g{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.21);
    transition: 0.5s all ease-in-out;
}
.main_g .main_hover_g .main_hover_inner_g{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    padding: 1rem;
    width: 100%;
}
.main_g .main_hover_g .main_hover_inner_g .main_text_g h2{
    padding-bottom: 1rem;
    margin: 0;
    font-size: 2rem;
    letter-spacing: 1px;
    position: relative;
}
.main_g .main_hover_g .main_hover_inner_g .main_text_g h2::after{
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #fff;
    left: 0rem;
    bottom: 0rem;
    transition: 0.5s all ease-in-out;
}
.main_g .main_hover_g .main_hover_inner_g .main_text_g p{
    font-size: 14px;
    letter-spacing: 0.2px;
    opacity: 0;
    visibility: hidden;
    padding-top: 2rem;
    transition: 0.5s all ease-in-out;
}
.main_g .main_hover_g .main_hover_inner_g .main_icon_g{
    position: absolute;
    height: 100%;
    right: 0;
    text-align: right
}
.main_g .main_hover_g .main_hover_inner_g .main_icon_g a{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 3rem;
    height: 40px;
    width: 40px;
    background: #ff8600;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s all cubic-bezier(0.43, -0.01, 0.83, 1.14)
}
.main_g .main_hover_g .main_hover_inner_g .main_icon_g a .fa{
    position: relative;
    top: 50%;
    transform: translateY(-73%); 
}

.main_hover_g:hover{
    background: rgba(0, 0, 0, 0.56);
}
.main_hover_g:hover .main_hover_inner_g .main_text_g p{
    opacity: 1;
    visibility: visible;
}
.main_hover_g:hover .main_hover_inner_g .main_text_g h2::after{
     width: 50px;
}

.main_hover_g:hover .main_hover_inner_g .main_icon_g a{
     visibility: visible;
    opacity: 1;
}




/*Mobile*/
@media (max-width:991px){
    .move-left{
        top: 35%;
        right: -2rem;
    }
    .move-right{
        top: 35%;
        left: 0.6rem;
    }
}
@media (max-width:767px){
    .main_g img{
        height: 200px;
        width: 100%;
    }
    .main_g .main_hover_g .main_hover_inner_g .main_text_g h2{
        font-size: 2rem;
    }
    .main_g .main_hover_g .main_hover_inner_g .main_icon_g a{
        transform: translateY(-80%);
        height: 30px;
        width: 30px;
    }
    .background-image-style h1, .banner-brands h1, .banner-alliances h1, .banner-downloads h1, .banner-career h1, banner-brands h1, .banner-services h1, .banner-product h1, .banner-business h1, .banner-awards h1, .banner-media h1, .banner-hralign h1, .banner-offerings h1, .banner-leader h1, .banner-luxury h1{
        font-size: 18px;
    }
    
    /*Mobile banner functionality*/
    #myCarousel .carousel-inner .fill{
        background-position: top center !important;
        background-repeat: no-repeat;
        background-size: cover !important;
    }
    
    #carousel-example-generic{
        padding-top: 4rem;
    }
    
    .property-slider .carousel-inner img{
        height: auto!important;
    }
    
    
    
}