body,
span,
p,
a,
button,
input,
ul,
li,
button:focus {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    text-decoration: none;
    background: inherit;
    font-family: inherit;
    color: inherit;
    border: inherit;
    margin: inherit;
    padding: inherit;
    height: inherit;
    outline: none;
}

body {
    background: var(--c1);
    color: var(--c4);
    font-family: sans-serif;
}

button:hover {
    cursor: pointer;
}

:root {
    --dark-blue: #1B222B;
    --black: #0D0D0D;
    --blue: rgb(0, 100, 162);
    --off-blue: #252e3b;
    --white: white;
    --green: #92D050;
    --red: #FF2525;
    --grey: #d3d3d3;
    --light-grey: #7F7F7F;
    --light-blue: #CDF2FF;
    --m1: 20px;
    --m2: 40px;
    --c1: var(--dark-blue);
    --c2: var(--black);
    --c3: var(--blue);
    --c4: var(--white);
    --c5: var(--green);
    --c6: var(--red);
    --c7: var(--grey);
    --c8: var(--light-grey);
    --c9: var(--light-blue);
    --c10: var(--off-blue);
    --c11: #9da4c7;
    --s0: 1.1rem;
    --s1: 1rem;
    --s2: 0.9rem;
    --s3: 0.8rem;
    --s4: 0.7rem;
}

#pop {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: var(--c8);
    opacity: 0.85;
    z-index: 5;
}

.pop-main {
    background: var(--c1);
    opacity: 1;
    z-index: 5;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translatey(-50%) translatex(-50%) rotateY(0deg);
    width: 80%;
    max-width: 300px;
    white-space: nowrap;
    border-radius: 6px;
    padding: 10px;
    box-shadow: 0 0 20px var(--c2);
}

.premium-pop-p {
    text-align: center;
    white-space: normal;
    font-size: var(--s2);
    line-height: 1.4;
    margin: 10px 10px;
}

.main-pop-t-l {
    display: grid;
    justify-content: start;
    align-items: start;
}

.main-pop-t-l span {
    transform: translateY(-4px);
}

.sticky-header {
    padding-top: 10px;
    position: sticky;
    /* top: 50px; */
    top: 51px;
    z-index: 3;
    background: var(--c2);
}

@media screen and (min-width: 745px) {
    .sticky-header {
        /* top: 86px; */
        top: 85px;
    }
}

.t-t-dummy {
    background: var(--c2);
    display: grid;
    grid-template-columns: var(--m1) auto var(--m1);
    align-content: end;
    align-items: end;
    width: 100%;
    z-index: 1;
}

.t-t {
    display: grid;
    grid-template-columns: min-content auto min-content;
    align-content: start;
    align-items: start;
    white-space: nowrap;
    margin-bottom: -2px;
}

.t-t p:nth-child(1) {
    font-size: var(--s0);
    font-weight: bold;
}

.t-t p:nth-child(2) {
    font-size: var(--s3);
    margin-left: 5px;
    transform: translateY(1px);
    text-align: left;
}

#company-name {
    overflow: hidden;
    text-overflow: ellipsis;
}

.t-m1-dummy {
    background: var(--c2);
    display: grid;
    grid-template-columns: var(--m1) auto var(--m1);
    align-content: start;
    align-items: start;
    width: 100%;
    z-index: 1;
}

.t-m1 {
    display: grid;
    grid-template-columns: repeat(2, min-content);
    white-space: nowrap;
    font-size: var(--s0);
}

.t-m1 p:nth-child(2) {
    font-size: var(--s3);
    margin-left: 10px;
}

.t-m1-r {
    color: var(--c5);
}

.t-m2-dummy {
    background: var(--c2);
    display: grid;
    grid-template-columns: var(--m1) auto var(--m1);
    align-content: start;
    align-items: start;
    width: 100%;
    font-size: var(--s4);
    color: var(--c8);
    padding-bottom: 10px;
}

#add-wl {
    font-size: var(--s3);
    /* border: 1px solid var(--c8); */
    font-weight: bold;
    background: var(--c9);
    color: var(--c2);
    border-radius: 1px;
    padding: 5px 8px;
    cursor: pointer;
}

.blinking {
    animation: blinkingText 1.0s 1;
}

