.center {
  margin-left: auto;
  margin-right: auto;
}

body {
  /* background-image: url("../images/bg.png"); */
  background-color: #ffffff;
  /* color: rgb(0, 0, 0); */
}

.button {
  background-color: #1f1f4a;
  border-radius: 10%;
  color: black;
  float: right;
  font-weight: 500;
  text-align: center;
  padding: 5px 15px;
  text-decoration: none;
  font-size: 16px;
}

tbody tr:hover {
  box-shadow: 0px 2px 18px 0px rgba(128, 128, 128, 0.5);
  cursor: pointer;
}

.max-lines {
  display: block;
  /* or inline-block */
  text-overflow: ellipsis;
  word-wrap: break-word;
  overflow: hidden;
  max-height: 3.6em;
  line-height: 1.2em;
}




.img-responsive {
  height: auto;
  width: auto;
  max-height: 90px;
  max-width: 90px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.mainTop td {
  width: 20%;
  font-size: 20px;
  font-weight: bold;
  background-color: rgb(218, 218, 218);
  table-layout: fixed;
  color: #ffffff;
  border-bottom: 1px solid rgb(156, 156, 25);
}

.mainTop th {
  background-image: linear-gradient(180deg, #000000, #1f1f4a, #000000);
  background-color: #1f1f4a;
  color: #ffffff !important;
}

.marquee1 {
  background-color: yellow;
  font-size: x-large;
  color: red !important;
}

.marquee2 {
  background-color: cyan;
  font-size: large;
  color: #000000 !important;
}

.marquee3 {
  background-color: black;
  font-size: medium;
  color: red !important;
}

.tableBank {
  background-color: #1f1f4a;
}

/* //////////////////// */
.market th,
td {
  background-color: #ffffff;
  color: #000000;
}

.market th:nth-child(1) {
  color: #ffffff;
  width: 60%;
  background-image: linear-gradient(180deg, #000000, #1f1f4a, #000000);
  text-align: left;
  font-weight: bold;
  float: center;
  padding: 0px;
  padding-left: 15px;
  font-size: 20px;
}

.market th:nth-child(2) {
  color: #ffffff;
  width: 20%;
  background-image: linear-gradient(180deg, #000000, #1f1f4a, #000000);
  padding: 0;
  text-align: center;
  font-weight: bold;
  float: center;
  font-size: 20px;
}

.market th:nth-child(3) {
  color: #ffffff;
  background-image: linear-gradient(180deg, #000000, #1f1f4a, #000000);
  width: 20%;
  padding: 0;
  text-align: center;
  font-weight: bold;
  float: center;
  font-size: 20px;
}

/* row */
.market td:nth-child(1) {
  width: 60%;
  text-align: left;
  background-color: #ffffff;
  font-weight: bold;
  font-size: 20px;
  line-height: 20px;
  border-bottom: none;
}

.market td:nth-child(2) {
  width: 20%;
  padding: 0;
  text-align: center;
  background-color: #ffffff;
  font-weight: bold;
  line-height: 40px;
  float: center;
  font-size: 20px;
}

.market td:nth-child(3) {
  width: 20%;
  padding: 0;
  text-align: center;
  background-color: #ffffff;
  font-weight: bold;
  float: center;
  line-height: 40px;
  font-size: 20px;
}

/* Nav Bar */

.nav-link {
  color: #ffffff !important;
}

.bg-company-black {
  background-color: #ffffff;
}

.navbar {
  background-image: linear-gradient(180deg, #000000, #1f1f4a, #000000);
  /* background: radial-gradient(circle, #e8c869 0%, #ca9b13 100%); */
}

/* Navbar links */
.navbar a {
  float: left;
  text-align: center;
  color: #000000;
  font-size: 14px;
  padding-left: 10px;
  padding-right: 10px;
}

/* Navbar links on mouse-over */
.navbar .notactive a:hover {
  color: rgb(174, 174, 174) !important;
}

/* Current/active navbar link */
.navbar .active a {
  background-color: #000000 !important;
  color: #ffffff !important;
  font-weight: 500;
  padding-left: 10px;
  padding-right: 10px;
}

.notactive {
  padding-left: 10px;
  padding-right: 10px;
}

.borderTop {
  border: 1px solid #214759;
  background-repeat: repeat;
  border-radius: 10px;
  background-color: #ffffff;
  margin-top: 4px;
}

.custom-gutter>[class*='col-'] {
  padding-right: 2px;
  padding-left: 2px;
}

.custom-gutter>[class*="col-"]:first-child {
  padding-left: 15px;
}

.custom-gutter>[class*="col-"]:last-child {
  padding-right: 15px;
}


.topName {
  padding: 5px;
  width: 100%;
  background-image: linear-gradient(180deg, #000000, #1f1f4a, #000000);
  color: #ffffff;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}

.topBidAsk {
  padding: 5px;
  width: 100%;
  color: #ffffff;
  text-align: center;
  font-size: 20px;
}

.topBidAskGreen {
  padding-top: 3px;
  padding-bottom: 3px;
  border-radius: 10px;
  font-weight: bold;
  color: #ffffff;
  background-color: green;
}

.topBidAskRed {
  padding-top: 3px;
  padding-bottom: 3px;
  border-radius: 10px;
  font-weight: bold;
  color: #ffffff;
  background-color: red;
}

.topBidAskNothing {
  padding-top: 3px;
  padding-bottom: 3px;
  border-radius: 10px;
  font-weight: bold;
  color: #000000;
  background-color: #ffffff;
}

.topHigh {
  padding-top: 5px;
  padding-bottom: 10px;
  width: 100%;
  color: #047200;
  text-align: center;
  font-size: 9px;
}

.topLow {
  padding-top: 5px;
  padding-bottom: 10px;
  width: 100%;
  color: #ff0000;
  text-align: center;
  font-size: 9px;
}


.mainBgBottom {
  width: 100%;
  padding-top: 3px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 3px;
  border-radius: 10px;
  border: 1px solid #1f1f4a;
  font-weight: bold;
  color: #000000;
  background-color: rgb(230, 230, 230);
}



.footer {
  width: 100%;
  height: 150%;
  padding-top: 30px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 30px;
  background-image: linear-gradient(180deg, #000000, #1f1f4a, #000000);
  border: 1px solid #000000;
  font-weight: bold;
  font-size: 16px !important;
  color: #ffffff;
}

.footer * {
  color: #ffffff !important;
  font-size: 22px !important;
}

.footer .heading {
  font-size: 32px !important;
  color: #ffbf00 !important;
}

.footer .subheading {
  font-size: 26px !important;
  color: #ffbf00 !important;
}

.findUs .heading {
  font-size: 28px !important;
}

.findUs .content {
  font-size: 20px !important;
}


.footer2 {
  padding-top: 30px;
  padding-bottom: 30px;
  width: 100%;
  font-weight: normal;
  font-size: 12px;
  color: #ffffff;
  background-color: rgb(0, 0, 0);
}


@media only screen and (max-width: 540px),
(min-device-width: 327px) and (max-device-width: 540px) {

  .mainTop td,
  th {
    font-size: 3.5vw;
  }

  .market th:nth-child(1) {
    font-size: 4vw;
  }

  .market th:nth-child(2) {
    font-size: 4vw;
  }

  .market th:nth-child(3) {
    font-size: 4vw;
  }

  /* row */
  .market td:nth-child(1) {
    font-size: 4vw;
  }

  .market td:nth-child(2) {
    font-size: 4vw;
  }

  .market td:nth-child(3) {
    font-size: 4vw;
  }


  .topName {
    font-size: 4vw;
  }

  .topBidAsk {
    font-size: 4vw;
  }

  .topHigh {
    font-size: 1vw;
  }

  .topLow {
    font-size: 1vw;
  }

}


@media only screen and (max-width: 327px),
(min-device-width: 200px) and (max-device-width: 327px) {

  .mainTop td,
  th {
    font-size: 3.0vw;
  }

  .market th:nth-child(1) {
    font-size: 4.5vw;
  }

  .market th:nth-child(2) {
    font-size: 4.5vw;
  }

  .market th:nth-child(3) {
    font-size: 4.5vw;
  }

  /* row */
  .market td:nth-child(1) {
    font-size: 4.5vw;
  }

  .market td:nth-child(2) {
    font-size: 4.5vw;
  }

  .market td:nth-child(3) {
    font-size: 4.5vw;
  }

  .topName {
    font-size: 4vw;
  }

  .topBidAsk {
    font-size: 4vw;
  }

  .topHigh {
    font-size: 1vw;
  }

  .topLow {
    font-size: 1vw;
  }
}