/*!
 * jquery-drawer v3.2.1
 * Flexible drawer menu using jQuery, iScroll and CSS.
 * http://git.blivesta.com/drawer
 * License : MIT
 * Author : blivesta <design@blivesta.com> (http://blivesta.com/)
 */
/*!------------------------------------*\
		Base
\*!------------------------------------*/
.drawer-nav {
  position: fixed;
  z-index: 99;
  top: 0;
  overflow: hidden;
  width: 240px;
  /*width: 16.25rem;*/
  height: 100%;
  color: #222;
  background-color: #31b1b8;
  background-color: rgba(49, 177, 184, 0.2);
}

.drawer-brand {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 3.75rem;
  display: block;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  text-decoration: none;
  color: #222;
}

.drawer-menu {
  height: auto;
  margin: 0 0 0 0;
  padding: 0;
  list-style: none;
  background-color: #31b1b8;
  /*border-top: 2px solid rgba(255, 255, 255, 0.5);*/
}

.drawer-menu li {
  display: block;
  margin: 0;
  font-size: 100%;
  line-height: 1.4;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}

.drawer-menu li a {
  display: block;
  padding: 0.6em 12px 0.6em 32px;
  text-decoration: none;
  color: #ffffff;
  background: url(../images/link-circle-left-white.png) no-repeat 10px center;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.2) {
  .drawer-menu li a {
    background-image: url(../images/link-circle-left-white@2x.png);
    background-size: 16px 16px;
  }
}
.drawer-menu-item {
  font-size: 1rem;
  display: block;
  padding: 0.75rem;
  text-decoration: none;
  color: #222;
}

.drawer-menu-item:hover {
  text-decoration: underline;
  color: #555;
  background-color: transparent;
}

/*! overlay */
.drawer-overlay {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  background-color: #31b1b8;
  background-color: rgba(49, 177, 184, 0.4);
}

.drawer-open .drawer-overlay {
  display: block;
}

