@font-face {
  font-family: Roboto-Light;
  src: url(../fonts/Roboto-Light.ttf);
}
@font-face {
  font-family: Lato-Regular;
  src: url(../fonts/Lato-Regular.ttf);
}
@font-face {
  font-family: KleeOne-SemiBold;
  src: url(../fonts/KleeOne-SemiBold.ttf);
}
@font-face {
  font-family: NotoSansJP-Regular;
  src: url(../fonts/NotoSansJP-Light.ttf);
}

.nav__groups {
  display: flex;
  justify-content: right;
  margin-right: 10px;
  z-index: 3;
}

.nav__group > a {
  display: block;
  font: var(--fnt,var(--font_1));
  font-size: 18px !important;
  /*font-family: "Inter UI","SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;*/
  color: white;
  transition: 0s;
  padding: 0.38rem 1rem;
  background-color: #1a2432;
  border-radius: 12px;
  border: #4b4b4b 1px outset;
}
.nav__group:hover > a {
  color: #194e9b;
  background-color: white;
  transition: 0.4s;
  border-radius: 12px;

}
.nav__group a:hover + .nav__group__dropdown, .nav__group .nav__group__dropdown:hover, .nav__group li:hover > .nav__group__dropdown {
  opacity: 1;
  visibility: visible;
  transition: .4s, transform .4s ease;
  -moz-transition: .4s, transform .4s ease;
  -webkit-transition: .4s, transform .4s ease;

}
.nav__group__dropdown {
  position: absolute;
  /* outline: 1px #6f7c90 solid; */
  border-bottom: 3px #194e9b solid;
  border-right: 1px #416dab solid;
  border-left: 1px #416dab solid;
  border-bottom-style: double;
  visibility: hidden;
  display: block;
  opacity: 0;
  min-width: 245px;
  padding: 1.5rem 0;
  background-color: #fff;
  transition: .0s, transform .0s ease;
  -moz-transition: .0s, transform .0s ease;
  -webkit-transition: .0s, transform .0s ease;
  text-align: left;
  margin: 0;
  margin-left: -1px;
  margin-top: 1px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  border-top-right-radius: 12px;
  border-top-left-radius: 12px;
}
.product-list {
  flex: 1;
  min-width: 15rem;
  border-right: 1px solid lightgray;
}
.product-list__link {
  transition: background-color 0.35s;
}
.product-list__link span {
margin: 4px 20px;
}
.product-list__link:hover {
  background-color: #416dab;
  color:white;
}
.product-list a {
  transition: 0.2s ease;
  position: relative;
  z-index: 2;
  color: #194e9b;
  font: var(--fnt,var(--font_1));
  letter-spacing: -1px;
  font-size: 20px;
}

.card,.heading,#cards-cat-sidebar {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.card {
  outline: none;
  box-shadow: 0 2px 1px rgba(0,0,0,0.08);
  box-sizing: border-box;
  margin: 4px 2px;/*margin: 1px;*/
  border: 1px solid grey;
  border-radius: 4px;
  color: white;
}

.card .content {
  white-space: pre-line;
  font-size: 19px;
  font-family: Roboto-Light,NotoSansJP-Regular,'Times New Roman',serif;
  transition: transform 0.5s;
  transform-style: preserve-3d;
/*   font: var(--fnt,var(--font_1));
  font-stretch: semi-condensed; */
  max-height: 428px;
}

.modal .content {
  padding: 0 7px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  /*   font: var(--fnt,var(--font_1)); */
  font-family: Roboto-Light,NotoSansJP-Regular;
  font-size: 20px;
}

.heading {
  color: rgb(255 255 255 / 91%);
  background-color: #e9f5ff47;
  text-shadow: 0 0 4px black;
}
.modal .heading{
  font-size: 16px;
}
.modal .heading span {
  cursor: default;
}

.card .heading {
  font-size: 15px;
  padding: 8px 15px 8px 15px;
  display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.meta-icons {
  float: right;
}

.modal .meta-icons {
  float: right;
    display: flex;
    flex-direction: row;
}

.active {
  mix-blend-mode: hard-light;
    outline: 2px white solid !important;
}

.card-title {
  text-align: center;
  border-bottom: 2px double rgb(179 179 179);
  /* font-size: 21px; */
  background: #00000036;
  padding-top: 4px;
  padding-bottom: 2px;
  margin-bottom: 4px;
}
.meta-icons > span {
  margin-left: 4px;
  margin-right: 4px;
  display: inline-block;
}
.modal .meta-icons > * {
  margin-left: 8px;
  margin-right: 8px;
  display: inline-block;
}
.meta-tag > * {
  margin-left: 6px;
  margin-right: 6px;
}
.card .meta-icons span {
  
  background-size: 18px 18px;
  background-repeat: no-repeat;
  background-position: center;
}

.difficulty {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  margin: auto 0;
}

#card-board {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  cursor: default;
  width:calc(100% - 115px);
  justify-content: center;
  margin: 0 auto;
}

