.uae-tool .table-wrapper {
    overflow-x: auto;

}

.uae-tool table {
    border-radius: 6px;
    white-space: nowrap;
    margin-bottom: 0;
}

.uae-tool td:nth-child(2) {
    text-align: center;
}

.uae-tool td:nth-child(3),
.uae-tool td:nth-child(4) {
    text-align: right;
}

.uae-tool .currency {
    font-weight: 500;
}

.uae-tool .table-wrapper .source {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    margin: 1rem auto .5rem auto;
    max-width: 30rem;
}

.uae-tool .table-wrapper>.source {
    background-color: cornflowerblue;
    padding: 12px;
    border-radius: 10px;
}

.uae-tool .table-wrapper>.source .reload {
    flex: 1 0 1rem;
    text-align: end;
}

.uae-tool .table-wrapper>.source .reload svg {
    opacity: .4;
    cursor: pointer;
}

.uae-tool .table-wrapper>.source .reload svg:hover {
    opacity: 1;
}

.uae-tool .table-wrapper td img,
.uae-tool .table-wrapper .source img {
    width: 30px;
}

.uae-tool .table-wrapper .currency-table {
    width: 100%;
    border-collapse: collapse;
    border: none;
    max-width: 30rem;
    margin: 0 auto;
}

.uae-tool .table-wrapper .currency-table thead {
    height: 3rem;
}

.uae-tool .table-wrapper .currency-table th,
.uae-tool .table-wrapper .currency-table td {
    border: none;
    padding: 8px 8px 0 8px;
    text-align: left;
}

.uae-tool .table-wrapper .currency-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.uae-tool .table-wrapper .currency-table tbody tr.time {
    border-bottom: 1px solid #dddd;
}

.uae-tool .table-wrapper .currency-table tbody tr.time td {
    text-align: left;
    font-size: smaller;
    font-style: italic;
    padding-top: 0;
    padding-bottom: 7px;
}

.uae-tool .table-wrapper .currency-table td:nth-child(2),
.uae-tool .table-wrapper .currency-table td:nth-child(3) {
    text-align: right;
}

.uae-tool .table-wrapper .currency-table td:last-child {
    text-align: center;
}

.uae-tool .table-wrapper .currency-table-small {
    display: none;
}

.uae-tool .table-wrapper .currency-table-small .row-group.empty {
    display: none;
}

.uae-tool .table-wrapper .currency-table-small .row-group:not(.empty):not(:last-child) {
    border-bottom: 2px dashed #dddd;
    padding-bottom: 1rem;
}

.uae-tool .table-wrapper .currency-table-small .row-group .row .time {
    flex: 1 1 100%;
    font-size: smaller;
    font-style: italic;
    font-weight: 300;
}

.uae-tool .table-wrapper .currency-table-small .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.uae-tool .table-wrapper .currency-table-small .row>div:first-child {
    flex: 0 0 8rem;
    font-weight: 500;
}

.uae-tool .currency-table-small .source {
    margin: 0;
}

.uae-tool .currency-table-small.fade-loop,
.uae-tool .currency-table.fade-loop {
    background-color: grey;
    border-radius: 10px;
    /* width: 100%;
    max-width: 800px;
    height: 100%;
    max-height: 420px; */
    animation: fade 1s infinite alternate;
}

@keyframes fade {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.5;
    }
}

@media only screen and (max-width: 560px) {
    .uae-tool .table-wrapper .currency-table {
        display: none;
    }

    .uae-tool .table-wrapper .currency-table-small {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}