@charset "UTF-8";

/* --------------------------------------------------------------
 GLOBAL-HEADER 3
-------------------------------------------------------------- */

/* ~Block layout ----------------- */
.global-header, .global-header-nav {
  position:relative;
  width: 100%;
  line-height: 1;
  background:transparent;
  opacity:1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.global-header div,
.global-header-nav div,
.global-header-nav ul,
div#place-for-modal {
  font-family: Roboto,"Hiragino Kaku Gothic ProN",HiraKakuPro-W3,Meiryo,"ＭＳ Ｐゴシック",sans-serif;
  font-feature-settings: "palt";
}

.global-header {
  background-color: #4e4e4e;
  height: 54px;
  overflow: visible;
  padding: 0 15px;
  box-sizing: border-box;
}

.global-header._christmas {
  background: repeat url('/common/images/seasonal_decolation/christmas/checked-pattern_4e4e4e.png');
}
.global-header._newyear {
  background: repeat url('/common/images/seasonal_decolation/newyear/ume-pattern_4e4e4e.png');
}

.global-header input[type="button"],
.global-header input[type="search"],
.global-header input[type="submit"],
.global-header button {
  border-radius: 0;
  border: 0;
  -webkit-appearance: none;
  background-color: transparent;
}

.global-header input:focus {
  outline: none;
}

.header-nav-outer {
  height: 86px;
}

.global-header .ototoy-logo {
  flex-glow: 0;
  flex-shrink: 0;
  padding-right: 20px;
  justify-self: flex-start;
}

.global-header .ototoy-logo a {
  position: relative;
  display: block;
  height: 54px;
  width: 120px;
  margin: 0;
}

.global-header .ototoy-logo a img {
  position: absolute;
  top: 0;
  left: 0;
}

.ototoy-logo img {
  max-width: 100%;
}

.ototoy-logo a img.premium,
.ototoy-logo a img.superpremium {
  display: none;
}

/* ~~ global-header menu (override) ----- */
.global-header-nav a[href], .global-header-nav button {
  padding: 0px 5px;
  color: #ffffff;
  display:block;
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  border: none;
}

/* ~genre-menu ----- */
.global-header-genre{
  flex-grow: 0;
  flex-shrink: 0;
  display: flex;
  justify-self: flex-start;
  margin-left: 0;
  align-items: center;
  padding-right: 20px;
  position: relative;
}

.global-header-genre .genre-menu-open {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 5px;
  color: #ffffff;
  font-size: 14px;
  font-size: 0.875rem;
  font-feature-settings: "palt";
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.global-header-genre .genre-menu-open img.genre-icon {
  width: 34px;
  height: 26px;
  vertical-align: middle;
  margin: 0 8px 0 0;
  color: #ffffff;
}

.global-header-genre .genre-menu {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.1s ease;
  z-index: 20;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  padding-left: 0;
}

.global-header-genre .genre-menu.active {
  visibility: visible;
  opacity: 1;
}

.global-header-genre .genre-menu li {
  position: relative;
  background-color: inherit;
}

.global-header-genre .genre-menu li a {
  display: inline-block;
  color: #ffffff;
  white-space: nowrap;
  float: none;
  padding: 12px 2px 10px 2px;
  line-height: 1;
  text-decoration: none;
  text-align: center;
  text-transform: none;
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.global-header-genre li a:hover,
.global-header-genre li a:focus {
  color: #ffffff;
  background-color: #2ab002;
  z-index: 20;
}

/* ~~ genre name showing on hover */
.global-header-genre .genre-menu li a:focus:after,
.global-header-genre .genre-menu li a:hover:after {
  content: attr(aria-label);
  display: block;
  position: absolute;
  left: 20px;
  top:  35px;
  margin: 10px 0 0 0px;
  padding: 9px 10px 9px 10px;
  background: hsla(0, 0%, 27%, 0.8);
  color: #45ed45;
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  border-radius: 2px;
  z-index: 20;
}

.global-header-genre .genre-menu a img.genre-icon {
  width: 34px;
  height: 26px;
  vertical-align: middle;
  padding: 0 2px;
  color: #ffffff;
}

.global-header-genre .genre-menu a span {
  vertical-align: middle;
  font-size: 14px;
  /* font-size: 0.875rem; */
}

/* ~lead-sentence and search-button */
.global-header #search-parent {
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  justify-content: flex-end;
  align-items: center;
  margin: auto;
}

.global-header #lead-search-parent {
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  justify-content: flex-end;
  align-items: center;
  margin: auto;
}