.card-column {
  max-width: 350px;
  min-width: 350px;
  flex-grow: 1;
}

.embedded-attach {
  max-width: 100%;
  max-height: 400px;
}

.blurred {
  filter: blur(3px);
}

.bitton{
  background: linear-gradient(313deg, #2c85002b, #25ae7c);
  border-radius: 8px;
  border: 1px outset rgb(138 138 138);
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  flex-shrink: 0;
  font-family: "Inter UI","SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;
  font-size: 18px;
  font-weight: 500;
  height: 2.9rem;
  padding: 0px 1.4rem;
  text-align: center;
/*   text-shadow: rgb(0 0 0 / 25%) 0 3px 8px; */
  text-shadow: 0 0 4px black;
  transition: all 1.4s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.bitton:hover {
  filter: hue-rotate(45deg);
  transition-duration: 0.4s;
}

input[type=file] {
  width: 100%;
  font-family: system-ui;
  resize: vertical;
}
input[type=range]{
  pointer-events:initial;
  /*width: 129px;*/
}

.cards-control-bar {

  left: 60px;
  top: -100px;
  font-size: 16px;
  color: rgb(255 255 255 / 91%);
}
.cards-login-bar {
  margin-bottom: 6px;
  align-items: flex-end;
  right: 62px;
  top: -62px;
  font-size: 16px;
  color: rgb(255 255 255 / 91%);
  display: flex;
  justify-content: flex-end;
  /*width: 400px;*/
  font: var(--fnt,var(--font_1));
  font-size: 23px;
}

#userDetails {
  padding-left: 8px;
  padding-right: 8px;
}

.front, .back {
  padding: 13px 15px 14px 15px;
backface-visibility: hidden;
overflow-wrap: break-word;
max-height: 400px;
overflow: hidden;

  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.back {
  transform: rotateY(180deg);
  background-color:#86c8ff47;
  position: absolute;
  top: 0;
  width: calc(100% - 30px);
/*   width: -webkit-fill-available;
  height: -webkit-fill-available; */

    
/*     width: 100%;
    height: 100%; */
}
.front {
  background-color: #e9f5ff14;

/*   width: 100%;
  position: relative;
  left: 0;
  top: 0;
  height: 100%; */
}
.content.flip {
  transform: rotateY(180deg);
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 150; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  font: var(--fnt,var(--font_1));
  font-size: 20px;
}

.modal-content {
  /* background-color: rgb(31 38 47); */
  background-color: rgb(21 26 29);
  margin: auto;
  border: 2px solid #bbb;
  width: 85%;
  height: 81.8%;
  border-radius: 10px;
  border-style: groove;
  color: white;
  display: flex;
  /* overflow: hidden; */
  flex-direction: column;
}

.modal-close {
  color: white;
  float: right;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  margin-right: 18px;
  margin-left: 18px;
}

.fade-in {
  opacity: 1;
  animation-name: fadeIn;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 0.15s;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fade-out {
  opacity: 0;
  animation-name: fadeOut;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 0.15s;
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}

.resizer {
  height: 5px;
  cursor: ns-resize;
  background: #80808033;
}

#modal-edit-card-front {
  margin-top: 3px;
  max-height: 40rem;
}
#modal-edit-card-back {
  height: -webkit-fill-available;
  margin-bottom: 4px;
}

#modal-edit-card-front,#modal-edit-card-back {
  display: flex;
  flex: 1;
}
#modal-edit-card-front,#modal-edit-card-back,#modal-edit-card-title {
  border: solid 1px grey;
  border-radius: 10px;
  background-color: rgb(31 38 47);
  color: white;
  vertical-align: top;
  resize: none;
}

#modal-edit-card-title{
  margin-top: 5px;
}

.content input[type=text], .modal textarea {
  padding: 9px 10px;
  margin: 0;
  /* font: var(--fnt,var(--font_1)); */
  font-family: Roboto-Light,NotoSansJP-Regular;
  font-size: 20px;
  background-color: rgb(31 38 47);
  color: white;
  vertical-align: top;
  resize: none;
  border-radius: 10px;
  border: 0;
  /*width: calc(100% - 163px);*/
  width: -webkit-fill-available;
}

.optional-icon {
  font-size: 30px;
  margin: 8px 9px 0 10px; /*14px ..*/
}
/* 
input[type=range]{
  pointer-events: initial;
} */
.fa-Chinese:before {
  content:"气"
}
.fa-Japanese:before {
  content:"あ"
}


