.error {
    color: red;
}

.form-control.invaild {
    background-color: #ffdddd;
    border-color: #800000;
}


/* input:invalid {
    background-color: #ffdddd;
}

form:invalid {
    border: 5px solid #ffdddd;
}

input:valid {
    background-color: #ddffdd;
}

form:valid {
    border: 5px solid #ddffdd;
}

input:required {
    border-color: #800000;
    border-width: 3px;
} */

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.text-center {
    text-align: center !important;
}

.table {
    width: 100%;
    color: #212529;
    border-collapse: collapse;
    background: #fff;
    display: table;
    box-sizing: border-box;
    text-indent: initial;
    border-spacing: 2px;
    border-color: grey;
}

.main-table {
    background-color: #1c2851;
    border-radius: 10px;
    padding: 0.7rem;
    padding-right: 1.2rem;
}

.currency-table {
    padding-right: 0.5rem;
    max-height: 250px;
    overflow-y: scroll;
}

.currency-table {
    --scrollbarBG: #1c2851;
    --thumbBG: #cbd4e5;
}

.currency-table::-webkit-scrollbar {
    width: 11px;
}

.currency-table {
    scrollbar-width: thin;
    scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}

.currency-table::-webkit-scrollbar-thumb {
    background-color: var(--thumbBG);
    border-radius: 6px;
    border: 4px solid var(--scrollbarBG);
}

.currency-table::-webkit-scrollbar-track {
    background: var(--scrollbarBG);
    -webkit-box-shadow: 0 0 2px rgb(255 255 255);
    -webkit-border-radius: 10px;
}

.table thead tr:first-child th:first-child {
    color: #e2012c;
    min-width: 220px;
    width: 220px;
}

.table tbody th:first-child {
    background-color: #1c2851;
    color: #fff;
    font-weight: normal;
    border-bottom: 1px solid #fff;
}

.table thead * {
    font-weight: bold;
    text-transform: uppercase;
}

.table thead tr:last-child th {
    background-color: #dae0f0;
    color: #000;
    /* font-weight: normal; */
    font-size: 0.9rem;
}

thead tr:first-child th:nth-child(1n+1) {
    border-right: 2px solid #1c2851;
}

thead tr:last-child th:nth-child(2n+1) {
    border-right: 2px solid #1c2851;
}

thead tr:last-child td:first-child {
    border-right: 2px solid #1c2851;
}

tbody td:nth-child(2n+1) {
    border-right: 2px solid #1c2851;
}

thead tr:first-child th {
    padding: 1rem;
}

thead tr:last-child th {
    padding: .8rem;
}

tbody th,
tbody td {
    padding: .8rem;
}

thead tr:last-child th:nth-child(2n+2) {
    border-right: 2px solid #fff;
}

th,
td {
    position: relative;
}

tr svg {
    width: 17px;
    height: 17px;
    position: absolute;
    left: 18px;
    color: #e2012c;
}

.dark-bk {
    background-color: #1c2851 !important;
}

.white-bk {
    background-color: #fff !important;
}

.certificates-table tbody td,
.certificates-table thead th {
    border-right: 2px solid #1c2851 !important;
}

tbody td:not(:first-child) {
    border-bottom: 2px solid #ececec !important;
}
img.currency-icon {
    max-height: 13px;
    margin-right: 10px;
}
.table-responsive.currency-table thead th, .table-responsive.currency-table tr th{
    padding: 5px 20px;
}

.table-responsive.currency-table  tr td ,.table-responsive.currency-table  tr th {
   
    vertical-align: middle;
}
span.table-date {
    text-transform: none;
}