.global-header .search-button {
  box-sizing: border-box;
  color: #ffffff;
  font-size: 16px;
  font-size: 1rem;
  background: none;
  padding: 0 5px;
}

.global-header .search-button button {
  width: 21px;
  height: 24px;
}

.global-header .search-button a {color: #ffffff;}

.global-header #passcode-menu {
  color: #ffffff;
  font-size: 22.4px;
  font-size: 1.4rem;
  margin: 0 0 0 8px;
  text-decoration: none;
  padding: 0;
  padding-left: 5px;
  width: 2rem;
  height: auto;
  max-width: 1.5rem;
  flex: 0 0 auto;
}

.global-header .lead-sentence {
  position: absolute;
  right: 30px;
  white-space: nowrap;
  color: rgba(255,255,255,1);
  padding: 0 5px;
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: opacity 0.1s ease-in-out;
}
.global-header .lead-sentence.dismiss {
  opacity: 0;
}

/* ~Search section block */

.global-header .nav-search-box {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-self: flex-end;
  height: 100%;
}

.global-header #search-box-parent {
  flex-grow: 1;
  flex-shrink: 1;
  max-width: 320px;
  display: flex;
  right: 0;
  justify-content: flex-start;
  overflow: hidden;
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 19px;
}

.global-header #search-box-parent form {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-start;
}
/* ~~ Search input -----------*/
.global-header .search-box {
  color: #ffffff;
  display: block;
  flex: 1 0 auto;
  height: 36px;
  width: 360px;
  width: calc(100% - 72px);
  padding: 4px 4px 4px 18px;
}

.global-header .search-box.submit {
  color: #ffffff;
  box-sizing: border-box;
  width: auto;
  padding: 0 16px 0 0;
}

.global-header .search-box::placeholder {
  color: rgba(255,255,255,0.35);
}

.global-header .search-box.cancel {
  max-width: 36px;
  padding: 0 4px 0 4px;
}

/* ~ Global-header-nav ------------------ */
.global-header-nav {
  background-color: #707070;
  z-index: 6;
}

.global-header-nav._christmas {
  background: repeat url('/common/images/seasonal_decolation/christmas/checked-pattern_777777.png');
}
.global-header-nav._newyear {
  background: repeat url('/common/images/seasonal_decolation/newyear/nami-pattern_777777.png');
}

.global-header-nav .fa {
  font-size: 19.6px;
  /* font-size: 1.225rem; */
  margin: 0 2px;
  padding-right: 4px;
  vertical-align: -1px;
}

/* ~~ OTOTOY logo  ----- */
.global-header-nav .ototoy-logo {
  display: none;
  width: 71px;
  margin: 0 13px 0 22px;
}

.global-header-nav .ototoy-logo a {
  position: relative;
  display: block;
  padding: 0px 0px;
  height: 32px;
  width: 100%;
}

.global-header-nav .ototoy-logo a img {
  position: absolute;
  top: 0;
  left: 0;
}

/* ~~ nav-menu open button (mobile)  ----- */
.global-header-nav .nav-menu-open {
  display: none;
  color:#FFFFFF;
  margin-left:14px;
  font-size:14px;
  /* font-size:0.875rem; */
}

