.main-menu-container {
    display: flex;
    flex-direction:row;
    justify-content: flex-end;
    margin-left: auto;
}
.main-navigation {
	background: transparent;
	display: flex;
    flex-direction:row;
    justify-content: flex-end;
	height: 58px;
	width: 100%;
    margin: 0;
}
.main-navigation ul {
	list-style: none;
	padding-left: 0;
}
.menu {
    width: 100%;
    margin: 7px auto;
    max-width: 1140px;
}
.main-navigation ul.nav-menu { }

.main-navigation li {
	position: relative;
	display: block;
    float: left;
}
.main-navigation ul li a {
    font-family: 'Poppins', sans-serif;
	display: block;
	text-decoration: none;
	color: #fff;
	padding: 20px 10px 20px 10px;
    font-size: 13px;
    font-weight: 600;
	text-transform: uppercase;
	white-space: nowrap;
    text-align: center;
    text-decoration: none;
    
    -webkit-transition: background-color 0.2s ease 0s, color 0.2s ease 0s;
     -moz-transition: background-color 0.2s ease 0s, color 0.2s ease 0s;
      -ms-transition: background-color 0.2s ease 0s, color 0.2s ease 0s;
       -o-transition: background-color 0.2s ease 0s, color 0.2s ease 0s;
          transition: background-color 0.2s ease 0s, color 0.2s ease 0s;
}
.main-navigation ul li a:hover {
    color: #fff;
    background: #FF1D5B;
    text-decoration: none;
}
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.95);
	float: left;
	position: absolute;
	top: 59px;
	left: -999em;
    z-index: 99999;
	display: none;
    margin: 0;
}
.main-navigation ul ul ul {
	left: -999em;
	top: 0;
	display: none;
}
.main-navigation ul ul a {
	width: 200px;
	white-space: nowrap;
	text-align: left;
	width: auto;
	padding: 12px 32px 12px 20px;
	min-width: 210px;
	color: #3D3D3F;
}
.main-navigation ul ul a:hover {
    color: #333;
    background: #f1f1f1;
    width: 200px;
    white-space: nowrap;
    text-align: left;
    width: auto;
    min-width: 210px;
    color: #3D3D3F;
}

.main-navigation ul ul li {
    border-top: 1px solid #ddd;
	width: 100%;
}
.main-navigation li:hover > a {
}

.main-navigation ul ul :hover > a {
}

.main-navigation ul ul a:hover {
}

.main-navigation ul li:hover > ul {
	left: auto;
	display: block;
}

.main-navigation ul ul li:hover > ul {
	left: 100%;
	display: block;
}

/*.main-navigation li.current-menu-item > a,
.main-navigation li.current_page_item > a,
.main-navigation li.current-menu-parent > a,
.main-navigation li.current_page_parent > a,
.main-navigation li.current-menu-ancestor > a,
.main-navigation li.current_page_ancestor > a {
    color: #FFF;
}*/

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
}

.header-menu-button,
.main-menu-close {
    display: none;
}
.menu-dropdown-btn {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.1);
    color: #838383;
    margin: 0;
    padding: 10px 14px;
    /* box-shadow: -1px 0 0 rgba(0, 0, 0, 0.08); */
    height: 35px;
    line-height: 15px;
    text-align: center;
    font-size: 14px;
    z-index: 9;
    cursor: pointer;
}

.main-navigation a:hover,
.main-navigation li.current-menu-item > a,
.main-navigation li.current_page_item > a,
.main-navigation li.current-menu-parent > a,
.main-navigation li.current_page_parent > a,
.main-navigation li.current-menu-ancestor > a,
.main-navigation li.current_page_ancestor > a,
.main-navigation button,
a.checkout-button:hover,
.wpcf7-submit {
    background: inherit;
    background-color: transparent;
}

.main-navigation button:hover,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wpcf7-submit:hover {
    background: inherit;
    background-color: #ccc;
}

