@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600&family=Playfair+Display:wght@400;500&family=Poppins&display=swap");
/* width */
::-webkit-scrollbar {
    width: 3px;
    height: 3px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #888;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    scroll-behavior: smooth;
}

hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.table {
    font-size: 1rem;
    font-weight: 400;
}

.tree {
    --spacing: 2.5rem;
    --radius: 10px;
}

.tree li {
    display: block;
    position: relative;
    padding-left: calc(2 * var(--spacing) - var(--radius) - 2px);
}

.tree ul {
    margin-left: calc(var(--radius) - var(--spacing));
    padding-left: 0;
}

.tree ul li {
    border-left: 2px solid #ddd;
}

.tree ul li:last-child {
    border-color: transparent;
}

.tree ul li::before {
    content: "";
    display: block;
    position: absolute;
    top: -70px;
    left: -2px;
    width: calc(var(--spacing) + 2px);
    height: calc(var(--spacing) + 50px);
    border: solid #ddd;
    border-width: 0 0 2px 2px;
}

.tree summary {
    display: block;
    cursor: pointer;
}

.tree summary::marker,
.tree summary::-webkit-details-marker {
    display: none;
}

.tree summary:focus {
    outline: none;
}

.tree summary:focus-visible {
    outline: 1px dotted #000;
}

.tree li::after,
.tree summary::before {
    content: "";
    display: block;
    position: absolute;
    top: calc(var(--spacing) / 2 - var(--radius));
    left: calc(var(--spacing) - var(--radius) - 1px);
    width: calc(2 * var(--radius));
    height: calc(2 * var(--radius));
    border-radius: 50%;
    background: #ddd;
}

.tree summary::before {
    content: "+";
    z-index: 1;
    background: #ddd;
    color: #fff;
    line-height: calc(2 * var(--radius) - 2px);
    text-align: center;
}

.tree details[open] > summary::before {
    content: "−";
}

.lv1-line {
    display: block;
    position: absolute;
    top: 18px;
    left: 35px;
    width: calc(var(--spacing) + 2px);
    border: solid #ddd;
    border-width: 0 0 2px 2px;
}

.lv2-line {
    display: block;
    position: absolute;
    top: 18px;
    left: 35px;
    width: calc(var(--spacing) + 2px);
    border: solid #17d6ba;
    border-width: 0 0 2px 2px;
}

.lv3-line {
    display: block;
    position: absolute;
    top: 18px;
    left: 35px;
    width: calc(var(--spacing) + 2px);
    border: solid #ff3b62;
    border-width: 0 0 2px 2px;
}

.level2 ul li::before {
    content: "";
    display: block;
    position: absolute;
    top: -45px;
    left: -2px;
    width: calc(var(--spacing) + 2px);
    height: calc(var(--spacing) + 25px);
    border: solid #17d6ba;
    border-width: 0 0 2px 2px;
}

.level2 ul li {
    border-left: 2px solid #17d6ba;
}

.level3 summary::before {
    content: "+";
    z-index: 1;
    background: #17d6ba;
    color: #fff;
    line-height: calc(2 * var(--radius) - 2px);
    text-align: center;
}

.level3 ul li {
    border-left: 2px solid #ff3b62;
}

.level3 li::after {
    content: "";
    display: block;
    position: absolute;
    top: calc(var(--spacing) / 2 - var(--radius));
    left: calc(var(--spacing) - var(--radius) - 1px);
    width: calc(2 * var(--radius));
    height: calc(2 * var(--radius));
    border-radius: 50%;
    background: #ff3b62;
}

.level3 ul li::before {
    content: "";
    display: block;
    position: absolute;
    top: -45px;
    left: -2px;
    width: calc(var(--spacing) + 2px);
    height: calc(var(--spacing) + 25px);
    border: solid #ff3b62;
    border-width: 0 0 2px 2px;
}

h4 {
    line-height: normal !important;
    margin-bottom: 0px !important;
}
#annoucment .modal-content {
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    text-align: center;
    font-family: "Oswald", sans-serif;
}

