/**
*
* Please fill in these variables
*
**/
/**
*
* Setup
*
**/
.visually-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0; }

header.responsive-header .inner:after, .responsive-header nav ul:after, .responsive-header nav.enhanced li.menu-item-has-children:after, .responsive-header nav.enhanced .subnav-toggler:after {
  content: "";
  display: block;
  height: 0;
  visibility: hidden;
  clear: both; }

/**
*
* Header layout
*
**/
header.responsive-header {
  margin: 0 auto;
  padding: 0;
  min-height: 90px;
  background-color: #fff; }
header.responsive-header .inner {
}
  @media only screen and (min-width: 800px) {
    header.responsive-header {
	  width: 90%;
      min-height: 100px; } }
  @media only screen and (min-width: 1000px) {
    header.responsive-header {
	  width: 90%;
      padding-left: 0;
      padding-right: 0; } }
  @media only screen and (min-width: 1400px) {
    header.responsive-header {
	  width: 1200px;
      padding-left: 0;
      padding-right: 0; } }
  @media only screen and (min-width: 800px) {
    header.responsive-header .inner {
	  width: 90%;
	  position: relative;
	  margin: 0 5%;} }
  @media only screen and (min-width: 1000px) {
	header.responsive-header .inner {
	  width: 96.6666666667%;
	  margin: 0 1.66666666667%;
	  position: relative;
	  padding-left: 0;
	  padding-top: 0; } }
  header.responsive-header .logo {
	margin-left: 10%;
    display: block;
    float: left; }
    @media only screen and (min-width: 800px) {
      header.responsive-header .logo {
		margin-left: 0;
        float: none;
        position: absolute;
        top: 0;
        left: 0; } }
    header.responsive-header .logo img {
      height: 50px;
      vertical-align: middle; }
      @media only screen and (min-width: 800px) {
        header.responsive-header .logo img {
          height: 50px;} }
  @media only screen and (min-width: 800px) {
    header.responsive-header .search-form {
	  z-index: 10;
      position: absolute;
      top: 50px;
      right: 0; } }
  @media only screen and (min-width: 800px) {
    header.responsive-header .secondary-nav {
      position: absolute;
      top: 17px;
      right: 0; } }

/**
*
* Search form
*
**/
.search-form input:not([type=submit]):not([type=file]) {
  width: 100%;
  margin: 0;
  padding: 0;
  padding-left: 10px;
  border-radius: 0px 5px 5px 0px;
  height: 30px;
  line-height: 30px;
  border: 1px solid #ddd; }

@media only screen and (min-width: 800px) {
    .search-form input:not([type=submit]):not([type=file]) {
      width: 200px; } }

  .search-form input:not([type=submit]):not([type=file]):focus {
    border-color: #bbb;
    outline: none;
    /* Remove ugliness in safari */ }

.search-button {
  display: inline-block;
  padding: 2px 15px;
  margin-left: 10px;
  border: 0;
  background: #333;
  border-radius: 5px;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff; }

.search-form {
  position: relative;}
  .search-form button {
	height: 30px;
	line-height: 30px;
	cursor: pointer;
	position: absolute;
	top: 0;
	right: 0;
	padding: 0 10px 0 10px;
	-moz-box-shadow:    0px 0px 0 rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0px 0px 0 rgba(0, 0, 0, 0.5);
	box-shadow:         0px 0px 0 rgba(0, 0, 0, 0.5); }

 @media only screen and (min-width: 800px) {}


/**
*
* Lines button - code by sara soueidan (http://sarasoueidan.com/blog/navicon-transformicons/)
*
**/
.lines-button {
  display: inline-block;
  margin: 0 auto;
  padding: 8px 0;
  width: 20px;
  height: 3px;
  -webkit-transition: 0.1s;
          transition: 0.1s;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none; }
  .lines-button:active {
    -webkit-transition: 0;
            transition: 0;
    background: #fff; }

.lines {
  position: relative;
  display: block;
  width: 20px;
  height: 3px;
  background-color: #fff;
  -webkit-transition: 0.1s;
          transition: 0.1s; }
  .lines:before, .lines:after {
    position: absolute;
    left: 0;
    content: '';
    -webkit-transform-origin: 1.4285714286px center;
        -ms-transform-origin: 1.4285714286px center;
            transform-origin: 1.4285714286px center;
    display: block;
    width: 20px;
    height: 3px;
    background-color: #fff;
    -webkit-transition: 0.1s;
            transition: 0.1s; }
  .lines:before {
    top: 6px; }
  .lines:after {
    top: -6px; }

.lines-button:hover,
a:hover .lines-button {
  opacity: 1; }
  .lines-button:hover .lines,
  a:hover .lines-button .lines {
    background: #eee; }
    .lines-button:hover .lines:before,
    a:hover .lines-button .lines:before {
      background: #eee; }
    .lines-button:hover .lines:after,
    a:hover .lines-button .lines:after {
      background: #eee; }

.lines-button.x.close .lines {
  background: transparent; }
  .lines-button.x.close .lines:before, .lines-button.x.close .lines:after {
    -webkit-transform-origin: 50% 50%;
        -ms-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
    top: 0;
    width: 20px; }
  .lines-button.x.close .lines:before {
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
            transform: rotate3d(0, 0, 1, 45deg); }
  .lines-button.x.close .lines:after {
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
            transform: rotate3d(0, 0, 1, -45deg); }

.lines-button.minus.close .lines:before, .lines-button.minus.close .lines:after {
  -webkit-transform: none;
      -ms-transform: none;
          transform: none;
  width: 20px;
  top: 0; }

/**
*
* Nav toggler
*
**/
.nav-toggler {
  height: 36px;
  text-decoration: none;
  color: #fff;
  line-height: 36px;
  font-size: 20px; 
  position: absolute;
  top: 98px;
  right: 5%; }
  @media only screen and (min-width: 800px) {
    .nav-toggler {
      display: none; } }
  .nav-toggler .lines-button {
    margin-right: 2px;
    vertical-align: middle;
    position: relative;
    top: -3px; }

/**
*
* Background mask
*
**/
.bg-mask {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7); }

/**
*
* Basic nav styles
*
**/
.responsive-header {
  position: relative;
  z-index: 3; }
  .responsive-header nav {
    display: none;
    box-sizing: border-box; }
    .responsive-header nav *, .responsive-header nav *:before, .responsive-header nav *:after {
      box-sizing: inherit; }
    .responsive-header nav ul {
      margin: 0;
      padding: 0;
      list-style: none; }
    .responsive-header nav li {
      position: relative; }
    .responsive-header nav a {
      text-decoration: none;
      -webkit-transition: all 0.1s ease-in-out;
              transition: all 0.1s ease-in-out; }
    @media only screen and (min-width: 800px) {
      .responsive-header nav {
        display: block; }
 	  .responsive-header nav .primary-nav {
		position: absolute;
		top: 100px}  }

@media only screen and (min-width: 800px) {
  .responsive-header nav > ul > li {
    float: left;
    margin-left: 25px; }
    .responsive-header nav > ul > li:first-child {
      margin-left: 0; } }

.responsive-header nav ul ul {
  display: none; }

.responsive-header nav .primary-nav >  li > a img {
	height: 18px;
	vertical-align: middle;
}

.responsive-header nav > .primary-nav > li {
	margin-left: 0;
}

.responsive-header nav a {
	color: #fff;
}

.responsive-header nav .primary-nav > li > a {
	display: block;
	padding: 0 20px;
	margin-right: 20px;
	margin-left: -20px;
	text-decoration: none;
	font-weight: bold;
	font-size: 14px;
	text-transform: uppercase;
	line-height: 30px;
	transition: all .2s ease-in-out;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box; 
	box-sizing: border-box;
}

@media only screen and (min-width: 800px) {	
  .responsive-header nav a {
	color: #333;}	
  .responsive-header nav .primary-nav > li > a {
	line-height: 50px;
	color: #fff;
	margin-right: 20px;
	margin-left: -20px;} 
  .responsive-header nav .secondary-nav > li > a:hover {
	text-decoration: underline;}
  .responsive-header nav ul ul li:hover {
	background-color: #eee;}}

/**
*
* Desktop (dropdown on mouseover)
*
**/
@media only screen and (min-width: 800px) {
  .responsive-header nav ul ul {
    position: absolute;
    background-color: #fff;
    padding: 10px 0;
    width: 240px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2); }
    .responsive-header nav ul ul a {
      display: block;
      padding: 3px 20px; } }
@media only screen and (min-width: 800px) {
  .responsive-header nav > ul > li.menu-item-has-children > a:after {
    content: "";
    display: inline-block;
    margin-left: 5px;
    width: 7px;
    height: 7px;
    background: url(../images/arrow-down.svg) no-repeat 0 0;
    background-size: 7px 7px;
    vertical-align: middle; }
  .responsive-header nav > .secondary-nav > li.menu-item-has-children > a:after {
	background: url(../images/arrow-down-dark.svg) no-repeat 0 0;}
  .responsive-header nav > ul > li:hover > ul {
    display: block;
    margin-left: -20px;
    width: 240px;
    left: 0; }

  .responsive-header nav ul.secondary-nav li:hover ul {
    margin: 0;
    left: auto;
    right: 0; } }
@media only screen and (min-width: 800px) {
  .responsive-header nav > ul > li > ul li.menu-item-has-children > a:after {
    content: "";
    display: block;
    float: right;
    margin-top: 7px;
    width: 7px;
    height: 7px;
    background: url(../images/arrow-right.svg) no-repeat 0 0;
    background-size: 7px 7px;
    vertical-align: middle; }
  .responsive-header nav > ul > li > ul li:hover > ul {
    display: block;
    margin-top: -10px;
    background-color: #fff;
    top: 0;
    left: 240px; } }
/**
*
* JS enhanced nav styles
*
**/
.subnav-toggler {
  display: none;
  padding: 7px;
  border-radius: 5px;
  width: 34px;
  height: 34px;
  background-color: rgba(255, 255, 255, 0.2);
  cursor: pointer; }

.responsive-header nav.enhanced {
  padding: 40px 10%;
  background-color: #222;
  position: absolute;
  top: 90px;
  left: 0;
  right: 0; }
  .responsive-header nav.enhanced a {
    display: inline-block;
    padding: 5px 0; }
  .responsive-header nav.enhanced ul {
    margin: 0 0 20px; }
  .responsive-header nav.enhanced li.menu-item-has-children {
    position: relative; }
    .responsive-header nav.enhanced li.menu-item-has-children > a {
      float: left; }
    .responsive-header nav.enhanced li.menu-item-has-children > .subnav-toggler {
      float: right; }
    .responsive-header nav.enhanced li.menu-item-has-children > ul {
      clear: both; }
  .responsive-header nav.enhanced .subnav-toggler {
    display: block;
    width: auto;
    position: relative;
    top: 1px; }
    .responsive-header nav.enhanced .subnav-toggler .lines-button {
      margin-right: 5px;
      vertical-align: middle;
      -webkit-transform: translateY(-5px);
          -ms-transform: translateY(-5px);
              transform: translateY(-5px); }
    .responsive-header nav.enhanced .subnav-toggler .label {
      position: relative;
      top: -2px;
      line-height: 20px;
      color: #fff; }
    @media only screen and (min-width: 800px) {
      .responsive-header nav.enhanced .subnav-toggler {
        display: none; } }
  .responsive-header nav.enhanced .search-form {
    margin: 0 0 10px; }

.responsive-header nav.enhanced ul ul {
  margin: 0 0 20px 9px;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  padding-left: 20px; }

.search-form input {
  width: 100%; }

/**
*
* Sitemap styles
*
**/
.sitemap nav ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none; }
  .sitemap nav ul ul {
    margin: 10px 0 10px 10px;
    padding-left: 10px;
    border-left: 1px solid #eee; }
.sitemap nav a {
  display: block;
  padding: 5px 0;
  text-decoration: none; }

/* Extra styles */
p.tagline {margin-bottom: 0}