/* material design icon font  */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(material-icons.woff2) format('woff2');
}
.mi {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}




html {
  font: normal normal 62.5%/1em 'Roboto Condensed', sans-serif;
}

@media (min-width : 360px) {
  html {
    font-size: 70%;
  }
}

@media (min-width : 375px) {
  html {
    font-size: 72%;
  }
}

@media (min-width : 400px) {
  html {
    font-size: 75%;
  }
}


html,body {
  margin: 0 auto;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

* {
  box-sizing: border-box;
}

*:focus {
  outline: 0;
}

.scrollable_horizontally {
  overflow-y: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.scrollable {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#page {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background-color: #DDD;
}

#menu {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  transition: 400ms transform cubic-bezier(0.13, 0.13, 0.27, 1);
  transform: translateY(100%);
  background-color: #FFF;
  z-index: 99;
}
#page[menu='true'] #menu {
  transform: translateY(0);
}
#menu.dragging {
  transition: none;
}
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background-color: rgba(0,0,0,0);
  z-index: 20;
  transition: 1s background ease-in-out;
}
#page[menu='true'] #overlay {
  height: 100%;
  background-color: rgba(0,0,0,0.2);
}

#menu * {
  user-select: none;
}

#menu_handle {
  display: block;
  height: 1rem;
  position: relative;
  transition: 200ms height ease-out;
}
#menu_handle:before,
#menu_handle:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.5rem;
  height: 0.2rem;
  background: #CCC;
  transition: 200ms all cubic-bezier(0.13, 0.13, 0.27, 1);
}
#menu_handle:before {
  transform-origin: bottom right;
  margin-left: -1.5rem;
  border-radius: 0.2rem 0 0 0.2rem;
}
#menu_handle:after {
  transform-origin: bottom left;
  margin-left: 0rem;
  border-radius: 0 0.2rem 0.2rem 0;
}
#page[menu='true'] #menu_handle:before,
#page[menu='true'] #menu_handle:after {
  margin-top: 0.5em;
  background: #DDD;
}
#page[menu='true'] #menu_handle:before {
  transform: rotate(10deg);
}
#page[menu='true'] #menu_handle:after {
  transform: rotate(-10deg);
}


#menu ul,
#menu ol,
#menu li {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#menu .menu_section {
  position: relative;
}
#menu .menu_section + .menu_section:before {
  content:"";
  position: absolute;
  left: 1rem;
  top: 0;
  width: calc(100% - 2rem);
  height: 1px;
  background: #DDD;
  margin-bottom: 1.5rem;
}

#menu .menu_section > .menu_section_wrapper {
  padding: 1.5rem 0;
  display: flex;
  flex-flow: row nowrap;
  transition: 400ms padding cubic-bezier(0.13, 0.13, 0.27, 1);
}
#page[menu='true'] #menu_full .menu_section > .menu_section_wrapper {
  padding-bottom: 2rem;
}

#menu_full.menu_section > .menu_section_wrapper {
  display: block;
  padding: 1em 0;
}

#menu_search.menu_section > .menu_section_wrapper {
  padding: 1.5rem;
}


#menu .menu_section > ul::-webkit-scrollbar {
  height: 0;
  display: none;
}

#menu .menu_section_label {
  font-weight: normal;
  color: #666;
  font-size: 1.2rem;
  line-height: 1rem;
  padding-top: 0rem;
  padding-bottom: 0rem;
  white-space: nowrap;
  max-height: 0;
  overflow: hidden;
  transition-property: max-height, padding, opacity;
  transition-duration: 400ms, 400ms, 200ms;
  transition-delay: 0s,0s,0s;
  transition-timing-function: cubic-bezier(0.13, 0.13, 0.27, 1);
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
  opacity: 0;
}
#page[menu='true'] #menu .menu_section_label {
  transition-delay: 0s,0s,200ms;
  max-height: 3rem;
  padding-top: 1.5rem;
  padding-bottom: 0;
  opacity: 1;
  text-transform: uppercase;
}

#menu .menu_item_spacer {
  flex: 0 0 4vw;
}
#menu .menu_item_wrapper {
  flex: 0;
}

#menu .menu_item_button {
  display: flex;
  width: 6rem;
  height: 6rem;
  overflow: hidden;
  border-radius: 100%;
  background: #7b9ff1;
  justify-content: center;
  align-items: center;
  transition: 250ms all ease-out;
}
#menu .menu_item_button:active {
  background: #d25454;
  transition-duration: 0s;
}

