/*!
Theme Name: Usc
Theme URI: http://ashrafuloli.com/
Author: Ashraful Oli
Author URI: http://ashrafuloli.com/
Description: Honey Bee Health Coalition Custom WordPress Theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: usc
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Honey Bee Health Coalition is based on Underscores https://underscores.me/, (C) 2012-2017 Automatic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan muslim-invest-page-content Neal https://necolas.github.io/normalize.css/
*/

/* Here Custom CSS. */


.widget_nav_menu .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget_nav_menu .menu li {
    /*border-bottom: 1px solid #D6D6D6;*/
	
	


}

.widget_nav_menu .menu li a {
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #ffffff;
    padding: 10px 0;
    display: block;
}

.mega-sub-menu .textwidget h2 {
    font-weight: 400;
    font-size: 64px;
    line-height: 64px;
    color: #990000;
    margin-bottom: 30px;
}

ul.mega-sub-menu .widget_media_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}


.mega-mega-about-menu .mega-menu-columns-4-of-6 {
    padding: 30px 40px !important;
	


	
	
}

.mega-menu-grid > .mega-sub-menu {
    /*margin-top: 20px !important;*/
}

.mega-toggle-on .mega-menu-link {
    overflow: visible !important;
}

.mega-toggle-on .mega-menu-link::after {
    content: "";
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
    display: block !important;
    background: none !important;
    position: absolute;
    left: 16px;
    bottom: -20px;
    z-index: 9;
    transition: all 0.3s ease-in-out 0.5s;
}


.mega-mega-about-menu .mega-menu-columns-6-of-6 {
    padding: 30px 40px !important;
}

.menu-col-2 .widget_nav_menu .menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}


@media (min-width: 992px) and (max-width: 1199px) {
    .menu-col-2 .widget_nav_menu .menu {
        grid-template-columns: 1fr;
        gap: 0;
		
	}
	#mega-menu-wrap-main-menu #mega-menu-main-menu li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-column{
		
	width:50% !important;
		clear:none !important; 
		
    }

    .mega-mega-about-menu .mega-menu-columns-6-of-6 {
        padding: 0 !important;
    }

    .mega-sub-menu .textwidget h2 {
        font-size: 30px;
        line-height: 55px;
        margin-bottom: 0;
    }

    .mega-menu-grid > .mega-sub-menu {
        margin-top: 0 !important;
        padding: 0 !important;
    }

    .mega-mega-about-menu .mega-menu-columns-4-of-6 {
        padding: 0 !important;
    }

    .mega-menu-link {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .menu-col-2 .widget_nav_menu .menu {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mega-mega-about-menu .mega-menu-columns-6-of-6 {
        padding: 0 !important;
    }

    .mega-sub-menu .textwidget h2 {
        font-size: 30px;
        line-height: 55px;
        margin-bottom: 0;
    }

    .mega-menu-grid > .mega-sub-menu {
        /*margin-top: 0 !important;
        padding: 0 !important;*/
    }

    .mega-mega-about-menu .mega-menu-columns-4-of-6 {
        padding: 0 !important;
    }

    .mega-menu-link {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 767px) {
    .menu-col-2 .widget_nav_menu .menu {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mega-mega-about-menu .mega-menu-columns-6-of-6 {
        padding: 0 !important;
    }

    .mega-sub-menu .textwidget h2 {
        font-size: 30px;
        line-height: 55px;
        margin-bottom: 0;
    }

    .mega-menu-grid > .mega-sub-menu {
        /*margin-top: 0 !important;
        padding: 0 !important;*/
    }

    .mega-mega-about-menu .mega-menu-columns-4-of-6 {
        padding: 0 !important;
    }

    .mega-menu-link {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

