body,html {
    height: 100%;
}
.page-container,
.main-container,
.barba-container,
.scroll-content {
    height: 100% !important;
}
.project .kvell-slider {
    height: calc(100%) !important;
    /* height: 500px !important; */
}
.project .kvell-slider__slide {
    height: 100%;
}

.project .kvell-slider-nav{
    bottom: 0px;
}
.project .scaled-header__image{
    padding-bottom: 90px;
}
.project .kvell-slider-nav__slide a span {
    font-size: 16px;
    color: #4C4C4C;
    font-weight: 600;
}
.project .slide-slice-line{
    display: none;
    position: absolute;
    /* width: calc((45 * 1px) + (175 - 45) * ((100vw - 320 * 1px) / (1920 - 320))); */
    width: calc((60 * 1px) + (175 - 45) * ((100vw - 320 * 1px) / (1920 - 320)));
    height: 1px;
    background: #797979;
    right: -75%;
    top: 50%;
    /* width: 45%; */
    /* right: -25%; */
    transform: translateY(-50%);
}
.project .content-box{
    padding: 15px 15px 30px;
    opacity: 0.9;
    background: #FFFFFF;
}
.project .content-box p{
    margin: 0;
}

.project .content-box .close-btn{
    position: absolute;
    right: 30px;
    top: 25px;
    cursor: pointer;
    z-index: 1;
}
.project .content-box .close-btn.hamburger .line{
    width: 24px;
}
.project .content-box .title{
    font-size: 18px;
    color: #333333;
    font-weight: 600;
    margin-bottom: 6px;
}
.project .content-box .sub-title{
    font-size: 12px;
    color: #333333;
    font-weight: 600;
}
.project .content-box .content-line{
    font-size: 11px;
    color: #333333;
    font-weight: 400;
    margin-bottom: 0px;
}
.project .content-box .content-line span {
    font-size: 11px !important;
    color: #333333 !important;
}
#project .scroll-content{
    width: 100%;
}
#project .sub-cell {
    width: 100%;
    height: 100%;
}

@media (max-width: 640px) {
    /* 小于640 */
    /* .project .content-box {
        position: absolute;
        bottom: 90px;
    } */
    .project .scaled-header__image{
        padding-bottom: 0;
    }
    .project .left-img-box {
        /* display: none; */
        position: absolute;
        width: 100%;
        bottom: 0px;
        z-index: 1;
    }
    .project .vertical-img .scaled-header__image img {
        height: auto;
        top: 70px
    }
}
@media (min-width: 640px) {
    /* 大于640 */
    .project .page-container {
        display: flex;
    }
    .project .left-img-box {
        display: block;
        width: 35%;
        bottom: 0px;
        min-width: 370px
    }
    .project .main-container {
        width: 65%;
    }
    /* .project .main-container .content-box {
        display: none;
    } */
    .project .content-box .title{
        font-size: 28px;
    }
    .project .content-box .sub-title{
        font-size: 18px;
    }
    .project .content-box .content-line{
        font-size: 14px;
    }
    .project .content-box .close-btn{
        display: none;
    }
    .project .content-box{
        /* top: 100px; */
        top: 160px;
        bottom: 80px;
        left: 0;
        padding: 0px 15px 0 30px;
        background: transparent;
    }
    .project .scaled-header__image {
        width: 100%;
        padding-bottom: 0;
    }
    .project .hamburger .line {
        background: #898989;
    }
    #project .is-selected .flickity-viewport {
        overflow: visible;
        position: relative;
        height: 100%
    }
    #project .kvell-slider__slide{
        /* padding-top: 120px; */
        /* padding-right: 15px;
        padding-left: 15px; */
        /* padding-bottom: 80px; */
    }
    /* #project .scroll-content{
        width: 85%;
    } */
    #project .sub-cell {
        width: 85%;
    }
    #project .sub-cell .scaled-header__image{
        padding-top: 100px;
        padding-right: 15px;
        padding-left: 15px;
        padding-bottom: 80px;
    }
    #project .page-container {
        /* overflow: visible */
    }
    #project .main-container{
        overflow: hidden !important;
    }
    #project .barba-container[data-namespace=homepage]{
        overflow: visible !important;
    }

    #project .flickity-prev-next-button.next{
        z-index: 10000;
        opacity: 1;
    }
    .project .slide-slice-line{
        right: -120%;
    }
}
@media (min-width: 1024px) {
    .project .slide-slice-line{
        right: -160%;
    }
}
@media (min-width: 1240px) {
    .project .slide-slice-line{
        right: -220%;
    }
}
.project .kvell-slider-nav__slide {
    width: calc(80px + 2rem);
    height: 55px;
    padding: 1rem 0;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    margin-left: calc((50 * 1px) + (350 - 50) * ((100vw - 320 * 1px) / (1920 - 320)));
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}
.project .kvell-slider-nav__slide .kvell-slider-nav__circle:before {
    display: block;
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #000;
    opacity: 0.29;
}
.project .kvell-slider-nav__slide .kvell-slider-nav__circle:after {
    display: block;
    border-radius: 50%;
    opacity: 0.29;
    border: 2px solid #000;
}
.project .kvell-slider-nav__slide:not(:first-child):before,
.project .kvell-slider-nav__slide:not(:last-child):after{
    /* display: none; */
    background: #797979;
}

.project .js-scale-link-circle {
    width: 100%;
    height: 100%;
    font-size: 14px;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: opacity 0.8s ease;
    -o-transition: opacity 0.8s ease;
    transition: opacity 0.8s ease;
    cursor: pointer;
    z-index: 1;
}
.project .js-scale-link-circle:after {
    display: block !important;
    border-radius: 50%;
    opacity: 0.29;
    border: 2px solid #000;
}
.project .js-scale-link-circle:before {
    display: block;
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #000;
    opacity: 0.29;
}

