* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    -webkit-tap-highlight-color: rgba(221, 221, 221, 0);
    /* //系统默认菜单被禁用 */
    -webkit-touch-callout:none;
    /* /webkit浏览器/ */
    -webkit-user-select:none;
    /* /早期浏览器/ */
    -khtml-user-select:none; 
    /* /火狐/ */
    -moz-user-select:none;
    /* /IE10/ */
    -ms-user-select:none;
    user-select:none;
    outline: none;
}

.line-clamp2{
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: justify;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-text-overflow: ellipsis;
}

.gallery-item{
    position: relative;
}

/* iphoneX、iphoneXs */

@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
    .course-list-box, .personal_box, .schedule-box{
        padding-bottom: 1.2rem !important;
    }
    .msg-list-box{
        /* height: calc(100% - 1.2rem) !important; */
        padding-bottom: 1.2rem !important;
    }
    .footer{
        height: 1.2rem !important;
    }
}


/* iphone Xs Max */
@media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio:3) {
    .course-list-box, .personal_box, .schedule-box{
        padding-bottom: 1.2rem !important;
    }
    .msg-list-box{
        /* height: calc(100% - 1.2rem) !important; */
        padding-bottom: 1.2rem !important;
    }
    .footer{
        height: 1.2rem !important;
    }
}

 

/* iphone XR */
@media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio:2) {
    .course-list-box, .personal_box, .schedule-box{
        padding-bottom: 1.2rem !important;
    }
    .msg-list-box{
        /* height: calc(100% - 1.2rem) !important; */
        padding-bottom: 1.2rem !important;
    }
    .footer{
        height: 1.2rem !important;
    }
}