/*浮动*/

.fl {
    float: left;
}

.fr {
    float: right;
}


/*字体*/

.font12 {
    font-size: 12px;
}

.font14 {
    font-size: 14px;
}

.font16 {
    font-size: 16px;
}

.font18 {
    font-size: 18px;
}

.font20 {
    font-size: 20px;
}

.font24 {
    font-size: 24px;
}

.font28 {
    font-size: 28px;
}

.font30 {
    font-size: 30px;
}

.font48 {
    font-size: 48px;
}


/*颜色---根据项目来设置公共颜色*/

.color333 {
    color: #333;
}

.colorfff {
    color: #fff;
}

.color0768b9 {
    color: #0768b9;
}

.color666 {
    color: #666;
}

.color787a85 {
    color: #787a85;
}

.color999 {
    color: #999;
}

.colorec4141 {
    color: #ec4141;
}

.colorccc {
    color: #ccc;
}


/*常用盒子---根据项目进行删减*/

.layout {
    width: 100%;
}

.container1200 {
    width: 1200px;
    margin: 0 auto;
}

.container1180 {
    width: 1180px;
    margin: 0 auto;
}


/*显隐/块级/行内*/

.hz-block {
    display: block;
}

.hz-inline {
    display: inline;
}

.hz-inline-block {
    display: inline-block;
}

.hz-hide {
    display: none;
    visibility: hidden;
}

.text-center {
    text-align: center;
}

.margin20 {
    margin: 5px 0 5px 0;
}

.marginauto {
    margin: 0 auto;
}

.positionr {
    position: relative;
}


/*文本-省略号 截断*/

.hz-ellipsis {
    word-wrap: normal;
    /* for IE */
    -webkit-text-overflow: ellipsis;
    -moz-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}


/*多行位置截断*/

.hz-line-clamp {
    overflow: hidden;
    -webkit-text-overflow: ellipsis;
    -moz-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /*行数*/
    -webkit-box-orient: vertical;
}


/*滚动条美化*/

::-webkit-scrollbar {
    width: 4px;
    height: 4px
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    background-color: #aaa;
}

::-webkit-scrollbar-track {
    background-color: transparent
}

.fixheader {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
}

.fixbottom {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 9999;
}


/*header start*/

.p-header {
    width: 100%;
    height: 80px;
    background-color: #fff;
    line-height: 80px;
}

.p-header-logo {
    margin-top: 12px;
    margin-right: 96px;
}

.p-header-nav li {
    float: left;
    margin-right: 60px;
}

.p-header-nav li a:hover,
.p-header-nav li.active a {
    color: #0768b9;
}

.positionr {
    position: relative;
    height: 80px;
}

.p-header-rightCorner-search {
    position: absolute;
    right: 125px;
    top: 20px;
}

.p-header-rightCorner input {
    height: 36px;
    line-height: 36px;
    font-size: 14px;
    color: #333;
}

.p-header-rightCorner span {
    width: 48px;
    height: 36px;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    background: url(../img/search.png) no-repeat center center;
    cursor: pointer;
}

.p-header-rightCorner a {
    position: absolute;
    top: 37px;
    line-height: 0;
}

.p-header-rightCorner a.email {
    background: url(../img/email.png) no-repeat;
    background-size: 27px 22px;
    display: block;
    width: 27px;
    height: 22px;
    top: 29px;
}

.p-header-rightCorner a.user {
    background: url(../img/user.png) no-repeat;
    background-size: 30px 30px;
    display: block;
    width: 30px;
    height: 30px;
    top: 26px;
}

.p-header-rightCorner a.login,
.p-header-rightCorner a.email {
    right: 70px;
}

.p-header-rightCorner a.reg,
.p-header-rightCorner a.user {
    right: 20px;
}

.p-header-downList {
    width: 200px;
    height: 207px;
    background-color: #fff;
    box-shadow: 0 0 10px #ddd;
    position: absolute;
    right: 0;
    top: 80px;
    z-index: 99999;
    display: none;
}

.p-header-downList ul li {
    line-height: 52px;
    text-align: center;
    cursor: pointer;
}

.p-header-downList ul li.active,
.p-header-downList ul li:hover {
    background-color: #ddd;
}