.global-header-nav .nav-menu-open .fa {/* font-size: 120%; */color: #fff;}

@media screen and (max-width: 1040px) {
  .global-header-nav.scroll-down .nav-menu-open {
    display: flex;
    margin-left: 0px;
    height: 100%;
    align-items: center;
  }
}

/* ~~nav-menu ----- */
.global-header-nav .nav-menu {
  display: flex;
  padding:0;
  list-style:none;
  margin:0;
  margin-left:14px;
  font-size:14px;
  /* font-size:0.875rem; */
  line-height:32px;
  justify-content: flex-start;
  align-items: center;
}

.global-header-nav .nav-menu li {
  float:left;
  line-height:32px;
}

.global-header-nav .nav-menu .nav-menu-caret {
  vertical-align: middle;
  color: #FFFFFF;
}
.global-header-nav .nav-menu .nav-menu-caret .fa { padding-right:0; }
.global-header-nav .nav-menu li.nav-menu-caret:hover { background-color:transparent; }

.global-header-nav a:hover,
.global-header-nav li:hover a {
  color: #ffffff;
  text-decoration: none;
}

.global-header-nav li:hover > a,
.global-header-nav li:hover .badge {text-shadow: none;}

.global-header-nav .nav-menu-open a:hover,
.global-header-nav li:hover,
.user-menu .sub-menu li:hover,
.global-header-nav li:focus-within,
.user-menu .sub-menu li:focus,
[data-nav-tablet="open"] .nav-menu-open { background-color: #2ab002; }

.user-menu .sub-menu a:hover {color: #ffffff;}

/* ~~ user-menu  ----- */

/* ---- default hide content ---- */
#collections-menu, #cart-menu, #personal, #help-menu {display: none;}

#personal.active, #cart-menu.active,
#collections-menu.active, #help-menu.active {
  display: block;
  animation: show-reset 0.1s forwards;
  opacity: 0;
}

@media screen and (max-width: 980px) {
  #personal .tablet { display: block; }
  #collections-menu { display: none; }/* save space */
}

.global-header-nav .user-menu,
.global-header-nav .user-menu .sub-menu {
  margin:0;
  padding: 0;
  list-style: none;
  font-size:14px;
  /* font-size:0.875rem; */
}

.global-header-nav .user-menu {
  flex-grow: 0;
  justify-self: flex-end;
  display: flex;
  flex-flow: row-reverse;
  justify-content: space-between;
  align-items: center;
  padding-right: 15px;
  line-height: 32px;
  transition: all 0.1s ease-out;
}

.global-header-nav .user-menu li {
  position: relative;
  display: block;
  text-align: left;
}

.global-header-nav .fa-caret-down {
  padding-left : 4px;
}

.global-header-nav .user-menu a,
.global-header-nav .user-menu button {
  padding: 0px 8px;
  height: 100%;
  color: #FFFFFF;
  text-decoration: none;
}
#personal [role="navigation"] { cursor: default; }

.global-header-nav .user-menu .sub-menu {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  right:0px;
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 12;
  background: #707070;
  border: 1px solid #6a6a6a;
  border-radius: 0 0 4px 4px;
  box-shadow:0px 1px 1px rgba(107,107,107,0.5);
  transition: opacity 0.1s ease;
  transform: translate;
}

.global-header-nav .sub-menu > li {width: 100%;}
.global-header-nav .sub-menu .fa { display: none; }

.global-header-nav .user-menu .sub-menu .border-top {
  border-top: 1px solid #4e4e4e;
  margin-top: 5px;
  padding-top: 5px;
}
.global-header-nav .user-menu .sub-menu .border-bottom {
  border-bottom: 1px solid #4e4e4e;
  margin-bottom: 5px;
  padding-bottom: 5px;
}

.global-header-nav .user-menu .sub-menu a {
  display: block;
  color: #ffffff;
  white-space: nowrap;
  float: none;
  padding: 0px 8px 0px 12px;
  line-height: 32px;
  text-transform: none;
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.global-header-nav .user-menu .sub-menu button {
  padding: 0px 8px 0px 12px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border: none;
  display: block;
}

.global-header-nav #js-tw-connected {cursor: default;}

.global-header-nav .user-menu .sub-menu.active {
  opacity: 1.00;
  visibility: visible;
  margin: 0;
}

.global-header-nav .user-menu .sub-menu .sub-menu-message {
  min-width: 146px;
  display: block;
  color: #ffffff;
  font-size: 75%;
  float: none;
  line-height: 1.5;
  padding: 8px 8px 8px 12px;
  border-top: 1px solid #4e4e4e;
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.global-header-nav .user-menu .sub-menu .sub-menu-message:hover {
  color: #ffffff;
  background-color: #707070;
}

.global-header-nav .user-menu .sub-menu .sub-menu-message::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background-color: #ffffff;
  vertical-align: middle;
  margin: 0 3px 0 -9px;
}

/* ~~~ badge  ----- */
.user-menu #personal .badge,
#cart-menu #cart_anchor .badge{
  z-index:14;
  position: absolute;
  top: -6px;
  left: 16px;
  color:#ffffff;
  line-height: 16px;
  border-radius: 18px;
  text-align: center;
  padding: 1px 4px;
  min-width: 11px;
  font-size:70%;
  border:solid 1px white;
  transition: all 0.1s ease-out;
  box-sizing: content-box;
  height: auto;
}

.user-menu #personal .badge {background-color:#fa2b45;}
#personal .badge:hover {filter: brightness(1.4);}

#cart-menu #cart_anchor .badge {background-color:#0e9af1;}

/* displays the badge on the right of the link */
.sub-menu .messages > a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}
.sub-menu .messages .badge {
  position: static !important;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
  background-color: #707070;
}

.global-header .mobile, .global-header-nav .mobile.mobile {
  display: none;
}
.global-header .mobile .fa {
  display: none;
}

/* ~~ On scroll down (compact) ----*/
.global-header-nav.scroll-down {
  position: fixed;
  top: 0;
  opacity: 0.96;
  z-index: 10; /* higher than the search bar (mobile) */
}

.global-header-nav .ototoy-logo.scroll-down {display: block;}

.global-header-nav.scroll-down .fa {padding-right: 0px;}

.nav-menu-group {
  flex-grow: 1;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.global-header-nav.scroll-down .nav-menu {margin-left: 0;}

.global-header-nav.scroll-down .nav-search-box {visibility: visible;}

.global-header-nav.scroll-down #cart-menu .desktop,
.global-header-nav.scroll-down #collections-menu .desktop {
  display: none;
}

.global-header-nav.scroll-down .user-menu #personal .fa-cog {
  position: relative;
  left: -4px;
  transition: 0.1s ease-in-out;
}