#modal-edit-card-date {
  text-align: left;
  margin-left: 18px;
}
#modal-edit-card-tags {
  text-align: center;
  padding-right: 0;
  margin-right: 0;
}

.priocheck {
  display: grid;
  border-top: solid 1px rgb(77, 77, 77);
  grid-template-columns: 1fr 1fr 1fr;
  color: white;
  margin-left: -6px;
  margin-right: -6px;
  font-family: cursive;
  height: 54px;
}
.priocheck *, .priocheck-mini * {
  text-shadow: 0px 0 3px black;
  text-align: center;
  cursor: pointer;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.priocheck .check1 {
  background-color: rgb(164, 55, 55);
  font-size: 37px;
  border-bottom-left-radius: 8px;
}
.priocheck .check2 {
  background-color: rgb(200, 205, 50);
  font-size: 36px;
}
.priocheck .check3 {
  background-color: rgb(30, 150, 24);
  font-size: 48px;
  border-bottom-right-radius: 8px;
}

.priocheck-mini {
  display: grid;
  border-top: solid 1px rgb(77, 77, 77);
  grid-template-columns: 1fr 1fr 1fr;
  flex-grow: 1;
  color: white;
  position: absolute;
  width: 100%;
}

.priocheck-mini .check1 {
  background-color: rgb(164, 55, 55);
  font-size: 26px;
  border-bottom-right-radius: 8px;
}
.priocheck-mini .check2 {
  background-color: rgb(200, 205, 50);
  font-size: 17px;
  line-height: 0;
}
.priocheck-mini .check3 {
  background-color: rgb(30, 150, 24);
  font-size: 20px;
  border-bottom-left-radius: 8px;
  line-height: 0;
}

.pr {
  text-shadow: 0 0 10px rgb(26 255 0);
}
.so {
  text-shadow: 0 0 10px rgb(255, 0, 221);
}
.so img {
  box-shadow: 0 0 10px rgb(255, 0, 221);
}

.card .content img {
  margin-top: 6px;
}

.cooldown-tracker {
  display: none;
  align-items: center;
  justify-content: center;
  /* flex-grow: 1; */
  height: 54px;
}
.cooldown-tracker[style*='display: block']{
  display: flex !important;
}

#cards-cat-sidebar {
  top: 16px;
  display: grid;
  grid-template-columns: 9fr 1fr;
  position: absolute;
  left:-254px;
  width: 292px;
  background-color: rgb(21 29 40 / 97%);
  border: solid 1px rgba(119, 119, 119, 0.342);
  border-left:0;
  color:white;
  height: calc(100dvh - 235px);
  transition: left 0.5s;
  font: var(--fnt,var(--font_1));
  font-size: 19px;
  z-index: 5;
}

.fios-footer {
  height: 10px;
  visibility: hidden;
  margin-top: 30px;
}

#cards-cat-sidebar.slide-right {
  left:0% !important;
}
#cards-cat-sidebar.slide-left {
  left:-254px !important;
}
#cards-cat-sidebar-list{
  position: relative;
}
.cards-cat-sidebar-list-cat{
  cursor:pointer;
  padding: 10px;
  border-bottom: 1px #4e5f7029 solid;
}
.cards-cat-sidebar-list-cat:first-child{
  text-align: center;
  border-bottom: 1px #1e90ff29 solid;
  padding: 0 !important;
}

#cards-cat-sidebar-expand {
  display: flex;
  align-items: center;
  justify-content: center;
  /*   background: rgba(82, 82, 82, 0.2); */
  background: linear-gradient(90deg, rgb(23 33 46 / 44%), rgb(141 141 141 / 20%));
  color: white;
  width: 38px;
  cursor: default;
  font-size: 22px;
  font-family: monospace;
}


.btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.btn.btn-primary {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
  height: 2.8rem;
  margin-top: -4px;
  border: 1px outset rgb(138 138 138);
}
.btn-primary:hover {
  color: #fff;
  background-color: #0b5ed7;
}
.btn-check:active+.btn-primary, .btn-check:checked+.btn-primary, .btn-primary.active, .btn-primary:active, .show>.btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #0a58ca;
  border-color: #0a53be;
}
button:focus:not(:focus-visible) {
  outline: 0;
}

.btn-check:focus+.btn-primary, .btn-primary:focus {
  color: #fff;
  background-color: #0b5ed7;
  border-color: #0a58ca;
  box-shadow: 0 0 0 0.25rem rgba(49,132,253,.5);
}
.btn-check:focus+.btn, .btn:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}