@keyframes blinkingText {
    0% {
        color: transparent;
    }

    20% {
        color: var(--c4);
        text-shadow: 0 0 2px var(--c9), 0 0 3px var(--c9), 0 0 4px var(--c9);
    }

    60% {
        color: var(--c4);
        text-shadow: 0 0 2px var(--c9), 0 0 3px var(--c9);
    }

    70% {
        color: var(--c4);
        text-shadow: 0 0 2px var(--c9);
    }

    100% {
        color: var(--c4);
    }
}

#watchlist-scroll::-webkit-scrollbar {
    height: 4px;
    width: 6px;
    background: transparent;
}

#watchlist-scroll::-webkit-scrollbar-track:vertical {
    background: transparent;
}

#watchlist-scroll::-webkit-scrollbar-thumb:vertical {
    background: var(--c9);
}

#watchlist-scroll {
    overflow-y: auto;
    max-height: 60vh;
    -ms-overflow-style: none;
    scrollbar-color: var(--c9) transparent !important;
    scrollbar-width: thin !important;
    display: grid;
    grid-template-columns: min-content auto;
    margin: 10px 10%;
}

.watchlist-option-label {
    margin: 0;
    margin-top: 8px;
    margin-left: 8px;
    transform: translateY(-4px);
    text-overflow: ellipsis;
    overflow-x: hidden;
}

.main-pop-t {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
}

.main-pop-t-l {
    display: grid;
    justify-content: start;
    align-items: start;
}

.main-pop-t-l span {
    transform: translateY(-4px);
}

.main-pop-t-c {
    text-align: center;
    display: grid;
    justify-content: center;
    font-size: var(--s1);
    font-weight: bold;
    white-space: normal;
}

.b-b-dt,
.b-b-dt:focus {
    /* border: solid 1px var(--c3); */
    background: var(--c3);
    text-align: center;
    border-radius: 2px;
    padding: 8px 0;
    margin: 0;
    font-size: var(--s3);
}

.down {
    color: var(--c6);
}

.premium-pop-p {
    text-align: center;
    white-space: normal;
    font-size: var(--s2);
    line-height: 1.4;
    margin: 10px 10px;
}

#premium-pop-t-c {
    font-size: var(--s0);
}

#premium-pop-p1 {
    margin-top: 15px;
    margin-bottom: 15px;
}

#premium-pop-p2 {
    font-size: var(--s3);
}

#premium-pop-p2 span {
    margin: 0;
    text-decoration: underline;
    color: var(--c9);
}

#premium-pop-lm {
    margin-bottom: -5px;
}

.main-pop-o {
    background: var(--c9);
    font-size: var(--s1);
    font-weight: bold;
    text-align: center;
    margin: 10px;
    color: var(--c1);
    border-radius: 3px;
    display: grid;
    align-content: center;
    white-space: normal;
    cursor: pointer;
}

#main-wr {
    display: grid;
    justify-content: center;
    justify-items: center;
    grid-template-columns: auto auto;
    column-gap: 30px;
    margin: 0;
    padding: 0 20px;
    /* background: #13163d; */
}

@media screen and (max-width: 1080px) {
    #main-wr {
        grid-template-columns: auto;
        margin: 0;
        padding: 0;
    }
}
#titles-outer {
    display: grid;
    position: sticky;
    top: 154px;
    z-index: 2;
    background: #202854;
}
@media screen and (min-width: 745px) {
    #titles-outer {
        top: 188px;
    }
}

#test-table,
#test-table-titles,
#titles-symbol {
    align-content: start;
    overflow-x: auto;
    cursor: pointer;
    scrollbar-color: var(--c9) #191d45 !important;
    scrollbar-width: thin !important;
}

#titles-symbol {
    border-right: solid 2px black;
}

#test-table-titles::-webkit-scrollbar,
#titles-symbol::-webkit-scrollbar {
    height: 6px;
    width: 4px;
    background: none;
}

#test-table-titles::-webkit-scrollbar-track:horizontal,
#titles-symbol::-webkit-scrollbar-track:horizontal {
    background: none;
}

#test-table-titles::-webkit-scrollbar-thumb:horizontal,
#titles-symbol::-webkit-scrollbar-thumb:horizontal {
    background: var(--c9);
    /* border-radius: 10px; */
}
#test-table {
    scrollbar-width: none !important;
}

#test-table::-webkit-scrollbar {
    appearance: none;
    -webkit-appearance: none;
    display: none;
}

