/* main MegaMenu bar (with Search box) styling */

/* allow megamenu popups to extend below body area on short/empty pages */ 
div#smg_page_template_container { overflow-y: visible; }

#smg_page_template_mega-menu-region #megaMenuLeft {
    padding: 0px;
    position: relative;
}

#mega-menu {
    clear: both;
    float: left;
    margin-bottom: 6px;
}

#smg_page_template_mega-menu-region .search-form, #smg_page_template_mega-menu-region #search-form, #smg_page_template_mega-menu-region #search-form fieldset {
    border: medium none;
    margin: 0px;
    padding: 0px;
    text-align: right;
}

#smg_page_template_mega-menu-region div.searchform {
    background-image: url("/smg/images/microSites/SMGBrands/search.bg.jpg");
    height: 28px;
    min-width: 220px;
    overflow: hidden;
    padding: 3px 7px 4px 0px;
    text-align: right;
}

#smg_page_template_mega-menu-region .searchform label {
    color: #333333;
}

#search-submit1 {
    position: relative;
    top: 4px;
}

#mega-menu h2 {
    font-size: 1.1em;
    font-weight: bold;
    line-height: 1.3em;
    margin: 0px;
    padding: 0px;
}

#mega-menu h2 a {
    color: #FFFFFF;
    text-align: center;
    text-decoration: none;
}

#mega-menu ul, #mega-menu ol {
    list-style-type: none;
    margin: 0px;
    position: relative;
}

#mega-menu li {
    background: url("/smg/templates/assets/images/homepage/megaMenu-center.gif") no-repeat scroll left top #E0E0E0;
    float: left;
    padding: 0px 0px 6px;
    position: relative;
}

#mega-menu li ul li {
	float: none;
    background: none repeat scroll 0% 0% transparent;
}

#mega-menu li h2 a {
    display: block;
    min-height: 24px;
    overflow: hidden;
    padding: 10px 8px 0px;
    text-shadow: 0.1em 0.1em 0.05em #333;
}

#mega-menu li.hovering a.mega-menu-item {
    color: #8C8C8E;
    font-weight: bold;
    text-shadow: none;
}

#mega-menu li.hovering .mega-menu-popup {
    display: block;
    position: absolute;
    top: 34px;
    z-index: 1000;
}

#mega-menu li.last.hovering .mega-menu-popup {
    display: block;
    position: absolute;
    right:0!important;
    top: 35px;
    z-index: 1000;
}

#mega-menu li.hovering {
    background-position: left -40px;
}

#mega-menu li#mega-menu-item-6.hovering {
    background-position: right -40px;
}

#mega-menu .mega-menu-popup li {
    border: medium none;
}

/* popup styling for old-style Info popup panels */
#mega-menu.MMInfo li h2 a {
    padding: 10px 20px 0px;
}

#mega-menu.MMInfo .mega-menu-popup {
    background: url("/smg/templates/assets/images/homepage/megamenu.grow.bg.png") no-repeat scroll 0px 0px transparent;
    display: none;
    height: 360px;
    padding: 20px;
    width: 766px;
}

#mega-menu.MMInfo .mega-menu-popup h3 {
    border-bottom: 1px dotted #999999;
    color: #E19B05;
    font-size: 1.1em;
    padding-bottom: 20px;
}

#mega-menu.MMInfo .mega-menu-popup h4 {
    background: url("/smg/templates/assets/images/homepage/megamenu.header.bg.jpg") no-repeat scroll 0px 0px transparent;
    color: #666666;
    font-size: 0.9em;
    font-weight: normal;
    height: 20px;
    padding: 5px 0px 0px 8px;
    width: 175px;
}

#mega-menu.MMInfo .mega-menu-popup p {
    color: #999999;
}

#mega-menu.MMInfo .mega-menu-popup div {
    border-right: 1px dotted #999999;
    display: inline;
    float: left;
    height: 278px;
    margin: 6px 15px 6px 0px;
    overflow: hidden;
    padding: 0px;
    position: relative;
    width: 185px;
}

#mega-menu.MMInfo .mega-menu-popup div p {
    display: block;
    font-style: italic;
    margin: 10px 0px 20px 8px;
    padding: 0px;
    width: 170px;
}

#mega-menu.MMInfo .mega-menu-popup img {
    float: right;
    margin: 6px 0px 0px;
}

#mega-menu.MMInfo .mega-menu-popup li {
    clear: both;
    margin-left: 4px;
}

#mega-menu.MMInfo .mega-menu-popup .more {
    bottom: 10px;
    font-weight: bold;
    left: 12px;
    position: absolute;
    text-decoration: none;
}

#mega-menu.MMInfo .mega-menu-popup .mega-menu-footer {
    background: url("/smg/templates/assets/images/homepage/megamenu.footer.jpg") no-repeat scroll 0px 0px transparent;
    clear: both;
    min-height: 21px;
    padding: 5px 0px 0px;
    text-align: center;
    width: 100%;
}

#mega-menu.MMInfo .mega-menu-popup .mega-menu-footer a {
    font-weight: bold;
    text-decoration: none;
}

/* popup styling for new Navigation bar panels */
#mega-menu.MMNav .mega-menu-popup {
    background-color: #FFFFF0;
    border-color: #C0C0C0;
    border-style: solid;
    border-width: 1px 3px 3px;
    display: none;
    overflow: visible;
    padding: 6px;
    width: 870px;
}

