/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

* {
  outline: none !important;
}

p {
  margin-bottom: 0;
}

.check-ranking {
  width: 100%;
  max-width: 90%;
  margin: auto;
}

.check-ranking h3 {
  font-family: "Marlos";
  font-size: 35px;
  background-image: linear-gradient(
    to bottom,
    #ffc280 0%,
    #ffdeba 55%,
    #ffc280 100%
  );
  color: transparent;
  background-clip: text;
  margin-bottom: 5px;
  max-width: 75%;
}

.check-ranking img {
  position: absolute;
  top: -5px;
  right: -0;
  z-index: 1;
  max-width: 120px;
}

form#check-user-ranking-form {
  padding: 35px 25px;
  border-radius: 30px;
  background: linear-gradient(to bottom, #000000 0%, #11100f 55%, #000000 100%);
  box-sizing: border-box;
  position: relative;
  border: 2px solid #ffc280;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

form#check-user-ranking-form input {
  font-size: 25px;
  line-height: 1.1;
  text-align: center;
  color: #000000;
  padding: 35px 20px;
  border-radius: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

form#check-user-ranking-form input::placeholder {
  color: #000000;
  text-transform: capitalize;
}

form#check-user-ranking-form button {
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
  padding: 15px 25px;
  border-radius: 20px;
  background-image: linear-gradient(
    to bottom,
    #ffc280 0%,
    #ffdeba 55%,
    #ffc280 100%
  );
  font-weight: bold;
  color: #000000;
}

.your-ranking {
  padding: 15px 10px;
  border-radius: 30px;
  background: linear-gradient(to bottom, #000000 0%, #11100f 55%, #000000 100%);
  box-sizing: border-box;
  position: relative;
  border: 2px solid #ffc280;
  text-align: center;
}

.ranking-not-found {
  padding: 35px 25px;
  border-radius: 30px;
  background: linear-gradient(to bottom, #000000 0%, #11100f 55%, #000000 100%);
  box-sizing: border-box;
  position: relative;
  border: 2px solid #ffc280;
  text-align: center;
  min-height: 250px;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  align-content: center;
}

.ranking-not-found p {
  font-size: 20px;
  line-height: 1.1;
  color: white;
  margin-bottom: 15px;
}

.ranking-not-found span {
  font-size: 25px;
  line-height: 30px;
  font-weight: bold;
  color: #fbdaa0;
  display: block;
  margin-top: 10px;
}

.your-ranking div {
  display: flex;
  gap: 10px;
  justify-content: space-around;
  position: relative;
}

.your-ranking p {
  font-size: 18px;
  line-height: 20px;
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 0;
  width: 100%;
  padding: 0 8%;
}

.line-seperate {
  height: 4px;
  background: linear-gradient(90deg, #f99f64, #fbdaa0);
  width: 100%;
  margin: 10px 0;
}

.ranking-first2 p:first-child:after,
.ranking-next2 p:first-child:after {
  background-color: #878787;
  position: absolute;
  width: 2px;
  height: 90%;
  top: 0;
  left: 50%;
  display: block;
  content: "";
  bottom: 0;
  margin: auto;
}

.your-ranking span {
  font-size: 40px;
  line-height: 1;
  color: #f0cb95;
  font-weight: 700;
  display: block;
}

.vip_tier {
  font-size: 18px;
  line-height: 20px;
  color: #000000;
  font-weight: 700;
  background: linear-gradient(180deg, #f99f64, #fbdaa0);
  padding: 5px 10px;
  margin: 10px 0;
  margin-left: -10px;
  margin-right: -10px;
}

button#back-to-form {
  padding: 10px 20px;
  font-size: 18px;
  display: inline-block;
  text-transform: uppercase;
  margin-top: 5px;
  border-radius: 20px;
  background-image: linear-gradient(
    to bottom,
    #ffc280 0%,
    #ffdeba 55%,
    #ffc280 100%
  );
  font-weight: bold;
  color: #000000;
}

/**
  Ranking Table CSS
*/
.acf-ranking-table,
.acf-turnover-table {
  border-collapse: separate;
  border-spacing: 0 5px;
  margin-bottom: 0;
}

.acf-ranking-table,
.acf-turnover-table,
.acf-ranking-table td,
.acf-turnover-table td,
.acf-ranking-table th,
.acf-turnover-table th {
  border: 0;
}

.acf-ranking-table th,
.acf-turnover-table th,
.acf-ranking-table td,
.acf-turnover-table td {
  padding: 10px;
  font-size: 18px;
  line-height: 1;
  color: #ffffff;
  font-weight: 500;
  text-align: center;
  font-weight: 500;
}

.acf-ranking-table thead tr th:nth-child(2),
.acf-turnover-table thead tr th:nth-child(2) {
  position: relative;
}

.acf-ranking-table tbody tr:nth-child(-n + 3) {
  background: linear-gradient(to right, #ffc280 0%, #ffdeba 55%, #ffc280 100%);
}

.acf-turnover-table tbody tr:nth-child(-n + 3) {
  background: linear-gradient(to right, #ffb6a2 0%, #fbd7d0 55%, #ffb6a2 100%);
}

.acf-ranking-table tbody tr:nth-child(-n + 3) td,
.acf-turnover-table tbody tr:nth-child(-n + 3) td {
  color: #000000;
}

.acf-ranking-table tbody tr:nth-child(-n + 3) td:first-child,
.acf-turnover-table tbody tr:nth-child(-n + 3) td:first-child {
  font-weight: bold;
}

.acf-ranking-table tbody tr:nth-child(-n + 3) td:first-child,
.acf-turnover-table tbody tr:nth-child(-n + 3) td:first-child {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.acf-ranking-table tbody tr:nth-child(-n + 3) td:last-child,
.acf-turnover-table tbody tr:nth-child(-n + 3) td:last-child {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

@media only screen and (min-width: 769px) {
  .check-ranking img {
    max-width: 120px !important;
  }
}

@media only screen and (max-width: 768px) {
  .check-ranking img {
    max-width: 90px !important;
  }
  .check-ranking h3 {
    font-size: 25px;
  }
  form#check-user-ranking-form {
    padding: 20px;
  }
  form#check-user-ranking-form input {
    font-size: 20px;
    padding: 25px 15px;
  }
  form#check-user-ranking-form button {
    font-size: 18px;
  }
  .your-ranking p {
    font-size: 15px;
    line-height: 18px;
    padding: 0px 5%;
  }
  .your-ranking span {
    font-size: 30px;
  }
  .vip_tier {
    font-size: 15px;
    line-height: 18px;
  }
  .ranking-not-found {
    min-height: 200px;
  }
}

@media only screen and (max-width: 600px) {
  .acf-ranking-table th,
  .acf-turnover-table th,
  .acf-ranking-table td,
  .acf-turnover-table td {
    font-size: 14px;
    line-height: 18px;
  }
}

@media only screen and (max-width: 320px) {
  .check-ranking h3 {
    font-size: 21px;
  }
  .check-ranking img {
    max-width: 80px !important;
  }
}
