.submenu {

}
.mega-menu-item {
    position: initial !important;
} 
.mega-menu-item .dropdown-menu {
    top: 60px !important;
} 
.mega-menu-item > a+ul {
    background: #fff;
    border-radius: 0 0 4px 4px;
    padding: 20px 5px 20px 5px !important;
    width: 100%;
    box-shadow: 0 10px 25px 0 rgba(0,0,0,0.1);
}
.mega-menu-card {
    display: block;
    margin-bottom: 20px;
    transition: all 0.25s ease;
}
.mega-menu-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px 0 rgba(0, 0, 0, 0.15);
}
.mega-menu-card-img {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.mega-menu-card-img:hover img {
    opacity: 0.75;
    transform: scale(1.1);
    cursor: pointer;
}
.mega-menu-card-img img {
    max-width: 100%;
    width: auto;
    border-radius: 4px;
    height: auto;
    transition: all 0.35s ease;
}
.mega-menu-card-body h5 {
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: center;
}
.mega-menu-card-body h5 > a {
    color: #000 !important;
     cursor: pointer;
}
.mega-menu-card-body .link-text-btn {
    color: #000 !important;
    display: inline-block;
    padding: 4px 12px !important;
    background: #f2f2f2;
    font-weight: 500;
    border: 1px solid #ccc;
    font-size: 14px;
    display: block;
    width: 100%;
    cursor: pointer;
    text-align: center; 
}
.main-menu ul li .mega-menu-card-body .link-text-btn:hover {
    color: #fff !important;
    background: #000 !important;
    border: 1px solid transparent !important; 
}

.main-header.white_header .main-menu .nav-item:not(.mega-menu-item).submenu ul li a {
    color: #fff !important;
}   
.main-header.white_header .main-menu .nav-item:not(.mega-menu-item).submenu ul li:hover a {
    color: #000 !important;
} 
.p-single-top h2 {
    font-size: 46px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 21px;
}
.p-single-top h3 {
    display: inline-block;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.6em;
    text-transform: capitalize;
    color: var(--accent-color);
    padding-left: 35px;
    margin-bottom: 20px;
    position: relative;
}
.p-single-top h3::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: url(../images/icon-sub-heading.svg);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
    width: 24px;
    height: 5px;
}
.p-single-top p {
    font-size: 18px;
}

.mega-menu-card-body h5 > a:hover {
    text-decoration: underline; 
}
.main-menu ul li .mega-menu-card-img a {
    display: block;
    padding: 0 !important;
}
.mega-menu-text-links ul {
    position: relative !important;
    left: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: auto !important;
    background-color: #fff !important;
    border-radius: 0 !important;
    padding-left: 0 !important;
}
.main-menu ul li .mega-menu-text-links ul li {
   transition: all 0.35s ease;
}
.main-menu ul li .mega-menu-text-links ul li a  {
    padding: 0 !important;
    color: #000 !important;
    font-size: 17px;
    margin-bottom: 7px;
    display: block;
}
.main-menu ul li .mega-menu-text-links ul li a::before  {
    display: inline-block;
    margin-right: 10px;
    font-family: 'Font Awesome 5 Free'; /* or 'Font Awesome 6 Free' */
    font-weight: 900; /* solid style */
    content: "\f105";
}
.main-menu ul li .mega-menu-text-links ul li:hover {
    padding-left: 5px !important;
}
.main-menu ul li .mega-menu-text-links h4 {
    margin-bottom: 15px;
    font-size: 20px;
}
.main-menu ul li .text-links-img { 
    padding: 0 !important;
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
}
.main-menu ul li .mega-menu-text-links img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    transition: all 0.35s ease;
}
.main-menu ul li .mega-menu-text-links .text-links-img:hover img {
    transform: scale(1.08);
    opacity: 0.74;
}
.mega-menu-item:hover {
    color: #fff;
}
.main-header .mega-menu-item:hover > a {
    color: #fff !important;
}
header .mega-menu-container .mega-menu-btn-wrap .mega-menu-button {
    position: relative;
    display: inline-block;
    background: #333;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1em;
    text-transform: capitalize;
    padding: 17px 24px 17px 14px;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
    z-index: 0;
    width: 100%;
    text-align: center;
    border-radius: 4px;
    border: 1px solid #eee;
}

.nav-top-bar {
    text-align: center;
    padding: 7px;
    background: #000;
}
header.main-header .header-sticky.active .nav-top-bar {
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.nav-top-bar p {
   margin: 0 !important;
}
.nav-top-bar p a {
    color: #fff !important;
    font-size: 18px !important;
}
.mega-menu-btn-wrap .mega-menu-button::before {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 0px;
    height: 16px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: "\f105";
    background-size: cover;
    transform: translate(-20px, -50%);
    transition: all 0.4s ease-in-out;
}
.mega-menu-btn-wrap .mega-menu-button:hover {
    background: transparent;
    border-color: transparent;
    color: var(--white-color);
}
.mega-menu-btn-wrap .mega-menu-button:hover::before {
    transform: translate(-18px, -50%);
}
.mega-menu-btn-wrap .mega-menu-button:hover:after {
    width: 100%;
    transform: skew(0deg);
    left: 0;
}
.mega-menu-btn-wrap .mega-menu-button::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -15%;
    right: 0;
    width: 0;
    height: 106%;
    background: #b5121b !important;
    transform: skew(45deg);
    transition: all 0.4s ease-in-out;
    z-index: -1;
}
.resp-dropdown {
    display: none !important;
}

@media only screen and (max-width: 991px) {
    .mega-menu-wrapper .row .col-lg-9+.col-lg-3 {
        display: none !important;
    }
    .mega-menu-container {
        display: none !important;
    }
    .mega-menu-item {
        display: none !important;
    }
    .resp-dropdown {
        display: block !important;
    }
}
.navbar .container {
    position: relative;
}