/*!------------------------------------*\
		Top
\*!------------------------------------*/
.drawer--top .drawer-nav {
  top: -200%;
  left: 0;
  width: 100%;
  height: auto;
  max-height: 100%;
  -webkit-transition: top 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  -o-transition: top 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  transition: top 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.drawer--top.drawer-open .drawer-nav {
  top: 0;
}

/*!------------------------------------*\
		Hamburger
\*!------------------------------------*/
.drawer-hamburger {
  z-index: 200 !important;
  position: absolute;
  overflow: visible;
  top: 21px;
  right: -18px;
  display: block;
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  width: 46px;
  padding: 12px 0px 12px 0px;
  -webkit-transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  -o-transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  border: 0;
  outline: 0;
  background-color: transparent;
  /*background-color: green;*/
}

.drawer-hamburger:hover {
  cursor: pointer;
  background-color: transparent;
}

.drawer-hamburger-icon {
  position: relative;
  display: block;
  margin-top: 0;
}

.drawer-hamburger-icon,
.drawer-hamburger-icon:before,
.drawer-hamburger-icon:after {
  width: 100%;
  height: 4px;
  -webkit-transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  -o-transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  background-color: #ffffff;
  border-radius: 2px;
}

.drawer-hamburger-icon:before {
  position: absolute;
  top: -12px;
  left: 0;
  content: " ";
}

.drawer-hamburger-icon:after {
  position: absolute;
  top: 12px;
  left: 0;
  content: " ";
}

.drawer-hamburger:hover .drawer-hamburger-icon:before {
  top: -14px;
}

.drawer-hamburger:hover .drawer-hamburger-icon:after {
  top: 14px;
}

.drawer-open .drawer-hamburger-icon {
  background-color: transparent;
}

.drawer-open .drawer-hamburger-icon:before,
.drawer-open .drawer-hamburger-icon:after,
.drawer-open:hover .drawer-hamburger-icon:before,
.drawer-open:hover .drawer-hamburger-icon:after {
  top: 0 !important;
}

.drawer-open .drawer-hamburger-icon:before {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.drawer-open .drawer-hamburger-icon:after {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

@media (max-width: 920px) and (min-width: 761px) {
  /* HM width 80px */
  .drawer-hamburger {
    right: -23px;
  }
}
@media (max-width: 760px) and (min-width: 541px) {
  /* HM width 70px */
  .drawer-hamburger {
    width: 42px;
    top: 17px;
    right: 14px;
  }
}
@media (max-width: 540px) {
  /* HM width 70px */
  .drawer-hamburger {
    top: 15px;
    right: 14px !important;
    width: 36px;
  }

  .drawer-hamburger-icon,
.drawer-hamburger-icon:before,
.drawer-hamburger-icon:after {
    height: 3px;
    border-radius: 2px;
  }

  .drawer-hamburger-icon:before {
    top: -10px;
  }

  .drawer-hamburger-icon:after {
    top: 10px;
    left: 0;
  }

  .drawer-hamburger:hover .drawer-hamburger-icon:before {
    top: -12px;
  }

  .drawer-hamburger:hover .drawer-hamburger-icon:after {
    top: 12px;
  }
}
/*!------------------------------------*\
		accessibility
\*!------------------------------------*/
/*!
 * Only display content to screen readers
 * See: http://a11yproject.com/posts/how-to-hide-content
 */
.sr-only {
  position: absolute;
  display: block;
  top: 36px;
  left: 0;
  width: 46px;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  text-align: center;
  color: #ffffff;
  font-weight: bold;
  font-size: 13px;
  /*text-align: justify;
  text-justify: inter-ideograph;*/
  letter-spacing: 0.04em;
}

@media (max-width: 760px) {
  .sr-only {
    top: 36px;
    width: 42px;
    font-size: 11px;
  }
}
@media (max-width: 540px) {
  .sr-only {
    top: 32px;
    width: 36px;
    font-size: 11px;
  }
}
/*!
 * Use in conjunction with .sr-only to only display content when it's focused.
 * Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
 * Credit: HTML5 Boilerplate
 */
.sr-only-focusable:active,
.sr-only-focusable:focus {
  position: static;
  overflow: visible;
  clip: auto;
  width: auto;
  height: auto;
  margin: 0;
}

/*!------------------------------------*\
		Sidebar
\*!------------------------------------*/
.drawer--sidebar {
  background-color: #fff;
}

.drawer--sidebar .drawer-contents {
  background-color: #fff;
}

/*!------------------------------------*\
		Navbar
\*!------------------------------------*/
.drawer--navbarTopGutter {
  padding-top: 3.75rem;
}

.drawer-navbar .drawer-navbar-header {
  border-bottom: 1px solid #ddd;
  background-color: #fff;
}

.drawer-navbar {
  z-index: 102;
  top: 0;
  width: 100%;
}

/*! .drawer-navbar modifier */
.drawer-navbar--fixed {
  position: fixed;
}

.drawer-navbar-header {
  position: relative;
  z-index: 102;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  height: 3.75rem;
  padding: 0 0.75rem;
  text-align: center;
}

.drawer-navbar .drawer-brand {
  line-height: 3.75rem;
  display: inline-block;
  padding-top: 0;
  padding-bottom: 0;
  text-decoration: none;
}

.drawer-navbar .drawer-brand:hover {
  background-color: transparent;
}

.drawer-navbar .drawer-nav {
  padding-top: 3.75rem;
}

.drawer-navbar .drawer-menu {
  padding-bottom: 7.5rem;
}

/*!------------------------------------*\
		Dropdown
\*!------------------------------------*/
.drawer-dropdown-menu {
  display: none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #fff;
}

.drawer-dropdown-menu > li {
  width: 100%;
  list-style: none;
}

.drawer-dropdown-menu-item {
  line-height: 3.75rem;
  display: block;
  padding: 0;
  padding-right: 0.75rem;
  padding-left: 1.5rem;
  text-decoration: none;
  color: #222;
}

.drawer-dropdown-menu-item:hover {
  text-decoration: underline;
  color: #555;
  background-color: transparent;
}

/*! open */
.drawer-dropdown.open > .drawer-dropdown-menu {
  display: block;
}

/*! drawer-caret */
.drawer-dropdown .drawer-caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 4px;
  -webkit-transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
  transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
  -o-transition: transform 0.2s ease, opacity 0.2s ease;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transition: transform 0.2s ease, opacity 0.2s ease, -webkit-transform 0.2s ease;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
  vertical-align: middle;
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

/*! open */
.drawer-dropdown.open .drawer-caret {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

/*!------------------------------------*\
		Container
\*!------------------------------------*/
.drawer-container {
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 64em) {
  .drawer-container {
    max-width: 60rem;
  }
}
@media (min-width: 75em) {
  .drawer-container {
    max-width: 70rem;
  }
}