.p-header-downList ul li.active a,
.p-header-downList ul li:hover a {
    color: #0768b9;
}

.p-header-downList ul li a {
    font-size: 14px;
    color: #666;
}

.myProject {
    background: url("../img/icon_myProject.png") no-repeat left center;
    padding-left: 30px;
}

.myAccount {
    background: url("../img/icon_myAccount.png") no-repeat left center;
    padding-left: 30px;
}

.closeAccount {
    background: url("../img/icon_closeAccount.png") no-repeat left center;
    padding-left: 30px;
}

.icon_topArrow {
    position: absolute;
    top: -10px;
    right: 20px;
    background: url("../img/topArrow.png") no-repeat;
    display: block;
    width: 20px;
    height: 20px;
    background-size: 20px 10px;
}


/*footer start*/

.p-footer {
    width: 100%;
    height: 140px;
    background-color: #24273d;
    padding-top: 20px;
}

.p-footer-con {
    width: 594px;
    height: 140px;
    /*background-color: #fff;*/
    margin: 0 auto;
}

.p-footer-con ul li a {
    margin-right: 11px;
}

.p-footer-con ul li:nth-child(1) {
    margin-left: 230px;
}


/*其余小部件公共样式*/


/*首页标题*/

.p-Index-title {
    margin: 0 auto 25px auto;
}

.p-Index-title h3 {
    font-weight: normal;
    margin-bottom: 10px;
}

.p-Index-title .line {
    width: 56px;
    height: 4px;
    background-color: #000;
    margin: 0 auto;
}


/*首页列表*/

.p-hotpx-list ul li {
    width: 278px;
    height: 270px;
    border: 1px solid #eee;
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    cursor: pointer;
}

.p-hotpx-list ul li:hover {
    box-shadow: 0 0 5px #ddd;
}

.p-hotpx-list ul li.noBorderright {
    margin-right: 0;
}

.p-hotpx-list ul li h3 {
    font-weight: normal;
    margin: 22px 0 0 10px;
}

.p-hotpx-list ul li p {
    margin: 30px 0 0 10px;
}

.p-hotpx-list ul li p span {
    margin-right: 15px;
}


/*右侧浮动块*/

.toolbar {
    position: fixed;
    right: 10px;
    bottom: 180px;
    width: 43px;
    height: 120px;
    /*临时*/
    border: 1px solid #e0dfdf;
    z-index: 1;
    display: none;
}

.toolbar-item {
    width: 100%;
    height: 40px;
    display: block;
    line-height: 40px;
    text-align: center;
    position: relative;
}

.toolbar-item-write {
    background: url("../img/icon_write.png") no-repeat;
    background-size: 22px 22px;
    position: absolute;
    top: 7px;
    left: 10px;
}

.toolbar-item-ewm {
    background: url("../img/icon_ewm.png") no-repeat;
    background-size: 21px 21px;
    position: absolute;
    top: 52px;
    left: 10px;
}

.toolbar-item-top {
    background: url("../img/icon_goTop.png") no-repeat;
    background-size: 22px 12px;
    position: absolute;
    top: 100px;
    left: 10px;
}


/*dllist start*/

.dl-list .dl-t {
    font-size: 18px;
    color: #333333;
    font-weight: 800;
    padding: 12px 0 20px 0;
}

.dl-list p {
    font-size: 16px;
    color: #666666;
    margin-bottom: 6px;
}

.dl-list .dl_btn {
    padding-top: 100px;
}

.dl-list .dl_btn a {
    display: block;
    width: 130px;
    height: 40px;
    line-height: 40px;
    background: #ec4141;
    color: #FFFFFF;
    font-size: 16px;
    text-align: center;
    border-radius: 5px;
}

/*多行位置截断*/
.cx-line-clamp {
  overflow : hidden;
  -webkit-text-overflow: ellipsis;
   -moz-text-overflow: ellipsis;
   -o-text-overflow: ellipsis; 
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;/*行数*/
  -webkit-box-orient: vertical;
}
.cx-line-clamp-2 {
  overflow : hidden;
  -webkit-text-overflow: ellipsis;
   -moz-text-overflow: ellipsis;
   -o-text-overflow: ellipsis; 
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;/*行数*/
  -webkit-box-orient: vertical;
}