/* GLOBAL STYLES
-------------------------------------------------- */
html, body {
  font-family: 'Poppins', sans-serif;
  color: #343434;
}

/* body {
  padding-bottom: 0;
  background: url(img/m_bg_under_water.svg), linear-gradient(0deg, rgba(180,242,231,1) 0%, rgba(30,134,193,1) 100%);
  background-repeat: no-repeat;
  background-position: 50% 120%, top;
  background-size: 406vw auto, auto 80%;
} */

.section-title {
  font-size: 20px;
  font-weight: 700;
}

/* main
-------------------------------------------------- */

/* dropdown menu */
.dropdown-menu {
  border: 1px solid transparent;
  border-radius: 25px;
  box-shadow: 0px 10px 9px -8px rgba(105,105,105,1);
}

/* modal */
.modal.show .modal-dialog {
    -webkit-transform: none;
    transform: none;
    margin-top: 50vh;
}
.modal-content {
  border-radius: 40px;
  width: 15rem;
  margin: auto;
  -webkit-box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.25);
  -moz-box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.25);
  box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.25);
}

/********* banner *********/
.carousel {
  background: url(/img/m_bg_banner_moon.png), url(img/m_bg_banner_sign.png);
  background-position: right 4px top 13px, left 0px top 20px;
  background-repeat: no-repeat;
  background-size: 295px, 325px;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 10;
}

.carousel-caption h1 {
font-weight: 800;
  }

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 32rem;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 32rem;
}


/* Dashboard
-------------------------------------------------- */

/* dashboard config */
.heading {
  width: 90%;
}

.col-md-4, 
.col-md-6 {
  text-align: center;
}

.col-md-4 {
  margin-bottom: 0.8rem;
  min-height: 100px;
}

.col-md-6 {
  margin-bottom: 1rem;
}

.card-body {
  height: 120px;
  position: relative;
}

.col-md-6 .card-body {
  height: 200px;
}

.section-intro {
  font-size: 16px;
}

.marketing h2 {
  font-weight: 400;
}

.card-subtitle {
  font-size: 14px;
  font-weight: 500;
  color: #4d4d4d;
}

.marketing p {
  margin-right: .75rem;
  margin-left: .75rem;
}

.price-board .card-body {
  padding: 15px;
}

.btc-details {
  position: absolute;
  left: 1rem;
  bottom: 0.5rem;
}

.btc-details-title {
  margin-bottom: 3px;
}

.marketing .col-md-4 .suggestion .card-body {
  padding: 0.25rem;
}

.suggestion-signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 0.5rem;
}

.suggestion {
  width: 100%;
  height: 100%;
  position: relative;
}

.suggestion-buy,
.suggestion-buy-active,
.suggestion-hold,
.suggestion-hold-active,
.suggestion-sell,
.suggestion-sell-active {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.suggestion-buy {
  background-image: url(img/dashboard_light_green_normal.svg);
}

.suggestion-buy-active {
  background-image: url(img/dashboard_light_green_active.svg);
}

.suggestion-hold {
  background-image: url(img/dashboard_light_yellow_normal.svg);
}

.suggestion-hold-active {
  background-image: url(img/dashboard_light_yellow_active.svg);
}

.suggestion-sell {
  background-image: url(img/dashboard_light_red_normal.svg);
}

.suggestion-sell-active {
  background-image: url(img/dashboard_light_red_active.svg);
}

.record {
  /* border: 1px solid red;; */
  height: 100%;
  overflow: scroll;
  padding: 1.25rem 1rem 1rem 0.5rem;
}

.card {
  border-radius: 20px;
  box-shadow: 0px 6px 6px -3px rgba(126,131,133,1);
  height: 100%;
}

.chart-board {
  height: 420px;
}

.doughnutchart-board {
  height: 300px;
  position: relative;
}

.doughnut-chart {
  width: 115px;
  height: auto;
  margin: 0 auto 3px;
  position: relative;
  top: -7%;
  left: -42%;
}

.doughnutchart-canvas {
  position: absolute;
  left: 101px;
  top: 30px;
}

.doughnutchart-description {
  font-weight: 400;
  width: 129px;
  font-size: 12px;
  position: absolute;
  top: 156px;
  left: 90px;
}

.doughnutchart-percentage {
  font-size: 36px;
  font-weight: 700;
  color: #16E8A2;
  position: absolute;
  top: 59px;
  left: 136px;
}

.doughnutchart-percentage::after {
  content: '%';
  font-size: 14px;
  font-weight: 700;
  color: #16E8A2;
  position: absolute;
  left: 100%;
  bottom: 9px;
}

.doughnutchart-breakline {
  height: 2px;
  width: 130px;
  background: linear-gradient(90deg, rgba(65,234,135,0) 0%, rgba(65,234,135,0.35) 5%, rgba(91,243,156,1) 25%, rgba(92,243,35,1) 50%, rgba(80,229,149,1) 75%, rgba(65,234,135,0.35) 95%, rgba(65,234,135,0) 100%);
  position: absolute;
  top: 150px;
  left: 102px;
}

.linechart-canvas{
  width: 242px;
  position: absolute;
  left: 30px;
  bottom: -26px;
}

#lineChart {
  background: linear-gradient(
90deg, rgba(235,247,250,1) 0%, rgba(255,252,237,1) 100%);
  background-repeat: no-repeat;

  background-size: 84.3% 75%;
    background-position: top 0.3rem left 0.905rem;
}

