.ankaufsrechner {
    display: table;
    width: 100%;
}

.ankaufsrechner div {
    display: table-cell;
    width: 50%;
}

.ankaufsrechner div table {
    width: 93%;
}

.ankaufsrechner div table tr th {
    background-color: #48504F;
    color: #ffffff;
    padding: 3px;
}

.ankaufsrechner div table tr th.silberSchein {
    background-color: #48504F;
}

.ankaufsrechner div table tr td {
    padding: 4px;
    white-space: nowrap;
}

.ankaufsrechner div table tr td:last-child {
    background-color: #fff1d3;
}

.ankaufsrechner div input {
    width: 50px;
    height: auto;
}

.highlight {
    font-weight: bold;
    text-align: right;
}

input:focus, textarea:focus {
    background-color: #fff1d3;
}

.ankaufsrechner div .loeschButton {
    background-color: #fff1d3;
    width: 120px;
    padding: 6px;
    margin-top: 20px;
    cursor: pointer;
}


/* Some basic styling to notify users
   about the tooltips*/
.tooltip {
    text-decoration: none;
    cursor: pointer;
}

.tooltip:hover {
    position: relative;
}

/* Tooltip on Top für span oder andere Elemente */
.tooltip-top[data-tooltip]:hover:after {
    content: attr(data-tooltip);
    padding: 8px 12px;
    position: absolute;
    left: 0;
    bottom: 100%; /* Position des Tooltips, ob oben, rechts oder unten. Einfach z.B. mit top austauschen */
    width: 250px;
    z-index: 20;

    background-color: #000;
    color: #fff;
}

.none {
    display: none;
}

/* Für a ahref die Zeile data-tooltip durch title tauschen und im A href mit title arbeiten, nicht mit data. .tooltip-top[data-tooltip]:hover:after { */


@media screen and (max-width: 768px) {
    .ankaufsrechner, .ankaufsrechner div {
        display: block;
        width: 100%;
    }

    .ankaufsrechner div table, .ankaufsrechner div table tr td {
        width: 100%;
    }
}