/*!
 * jquery-drawer v3.2.2
 * 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-open {
  overflow: hidden!important;
}

.drawer-nav {
  position: fixed;
  z-index: 101;
  top: 0;
  overflow: hidden;
  width: 100vw;
  height: 100%;
  color: #444;
  background-color: rgba(233,233,233,0.95);
  text-align: center;
}

.drawer-nav.times {
  overflow: auto;
}


.drawer-menu {
  margin: 0;
  padding: 5px 0 5px;
  list-style: none;
  font-family: 'Iowan Old Style','Times New Roman','Yu Mincho Light','YuMincho','Yu Mincho','游明朝体','ヒラギノ明朝 ProN','Hiragino Mincho ProN',serif;
}

.drawer-menu-item {
  font-size: 1.8em;
  display: block;
  padding: 0;
  text-decoration: none;
  color: #444;
  margin-bottom: 3.5vh;
}

.drawer-menu-item:hover {
  color: #444;
  background-color: transparent;
}

.drawer-menu-lower li{
    font-size: 1.3em;
    font-weight: lighter;
    margin-bottom: 15px;
    font-family:'Helvetica', sans-serif;
}

.drawer-menu-lang{
    font-size: 1.1em;
    font-weight: 200;
    margin: 10px 0 50px;
}

.drawer-menu-center{
    display: flex;
    -webkit-flex-flow: column nowrap;
   flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    height:calc( 100vh - 60px );
    min-height: 500px;
}

.drawer-menu-center.times{
    display: block;
    margin-top:5px;
    height:auto;
    min-height: auto;
    overflow: auto!important;
}

.drawer-menu-center .facebook{
    margin-bottom: 20px;
}

@media screen and (min-width:768px) {
    .drawer-menu {padding: 0 0 15px;}
    .drawer-menu-item {font-size: 2.1em;}
    .drawer-menu-lower li{font-size: 1.4em; margin-bottom: 20px;}
    .drawer-menu-lang{margin: 20px 0 70px;}
    .drawer-menu-center .facebook{margin-bottom: 35px;}
}



/*!------------------------------------*\
    Right
\*!------------------------------------*/

.drawer--right .drawer-nav {
  right: -100vw;
  -webkit-transition: right .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
  transition: right .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
}

.drawer--right.drawer-open .drawer-nav,
.drawer--right .drawer-hamburger,
.drawer--right.drawer-open .drawer-navbar .drawer-hamburger {
  right: 0;
}

/*!------------------------------------*\
    Hamburger
\*!------------------------------------*/

.drawer-hamburger {
  position: fixed;
  z-index: 104;
  top: 0;
  display: block;
  box-sizing: content-box;
  width: 2rem;
  padding: 0;
  padding-top: 17px;
  padding-right: .75rem;
  padding-bottom: 32px;
  padding-left: .75rem;
  border: 0;
  outline: 0;
  background-color: transparent;
}

.drawer-hamburger:hover {
  cursor: pointer;
  background-color: transparent;
}

.drawer-hamburger-icon {
  position: relative;
  display: block;
  margin-top: 10px;
}

.drawer-hamburger-icon,
.drawer-hamburger-icon:before,
.drawer-hamburger-icon:after {
  width: 100%;
  height: 1px;
  -webkit-transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
  transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
  background-color: #444;
}

.drawer-hamburger-icon.times,
.drawer-hamburger-icon.times:before,
.drawer-hamburger-icon.times:after {
  background-color: #CCC;
}

.drawer-hamburger-icon:before,
.drawer-hamburger-icon:after {
  position: absolute;
  top: -10px;
  left: 0;
  content: ' ';
}

.drawer-hamburger-icon:after {
  top: 10px;
}

.drawer-open .drawer-hamburger-icon,
.drawer-open .drawer-hamburger-icon:before,
.drawer-open .drawer-hamburger-icon:after {
  background-color: #FFF;
}

/*!------------------------------------*\
    accessibility
\*!------------------------------------*/

/*!
 * Only display content to screen readers
 * See: http://a11yproject.com/posts/how-to-hide-content
 */

.sr-only {
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

/*!
 * 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;
}


/*!------------------------------------*\
    Container
\*!------------------------------------*/

.drawer-container {
  margin-right: auto;
  margin-left: auto;
}