.global-header-nav.scroll-down .user-menu #personal .fa-caret-down {
  position: relative;
  right: -6px;
  transition: right 0.1s ease-in-out;
}

.global-header-nav.scroll-down #cart-menu .fa {
  position: relative;
  left: -12px;
  margin-left: 8px;
  transition: top, left 0.1s ease-in-out;
}

.global-header-nav.scroll-down  #personal > .badge,
.global-header-nav.scroll-down #cart-menu #cart_anchor .badge {
  transform: translate(-3px, 7px);
}

.global-header-nav:not(.scroll-down) .nav-menu .scroll-down .icon-all, .global-header-nav.scroll-down .nav-menu li:first-child {display: none;}


.global-header-nav.scroll-down .nav-menu li.scroll-down .genre-top-icon:after {
  content: "";
  display: block;
  width: 27px;
  height: 32px;
  background: url('/common/images/genre-icon-g.svg') center no-repeat;
  background-size: contain;
}
.global-header-nav.scroll-down .nav-menu li.scroll-down .icon-gh:after {
  background-image: url('/common/images/genre-icon-gh.svg'); }
.global-header-nav.scroll-down .nav-menu li.scroll-down .icon-gr:after {
  background-image: url('/common/images/genre-icon-gr.svg'); }
.global-header-nav.scroll-down .nav-menu li.scroll-down .icon-gp:after {
  background-image: url('/common/images/genre-icon-gp.svg'); }
.global-header-nav.scroll-down .nav-menu li.scroll-down .icon-gi:after {
  background-image: url('/common/images/genre-icon-gi.svg'); }
