@font-face {
  font-family: "rubik";
  src: url("/wp-includes/fonts/Rubik-VariableFont_wght.ttf");
}

*,
body {
  margin: 0;
  font-family: "rubik", arial;
  font-size: 14px;
}

.conteiner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: stretch;
  gap: 60px;
}

.table {
  /* max-width: 360px; */
  width: 500px;
  position: relative;
}

table {
  width: 100%;
}

.table tr td:not(:first-child) {
  text-align: center;
}

h2 {
  text-align: center;
  margin-top: 0;
}

tr {
  cursor: pointer;
}

/* tbody > tr:hover {
  background-color: #d9d9d9;
} */

tbody > tr > td:not(:first-child) {
  direction: ltr;
}

tbody > tr > td:not(:nth-child(2)) {
  width: 40%;
}
.green {
  color: seagreen;
}
.red {
  color: tomato;
}

.stars {
  direction: ltr;
  color: orange;
}

.stock-name {
  text-decoration: none;
  color: #000;
}

.title {
  font-weight: normal;
  font-size: 19.5px;
  color: #333333;
  text-align: center;
  margin: 0;
}

#lowest-rating-stocks,
#highest-rating-stocks {
  margin-bottom: 10px;
  font-size: 19.5px;
  font-weight: bold;
  position: relative;
  display: inline-block;
  right: 22%;
  color:#00367c;
}

#lowest-rating-stocks::after,
#highest-rating-stocks::after {
  content: "";
  position: absolute;
  height: 1.5px;
  width: 100%;
  right: 0;
  bottom: 0;
  background-color: #ffa527;
}

/* #lowest-rated-stocks-table-body tr:hover,
#highest-rated-stocks-table-body tr:hover {
  background-color: #e3f0ff80;
} */

.stocks-table {
  border-collapse: separate;
  border: 2px solid #d9d9d9;
  text-align: center;
  position: relative;
  background-color: white;
  border-radius: 10px;
}

.stocks-table tr {
  height: 34px;
  /* border-bottom: 1px solid #d9d9d9; */
}

.link-field {
  text-decoration: none;
  color: #000;
}

#highest-rated-stocks-table-body tr td:first-child a,
#lowest-rated-stocks-table-body tr td:first-child a {
  color: #00367c;
}

#highest-rated-stocks-table-body tr td:first-child:hover a,
#lowest-rated-stocks-table-body tr td:first-child:hover a {
  color: #006bb7;
}

#highest-rated-stocks-table-body tr td.no-pro,
#lowest-rated-stocks-table-body tr td.no-pro {
  filter: blur(10px);
}

.no-pro-cover {
  position: absolute;
  bottom: -18px;
  width: 67%;
  display: flex;
  justify-content: center;
  height: 100%;
  align-items: center;
  cursor: pointer;
}

.stocks-table::after {
  position: absolute;
  content: "";
  background: linear-gradient(185.83deg, #fdcc5f 4.79%, #00367c 94.8%);
  z-index: -1;
  top: -2.5px;
  bottom: -3.5px;
  right: -2.5px;
  left: -2.5px;
  border-radius: 10px;
}

.pro-rating-border-image {
  position: absolute;
  bottom: -22px;
  left: 43%;
}

@media (min-width: 600px) and (max-width: 900px) {
  .table {
    width: 350px;
  }
}

@media only screen and (max-width: 600px) {
  .stars .material-icons {
    font-size: 22px;
  }
}
@media (max-width: 768px) {
  .conteiner {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: stretch;
    gap: 0;
    padding: 0 10px;
    position: relative;
  }
  .table {
    width: 95%;
    max-width: 390px;
    position: absolute;
    top: 35px;
  }
  #table-low + div.pro-rating-border-image {
    display: none;
  }
  .titles-container {
    display: flex;
    justify-content: space-between;
  }
  #lowest-rating-stocks,
  #highest-rating-stocks {
    right: 0;
  }
}
