@CHARSET "UTF-8";


.nav_bar {
  background-color: rgba(52, 52, 52, 0.1);
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  font-family: var(--font);
  font-size: var(--font_size, 16px);
  font-weight: 300;
}

.logo {
  display: inline-block;
  height: 45px;
  margin: 1em 0;
  width: 45px;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: var(--nav_justify, center);
  align-items: stretch;
  padding: 0px;
  margin: 0px;
  list-style-type: none;
  flex-grow: 1; 
  z-index: 10; 	
}

nav ul a {
  color: var(--font_colour , #E84545);
  height: 100%;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .5s ease;
  
}

nav ul a:hover {
	background-color: rgba(220,220,220,0.5);
}
nav ul li.selected > a {
  text-decoration: underline !important;
}

nav li {
  display: inline-block;
  padding-left:20px;
  padding-right:20px;
}

nav #menu-toggle {
  display: none;
}
nav .label-toggle {
	margin-top: 0px;
  	display: none;
}
nav .strapline {
	display: none;
}
nav .wrapper {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media screen and (max-width: 767px) {
  .nav_bar {
    background-color: var(--nav_background_mobile, #53354A);
    padding-top: 0px;
    font-weight: 400;
  }
  nav ul {
    background-color: #e6e6e6;
    display: none;
    height: 0px;
    list-style-type: none;
    opacity: 0;
    text-align: center;
    transition: all 1s ease;
    width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
  }
  
  nav li {
    display: block;
    font-size: var(--mobile_font_size, 1em);
    padding: 0.5em 0;
  }
  nav ul li.selected  {
    background-color: var(--hover_background, gray);
  }
  nav li:last-child {
    border-bottom: none;
  }
  
  nav ul a {
  	color: var(--mobile_font_colour , #903749); 
  }

  nav #menu-toggle:checked ~ ul {
    opacity: 1;
    height: 100%;
    display: block;
    
  }
  nav .label-toggle {
    background: linear-gradient(to bottom, white 0%, white 20%, transparent 20%, transparent 40%, white 40%, white 60%, transparent 60%, transparent 80%, white 80%, white 100%);
    cursor: pointer;
    display: block;
    height: 1em;
    width: 1em;
  }
  
  nav .strapline {
  	display: block;
  }
  
  nav .wrapper {
  	height: 100%;
  }

}
