﻿/* 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: #3C3C3C;
}
.MegaContainer
{
    position:static;
}
.MegaGroupUL
{
    width: 100%;
    margin: 0 auto;
    list-style: none;
    z-index: 10;
    text-align: center;
    padding: 0;
    padding-left:200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.MegaGroupLI
{
    position: static;
    display: flex;
    transition: all 0.5s;
    cursor: pointer;
}
.MegaGroupLI:hover
{
    background:#FABA25;
    color:black;
}
.MegaGroupButton
{
    height: 24px;
    line-height: 24px;
    font-weight: bold;
    text-decoration: none !important;
    position: relative;
    display: block;
    font-size: 1.125em;
    padding: 0 20px;
    color: white;
    font-family: "Roboto Condensed", Sans-Serif;
    text-transform:uppercase;
}
.MegaGroupLI:hover .MegaGroupButton
{
    color:black;
}
.MegaSubGroupUL
{
    display: none;
    position: absolute;
    top: 24px;
    left: 0;
    right:0;
    min-width: auto;
    border: none;
    overflow: hidden;
    text-align: left;
    text-transform: none;
    z-index: 999;
    font-weight: normal;
    background-color: transparent;
}
.MegaGroupLI:hover .MegaSubGroupUL
{
    display: table;
    width: auto;
    min-width:auto;
    margin:0 auto;
}
.MegaSubGroupContainer
{
    display:flex;
    padding: 10px;
    background-color:#f5f5f5;
    box-shadow: inset 0 0 0 3px Black;
    max-width:1350px;
}
.MegaSubGroupUL a:hover
{
    color:black;
    background:#FABA25;
}
.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;
    font-family: "Roboto Condensed", Sans-Serif;
}
.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;
}
.LiCustomText
{
    list-style:none;
    padding:0 15px;
}
.CustomNavTitle
{
    display:block;
    color:#1A6F2B;
    font-weight:bold;
}
.CustomNavText strong, .CustomNavText b
{
    color:#1A6F2B;
}
.MegaSubGroupItemLI
{
    display: block;
    float: none;
    width: 100%;
    border-bottom:1px dashed #ccc;
}
.MegaSubGroupItem
{
    display: block;
    font-weight: 400;
    font-size: 1.178em;
    color: Black;
    height: auto;
    line-height: 1.6;
    font-family: "Roboto Condensed", Sans-Serif;
}
.MegaSubGroupTitle
{
    font-weight: bold;
    font-size: 1.125em;
    font-family: "Roboto Condensed", Sans-Serif;
}
/* 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;}
    .MegaGroupLI:hover .MegaSubGroupUL
    {
        display:flex;
    }
    .LiCustomText
    {
        flex:2;
        max-width:none;
        min-width:250px;
    }
    .MegaSubGroupLI
    {
        flex:1;
        min-width:210px;
        max-width: 300px;
        border-right: 1px solid #ccc;
    }
    .MegaSubGroupLI:nth-child(2)
    {
    }
    .MegaSubGroupLI:nth-child(3)
    {
    }
    .MegaSubGroupLI:last-child
    {
        border-right:none;
    }
}
@media screen and (max-width: 991px)
{
    .LiCustomText
    {
        display:none;
    }
    .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 */