@font-face {
    font-family: 'iconfont';
    src: url('../iconfont/iconfont.woff2?t=1545807318834') format('woff2'),
        url('../iconfont/iconfont.woff?t=1545807318834') format('woff'),
        url('../iconfont/iconfont.ttf?t=1545807318834') format('truetype');
}

.iconfont {
    font-family: 'iconfont' !important;
    font-size: 18px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
}

html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
}

body>.main {
    width: 100%;
    height: 100%;
    padding-bottom: env(safe-area-inset-bottom);
    overflow: scroll;
    position: fixed;
}

div {
    box-sizing: border-box;
}

div::-webkit-scrollbar {
    display: none;
}

img {
    vertical-align: bottom
}

select {
    background-color: transparent;
}

div,
input,
textarea,
button,
span,
p,
select,
option {
    color: #333;
}

.cover {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
}

.cover>.main {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover>.main>.box {
    width: 75%;
    display: none;
}

/* load-state */
.load-state>.main {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.load-state>.main>.state {
    height: 30px;
    padding: 0 16px;
    border: none;
    border-radius: 4px;
    background-color: transparent;
}

.load-state>.main>.loading-state {
    border: 1px solid rgb(16, 68, 137);
    color: rgb(16, 68, 137);
}

.load-state>.main>.no-more-state {
    border: 1px solid #999;
    color: #999;
}

.load-state>.main>.error-state {
    border: 1px solid rgb(16, 68, 137);
    color: rgb(16, 68, 137);
}

/* join-user */
.join-user {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.join-user>img {
    width: 28px;
    height: 28px;
    border-radius: 14px;
    border: 1px solid white;
    margin-left: -6px;
}

.join-user>img:first-of-type {
    margin-left: 0;
}

.join-user>img:last-of-type {
    margin-right: 8px;
}

.join-user>span {
    font-size: 14px;
    color: #666;
}

/* 文字 */
.one-line {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.two-lines {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.five-lines {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.section>.header {
    display: flex;
    flex-direction: row;
    padding: 16px 0;
}

.section>.header>i {
    display: block;
    width: 5px;
    height: 20px;
    background-color: rgb(16, 68, 137);
    margin-right: 8px;
}

.section>.header>span {
    font-size: 16px;
    font-weight: bold;
    color: rgb(16, 68, 137);
}

/* common-header-section */

.common-header-section {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.common-header-section>span {
    font-size: 24px;
    font-weight: bold;
    color: rgb(16, 68, 137);
    text-align: center;
}

/* common-footer-section */

.common-footer-section {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.common-footer-section>img {
    width: 80%;
}

/* card-view */

.card-view {
    display: flex;
    flex-direction: column;
    box-shadow: 5px 5px 20px 2px rgba(100, 100, 100, 0.1);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.card-view>.header {
    width: 100%;
    height: 40px;
    background-color: rgb(16, 68, 137);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-view>.header>.text {
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.card-view>.body {
    width: 100%;
    height: calc(100% - 40px);
    overflow-y: scroll;
    padding: 20px;
    padding-bottom: 80px;
    box-sizing: border-box;
    background-color: white;
}

.card-view>.footer {
    width: 100%;
    height: 80px;
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom,
            transparent,
            rgba(255, 255, 255, 0.7),
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0.9),
            white);
}

/* tag */
.tag {
    font-size: 12px;
    border-radius: 4px;
    padding: 2px 4px;
    border: none;
}

.tag-1 {
    background-color: rgb(16, 68, 137);
    color: white;

}

.tag-2 {
    background-color: #eee;
    color: #999;
}

.tag-3 {
    background-color: rgb(93, 190, 137);
    color: white;
}

/* filter-section */
.filter-section {
    width: 100%;
    height: 44px;
    background-color: white;
    position: fixed;
    top: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: 1px solid #eee;
    box-shadow: 5px -1px 15px 1px rgba(180, 180, 180, 0.1);
}

.filter-section>.item {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1;
    padding: 0 16px;
    box-sizing: border-box;
    border-right: 1px solid #eee;
}

.filter-section>.item:last-child {
    border-right: none;
}

.filter-section>.item>.key {
    width: 80px;
    font-size: 15px;
    color: #666;
}

.filter-section>.item>select {
    width: calc(100% - 80px);
    height: 100%;
    border: none;
    font-size: 15px;
}

/* fill-button */
.fill-button {
    border: none;
    background-color: rgb(16, 68, 137);
    color: white;
}

.outline-button {
    border: 1px solid rgb(16, 68, 137);
    background-color: transparent;
    color: rgb(16, 68, 137);
}

.small-button {
    width: 60px;
    height: 24px;
    border-radius: 4px;
    font-size: 14px;
}

.large-button {
    width: 200px;
    height: 40px;
    border-radius: 20px;
    font-size: 16px;
}

.disable-button {
    background-color: #bbb;
}

/* no-data */
.no-data {
    display: none;
}

.no-data>.main {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.no-data>.main>img {
    width: 100px;
    object-fit: contain;
}

.no-data>.main>span {
    font-size: 14px;
    color: #999;
    margin-top: 16px;
}