/**
 * +----------------------------------------------------------------------
 * | 「e家宜业」
 * +----------------------------------------------------------------------
 * | Copyright (c) 2020-2024 https://www.chowa.cn All rights reserved.
 * +----------------------------------------------------------------------
 * | Licensed 未经授权禁止移除「e家宜业」和「卓佤科技」相关版权
 * +----------------------------------------------------------------------
 * | Author: contact@chowa.cn
 * +----------------------------------------------------------------------
 */

.cw-subtitle {
    border-left: 3px solid #2173dc;
    padding-left: 10px;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 980px;
    margin: auto;
}

.detail-row {
    font-size: 12px;

    .ivu-col {
        line-height: 26px;
        padding: 6px 0;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;

        .detail-label {
            flex: none;
            padding-right: 8px;

            &:after {
                content: '：'
            };
        }

        .detail-content {
            flex: auto;
            overflow: hidden;
            padding-right: 12px;
        }
    }
}

.ivu-btn {
    .ivu-icon + span {
        margin-left: 6px;
    }
}

.ivu-card-head {
    border-bottom-color: #f1f1f1 !important;
}

.ivu-card-head p, .ivu-card-head-inner {
    font-size: 14px !important;
}

.ivu-card-extra {
    font-size: 12px !important;

    .ivu-icon {
        font-size: 14px;
    }

    a + a {
        margin-left: 8px;
    }
}

.ivu-drawer {
    max-width: 100vw!important;

    .ivu-form {
        padding: 0 !important;
    }
}

.cw-drawer-width-footer {
    .ivu-drawer-body {
        position: static;
        height: calc(~'100vh - 102px');
    }

    .cw-drawer-footer {
        border-top: 1px solid #e8e8e8;
        position: absolute;
        left: 0;
        right: 0;
        height: 51px;
        bottom: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        padding: 12px 22px;

        .ivu-btn {
            margin-left: 12px;
        }
    }
}

.ivu-modal-body .ivu-form {
    padding: 0 !important;
}

.ivu-checkbox {
    margin-right: 4px;
}

img[lazy=loading] {
    max-width: 80%;
    max-height: 80%;
    margin: auto;
}
img[lazy=error] {

}
img[lazy=loaded] {

}

.text-color-light {
    color: #999;
}

@media screen and (max-width: 576px) {
    .container {
        width: 100%;
        padding: 0 12px;
    }
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 6px;
    background: #f9f9f9;
}

::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background: #ddd;
    cursor: pointer;
}
