body,html {
  margin: 0;
  padding: 0;
  font-size: 14px;
}

* {
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 0px;
}

.wrapdim {
  background: #362d6761;
}

.wrapdim::after {
  /*content:'';*/
  background-blend-mode: screen;
  opacity: 0.3;
  height: 100vh;
  width: 100%;
  position: absolute;
  top: 0;
  z-index: -100;
}

.wrapper {
  max-width: 420px;
  margin:auto;
  height: 100dvh;
  overflow: scroll;
  min-height: 100%;
  background: #fff;
}

.markdown>h1, .markdown>h2 {
  font-size: 1rem;
  font-weight: bold;
}

.markdown>p {
  font-size: 12px;
  line-height: 16px;
  color: #666666;
}

.markdown>.badge {
  text-align: left;
  margin-bottom: 15px;
  font-size: 8px;
  font-weight: normal;
  line-height: 16px;
}

textarea:focus,
textarea.form-control:focus,
input.form-control:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=number]:focus,
[type=text].form-control:focus,
[type=password].form-control:focus,
[type=email].form-control:focus,
[type=tel].form-control:focus,
[contenteditable].form-control:focus {
  box-shadow: 0px 0px 0px;
  outline:none;
}

.form-control::placeholder {
  font-weight: 200;
  color: #796d6da8;
}

