/*
Theme Name: Medicate Child
Theme URI: http://example.com/medicate-child/
description: > Medicate Child Theme
Author: Peacefulqode
Author URI: https://peacefulqode.com
Template: medicate
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, business, clinic, dental, dentist, doctor, doctor appointment, health theme, healthcare, hospital, medic, medical, Medical Tourism, medicine, physician, veterinary.
Use it to make something cool, have fun, and share what you've learned with others.
Text Domain: medicate-child
*/

/*Mega-Menu*/
/*@media screen and (min-width: 600px){
    .has-mega-menu{
        position:static !important;
    }
    li.has-mega-menu .sub-menu {
        width: 100% !important;
        position: absolute !important;
        top: 60px !important; 
			/*insert the needed value*/
/*        z-index: 100 !important;
        left:0px !important;
        right:0px !important;
    }
    li.has-mega-menu:hover>.sub-menu{

        display: flex !important;
        flex-wrap: wrap !important;

        display: grid !important;
        grid-template-columns: repeat(auto-fit,minmax(50%, 1fr))!important;   
    }
}
@media screen and (min-width: 992px){
    li.has-mega-menu:hover>.sub-menu{grid-template-columns: repeat(auto-fit,minmax(33.3333%, 1fr))!important; }
}
@media screen and (min-width: 1200px){
    li.has-mega-menu:hover>.sub-menu{grid-template-columns: repeat(auto-fit,minmax(25%, 1fr))!important; }
}
@media screen and (min-width: 600px){
    li.mega-menu-column {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 1px !important;
        padding: 10px 25px !important;
        flex: 1 0 calc(50%) !important;
    }
}*/
@media screen and (min-width: 992px){
    li.mega-menu-column {flex: 1 0 calc(33.333%) !important;}
}
@media screen and (min-width: 1200px){
    li.mega-menu-column {flex: 1 0 calc(25%) !important;}
}
.mega-menu-column img {
  display: block;
}
#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-right .mega-toggle-block:only-child {
     margin-left: 0px;
}
#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-right .mega-toggle-block {
     margin-right: 0px; 
}