#loading .modal-content {
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    text-align: center;
    font-family: "Oswald", sans-serif;
}

#alret .modal-content {
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    text-align: center;
    font-family: "Oswald", sans-serif;
}

#alret-with-btn .modal-content {
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    text-align: center;
    font-family: "Oswald", sans-serif;
}

.nav-tabs .nav-link {
    margin-bottom: -1px;
    border: 1px solid transparent;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.modal {
    top: 35%;
}

#annoucment {
    top: 0%;
}

.custom-control-label::after {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background: 50%/50% 50% no-repeat;
    /* background: transparent; */
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid;
}

thead {
    background-color: #f5f7fa;
    color: #b5b5b5;
}

.card-header .fa {
    transition: 0.3s transform ease-in-out;
    color: #3f576c;
}
.card-header .collapsed .fa {
    transform: rotate(90deg);
}
.card-header {
    background-color: #ffffff;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    border-color: #ffffff;
}

.header {
    height: 90px !important;
}

.font-family-oswald {
    font-family: "Oswald", sans-serif;
}

body {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #167567;
    background-color: #f4f5f9;
}

.vertical-align-content {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

.long-text-style {
    font-size: 1rem;
    color: #3f576c;
}

.text-black {
    color: #000000;
}

.text-light-grey {
    color: #676767;
}

.text-light-green {
    color: #17d6ba;
}

.text-orange {
    color: #f76b1c;
}

.text-light-orange {
    color: #f8ad45;
}

.text-grey {
    color: #a5a5a5;
}

.text-dark_red {
    color: #a32b06;
}

.text-green {
    color: #167567;
}

.text-green {
    color: #167567;
}
.text-dark-blue {
    color: #3f576c;
}
.font-weight-700 {
    font-weight: 700;
}

.font-weight-300 {
    font-weight: 300;
}

.font-weight-400 {
    font-weight: 400;
}

.font-weight-600 {
    font-weight: 600;
}

.font-weight-500 {
    font-weight: 500;
}

label {
    font-family: "Oswald", sans-serif;
    font-size: 1.25rem;
}

.radius-rounded {
    border-radius: 10px;
}

.border-btn {
    border: #167567 1px solid;
    border-radius: 5px;
    color: #167567;
    font-family: "Oswald", sans-serif;
    width: 40%;
}

.table {
    width: 100% !important;
}

.btn {
    font-family: "Oswald", sans-serif;
}

.green-bg-btn {
    background-color: #167567;
    color: #ffffff;
    font-family: "Oswald", sans-serif;
}

.light-grey-bg {
    background-color: #f5f7fa;
    border-color: #f5f7fa;
}

.user-panel-bg {
    background-color: #fafcff;
}

.grey-bg {
    background-color: rgb(239, 239, 239);
}

.orange-bg {
    background-color: #f76b1c;
    border-color: #f76b1c;
}

.light-green-bg {
    background-color: #17d6ba;
    border-color: #17d6ba;
}

.white-bg {
    background-color: #ffffff !important;
}

.gradient-green-bg {
    background-image: linear-gradient(22.46deg, #167567 -1.56%, #17d6ba 94.58%);
}

.gradient-pink-bg {
    background: linear-gradient(23.73deg, #ff3b62 1.59%, #ff99ac 96.68%);
}

.gradient-orange-bg {
    background: linear-gradient(205deg, #fad961 0%, #f76b1c 100%);
}

.border_radius_20 {
    border-radius: 20px;
}

.custom-pagination {
    display: flex;
    justify-content: end;
}

.page-link {
    border: 1px solid #167567 !important;
    color: #167567;
    line-height: 1;
    font-size: 1.25rem;
    font-family: "Poppins", sans-serif;
}

.page-item.active .page-link {
    background-color: #167567;
    border-color: #167567;
}

#btn-back-to-top {
    background-color: #167567;
    border-color: #167567;
    color: #ffffff;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    border-radius: 50%;
}

.jstree-default .jstree-anchor {
    line-height: auto !important;
    height: auto !important;
}
.sidebar {
    height: 100%;
}

.sidebar .nav-link {
    color: #a5a5a5 !important;
}
.nav-pills .nav-link.active {
    background-color: #f4f5f9;
    border-radius: 0;
    color: #3f576c !important;
}
.leaderboard-nav-link.active {
    color: #3f576c !important;
}

.proof-link {
    color: #2f5581;
    text-decoration: underline;
}

.receipt-link {
    color: #17d6ba;
    text-decoration: underline;
}
/** END Based CSS **/

/** Nav CSS **/

.navbar {
    position: fixed;
    background-color: #fafcff;
    width: 100%;
    z-index: 1;
}
.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #3f576c !important;
}

.leaderboard-nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #a5a5a5 !important;
    font-size: 24px;
    padding-left: 0;
}

/** END Nav CSS **/

/** Footer CSS **/

footer {
    background-color: #167567;
    color: #ffffff;
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    font-size: 1rem !important;
}

footer h2 {
    font-family: "Playfair Display";
}

.footer-copyright {
    font-family: "Poppins";
}

.footer-marker-icon {
    position: relative;
}

.footer-marker-icon::before {
    content: "";
    background-image: url(../images/map_maker_icon.png);
    font-weight: 900;
    position: absolute;
    display: inline-block;
    background-size: 20px 20px;
    width: 20px;
    height: 20px;
    left: -10%;
    transform: translate(-0.5em, 0em);
}

/** END Footer CSS **/

/** Home CSS **/
#product {
    background-color: #eef5f7;
}

