/* CSS Document */
.screen-reader-text {
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
}

/************************************************/
/****************** NAVIGATION ******************/
/************************************************/
nav {
  left: 0;
  
  top: 0;
  width: 100%;
  z-index: 9999;
}

.navcontainer{
  
  z-index: 9999;
  position: fixed;
  top: 0;
  
  width: 100%;
}

/*** INPUT ***/
nav input {
  opacity: 0;
  z-index: -1;
}

/*** LABEL ***/
nav label {
  cursor: pointer;
  display: block;
  padding: 0.5em;
}

/* Hamburger Icon */
#menu-icon,
#menu-icon:before,
#menu-icon:after {
  background: white;
  border-radius: 0.05em;
  height: 0.17em;
  transition: all 0.2s ease-in-out;
  width: 100%;
}

#menu-icon {
  display: inline-block;
  margin: 0.4em 0;
  max-width: 2em;
  position: relative;
}

nav label #menu-icon {
  
}

#menu-icon:before,
#menu-icon:after {
  content: "";
  left: 0;
  position: absolute;
}

#menu-icon:before {
  top: -0.6em;
}

#menu-icon:after {
  bottom: -0.6em;
}

/* Close Icon */
nav input[type="checkbox"]:checked + label #menu-icon {
  background: transparent;
}

nav input[type="checkbox"]:checked + label #menu-icon:before {
  top: 0;
  transform: rotate(-45deg);
}

nav input[type="checkbox"]:checked + label #menu-icon:after {
  bottom: 0;
  transform: rotate(45deg);
}

/*** MENU ***/
/* Overlay */
nav input:checked ~ #overlay {
  background: #e5e5e5;
  bottom: 0;
  left: 0;
  height: 65vh;
  position: fixed;
  right: 0;
  top: 0;
  width: 100vw;
  z-index: -2;
}

nav input:checked ~ #overlay2 {
  background: #e5e5e5;
  bottom: 0;
  left: 0;
  height: 65vh;
  position: fixed;
  right: 0;
  top: 0;
  width: 100vw;
  z-index: -1;
}


/* List */
nav ul {
  font-size: 1em;
  list-style: none;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  text-align: center;
}

nav input:checked ~ ul {
  margin: 1em;
  max-height: inherit;
  opacity: 1;
}


nav ul > li {
  margin: 0.5em 0;
}

nav ul a {
  color: #1d1f20 !important;
  text-decoration: none;
}

nav ul a:hover {
  text-decoration: underline;
}

/* Social Media */
nav ul#social-media > li {
  display: inline-block;
  font-size: 1.5em;
  margin: 0.5em;
}

.headermain{
}
.headersub{
  background: #e5e5e5;
}