.global-header-nav.scroll-down .nav-menu li.scroll-down .icon-gagv:after {
  background-image: url('/common/images/genre-icon-gagv.svg'); }
.global-header-nav.scroll-down .nav-menu li.scroll-down .icon-ghr:after {
  background-image: url('/common/images/genre-icon-ghr.svg'); }
.global-header-nav.scroll-down .nav-menu li.scroll-down .icon-gde:after {
  background-image: url('/common/images/genre-icon-gde.svg'); }
.global-header-nav.scroll-down .nav-menu li.scroll-down .icon-gjw:after {
  background-image: url('/common/images/genre-icon-gjw.svg'); }
.global-header-nav.scroll-down .nav-menu li.scroll-down .icon-gcs:after {
  background-image: url('/common/images/genre-icon-gcs.svg'); }

/* ~~~ identity content */

/* ~ media queries ---------------------------------- */
@media screen and (max-width: 1120px) {
  .global-header-nav .nav-menu li.school {
    display: none;
  }
}

@media screen and (max-width: 1095px) {
  .global-header-nav #personal .desktop,
  .global-header-nav #cart-menu .desktop,
  .global-header-nav #collections-menu .desktop,
  .global-header-nav #help-menu .desktop {
    display: none;
  }
  /* Because hard to click menu */
  .user-menu #personal .badge { pointer-events: none; }

  .global-header-nav #personal a i::after {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background-color: #ffffff;
    vertical-align: top;
    margin: 0 0 0 0;
  }
}

@media screen and (max-width: 1000px) {
  .global-header-genre .genre-menu-open span { display: none; }
}

@media screen and (max-width: 1000px) {
  #tfbTab {display: none;}
}

@media screen and (max-width: 1040px) {
  .global-header-nav .nav-menu{
    display: block;
  }
  .global-header-nav.scroll-down .nav-menu {
    visibility:hidden;
    opacity: 0;
    position: absolute;
    margin-left: 0px;
    top: 30px;
    left: 0px;
    width: 160px;
    background: #707070;
    border: 1px solid #505050;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow:0px 1px 1px rgba(107,107,107,0.5);
    transition: opacity 0.1s ease;
  }
  .global-header-nav.scroll-down .nav-menu li:first-child {
    display: block;
  }
  .global-header-nav.scroll-down .nav-menu li.scroll-down .genre-top-icon:after {
    display: none;
  }
  .global-header-nav.scroll-down .nav-menu .nav-menu-caret {
    display: none;
  }
  .global-header-nav.scroll-down .nav-menu li {
    float: none;
    z-index: 12;
  }
  .global-header-nav.scroll-down .nav-menu {
    left: 105px !important;
  }
  .global-header-nav .nav-menu.active {
    visibility: visible;
    opacity: 0.96;
  }
}

@media screen and (max-width: 768px) {
  .global-header-nav .nav-menu-group {
    flex-grow: 0;
    flex-basis: 5.2rem;
    margin-right: auto;
    height: 100%;
  }
}

@media screen and (max-width: 768px) {
  .global-header,
  .global-header-nav {
    width: 100%;
    display: flex;
  }

  .global-header-nav #help-menu.desktop,
  #cart_anchor span:not(.badge) { display: none; }
}

