.hidden {
    display: none;
}

.\!hidden {
    display: none !important;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-start {
    justify-content: start;
}

.justify-end {
    justify-content: end;
}

.justify-center {
    justify-content: center;
}

.justify-left {
    justify-content:left;
}

.justify-right {
    justify-content:right;
}

.items-start {
    align-items: start !important;
}

.items-end {
    align-items: end;
}

.items-middle {
    align-items: center;
}

.text-left {
    text-align: left;
}

.my-0 {
    margin-top: 0;
    margin-bottom: 0;
}

.mx-0 {
    margin-left: 0;
    margin-right: 0;
}

.\!my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.\!mx-0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.\!text-right {
    text-align: right !important;
}

.tabs input[class*="tab-selector-"] {
    display: none;
}

.tabs .tabs--content [class*="content-"] {
  display: none;
  width: 100%;
  z-index: auto;
  opacity: 0;
  transition: opacity linear 0.1s;
  background-color: transparent;
  padding: 15px 0;
}

.tabs input.tab-selector-1:checked ~ .tabs--content .content-1,
.tabs input.tab-selector-2:checked ~ .tabs--content .content-2,
.tabs input.tab-selector-3:checked ~ .tabs--content .content-3,
.tabs input.tab-selector-4:checked ~ .tabs--content .content-4 {
  display: block;
  z-index: 9;
  opacity: 1;
  -webkit-transition: opacity ease-out 0.2s 0.1s;
  transition: opacity ease-out 0.2s 0.1s;
}

.tabs--btn {
    font-size: 15px;
}

.tabs--btn label {
    color: var(--all-tab-color);
    border-radius: 30px;
    border: none;
    margin: 0 5px;
    line-height: 30px;
    padding: 0 20px;
    background: transparent;
    box-shadow: var(--all-tab-shadow);
    min-width: 120px;
    text-align: center;
}

.tabs input.tab-selector-1:checked ~ .tabs--btn .tab-label-1,
.tabs input.tab-selector-2:checked ~ .tabs--btn .tab-label-2,
.tabs input.tab-selector-3:checked ~ .tabs--btn .tab-label-3,
.tabs input.tab-selector-4:checked ~ .tabs--btn .tab-label-4 {
    color: #fff;
    background: var(--all-tab-active-bg);
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2);
}

table th, table td {
    text-align: center;
}

table.table-sticky thead tr th {
    position: sticky;
    top: 0;
    background: var(--table-head-bg)
}

.font-12 {
    font-size: 12px;
}

/**/
.openwork-table {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.openwork-table-summary {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    margin-top: 20px;
    padding-bottom: 15px;
    margin-bottom: 5px;
    gap: 40px;
}

.openwork-table-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
}

.openwork-table-head {
    display: flex;
    background: var(--my-head-bg);
    color: #fff;
    width: 100%;
    border-radius: 15px 15px 0 0;
    text-align: center;
    box-shadow: 0 1px 3px 0 rgba(135, 148, 148, 0.5);
}

.openwork-table-head > div {
    flex: 1;
    padding: 15px 0;
}

.openwork-table-head > div:last-child {
    border-right: none;
}

.openwork-table-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    border-radius: 10px;
    gap: 15px;
    max-height: 52vh;
    overflow-x: auto;
    padding-bottom: 5px;
}

.openwork-table-body .table-row {
    background-color: #fff;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 1px 3px 0 rgba(135, 148, 148, 0.5);
}

.openwork-table-body .table-row::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background: linear-gradient(to bottom, #4acff1, #0071c7);;
    border-radius: 25px 0 0 25px;
}

.openwork-table-body .table-row--footer {
    font-size: 12px;
    font-weight: normal;
    text-align: left;
    padding-left: 25px;
    justify-content: flex-start;
}

.openwork-table-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: var(--my-detail_total-bg);
    border-radius: 10px 10px 25px 25px;
    padding: 25px 20px;
    gap: 15px;
    font-size: 16px;
    font-weight: normal;
    box-shadow: 0 1px 3px 0 rgba(135, 148, 148, 0.5);
}

/*
* table components
*/
.table-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60px;
    flex: 1;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    max-width: 360px;
    line-height: 30px;
}

.table-summary .table-summary-head {
    border-radius: 15px 15px 0 0;
}

.table-summary-head {    
    background: var(--my-head-bg);
    color: #fff;
    width: 100%;
}

.table-summary-cell {
    box-shadow: 3px 3px 20px rgba(135, 148, 148, 0.5);
    color: var(--history-detail_content-color);
    width: 100%;
    border-radius: 0 0 5px 5px;
}

.table-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.table-row-content {
    display: flex;
    width: 100%;
    align-items: center;
}

.table-cell {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    position: relative;
    padding: 15px 15px;
}

.positive {
    color: #00986b;
}

.negative {
    color: #e64141;
}

.table-cell::after {
    content: "";
    position: absolute;
    top: 10px;
    right: -1px;
    height: calc(100% - 20px);
    border-right: solid 1px rgba(135, 148, 148, 0.3);
}

.table-cell:last-child::after {
    display: none;
}

.table-row--footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 1 100%;
    position: relative;
    width: 100%;
    padding: 5px 5px;
}

.table-row--footer::before {
    content: "";
    position: absolute;
    top: -.5em;
    left: 1.5em;
    width: calc(100% - 2.5em);
    height: 1px;
    display: block;
    background: #dbdfdf;
}

