/*!
 * Yamm!3
 * Yet another megamenu for Bootstrap 3
 * 
 * http://geedmo.github.com/yamm3
 */

//-----------------------------
//  Yamm Styles
//-----------------------------

.yamm {
    // reset positions
    .nav, .collapse, .dropup, .dropdown {
        position: static;
    }
    // propagate menu position under container for fw navbars
    .container {
        position: relative;
    }
    // by default aligns menu to left
    .dropdown-menu {
        left: auto;
    }
    // ensure a good position
    .nav.navbar-right .dropdown-menu {
        left: auto;
        right: auto;
    }
    .nav.navbar-right .dropdown-menu.right {
        right: 0;
    }
    // Content with padding
    .yamm-content {
        padding: 20px 30px;
    }
    // Fullwidth menu
    .dropdown.yamm-fw .dropdown-menu {
        left: 0;
        right: 0;
    }
    // Hover open
    .dropdown.yamm-hover:hover .dropdown-menu {
        @media (min-width: @grid-float-breakpoint) {
            display: block;
        }
    }
    // Hide Collapsed
    .dropdown.yamm-hide-collapsed {
        @media (max-width: @grid-float-breakpoint-max) {
            display: none;
        }
    }
}
