/* Mobile */
@media screen and (max-width: 480px) {
    body {
        font-size: 12px !important;
    }

    .nes-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .navBtn {
        font-size: 5px;
    }

    .mobileModalBody {
        font-size: 10px;
    }

    .assetChartBtn {
        font-size: 9px;
    }

    .tableFont {
        font-size: 6px;
    }

    .orderTableFont {
        font-size: 6px;
    }

    .hiddenScroll {
        overflow-y: scroll ;
        height: 70vh;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .hiddenScrollPortfolio {
        overflow-y: scroll ;
        height: 90vh;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .hiddenScroll::-webkit-scrollbar {
        display: none;
    }

    .hiddenScrollPortfolio::-webkit-scrollbar {
        display: none;
    }

}

/* Desktop */
@media screen and (min-width: 500px) {

    .container {
        padding-right: 30%;
        padding-left: 30%;
    }

    .container-half {
        padding-right: 10%;
        padding-left: 10%;
    }

    .container-asset {
        padding-right: 15%;
        padding-left: 15%;
        max-height: 50vh !important;
    }

    .tableMargin {    
        margin-left: 5%;
        margin-right: 5%;
    }

    .tableFont {
        font-size: 12px;
    }

    .hiddenScroll {
        overflow-y: scroll ;
        height: 80vh;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .hiddenScrollPortfolio {
        overflow-y: scroll ;
        height: 90vh;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .hiddenScroll::-webkit-scrollbar {
        display: none;
    }

    .hiddenScrollPortfolio::-webkit-scrollbar {
        display: none;
    }

}

body {
    overflow-x: hidden; 
    overflow-y: hidden;
}

.isHidden {
    visibility: hidden;
    height: 0px !important;
    padding: 0px !important;
    margin-top: 0px !important;
    margin-right: 0px !important;
    margin-left: 0px !important;
    margin-bottom: 0px !important;
    /* border-width: 0px !important; */
}

.isVisible {
    visibility: visible;
    height: auto;
}

.center {
    text-align: center;
}

.progressDiv {
    z-index: 3;
    position: fixed;
    /* margin: auto; */
    top: 35%;
    left: 25px;
    /* right: 50%; */
    /* bottom: 15%; */
    width: 250px;
}

.progress {
    border-image-repeat: stretch !important;
}

.progressContainer {
    width: calc(100vw - 50px);
}

.form_field {
    border-image-repeat: stretch !important;
}

.search_field {
    width: calc(100% - 55px) !important;
    padding-right: 0px !important;
    margin-right: 0px !important;
    border-image-repeat: stretch !important;
    font-size: 16px;
}

.select-field {
    width: calc(100% - 12px) !important;
}

.theme-warning {
    background-color: #f7d51d;
    color: #212529;
    box-shadow: inset -4px -4px #e59400;
}

.theme-btn {
    background-color: transparent;
    border-color: transparent;
    /* width: 17px !important; */
    padding: 0px !important;
    margin: 0px !important;
}

.section-margin-top {
    margin-top: 8px;
}

.genericMargin {
    margin-top: 8px !important;
}

.genericPadding {
    padding-top: 20px;
}

.testPadding {
    padding-top: 20px;
}

.container-margin {
    margin-top: 4px;
    margin-right: 4px;
    margin-left: 4px;
    margin-bottom: 2px;
}

.nav-section {
    margin-top: 8px;
}

.logout-section {
    margin-top: 8px;
}

/* dropdown */
/* z index breaks darkmode*/

.dropdown{
    font-size: 12px;
    border-top: 0 !important;
    visibility: hidden;
    height: auto;
    padding: 0px !important;
}

/* table */
/* width breaks border image */

.tableStyle {
    width: calc(100% - 8px);
    border-image-repeat: stretch !important;
}

.heightControl {
    height: calc(100vh - 8px);
}

/* General Fixes for NES.CSS */

.nes-btn {
    border-image-repeat: stretch !important;
}

.nes-select {
    border-image-repeat: stretch !important;
}

/* Fix for NES.CSS dark mode */

.dark-fix {
    overflow: hidden;
}

h3.is-dark {
    color: #fff;
    background-color: #212529;
}

.nes-btn.is-dark {
    color: #fff;
    background-color: #212529;
    border-image-source: url('data:image/svg+xml;utf8,<?xml version="1.0" encoding="UTF-8" ?><svg version="1.1" width="5" height="5" xmlns="http://www.w3.org/2000/svg"><path d="M2 1 h1 v1 h-1 z M1 2 h1 v1 h-1 z M3 2 h1 v1 h-1 z M2 3 h1 v1 h-1 z" fill="rgb(255,255,255)" /></svg>');
}

.nes-progress.is-dark {
    color:#fff;
    background-color: #212529;
    border-image-source: url('data:image/svg+xml;utf8,<?xml version="1.0" encoding="UTF-8" ?><svg version="1.1" width="5" height="5" xmlns="http://www.w3.org/2000/svg"><path d="M2 1 h1 v1 h-1 z M1 2 h1 v1 h-1 z M3 2 h1 v1 h-1 z M2 3 h1 v1 h-1 z" fill="rgb(255,255,255)" /></svg>');
}