.cards-cat-sidebar-list-text {
  position: absolute;
  top: 32vh;
  filter: none;
  padding: 0 0 0 8px;
  pointer-events: none;
}

.bitton[disabled] {
  filter: brightness(0.5) grayscale(1);
}

.selected, .split-cat>div:active {
  background: linear-gradient(0deg,rgb(64 87 131 / 41%),transparent);/*linear-gradient(0deg,rgb(0 0 0 / 41%));*/ 
}

.split-cat>div {
  padding: 10px;
  flex-grow: 1;
}

/* @media (max-width: 1600px)
{
.minihead-navi .nav__groups {
  display: none;
}
} */

.meta-tags {
  
  border-radius: 4px;
  align-self: center;
  /*padding: 0 6px;*/
  height: 134%;
  height: 30px;
  font-family: sans-serif;
}
.meta-tags .tag-icon {
  margin-left: 0;
}
.meta-tags .fa-trash {
  margin-right: 0;
}
#modal-edit-card-tags-new {
  background: #6f8396;
  padding: 0 10px;
  font-weight: bold;
  margin-left: 0;
  align-self: center;
  height: 30px;
  border: solid 1px #2d37409e;
  border-radius: 8px;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  position: relative;
}
/* .meta-tags-small {
  padding: 0 4px;
} */

.meta-tag input, .meta-tag select, #tag-select-list {
  height: 30px;
  width: calc(100% - 12px);
  position: absolute;
  background: #2d3236;/* #192e26;*/
  color: white;
  border: 0;
  font-size: unset;
  font-family: unset;
  left: 0;
  margin-left: 6px;
}
.modal .meta-tag {
  height: 100%;
  padding: 0 10px;
  height: 100%;
  background: #8aaac77a;
  border: solid 1px #2d37409e;
  margin: -1px 0 0 0;
  position: relative;
  display: inline-block;
}

.hartree-icons {
  display: none;
}

.attach-trays {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  margin: 4px 0 5px 2px;
  width: 280px;
}

.attach-tray {
  position: absolute;
  width: 100%;
  /* height: 100%; */
  /* min-width: 270px; */
  right: 0;
  z-index: -4;
}
.attach-trays div:first-child {
  border-top-right-radius: 10px;
}
.attach-trays div:last-child {
  border-bottom-right-radius: 10px;
}
.modal-edit-attach-tray-zone {
  position: relative;
}


.content-main {
  display: flex;
  flex-grow: 1;
}

.main-left, .main-right {
  display: flex;
  flex-direction: column;
}
.main-left {
  flex-grow: 1;
}

