body {
    background-color: #000a0d;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

.hidden {
    display: none !important;
}

.left {
    float: left;
}

.right {
    float: right;
}

.app-header {
    align-items: center;
    height: auto;
    padding: 10px 20px 0;
    background-color: rgb(1, 62, 87);
}

.app-header .left,
.app-header .right {
    width: auto;
    height: auto;
    margin-bottom: 15px;
}

.app-header .left,
.app-header .left #logo,
.app-header .left #search {
    float: left;
}

.app-header .right,
.app-header .right .wt-page-title--delay--pulse,
.app-header .right a,
.app-header .right .time,
.app-header .right button {
    float: right;
}

.app-header .cell-row,
.app-header #logo,
.app-header #search {
    margin-top: 8px;
}

.app-header #logo {
    cursor: pointer;
}

.app-header #search {
    margin-left: 15px;
}

.app-header #search input {
    padding-left: 10px;
    height: 35px;
}

.app-header #log-in .cell-row {
    margin-bottom: 0px;
}

.app-header #log-in button {
    min-width: 125px;
}

.app-header #log-in .wt-page-title {
    margin-top: 0;
    margin-right: 10px;
}

.app-header #log-in .wt-top-bar-icon--alerts {
    margin-right: 10px;
}

.app-header #log-in .time {
    margin-top: 8px;
    font-size: 20px;
    margin-right: 15px;
}
.app-header #log-in .lang {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
    float: right;
    margin-left: 10px;
    margin-right: 10px;
}
.app-header #log-in .lang li {
    display: inline-block;
    vertical-align: middle;
    margin: 10px;
}
.app-header #log-in .time.alert-icon {
    margin-top: 5px;
    cursor: pointer;
}

#alert .alert-title {
    height: 40px;
}

#alertListCnt {
    display: none;
    position: absolute;
    width: 400px;
    z-index: 95;
    right: 5%;
}

#alertListCnt .alert-bottom {
    bottom: 0;
    position: absolute;
    width: 100%;
    height: 40px;
    padding-right: 15px;
    margin-bottom: 10px;
}

.active {
    display: block !important;
}

#alertList {
    height: 200px !important;
}

.app-header #drop-down {
    position: absolute;
    height: 0px;
    transition: all ease-in-out 0.2s;
    width: 300px;
    background-color: #001721;
    z-index: 10;
    margin-top: 50px;
    margin-left: -30px;
    cursor: auto;
    border-radius: 2px;
}

#search {
    width: 200px;
}

#search .cell-input:hover {
    cursor: text;
}

#search .cell-input {
    width: 100%;
    color: white;
    background-color: #005d86;
    background-image: url(../img/ic_search_white_18px.svg);
    background-position: right 7px top 6px;
    background-repeat: no-repeat;
    background-size: 20px;
    border-radius: 2px;
}

#search .cell-input--placeholder {
    color: #69bcdf;
}

#search input:focus {
    -webkit-box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.5) !important;
    box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.5) !important;
    border: none !important;
}

header {
    display: inline-table;
    width: 100%;
    font-family: Roboto, Arial, sans-serif;
    font-size: 10px;
    color: white;
}

.app-header #drop-down > div {
    display: none;
}

.app-header #drop-down.show {
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.7);
    border: 1px solid #07394d;
    height: 130px;
}

.app-header #drop-down.show > div {
    display: block;
}

.app-header .down {
    height: 20%;
}

.app-header .down a,
.app-header .down a button {
    height: 90%;
}

.app-header .down a button {
    padding: 0;
    transform: translate3d(-3px, -3px, 0);
}

#portfolio-header {
    height: auto;
    padding: 10px 20px 5px;
    background-color: rgb(0, 50, 70);
    font-size: 13px;
    text-transform: uppercase;
    margin-top: -7px;
}

#portfolio-header div,
#portfolio-header ul {
    height: auto;
}
#portfolio-header ul {
    margin: 0;
    padding-left: 0;
}

#portfolio-header ul li {
    display: inline-block;
    padding-right: 5px;
}

#portfolio-header .right ul li {
    margin-top: -10px;
}

#portfolio-header .right ul li {
    color: #0098ca;
}

#portfolio-header li span {
    color: white;
}
#portfolio-header li .value {
    padding-right: 20px;
}

#portfolio-header li div {
    display: inline-block;
}

.cell-body {
    margin: 0 auto;
    padding: 15px 20px;
    width: 100%;
    max-width: 2560px;
    font-size: 10px;
}

.cell-content {
    /* height: 250px !important; */
    height: 283px !important;
    overflow: hidden;
}
.cell-content.auto-height {
    height: auto !important;
}

