#body-container {
    z-index: 10;
    min-width: 320px;
    background: #fff;
}

#nav-close {
  position: absolute;
  width: 0;
  height: 0;
  left: -9999em;
  transition: all .2s ease;
}

#nav-close.overlay-active {
  position: absolute;
  width: 30%;
  height: 100%;
  z-index: 999;
  left: 70%;
  box-shadow: -3px 0 3px 0 rgba(0, 0, 0, 0.05);
}


/* General styles for all menus */ 
#side-nav {
    position: absolute;
    top:0;
}
 
#side-nav h3 {
    color: #afdefa;
    font-size: 1.9em;
    padding: 20px;
    margin: 0;
    font-weight: 300;
    background: #0d77b6;
}
 
#side-nav a {
    display: block;
    color: #fff;
    font-size: 1.1em;
    font-weight: 300;
}
 
#side-nav a:hover {
    color: $cerulean;
}
 
#side-nav a:active {
    background: #afdefa;
    color: #47a3da;
}
 
 
/* Vertical menu that slides from the left or right */
 
#side-nav {
    left: -70%;
}

#side-nav.menu-open {
 	left:0;
}
 
/* Push classes applied to the body */
 
.nav-push{
    position: relative;
    left: 0;
}
 
.slide-right {
    left: 70%;
}
 
.cbp-spmenu-push-toleft {
    left: -230px;
}
 
/* Transitions */
 
.cbp-spmenu,
.nav-push {
    -webkit-transition: all 0.3s ease ;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#nav-control {
    display: inline-block !important;
    float: left;
    background: none;
    color: #fff;
    border: none;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 14px;
    font-family: "EurostileLTStdDemi",arial,sans-serif;
    text-align: left;
    position: absolute;
    box-shadow: none;
    top: 36px;
    left: 1.387em;
    z-index: 9999;
}
#nav-control:hover {
  /* background: transparent!important; */
}
#nav-control .menu-text {
  top: -497px;
  position: absolute;
}
#nav-control .menu-text:after {
  content: "MENU";
  font-size: 9px;
  left: -26px;
  /* position: absolute; */"
  top: 498px;
}
#nav-control.active .menu-text:after {
  content: 'CLOSE';
  left: -28px;
}

span.lines {
	padding:0
}

.lines-button {
  display: inline-block;
  padding: 0.65rem 0.325rem;
  cursor: pointer;
  user-select: none;
}
.lines-button:hover {
  opacity: 1;
}
.lines-button:active {
  transition: .2s;
  background: rgba(0, 0, 0, 0.1);
}

.lines {
  display: inline-block;
  width: 21px;
  height: 0.18571rem;
  background: #061B43;
  transition: 0.2s;
  position: relative;
  border-radius: 10px;
  /*create the upper and lower lines as pseudo-elements of the middle line*/
}
.lines:before, .lines:after {
  display: inline-block;
  width: 21px;
  height: 0.18571rem;
  background: #fff;
  transition: 0.2s;
  position: absolute;
  background: #061B43;
  left: 0;
  content: '';
  -ms-transform-origin:  0.09286rem center; /* IE 9 */
  -webkit-transform-origin:  0.09286rem center; /* Chrome, Safari, Opera */
  transform-origin: 0.09286rem center;
  border-radius: 10px;
}
.lines:before {
  top: 6px;
}
.lines:after {
  top: -6px;
}

.lines-button.x .lines {
    transition: background 0.2s ease 0.3s;
}
.lines-button.x .lines:before, .lines-button.x .lines:after {
    -ms-transform-origin: 50% 50% 0; /* IE 9 */
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    transition: top 0.2s 0.3s ease, -webkit-transform 0.3s ease;
    transition: top 0.2s 0.3s ease, transform 0.2s ease;
}
.lines-button.x.active .lines {
    background: none repeat scroll 0 0 transparent;
    transition: background 0.2s ease 0s;
}
.lines-button.x.active .lines:before, .lines-button.x.active .lines:after {
    top: 0;
    transition: top 0.2s ease, -webkit-transform 0.2s 0.3s ease;
    transition: top 0.2s ease, transform 0.2s 0.3s ease;
    width: 25px;
}
.lines-button.x.active .lines:before {

  -webkit-transform: rotate3d(0, 0, 1, 45deg);
  transform: rotate3d(0, 0, 1, 45deg);

}
.lines-button.x.active .lines:after {
  -webkit-transform: rotate3d(0, 0, 1, -45deg);
  transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate(-45deg);
}

/*Nav Styles */

#side-nav {
  width: 70%;
  -webkit-transition: all 0.3s ease ;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#side-nav ul {
    margin: 0;
    padding: 0;

}

ul#responsive-nav li {
    border-bottom: 1px solid #171717;
    /* border-left: 1px solid #171717; */
    color: #eee;
    background: #374052;
    display: block;
    list-style: outside none none;
    text-align: left;
    width: 100%;
}

ul#responsive-nav li.hasAccordion {
  background: #304F87;
  position: relative;
  transition: background 0s;
}

ul#responsive-nav li.hasAccordion:after, ul#responsive-nav li.hasAccordion:before {
    background: none repeat scroll 0 0 #fff;
    border-radius: 10px;
    content: "";
    display: block;
    height: 1px;
    position: absolute;
    right: 5%;
    top: 25px;
    width: 5%;
    transition: transform 0.2s ease, background 0s ease;
}

ul#responsive-nav li.hasAccordion:before {
  -webkit-transform: rotate3d(0, 0, 1, 90deg);
  transform: rotate3d(0, 0, 1, 90deg);
}

ul#responsive-nav li.hasAccordion.accOpen:before {
  -webkit-transform: rotate3d(0, 0, 1, 0deg);
  transform: rotate3d(0, 0, 1, 0deg);
}

ul#responsive-nav li.hasAccordion.accOpen:before,
ul#responsive-nav li.hasAccordion.accOpen:after {
  background: #fff;
}

ul#responsive-nav li.hasAccordion.accOpen {
    background: #b67907;
}

ul#responsive-nav li.hasAccordion.accOpen a {
    background: #304F87;
}

ul#responsive-nav li.hasAccordion.accOpen ul.sub-nav a {
    background: #374052;
    width: 100%;
}

ul#responsive-nav li.hasAccordion.accOpen ul {
  background: #fff;
}

ul#responsive-nav, #side-nav li { 
}

ul#responsive-nav li a {
    list-style: none;
    color: #eee;
    font-size: 1em;
    background: #374052;
    text-align: left;
    padding: 1em;
    width: 85%;
    display: inline-block;
    border-bottom: none;
    text-decoration: none;
}

ul#responsive-nav ul.sub-nav {
    border-left: 20px solid #304f87;
}

ul#responsive-nav ul.sub-nav li {
    /* border-top: none; */
    border-left: 1px solid #171717!important;
}

ul#responsive-nav ul.sub-nav li:first-child {
    border-top: 1px solid #171717!important;
}

ul#responsive-nav ul.sub-nav li:last-child {
    border-bottom: none!important;
}

ul#responsive-nav  ul.sub-nav li a {
    list-style: none;
    color: #ccc;
    text-align: left;
    padding: 0.5em 1em;
    border-bottom:none;
}

.slide-right {
   /* position: absolute; */
   max-width: 100%;
}

#nav #nav-toggle {
  display: none;
}

#nav-control {
  display: none !important;
}

    ul#nav {
      display: block;
    }


/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {

  #nav-control {
    display: block !important;
  }
    
    ul#nav {
      display: none !important;
    }

}

/*
* Media Queries
*/

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 1023px) {




}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
	

	
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {



}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {


}