.main-content-inner {
    box-sizing: border-box;
    padding: 20px;
}

/* Create a new style and apply it to .mt-5 and .my-5 */
.margin-auto {
    margin: 0 auto !important;
}

/* delete style in .mt-5 та .my-5 */
.mt-5, .my-5 {
    margin-top: initial !important;
    margin-bottom: initial !important;
}

.card-body {
    box-sizing: border-box;
}

.data-tables {
    box-sizing: border-box;
}


/* -------------------- Table -------------------- */
/*#table {*/
/*    !*margin: 10px;*!*/
/*    width: 100%;*/
/*    box-sizing: border-box;*/
/*    overflow-x: auto;*/
/*    max-height: calc(100vh - 300px); */
/*    font-size: 14px;*/
/*}*/

.dataTables_filter {
    margin-bottom: 15px;
    background-color: #eee;
    color: #555;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dataTables_filter:hover {
    background-color: #ddd;
    color: #333;
    cursor: not-allowed;
}


.dataTables_filter {
    display: flex;
    padding-right: 10px;
}

#example {
    width: 100%;
    border-collapse: collapse;
}

/* fixed thead */
#example thead {
    position: sticky;
    top: 0;
    background-color: #673ab7;
    height: 50px;
    color: #fff;
    z-index: 1;
}

#example th,
#example td {
    border: 1px solid #E2E5E7;
    padding: 10px;
    /*max-width: 200px;*/
    word-wrap: break-word;
    /*background-color: #fafafb;*/
}

/* Header styles */
#example th {
    background-color: #673ab7;
    color: #fff;
    font-weight: bold;
    z-index: 3;
}

/* Alternate row colors */
#example tr:nth-child(even) {
    background-color: #fafafb;
}

#example tr:nth-child(odd) {
    background-color: #fff;
}

/* Style for chosen sort column with class = sorting_1 */
table.dataTable.display tbody tr.even > .sorting_1,
table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
    background-color: #fafafb;
}

table.dataTable.display tbody tr.odd > .sorting_1,
table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
    background-color: #fff;
}

/* end Style for chosen sort column with class = sorting_1 */

/* Changing pagination colors in DataTables */
#example_paginate ul.pagination li.paginate_button.active a,
#example_paginate ul.pagination li.paginate_button.active a:hover,
#example_paginate ul.pagination li.paginate_button a:hover {
    background-color: #7c4dff;
    border-color: #7c4dff;
    color: #fff;
}

#example_paginate ul.pagination li.paginate_button.disabled a,
#example_paginate ul.pagination li.paginate_button.disabled a:hover,
#example_paginate ul.pagination li.paginate_button.disabled span,
#example_paginate ul.pagination li.paginate_button.disabled span:hover {
    /*border-color: #A8DEDE;*/
    color: #fff;
}

/* Changing pagination border-color in DataTables */
#example_paginate ul.pagination .page-link {
    border-color: #673ab7;
    color: #673ab7;
}

#example_paginate ul.pagination .page-item.disabled .page-link {
    background-color: #ccc;
    color: #888;
}


/* end Changing pagination colors in DataTables */


/* If we use hard code for sort Function: isNumeric and sortTableByColumn */
/*.table-sortable th {*/
/*    cursor: pointer;*/
/*}*/

/*.table-sortable .th-sort-asc::after {*/
/*    content: "\25b4";*/
/*}*/

/*.table-sortable .th-sort-desc::after {*/
/*    content: "\25be";*/
/*}*/

/*.table-sortable .th-sort-asc::after,*/
/*.table-sortable .th-sort-desc::after {*/
/*    margin-left: 5px;*/
/*}*/

/*.table-sortable .th-sort-asc,*/
/*.table-sortable .th-sort-desc {*/
/*    background: rgba(0, 0, 0, 0.1);*/
/*}*/

/* -------------------- end Table -------------------- */

/* -------------------- hash-pair -------------------- */
/* Styles for the hash-pair block */

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a:hover {
    color: #333333;
}


.hash-pair {
  font-size: 10px;
  font-weight: bold;
  display: inline-block;
  justify-content: space-between;
  margin-bottom: 5px;
  padding: 15px;
  border: 1px solid #333333;
  border-radius: 5px;
  background-color: #f8f9fa;
  width: 100%;
}

/* Styles for hash and execHash within the hash-pair */
.hash-pair .hash,
.hash-pair .execHash {
    flex: 1; /* Equal distribution of space between hash and execHash blocks */
    padding: 8px;
}

/* Styles for the hash block */
.hash-pair .hash {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    display:block;
    clear:both;
}

/* Styles for the execHash block */
.hash-pair .execHash {
    margin-top:5px;
    background-color: #e1bee7;
    border: 1px solid #e1bee7;
    display:block;
    clear:both;
}

.hash-pair .hash:hover {
    background-color: #e1bee7;
    cursor: pointer;
}

.hash-pair .execHash:hover {
    background-color: #e1bee7;
    cursor: pointer;
}

/* -------------------- end hash-pair -------------------- */

/* ------------------------------------- media ------------------------------------- */

@media screen and (min-width: 0) and (max-width: 576px) {
    .main-content-inner {
        padding: 10px;
    }

    div.main-content > div.main-content-inner > div {
        padding: 0;
    }

    #table {
        font-size: 11px;
    }

    /* main container */
    ul.pagination {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
        font-size: 14px;
    }

    ul.pagination li {
        margin: 0 2px;
    }

    /* Page links */
    ul.pagination li a {
        display: block;
        padding: 2px;
    }

    /* Disabled and ellipsis */
    ul.pagination li.disabled, ul.pagination li#example_ellipsis {
        pointer-events: none;
    }

    /* "Previous" and "Next" buttons */
    ul.pagination li.previous, ul.pagination li.next {
        margin-right: 8px;
    }

    /* Style for disabled "Previous" and "Next" buttons */
    ul.pagination li.previous.disabled a, ul.pagination li.next.disabled a {
        pointer-events: none;
    }

}
