﻿/* MegaMenuMobile styles template 3.0 */

/* General mega menu styles */
.MegaMenu
{
    position: relative;
}
navmega
{
    z-index:9;  
    padding: 0;
    width: 100%;
    margin-bottom: 0px;
    font-weight: bold;
    display:block;
    background: #E0E0E0;
}
.MegaContainer
{
    position:static;
}
.MegaGroupUL
{
    width: 100%;
    margin: 0 auto;
    list-style: none;
    z-index: 10;
    text-align: center;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.MegaGroupLI
{
    position: static;
    display: flex;
    transition: all 0.5s;
    cursor: pointer;
}
.MegaGroupLI:hover
{
    background:#CCCCCC;
}
.MegaGroupButton
{
    height: 38px;
    line-height: 37px;
    font-weight: bold;
    text-decoration: none !important;
    position: relative;
    display: block;
    font-size: 1.111em;
    padding: 0px;
    color: #272727;
}
.MegaGroupLI:hover .MegaGroupButton
{
    color:#000;
}
.MegaSubGroupUL
{
    display: none;
    padding: 10px;
    position: absolute;
    top: 38px;
    left: 0;
    min-width: 100%;
    border: none;
    overflow: hidden;
    z-index: 9999;
    background: white;
    text-align: left;
    text-transform: none;
    z-index: 999;
    font-weight: normal;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
}
.MegaGroupLI:hover .MegaSubGroupUL
{
    display: table;
    width: calc(100vw - 20px);
}
.MegaSubGroupLI
{
    max-width: 300px;
    display: table-cell;
    float: none;
    width: auto;
    vertical-align: top;
    padding: 0 15px;
    position: relative;
    cursor: pointer;
    transition: all 0.5s;
}
.MegaSubGroupLI:hover
{
}
.MegaSubGroupImage
{
    display: block;
    font-weight: bold;
    font-size: 1.178em;
    color: Black;
    line-height: 1.6;
}
.MegaSubGroupImage:hover
{
}
.MegaSubGroupImage.imgContainer
{
    width: 100%;
    border: 1px solid #CCC;
    display: block;
    margin-bottom: 5px;
}

/*comment this out to reduce image size restrictions (i.e. clients can put whatever images they want here)*/
/*.MegaSubGroupImage.imgContainer
{
    height: 0;
    overflow: hidden;
    padding-bottom: 60%;
}
.MegaSubGroupImage.imgContainer:after 
{
    content: "";
    height: 0;
    box-shadow: 0 -4px 0 white inset;
    width: 100%;
    display: block;
    padding-bottom: calc(60% + 2px * 0.6);
    position: absolute;
    top: 0;
}*/
/* end image restrictions styles*/

.MegaSubGroupImage.imgContainer img
{
    padding: 4px;
    border: 1px solid #CCC !important;
    max-width: 300px;
    width:100%;
}
.MegaSubGroupItemUL
{
    display: block;
    float: none;
    width: 100%;
    position: relative;
    border: none;
    box-shadow: none;
    top: 0;
    padding: 0;
}
.MegaSubGroupItemLI
{
    display: block;
    float: none;
    width: 100%;
}
.MegaSubGroupItem
{
    display: block;
    font-weight: 400;
    font-size: 1.178em;
    color: Black;
    height: auto;
    line-height: 1.6;
}
.MegaSubGroupTitle
{
    font-weight: bold;
    font-size: 1.125em;
}
/* End General mega menu styles */

/* Mobile menu styles */
#mobile_top_nav.MegaMenu ul
{
    color: White;
    padding: 0;
    margin: 0;
    list-style: none;
}
#mobile_top_nav.MegaMenu a
{
    color: White;
}
#mobile_top_nav.MegaMenu > ul > li > ul
{
    height: 0;
    transition: height 0.5s;
    overflow: hidden;
    padding-left: 15px;
}
#mobile_top_nav.MegaMenu > ul > li > ul > li
{
    padding: 3px 0;
    font-size: calc(8em / 9);
}
#mobile_top_nav.MegaMenu > ul > li > ul > li span
{
    font-weight: bold;
    text-decoration: underline;
}
#mobile_top_nav.MegaMenu .Drop
{
    width: 100%;
    display: block !important;
    padding: 2px 0;
}
#mobile_top_nav.MegaMenu .Arrow
{
    color: White;
    float: right;
    transition: transform 0.25s;
}
#mobile_top_nav.MegaMenu .Drop.Open .Arrow
{
    transform: rotate(90deg);
}
#mobile_top_nav.MegaMenu
{
    display: none;
    font-size: 1.125em;
}
@media screen and (min-width: 992px)
{
    .MobileSlider{display:none;}
}
@media screen and (max-width: 991px)
{
    .TopNav.MegaMenu
    {
        display:none;
    }
    #mobile_top_nav.MegaMenu
    {
        display: block;
    }
    #mobile_top_nav.Open 
    {
    left: 0;
    }
    .MobileSlider 
    {
        display: block;
        width: 100%;
        float: left;
        padding: 5px 30px;
        background: #121212;
        position: relative;
        position: sticky;
        top: 0;
        z-index: 500;
    }
    .MobileSlider .Lines 
    {
        display: inline-block;
        margin-left: 5px;
    }
    .MobileSlider .Line 
    {
        width: 15px;
        height: 2px;
        background: 
        white;
        float: left;
        clear: left;
        margin: 1px 0;
    }
    .MobileSlider a 
    {
        color: White;
        text-transform: uppercase;
    }
    #mobile_top_nav 
    {
        position: fixed;
        top: 0;
        width: 260px;
        height: 100vh;
        left: -260px;
        border: 2px solid black;
        transition: left 0.25s;
        background: #231f20;
        overflow: auto;
        padding: 10px;
    }
    #mobile_top_nav.MegaMenu a
    {
        height:auto;
        display:inline;
        line-height:1.6;
    }
    .MegaSubGroupLI
    {
        display:block;
        max-width:100%;
    }
    #mobile_top_nav.MegaMenu a.MegaSubGroupImage
    {
        display:block;
        max-width:100%;
    }
    .MegaSubGroupImage.imgContainer img
    {
        max-width:100%;
    }
}
/* End Mobile menu styles */