.headerclinical {
    height: 200px;
    background-image: url('../img/elderly\ care\ test.jpg');
    justify-content: center;
    color: white;
    display: flex;
}

.headerclinical h1 {
    position: absolute;
    top: 72%;
    z-index: 1;
    background-color: #F3801F;
    border-radius: 20px;
    height: 100px;
    padding: 10px;
    box-shadow: 0 0 15px 0 #F36F25;
}
.md-sm-header {
    display: none;
}
.cases {
    display: block;
    padding: 5% 10%;
}

.caseimg {
    position:relative;
    z-index: 1;
    width: 100%;
    height: 265px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    cursor: pointer;
    filter: blur(18px);
}

.sensitive {
position: absolute;
z-index: 3;
color: #ffffff;
height: 265px;
width: 100%;
opacity: calc(0.9);
border-top-left-radius: 30px;
border-top-right-radius: 30px;
text-align: center;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 3; /* Sit on top */
    padding-top: 7%; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    overflow: hidden;
  }
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-height: 80%;
    max-width: 1300px;
    box-sizing: content-box;
  }

.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.5s;
  }

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
  }
 
@media only screen and (max-width: 700px){
    .modal-content {
      width: 100%;
      margin-top:50%;
    }
  }

@media (max-width:991px) {
    .headerclinical {
        display: none;
    }
    .md-sm-header {
        display: block;
        top: 100px;
        background-color: #ff9b45;
        color: white;
        border-radius: 20px;
        height: 91px;
        padding: 5px;
        padding-top: 20px;
        margin: 5px;
        text-align: center;
        box-shadow: 0 0 15px 0 #F36F25;
        font-size: 2.6rem;
    }
}
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 4rem;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  
.sensitiveicon {
    font-size: 3.5rem;
    padding-top: 80px;
    padding-bottom: 5px;
}



.card-body {
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}
.card {
    border-radius: 30px;
    transition-duration: 0.2s;
}
.card:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #F36F25;
}

.card:hover .sensitive {
    display: none;
} 

.card:hover .caseimg {
    filter: none;
}

.card-body {
    background-color: #ff9b45;
    color: white;
    font-weight: bold;
}
.card-body h5 {
    font-weight: bold;
}
.test {
    background-color: antiquewhite;
    height: 265px;
    border-top-left-radius: 30px;
border-top-right-radius: 30px;
}

.popupcase1 {
    display: block;
}
.caselink1:visited .popupcase1 {
    display: block;
}
/* .modal-dialog {
 
}
.activecase:active .modal-dialog {
    display: block;
} */