.drop-area {
  border: 2px dashed #ccc;
  border-left: 2px dashed #b3b3b380;
  background-color: #93939352;
  display: flex;
  align-items: center;
  overflow: hidden;
  user-select: none;
  position: relative;
  mix-blend-mode: exclusion;
}
.drop-area.highlight {
  border-color: purple;
}
.drop-area button {
  filter: grayscale();
    height: 2.4rem;
} 
.drop-area-form {
  text-align: center;
  text-shadow: 0 0 4px black;
  background: linear-gradient(90deg, #00000066, black, #00000066);
}
/* .drop-area:last-child {
  height: calc(100% - 3px);
} */

.shrunk {
  width: calc(100% - 163px) !important;
}

.card .content a {
  color: #56c2e4;
}

.colorless-modal-heading {
  height: 40px;
  padding: 8px;
  padding-top: 12px;
  text-align: center;
  user-select: none;
  border-bottom: #8080803d 1px solid;
  margin-bottom: 20px;
}

.colorless-modal-content {
  background-color: rgb(4 6 7 / 95%);
  margin: auto;
  width: 85%;
  height: 81.8%;
  color: white;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 4px 22px rgb(0 0 0 / 99%);

}
.modal .colorless-modal-content .content {
  padding: 0 20px;
}
.colorless-modal-content b {
  display:contents;
}
.colorless-modal-content .content {
  white-space: pre-wrap;
  overflow: auto;
  overflow-x: hidden;
}

.stream-column {
  max-width: revert;
}
.stream-card {
  /* max-height: calc(100vh - 328px); */
  height: calc(100dvh - 325px);
}
.stream-card .content {
  max-height: revert;
  height: calc(100dvh - 383px);
  font-size: 40px;
}
.stream-card .content .back, .stream-card .content .front {
  width: calc(100% - 30px);
  max-height: revert;
  height: -webkit-fill-available;
}

.card-search-text {
  font-size: 20px;
}

input[type=color]{
  width: 32px;
    height: 33px;
}

.cards-filter-bar {
  display: flex;
  text-align: center;
  justify-content: center;
  color: rgb(255 255 255 / 91%);
  font: var(--fnt,var(--font_1));
  font-size: 19px;
  position: relative;
}

.priocheck-mini {
  font-weight: bold;
  text-shadow: 0px 0px 4px black;
}

fieldset { /* .cards-filter-bar legend */
  margin: 0 4px;
  padding: 2px 10px 8px 10px;
  border: 1px solid #76767633;
  display: inline;
  font: var(--fnt,var(--font_1));
  font-size: 19px;
}
.fios-topbar-wrapper {
  user-select: none;
  top: -103px;
  margin-left: 60px;
  margin-right: 60px;
  min-width: -webkit-fill-available;

  color: rgb(255 255 255 / 91%);
  border-bottom: solid 1px grey;
  padding-bottom: 14px;
}
.fios-topbar {
  display: flex;
  justify-content: space-between;
}

legend { /* .cards-filter-bar legend */
  padding: 0 2px;
}

.fios-titlebar {
  font-size: 72px;
  top: -160px;
  right: 0;
  margin-right: 60px;
  position: absolute;
  font-family: auto;
  font-family: Roboto-Light,NotoSansJP-Regular,'Times New Roman',serif;
  font-weight: 800;
  text-align: right;
}
.fios-subtitle {
  font-size: 16px;
  color: #95a5b5;
  padding-right: 3px;
}

.cards-login-top-bar {
  position: absolute;
  top: -22px;
}

.coll-status {
  color: #d4dce2;
  font-size: 18px;
  padding-right:6px;
  width: 100px;
  display: inline-block;
}

.see-cooldown-cards-btn {
  padding: 0 8px;
  height: 2rem;
}

.hidden {
  display: none;
}

.card-search-text,.cards-filter-bar select {
  height: 40px;
  border-width: 2px;
  text-overflow: ellipsis;
  font: var(--fnt, var(--font_8));
  padding-top: 5px;
  background: #1d2a3b;
  color: white;
  border-style: groove;
}
.cards-filter-bar select option {
  margin: 40px;
  background:#1d2a3b;
}

.coll-title {
  padding: 3px 15px;
  padding-left: 6px;
    margin-right: 10px;
    font: var(--fnt,var(--font_1));
    font-size: 20px;
    border-right: 1px solid grey;
}

.to-my-coll {
  line-height: revert;
}

[data-mesh-id=comp-jtcr7ygh1inlineContent-gridContainer]{
  margin: 214px 0 0 0;
}

.filter-search-clear-btn {
  position: absolute;
  margin-left: 180px;
  margin-top: 2px;
  display: none;
}

.mob-coll-btn {
  display: none;
}

.coll-fset.mobile {
  bottom: 0;
  position:absolute;
}

.mobile-hartree-menu-btn, .mobile-fios-menu-btn {
  display:none;
  line-height: 3.8rem;
  height: revert;
}

.mobile-hartree-menu-btn:focus, .mobile-fios-menu-btn:focus {
  transition-duration: 0.4s;
}

.mobile-hartree-menu-btn{
  z-index: 2;
  padding: 0px 0.6rem;
  background: linear-gradient(313deg, #0000001f, #02020200);
}
.mobile-fios-menu-btn{
  pointer-events: all;
  z-index: 4;
  padding: 0px 1rem;
  width: 40vw;
  background: linear-gradient(313deg, #0000001c, #02020200);
  color: transparent;
  text-shadow: none;  
}
#nav {
  position: absolute;
  top: 0px;
  right: 0px;
  pointer-events: none;
  display:none;
}
#nav.nav--open {
  pointer-events: all;
}

.mobile-fios-menu-btn {
  z-index:4;
  pointer-events: all;
}
.fios-titlebar {
  z-index: 1;
}

.pc-text {
  display: inline;
}

.mobile {
  display:none;
}

.cards-filter-bar .mobile {
  display: none;
}
.cards-filter-bar .mobile>span {
  display: flex;
  justify-content: space-between;
  padding: 7px 18px;
  border: 1px solid grey;
  border-radius: 4px;
}
.cards-filter-bar .mobile>span:nth-child(1) {
  margin-top: 10px;
}

/* input[type=search]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  color:white;
  } */


  :root {
    --screen-width: 320px;
    --screen-height: 560px;
    --header-bg-color: #673AB7;
    --splash-bg-color: #368887;
  }
  
  .nav__toggle {
    position: absolute;
    top: -70px;
    right: 7px;
    transition: background-color 0.15s linear;
  }

  .darkened {
    background-color: rgba(0, 0, 0, 0.5);
  }

  .nav__menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: var(--screen-height);
    position: relative;
    z-index: 5;
    visibility: hidden;
    width: 100vw;
    height: calc(100dvh - 120px);
  }
  .nav__item {
    opacity: 0;
    transition: all 0.3s cubic-bezier(0, 0.995, 0.99, 1) 0.3s;
  }
  .nav__item:nth-child(1) {
    transform: translateY(-40px);
  }
  .nav__item:nth-child(2) {
    transform: translateY(-80px);
  }
  .nav__item:nth-child(3) {
    transform: translateY(-120px);
  }
  .nav__item:nth-child(4) {
    transform: translateY(-160px);
  }
  .nav__item:nth-child(5) {
    transform: translateY(-200px);
  }
  .nav__item:nth-child(6) {
    transform: translateY(-240px);
  }
  .nav__link {
    color: white;
    display: block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.25rem;
    text-decoration: none;
    padding: 1rem;
    font-family: 'Avenir-LT-W05_35-Light';
  }
  .nav__link:hover, .nav__link:focus {
    outline: 0;
    background-color: rgba(0, 0, 0, 0.2);
  }
  .nav-hr {
      padding: 0;
      margin: 28px 46px;
  }
  .nav__menu {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.25rem;
    text-decoration: none;
    font-family: 'Avenir-LT-W05_35-Light';
  }
  
  .menuicon {
    display: block;
    cursor: pointer;
    color: white;
    transform: rotate(0deg);
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  .menuicon__bar, .menuicon__circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
  }
  .menuicon__bar {
    transform: rotate(0deg);
    transform-origin: 50% 50%;
    transition: transform 0.25s ease-in-out;
  }
  .menuicon__circle {
    transition: stroke-dashoffset 0.3s linear 0.1s;
    stroke-dashoffset: 144.513262038;
    stroke-dasharray: 144.513262038;
  }
  
  .splash {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 1px;
    height: 1px;
    z-index: 3;
  }
  .splash::after {
    content: "";
    display: block;
    position: absolute;
    border-radius: 50%;
    background-color: #274b3e;
    width: 284vmax;
    height: 284vmax;
    top: -142vmax;
    left: -142vmax;
    transform: scale(0);
    transform-origin: 50% 50%;
    transition: transform 0.5s cubic-bezier(0.755, 0.05, 0.855, 0.06);
    will-change: transform;
  }
  
  .nav:target > .splash::after,
  .nav--open > .splash::after {
    transform: scale(1);
  }
  .nav:target .menuicon,
  .nav--open .menuicon {
    color: white;
    transform: rotate(180deg);
  }
  .nav:target .menuicon__circle,
  .nav--open .menuicon__circle {
    stroke-dashoffset: 0;
  }
  .nav:target .menuicon__bar:nth-child(1), .nav:target .menuicon__bar:nth-child(4),
  .nav--open .menuicon__bar:nth-child(1),
  .nav--open .menuicon__bar:nth-child(4) {
    opacity: 0;
  }
  .nav:target .menuicon__bar:nth-child(2),
  .nav--open .menuicon__bar:nth-child(2) {
    transform: rotate(45deg);
  }
  .nav:target .menuicon__bar:nth-child(3),
  .nav--open .menuicon__bar:nth-child(3) {
    transform: rotate(-45deg);
  }
  .nav:target .nav__menu,
  .nav--open .nav__menu {
    visibility: visible;
  }
  .nav:target .nav__item,
  .nav--open .nav__item {
    opacity: 1;
    transform: translateY(0);
  }

  