.cell-content.primary {
    height: auto !important;
    background-color: transparent;
    border: none;
    padding: 0;
}

.cell-content.portfolio {
    height: auto !important;
    background-color: transparent;
    border: none;
    padding: 0;
}

#portfolio2 .cell-body {
    padding: 0;
    background-color: transparent;
}

#portfolio2 {
    margin-top: -111px;
}

#portfolio2 .c0 .cell-content {
    height: 50px !important;
}

#portfolio2 .c0 .cell-h4 {
    padding-top: 13px;
    padding-left: 2px;
}

#portfolio2 #logged-in .c3 .cell-content,
#portfolio2 #logged-in .c4 .cell-content,
#portfolio2 #logged-in .c5 .cell-content {
    overflow-y: scroll;
}

#portfolio2 #logged-in #portfolioNav.widget {
    margin-top: 53px;
}

#portfolio2 .not-logged-in {
    margin-top: 53px;
}

#logged-in #portfolioNav.widget {
    margin-top: 53px;
}

/* #watchlist .cell-table td {
    font-size: 14px;
    padding-top: 12px !important;
} */

#watchlistTab .cell-content {
    overflow-y: scroll;
}

#portfolio2 .c1.not-logged-in .cell-content {
    height: 100px !important;
}

#portfolio2 #logged-in .c1 .cell-content {
    height: 50px !important;
}

#portfolio2 #logged-in .c1 .cell-content .value {
    font-size: 15px;
}

#portfolio2 .cell-body .c3 .cell-content,
#portfolio2 .cell-body .c5 .cell-content {
    height: 350px !important;
}

#portfolio2 .cell-body .c3 .cell-h4:hover,
#portfolio2 .cell-body .c5 .cell-h4 span:hover {
    text-decoration: underline;
    cursor: pointer;
}

#portfolioNav .wt-tab-menu__item__label {
    font-size: 13px;
}

#positionsTab .cell-w-portfolio-details__value.value span {
    margin-right: 5px;
    margin-left: 5px;
}

.market-data.cell-content,
.all-transactions {
    height: 175px !important;
}

#data .type {
    text-align: center;
}

.c2 .cell-content {
    height: 310px !important;
    overflow: hidden;
}

.cell.nav {
    padding-right: 4px;
}

.list,
.home-list,
.all-transactions {
    overflow-y: scroll;
}

.all-trans {
    margin-top: 10px;
}

.list {
    height: 50vh !important;
}

.home-list {
    height: calc(100vh - 340px) !important;
}

.cell-content.nav {
    padding: 0px;
}

.nav {
    height: 50px !important;
}
.nav #navigation {
    height: 100%;
}

nav {
    height: 100%;
}

.nav nav ul {
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
    display: flex;
}

.nav nav ul a:hover {
    background-color: #002d40;
}

.nav nav ul li {
    display: flex;
    align-items: center;
    width: 150px;
    height: 100%;
    font-size: 13px;
}

.nav nav ul li span {
    margin: 0 auto;
}

.wt-header {
    width: 100% !important;
    margin-bottom: 5px;
}

#indicatorList {
    max-height: 210px;
    overflow: hidden;
}

#chart {
    /* height: 100% !important; */
}

#chart .highcharts-container,
#char2 .highcharts-container {
    margin: 0 auto;
}

#chart .highcharts-container svg,
#chart2 .highcharts-container svg {
    width: 100%;
}

.big-chart {
    height: 400px !important;
}

.cell-table td {
    padding: 8px 3px 8px !important;
}

.cell-tbl-change-bars--td {
    height: 20px;
}

.btn {
    height: 42px;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
    background: #119dda;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    cursor: pointer;
}

.btn-login {
    height: 36px;
    padding: 0 18px;
    background-color: #007fb7;
    color: #fff;
}

.wt-top-button-tray-symbol.ng-star-inserted {
    z-index: 10;
}

#buy-sell {
    cursor: pointer;
}

/* #buy-sell {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
}

#buy-sell button {
    height: 35px;
    width: 47%;
    border-radius: 10%;
    border: 0;
    border-radius: 5px;
    text-transform: uppercase;
    margin: 5px;
    cursor: pointer;
    color: white;
}

#buy-sell.disabled button {
    pointer-events: none;
    opacity: 0.4;
}

#buy-sell button#buy {
    background: #119dda;
}

#buy-sell button#sell {
    background: #d9534f;
    margin-left: auto;
}

#buy-sell button#buy:active {
    background: #0e81b3;
}

#buy-sell button#sell:active {
    background: #bd4945;
} */

#croatia-composite-winners tbody tr:hover,
#croatia-composite-losers tbody tr:hover,
#croatia-composite-turnover tbody tr:hover,
#croatia-composite-newslist tbody tr:hover {
    background-color: #002d40;
}