@media screen and (max-width: 960px) {

    .main-navigation {
        background-color: #fff;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        height: 58px;
        width: 100%;
        margin: 0;
    }

	.header-menu-button {
        display: block;
        padding: 1px 10px 16px;
        text-transform: uppercase;
        cursor: pointer;
        text-align: center;
        color: #222;
        margin: 15px 0;
        font-size: 20px;
    }
    .header-menu-button i {
        font-size: 18px;
        vertical-align: middle;
    }
    .header-menu-button span {
        vertical-align: middle;
        font-size: 18px;
        margin: 0 0 0 6px;
    }
    
    
    #main-menu > div,
    .main-navigation ul {
        display: block;
        width: 235px;
        float: left;
    }
    
    .main-navigation #main-menu {
        color: #222;
        position: fixed;
        top: 0;
        left: -260px;
        width: 260px;
        max-width: 100%;
        -ms-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 48px 22px 30px 22px;
        background: #22211F;
        z-index: 9999;
        height: 100%;
        overflow: auto;
        -webkit-transition: right 0.4s ease 0s;
        -moz-transition: right 0.4s ease 0s;
        -ms-transition: right 0.4s ease 0s;
        -o-transition: right 0.4s ease 0s;
        transition: right 0.4s ease 0s;
    }
    body.admin-bar .main-navigation #main-menu {
    	padding: 65px 22px 30px 22px;
    }
    .main-navigation #main-menu .site-container {
    	padding: 0;
    }
    .main-navigation li {
        display: block;
        float: none;
        margin: 0 0 1px;
    }
    .main-navigation li a {
        display: block;
        float: none;
        padding: 8px 0;
        color: #B5B5B5 !important;
        text-align: left;
        background: none !important;
        font-family: verdana, sans-serif;
    }
    .main-navigation li a:hover {
    	color: #FFF !important
    }
    .main-navigation ul ul {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        float: none !important;
        background-color: rgba(255, 255, 255, 0.14) !important;
        box-shadow: none;
        padding: 0;
        margin: 0;
        display: none !important;
    }
    .main-navigation ul ul li:last-child a,
    .main-navigation ul ul li a {
        padding: 8px;
        width: auto;
    }
    .main-navigation ul ul li a {
        background: none !important;
    }
    
    #primary-menu,
    .menu-dropdown-btn {
        display: block;
    }
    .main-menu-close {
        display: block;
        border-radius: 4px;
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 30px;
        color: #898989;
        text-align: center;
        padding: 0 8px 0 12px;
        height: 40px;
        line-height: 38px;
        cursor: pointer;
    }
    .main-menu-close .fa-angle-left {
        position: relative;
        left: -4px;
    }
    body.admin-bar .main-menu-close {
    	top: 38px;
    }
    
    .open-page-item > ul.children,
    .open-page-item > ul.sub-menu {
    	display: block !important;
    }

}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}
body.show-main-menu #main-menu {
    left: 0;
}
body.show-main-menu #page {
    left: 260px;
}
.site-container {
    margin: 0 auto;
    width: 100%;
    position: relative;
}
ul#menu {
    width:100%;
    background:#fff;
    display:inline-block;
    margin:0;
    padding:0;
    list-style:none;
  }
  ul#menu li{
    display:inline-block;
    margin:0;
    padding:0;
  }
  ul#menu li a{
    display:inline-block;
    margin:0;
    padding:10px 15px;
    text-decoration:none;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
    font-weight:700;
    line-height: 22px;
    color:#333;
  }
  ul#menu li a:hover{
    display:inline-block;
    margin:0;
    padding:10px 15px;
    text-decoration:none;
    font-weight:700;
    line-height: 22px;
    color:#fff;
  }

  /*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}
.sf-menu li {
	position: relative;
}
.sf-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	z-index: 99;
}
.sf-menu > li {
	float: left;
}
.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
	display: block;
}

.sf-menu a {
	display: block;
	position: relative;
}
.sf-menu ul ul {
	top: 0;
	left: 100%;
}


/*** DEMO SKIN ***/
.sf-menu {
	float: left;
	margin-bottom: 1em;
}
.sf-menu ul {
	box-shadow: 2px 2px 6px rgba(0,0,0,.2);
	min-width: 12em; /* allow long menu items to determine submenu width */
	*width: 12em; /* no auto sub width for IE7, see white-space comment below */
}
.sf-menu a {
	padding: .75em 1em;
	text-decoration: none;
	zoom: 1; /* IE7 */
}
.sf-menu a {
	color: #999;
}
.sf-menu li {
	background: transparent;
	white-space: nowrap; /* no need for Supersubs plugin */
	*white-space: normal; /* ...unless you support IE7 (let it wrap) */
	-webkit-transition: background .2s;
	transition: background .2s;
}
.sf-menu ul li {
	background: #AABDE6;
}
.sf-menu ul ul li {
	background: #9AAEDB;
}
.sf-menu li:hover,
.sf-menu li.sfHover {
	background: #CFDEFF;
	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
}