@media screen and (max-width: 1540px) {
  .minihead-navi .nav__groups {
    display: block;
    position: absolute;
    top: 87px;
    width: 245px;
    background: #274b3e;
    border: 2px groove grey;
    padding: 9px 12px;
    border-left: 0;
    transition: left 0.3s;
    left:-290px;
  }
  .minihead-navi .nav__groups.slide-left {
    left: -290px !important;
  }
  .minihead-navi .nav__groups.slide-right {
    left: 0 !important;
  }
  .mobile-hartree-menu-btn {
    display:inline-block;
    border: 1px outset #616060;
  }
}

@media screen and (max-width: 1400px) {
  .minihead-navi .j7pOnl img {
    width: 160px;
    object-fit: contain;
    object-position: unset;
  }
  .minihead-navi .comp-jtuqimwi h4 {
    font-size:8vw;
  }
  .minihead-navi .MazNVa {
    padding: 0 1vw;
  }

  #header-expand-btn {
    display: none;
  }
}

@media screen and (max-width: 815px) {
  .comp-jtuqimwi {
    display: none;
  }
  .mobile-navi {
    display:block;
  }
  
  .minihead-navi .MazNVa {
    padding-left: 2vw;
  }

  .fios-topbar-wrapper, .fios-titlebar {
    margin-right: 22px;
  }
  
  .priocheck .check1 {
    font-size: 36px;
  }
  .priocheck .check2 {
    font-size: 22px;
  }
  .priocheck .check3 {
    font-size: 32px;
  }

  #card-board {
    width: calc(100% - 76px);
    margin-right: 22px;
    margin-left: 57px;
  }
  .card-column {
    width: 50%;
    min-width: revert;
  }
}

