.card {
    border-radius: 1rem !important;
    margin-bottom: 6%;
    width: 98%;
    padding: 10px;
    display:inline-block;    
    background-color: #eff3f9 !important;
    margin: 1%;
    border: 1px solid #D3DAE3;
    color :#1d4886;
}
img.card-img-top {
    border-radius: 50%;
    border: 1px solid #D3DAE3;
    width: 100px;
    border-radius: 50%;
}
h4.card-title {
    font-size: 16px;
    font-weight: bold;
}
p.card-text {
    line-height: .4rem;
    font-size: 14px;
    
}

.departmentcls{
   background-color: #1d4886;
    color:white !important;
}
.dipartment-details{
    background-color: #861d1d;
    color:white !important;
}
.departmentcls * {
    color: white;
}
.departmentcls img {
    border-radius:10px;
}
.para-cource{
    background-color: #c1d4f361;
}
.OPD.card {
    max-width: 326px;
    text-align: center;
}
@media only screen and (max-width: 767px){
    .card {
        width: 98%;
    }
    img.card-img-top {
        width: 50px
    }
    .card-body {
        float: right;
        width: 79%;
    }
    p.card-text {
        line-height: 1.1rem;
        font-size: 14px;
    }
    .OPD .card-body {
        width: 100%;
    }
    .OPD.card {
        max-width: 100%;
    }
}
@media only screen and (min-width: 768px){
    .card-body {
        float: right;
        padding: 10px;
        width: 82%;
    }
    .anaesthesiology .card-body {
        width: 70%;
    }
    .OPD .card-body {
        width: 100%;
    }
}