.linechart-legend {
  font-size: 11px;
  font-weight: 300;
  position: absolute;
  width: 15.5rem;
  top: -124px;
  right: 22px;
}

.linechart-legend-xerosum,
.linechart-legend-market,
.linechart-legend-correct {
  position: relative;
}

.linechart-legend-xerosum::before,
.linechart-legend-market::before,
.linechart-legend-correct::before {
  display: inline-block;
  content: '';
  width: 10px;
  height: 3px;
  border-radius: 205px;
  position: absolute;
  bottom: 7px;
  left: -16px;
}

.linechart-legend-xerosum::before {
  background-color: #FFDF47;
  left: 7px;
}

.linechart-legend-market::before {
  background-color: #407DF2;
}

.linechart-legend-correct::before {
  background-color: #16E8A2;
}

.linechart-label {
    position: absolute;
    top: -6.2rem;
    left: 0.4rem;
    height: 6.9rem;
    font-size: 10px;
    font-weight: 300;
}

.suggestion-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}

/* BTC now & prediction */
.btc-logo {
  width: 30px;
  height: auto;
  margin-right: 6px;
}

.pearl-board {
  width: auto;
  height: auto;
  position: absolute;
      right: 10px;
    bottom: 10px;
}

.pearl {
  height: 100px;
}

.prediction-accuracy-sign {
  position: absolute;
  top: 13px;
  left: 15px;
}

.up-down-sign {
  position: absolute;
  bottom: 19px;
  left: 62px;
}

.up-down-sign img {
  width: 20px;
}

/* record table */
table {
  border: none;
  font-size: 10px;
  width: 100%;
}

table thead {
border-bottom: 1px solid #e5e5e5;
}

tr {
height: 12px;
}

td {
  padding: 0;
}

.record-accuracy-board {
  margin-top: 5.9px;
}

.record-accuracy-sign {
  width: 12px;
}


/* Featurettes
------------------------- */

/* footer
-------------------------- */

.footer-logo {
  width: 135px;
  height: auto;
  margin-bottom: 10px;
}

.footer-copyright {
  font-weight: 200;
    font-size: 12px;
    margin-bottom: 0px;
}

.footer-link {
  width: 90%;
  font-size: 12px;
  font-weight: 300;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 375px) {

  .trend-predict-title {
    font-size: 10px;
  }

  .record {
    height: 80%;
    overflow: scroll;
    padding: 1.25rem 1rem 1rem;
  }

  .record th {
    width: 20%;
  }

  .record tbody tr td:first-child {
    font-size: 8px;
    padding-right: 2px;
  }

  table {
    margin-top: 7px;
    font-size: 11px;
  }

  tr {
    height: 14px;
  }


  .doughnutchart-canvas {
    left: 131px;
  }

  .doughnutchart-percentage {
    top: 62px;
    left: 165px;
  }

  .doughnutchart-breakline {
    left: 131px;
  }

  .doughnutchart-description {
    top: 158px;
    left: 118px;
  }

  #lineChart {
  background-size: 87.3% 80%;
  background-position: top 0.3rem left 0.93rem;
}

  .linechart-canvas {
    width: 309px;
    left: 25px;
    bottom: -53px;
  }

  .linechart-legend {
    width: 18.5rem;
    top: -126px;
    right: 38px;
  }

  .linechart-label {
    height: 8rem;
  }

  .linechart-legend-xerosum::before,
  .linechart-legend-market::before,
  .linechart-legend-correct::before {
    bottom: 6px;
    left: -20px;
  }

  .linechart-legend-xerosum::before {
    left: 20px;
}
}

