table.investieren-position-table td.position-name {
    font-size: 14px;
}

table.investieren-position-table td.position-name span {
    line-height: 14px;
}

table.investieren-position-table img {
    margin-top: 0px;
}

.position-name-1 {
    display: flex;
    height: 43px;
    align-items: center;
}

div.position-name-detail {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    overflow: hidden;
}

.isin {
    font-size: 13px;
    font-weight: 400;
    padding-top: 4px;
}

table.investieren-position-table td.comment-cell, th.comment-cell {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 500px;
    min-width: 200px;
    width: auto !important;
    hyphens: auto;
    white-space: inherit;
}

/* Allow comment cell to shrink when table doesn't fit container */
table.investieren-position-table {
    table-layout: auto;
}

table.investieren-position-table td.analyst-cell, th.analyst-cell {
    width: 231px;
}

table.investieren-position-table td.position-price, th.position-price {
    width: 110px;
}

.blue-bg {
    background-color: #F2FBFD;
    padding: 9px 20px;
    border-radius: 8px;
    min-height: 93px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 54px;
    line-height: 18px;
}



.blue-bg .line-height-18 {
    line-height: 18px;
}

.green-bg {
    background-color: #E7FFE0;
    background-repeat: no-repeat;
    background-position: 26px center;
    background-size: 24px 16px;
    padding-left: 80px;
    padding-right: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.green-bg-1 {
    background-image: url("img/1up.png");
}

.green-bg-2 {
    background-image: url("img/2up.png");
    background-size: 24px 32px;
}

.red-bg {
    background-color: #FFDCDD;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-position: 26px center;
    background-size: 24px 16px;
    padding-left: 80px;
    padding-right: 45px;
}

.red-bg-1 {
    background-image: url("img/1down.png");
}

.red-bg-2 {
    background-image: url("img/2down.png");
    background-size: 24px 32px;
}

.green-bg span, .red-bg span {
    line-height: 18px;
}

.green-bg span.text-success, .red-bg span.text-danger, .green-bg span.text-danger, .red-bg span.text-success {
    font-size: 13px;
    font-weight: 700;
}

.green-bg .percent-change span b, .red-bg .percent-change span b {
    font-size: 19px !important;
    font-weight: 900 !important;
    line-height: 19px !important;
}

.mod-skin-dark:not(.mod-skin-light) .blue-bg {
    background-color: #2B274B
}

.mod-skin-dark:not(.mod-skin-light) .green-bg {
    background-color: #2B274B
}

.mod-skin-dark:not(.mod-skin-light) .red-bg {
    background-color: #2B274B;
}

.updateDate-cell {
    width: 120px;
}

.chart-cell {
    width: 52px;
  
}

div.position-name-detail span {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.position-name-2 {
    display: flex;
    align-items: center;
    justify-content:flex-start;
}

.position-name-2 a {
    padding: 0;
    font-size: 11px;
    opacity: 0.7;
    margin-right: 4px;
}
.mod-skin-dark .position-name-2 .isin {
    border: 0px solid #4B4868 !important;
}
table.investieren-position-table td.position-name, table.investieren-position-table th.position-name {
    max-width: 220px;
}
table.dataTable>tbody>tr>th, table.dataTable>tbody>tr>td {
    padding: 8px 5px;
}

table.dataTable>tbody>tr>th.updateDate-cell, table.dataTable>tbody>tr>td.updateDate-cell {
    padding: 8px 20px;
}
table.investieren-position-table tbody tr:hover {
    background-color: #F2FBFD;
}

.mod-skin-dark:not(.mod-skin-light) table.investieren-position-table tbody tr:hover {
    background-color: #1A1736;
}

@media (max-width: 767.9px) {
    .position-name-1 {
        border-top: rgba(0, 0, 0, 0.1) 1px solid;
        display: flex;
        height: fit-content;
        align-items: center;
        justify-content: space-between;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    div.position-name-detail {
        flex: 1;
        flex-grow: 1;
        flex-shrink: 1;
        overflow: hidden;
        margin-right: 12px;

    }

    div.position-name-detail span {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 18px;
        line-height: 18px;

    }

    .detail-line-3 {
        display: flex;
        margin-bottom: 12px;
        margin-top: 12px;
        justify-content: space-between;
    }

    .detail-line-3 .current-price {
        margin-right: 8px;
        flex: 1;
    }

    .goldesel-whitebox {
        font-size: 13px;
    }

    .green-bg b, .red-bg b {
        white-space: nowrap;
    }


    .red-bg, .green-bg {
        background-position: 22px center;
        padding-left: 30px;
        padding-right: 0;
        flex: 1 2 auto;
    }

}