/* 
** The Header Media Queries **
*/
.site-header {
  position: relative;
}

.site-header__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
@media (min-width: 64em) {
.site-header__wrapper {
	padding: 0;
    }
	nav.nav {
		display:none;
	}
	.header .wrap {
     padding: .5rem 0;
	}
	.header {
		position: relative;
	}
}
nav.nav {
	margin: 0;
}
.dropdown-menu {
	background: #338084;
	z-index:1;
}
@media (max-width:64em) {
	.header {}
	.dropdown-menu {display:none;}
}
.site-header__start {
  display: flex;
  align-items: center; }
  .site-header__start > * + * {
    margin-left: 1.5rem; 
  }
.site-header__end {
	margin-right:2rem;
}
.site-header__end a {
	color: #fff;
}
@media (max-width: 64em) {
       .site-header__end {
        display: none;
        }
}
@media (max-width: 679px) {
  .site-header__end {
    flex: 0 0 100%;
    order: 2;
    margin-top: 1rem; } 
}
.nav__wrapper {
  position: absolute;
  top: 72px;
  left: 0;
  width: Max(220px, 20%);
  z-index: 1;
  visibility: hidden;
  opacity: 0;
  transform: translateX(-100%);
  background-color: #fff;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  display: block; }
  .nav__wrapper.active {
    visibility: visible;
    opacity: 1;
    transform: translateX(0); }
  @media (max-width: 679px) {
    .nav__wrapper {
      /* Use a CSS variable and get JS help */ } }
.nav__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  list-style:none;
  background:#fefefe;
}
  .nav__item a {
    display: block;
    padding: .7rem; }

.sub-nav {
  display: flex;
  flex-wrap: wrap;
  margin: 0;}
  .sub-nav li:not(:last-child) {
    margin-right: 1.5rem; }
  @media (max-width: 679px) {
    .sub-nav {
      background: rgba(0, 0, 0, 0.1);
      margin: 0 -1rem -1rem;
      padding: 1rem; } }
.header-search {
  display: flex; }
.nav__toggle {
  appearance: none;
  font-size: 0;
}
button.nav__toggle {
	width: 100%;
	background:#338084;
	color: #fff;padding: 1rem .8rem;
	border: none;
}
.search__toggle {
  appearance: none;
  order: 1;
  font-size: 0;
  width: 45px;
  height: 35px;
  background: #338084;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25px' height='25px' class='search_icon' viewBox='0 0 19.9 19.7'%3E%3Cg fill='none' stroke='white'%3E%3Cpath stroke-width='2' stroke-linecap='square' d='M18.5 18.3l-5.4-5.4'/%3E%3Ccircle stroke-width='2' cx='8' cy='8' r='7'/%3E%3C/g%3E%3C/svg%3E");
	background-repeat: no-repeat;
	  background-position: center;
  border: 0; }
  @media (max-width: 679px) {
    .search__toggle {
      position: absolute;
      right: 0;
      top: 0; } }
  .search__toggle.active {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40px' height='40px' viewbox='0 0 40 40'%3E%3Cpath d='M 10,10 L 30,30 M 30,10 L 10,30' stroke='white' stroke-width='2' stroke-linecap='butt' /%3E%3C/svg%3E");
	  background-repeat: no-repeat;
	  background-position: center;
  background-size: 100%; }
  @media (min-width: 680px) {
    .search__toggle {
		position:absolute;
 } 
  }


.search__toggle:hover, .nav__toggle:hover {
	background-color: #888;
}
.search__form {
  display: none; }
  .search__form.active {
    display: block; }
  @media (min-width: 680px) {
    .search__form {
      display: block; } }
  @media (max-width: 679px) {
    .search__form {
      position: absolute;
      left: 0;
      right: 0;
      top: 100%;
      background-color: #fff; }
      .search__form input {
        width: 100%; } }

  .search__form input {
    appearance: none;
    border: 0;
    background-color: #fff;
    border-radius: 0;
    font-size: 16px;
    padding: 0.5rem; }
    @media (max-width: 679px) {
      .search__form input {
        border-bottom: 1px solid #979797; } }
button.for-mobile {
	border:none; height:72px;width:60px;
}
@media only screen and (min-width: 680px) {
	button.for-mobile {
		display:none;
	}
	}