/*
Theme Name:     Newsmax child
Template:      	newsmax
Theme URI:      http://newsmax.themeruby.com/
Author:         Theme-Ruby
Author URI:     https://themeforest.net/user/theme-ruby/portfolio/
Description:    Make your modifications to Newsmax in this child theme.
Version:        1.0
Tags:           custom-background, custom-menu, editor-style, featured-images, theme-options, custom-colors, translation-ready
License:        license purchased
License URI:    https://themeforest.net/licenses/standard
*/

/* Your CSS code goes here
-------------------------------------- */
.thumbnail-resize .w-feat-logo {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 99;
}

.post-wrap:hover .thumbnail-resize .w-feat-logo {
    display: block;
    opacity: 1;
    visibility: visible;
}

.thumbnail-resize .w-feat-logo img {
	position: relative !important;
    z-index: 9;
    max-height: 120px;
    width: auto !important;
    opacity: 0.8;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    transition-delay: .2s;
    -webkit-transition-delay: .2s;
    -webkit-transition-delay: .2s;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
}

.mega-category-menu-inner .thumbnail-resize .w-feat-logo img {
    max-height: 80px;
}

.post-list.post-list-4 .thumbnail-resize .w-feat-logo img {
    max-height: 50px;
}

.post-wrap:hover .thumbnail-resize .w-feat-logo img {
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}



