.hamburgers
{
  display: inline-block;
  position: relative;
  
  z-index: 1;
  
  -webkit-user-select: none;
  user-select: none;
  padding-top: 5px !important;
}
.hamburger-menu-button 
{
  display: inline-block;
  position: relative;
  
  z-index: 2;
  
  -webkit-user-select: none;
  user-select: none;
  padding-top: 5px !important;
}
.hamburger-menu-button-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-left: 5px;
}
.hamburger-menu-button-wrapper:after {
  content: "Meny";
  display: inline-block;
  position: relative;
  margin-left: 5px;
  /*top: -0.6em;*/
}

.hamburgers a
{
  text-decoration: none;
  color: #232323;
  
  transition: color 0.3s ease;
}

.hamburgers a:hover
{
  color: tomato;
}


.hamburger-menu-button input
{
  display: block;
  width: 105px;
  height: 42px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the.hamburgers */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick.hamburgers
 */
.hamburger-menu-button > span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: #cdcdcd;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

.hamburger-menu-button span:first-child
{
  transform-origin: 0% 0%;
}

.hamburger-menu-button span:last-child
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of.hamburgers
 * into a crossmark.
 */
.hamburger-menu-button input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  /*background: #232323;*/
}

/*
 * But let's hide the middle one.
 */
.hamburger-menu-button input:checked ~ span:nth-last-child(2)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
.hamburger-menu-button input:checked ~ span:nth-last-child(1)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
.hamburgers-menu
{
  position: absolute;
  /*display:none;*/
  /*top: 41px;*/
  width: auto;
  margin: 14px 0 0 -20px;
  padding: 20px 20px 20px 20px;
  overflow-y: auto;
  max-height: calc(100vh - 41px);
  
  background: #ededed;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

.hamburgers-menu li
{
  padding: 10px 0;
  font-size: 22px;
}

/*
 * And let's slide it in from the left
 */
.hamburger-menu-button input:checked ~ .hamburgers-menu 
{
  transform: none;
}

/* TABLET layout adaptations */
@media screen and (max-width: 1024px) {
  .left-menu nav:after {
    font-size: 1em;
    top: -0.5em;
  }
	.hamburgers-menu-button {
		margin: 14px 0 0 -41px;
	}
	.hamburgers-menu-button input
	{
	  display: block;
	  position: absolute;
	  top: -7px;
	  left: -5px;
	  
	  cursor: pointer;
	  
	  opacity: 0; /* hide this */
	  z-index: 2; /* and place it over the.hamburgers */
	  
	  -webkit-touch-callout: none;
	}

	/*
	 * Just a quick.hamburgers
	 */
	.hamburgers-menu-button > span
	{
	  display: block;
	  width: 30px;
	  height: 4px;
	  margin-bottom: 5px;
	  position: relative;
	  
	  background: #cdcdcd;
	  border-radius: 3px;
	  
	  z-index: 1;
	  
	  transform-origin: 2px 0px;
	  
	  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
				  background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
				  opacity 0.55s ease;
	}
	
	.hamburgers-menu li
	{
	  padding: 20px 0;
	  font-size: 20px;
	}
}

/* TABLET layout adaptations */
@media screen and (max-width: 1024px) {
  .hamburgers-menu-button {

  }
  .hamburgers-menu li
  {
    padding: 10px 0;
    font-size: 16px;
  }
}

/* TABLET layout adaptations */
@media screen and (max-width: 600px) {
  .hamburgers-menu {
    margin-left: -21px;
  }
  .hamburgers-menu li
  {
    padding: 10px 0;
    font-size: 16px;
  }
}

/* TABLET layout adaptations */
@media screen and (max-width: 1024px) and (min-width: 600px) {
  .hamburgers-menu {
    margin-top: 24px;
  }
}