#place-for-modal {
  display: none; /* becomes 'flex' when modal is activated */
}
@media screen and (max-width: 768px) {
  .global-header {
    z-index: 10;
    position: relative;
    top : 44px;
    height : 44px;
    background-color: #707070;
    padding: 0;
  }
  .global-header._christmas {
    background: repeat url('/common/images/seasonal_decolation/christmas/checked-pattern_777777.png');
  }
  .global-header._newyear {
    background: repeat url('/common/images/seasonal_decolation/newyear/nami-pattern_777777.png');
  }

  .header-nav-outer {
    margin-bottom: 0px;
  }

  /* ----- genre-menu ----- */
  .global-header-genre {
    display: none;
  }

  .global-header #lead-search-parent {
    top: 0;
    right: 0;
    max-width: 100%;
    justify-content: center;
  }

  .global-header .search-button {
    line-height: 22px;
    padding-left: 5px;
    transition: transform 0.15s 0.05s ease;
  }
  .search-button.left {
    transform: translateX(-100vw);
  }
  .global-header .nav-search-box {
    flex-grow: 1;
  }
  .global-header .lead-sentence {
    position: static;
    height: 44px;
    line-height: 44px;
    text-align: center;
    vertical-align: middle;
  }
  .global-header #search-box-parent {
    top: 0;
    right: 0;
    height: 32px;
    margin: 8px;
    max-width: unset;
  }
  .global-header .search-box {
    height: 30px;
    padding: 4px 4px 4px 16px;
    left: 0;
  }

  .global-header .search-box.submit {
  }

  .global-header .search-box.cancel {
    position:static;
    padding: 0 5px;
    flex: 1 0 auto;
    width: 3em;
    opacity: 1;
  }

  .global-header .ototoy-logo {display: none;}

  .global-header #passcode-menu {display: none;}

  .global-header-nav .user-menu a {
    padding: 0px 3px;
  }

  .global-header-nav {
    position: fixed;
    height: 44px;
    top: 0;
    background-image: none;
    background-color: #4e4e4e;
    opacity: 0.96;
    display: flex;
    justify-content: space-between;
    align-self: center;
    z-index: 10;
  }
  .global-header-nav._christmas {
    background: repeat url('/common/images/seasonal_decolation/christmas/checked-pattern_4e4e4e.png');
  }
  .global-header-nav._newyear {
    background: repeat url('/common/images/seasonal_decolation/newyear/ume-pattern_4e4e4e.png');
  }

  .global-header-nav .nav-menu-open {
    display: block;
    margin-left: 0;
  }

  .global-header-nav .mobile {display: block;}

  .global-header-nav .fa,
  .global-header-nav .nav-menu-open .fa {font-size: 28px; line-height: 44px;}

  .global-header-nav .nav-menu-open a:hover,
  .global-header-nav li:hover,
  .global-header-nav .user-menu .sub-menu li:hover{
    background-color: transparent;
  }
  .global-header-nav li:hover > a {
    text-shadow: none;
  }

  .global-header-nav .user-menu {
    margin-left: auto;
    margin-right: 0;
    order: 3;
    padding-right: 0;
    flex-basis: 5.2rem;
  }

  .user-menu #personal .badge,
  #cart-menu #cart_anchor .badge {
    position: absolute;
    top: 2px;
    left: 18px;
  }

  #personal button i.fa.fa-user-o {
    display: inline-flex;
  }
  #personal button i::after {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background-color: #ffffff;
    vertical-align: top;
    margin: 10px 0 0 0;
  }
  #personal.show-guest-caution button i::after {
    content: "";
  }

  .sub-menu .sub-menu-message::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background-color: #ffffff;
    vertical-align: middle;
    margin: 0 4px 0 0;
  }
  .global-header-nav #collections-menu {
    display: none;
  }

  .global-header-nav .ototoy-logo {
    display: flex;
    order: 2;
    margin: auto;
    width: auto;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 9rem;
    justify-content: center;
    align-items: center;
  }

  .global-header-nav .ototoy-logo a {
    height: 44px;
  }

  .global-header-nav .ototoy-logo a .ototoy-logo-svg {
    width: 100%;
    height: 44px;
  }
  .ototoy-logo img {
    width: 100%;
    height: 44px;
    object-fit: contain;
  }

  .global-header-nav .nav-menu { display: none; }
  .global-header-nav .sub-menu { display: none; }
  .global-header-nav .sub-menu .desktop { display: none; }

  .global-header-nav .nav-menu-open,
  .global-header-nav #personal,
  .global-header-genre .genre-icon {
    cursor: pointer;
  }

  .top-buttons > .col3 {display:none;}
  .top-buttons > .passcode-input{display: block;}

  /* ~~ full screen modal menu */
  #place-for-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #FFFFFF;
    border: none;
    border-radius: 0px;
    box-shadow: none;
    /* #1e6506, #1ca80a, #103b02, #0b2402, #051101 */
    background: radial-gradient(#103b02, #051101);
    opacity: 0.96;
    z-index: 10;
    justify-content: center;
    align-items: center;
    overflow: visible;/* show the ::after */
  }
  #place-for-modal.hidden-right {
    transform: translateX(100vw);
    display:flex;
  }
  #place-for-modal.hidden-left {
    transform: translateX(-100%);
    display:flex;
    padding-top: 3em;
  }
  #place-for-modal.modal-open { transform: translateX(0); }
  #place-for-modal.transition-set { transition: transform 0.3s ease-out; }

  #place-for-modal .modal-at-mobile {
    width: fit-content;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    height: fit-content;
    height: -webkit-fit-content;
    height: -moz-fit-content;
  }
  #place-for-modal a, #place-for-modal button {
    color: #FFFFFF;
    font-size: 18px;
    /* font-size: 1.125rem; */
    line-height: 40px;
    display: block;
    text-align: left;
    text-decoration: none;
    margin: 2px 0;
    padding: 0 22px;
    border-radius: 22px;
  }
  #place-for-modal button {
    border: none;
    width: 100%;
    border-radius: 0;
  }

  #place-for-modal .badge {
    padding: 5px 12px;
    line-height: initial;
    font-size: initial;
  }
  #place-for-modal ul a:focus, #place-for-modal ul a:active {
    background-color: rgba(44,186,1,0.5);
  }
  #place-for-modal > .modal-at-mobile {
    display: block;
    position: absolute;
    padding: 0 0 16px 0;
    max-height: calc(100% - 4em);
    opacity: 0;
    overflow-y: auto;
    margin: auto;
    -webkit-tap-highlight-color: rgba(44,186,1,0.5);/* iOS only */
  }

  #place-for-modal > .switches {
    position: absolute;
    top: 5vh;
    width:auto;
    text-align:center;
    color: #FFFFFF;
    font-size: 1.2rem;
    line-height: 2em;
    padding: 0 3em;
    border-radius: 2px;
    z-index: 3;
  }
  .switches [name="menu-radio"] {
    visibility: hidden;
    position: absolute;
    z-index: -1;
  }
  #place-for-modal label.switch-button {
    padding: 0 1em;
    text-decoration: none;
    border: 1px solid gray;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    outline-color: #2ab002;
    background: transparent;
    overflow: hidden;
    position: relative;
  }
  #place-for-modal .switch-button ~ .switch-button {
    border-left: none;
    border-radius: unset;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
  }
  #place-for-modal .switch-button::after {
    /*Colored moving background*/
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    content: ' ';
    z-index: -1;
    background-color: rgba(44, 186, 1, 0.7);
    transform: translateX(100%);
    transition-property: all;
    transition-duration: 0.15s;
    transition-timing-function: ease-out;
  }
  #place-for-modal .switch-button ~ .switch-button::after {
    transform: translateX(-100%);
  }
  #place-for-modal [name="menu-radio"]:checked + .switch-button::after {
    transform: translateX(0%);
  }

  #place-for-modal > .modal-at-mobile.active-animation {
    position: relative;
    animation-fill-mode:forwards;
    animation-name: slide-from-bottom;
    animation-duration: 0.15s;
    animation-timing-function: ease-out;
    animation-delay: 0.2s;
 }
  #place-for-modal > .modal-at-mobile.active {
    position: relative;
    opacity:1;
    z-index: 1;
    transition: all 0.15s ease-out;
  }
  #place-for-modal > .modal-at-mobile.active.switch-out {
    opacity:0;
    transform: translateX(100%);
    position: absolute;
  }
  #place-for-modal li {
    list-style: none;
    position: relative;/* for the next rule */
  }

  #submenu-user-name {
    font-weight: 400;
    font-size: 20px;
  }
  #place-for-modal #submenu-user-name .fa {
    position: relative;
    display: inline;
    left: auto;
    margin-left: -1em;
    bottom: 1px;
    line-height: inherit;
  }

  #place-for-modal .modal-at-mobile .fa {
    display: block;
    position: absolute;
    line-height: 40px;
    left: 2px;
    font-size: 18px;
  }

  #place-for-modal .close-modal {
    margin: 0;
    padding: 8px 14px 14px 0px;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
  }
  #place-for-modal .close-modal.to-right {
    left:unset;
    right:0;
  }

  #place-for-modal .close-modal .fa {
    font-size: 28px;
    padding: 0 12px;
  }
  /* ~~ nav menu modal / personal sub menu modal */
  #place-for-modal .nav-menu li.border-top,
  #place-for-modal .sub-menu .border-top {
    border-top: solid 0.5px #e2e2e2;
    margin-top: 10px;
    padding-top: 9px;
  }
  #place-for-modal .nav-menu li.border-bottom,
  #place-for-modal .sub-menu .border-bottom {
    border-bottom: solid 0.5px #e2e2e2;
    margin-bottom: 10px;
    padding-bottom: 9px;
  }
  /* ~~ genre menu modal */
  #place-for-modal .genre-menu li.active a {
    background-color:#2ab002;
  }
  #place-for-modal .genre-menu img.genre-icon {
    width: 34px;
    height: 24px;
    vertical-align: middle;
    padding: 0 8px 0 0;
    color: #ffffff;
  }
  .global-header .desktop,
  .global-header-nav .desktop,
  #place-for-modal .desktop {
    display: none;
  }

  #place-for-modal .sub-menu .sub-menu-message {
    margin: 24px 0 12px 0;
    display: inline-block;
    font-size: 16px;
  }
  #place-for-modal::after {/* show a background on viewport vertical resize/scroll */
    content: '';
    position: fixed;
    bottom: -6em;
    display: block;
    flex: none;
    width: 100%;
    height: 6em;
    background: #042100;
  }
}
@media screen and (max-width: 375px) {
  .header-nav-outer,
  .global-header,
  .global-header-nav {
    min-width: 100%;
    display: flex;
  }
}