#mega-menu.MMNav .mega-menu-popup div.Node {
    color: black;
    display: inline-block;
    float: left;
    font-size: 1em;
    font-weight: normal;
    margin: 4px;
    overflow: hidden;
    padding: 0px;
    vertical-align: top;
    width: 116px;
}

#mega-menu.MMNav .mega-menu-popup div.Node a {
    line-height: 1.2em;
    text-decoration: none;
}
#mega-menu.MMNav .mega-menu-popup div.Node a:link,
#mega-menu.MMNav .mega-menu-popup div.Node a:visited,
#mega-menu.MMNav .mega-menu-popup div.Node a:active {
    color: black;
}

#mega-menu.MMNav .mega-menu-popup div.Node a:hover {
    text-decoration: underline;
}
#mega-menu.MMNav .mega-menu-popup div.Node a img :hover {
    border: 1px solid black;
}

#mega-menu.MMNav .mega-menu-popup div.Node img {
    width: 112px;
}

#mega-menu.MMNav .mega-menu-popup div.mega-menu-footer {
    clear: both;
    margin: 4px 0px 2px;
    min-height: 21px;
    padding: 16px 0px 0px;
    text-align: left;
    width: 100%;
}

#mega-menu.MMNav .mega-menu-popup .mega-menu-footer {
    color: #38793F;
}

#mega-menu.MMNav .mega-menu-popup .mega-menu-footer a {
    color: #38793F;
    text-decoration: none;
}

#mega-menu.MMNav .mega-menu-popup .mega-menu-footer a:hover {
    text-decoration: underline;
}



/* Feb 2013 style - Section Links submenu popups */

#mega-menu.MMLinks li.first {
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}

#mega-menu.MMLinks li.last {
    border-right: medium none;
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.MMLinks .mega-menu-popup {
    display:none}
.MMLinks .mega-menu-pop {
    background-color:#dcdcdc;
    width:440px;
    border-radius: 10px;
    border-top-left-radius: 0;
    padding: 8px;
    font-family:Arial, Helvetica, sans-serif;
    color:#453c3a;
    box-shadow:  0px 2px 2px 0 rgba(0, 0, 0, .3);
    margin-bottom: 15px;
    position:relative;
}
.MMLinks li.last .mega-menu-pop {
    border-radius: 10px!important;
    border-top-right-radius: 0!important;
}

.MMLinks .products{
    width:800px!important;}
.MMLinks .mega-menu-content {
    background-color:#fff;
    border-radius:10px;
    padding: 20px 0 0;
    -webkit-box-shadow: inset 0px 1px 1px 0px #666;
    box-shadow: inset 0px 1px 1px 0px #666;
    background-repeat: repeat-x;
    background-position: bottom;
    position:relative;
}
.MMLinks .products .mega-menu-content{
    padding: 15px 0 0!important;}
.MMLinks .mega-menu-content:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.MMLinks #mega-lawn {
    background-image: url(/smg/templateFramework/images/microSites/megaMenu//mega-scotts.png);
}
.MMLinks #mega-garden {
    background-image: url(/smg/templateFramework/images/microSites/megaMenu/mega-miraclegro.png);
}
.MMLinks #mega-weeds {
    background-image: url(/smg/templateFramework/images/microSites/megaMenu/mega-roundup.png);
}
.MMLinks #mega-pest {
    background-image: url(/smg/templateFramework/images/microSites/megaMenu/mega-ortho.png);
}
.MMLinks #mega-birds {
    background-image: url(/smg/templateFramework/images/microSites/megaMenu/mega-bird.png);
}
.MMLinks #mega-osmocote {
    background-image: url(/smg/templateFramework/images/microSites/megaMenu//mega-osmocote.png);
}
.MMLinks #mega-default {
    background-image: url(/smg/templateFramework/images/microSites/megaMenu/mega-default.png);
}
.MMLinks .mega-menu-col {
    width: 216px;
    float: left;
    padding-bottom:4px;
}
.MMLinks .mega-menu-content h4 {
    margin: 0 10px 10px 15px;
    font-size: 14px;
    border-bottom: solid 1px #CCC;
    padding-bottom: 7px;
}
.MMLinks .mega-menu-content img {
    border: none;
    margin: 0 auto;
}
.MMLinks .mega-menu-content li {
    list-style:none;
    padding: 0 0 0 15px!important;
    float: none!important;
}
.MMLinks .mega-menu-content a {
    font-size: 12px;
    color:#666;
    text-decoration:none;
    padding: 2px 0 3px;
    display:block;
}
.MMLinks .mega-menu-content a:hover {
    color:#97c423
}
.MMLinks .menu-section {
    margin-bottom: 25px;
    clear:both;
}
.MMLinks .mega-menu-cell {
    width: 200px;
    float:left;
    min-height: 205px;
    background-repeat: repeat-x;
    background-position: bottom;
    background-color:#fff;
}
.MMLinks .mega-menu-cell.first{
    border-bottom-left-radius: 10px;
}
.MMLinks .mega-menu-cell.last{
    border-bottom-right-radius: 10px;
}
.MMLinks .mega-menu-cell h4{
    font-size: 12px!important;
    margin-bottom: 5px;
    text-align:center;
}
.MMLinks .mega-menu-cell a {
    font-size: 10px!important;
    padding: 1px 0 0!important;
}
.MMLinks .mega-menu-cell .mmlogo {
    display: block;
    margin: 0 auto;
    width: 50px;
}

/* End of pre-Brands2013 Mega Menu styles */
