
.banner {
    width: 100%;
    height: 400px;
}

.banner-container {
    overflow: hidden;
    width: 100%;
    height: 100%;
    font-size: 0;
}

.banner-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-item-img {
    display: block;
    width: 100%;
    height: 100%;
}

.banner-item-content {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 99;
    transform: translate(-50%, -50%);
    width: 100%;
}

.banner-sub-title {
    color: #333333;
    font-size: 36px;
    text-align: center;
    line-height: 50px;

    &:lang(vi) {
        line-height: 43px;
    }
}

.banner-title {
    margin-top: 14px;
    color: #333333;
    font-size: 60px;
    text-align: center;
    line-height: 84px;

    &:lang(vi) {
        font-size: 48px;
        line-height: 58px;
    }
}

.platform-desc {
    margin-top: 60px;
}

.platform-desc-list {
    display: flex;
    justify-content: space-between;
    font-size: 0;
}

.platform-desc-list-item {
    display: inline-block;
    width: 250px;
    height: 250px;
    background: #FFFFFF;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 4px;
    text-align: center;
}

.platform-desc-item-img {
    display: inline-block;
    width: 80px;
    height: 80px;
    margin-top: 44px;

    &:lang(vi) {
        margin-top: 15px;
    }
}

.platform-desc-item-info {
    margin: 9px 15px 0;

    &:lang(vi) {
        margin-top: 7px;
    }
}

.platform-desc-item-title {
    color: #333333;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.4;

    &:lang(vi) {
        font-size: 24px;
        font-weight: bold;
        line-height: 1.2;
    }
}

.platform-desc-item-desc {
    margin-top: 9px;
    color: #333333;
    font-size: 18px;
    line-height: 1.375;

    &:lang(vi) {
        font-size: 18px;
        line-height: 1.37;
    }
}

.resource {
    margin-bottom: 54px;

    &.south-vietnam {
        margin-top: 54px;
        margin-bottom: 48px;
    }

    /* &:lang(vi) {
        margin-bottom: 59px;

        &.south-vietnam {
            margin-top: 57px;
            margin-bottom: 59px;
        }
    } */
}

.resource-header {
    position: relative;
    display: flex;
    align-items: flex-end;
    font-size: 0;
}

.section-title {
    color: #2E2E3A;
    font-size: 30px;
    font-weight: bold;
    line-height: 1;

    &.inline-block {
        display: inline-block;
    }
}

.resource-header-more {
    position: absolute;
    right: 0;
    bottom: 0;
    color: #666666;
    font-size: 14px;
    line-height: 1;

    &:hover {
        color: #E60012;
    }
}

.resource-list-container {
    margin-top: 24px;
}

.resource-list {
    display: grid;
    /* overflow: hidden; */
    width: 1225px;
    margin-left: -12px;
    font-size: 0;

    /* &:lang(zh) { */
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    /* } */

    /* &:lang(vi) {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 36px;
    } */
}

.resource-list-item {
    position: relative;
    padding: 10px 12px;
    border-radius: 4px;
    transition: .2s;

    &:hover {
        z-index: 9;
        box-shadow: 0 2px 10px 5px rgba(0, 0, 0, .1);
        transform: translateY(-2px);
    }

    &.has-vr::before, &.has-video::after {
        content: "";
        position: absolute;
        left: 20px;
        top: 178px;
        z-index: 99;
        pointer-events: none;
        width: 24px;
        height: 24px;
        background: url(/vietnam-city/imgs/vr.svg) center center/cover no-repeat;
    }

    &.has-video::after {
        background-image: url(/vietnam-city/imgs/video.svg);
    }

    &.has-video.has-vr::after {
        left: 52px;
    }

    /* &:lang(vi) {
        &.has-vr::before, &.has-video::after {
            width: 24px;
            height: 24px;
            right: auto;
            left: 18px;
            top: 50px;
        }

        &.has-vr.has-video::after {
            left: 44px;
        }
    } */
}

.resource-list-item-img-count {
    box-sizing: border-box;
    position: absolute;
    left: 20px;
    top: 178px;
    z-index: 99;
    height: 24px;
    padding: 0 8px;
    border-radius: 12px;
    background: rgba(0,0,0,0.3);
    color: #ffffff;
    font-size: 12px;
    line-height: 24px;
    pointer-events: none;

    &::before {
        content: "";
        display: inline-block;
        width: 16px;
        height: 16px;
        margin-right: 5px;
        margin-top: -1px;
        background: url(/vietnam-city/imgs/pic_icon.svg) center center/cover no-repeat;
        vertical-align: middle;
    }

    .has-video &, .has-vr & {
        left: 52px;
    }

    .has-video.has-vr & {
        left: 84px;
    }
}

