/* Plant List */
.plant .card {
    height: 330px;
}

.plant .img-container {
    height: 220px;
    overflow: hidden;
}

.plant .plant-img {
    width: 100%;
}

.plant .card:hover,
.plant-disease .card:hover {
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08)
}

#plant-disease-header .img-container {
    margin-right:10px;
    padding: 5px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);
}

#plant-disease-header .img-container img {
    max-height: 120px;
}

#plant-disease-header .plant-name {
    color: white;
    display: inline-block;
}

#pdd-tab-content .plant-disease {
    margin-bottom: 30px;
}

#pdd-tab-content .plant-disease .card {
    margin-bottom: 0;
    height: 100%;
}

.plant-disease .card .img-placeholder {
    width: 100%;
    height: 150px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.plant-disease-detail-image .img-placeholder {
    height: 300px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

#pdd-tab-content .table th,
#pdd-tab-content .table td {
    padding-left: 1rem;
    padding-right: 1rem;
    white-space: normal;
}

#pdd-tab-content .pl {
    padding-left: 1rem;
}

#pdd-tab-content .table tr > td:first-child {
    width: 1%;
    white-space: nowrap;
}

@media only screen and (min-width: 1300px) and (max-width: 1400px) {
    .plant .card {
        height: 320px;
    }

    .plant .img-container {
        height: 200px;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1300px) {
    .plant .card {
        height: 310px;
    }

    .plant .img-container {
        height: 180px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1100px) {
    .plant .card {
        height: 280px;
    }

    .plant .img-container {
        height: 160px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 840px) {
    .plant .card {
        height: 270px;
    }

    .plant .img-container {
        height: 160px;
    }
}

@media only screen and (max-width: 575px) {
    #pdd-tab-content .table th,
    #pdd-tab-content .table td,
    #pdd-tab-content .pl {
        padding-left: 0.5rem;
    }
}

/* Image gallery */
.gallery img {
    transition: .3s;
}

.gallery img:hover {
    filter: grayscale(1);
}