::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

#portfolio {
    position: absolute;
    top: 76px;
    right: 0;
    bottom: 0;
    table-layout: fixed;
    width: 0px;
    padding-bottom: 10px;
    opacity: 1;
    background-color: rgba(0, 39, 56, 0.8);
    transition: all ease-out 0.3s;
    border: 2px solid #223138;
    z-index: 1;
    min-height: 770px;
}

#portfolio .cell-body .c0 #name {
    float: left;
    margin-right: 20px;
}

#portfolio .cell-body {
    background-color: transparent !important;
}

#portfolio .cell-body .c1 .cell-content {
    height: 120px !important;
    padding: 10px !important;
}

#portfolio .cell-body .c3 .cell-content,
#portfolio .cell-body .c4 .cell-content {
    overflow-y: scroll;
}

#portfolio.portfolio-shown {
    width: 420px;
    max-width: calc(100vw - 23px);
}

.cell-portfolio-select .cell-heading-dropdown {
    background-image: none !important;
}

.cell-portfolio-select .cell-heading-dropdown:after {
    content: "";
    display: inline-block;
    padding-left: 2px;
    background-image: url(../img/mini-selector-dd-icon_white.png);
    width: 10px;
    height: 10px;
}

#portfolio2 .cell-portfolio-select__title--interaction {
    cursor: auto;
    pointer-events: none;
}

#portfolio2 .cell-portfolio-select__title--interaction:hover {
    text-decoration: none;
}

.portfolio-button {
    position: absolute;
    cursor: pointer;
    left: 0;
    top: 15%;
    transform: translateX(-100%);
    height: 250px;
    width: 23px;
    background-color: rgba(10, 83, 115, 0.9);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    background-image: url(../img/ic_keyboard_arrow_left_white_24px.svg);
    background-position: left 2px top 50%;
    background-repeat: no-repeat;
}

#portfolio .portfolio-button:hover {
    background-color: rgba(9, 69, 95, 0.9);
}

#portfolio.portfolio-shown .portfolio-button {
    background-image: url(../img/ic_keyboard_arrow_right_white_24px.svg);
}

.cell-portfolio-select--scaling__dd__label {
    color: white;
}

.oe .cell-content {
    height: 335px !important;
}

.oe #order-entry .cell-content {
    height: 320px !important;
}

.auto-height {
    height: auto !important;
}

.pie-chart {
    padding: 0;
    border: none;
}

#pieChart {
    height: 240px !important;
}

.cell-row.single-share .cell-content {
    height: 180px !important;
}

#historical.cell-content {
    height: 120px !important;
}

#history.cell-content {
    height: 600px !important;
    overflow-y: scroll;
}

@media screen and (max-width: 1023px) {
    .cell {
        width: 100%;
        padding: 0;
        margin-bottom: 10px;
    }
    .cell.nav {
        padding-right: 0px;
    }
    #portfolio2 {
        margin-top: 0px;
    }
}

@media screen and (max-width: 400px) {
    .app-header #search {
        max-width: 170px;
    }
}
@media screen and (max-width: 365px) {
    .app-header #search {
        max-width: 120px;
    }
}

/* NEW VERSION FIXES */
.modal-window .cell-order-entry-wrapper {
    width: 100%;
}

.cell-table--news-list__url-news:not(.cell-table__txt--news-date):not(.cell-table__txt--news-source):not(.cell-table__txt--news-short-source):not(.cell-table__txt--custom) .cell-name {
    padding-left: 20px;
}

#sharesLists *[class^="cell"],
*[class^=" cell"] {
    cursor: pointer;
}

.cell-custom-dropdown-selector-wrapper--time-period > .cell-custom-dropdown-selector > .cell-custom-dropdown-selector__item {
    font-size: 12px;
    color: #fff;
}

#intradaytradessingle,
#intradaytrades {
    overflow-y: scroll;
    height: 360px !important;
}

.scroll-y {
    overflow-y: scroll !important;
}

.cell-table__txt--indic-open,
.cell-table__txt--indic-open-vol {
    text-align: right;
}

@media screen and (max-width: 1023px) {
    .cell-content.portfolio {
        height: fit-content !important;
    }

    .cell-portfolio-select__scaling__dd-wrapper {
        width: calc(100% - 40px) !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(20px) !important;
    }

    .cell-portfolio-select__scaling__dd-wrapper .cell-ul {
        margin-top: 0 !important;
    }

    .cell-portfolio-select__scaling__dd-wrapper .cell-portfolio-select__scaling__dd__label {
        padding: 10px 5px !important;
        text-align: center !important;
    }
}

