* {
    box-sizing: border-box;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}
.justify-left {
    justify-content: flex-start;
}
.justify-center {
    justify-self: center;
}
.justify-between {
    justify-content: space-between;
}
.justify-around {
    justify-content: space-around;
}
.justify-right {
    justify-content: flex-end;
}
.justify-evenly {
    justify-content: space-evenly;
}
.flex-top {
    align-items: flex-start;
}
.flex-mid {
    align-items: center;
}
.flex-skecth {
    align-items: stretch;
}
.flex-bot {
    align-items: flex-end;
}

.content-page {
    padding: 16px;
}
.card-box {
    padding: 10px;
}

.btn-toolbar {
    margin-bottom: 10px;
}
.form-group {
    margin-bottom: 0.5rem;
}
.btn {
    margin-right: 10px;
}
td .btn-text {
    border: none !important;
    padding: 0;
    background-color: transparent !important;
    box-shadow: none !important;
}
.btn:hover {
    color: #333;
}

.pointer {
    cursor: pointer;
}
.disabled {
    cursor: no-drop;
}
.td span {
    margin: 0 3px;
}
.td span:hover {
    text-decoration: underline;
}

.layer-box {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1999;
    display: none;
}

.layer-mask {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.layer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    max-height: 100%;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.layer-head {
    height: 60px;
    padding: 0 26px;
    font-size: 16px;
    border-bottom: 1px solid #dde1e8;
}

.layer-close {
    font-size: 24px;
    cursor: pointer;
}

.layer-content {
    width: 100%;
    height: calc(100% - 60px);
}

@media (max-width: 768px) {
    .layer {
        width: calc(100% - 40px) !important;
    }
}

.form-control {
    background-color: rgba(193, 193, 193, 0.1);
    border-color: #e3e3e3;
    color: #999;
}

.page-link {
    border-color: transparent !important;
}

.page-item.active .page-link {
    background-color: #ededed;
    color: #4c80f6;
}

.form-control,
select.form-control:not([size]):not([multiple]),
.btn {
    height: 30px;
    padding: 0 0.75rem;
}

.table th,
.table td {
    padding: 0.5rem;
    vertical-align: middle;
}

.steps {
    display: flex;
    justify-content: space-between;
    padding: 12px;
}

.steps .steps-item .steps-item-container {
    display: flex;
    .steps-item-icon {
        display: block;
        width: 32px;
        height: 32px;
        line-height: 32px;
        border-radius: 50%;
        text-align: center;
        background: rgba(0, 0, 0, 0.06);
        /* border: rgba(0, 0, 0, 0.06) solid 2px; */
        margin-right: 10px;
    }
    .steps-item-content {
        flex: 1;
    }
    .steps-finish-icon {
        vertical-align: middle;
        display: none;
    }
}
.steps .steps-item .steps-item-title {
    font-weight: bold;
    line-height: 32px;
    position: relative;
    display: inline-block;
    &::after {
        content: '';
        position: absolute;
        top: 17px;
        left: calc(100% + 16px);
        width: 999px;
        height: 1px;
        background-color: rgba(0, 0, 0, 0.06);
    }
}
.steps .steps-item .steps-item-description {
    font-size: 12px;
}
.steps .steps-item {
    flex: 1;
    overflow: hidden;
    padding-left: 16px;
    &:first-child {
        padding-left: 0;
    }
    &:last-child {
        flex: none;
        .steps-item-title {
            &::after {
                content: none;
            }
        }
    }
    &.steps-item-finish {
        .steps-item-icon {
            /* background-color: #188ae2;
      color: #fff; */
            .steps-icon-number {
                display: none;
            }
            .steps-finish-icon {
                display: INLINE-BLOCK;
                vertical-align: middle;
            }
        }
        .steps-item-title {
            &::after {
                background-color: #188ae2;
            }
        }
    }
    &.steps-item-finish,
    &.steps-item-active {
        .steps-item-icon {
            /* border: #188ae2 solid 2px; */
            background-color: #188ae2;
            color: #fff;
        }
    }
}

.custom-button {
    display: none;
}
