* {
    -webkit-locale: auto;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
}

body {
    font-family: 'Bai Jamjuree', 'Ubuntu', sans-serif;
    font-size: 17px;
    line-height: 28px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    color: #000;
    background-color: #f0f0f0;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
}

a {
    color: #000;
}

/* HEADER */

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-flow: row wrap;
    padding-bottom: 10px;
}

.header-bg {
    background: linear-gradient(to bottom, #f0f0f0, 95%, rgba(240,240,240,0.6));
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.logo {
    font-family: 'Cousine', monospace;
    font-size: 18px;
    padding-left: 10px;
    width: 25%;
    display: flex;
    align-items: flex-end;
    min-height: 47px;
}

.logo-color {
    background-color: #dc3192;
    display: flex;
    align-items: flex-end;
    color: #fff;
    height: 100%;
    padding: 0 5px;
}

.logo a {
    text-decoration: none;
    color: #fff;
}

.header-title {
    padding-top: 11px;
    margin-left: -10px;
    width: 20%;
    font-size: 18px;
    line-height: 18px;
    font-family: 'Anonymous Pro', monospace;
}

/* SUBMENU */

.landingMenu {
    display: flex;
    flex-flow: row nowrap;
    justify-content: start;
    width: fit-content;
    min-height: 35px;
}

.landingMenuItem {
    display: block;
    padding: 0 15px;
    border-right: 1px solid #000;
    font-size: 18px;
    text-transform: uppercase;
}

.landingMenuItem a {
    text-decoration: none;
    color:rgb(75, 75, 75);
}

.landingMenuItem a {
    text-decoration: none;
    color:rgb(75, 75, 75);
}

.landingMenuItem:hover a {
    background-color: #fe9999;
}

.landingMenuItem a:hover {
    display: block;
}

.landingMenuItemFirst {
    padding-left: 0;
}

.landingMenuItemLast {
    border-right: none;
}

.landingMenuActive {
    border: none;
}

.landingMenu a, .landingMenu li, .adminMenu li {
    white-space: nowrap; 
}

.submenu {
    width: 100%;
    font-size: 18px;
    margin-top: 0.3em;
}

.submenu, .submenu a {
    color: rgb(75, 75, 75);
}

.submenu li {
    display: inline;
    margin: 0;
    padding-right: 1em;
}

.submenuActive {
    border-top: 3px solid black;
}

/* COMMON */

article li {
    margin-left: 40px;
}

cite {
    font-style: normal;
    font-size: 0.9em;
    line-height: 1em;
    color: #999;
}

cite a {
    color: #999;
}

.noDecor {
    text-decoration: none;
    border: none !important;
}

.bold {
    font-weight: 900;
}

.center {
    width: 100%;
    text-align: center;
}

blockquote {
    width: 100%;
    margin: 0;
    padding: 0 10px 0 20px;
    border-left: solid 8px #000;
    font-style: italic;
}

.redBlockquote {
    border-left: solid 8px #f00;
    margin-top: 8px;
}

.highlight {
    margin-left: -28px;
    width: 104%;
    padding: 10px 10px 10px 20px;
    border-left: solid 8px #000;
    background-color: #fff;
}

table, .news-table {
    width: 100%;
    border-collapse: collapse;
    overflow: auto;
}

table tr:hover, .news-table tr:hover {
    background-color: #fafafa;
}

th {
    text-align: left;
    background-color: #ffffff;
    font-size: 0.9em;
}

tr:nth-child(even) {
    background-color: #ffffff;
    border-bottom: 1px #ccc solid;
    border-top: 1px #ccc solid;
}

th, td {
    padding: 7px;
}

.tdRight {
    text-align: right;
}

.tdLeft {
    text-align: left;
}

.td30 {
    width: 30%;
}

.td40 {
    width: 40%;
}

.td50 {
    width: 50%;
}

.td-center {
    text-align: center;
    padding: 7px;
}

.border-bottom-ссс {
    border-bottom: 1px #ccc solid;
}

.bordered {
    margin-left: -20px;
    padding: 0 10px 0 20px;
    border: 1px solid #000;
}

/* PAGE */

.pageContent {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    padding: 70px 10px 50px 10px;
    z-index: 1;
}

.topNavigation {
    padding: 0 5% 0 24%;
    width: 93%;
}

.pageParentTitle {
    padding: 30px 10px 30px 0;
    font-size: 2.2em;
    line-height: 0.85em;
    font-weight: 900;
    width: 100%;
}

h1, h2, h3, h4, .pageParentTitle {
    text-transform: uppercase;
    font-weight: 700;
}

h3 {
    text-align: center;
}

h4 {
    margin-bottom: 0;
}

.smallText, .newsData, .post-tag, .list-tag {
    font-size: 0.8em;
    color: #4c4c4c;
    line-height: 1em;
}


.insetBlock {
    width: 19%;
    min-height: 300px;
    color: #4c4c4c;
    padding-top: 1.7em;
    font-family: 'Anonymous Pro', monospace;
    text-transform: uppercase;
}

.insetBlock li {
    line-height: normal;
    padding-top: 10px;
}

.insetTitle {
    margin: 0;
}

.insetBlock a {
    color: #999;
}

.insetList {
    margin: 0;
}

.insetListCurrentItem {
    font-weight: 900;
    color: #000;
}

article {
    padding: 0 5% 50px 5%;
    width: 74%;
}

article a {
    text-decoration: none;
    border-bottom: 1px solid #dc3192;
}

article a:hover {
    background-color: #ee95c7;
}

article a:visited {
    border-bottom: 1px solid #ccc;
    background-color: #ccc;
}

article img {
    width: 100%;
}

.math {
    display: block;
    width: 100%;
    font-style: italic;
    text-align: center;
    white-space: nowrap;
    padding: 20px;
    border-left: solid 8px #000;
    background-color: #fff;
}

.totalQuickViewHeader {
    width: 100%;
    text-align: center;
    font-weight: 900;
    font-size: 22px;
    padding: 5px;
    position: relative;
}

.QVupdate {
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 14px;
    color: #4c4c4c;
    font-weight: 400;
}

.totalQuickView {
    padding: 20px 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: start;
    width: fit-content;
    min-height: 35px;
    width: 100%;
    border-bottom: 2px solid #000;
    border-top: 2px solid #000;
}

.assetsQuickViev {
    padding: 20px 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: start;
    width: fit-content;
    min-height: 35px;
    width: 100%;
}

.quickViewBlock {
    border-right: 1px solid #000;
    width: 24%;
    text-align: center;
}

.quickViewBlockLast {
    text-align: right;
    width: 25%;
}

.quickViewTotalLast {
    text-align: center;
    width: 25%;
}

.assetData {
    padding: 30px 15px;
    font-size: 2em;
    font-weight: 900;
}

.assetData img {
    width: 50px;
    height: 50px;
}

.totalQuickViewSmall {
    padding: 10px 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: start;
    width: fit-content;
    min-height: 35px;
    width: 100%;
    border-bottom: 2px solid #000;
}

.quickViewSmall {
    width: 24%;
    text-align: center;
    font-family: 'PT Sans', sans-serif;
    font-size: 0.9em;
}

.assetDataSmall {
    font-size: 1.2em;
    font-weight: 900;
    display: inline;
}

.assetWallet {
    text-align: right;
    width: 100%;
    border-bottom: 2px solid #000;
    padding: 0 20px 10px;
    font-size: 0.9em;
}

.walletIcon {
    position: relative;
    top: 4px;
    font-size: 20px;
}



/* FOOTER */

footer {
    width: 100%;
    background-color: #fafafa;
    color: #4c4c4c;
    font-size: 0.9em;
    position: relative;    
}

.footer-wrapper {
    display: flex;
    padding: 20px 10px 10px;
}

.footer-icon {
    width: 20px;
    position: relative;
    top: 4px;
}

.copyright {
    width: 24%;
    padding: 20px 0 20px 10px;
    line-height: 1.5em;
}

.policies {
    width: 65%;
    padding: 18px 10px 10px 0;
}

.canary {
    position: absolute;
    top: 40px;
    right: 20px;
}

/* CHART */

.chartWrapper {
    width: 105%;
    margin-left: -20px;
    padding: 10px 10px 20px;
    background-color: #fff;
}

.chartTitle {
    margin: 15px 0 8px;
    font-size: 1em;
}

.c3-ygrid-line.black line {
    stroke: black;
}

.chart320 {
    height: 320px;
}

.chart500 {
    height: 500px;
}

.chart700 {
    height: 700px;
}

.chart320, .chart500, .chart700 {
    width: 100%;
    text-align: center;
}

.chart320 img, .chart500 img, .chart700 img {
    width: 50px;
    height: 50px;
    position: relative;
    top: 40%;
}

/* HOME */

.anyBodyCould {
    position: absolute;
    top: 40vh;
    left: 0;
    width: 100%;
    opacity: 0.5;
}

.homeFirstScreen {
    display: block;
    width: 100%;
    height: 100vh;
    background-image: image-set(
        url(/static/img/bg/abc-wp.jpg) 1x,
        url(/static/img/bg/abc-wp-2x.jpg) 2x
    );
    transition: background-image 0.5s ease-in;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    z-index: 0;
}

.homeViewport {
    height: 95vh;
    display: flex;
    flex-flow: column nowrap;
    justify-content: end;
}

.homeTopNavigation {
    padding-bottom: 30px;
    font-weight: 700;
    color: #000;
}

.homeAbout {
    padding-bottom: 30px;
    font-size: 1.8em;
    line-height: 1.3em;
    width: 100%;
    text-align: right;
}

.homeContent {
    text-align: center;
    margin: auto;
    width: 60%;
    max-width: 1000px;
}

.homeCalc {
    width: 100%;
    text-align: right;
    padding-bottom: 50px;
}

.homeCalc a {
    cursor: pointer; 
}

.homeCalc a:visited {
    background-color: #dc3192;
}

.homeCalcButton {
    position: relative;
    display: inline-block;
    padding: 15px 35px;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-size: 1.2em;
    outline: none;
    background: #dc3192;
    border: 1px solid transparent;
    border-radius: 35px;
    box-shadow: 1px 3px 3px 1px rgba(0, 0, 0, 0.2);
}

.homeCalcButton:hover {
    background: #000;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4);
}

.homeCalcButton:active {
    background: #7b7b7b;
    box-shadow: 0 -1px rgba(255,255,255,.4) inset;
}

.homePic {
    margin: 20px 0;
    width: 60%;
}

/* HAMBURGER */

.menu {
    position: fixed;
    transform: translateX(100%);
    transition: transform 0.2s;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    list-style: none;
    padding-top: 2rem;
    margin-block-start: 0;
    margin-block-end: 0;
    background-color: #000;
    color: #fff;
}

.menu li {
    margin: 10px 20px;
}

.menu a {
    text-decoration: none;
    color: #fff;
}

.menuItem, .currentMenuItem {
    margin: 25px 5px;
    font-size: 1.25rem;
    text-transform: uppercase;
}

.currentMenuItem {
    font-weight: 900;
}

.navIcon {
    font-size: 20px;
    position: relative;
    top: 5px;
    display:inline-block;
}
  
.hamburger {
    position: fixed;
    z-index: 100;
    top: 5px;
    right: 10px;
    padding: 4px;
    cursor: pointer;
    border: none;
    background-color: rgba(1,1,1,0);
    color: #000;
}
  
.closeIcon {
    display: none;
    color: #fff;
}
  
.showMenu {
    transform: translateY(0);
}

nav a:hover, .menuItem:hover {
    color: #dc3192;
    text-decoration: none;
    border-bottom: solid 6px #dc3192 !important;
}

/* ADMIN */

.topNavigationAdmin {
    padding: 0 0 0 24%;
    width: 100%;
    position: relative;
}

.logout {
    position: absolute;
    right: 0;
    top: 1px;
    font-size: 14px;
    width: fit-content;
}

.adminMenu {
    list-style-type: none;
    margin: 0;
}

.adminMenu li {
    display: inline;
    margin: 0;
    padding-right: 25px;
}

.adminArticle {
    padding: 0 0 50px 0;
    width: 100%;
}

.editTable {
    text-decoration: none;
    border-bottom: 1px solid #ccc;
}

.editTable:hover {
    background-color: #ccc;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #f0f0f0;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    height: 50%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    position: relative;
}

.modalForm {
    display: flex;
    flex-flow: column nowrap;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.adminForm input {
    padding: 8px;
    border-radius:10px;
    border: 1px solid #eee;
    transition: .3s border-color;
    font-size: 15px;
}

.adminForm select {
    padding: 8px;
    border-radius:10px;
    border: 1px solid #eee;
    transition: .3s border-color;
    font-size: 15px;
}

.adminForm button, input.btn, .inputButton {
    padding: 8px;
    border: none !important;
    background-color:#dc3192 !important;
    color:#fff;
    font-weight:600;
    border-radius:10px !important;
    font-size: 15px;
    width: 204px;
}

.formSubmitSmall {
    width: fit-content !important;
    padding: 5px 10px !important;
    font-size: 13px !important;
    margin-right: -5px;
}


/* OTHER */

.decorativeLine {
    margin-top: 15px;
    border: 1px solid #000;
}

.positive {
    color: green;
}

.superpositive {
    color: green;
    font-weight: 900;
}

.negative {
    color: red;
}

.supernegative {
    color: red;
    font-weight: 900;
}

.sell {
    background-color: #ffe6e6 !important;
}

.buy {
    background-color: #e6ffe6 !important;
}

.fundIcon {
    position: relative;
    top: 5px;
    color: #999;
}

.listColumns, .listTwoColumns, .listThreeColumns {
    margin-bottom: 40px;
    list-style: none;
}

.listColumns {
    column-count: 4;
}

.listThreeColumns {
    column-count: 3;
}

.listTwoColumns {
    column-count: 2;
}

.listColumns li, .listTwoColumns li, .listThreeColumns li {
    page-break-inside: avoid;
    break-inside: avoid;
    margin-left: 0;
    padding-right: 10px;
}

.fundsChartList {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    width: 100%;
}

.fundChartItem {
    width: 50%;
    padding: 40px 0;
    text-align: center;
    border-bottom: 2px solid #000;
}

.hiddenTable tr {
    width: 100%;
    background-color: #f0f0f0;
    border: none;
}

.hiddenTable tr:hover {
    background-color: #f0f0f0;
}

.fullscreen {
    width: 100%;
    padding: 0 10px 50px 0;
}

.performanceTables td{
    padding: 0;
    vertical-align: top;
}

.performanceTables tr:hover, .performanceTable {
    background-color: #f0f0f0;
}

.performanceTables th{
    text-align: center;
}

.performanceTable td{
    padding: 3px;
}

.constructionNotice {
    text-align: center;
    display: block;
    width: 100%;
    background: url(/static/img/bg/construction-bg.svg);
    padding: 20px 10px;
    margin-bottom: 15px;
}

.paddingTop20 {
    padding-top: 20px;
}

/* MOBILE */

@media (max-width: 667px) {
    .mobileHidden {
        display: none;
    }

    .logo {
        width: 15%;
    }

    .logo, .header-title {
        font-size: 14px;
    }

    .header-title {
        width: 45%;
        margin: 0;
        padding-top: 14px;
        padding-left: 11px;
        font-size: 16px;
        line-height: 14px;
    }

    .menuItem, .currentMenuItem {
        font-size: 1em;
    }

    .topNavigation {
        padding: 0;
        width: 100%;
    }

    .landingMenu {
        min-height: 25px;
    }

    .landingMenu, .adminMenu, .performanceTables {
        display: flex;
        flex-flow: nowrap;
        overflow-x: auto;
        max-width: 100%;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .landingMenu::-webkit-scrollbar, .adminMenu::-webkit-scrollbar, table::-webkit-scrollbar, .tableWide::-webkit-scrollbar, .performanceTables::-webkit-scrollbar {
        display: none;
    }

    .landingMenuItem {
        font-size: 16px;
    }

    article {
        font-size: 15px;
        line-height: 20px;
        padding: 0 0 50px 0;
        width: 100%;
    }

    .fullscreen {
        padding: 0 0 50px 0;
    }

    .pageParentTitle {
        font-size: 1.5em;
        padding: 10px 0;
    }

    .insetBlock {
        width: 100%;
        min-height: 23px;
        padding: 5px 0;
        border-top: 2px solid #000;
        font-size: 14px;
    }

    .insetList {
        list-style-type: none;
        margin: 0;
        display: flex;
        flex-flow: nowrap;
        overflow-x: auto;
        max-width: 100%;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .insetList::-webkit-scrollbar {
        display: none;
    }
    
    .insetBlock li {
        display: inline;
        margin: 0;
        padding-right: 25px;
    }

    .totalQuickViewHeader {
        font-size: 18px;
        padding: 0;
    }

    .QVupdate {
        font-size: 0.6em;
        top: 0;
    }

    .totalQuickView, .totalQuickViewSmall, .assetsQuickViev {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0;
        margin-top: 5px;
    }

    .quickViewBlock, .quickViewTotalLast, .quickViewBlockLast, .quickViewSmall {
        font-size: 0.9em;
        width: 50%;
        padding: 5px 0;
    }

    .quickViewTotalLast {
        border-bottom: 1px solid #000;
    }

    .quickViewBlockLast {
        text-align: center;
    }

    .quickViewBlock {
        border-right: none;
        border-bottom: 1px solid #000;
    }

    .assetData {
        padding: 0 0 5px;
        font-size: 1.5em;
    }

    .textIndent {
        width: 100%;
        padding-left: 20px;
    }

    table {
        font-size: 13px;
        width: 100%;
        overflow-x: auto;
        max-width: 100%;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .tableWide {
        flex-flow: column;
        table-layout: fixed;
        overflow-x: auto;
        max-width: 100%;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .highlight {
        margin: 0;
        width: 100%;
        padding: 5px 5px 5px 10px;
    }

    .chartWrapper {
        margin-left: -10px;
        width: 105%;
    }

    .chart320 {
        width: 100%;
    }

    .decorativeLine {
        margin-top: 5px;
    }

    .math {
        font-size: 12px;
    }

    .footer-wrapper {
        flex-direction: column;
    }

    .copyright, .policies {
        width: 100%;
        padding: 10px 0;
    }

    /* HOME */

    .homeViewport {
        height: 90vh;
    }

    .anyBodyCould {
        top: 30vh;
    }

    .homeAbout {
        padding: 20px 0;
        font-size: 1.1em;
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
    }

    .homeCalc {
        width: 100%;
        padding: 0 0 10px;
        font-size: .9em;
    }

    .homeCalcButton {
        padding: 10px 20px;
        font-size: 1em;
    }

    /* ADMIN */

    .logout {
        left: 0;
        top: 4px;
    }

    .adminForm label {
        font-size: 15px;
    }

    .adminForm input {
        background-color: #f0f0f0;
        border-bottom: 1px solid #666;
        border-radius: 0;
    }

    .adminForm select {
        font-size: 13px;
    }
}

@media (max-width: 492px) {
    .tableWide {
        display: block;
    }
}