/*--------------------------------------------------
	Uncomment the style below for hoverable menus
----------------------------------------------------*/


/*.dropdown:hover .dropdown-menu {
    display: block;
}*/


/*uncomment for hoverable menus*/


/*------------------------2nd Tier Nav*/

#nav_menu .nav li {
    position: relative;
    float: left;
    list-style-type: none;
}

.open>.dropdown-menu {
    display: block;
}

.men-level-1 {
    top: 0px;
}


/*--------------------End-2nd Tier Nav*/


/*--------------------------------------------------
				MMS Member Icons Menu
----------------------------------------------------*/

@media (min-width: 1200px) {
    .nav-tabs li.dropdown {
        width: 190px;
    }
}

@media (min-width: 990px) and (max-width: 1200px) {
    .nav-tabs li.dropdown {
        width: 155px;
    }
}

@media (min-width: 767px) and (max-width: 990px) {
    .nav-tabs li.dropdown {
        width: 120px;
    }
}


/*------------------------------------------------------------------------------------
							Main Menu CSS
--------------------------------------------------------------------------------------*/

#main-menu {
    background: #003057;
    height: 60px;
}

.nav-container {
    display: inline-block;
    vertical-align: middle;
}

#nav_menu {
    padding-left: 0px;
    padding-right: 0px;
}

.NP .navbar-nav {
    width: 100%;
    padding: 0;
    margin: 0;
}

.NP .navbar-nav>li a {
    color: #3a3f47;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    padding: 7px 25px;
    transition: background-color .3s;
}

@media (min-width: 990px) and (max-width: 1199px) {
    .NP .navbar-nav>li a {
        font-size: 15px;
    }
}

.NP .navbar-nav>li>a:hover,
.NP .navbar-nav>li>a:focus,
.NP .navbar-nav .open>a,
.NP .navbar-nav .open>a:focus,
.NP .navbar-nav .open>a:hover {
    background: transparent;
    color: #b1a367;
}

.NP .caret {
    margin-left: 4px;
}

.login-wrap a {
    background: #b1a367;
    border: 1px solid #b1a367;
    color: #fff !important;
    border-radius: 16px;
    outline: none;
}

.login-wrap a:hover,
.login-wrap a:focus {
    color: #b1a367 !important;
}


/*------------------------------------------------------------------------------------
							Dropdown Menus - full/collapsed
--------------------------------------------------------------------------------------*/

.NP .dropdown-menu {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    background: #fff;
    border: 0;
    border-radius: 0px;
    padding: 0px 0;
    padding-top: 3px;
    padding-bottom: 3px;
}

.NP .dropdown-menu li {
    width: 100%;
}

.NP .dropdown-menu li a {
    color: #3a3f47;
    padding-top: 5px;
    padding-bottom: 5px;
    border: 0;
    font-weight: normal;
}

.NP .dropdown-menu li a:hover,
.NP .dropdown-menu li a:focus {
    background: transparent;
    color: #b1a367;
}


/*----------------------------
	Mobile Menu
	
	--- INSTRUCTIONS ---
	For the most part, these mobile menu styles will be exactly like your regular navigation styles.
	There are a few things to watch out for however. I've marked specific items with two hash tags and caps,
	like ##ITEM. 
	
	##TOP - There are three places where this exists, and each one should be the same as the other three.
			This item tells the mobile menu to start lower than the toggle button.
			
	##DIRECTION - This item tells your mobile menu which direction to slide in from, and has a few
		different parts. Changing "left" to "top" in each ##DIRECTION would have the menu slide in from the top. Bottom is a bad choice here.
		##DIRECTION-01 - slides in from the side you specify. This one is set negative as it is the starting position of the menu.
		##DIRECTION-02 - sets the duration of the slide, and again which direction it slides from.
		##DIRECTION-03 - sets the "open" position. This will be the zeroed out version of ##DIRECTION-01
	
	--------------------
------------------------------*/


/*---------------------------------------------
		Mobile Menu
---------------------------------------------*/


/*-------------------------------------toggle*/

button#mobile-toggle {
    width: 37px;
    height: 37px;
    display: none;
    position: absolute;
    right: 15px;
    bottom: 30px;
    border: 2px solid #002857;
    border-radius: 4px;
    padding: 8px 5px;
    background-color: white;
    box-shadow: 0px 1.5px 1px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

@media (max-width: 990px) {
    button#mobile-toggle {
        display: inline-block;
    }
}

button#mobile-toggle svg * {
    fill: #002857;
}


/*--------------------------------end--toggle*/

#mobile-menu>li#triggerClose {
    display: inline;
    float: right;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    font-size: 22px;
    cursor: pointer;
}

#mobile-menu>li#mobile-logo {
    position: relative;
    left: -15px;
    top: -10px;
}

#mobile-menu>li#mobile-logo>a {
    display: inline;
    max-width: 80%;
}

#mobile-menu>li #q {
    width: 100%;
}

#mobile-menu>li>a {
    padding-left: 7px;
    padding-right: 7px;
    padding-top: 8px;
    padding-bottom: 8px;
    -webkit-transition: color .25s;
    transition: color .25s;
    text-decoration: none;
}