.shopping-image-display {
    max-width: 100%;
    height: auto;
    padding: 10px 10px 10px 10px;
}

.product-title {
    color: #000000;
    font-size: 30px;
    font-weight: 500;
    font-family: "Oswald";
}

.product-description {
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    font-family: "Oswald";
}

.selling-price {
    color: #000000;
    font-size: 20px;
    font-weight: 400;
    font-family: "Oswald";
}

.quantity-btn {
    all: unset;
    cursor: pointer;
}

.quantity-btn:focus {
    outline: orange 5px auto;
}

.quantity-text {
    border: none;
    background-color: transparent;
    resize: none;
    outline: none;
    text-align: center;
}

.quantity-group {
    border: 1px solid;
    border-color: black;
    border-radius: 20px;
}

.card-title {
    color: #000000;
    font-size: 30px;
    font-weight: 500;
    font-family: "Oswald";
}

.form-text {
    color: #000000;
    font-size: 18px;
    font-weight: 300;
    font-family: "Oswald";
}

.submit-form-btn {
    font-family: "Oswald";
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    float: right;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.learn-more-btn {
    font-family: "Oswald", sans-serif;
    text-decoration: none;
    color: #167567;
    font-size: 1rem;
}

.contact-us-card {
    background-color: #167567;
}
/** END Home CSS **/
/** Leaderboard CSS **/
.ranking {
    font-size: 36px;
}
.round-card {
    border-radius: 20px;
}
/** END Leaderboard CSS **/
/** Mobile Responsive **/
@media (min-width: 768px) {
    /** Nav CSS **/
    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 3rem;
    }
    /** END Nav CSS **/
}

@media (max-width: 768px) {
    .textcenter {
        text-align: center;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .sidebar-container {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .sidebar-container {
        -ms-flex: 0 0 16.666667%;
        flex: 1 0 16.666667%;
        max-width: 20%;
    }
}

/** END Mobile Responsive **/

/** Tooltip CSS **/
.tooltips {
    position: relative;
    display: inline-block;
}

.tooltips .tooltipstext {
    visibility: hidden;
    width: 300px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 10px 10px 10px 10px;
    position: absolute;
    z-index: 1;
    top: -5px;
    left: 110%;
    font-size: 16px;
}

.tooltips .tooltipstext::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent black transparent transparent;
}

.tooltips:hover .tooltipstext {
    visibility: visible;
    opacity: 1;
}
/** END Tooltip CSS **/