#menu .menu_item_label {
  display: block;
  font-size: 2.5rem;
  color: #FFF;
  line-height: 1em;
}

#home_tabs {
  height: 5rem;
  color: transparent;
  padding-top: 1rem;
  background: #557eda;
  position: relative;
  z-index: 10;
}

#home_tabs.swiper-container-horizontal {
  color: rgba(255,255,255,0.5);
}

#home_tabs .swiper_slide,
#menu_full_swiper_titles .swiper-slide {
  width: 33.333%;
  text-align: center;
}

#home_tabs .tab_title,
#menu_full_swiper_titles .menu_subsection_label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 1.2rem;
  text-transform: uppercase;
  line-height: 4rem;
  margin: 0;
  transition: 400ms all ease-out;
  font-weight: normal;
}

#menu_full_swiper_titles {
  height: 5rem;
  padding-top: 1rem;
  color: #ccc;
}

#home_tabs .swiper-slide-active .tab_title,
#home_tabs .swiper-slide-duplicate-active .tab_title,
#menu_full_swiper_titles .swiper-slide-active .menu_subsection_label,
#menu_full_swiper_titles .swiper-slide-duplicate-active .menu_subsection_label {
  color: #333;
  font-size: 1.6rem;
  transition-delay: 0s;
  transition-timing-function: ease-out;
  letter-spacing: 0.05em;
}

#home_tabs .swiper-slide-active .tab_title,
#home_tabs .swiper-slide-duplicate-active .tab_title {
  color: #FFF;
}

#home_views {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#home_views .swiper-slide {
  background-color: #E8E8E8;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#home_views h1 {
  color: transparent;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 20%;
}
#home_views.swiper-container-horizontal h1 {
  color: #CCC;
}



/*
#menu_full_swiper .swiper-slide:after {
  content: attr(title);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background: red;
  padding: 1rem;
  font-size: 3rem;
} */

#menu_full_swiper .swiper-slide-inner {
  text-align: center;
}

#menu_full_swiper .swiper-slide-inner > li {
  display: inline-block;
}

#menu_full_swiper .swiper-slide .menu_item_wrapper {
  margin: 0 2vw 3vw;
}

#menu_full_swiper {
  padding-bottom: 3rem;
}

#menu_full_swiper .swiper-pagination-bullet.swiper-pagination-bullet-active {
  opacity: 1;
}

#menu_full_swiper .swiper-pagination-bullet {
  opacity: 0.3;
  background: #999;
}

#fake_input_field,
#mic_button {
  display: block;
  height: 4rem;
  min-width: 4rem;
  border-radius: 2rem;
}

#fake_input_field {
  flex: 1;
  font-size: 1.4rem;
  line-height: 4rem;
  padding-left: 1.5rem;
  color: #CCC;
  border: 1px solid #999;
}

#fake_input_field:active,
#fake_input_field.focus {
  color: #000;
  border-color: #000;
}

#mic_button {
  flex: 0;
}
#fake_input_field + #mic_button {
  margin-left: 1em;
  border-color: #557eda;
  background-color: #557eda;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
}
#mic_button .mi {
  display: block;
  font-size: 2.8rem;
}

#page[search='false'] #search_panel {
  height: 0 !important;
}
#search_panel {
  height: 0;
  transform: scaleY(0);
  opacity: 0;
  transition-duration: 400ms;
  transition-timing-function: cubic-bezier(0.13, 0.13, 0.27, 1);
  transition-property: height, transform, opacity;
  overflow: hidden;
}

#menu #search_panel.menu_section:before {
  display: none;
}

#page[search='true'] #search_panel {
  height: auto;
  transform: scaleY(1);
  opacity: 1;
}

#real_input_field_wrapper {
  width: 0;
  height: 0;
  overflow: hidden;
}

#search_results .search_result {
  padding: 0.75rem 0.75rem;
  margin: 0.25rem 0.75rem;
  display: flex;
  flex-flow: row nowrap;
  transition: 200ms background ease-out;
  border-radius: 0.5rem;
}

#search_results h5 {
  font-size: 1.6rem;
  line-height: 6rem;
  margin: 0;
  flex: 1;
  font-weight: normal;
}

#search_results .menu_item_button {
  margin-right: 1.5em;
}

#search_results .search_result:active .menu_item_button {
  background: #d25454;
}

#search_results .search_result:active {
  background-color: #F0F0F0;
  transition-duration: 0ms;
}
