*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #F4EBCE;
    font-family: Tahoma, Geneva, sans-serif
}

h1 {
    font-size: 130%;
}

h2 {
    font-size: 110%;
}

td,
th {
    vertical-align: middle;
}

a {
    color: #004882;
    text-decoration: none;
}

a:hover {
    color: #41C5EF;
}

.clear {
    clear: both;
}

.header {
    background-color: dimgrey;
    margin-bottom: 15px;
}

.table-container {
    overflow: scroll;
    max-height: 400px;
}

.wide_box {
    padding: 0 10px;
    margin-bottom: 10px;
}

.wide_box h2,
.box h2,
.box2 h2,
.sidebar-box h2 {
    color: #184E69;
}

.wide_box h4 {
    margin-top: 0;
}

.wide_box h3,
.box h3 {
    font-size: 16px;
}

.wide_box .chart {
    margin: auto;
    text-align: center;
}


.box .title a {
    color: #4D7CB3;
}

.box .title a:hover {
    color: #555555;
}



.widget {
    margin-bottom: 20px;
}

/* footer */
.footer {
    background-color: dimgrey;
    color: #fff;
}

.footer {
    padding-top: 10px;
    text-align: center;
    font-size: 14px;
}

.footer a {
    color: #fff;
}

.footer a:hover {
    color: #eee;
}

.footer-menu li {
    display: inline-block;
    padding: 10px;
}

.copyright {
    padding: 0 4px 15px;
}

.note {
    color: red;
    font-size: 12px;
    margin: 10px;

}

.sidebar-box ul {
    list-style-type: none;
    margin: 0;
    padding: 0;

}

.sidebar-box ul li {
    background-color: #F3F7FA;
    border-bottom: 1px solid #CCCCCC;
    font-size: 12px;
    overflow: hidden;
    padding: 5px 3px;
}

.gradient-style {
    border-collapse: collapse;
    font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
    margin-top: 10px;
    width: 100%;
}

.gradient-style .strong {
    font-weight: bolder;
    font-size: 120%;
}

.gradient-style th {
    background: #B9C9FE;
    border-bottom: 1px solid #FFFFFF;
    border-top: 2px solid #D3DDFF;
    font-size: 15px;
    font-weight: normal;
    padding: 8px;
    text-align: start;
}

.gradient-style table {
    margin: auto;
}

.gradient-style td {
    background: #E8EDFF;
    border-bottom: 1px solid #FFFFFF;
    border-top: 1px solid #FFFFFF;
    color: #666699;
    padding: 8px;
    text-align: center;
}

.gradient-style tfoot tr td {
    background: none repeat scroll 0 0 #E8EDFF;
    color: #9999CC;
    font-size: 12px;
}

.gradient-style tbody tr:hover td {
    background: #D0DAFD;
    color: #333399;
}

.gradient-style .rising {
    color: green;
}

.gradient-style .falling {
    color: red;
}

.gradient-style .rising:hover {
    color: green;
}

.gradient-style td.table_cap {
    color: #000000;
    font-weight: bold;
}

.gradient-style td.table_cap_silver {
    color: #000000;
    font-weight: bold;
}

.gradient-style h3 {
    font-size: 20px;
    display: inline;
    border: 0;
    color: #000000;
    font-weight: bold;
}


.footer {
    clear: both;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.ads {
    margin-top: 10px;
    margin-bottom: 10px;
    height: 290px;
    min-height: 280px;
    text-align: center;
}

.ads-top {
    text-align: center;
}

.active {
    color: white;
}

.small {
    font-size: 12px;
}

.image_chart img {
    max-width: 100%;
}

.update {
    font-size: 12px;
}

.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }
}

.btn:hover {
    color: #212529;
}

.btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-check:focus+.btn-outline-primary,
.btn-outline-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5);
}

.btn-check:checked+.btn-outline-primary,
.btn-check:active+.btn-outline-primary,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary.dropdown-toggle.show {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-check:checked+.btn-outline-primary:focus,
.btn-check:active+.btn-outline-primary:focus,
.btn-outline-primary:active:focus,
.btn-outline-primary.active:focus,
.btn-outline-primary.dropdown-toggle.show:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5);
}

