* { outline: none; }

strong { font-weight: 600; }

#nav-container {
  position: fixed;
  /* height: 80vh; */
  height:90%;
  width: 120%;
  pointer-events: none;
    z-index:9997;
	
}

/*
#nav-container .bg {
  position: absolute;
  top: 5px;
  left: 0; 
  right:  50px ;
  width: 100%;
  height: calc(100% - 20px);
  visibility: hidden;
  opacity: 0;
  transition: .3s;
  background: #000;
}
#nav-container:focus-within .bg {
  visibility: visible;
  opacity: .6;
}


#nav-container * {
  visibility: visible;
}
*/

.myMenuButton {
  position: relative;
  /* display: flex; */
  flex-direction: column;
  justify-content: center;
  text-align:right;
  flex:right;
  z-index: 9998;
  -webkit-appearance: none;
  border: 0;
  background: red;
  border-radius: 3px;
  height: 0px;
  width: 0px;
  cursor: pointer;
  pointer-events: auto;
  margin-left: 25px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  
}

.icon-bar {
  display: block;
  width: 100%;
  height: 3px;
  background: #f2f2f2;
  transition: .3s;
}
.icon-bar + .icon-bar {
  margin-top: 5px;
}
/*
#nav-container:focus-within .myMenuButton {
 /* pointer-events: none;
}
*/

#nav-container:focus-within .icon-bar:nth-of-type(1) {
  transform: translate3d(0,8px,0) rotate(45deg);
}
#nav-container:focus-within .icon-bar:nth-of-type(2) {
  opacity: 0;
}
#nav-container:focus-within .icon-bar:nth-of-type(3) {
  transform: translate3d(0,-8px,0) rotate(-45deg);
}

#nav-content {
  
  font-size:1.2em;
  margin-top: 0px;
  padding: 20px;
  width: 25%;
  max-width: 300px;
  position: absolute;
  top: 0;
  left: calc(66% );
  height: calc(100% - 20px);
  background: #ececec;
  pointer-events: auto;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  transform: translateX(100%);
  transition: transform .3s;
  will-change: transform;
  contain: paint;
  
  border:1px solid #b3b3b3;

	-moz-box-shadow:inset 0px 0px 1px #edf9ff;
	-webkit-box-shadow:inset 0px 0px 1px #edf9ff;
	box-shadow:inset 0px 0px 1px #edf9ff;
	
 	-moz-box-shadow: 0px 8px 8px #787878 ;
    -webkit-box-shadow: 0px 8px 8px #787878 ;
    box-shadow: 0px 4px 10px #787878 ;  
	
	overflow: auto; /* Enable scroll if needed */
     position: absolute; 
    z-index: 9999; /* Sit on top */
}	
 

#nav-content ul { height: 85%;  display: flex; flex-direction: column; }
#nav-content li a {padding: 5px 5px;display: block;/* text-transform: uppercase; */ transition: color .1s;}
#nav-content li a:hover { color: #BF7497; }

#nav-content li:not(.small) + .small { margin-top: auto; }
#nav-container:focus-within #nav-content { transform: none;}

.small {  display: flex;  align-self: center;}
.small a {  font-size: 12px;  font-weight: 400;  color: #888;}
.small a + a {  margin-left: 15px;}



* {  box-sizing: border-box;  margin: 0;  padding: 0;}
html, body {  height: 100%;}
a,a:visited,a:focus,a:active,a:link {  text-decoration: none;  outline: 0;}
a {  color: currentColor;  transition: .2s ease-in-out;}
h1, h2, h3, h4 {  margin: 0;}
ul {  padding: 0;  list-style: none;}
img {  vertical-align: middle;  height: auto;  width: 100%;}


.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}