.test-table-item {
    min-width: 100px;
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    height: min-content;
    margin: 0px;
    padding-bottom: 0px;
    /* border-right: solid 2px black; */
}

.test-table-item1 {
    border: none;
    border-right: solid 2px black;
    display: grid;
    grid-template-columns: 100%;
    justify-content: start;
    background: #202854;
    max-width: 100% !important;
}

.test-table-item1 a {
    justify-self: start;
    padding-left: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.test-table-item-row {
    margin: 0;
    padding: 0;
    height: 50px;
    display: grid;
    align-content: center;
    justify-content: center;
    color: var(--c4);
    background: none;
    justify-self: min-content;
    z-index: 1;
}
.column-wr {
    background: none;
}
@media screen and (min-width: 380px) and (max-width: 440px) {
    .test-table-item {
        min-width: 110px;
    }
}
.column-title {
    height: 40px;
    text-align: center;
    display: grid;
    grid-template-columns: auto min-content;
    justify-content: center;
    align-content: end;
    align-items: end;
    padding-bottom: 10px;
    font-size: var(--s3);
    background: var(--c2);
    background: #202854;
    background: #191d45;
    cursor: pointer;
}

.column-title::after {
    content: '⇅';
    margin-left: 2px;
    color: var(--c9);
}
.makegreen {
    color: var(--c5);
}

.makered {
    color: var(--c6);
}
.info-icon {
    color: var(--c9);
    font-size: var(--s1);
    margin: 0;
    padding: 0;
    font-weight: bold;
}
.same-day-warning,
.same-day-warning:focus {
    width: 90%;
    height: 36px;
    margin: 7px;
    background: var(--c9);
    background: none;
    color: var(--c4);
    font-size: var(--s3);
    border-radius: 3px;
    border: none;
}

#performance-sec {
    display: grid;
    justify-content: stretch;
    background: #050757;
    background: #30308a;
    background: #20205e;
    padding: 0 5px;
    padding-bottom: 10px;
    max-width: calc(100vw - 28px);
    margin: 0;
    border: solid 1px white;
    border-radius: 8px;
}

#performance-main-title {
    font-size: var(--s1);
    font-weight: bold;
    text-align: center;
    border: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
    padding-top: 20px;
    background: transparent;
}

#performance-sec-wr {
    display: grid;
    grid-template-columns: repeat(6, auto);
    justify-content: space-around;
    margin: 0;
    padding: 0 20px;
    white-space: nowrap;
    column-gap: 30px;
}

#performance-sec div div {
    margin: 0;
    margin-bottom: 5px;
    padding: 0;
    font-size: var(--s3);
    display: grid;
    grid-template-columns: max-content min-content;
    grid-template-columns: 1fr;
    justify-content: center;
    justify-items: center;
    align-content: center;
    align-items: center;
    column-gap: 5px;
}

.performance-val {
    font-size: var(--s4);
    text-decoration: none;
    color: #D3D3D3;
    margin-bottom: 0;
}

.performance-title {
    font-size: var(--s4);
    text-decoration: none;
    text-align: center;
    /* margin-bottom: 5px; */
    margin-bottom: 2px;
}

@media screen and (max-width: 625px) {
    #performance-sec-wr {
        grid-template-columns: repeat(3, auto);
    }
}
@media screen and (max-width: 380px) {
    #performance-sec-wr {
        padding: 0 5px;
    }
}
@media screen and (max-width: 335px) {
    #performance-sec-wr {
        grid-template-columns: repeat(2, auto);
        padding: 0 20px;
    }
    #performance-main-title {
        padding: 0 10px;
        padding-top: 20px;
    }
}

.performance-rank {
    /* margin-top: 5px; */
    margin-top: 2px;
    color: var(--c9);
    color: gold;
    text-decoration: underline;
    font-size: var(--s4);
}

#video-wrapper-iframe-big {
    display: grid;
    justify-content: center;
    justify-items: center;
    grid-template-columns: var(--m1) calc(100% - var(--m1) - var(--m1)) var(--m1);
    max-height: 337.5px;
}

#video-wrapper-iframe {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    padding-top: 56.25%;
}

.youtube-video-container {
    padding-top: 56.25%;
    height: 0px;
    position: relative;
}

.youtube-video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 6px;
    transform: translateX(-2px);
}