@media screen and (max-width: 670px) {
  .minihead-navi .j7pOnl img {
    width: 146px;
  }
}

@media screen and (max-width: 480px) {
  .fios-titlebar {
    z-index: 4;
  }
  #nav {
    display: block;
  }
  .mobile {
    display: block;
  }
  header {
    display: none !important;
  }
  .minihead-navi .j7pOnl img {
    width: 64px;
  }
  .fios-titlebar {
    pointer-events: none;
    font-size: 36px;
    margin-right: 15px;
    top:-69px;
  }
  .fios-subtitle {
    font-size: 12px;
  }
  .mobile-fios-menu-btn {
    display:inline-block;
    border: 1px outset #616060;
  }
  .fios-topbar-wrapper, #card-board {
    width: calc(100% - 8px);
    margin: 0 4px;
  }
  .stream-card .content {
    height: calc(100dvh - 216px);
  }
  .stream-card {
    height: calc(100dvh - 181px);
  }

  .cards-control-bar {
    display: grid;
    grid-auto-flow: column;
    width: 100%;
  }
  .cards-control-bar .bitton {
    padding: 0 1rem;
    vertical-align: bottom;
    font-size: 4vw;
  }
  .add-card-btn {
    font-size: 28px;
    padding-bottom: 6px !important;
  }

  .mob-coll-btn {
    display: inline-block;
  }

  .drop-area-form .bitton {
    padding: 3px 0;
  }
  .attach-trays {
    margin: 1px 0 5px 2px;
  }

  .pc-text, #header-expand-btn, .cards-login-bar, .cards-control-bar .coll-fset, .cards-filter-bar .pc {
    display: none;
  }
  .cards-filter-bar .mobile {
    display: contents;
  }

  .colorless-modal-content, .modal-content {
    width: calc(100% - 4px);
    height: calc(100% - 5px);
  }
  .modal {
    padding-top:0;
  }

  .cards-filter-bar {
    flex-direction: column;
  }
  .time-order-chk {
    transform: scale(1.5);
  }

  .minihead-navi .MazNVa {
    padding: 0 2vw;
  }

  .cards-login-top-bar {
    position: revert;
  }

  .UORcXs .dy3w_9 {
    padding-left: 0px;
    background: var(--divider-top-color);
    height: 87px !important;
  }

  .fios-topbar-wrapper {
    padding: 6px 0 4px 0;
  }

  [data-mesh-id=comp-jtcr7ygh1inlineContent-gridContainer]{
    margin: 86px 0 0 0;
  }
  #cards-cat-sidebar {
    height: calc(100dvh - 146px);
    top: 2px; /*56px;*/
    left: -296px;
  }
  #cards-cat-sidebar.slide-left {
    left: -296px !important;
  }
  #cards-cat-sidebar.slide-right {
    left: 0 !important;
  }

  #modal-edit-card-front, #modal-edit-card-back, #modal-edit-card-title {
    margin-top: 3px;
  }
  

  /*.modal input[type=range] {
    width: 50px;
  }*/

  .optional-icon {
    margin: 11px 9px 8px 10px;
  }

  .drop-area button {
    filter: grayscale();
    height: revert;
    font-size: 16px;
    margin-bottom: 8px;
  }
  .drop-area-form {
    font-size: 16px;
    line-height: 1.4em;
  }
  .content input[type=text], .modal textarea {
    width: 100%;
  }
  .attach-trays {
    flex-direction: row;
    width: calc(100% - 3px);
  }
  .content-main {
    flex-direction: column;
  }
  .optional-icon {
    font-size: 24px;
  }
  input[type=color] {
    width: 27px;
    height: 28px;
  }
  #modal-edit-card-title.shrunk { 
    width: calc(100% - 146px) !important;
  }
  .date-created, #modal-edit-card-date {
    white-space: nowrap;
    max-width: 30px;
    display: inline-block;
  }

  .filter-search-clear-btn {
    right: 35px;
    margin-left: 0;
  }

  .cards-control-bar .bitton:nth-of-type(1) {
    font-size: 6vw;
  }

  .stream-card .content .back, .stream-card .content .front {
    overflow-y: scroll;
  }
  .cooldown-tracker {
    font-size: 4.5vw;
  }
}

