﻿/* MegaMenuMobile styles template 3.0 */

/* General mega menu styles */
.MegaMenu
{
    position: relative;
    clear:both;
}
navmega
{
    z-index:9;  
    padding: 3px 10px;
    width: 100%;
    margin-bottom: 0px;
    font-weight: bold;
    display:block;
    background:#FA323D;
    /*background:#E50611;*/
    border-radius:10px 0 0 10px;
}
.navmega2
{
    background:#FFFFFF;
    margin-top:28px;
    margin-bottom:25px;
    z-index:8;
}
.MegaContainer
{
    position:static;
    max-width:100%;
    margin:0;
    padding:0;
    height:33px;
}
.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;
    position:relative;
}
.MegaGroupUL2
{
    z-index:9;
}
.MegaGroupLI
{
    position: static;
    display: flex;
    transition: all 0.5s;
    cursor: pointer;
    padding:5px 10px;
}
.MegaGroupLI:hover
{
    background:#2b2b2c;
}
.MegaGroupButton
{
    height: auto;
    line-height: 1;
    font-weight: normal;
    text-decoration: none !important;
    position: relative;
    display: block;
    font-size: 1.525em;
    padding: 0px;
    color:white;
}
.navmega2 .MegaGroupButton
{
    color:#231F20;
}
.MegaGroupLI:hover .MegaGroupButton, .MegaGroupButton:focus
{
    color:#FFF;
}
.navmega2 .MegaGroupLI:hover .MegaGroupButton
{
    color:#FFF;
}
.MegaSubGroupUL
{
    display: none;
    padding: 10px;
    position: absolute;
    top: 33px;
    left: 0;
    min-width: 100%;
    border: none;
    overflow: hidden;
    /*background: #2b2b2c;*/
    background:#000;
    text-align: left;
    text-transform: none;
    z-index: 11;
    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, .MegaGroupLI:focus-within .MegaSubGroupUL
{
    display: table;
    width: calc(51vw - 20px);
    
    /*width: calc(96vw - 20px);
    left:-45vw;
    right:auto;*/
}
.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: white;
    line-height: 1.6;
}
.MegaSubGroupImage:hover
{
    color:white;
}
.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.000em;
    color: white;
    height: auto;
    line-height: 1.4;
}
.MegaSubGroupItem:hover, .MegaSubGroupItem:focus
{
    color:#E5283C;
}
.MegaSubGroupTitle
{
    font-weight: bold;
    font-family: 'gt_walsheimbold', sans-serif;
    font-size: 1.125em;
    color:#E5283C;
}
.LiCustomText
{
    width:55%;
    list-style:none;
    margin-left:18px;
    padding-top:10px;
}
.CustomNavText
{
    color:White;
    font-size:0.833em;
}
.MegaMenuFooter
{
    width:100%;
    background-color:#000;
    color:White;
    /*display:none;*/
    position:absolute;
    z-index:10;
    top:auto;
    left:0;
    bottom:-9px;
    text-align:right;
    padding:7px 50px 5px;
    border-top:2px solid #FA323D;

    display:none;
}
.MegaMenuFooter a
{
    text-transform:uppercase;
    color:White;
    padding:10px;
    font-size:0.938em;
    font-weight: bold;
    font-family: 'gt_walsheimbold', sans-serif;
    display:inline;
    line-height:1;
}
.MegaMenuFooter a:hover
{
    color:#EE2D42 !important;
}
/* 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 > ul > li > ul > li.LiCustomText span
{
    text-decoration:none;
}
#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 (min-width:1470px)
{
    .MegaMenu
    {
        grid-column:1 / 3;
        display:grid;
        grid-template-columns:730px 1fr;
    }
    navmega
    {
        grid-column:1 / 3;
        display:grid;
        grid-template-columns:730px 1fr;
        align-items:center;
    }
    .MegaContainer
    {
        grid-column:1;
    }
}
@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: #4c4c4c;
        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: none;
        background-color:#222;
        border-radius:4px;
        padding:4px 10px;
        float:right;
        font-weight: normal;
        letter-spacing:1px;
        font-size:0.888em;
    }
    #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%;
    }
    .LiEmptySubGroup{display:none !important;}
    #mobile_top_nav.MegaMenu a.MegaSubGroupImage
    {
        display:block;
        max-width:100%;
    }
    .MegaSubGroupImage.imgContainer img
    {
        max-width:100%;
    }
}
/* End Mobile menu styles */