/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
	padding-right: 2.5em;
	*padding-right: 1em; /* no CSS arrows for IE7 (lack pseudo-elements) */
}
/* styling for both css and generated arrows */
.sf-arrows .sf-with-ul:after {
	content: '';
	position: absolute;
	top: 50%;
	right: 1em;
	margin-top: -3px;
	height: 0;
	width: 0;
	/* order of following 3 rules important for fallbacks to work */
	border: 5px solid transparent;
	border-top-color: #ccc; /* edit this to suit design (no rgba in IE8) */
   /*border-top-color: rgba(0,0,0,.5);*/
}
.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
	border-top-color: white; /* IE8 fallback colour */
}
/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after {
	margin-top: -5px;
	margin-right: -3px;
	border-color: transparent;
	border-left-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
	border-left-color: rgba(255,255,255,.5);
}
.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
	border-left-color: white;
}


/*** adding the class sf-navbar in addition to sf-menu creates an all-horizontal nav-bar menu ***/
.sf-navbar {
	background: transparent;
	position: relative;
	margin-bottom: 5em;
}
/* provide background colour for submenu strip */
/* you should just set the menu's container bg colour rather than use pseudo-elements */
.sf-navbar:before {
	content: '';
	position: absolute;
	left: 0;
	z-index: -1;
	background-color: #BDD2FF;
	height: 200%;
	width: 100%;
}
.sf-navbar ul {
	box-shadow: none;
}
.sf-navbar li {
	background: transparent;
	position: static;
}
.sf-navbar > li > a,
.sf-navbar > li > ul > li > a {
	border: none;
}
.sf-navbar > li > ul {
	min-width: 36em; /* set this to whatever suits your design */
}
.sf-navbar ul li {
	background: #BDD2FF;
	position: relative;
}
.sf-navbar ul ul {
	left: 0;
	top: 100%;
}
.sf-navbar ul ul li {
	width: 100%;
}
.sf-navbar > li > ul > li {
	float: left;
}
.sf-navbar li.current {
	background: #BDD2FF;
}
.sf-navbar li:hover,
.sf-navbar li.sfHover,
.sf-navbar ul li.current {
	background: #BDD2FF;
}
.sf-navbar ul li:hover,
.sf-navbar ul li.sfHover,
.sf-navbar ul ul li {
	background: #D1DFFF;
}
.sf-navbar ul ul li:hover,
.sf-navbar ul ul li.sfHover,
.sf-navbar ul ul li.current {
	background: #E6EEFF;
}
.sf-navbar ul li.current > a {
	font-weight: bold;
}

/*** point all arrows down ***/
.sf-arrows.sf-navbar ul .sf-with-ul:after {
	margin-top: -3px;
	margin-right: 0;
	border-color: transparent;
	border-top-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
	border-top-color: rgba(255,255,255,.5);
}

.sf-arrows.sf-navbar ul > li > .sf-with-ul:focus:after,
.sf-arrows.sf-navbar ul > li:hover > .sf-with-ul:after,
.sf-arrows.sf-navbar ul > .sfHover > .sf-with-ul:after {
	border-color: transparent;
	border-top-color: white;
}