/* tablet size (ipad pro 11: 834 x 1194px)*/
@media (min-width: 768px) {
.trend-predict-title {
  font-size: 12px;
}
.record {
  margin-top: 20px;
}

.section-title {
    font-size: 36px;
}

/* navbar logo */
.navbar-desktop-logo {
  display: inline;
}

.navbar-mobile-logo {
  display: none;
}

/* banner */
.carousel {
  background: url(img/bg_banner_moon.png), url(img/m_bg_banner_sign.png);
  background-position: right 9px top -9px, left 40px top -81px;
  background-repeat: no-repeat;
  background-size: 812px, 419px;
}

.carousel-item {
    height: 18rem;
}

.carousel-caption {
  bottom: 2rem;
  left: 1.5rem;
  z-index: 10;
}

.carousel-caption h1 {
    position: absolute;
    font-size: 46px;
    font-weight: 800;
    bottom: 2px;
    left: 38px;
    line-height: 70px;
}

/* dashboard */
.card-body {
  min-height: 85px;
  height: auto;
}

.col-md-6 .card-body {
  height: 200px;
  padding: 1rem 1.25rem;
}

.card-subtitle {
  font-size: 12px;
  position: absolute;
}

.pearl {
    height: 86px;
}

.prediction-accuracy-sign img,
.up-down-sign img {
  width: 60%
}

.prediction-accuracy-sign {
  top: 9px;;
}

.up-down-sign {
  bottom: 16px;
  left: 53px;
}

.btc-logo {
  width: 21px;
}

.card-body {
  padding: 0.5rem 0.25rem;
}

.price h4 {
  font-size: 1rem;
}

.suggestion-signals {
  padding: 0;
}

.suggestion-text {
  font-size: 1.1rem;
}

.chart-board {
  height: auto;
}

.chart-board .col-md-8 {
  height: 213px;
}

.doughnut-chart {
  width: 76px;
  top: -3%;
  left: -55%;
}

.doughnutchart-canvas {
  left: 44px;
  top: 44px;
}

.doughnutchart-description {
  top: 136px;
  left: 21px;
  font-size: 9px;
  width: 110px;
}

.doughnutchart-percentage {
  font-size: 18px;
  top: 69px;
  left: 69px;
}

.doughnutchart-percentage::after {
  font-size: 10px;
  left: 108%;
  bottom: 4px;  
}


.doughnutchart-breakline {
  top: 128px;
  left: 45px;
  width: 90px;
}

#lineChart {
  background-size: 80% 53%;
  background-position: top 0.3rem left 1.9299999999999997rem;
}

.linechart-canvas {
  width: 199px;
  left: 14px;
  bottom: 61px;
}

.linechart-legend {
  font-size: 8px;
  width: 10.5rem;
  top: 33px;
  left: 40px;
}

.linechart-legend-xerosum::before,
.linechart-legend-market::before,
.linechart-legend-correct::before {
  height: 3px;
  left: -8px;
  bottom: 5px;
}

.linechart-label {
  top: 3.2rem;
  left: 0;
  height: 4rem;
  font-size: 8px;
}

.linechart-legend-xerosum::before {
  left: 4px;
}

}

@media (min-width: 1440px) {
  .trend-predict-title {
    font-size: 14px;
  }
  /* chart board */
  .doughnutchart-board .card-body .card-subtitle {
    width: 120%;
  }

  /* doughnut chart */
  .doughnut-chart {
      width: 100px;
      top: -8%;
      left: -22%;
  }

  .doughnutchart-breakline {
      top: 148px;
      left: 58px;
      width: 90px;
  }

  .doughnutchart-percentage::after {
    font-size: 10px;
    left: 108%;
    bottom: 9px;
  }

  .doughnutchart-description {
      top: 157px;
      left: 26px;
      font-size: 11px;
      width: 127px;
  }

  .doughnutchart-percentage {
    font-size: 27px;
    top: 77px;
    left: 74px;
}
  .doughnutchart-description {
      top: 157px;
  }

  /* line chart */
  #lineChart {
    background-size: 86% 77%;
    background-position: top 0.3000000000000007rem left 0.9299999999999997rem;
  }


  /* .linechart-legend {
      font-size: 11px;
      width: 15.5rem;
      top: 15px;
      right: 17px;
      left: initial;
  }

  .linechart-label {
      top: 2rem;
      left: 0rem;
      height: 6.9rem;
      font-size: 8px;
  } */

  .linechart-legend-xerosum::before {
    left: -14px;
  }

  .linechart-legend-xerosum::before,
  .linechart-legend-market::before,
  .linechart-legend-correct::before {
      height: 5px;
      left: -17px;
      bottom: 5px;
  }
  .linechart-canvas {
    width: 268px;
    left: 59px;
    bottom: 49px;
}

.linechart-legend {
    font-size: 11px;
    width: 15.5rem;
    top: 7px;
    left: 60px;
}

.linechart-label {
  top: 2rem;
    left: 2rem;
    height: 6.9rem;
    font-size: 8px;
}

}
