.tf-page-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    /*background-color: white;*/
}
.tf-page-container {
   /* position: absolute;
    left: 50%;
    margin-left: -700px;
    width: 1400px;
    height: 100%;*/
    width: 100%;;
    height: 100%;
    /*left: 50%;*/
    /*margin-left: -25%;*/
}

.tf-page-container-left {
    float: left;
    width:  calc((100% - 640px)/2);
    height: 100%;
}

.tf-page-container-center {
    float: left;
    width: 640px;
    height: 100%;

}

.tf-page-container-right {
    float: left;
    width:  calc((100% - 640px)/2);
    height: 100%;

}

@media only screen and (max-width: 640px) {
    .tf-page-container {
        width: 640px;
        margin-left: -320px;
    }
    .tf-page-container-left {
        display: none;
    }

    .tf-page-container-right {
        display: none;
    }
}

@media only screen and (max-width: 500px) {
    .tf-page-container {
        width: 100%;
        left: 0;
        margin-left: 0;
    }

    .tf-page-container-center {
        width: 100%;
    }
}
/*========= on top ========= */
.tf-page-on-top {
    position: fixed;
    height: 30px;
    line-height: 30px;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    background-color: grey;
    border-radius: 5px;
    display: none;
}

@media only screen and (max-width: 768px) {
    .tf-page-on-top {
        right: 5px;
    }
}

.tf-page-on-top a {
    border-radius: 5px;
}

/*
======== ======= detail ========= =========*/
.tf-page-detail-wrap {
    width: 100%;
    height: 100%;
}

.tf-page-detail-view {
    width: calc(100% - 450px);
    height: 100%;
    float: left;
    background-color: black;
    padding: 50px;
    /* vertical-align: middle;*/
}

.tf-page-detail-info {
    width: 450px;
    height: 100%;
    background-color: white;
    float: left;
    position: relative;
    padding-top: 40px;
}

@media only screen and (max-width: 768px) {
    .tf-page-detail-view {
        width: 100%;
        height: 30%;
        padding: 0;
    }

    .tf-page-detail-info {
        width: 100%;
        height: 70%;
        background-color: white;
    }
}

.tf-page-detail-info-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    background-color: white;
    border-bottom: 1px solid #d0d0d0;
    /*min-height: 40px;*/
}

.tf-page-detail-info-body {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
}