@media screen and (min-width: 481px) {
  .stream-card .content {
    max-height: revert;
    height: calc(100dvh - 421px);
    font-size: 40px;
  }
  .stream-card .priocheck-mini .check1 {
    font-size: 48px;
    line-height: revert;
  }
  .stream-card .priocheck-mini .check2 {
    font-size: 35px;
    line-height: revert;
  }
  .stream-card .priocheck-mini .check3 {
    font-size: 42px;
    line-height: revert;
  }
}

.nav-opened-near-expand {
  position: absolute;
  transition: 0s;
  border-left: 2px groove grey;
}

.filter-color-choices {
  height: 34px;
}

.color-box {
  border-radius: 12px;
  background: black;
  width: 32px;
  height: 32px;
  display: inline-block;
  vertical-align: bottom;
}
.color-box.active {
  mix-blend-mode: revert;
  /*border: 5px white solid;*/
} 

.double-slider__wrap {
  position: relative;
  width: 148px;
  height: 100%;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.double-slider__input {
  position: absolute;
  appearance: none;
  --webkit-appearance: none;
  pointer-events: none !important;
  cursor: pointer;
  width: 100%;
  padding: 0 10px;
  z-index: 3;
  opacity: 0;
}

.double-slider__input::-webkit-slider-thumb {
  pointer-events: all;
  width: 20px;
  height: 20px;
  appearance: none;
  --webkit-appearance: none;
  display: block;
  background-color: red;
}
.double-slider__input::-moz-range-thumb {
  pointer-events: all;
  width: 20px;
  height: 20px;
  appearance: none;
  --webkit-appearance: none;
  display: block;
  background-color: red;
}
.double-slider__input::-ms-thumb {
  pointer-events: all;
  width: 20px;
  height: 20px;
  appearance: none;
  --webkit-appearance: none;
  display: block;
  background-color: red;
}
.double-slider__input::-webkit-slider-runnable-track {
  pointer-events: none;
}
.double-slider__track {
  position: relative;
  height: 6px;
  border-radius: 10px;
  background-color: #efefef;
  display: flex;
  align-items: center;
  width: 100%;
}
.double-slider__range {
  position: absolute;
  left:0%;
  right:0%;
  top:0;
  bottom: 0;
  border-radius: 10px;
  background-color: #0075ff;
  display: flex;
  height: 8px;
  align-self: center;
  z-index: 1;
}
.double-slider__dot {
  position:absolute;
  width:18px;
  height:18px;
  border-radius: 50%;
  background-color: #57a4ff;
  z-index: 3;
}
.double-slider__dot--left {
  left:0%;
  transform: translateX(-50%);
}
.double-slider__dot--right {
  right:0%;
  transform: translateX(50%);
}

.double-slider__text {
  height: 29px;
}

.mini-btn {
  padding: 0.1rem 0.5rem;
  height: 1.8rem !important;
  margin-left: 4px;
}

.flex-center {
  display: flex;
  align-items: center;
}

.padspace {
  height: 80vh;
  width: 100%;
}

.bottom {
  position: absolute;
  bottom: 0;
  border-top: 1px #4e5f7029 solid;
  box-sizing: border-box;
  width: 100%;
}

.split-cat {
  display: flex;
  justify-content: space-around;
}

.tooltipable {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltipable .tooltiptext {
  visibility: hidden;
  width: 260px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -130px;
  font-size: 17px;
  line-height: 1.5;
  pointer-events: none;
}

.tooltipable:hover .tooltiptext {
  visibility: visible;
}

.popuplist {
  background-color: #6f83963b;
  color: #fff;
  text-align: center;
  padding: 4px;
  position: absolute;
  z-index: 1;
  display: flex !important;
  flex-direction: column;
  transform: translateX(calc(-50%));
  margin: 0 auto;
  left: 50%;
  width: 168px;
}

.popuplist button {
  display: block;
  font-size: 16px;
  color: white;
  border: 1px grey solid;
  padding: 4px 12px;
  border-radius: 4px;
  background: linear-gradient(347deg, #06111e, #22282f);
  cursor: pointer;
}

.setting {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.setting > span {
  padding:1px 15px;
}

.selected-tag {
  background-color:#814851 !important;
}

.micro-btn {
  background: linear-gradient(45deg, #543f3f, transparent);
  color: white;
  font-size: 16px;
  display: block;
}

#tag-edit-confirm, #tag-edit-top {
  color: white;
  font-size: 16px;
  border-radius: 6px;
  position: absolute;
  width: 100%;
  left: 0;
  margin-left: 0;
}
#tag-edit-top {
  background: linear-gradient(0deg, #543f3f, transparent);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  top: -110%;
}
#tag-edit-confirm {
  background: linear-gradient(180deg, #543f3f, transparent);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  top: 100%;
}