/* Common */

.ta-center {
    text-align: center;
}

.ta-right {
    text-align: right;
}

.ta-left {
    text-align: left;
}

.d-block {
    display: block;
}

.d-none {
    display: none;
}

.va-middle>* {
    vertical-align: middle;
}

.fw-bold {
    font-weight: bold;
}

.mgl-1 {
    margin-left: 1rem;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.overflow-hidden {
    overflow: hidden;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.button {
    line-height: 1.5;
    padding: .375rem;
    background-color: #DDD;
    border: 1px solid #000;
    cursor: pointer;
    text-decoration: none;
}


/* Unified */


/*
 * Unified.css: 为文档和各标签提供统一的样式
 *	1.	统一的字体、字体大小、盒模型
 *	2.	不同浏览器下一致的显示
 *	3.	统一地变更个别元素原有样式
 */


/* 全局样式 */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.5;
}


/* 表单控件样式 */

input,
select,
textarea,
button {
    font-family: inherit;
    font-size: inherit;
    line-height: 1.5;
    outline: none;
    padding: .375rem;
    border: 1px solid #000;
}

input,
select {
    height: calc(2.25rem + 2px);
}

button {
    cursor: pointer;
    background-color: #DDD;
}

label {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
}

textarea {
    resize: none;
    overflow-y: scroll;
}

:disabled {
    cursor: not-allowed;
    color: #6D6D6D;
    background-color: #E5E5E5;
    border-color: #6D6D6D;
}


/* 其它标签 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

table>tbody>tr>td {
    padding: 0;
}

a {
    color: inherit;
    cursor: pointer;
}

ul {
    margin: 0;
}

img {
    border: none;
}


/* C4 */

.c4-shadow {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
    display: none;
}

.c4-modal {
    position: absolute;
    left: 0;
    top: 1.75rem;
    right: 0;
    margin: auto;
    display: none;
}