@charset "utf-8";

.db-list .views-row {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 12px;
    padding-bottom: 12px;
}

.db-list .views-row:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.db-list .field-image {
    width: 100px;
    height: 100px;
    float: left;
    margin-right: 16px;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
}

.db-list .field-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.db-list .field-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.db-list .field-title a {
    font-size: 18px;
    color: #333;
    line-height: 1.5;
    transition-duration: .4s;
}

.db-list .field-title a:hover {
    text-decoration: underline;
    color: #de4b39;
    transition-duration: .4s;
}

.db-list .field-normal {
    display: inline-block;
    margin-right: 24px;
    font-size: 15px;
    color: #777;
    margin-bottom: 2px;
}


.db-list .field-normal .views-label,
.db-list .field-normal .field-content {
    display: inline-block;
}

.db-list .field-link {
    width: 640px;
    padding-top: 2px;
}

.db-list .field-link a {
    color: #de4b39;
    display: inline-block;
    margin-right: 16px;
}

.db-list .field-link a:hover {
    text-decoration: underline;
}


@media all and (max-width: 767px) {
    
    .db-list .field-image,
    .db-list .views-field-nothing {
        display: inline-block;
        float: left;
    }

    .db-list .views-field-nothing {
        width: calc(100vw - 174px);
    }
    
    .db-list .field-image {
        margin-right: 12px;
    }
    
    .db-list .field-title a {
        font-size: 15px;
    }

    .db-list .field-link {
        width: auto;
    }

    .db-list .field-category-limit-date {
        padding-left: 113px;
    }
    
}

/* Tablets Portrait 的样式*/
@media all and (min-width:768px) and (max-width: 820px) and (orientation: portrait) {

    /* 数据库导航页面的样式 */
    .view-filters {
        padding: 12px 20px 8px;
        margin-bottom: 24px;
    }

    .view-filters .form-item label {
        width: 11%;
    }

    .view-filters .form-item .bef-links {
        width: 89%;
    }

    .db-list .field-image {
        width: 110px;
        height: 110px;
    }

    .db-list .field-link {
        width: 540px;
    }
    
}

/* Tablets Landscape 的样式 */
@media all and (min-device-width: 820px) and (max-device-width: 1180px) and (orientation: landscape) {

    .db-list .field-image {
        width: 110px;
        height: 110px;
    }

    .db-list .field-normal {
        margin-right: 16px;
    }

    .db-list .field-link {
        width: 480px;
    }
    
}




