/* 
project: 南京大学人才招聘网
date: 20200619
copyright： 南京博杉信息科技有限公司
*/


/* reset info */

body,
ol,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
p,
th,
td,
dl,
dd,
form,
fieldset,
legend,
input,
textarea,
select {
    margin: 0;
    padding: 0;
}

img {
    border: 0;
    vertical-align: middle;
}

li {
    list-style: none;
}

iframe {
    border: none;
}

html {
    height: 100%;
    font-size: 16px;
}

body {
    height: 100%;
    font-family: 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB', STHeiti, 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif;
}

a {
    color: #333;
    text-decoration: none;
}

a:visited {
    color: #333;
}

a:hover {
    transition: ease-in 0.5s;
}

input {
    outline: none;
    border: 0;
    border-radius: 0;
}


/* 盒模式 */

.f-dn {
    display: none;
}

.f-db {
    display: block;
}

.f-dib {
    display: inline-block;
}

.f-di {
    display: inline;
}


/* 浮动 */

.f-fl {
    float: left;
}

.f-fr {
    float: right;
}

.f-cb {
    clear: both;
}

.f-oh {
    overflow: hidden;
}


/* 定位 */

.f-pr {
    position: relative;
}

.f-pa {
    position: absolute;
}


/* 行数省略 */

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


.f-bgc {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* 手机版使用 */

@media screen and (max-width: 500px) {
    .f-to2 {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .f-to3 {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }
}