.projects{
    text-align: left;
    margin-top: 30px;
}

.project-list{
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(-2.083vw - 10px);
}

.project{
    width: calc(100% / 3 - 2.083vw - 10px);
    margin-right: calc(2.083vw + 10px);
    flex: 0 0 auto;
    background-color: #fafafa;
    color: #000;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: calc(2.083vw + 10px);
    transition: .3s;
}

.project .cover{
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.project .cover img{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    transition: .3s;
}

.project:hover .cover img{
    transform: scale(1.1);
}

.project .info{
    padding: calc(0.833vw + 12px) calc(0.833vw + 16px);
}
.project .title{
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1.4em;
    height: 1.4em;
}
.project .address{
    font-size: 16px;
    line-height: 1.5em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 4.5em;
    color: #333333;
    opacity: .6;
}

.project .capacity{
    margin-top: 8px;
}
.project .line1{
    display: flex;
    align-items: flex-start;
    margin-bottom: 4px;
}

.project .value{
    font-weight: bold;
    font-size: 28px;
    line-height: 1.1em;
}

.project .unit{
    font-size: 16px;
    color: #333333;
}
.project .line2{
    font-size: 16px;
    color: #333333;
    opacity: .6;
    margin-top: 8px;
}

.project:hover *{
    color: #0d2645;
}

.project:hover{
    background-color: #f4f4f4;
}

.no-content-hint{
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 32px;
    color: #ccc;
    text-align: center;
}

.projects .main{
    padding-bottom: calc(5.208vw + 30px);
}

.projects .yiiPager{
    text-align: center;
    width: 100%;
}

.projects .yiiPager li.hidden{
    opacity: .5;
    pointer-events: none;
}

@media (max-width: 1200px) {
    .project .title{
        font-size: 20px;
    }
    .project .line1 .value{
        font-size: 20px;
    }

    .project{
        margin-right: 20px;
        margin-bottom: 20px;
        width: calc(100% / 3 - 20px);
        flex: 0 0 auto;
    }

    .project-list{
        margin-right: -20px;
    }
}

@media (max-width: 800px) {
    .project{
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .project{
        width: calc(100% - 20px);
    }
}