.chat-input {
  width: 100%;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.chat-input textarea {
  width: 100%;
  resize: none;
  border: none;
  outline: none;
  font-size: 16px;
  line-height: 1.4;
  max-height: 200px;
  overflow-y: auto;
}

.form-control:focus {
  outline: none !important;
  box-shadow: none !important;
  border-right:none;
}

.form-control:disabled {
  background-color: #fff;
}

.loadscreen {
  background: rgb(255, 255, 255);
  display: none;
  opacity: 0.8;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
  height: 100%;
  text-align: center;
}

button {
  outline: none !important;
}

.btn {
  border-radius:20px;
  min-width: 50px;
}

.modal {
  /* top:30%; */
}

.boldtext {
  font-weight:600;
}

.card-body {
  padding: 0.75rem;
}

.reporttopcard {
  padding: 1.5rem;
}


.testheader {
  margin-bottom:0.3rem;
  font-size:13px;
}

.hiddenbutton {
  background:none;
  border:none;
  border-top:1px solid #e9ecef;
  border-bottom:1px solid #e9ecef;
}

.hiddenbutton:disabled {
  background:#e9ecef;
}

.hiddenbutton .delinput {
  display:none;
  font-size: 13px;
  position: relative;
  top: -2px;
}

label, .btn, .content, .span, .checkbox, .form, .form-contro, .reply, .term {
  font-family: 'Noto Sans';
}

.chatbutton.disabled {
  color: #666;
  border-color: #666;
}

.btn:focus, .btn:active {
  outline: none !important;
  box-shadow: none !important;
}

.heading, .question, .smallhead {
  font-family: 'Noto Serif JP';
}

.container {
  display:block;
  background:white;
  font-family: inherit;
  font-size:medium;
  max-width: 420px;
}

.progbar {
  padding:0px
}

.testbanner, .covidbanner {
  padding: 0.75rem;
  font-family:'Noto Sans';
}

.testbanner {
  background: #382d67ab;
  color: white;
  font-size: 14px;
  display: none;
}

.covidbanner {
  font-size:13px;
  line-height:15px;
}



.chatdiv{
  display:block;
  max-height: inherit;
  height: calc(100% - 28px);
}

.container.records {
  height: calc(100vh - 200px);
}

.progress {
  border-radius:0px;
  height: 5px;
}

.progress-bar {
  background:#382d67ab;
}

.chatcurrent, .chathistory {
  display: block;
  color: #999;
  background:white;
  margin-bottom: 10px;
}

.chatbottom {
  margin-bottom:55px;
  max-height: 65vh;
  overflow: auto;
}

.chathistory {
  height: 75px;
  margin-top: 30px;
  overflow: hidden;
}

.chathistory * {
  border-color:#666;
  opacity:0.8;
}

.chatbox {
  display:block;
  background: white;
  color: #111111;
  font-family: inherit;
}

.chatbox {
  font-family: 'Noto Serif JP', serif;
}

.avatar img{height: 40px;width: 40px;margin-bottom:10px;}

.avatar {font-variant: common-ligatures;position:relative;right:80px;transition:ease-in;}

.error {
  color: #f92e2e;
  margin-left:auto;
  width: max-content;
  margin-top: 5px;
  font-family: 'Noto Sans';
}

.userform, .chatbutton{
  border-radius:20px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 15px;
  border:1px solid;
}

.chatbutton {
  display: block;
  max-width: fit-content;
  margin-left: auto;
  margin-bottom: 13px;
  text-align: center;
  min-width: 85px;
}

.chatbutton.buttondisabled {
  color:#666;
  border: 1px solid #666;
}

.chat-input .chatbutton {
  margin-bottom: 0px;
  min-width: fit-content;
  background: none;
  color: #007bff;
  border: none;
  font-size: 18px;
}

.disabled .chatbutton {
  margin-bottom:0px;
}

.disabled .chatbutton.btn-outline-primary {
  color:#666;
  border: 1px solid #666;
}

.disabled .chatbutton.btn-primary {
  background:#666;
}

.disabled .chatbutton.btn-outline-primary:hover {
  background:none;
}

.disabled .chatbutton.btn-primary:hover{
  background:#666;
}

.disabled .chat-input .chatbutton {
  background: none;
  color: #666;
}

.disabled .chat-input .chatbutton:hover{
  background:none;
}

.disabled .mb-3 {
  margin-bottom: 0px !important;
}

.chatcurrent .question{color: #382d67e8;margin-left: 0.75rem;}

.chathistory .question{
  color:#666;
}

.chatcurrent .chatbox, .chathistory .chatbox {
  opacity:1;
  display: block;
  max-width: 300px;
  transition: ease-in;
  transition-duration: 0.2s;
  transition-delay: 0.1s;
}

.chatcurrent .chatbox {
  margin-bottom: 18px;
}

.chatcurrent .badge {
  white-space: normal !important;
  word-wrap: break-word;
  word-break: break-word;
  display: inline-block;
  max-width: 100%;
}

.chatbox .question {font-size: 15px;line-height: 22px;}

.question .text {font-size: 18px;margin-bottom: 5px;}

.question .term {font-size: 10px;line-height: 15px;color: #7d7a7d;margin-bottom: 5px;}

.question .link {
  font-family:'Noto Sans';
  font-size: 15px;
  color: #75094f;
}

.question .link {font-size: 13px;margin-bottom: 10px;}

.question .card-text {
  font-size: 16px;
}

.form-check-label {
  color:#382d67ab;
}

.chatbox .card {font-family: 'Noto Sans';font-size: 15px;border-radius: 10px;display: block;}

.card .link {margin-bottom: 13px;color: #382d67ab;}

.card .card-img-top {
  width: 100%;
  max-width: 300px;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  max-height: 150px;
}

.card .card-wrap {
  padding:10px;
  text-align:left;
}

.card .btn {
  font-size:13px;
}

.chatbox.user {
  max-width: 100%;
  opacity:.5;
}

.chatbox.bot {
  opacity:.5;
}

.chatbox.user .userform {
  margin-left: auto;
  width: 80%;
  color: #00B7FF;
  font-size: 15px;
}

.chatbox.user .reply {
  overflow:hidden;
}

.chatinput {
  border: 1px solid #e9ecef;
  border-right: none;
  outline: none;
  width: 85%;
  padding: 18px 0.75rem;
  border-radius: 4px;
}

.disabled .input-group-append .input-group-text{
  border:1px solid #666;
}

.input-group-append {
  border: 1px solid #e9ecef;
  background: #f5e6ff;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.input-group-append .dm {
  font-size: 13px;
  min-width: 20px;
  position:relative;
  top: 7px;
  right: 2px;
}

.chatbox.user .userform.inputdisabled {
  opacity: .65;
  background:#fff;
  border: 1px solid #666;
  color: #666;
}

.chatbox.user .question {
  font-size:13px;
}

.container .chatcurrent {
  width:auto;
  height:auto;
}

.container .chathistory {
  margin-bottom: 25px;
  overflow: overlay;
  height: 60px;
}

.appwrapper .container {
  width:100%;
  height: calc(100% - 1rem);
  padding: 20px 25px;
  border:none;
}

.header {
  background: white;
  display:flow-root;
  font-size: larger;
}

.logo {
  font-family: 'Noto Sans';
  font-weight:600;
  color: #283d50;
  display:block;
}

.menu {
  display:block;
}

.header .logo{
  float:left;
  width:90%
}

.header .menu {
  float:right;
  width:auto;
}

.menubar {
  padding: 5px;
  color: #382d67ab;
  background: #f5e6ff;
}

.navbar-list .reportnotif {
  position: absolute;
  font-size: 9px;
  padding: 3px;
  align-content:center;
  justify-content: center;
  top: 13px;
  display: none;
  outline: none;
}

.menubar span.navbar-brand {
  float:left;
  padding: 0.5rem 0.25rem;
  font-weight: bold;
}

.menubar ul.navbar-list {
  display: inline-flex;
  padding:0;
  margin:0;
  float: right;
  cursor:pointer;
}

.menubar ul.navbar-list li.nav-item{
  display: flex;
  transition: cubic-beizer;
  min-width: 45px;
  max-width: 60px;
  float: right;
}

.menubar ul.navbar-list a.nav-link {
  font-size: 15px;
  color:#382d67ab;
  padding: .5rem .7rem;
  float: right;
}

.menubar ul.navbar-list li.green a.nav-link {
  color:green;
}

.readwrap, .infowrap, .panelswrap, .multiwrap {display:block;height: 100%;width: 100%;position: fixed;right: 0px;background: white;overflow: scroll;z-index: 1030;max-width: 420px;/*! margin: auto; */top: 0px;left: 0;}

.infowrap {
  top:1000px;
}


.panelswrap>.card,  .multiwrap>.card, .infowrap>.card {
  border:none;
  border-radius:0px;
}

.panelswrap>.card {
  font-size:13px;
  margin: 10px;
  display: flex;
}

.multiwrap>.card {
  border-bottom: 1px solid #cccbcb;
}

.panelswrap>.card.predicttop3 {
  border: 1px solid #e4e0e0;
  box-shadow: 1px 1px 3px 3px #e8e5e5;
  border-radius: 5px;
  margin: 10px;
}

.panelswrap>.card.firstcard,   .multiwrap>.card.firstcard {
  color: #000;
  margin: 0;
  border: 1px solid #cccbcb;
  box-shadow: 1px 1px 3px 3px #e8e5e5;
  text-align: center;
}

.disclaimer {
  border:1px solid #cccbcb;
  margin:10px;
  border-radius:5px;
}

.disclaimer-text {
  color:#796d6d;
  font-size:12px;
  margin-bottom:0;
}

.extraspace {
  height:200px;
}

.reporttophead {
  margin-top:5px;
  text-align:center;
  font-size: 13px;
}

.panelswrap>.headcard {
  background:#e1ddf3
}

.testbold {
  font-weight:bold;
}

.advice {
  font-size:12px;
}

.multiwrap>.card:last-child {height: 200px; border: none; }

.panelswrap>.reportwrapcards, .panelswrap>.addinfo {
  height: auto;
  border-radius: 5px;
  border: 1px solid  #e4e0e0;
  padding-left: 0.6rem;
  box-shadow: 1px 1px 3px 3px #e8e5e5;
}

.reportwrapcards>.card,  .addinfo>.card {
  border:0;
}


.panelswrap .card-text.panelhead {
  margin-bottom:0;
  float: left;
  color: #5a5858;
}

.testscore {
  font-size:18px;
}

.panelswrap .card-text.heading, .multiwrap .card-text.heading {font-size: 15px;margin-bottom: 0px;color: #382d67cf;cursor: pointer;}

.panelswrap .card-text.smallhead, .multiwrap .card-text.smallhead {font-size: 13px;margin-bottom: 0px;color: #382d67cf;}

.panelswrap .card-text.content, .multiwrap .card-text.content {font-size: 12px;color: #796d6d;}

.panelswrap span.disease {
  color: #796d6d;
}

.panelswrap span.common {
  margin-left:5px;
  margin-right: 5px;
  color: #ff1582;
}

.panelswrap span.badge {
  font-size:10px;
} 

.panelswrap .testitem {
  margin-bottom:5px;
  color: #757070;
  font-size: 11px;
}


.panelswrap span.common, 
.panelswrap span.disease {
  font-size: 12px;
}

.panelswrap .btn, .multiwrap .btn {border-radius: 20px;display: block;margin-left: 10px;font-size: 11px; min-width:100px; float: right;}
.panelswrap a.btn, .multiwrap a.btn {min-width: 26%;}

.panelswrap .submtbtn, .multiwrap .submtbtn {
  margin:10px;
  margin-left: auto;
  margin-top: 20px;
}

.panelswrap .progress {width: 50%;height: 4px;overflow: hidden;border-radius:10px;margin-top:5px;margin-bottom:5px;font-size: 1px;}

.panelswrap .progress .percent {
  margin-left: 5px;
  color: #b40942;
  font-weight: bold;
  font-size: 8px;
}

.panelswrap .card-heading.disdesc {
  cursor: pointer;
}

.infowrap .card-img-bottom {
  border-radius:10px;
  max-height: 280px;
  border: 1px solid #999;
}

.infowrap .card-text {
  font-size:15px;
  font-family: 'Noto Serif JP';
}

.infowrap .header,
.readwrap .header
{/* text-align:center; */font-size:17px;font-family: 'Noto Sans', sans-serif;padding:10px;/* box-shadow: 0px 0px 6px #6bf5e2; */margin-bottom: 5px;background: #382d67ab;color: #fff;}


.readwrap .header>.back {
  width:10%;
  float:left;
  font-weight: 100;
  cursor: pointer;
}

.readwrap .header>.subheading {
  width:80%;
  float:left;
}

.infowrap .footer {
  padding: 1.25rem;
}

.infowrap .btn {
  width: 100%;
  margin:auto;
  margin-bottom: 10px;
  border-radius: 20px;
}

.readwrap>.card{
  font-size:12px;
  border-radius:5px;
  border: 0px;
}

.readwrap>.card .card-body {
  padding: 10px 1.25rem;
}

.readwrap .accordion {
  width: 90%;
  margin:auto;
}

.readwrap .accordion>.card {
  font-size: 12px;
}

.readwrap .card-text.heading {
  color:#8B008B;
  margin-bottom: 8px;
}

.readwrap .card-text.content {
  color:#333;
}

.readwrap .accordion>.card>.card-header {
  text-transform: capitalize;
}

.readwrap .accordion>.card>.card-header a {
  color:#382d67ab;
  font-weight:600;
}

.readwrap .accordion>.card .card-body {
  color: #333;
  padding: .75rem 1.25rem;
}

.readwrap .accordion>.card .card-body .list-group-item {
  padding:5px 0px;
  border:0px;
}

.checkbox {
  display: block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 0px;
  cursor: pointer;
  width: max-content;
  height: 20px;
  font-size: 15px;
  text-orientation: mixed;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  border: 1px solid;
  background-color: #eee;
}

.checktext {
  position:absolute;
  top:0;
  width: max-content;
  height: 20px;
  display: flex;
  text-align: center;
}

.checkbox input:checked ~ .checkmark {
  background-color: #00b7ff;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox input:checked ~ .checkmark:after {
  display: block;
}

.checkbox .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.pagination {
  float:right;
}

.suggest, .gifload {position: relative;top: -35.5px;border: 1px solid #e9ecef;z-index: 1030;background: white;display: none;/* width: calc(100% - 4%); *//* left: 4%; */margin-bottom: 25px;}

.gifload {display:block;border:none;background:none;margin: 0px;}

.suggest .sugbox {
  border-bottom: 1px solid #e9ecef;
}

.sugbox:last-child {
  border-bottom:0px;
}

.suggest .sugtext {padding: 9px 0.75rem;font-size: 13px;line-height: 15px;cursor: pointer;}

.gifload {
  padding: 9px 0.75rem;
  font-size: 13px;
}

.input-group-append {
  cursor:pointer;
}

.suggest .card, .infowrap .card {
  border:none;
  border-radius:0px;
}

.suggest .card {
  border-bottom: 1px solid #e9ecef;
  /* padding-left: 10px; */
}

.suggest .card:first-child {
  border-top-left-radius:20px;
  border-top-right-radius:20px;
}

.suggest .card:last-child {
  border: none;
  border-bottom-left-radius:20px;
  border-bottom-right-radius:20px;
  /* padding-bottom: 20px; */
}

.suggest .card-text.heading {font-size: 15px;margin-bottom: 0px;}

.suggest .card-text.span {
  font-size:11px;
  color: #0bbba3;
  line-height: -5px;
}

.suggest .btn {
  border-radius: 20px;
  display: block;
  margin-left: auto;
}

.suggest .card-text.content {font-size: 12px;color: #413737;}

.reportlinks {
  display:flow-root;
  padding-top: 12px;
}

.panelswrap .reportlinks {
  border-top: 1px solid #c7c7c7;
}

.dimback {
  position:absolute;
  top:0px;
  height:-webkit-fill-available;
  width:100%;
  background: #000;
  z-index:1030;
  opacity: 0.6;
  display: none;
}

.alert {
  display:none;
  position: relative;
  margin:auto;
  margin-left: 4%;
  font-size: 12px;
  z-index: 1030;
}

.close {
  font-size: inherit;
  line-height: inherit;
  cursor: pointer;
}

.alert-warning {
  border: 1px solid #382d67ab;
  background: white;
  border-radius: 12px;
  color: #382d67ab;
}

.alert .alertitem {
  border-radius:20px;
  padding:5px 10px;
  min-width:50px;
  margin-right:10px;
}

.modal-dialog {
  top:30%;
}

@media screen and (min-width:600px) {
  .wrapper {
    border-radius: 10px;
    background: #fff;
    height: 100dvh;
  }

  .modal-dialog {
    max-width:420px;
  }

  .infowrap, .panelswrap {
    width:420px;
    right: calc(50% - 210px);
  }

  .avatar {
    right:0;
  }

  .navbar {
    width:420px;
    right:auto;
    left: calc(50% - 210px);
  }

  .progbar {
    padding:auto;
  }

  .readwrap, .infowrap, .panelswrap, .multiwrap {
    left: calc(50% - 210px);
    border-radius: 10px;
  }

  .menubar {
    border-radius: 0px 0px 10px 10px;
  }

  .alert {
    max-width: 420px;
  }

  .loadscreen {
    max-width:420px;
    border-radius: 10px;
  }

  .dimback {
    max-width:420px;
    border-radius:10px;
  }
}

