html, 
body {
	height: 100%;
}

span {
	font-size:12px;
	font-family:comic sans ms;
	font-style: italic;
	text-decoration:none;
	color:#666;
	line-height: 10px;
	display: inline-block;
}

a,td {
	font-size:14px;
	font-family:comic sans ms;
	text-decoration:none;
	font-weight:bold;
	color:#000000;
}

a:active, a.active, a:hover {
	color:#3388FF;
}

.buttonh {
	color:#3388FF;
}

.nav-div {
  padding-left: 10px; 
  height: 100%; 
  background: linear-gradient(to right, rgba(255,0,0,0) 80%, gray);
  position: absolute;
}

.nav-arrow {
  position: absolute;
  content: " ";
  width: 20px;
  height: 0;
  left: -500px;
  top: 50%;
  border-width: 45px 45px;
  border-style: solid;
  border-color: transparent transparent transparent gray;
  cursor: pointer;
  margin-left: 30px;
}

.nav-menu-label {
  writing-mode: tb-rl;
  text-orientation: mixed;
  height: 90px;
  top: -45px;
  position: relative;
  text-align: center;
  margin-left: -65px;
  font-family: arial;
  font-size: 20px;
  color: gray;
  transform: rotate(-180deg);
}

.nav-close {
  visibility: hidden;
  cursor: pointer;
  font-size: 40px;
  left: 180px;
  font-weight: bold;
  position: absolute;

}

.nav-close:after{
  display: inline-block;
  content: "\00d7"; /* This will render the 'X' */
}

/* Responsive layout - makes a one column layout instead of a two-column layout */
@media (max-width: 130px) {
  .nav-div {
    left: -365px;
  }
  .nav-arrow {
    left: 0px;
  }
}
@media (max-device-width: 700px) {
  .nav-div {
    left: -365px;
  }
  .nav-arrow {
    left: 0px;
  }
  a,span {
    font-size:30px;
  }
  .nav-close {
    font-size: 80px;
    left: 200px;
  }
  .nav-title {
    margin: 10px;
  }
}
