/**
 * @author Zheng Liu
 * @email zheng.liu@brainco.tech
 * @create date 2022-05-05 15:03:11
 * @modify date 2022-05-05 15:03:11
 * @desc Main CSS style sheet
 */

  #btn-group { 
    padding-top: 100px;
  }

  .modal-content { 
    border-radius: 20px;
  }

  #modal-logo {
    padding-top: 30px;
  }

  .modal-header {
    border-bottom: 0 none;
  }

  .modal-body {
    border-bottom: 0 none;
    padding-top: 0;
    padding-bottom: 0;
  }

  .modal-footer {
    border-top: 0 none;
    padding-bottom: 0;
    padding-top: 30px;
  }

  .custom-btn-length {
    width: 160px;
  }

  .modal-col {
    padding-left: 15px;
    padding-right: 15px;
  }

  .modal-img {
    position: absolute;
    bottom: 1rem;
    padding: 0;
    display: inline-block;   
  }

  .modal-arrow {
    position: absolute;
    bottom: 5rem;
    padding: 0;
    display: inline-block;   
  }

  .modal-text {
    width: 100%;
    padding-left: 0;
    padding-top: 20px;
    text-align: left;
    font-size: 0.8rem;
  }

  .popover {
    max-width: 350px;
  }

  .popover-text{
    text-align: left;
    font-size: 14px;
  }

  .popover-title{
    text-align: left;
    font-size: 18px;
    font-weight: bold;
  }

  .popover-row {
    padding-top: 1em;
    padding-left: 1em;
    padding-right: 1em;
    margin: 10px;
  }

  .popover-thinner {
    width: 17.5rem;
  }

  #instruction-web {
    text-decoration: underline;
    font-size: 12px; 
    width: 150px;
    text-align: center;
  }

  a {
    text-decoration: none;
    color: black;   
    text-align: right;
  }

  #popover-first {
    max-width: 100%; 
  }

  a:hover {
    color: black;
  }

  .btn {
    text-align: center;
    padding: 10px;
    /* margin: 10px; */
    font-size: 16px;
    border-radius: 30px;
    /* box-shadow: 4px 2px 10px #999; */
  }

  .btn:active {
    opacity: .7;
    box-shadow: 4px 2px 10px #555;
  }

  #logo {
    padding-left: 0.5rem;
  }
  
  .top {
    /* padding-top: 40px; */
    margin: 0px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    min-height: 100%;
    /* height:auto !important;  */
    height: 100%;
  }

  .row {
    padding-top: 1em;
    padding-left: 1em;
    padding-right: 1em;
    /* margin: 10px; */
    /* font-size: 16px; */
  }

  .btn-light:hover {
    background-color:rgba(175, 173, 173, 0.938);
  }

  .btn-light {
    /* outline-style: auto; */
    border-width: thin;
    border-color: black;
  }

  .container-fluid {
    margin: 0px;
    padding: 0px;
    /* min-height: 100%;
    height:auto !important; 
    height: 100%;  */
  }

  #timer-msg {
    text-align: center;
    padding-left: 0;
    padding-top: 10px;
    font-size: 14px
  }

  #info-msg {
    text-align: center;
    /* padding-left: 0; */
    padding-top: 0px; 
    font-size: 12px;
    color: grey;
  }

  .data{
    font-weight:normal;
    text-align: center;
    padding: 0;
  }

  .data-label{
    text-align: center;
  }

  .no-top-pad{
    padding-top: 0px;
  }

  p {
    text-align: center;
    vertical-align: middle;
    margin: 0;
  }

  #con-status {
    padding: 1rem;
    width: auto;
    height: auto;
    max-width: 60%;
    max-height: 60%;
    z-index: 2 !important;
  }

  .info-row {
    padding-top: 0;
  }


  /* #radar{
    position:relative;
    overflow:hidden;
    width:100px; height:100px;
    border-radius: 50%;
  } */
  #rad{
    position:absolute;
    margin-top: 90px;

    width:121px;
    height:121px; background:url(http://i.stack.imgur.com/fbgUD.png);
    background-size: contain;
  }

  .overlay {
    background-color: rgba(0, 0, 0, 0.5);
    height: 120%;
    width: 120%;
    position: absolute;
    z-index: 1;
    display: none;
  }

  #pop-div1 {
    position: relative !important;
    z-index: 2 !important;
  }

  #pop-div2 {
    position: relative !important;
    z-index: 2 !important;
  }

  #pop-div3 {
    position: relative !important;
    z-index: 2 !important;
  }

  #flexCheckDefault {
    position: relative !important;
    z-index: 2 !important;
    transform : scale(0.8);
  }

  .btn #serial-img {
    padding-left: 0;
    width: 28%;
    height: 80%;
  }

  #serialBtn {
    padding-top: 3px;
    padding-bottom: 3px;
  }

  #gameBtn {
    padding-top: 3px;
    padding-bottom: 3px;
  }

  .grey_back {
    background-color: #F7F7F7;
  }

  html, body {
    margin: 0;
    height: 100%;
  }

  #logo-img {
    padding-left: 0;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }

  .resized-img {
    /* width: 100%; */
    max-width:100%;
    object-fit:contain;
  }

  .resized-arrow {
    width:30%;
    /* height: auto; */
    max-width: 80vw;
    /* max-height: 480px; */
    object-fit: scale-down;
  }

  @media screen and (max-width: 1000px) {
    .resized-img {
      display: none;
    }
  }

  @media screen and (max-width: 1200px) {
    .resized-arrow {
      display: none;
    }
    .modal-col{
      padding-left: 0;
    }
    .resized-img {
      width: 180px;
      height: 160px;
    }
  }

  
  html, body {
    margin:0px;
    height:100%;
  }

  .form-check-input:checked{
    background-color:#27CC47;
  }

  #graphDiv {
    padding: 0;
    margin: 0;
    /* max-width: 30rem; */
    max-height: 15rem;
  }

  #graphDiv2 {
    padding: 0;
    margin: 0;
    /* max-width: 30rem; */
    max-height: 15rem;
  }

  #graphDiv3 {
    padding: 0;
    margin: 0;
    /* max-width: 30rem; */
    max-height: 15rem;
  }

  #graphDiv4 {
    padding: 0;
    margin: 0;
    /* max-width: 30rem; */
    max-height: 15rem;
  }

  .plot_font {
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 0;
    font-size: small;
  }

  .info-img {
    padding-bottom: 0.5px;
    padding-left: 1px;
    margin-left: 5px;
  }

  .checkbox-timer[type="checkbox"] {
    width: 0;
    visibility: hidden;
  }
  label {
    cursor: pointer;
  }
  .checkbox-timer[type="checkbox"] + label:before {
    border: 1px solid #333;
    content: "\00a0";
    display: inline-block;
    font: 10px/1em sans-serif;
    height: 12px;
    margin: 0.2em .5em 0 0;
    padding: 0;
    vertical-align: top;
    width: 12px;
    border-radius: 4px;
  }
  .checkbox-timer[type="checkbox"]:checked + label:before {
    background: black;
    color: white;
    content: "\2713";
    text-align: center;
  }
  .checkbox-timer[type="checkbox"]:checked + label:after {
    font-weight: bold;
  }
  
  /* .checkbox-timer[type="checkbox"]:focus + label::before {
      outline: rgb(59, 153, 252) auto 5px;
  } */

  #fft-data {
    min-width: 3rem;
    /* padding-right: 5rem; */
    text-align: center;
    border: 0.5px solid white;
    border-radius: 16px;
    box-shadow:  0px 1px 10px #00000029;
    opacity: 1;
    font-size: large;
    margin: 0 0 4px 0;
  }

  #eeg-data {
    min-width: 3rem;
    /* padding-right: 5rem; */
    text-align: center;
    border: 0.5px solid white;
    border-radius: 16px;
    box-shadow:  0px 1px 10px #00000029;
    opacity: 1;
    font-size: large;
    margin: 0 0 4px 0;
  }

  #attention-data {
    min-width: 3rem;
    /* padding-right: 5rem; */
    text-align: center;
    border: 0.5px solid white;
    border-radius: 16px;
    box-shadow:  0px 1px 10px #00000029;
    opacity: 1;
    font-size: large;
    margin: 0 0 4px 0;
  }

  #meditation-data {
    min-width: 3rem;
    /* padding-right: 5rem; */
    text-align: center;
    border: 0.5px solid white;
    border-radius: 16px;
    box-shadow:  0px 1px 10px #00000029;
    opacity: 1;
    font-size: large;
    margin: 0 0 4px 0;
  }

  .btn-light:hover {
    color: black;
    background-color: white;
  }