/*------------------------------切换区域------------------------------*/
.tabs{
    display: flex;
    height: 1.08rem;
    border-bottom: 1px solid #f0f0f0;
    justify-content: space-between;
}
.tabs p{
    flex: 1;
    position: relative;
    height: 100%;
    line-height: 1.2rem;
    text-align: center;
    font-size: 0.28rem;
    color: #666;
}
.tabs p.active{
    font-weight: bold;
    color: #3c7ef6;
}
.tabs p.active:after{
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 2.2rem;
    height: 0.06rem;
    margin: 0 auto;
    background-color: #3c7ef6;
    border-radius: 0.06rem;
}



/*------------------------------筛选区域------------------------------*/
.choice{
    position: relative;
    padding: 0.2rem 0.3rem 0.3rem;
    margin-bottom: 0.2rem;
    background-color: #fff;
}
.choice:after{
    content: '';
    position: absolute;
    bottom: -0.2rem;
    left: 0;
    width: 100%;
    height: 0.2rem;
    background-color: #F5F5F5;
}


/*-----------搜索框区域开始---------*/
.iptdiv{
    position: relative;
    height: 0.8rem;
    background-color: #f0f0f0;
    border-radius: 0.05rem;
}
.iptdiv:before{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0.3rem;
    width: 0.3rem;
    height: 0.3rem;
    margin: auto 0;
    background: url("../../img/icon/resource/icon-search.png") center;
    background-size: cover;
}
.iptdiv input{
    width: 100%;
    height: 100%;
    padding: 0 0.3rem 0 0.8rem;
    font-size: 0.28rem;
    background-color: transparent;
}


/*----------下拉框区域----------*/
.topselect{
    display: flex;
    height: 0.58rem;
    margin-top: 0.3rem;
    justify-content: space-between;
}
.topselect div{
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    padding-left: 0.1rem;
    margin-left: 0.1rem;
    background-color: #f0f0f0;
    border-radius: 0.58rem;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}
.topselect div:first-child{margin-left: 0}
.topselect div:after{
    content: '';
    width: 0;
    height: 0;
    border-width: 0.1rem 0.06rem;
    border-style: solid;
    border-color: #999 transparent transparent transparent;
    margin: 0.1rem 0.1rem 0 0;
}
.topselect div select{
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    font-size: 0.24rem;
    appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
    -ms-appearance:none;
    background-color: transparent;
}



/*------------------------------公共资源的列表------------------------------*/
.resourceslist {
    padding: 0 0.3rem;
    background-color: #fff;
}

/*公共资源列表的儿子*/
.resourceslist-child {
    background-color: #fff;
}

.resourceslist-child:last-child {
    border-bottom: none
}

.resourceslist-child .content {
    height: 1.2rem;
    display: block
}
/*儿子的主要内容*/
.resourceslist-child .content > .icon-head {
    float: left;
    width: 1.2rem;
    height: 1.2rem;
    border: 1px solid #F0F0F0;
    padding: 0.1rem;
    border-radius: 0.04rem;
    box-shadow: 0 0.03rem 0.05rem rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}
.resourceslist-child .content > .icon-head i{
    display: block;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

.resourceslist-child .content > .content-title {
    height: 0.32rem;
    margin-left: 1.5rem;
}

.resourceslist-child .content > .content-title em {
    float: left;
    width: 0.32rem;
    height: 0.32rem;
    margin-right: 0.08rem;
    line-height: 0.32rem;
    text-align: center;
    font-size: 0.2rem;
    color: #fff;
    background-color: rgba(60,126,246,.7);
    border-radius: 0.02rem;
    vertical-align: top;
}

.resourceslist-child .content > .content-title h3 {
    float: left;
    width: 100%;
    height: 0.32rem;
    line-height: 0.32rem;
    font-size: 0.28rem;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.resourceslist-child .content > .content-title p {
    float: right;
    height: 0.32rem;
    line-height: 0.32rem;
    font-size: 0.24rem;
    color: #76A4F9;
}

.resourceslist-child .content > p {
    margin: 0.2rem 0 0 1.5rem;
    line-height: 0.36rem;
    font-size: 0.24rem;
    color: #666;
    overflow: hidden;
    white-space: nowrap;
}

.resourceslist-child .foot { /*儿子的底部*/
    display: flex;
    height: 0.4rem;
    margin-top: 0.3rem;
    align-items: center;
}

.resourceslist-child .foot .left {
    display: flex;
    height: 100%;
    font-size: 0.24rem;
    align-items: center;
}

.resourceslist-child .foot .left a {
    display: block;
    color: #808080
}

.resourceslist-child .foot .left a i {
    display: inline-block;
    width: 0.3rem;
    height: 0.3rem;
    margin-right: 0.1rem;
    background-position: center;
    background-size: cover;
    vertical-align: top;
    border-radius: 50%;
    vertical-align: middle;
}

.resourceslist-child .foot .left strong {
    margin-left: 0.1rem;
    font-weight: normal;
    color: #999;
}

.resourceslist-child .foot .right {
    display: flex;
    height: 100%;
}

.resourceslist-child .foot .right > div {
    position: relative;
    margin-left: 0.71rem;
    font-size: 0;
}

.resourceslist-child .foot .right > div:first-child {
    margin-left: 0
}

.resourceslist-child .foot .right > div i {
    display: inline-block;
    width: 0.36rem;
    background-position: center;
    background-size: cover;
    vertical-align: top;
}

.resourceslist-child .foot .right > div:first-child i {
    height: 0.36rem;
    margin-top: 0.02rem;
    background-image: url("/static/style/img/icon/icon-praise.png");
}

.resourceslist-child .foot .right > div:first-child i.active {
    background-image: url("/static/style/img/icon/icon-praise-active.png")
}

.resourceslist-child .foot .right > div:nth-child(2) i {
    height: 0.34rem;
    margin-top: 0.03rem;
    background-image: url("/static/style/img/icon/icon-collection.png");
}

.resourceslist-child .foot .right > div:nth-child(2) i.active {
    background-image: url("/static/style/img/icon/icon-collection-active.png")
}

.resourceslist-child .foot .right > div em {
    position: relative;
    margin-left: 0.08rem;
    line-height: normal;
    font-size: 0.2rem;
    color: #333;
}

body,html{
    background-color: #f0f0f0;
}



























