@import "/assets/css/_lib";

.banner_area {
    display: block;
    position: relative;
}
.banner_panel {
    display: inline-block;
    vertical-align: top;
}
.banner {
    overflow: hidden;
    margin: 0 -16px;
    .main_banner {
        position: relative;
        margin: 0 16px;
    }
    .banner_area {
        position: relative;
        padding-top: 100%;
    }
    .sub_banner {
        padding: 10px 0 0 16px;
        white-space: nowrap;
    }
    .banner_panel {
        & + .banner_panel {
            margin-left: 16px;
        }
    }
}

.pagination {
    position: absolute;
    display: flex;
    left: 30px;
    right: 30px;
    bottom: 30px;
    .bar {
        position: relative;
        overflow: hidden;
        flex: 1 1 auto;
        height: 4px;
        border-radius: 2px;
        background-color: rgba(255, 255, 255, 0.4);
        vertical-align: top;
        & + .bar {
            margin-left: 8px;
        }
        .current {
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            background-color: #fff;
        }
    }
}