/* ~ animations */
@keyframes slide-from-bottom {
  from {
    transform: translateY(10px);
    opacity:0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ~ notification ---- */
.header-notification {
  width: 100%;
  position: absolute;
  top: 86px;
  padding: 0;
  margin: 0;
  z-index: 5;
  line-height: 1;
  max-height: 32px;
  overflow: hidden;
}
.header-notification.scroll-down {
  position: fixed;
  top: 32px;
  opacity: 0.96;
}

.ototoy-notification {
  height: 32px;
  width: 100%;
  padding: 8px 0 0;
  margin: 0 auto 4px;
  text-align: center;
  z-index: 8;
  display: none;
}
.ototoy-notification.default {
  background: #8de28d;
  color: #303030;
}

.ototoy-notification.default a {
  color: #303030;
  text-decoration: underline;
}

@media screen and (max-width: 640px) {
  .header-notification {
    max-height: 64px;
  }
  .ototoy-notification {
    padding: 8px 18px 4px;
    height: auto;
    box-sizing: border-box;
  }
  .header-notification.scroll-down {
    top: 44px;
  }
}

/**
 ** ~ customize jQuery UI tooltips
 **/
[has-tooltip]::after {
  content: attr(aria-label);
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: -25px;
  width: auto;
  width: max-content;
  padding: 8px;
  font-size: initial;
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: hsla(0, 0%, 30%, 0.8);
  border: 1px solid hsla(0, 0%, 100%, 0.7);
  border-radius: 2px;
  z-index: 10;
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

[has-tooltip]:hover::after,
[has-tooltip]:focus::after {
  opacity: 1;
  pointer-events: initial;
}

@media (any-hover: none) {
  [has-tooltip]:hover::after,
  [has-tooltip]:focus::after {
    content: none; /* disable on touchscreen */
  }
}