.btn-outline-primary:disabled,
.btn-outline-primary.disabled {
    color: #0d6efd;
    background-color: transparent;
}

.text-center {
    text-align: center !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border-style: none;
}

.container {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: auto;
    margin-left: auto;
    background-color: #fff;
    border-radius: 5px;

}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
        padding: 20px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x) * -.5);
    margin-left: calc(var(--bs-gutter-x) * -.5);


}

.row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
}

.g-0,
.gx-0 {
    --bs-gutter-x: 0;
}

.g-0,
.gy-0 {
    --bs-gutter-y: 0;
}

.g-1,
.gx-1 {
    --bs-gutter-x: 0.25rem;
}

.g-1,
.gy-1 {
    --bs-gutter-y: 0.25rem;
}

.g-2,
.gx-2 {
    --bs-gutter-x: 0.5rem;
}

.g-2,
.gy-2 {
    --bs-gutter-y: 0.5rem;
}

.g-3,
.gx-3 {
    --bs-gutter-x: 1rem;
}

.g-3,
.gy-3 {
    --bs-gutter-y: 1rem;
}

.col {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
}

.col-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
}

.col-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

.col-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}

.col-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
}

.col-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.col-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}

.col-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.col-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
}

.col-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
}

.col-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
}

.col-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 576px) {
    .col-sm {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }

    .col-sm-1 {
        -ms-flex: 0 0 8.333333%;
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .col-sm-2 {
        -ms-flex: 0 0 16.666667%;
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .col-sm-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-sm-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-sm-5 {
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-sm-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-sm-7 {
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .col-sm-8 {
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-sm-9 {
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-sm-10 {
        -ms-flex: 0 0 83.333333%;
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .col-sm-11 {
        -ms-flex: 0 0 91.666667%;
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }

    .col-sm-12 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .col-md {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }

    .col-md-1 {
        -ms-flex: 0 0 8.333333%;
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .col-md-2 {
        -ms-flex: 0 0 16.666667%;
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .col-md-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-md-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-md-5 {
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-md-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-md-7 {
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .col-md-8 {
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-md-9 {
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-md-10 {
        -ms-flex: 0 0 83.333333%;
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .col-md-11 {
        -ms-flex: 0 0 91.666667%;
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }

    .col-md-12 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

}

.rate {
    border-radius: 15px;
    padding: 5px;
}

.o {
    background-color: lightgreen;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media screen and (prefers-reduced-motion: reduce) {
    .form-control {
        transition: none;
    }
}


select.form-control[size],
select.form-control[multiple] {
    height: auto;
}

textarea.form-control {
    height: auto;
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-group {
    margin-bottom: 1rem;
}


.converter select,
.converter input,
.converter button,
.converter .result {
    height: 60px !important;
    box-sizing: border-box;
    width: 100%;
    font-size: 2em;
}

.converter-widget select,
.converter-widget input,
.converter-widget button,
.converter-widget .result {
    font-size: 1.5em;
}

label {
    display: inline-block;
    margin-bottom: 0.5rem;
}


.btn-success {
    color: #fff;
    background-color: #297373;
    border-color: #297373
}

.btn-success:hover {
    color: #fff;
    background-color: #236262;
    border-color: #215c5c
}

.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.main-result {
    box-sizing: border-box;
    width: 100%;
    font-size: 3em;
}

.text-center {
    text-align: center !important;
}

.text-start {
    text-align: left !important;
}

.text-end {
    text-align: right !important;
}

.result {
    font-size: 24px;
    font-weight: bolder;
    text-align: center;
}

.navigation .home {
    max-width: 200px;
    max-height: 38px;
    overflow: hidden;
}

.rise {
    color: green;
}

.fall {
    color: red;
}

.marketStatus {
    font-size: 16px;
}

/* Styling for the TOC */
.toc {
    border: 1px solid #ccc;
    padding: 5px;
    background-color: #f9f9f9;
    margin: 20px 0px;
}

.toc ul li {
    margin-bottom: 5px;
}

.toc ul li a {
    text-decoration: none;
    color: #007bff;
}

.toc ul li a:hover {
    text-decoration: underline;
}

.user-country {
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1.5rem;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
    margin-bottom: 5px;
    ;

}

.user-country a {
    color: #fff;

}

@media (prefers-reduced-motion: reduce) {
    .user-country {
        transition: none;
    }
}

.user-country:hover {
    color: #212529;
}

.user-country:hover {
    color: #fff;
    background-color: #0b5ed7;
    border-color: #0a58ca;
}


.table-responsive {
    width: 100%;
    overflow-x: auto;
    display: block;
}

@media (max-width: 575.98px) {
    .table-responsive-sm {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 767.98px) {
    .table-responsive-md {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 991.98px) {
    .table-responsive-lg {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 1199.98px) {
    .table-responsive-xl {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 1399.98px) {
    .table-responsive-xxl {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* breadcrumbs */
.breadcrumb {
    list-style: none;
    padding: 8px 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: #555;
}

.breadcrumb li a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb li a:hover {
    text-decoration: underline;
    color: #0056b3;
}

.breadcrumb li+li::before {
    content: "›";
    /* Separator */
    padding: 0 6px;
    color: #888;
    font-size: 14px;
}

.breadcrumb li.active span {
    color: #222;
    font-weight: 600;
}

nav[aria-label="breadcrumb"] {
    margin-bottom: 10px;
}

/* NAV CONTAINER */
nav.navigation {
    position: relative;
    z-index: 10;
    padding: 10px;
    background-color: dimgrey;
}

.nav-logo {
    padding: 0 10px;
    overflow: hidden;
}

.nav-logo a img {
    max-width: none;
}

/* DESKTOP MENU */
ul.nav-menu {
    padding-left: 10px;
    margin: 0;
    list-style: none;
    float: left;
}

ul.nav-menu li {
    float: left;
}

ul.nav-menu li a {
    display: block;
    height: 50px;
    line-height: 50px;
    padding: 0 15px;
    color: #F4EBCE;
    text-decoration: none;
    transition: color 0.3s ease;
}

ul.nav-menu li a:hover {
    color: #fff;
}

/* MOBILE TOGGLE BUTTON */
.nav-toggle {
    display: none;
    position: absolute;
    top: 5px;
    right: 0;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

span.icon-bar {
    position: absolute;
    right: 12px;
    display: block;
    width: 40px;
    height: 8px;
    background-color:#F4EBCE;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.icon-bar:nth-child(1) {
    top: 10px;
}

.icon-bar:nth-child(2) {
    top: 26px;
}

.icon-bar:nth-child(3) {
    top: 42px;
}

/* FULLSCREEN OVERLAY */
.nav-overlay {
    position: fixed;
    /* Changed to fixed so it covers the entire viewport */
    top: 5px;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* HAMBURGER TO "X" ANIMATION */
.nav-toggle.active .icon-bar:nth-child(1) {
    top: 24px;
    transform: rotate(45deg);
}

.nav-toggle.active .icon-bar:nth-child(2) {
    width: 0;
    opacity: 0;
}

.nav-toggle.active .icon-bar:nth-child(3) {
    top: 24px;
    transform: rotate(-45deg);
}

/* MOBILE RESPONSIVE STYLES */
@media screen and (max-width: 767px) {
    nav.navigation {}

    .nav-toggle {
        display: block;
    }

    ul.nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        max-height: 0;
        /* Smooth slide-down effect instead of abrupt height changes */
        overflow: hidden;
        padding: 0;
        z-index: 6;
        transition: max-height 0.3s ease-in-out;
        max-width: none;
    }

    ul.nav-menu.active {
        max-height: 500px;
        /* Adjust if your menu items grow drastically */
    }

    ul.nav-menu li {
        width: 100%;
    }

    ul.nav-menu li a {
        width: 100%;
        text-align: center;
        background-color: darkgray;
        /* Cleaner look than stark lightcyan */
        border-bottom: 1px solid #F4EBCE;
    }

    ul.nav-menu li a:hover {}

    .nav-logo {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media screen and (min-width: 768px) {
    .nav-overlay.active {
        visibility: hidden;
        opacity: 0;
    }
}