* {
    margin: 0;
    padding: 0;
}
html *,
html:after,
html:before {
    box-sizing: inherit;
}
html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}
body {
    position: fixed;
    margin: 0 auto;
    width: 100%;
    display: inline-block;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}

.container {
    position: relative;
    display: block;
    width: 100%;
    max-width: 660px;
    min-width: 290px;
    height:100%;
    height:560px;
    margin: auto;
    overflow: hidden;
    background-color: #fff;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}

/* cunstom hearder   */
.header{
    margin: 16px auto 10px 15px;
    width: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: stretch;
    justify-content: space-between;
    align-items: flex-end;
}

.header img{
    height: 80px;
    display: block;
}

#sortNote{
    font-style: italic;
    font-size: 14px;
    color: #8f8f8f;
    width: 48%;
    float: inline-end;
    margin: auto 10px 5px auto;
}

#tableContainer {
    position: relative;
    display: block;
    top: 0;
    left: 0;
    height: 420px;  
    margin: 0 auto;
    max-width: 640px;
    min-width: 290px;
    text-align: center;
    overflow: hidden;
    overscroll-behavior: contain;
}

/* customize chart  start*/

table{
   font-size: 14px !important;
   text-align: center;
   border-collapse: collapse;
   width: 100%;
   table-layout: fixed;
   margin:auto 10px;
   height:fit-content ;
   transition: 0.2s ease-in-out;
}

thead {
    position: sticky;
    top: 0;
    background-color: #fff;
}

/* customize searching box start */
.search{
    position: absolute;
    top: 20px;
    left: 10px;
    width:36%;
    height: 8%;
    z-index: 1000;
}

input[type="search"] {
    padding: 8px 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    transition: box-shadow 0.3s ease-in-out;
  }
  
input[type="search"]:focus {
    box-shadow: 0 0 2px #1328593d;
}

input[type="search"]::placeholder {
    color: #999;
    font-style: italic;
    font-size: 13px;
}

/* customize searching box end */

thead th:nth-of-type(1){
    opacity: 0;
}

table thead tr{
    color: #132859;
    height: 60px;
}

thead th div{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: stretch;
    justify-content: center;
    align-items: center;
}

thead th:nth-of-type(1){
    width:19.5em;
}

thead th:nth-last-of-type(-n + 4){
    width:6em;
}

thead th img{
    margin-top:20px;
    width: 22px;
}

thead th p{
    margin-top: 20px;
    font-size: 16px;
}

/* customize radio button */
.radioContainer{
    position: absolute;
    top: 0;
}

input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid #132859;
    outline: none;
    transition: 0.2s ease-in-out;
  }

input[type="radio"]:checked {
    border-color: #132859;
    background-color: #ffffff;
}

input[type="radio"]::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: transparent;
    transition: 0.2s ease-in-out;
  }
  
input[type="radio"]:checked::after {
    background-color: #132859;
}
  
/* customize radio button end */

tbody{
    position:fixed;
    margin-top: 5px;
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 350px;
    display: block;
    table-layout: fixed;
    max-width: 640px;
    min-width: 290px;
    width: 100%;
    box-shadow: inset -6px -3px 10px 0px #13285938;

    --sb-track-color: #e8e8e8;
    --sb-thumb-color: #132859;
    --sb-size: 6px;
}

table tbody tr{
    color: #132859;
    height: 40px;
    border-bottom: 1px dotted #132859;
}

tbody tr td:nth-of-type(2){
    text-align: left;
    width: 20em;
}

tbody tr td:nth-of-type(1){
    width: 5em;
}

tbody tr td:nth-last-of-type(-n + 4){
    width:8em;
}

/* custom scrollbar */
tbody::-webkit-scrollbar {
    width: var(--sb-size);
}
  
tbody::-webkit-scrollbar-track {
    background: var(--sb-track-color);
    border-radius: 3px;
}
  
tbody::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color);
    border-radius: 1px;
    outline: var(--sb-thumb-color) solid 3px;
}

tbody::-webkit-scrollbar-thumb:hover {
    background:#4d576fe6
}
  
@supports not selector(::-webkit-scrollbar) {
    tbody {
      scrollbar-color: var(--sb-thumb-color)
                       var(--sb-track-color);
    }
}
/* custom scrollbar end*/

/* customize chart  end*/

.note{
    font-size: 14px;
    color: #8f8f8f;
    letter-spacing: 0;
    line-height: 14px;
    font-style: italic;
    margin:2px auto;
}

.footer{
    margin-top: 4px;
}

.source {
    position: relative;
    float: left;
    font-size: 12px;
    color: #757170;
    width: 100%;
    border-top: 1px solid #eee;
    padding-top: 5px;
    text-decoration: none;
    color: #757170;
    cursor: pointer;
}

.logo {
    position: relative;
    display: inline;
    float: right;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: #848484;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
    z-index: 2;
    margin-top: -14px;
}
.logo a {
    text-decoration: none;
    color: #848484;
}
.logo .credit {
    font-weight: 100;
    text-transform: none;
    letter-spacing: none;
    margin-right: 10px
}

@media only screen and (max-width:440px) {

    #sortNote{
        font-style: italic;
        font-size: 12px;
        color: #8f8f8f;
        width: 48%;
        float: inline-end;
        margin: auto 10px 0 auto;
    }

    table{
        width: 98%;
    }

    thead th div{
        scale: 0.9;
    }

    thead th:nth-last-of-type(-n + 4){
        width:3.5em;
    }

    thead th:nth-last-of-type(3) .th-inner{
        transform: translateX(-7px);
    }

    thead th:nth-last-of-type(2) .th-inner{
        transform: translateX(-15px);
    }

    thead th:nth-last-of-type(1) .th-inner{
        transform: translateX(-20px);
    }

    thead th:nth-of-type(1){
        width:11.5em;
    }
    
    tbody{
        width: 95%;
    }

    tbody tr td:nth-of-type(2){
        width: 18em;
    }

    .note{
        margin: 0px 10px;
        font-size: 14px;
    }

    .footer{
        margin:2px 10px;
    }

}

@media only screen and (max-width:360px) {}

@media only screen and (max-width:320px) {}