#mobileMenuWrapper {
    /*
	The menu wrapper is the div that surrounds the mobile menu.
	You'll want to make sure this has a background of some sort so the text shows up/doesn't appear over other text
	Setting bottom:0px; is needed to make a long menu scroll-able.
	
	
	
	/* REQUIRED */
    position: fixed;
    top: 0px;
    bottom: 0px;
    /* If having the menu slide in from the top or bottom, comment out this line */
    z-index: 200;
    overflow-y: auto;
    overflow-x: hidden;
    /* CHANGEABLE-ISH */
    left: -120%;
    /* Change this to left, right, top, or bottom.  You'll also have to make a change in the open state */
    width: 300px;
    /* The mobile menu works best with a pre-defined width. Percentages also work great here. */
    /* CHANGEABLE */
    background: #fff;
    -webkit-box-shadow: 0 6px 20px rgba(0, 0, 0, .4);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .4);
    /* Transition - bump */
    transition: left .3s;
    /* ##DIRECTION-02 */
    -webkit-transition: all 300ms cubic-bezier(1.000, 0.010, 0.0, 1.000);
    /* older webkit */
    -webkit-transition: all 300ms cubic-bezier(1.000, 0.010, 0.0, 1.000);
    -moz-transition: all 300ms cubic-bezier(1.000, 0.010, 0.0, 1.000);
    -o-transition: all 300ms cubic-bezier(1.000, 0.010, 0.0, 1.000);
    transition: all 300ms cubic-bezier(1.000, 0.010, 0.0, 1.000);
}

#mobileMenuWrapper.open {
    left: 0px;
    /* This is required.  If you changed the direction attribute above, change it here too. */
    bottom: 0px;
    /* This line is here for bottom/top slide-ins.  See note on bottom above.*/
}


/* REQUIRED - Dropdown menu item transition states*/

#mobileMenuWrapper .mDropdown {
    display: none;
}

#mobileMenuWrapper .mDropdown.open {
    display: block;
}


/* REQUIRED - Sets the ULs to not have dots, or be spaced in the typical UL fashion. */

#mobileMenuWrapper ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}


/* OPTIONAL-ISH - These are the settings for the base menu UL */

#mobileMenuWrapper #mobile-menu {
    overflow: auto;
    padding: 15px 15px 15px 10px;
}


/* OPTIONAL-ISH - This sets each link on its own line fo' sho' */


/*#mobileMenuWrapper a, #mobileMenuWrapper div{
	display: block;
}*/


/* OPTIONAL - The actual A's. Style them as you wish*/


/* Top Level / all*/

#mobileMenuWrapper #mobile-menu a {
    display: inline-block;
    width: 100%;
}


/* dropdown only */

#mobileMenuWrapper .mDropdown a {
    padding: 5px 5px;
    color: #b1a367 !important;
}

#mobileMenuWrapper .mDropdown li:last-child a {
    border-bottom: 0px;
}

#mobile-menu>li>ul {
    background-color: transparent;
    border: 0;
    border-radius: 0px;
    padding: 0px 0;
    box-shadow: none;
    margin-bottom: 5px;
}

#mobileMenuWrapper .mDropdown a:hover,
#mobileMenuWrapper .mDropdown a:focus {
    background: transparent;
    color: #b1a367;
    text-decoration: none;
}


/*--------------------------------------------------------
    MOBILE MENU
--------------------------------------------------------*/

#mobileMenuWrapper.open {
    left: 0px;
    bottom: 0px;
}

#mobileMenuWrapper #mobile-menu {
    overflow: auto;
    padding: 0px 20px 10px;
}

#mobileMenuWrapper ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}

#mobile-menu>li#triggerClose {
    color: #3a3f47;
    float: right;
    display: inline;
    font-size: 22px;
    cursor: pointer;
    transform: rotate(45deg);
}

#mobileMenuWrapper #mobile-menu a {
    color: #3a3f47;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    background: transparent;
    padding-left: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
}

#mobileMenuWrapper #mobile-menu a:hover,
#mobileMenuWrapper #mobile-menu a:focus {
    background: transparent;
    color: #b1a367;
}

#mobileMenuWrapper ul.mDropdown {
    display: none;
}

#mobileMenuWrapper .mDropdown.open {
    display: block;
}

#mobile-menu a {}

#mobile-toggle {
    border: none;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}

#mobile-menu-col {
    top: 0px;
    padding: 0px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    float: right;
    margin-left: 0px;
}

#mobile-logo {
    width: 40%;
    float: left;
    margin-top: 27px;
    margin-bottom: 20px;
}

#mobile-logo a {
    margin: 0 !important;
}

#mobile-logo svg#logo {
    width: 250px;
    max-width: 250px;
}

svg#burger {
    width: 34px;
    height: 31px;
}

li.mobile-login {
    margin-top: 7px;
}

.mobile-login a {
    background: #b1a367 !important;
    border: 1px solid #b1a367;
    color: #fff !important;
    border-radius: 16px;
    max-width: 75px;
    padding: 5px 15px !important;
    text-align: center;
}

.mobile-login a:hover {
    background: #fff !important;
    color: #b1a367 !important;
}


/*------------------------------------------------------------------------------------
								@Media and Sizes
--------------------------------------------------------------------------------------*/


/*------ Nav collapse @ Tablet size ------*/

@media (max-width: 991px) {
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in {
        display: block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }
}