/* @override 
	http://localhost:8888/townsend/themes/simple/css/menu.css?m=1497901111
	http://localhost:8888/townsend/themes/simple/css/menu.css?m=1497907038
	http://localhost:8888/townsend/themes/simple/css/menu.css?m=1497966848
	http://localhost:8888/townsend/themes/simple/css/menu.css?m=1497998881
	http://localhost:8888/townsend/themes/simple/css/menu.css?m=1498655756
	http://localhost:8888/townsend/themes/simple/css/menu.css?m=1498685204
	http://www.townsendproductions.org.uk/themes/simple/css/menu.css?*
*/

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
* {
  box-sizing: border-box;
 }
a,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}

.outer-menu {
  position: absolute;
  top: 40px;
  right: 100px;
  z-index: 499;
}
.outer-menu .checkbox-toggle {
  position: absolute;
  left: 0;
  z-index: 999;
  cursor: pointer;
  width: 60px;
  height: 60px;
  opacity: 0;
}
  nav.primary {
	    display: none;
	}
.outer-menu .checkbox-toggle:checked + .hamburger > div {
  transform: rotate(135deg);
}
.outer-menu .checkbox-toggle:checked + .hamburger > div:before,
.outer-menu .checkbox-toggle:checked + .hamburger > div:after {
  top: 0;
  transform: rotate(90deg);
}
.outer-menu .checkbox-toggle:checked + .hamburger > div:after {
  opacity: 0;
}
.outer-menu .checkbox-toggle:checked ~ .menu {
  pointer-events: auto;
  visibility: visible;
}
.outer-menu .checkbox-toggle:checked ~ .menu > div {
  transform: scale(1);
  transition-duration: .75s;
}
.outer-menu .checkbox-toggle:checked ~ .menu > div > div {
  opacity: 1;
  transition: opacity 0.4s ease 0.4s;
}
.outer-menu .checkbox-toggle:hover + .hamburger {
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}
.outer-menu .checkbox-toggle:checked:hover + .hamburger > div {
  transform: rotate(225deg);
}
.outer-menu .hamburger {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 60px;
  height: 60px;
  padding: .5em 1em;
background: #E00034; /* Old browsers */
	background: linear-gradient(90deg, #E00034, #FA198B, #A42CD6);
	background-size: 200% 200%;
	-webkit-animation: Gradient 5s ease infinite;
	-moz-animation: Gradient 5s ease infinite;
	animation: Gradient 5s ease infinite;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#E00034', endColorstr='#A42CD6',GradientType=1 );  border-radius: 0 0.12em 0.12em 0;
  cursor: pointer;
  transition: box-shadow 0.4s ease;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.outer-menu .hamburger > div {
  position: relative;
  flex: none;
  width: 100%;
  height: 2px;
  background: #FEFEFE;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.outer-menu .hamburger > div:before,
.outer-menu .hamburger > div:after {
  content: '';
  position: absolute;
  z-index: 1000;
  top: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: inherit;
  transition: all 0.4s ease;
}
.outer-menu .hamburger > div:after {
  top: 10px;
}
.outer-menu .menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
  backface-visibility: hidden;
  outline: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.outer-menu .menu > div {
  width: 200vw;
  height: 200vw;
  color: #FEFEFE;
  background: rgba(164,44,214,0.97);
  border-radius: 0%;
  transition: all 0.4s ease;
  flex: none;
  //transform: scale(0);
  backface-visibility: hidden;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.outer-menu .menu > div > div {
  text-align: center;
  max-width: 90vw;
  max-height: 100vh;
  opacity: 0;
  transition: opacity 0.4s ease;
  overflow-y: auto;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.outer-menu .menu > div > div > ul {
  list-style: none;
  padding: 0 1em;
  margin: 0;
  display: block;
  max-height: 100vh;
}
.outer-menu .menu > div > div > ul > li {
  padding: 0;
  margin: 1em;
  font-size: 24px;
  display: block;
}
.outer-menu .menu > div > div > ul > li > a {
  position: relative;
  display: inline;
  cursor: pointer;
  transition: color 0.4s ease;
}
.outer-menu .menu > div > div > ul > li > a:hover {
  color: #e5e5e5;
}

.outer-menu li{
	font-family: Governor;
}
.outer-menu li a{
	
border-bottom: 5px transparent solid;
}
.outer-menu li a:hover{
border-bottom: 5px white solid;
}
.outer-menu li.current a{
border-bottom: 5px white solid;
}
.outer-menu .menu > div > div > ul > li > a:hover:after {
  width: 100%;
}
SLIDELINE.outer-menu .menu > div > div > ul > li > a:after {
  content: '';
  position: absolute;
  z-index: 1;
  bottom: -0.15em;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.4s ease;
}
/* BREAKPOINT 680px */

/* when changing the breakpoint below, change it ito the same value in the script.js file as well */
@media only screen and (max-width: 680px) { 
	.outer-menu {
	  position: absolute;
	  top: 20px;
	  right: 60px;
	  z-index: 499;
	}
	.outer-menu .checkbox-toggle {
	  position: absolute;
	  left: 0;
	  z-index: 999;
	  cursor: pointer;
	  width: 30px;
	  height: 30px;
	  opacity: 0;
	}
	.outer-menu .hamburger {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 40px;
  height: 40px;
  padding: .3em 0.6em;
background: #E00034; /* Old browsers */
	background: linear-gradient(90deg, #E00034, #FA198B, #A42CD6);
	background-size: 200% 200%;
	-webkit-animation: Gradient 5s ease infinite;
	-moz-animation: Gradient 5s ease infinite;
	animation: Gradient 5s ease infinite;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#E00034', endColorstr='#A42CD6',GradientType=1 );  border-radius: 0 0.12em 0.12em 0;
  cursor: pointer;
  transition: box-shadow 0.4s ease;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
}