.resource-list-item-link {
    /* &:lang(vi) {
        display: flex;
        width: 100%;
    } */
}

.resource-list-img {
    display: block;
    width: 282px;
    height: 200px;
    border-radius: 8px;
    vertical-align: middle;

    /* &:lang(vi) {
        display: inline-block;
        width: 100px;
        height: 71px;
    } */
}

.resource-list-item-content {
    /* &:lang(vi) {
        flex: 1;
        margin-left: 10px;
    } */
}

.resource-list-title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    width: 100%;
    min-height: 44px;
    margin-top: 16px;
    color: #333333;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.375;

    /* &:lang(vi) {
        margin-top: 0;
        line-height: 1.583;
    } */
}

.resource-list-desc {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    margin-top: 9px;

    &:lang(zh) {
        height: 24px;
    }

    /* &:lang(vi) {
        display: block;
        margin-top: 0;
    } */
}

.resource-list-area {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 40%;
    color: #0200FF;
    font-size: 16px;
    line-height: 19px;

    /* &:lang(vi) {
        display: block;
        max-width: 100%;
        margin-top: 8px;
        color: #333333;
        font-size: 14px;

        span {
            color: #0200FF;
            font-size: 16px;
        }
    } */
}

.resource-list-price {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 60%;
    color: #E60012;
    font-size: 24px;
    line-height: 24px;

    &.discussed {
        font-size: 20px;
    }

    span {
        display: inline-block;
        margin-left: 5px;
        font-size: 14px;
        font-weight: normal;
        vertical-align: middle;
        line-height: 1;
    }

    &:lang(vi) {
        font-size: 16px;
    }
}

.resource-list-desc-address {
    margin: 9px auto 0;
    padding-left: 18px;
    background: url(/vietnam-city/imgs/fj_location.svg) left center/16px 16px no-repeat;
    color: #333333;
    font-size: 14px;
    line-height: 20px;
    vertical-align: middle;
}

.demand {
    overflow: hidden;
    background: url(/vietnam-city//imgs/bg_form.svg) center center/cover no-repeat;
}

.demand-container {
    overflow: hidden;
    width: 850px;
    margin: auto;
}

.demand-form-title {
    margin-top: 53px;
    color: #2E2E3A;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
}

.demand-form {
    margin-top: 53px;
    margin-bottom: 60px;
}

.demand-form-row {
    width: 100%;
    margin-bottom: 40px;

    &.double-column {
        display: flex;
        justify-content: space-between;
    }
}

.demand-form-item {
    width: 100%;

    .double-column & {
        width: 47%;
    }
}

.demand-form-item-label {
    display: block;
    margin-bottom: 9px;
    color: #333333;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.375;

    &.require::after {
        content: "*";
        display: inline-block;
        color: #E60012;
    }
}

.demand-form-item-content {
    display: flex;
}

.demand-form-item-prefix {
    display: inline-block;
    width: 48px;
    height: 100%;
    background: #999999;
    border-radius: 4px 0 0 4px;
    color: #FFFFFF;
    font-size: 14px;
    text-align: center;
    line-height: 48px;
}

.demand-form-input {
    box-sizing: border-box;
    flex: 1;
    width: 100%;
    height: 48px;
    padding: 13px 15px;
    border: 1px solid #999999;
    border-radius: 2px;
    color: #333333;
    font-size: 16px;
    line-height: 1.375;

    &.demandContent {
        height: 86px;
    }

    &::placeholder {
        color: #999999;
    }

    .prefix & {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
}

.demand-form-area {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #999999;
    border-radius: 2px;
    border-radius: 2px;
    color: #333333;
    line-height: 1;

    &.hide {
        display: none;
    }
}

label.demand-form-err-tip {
    color: #F56C6C;
    font-size: 12px;
    line-height: 1;
    padding-top: 2px;
}

.form-tip {
    margin-top: -35px;
    margin-bottom: 49px;
    color: #666666;
    font-size: 12px;
    line-height: 1.375;
}

.demand-form-submit {
    display: block;
    width: 210px;
    height: 42px;
    margin: auto;
    border: none;
    border-radius: 4px;
    background: #E60012;
    color: #ffffff;
    font-size: 16px;

    /* &:hover, &:focus {
        background: #D55540;
    } */

    &[disabled] {
        background: #E18786;
        cursor: not-allowed;
    }
}