@charset "utf-8";

/* CSS Document */

.patient-box{
margin: 40px 0;
padding: 0;
}
.patient-box-row {
    display: flex;
    background-color: #FFF;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    padding: 20px;
    margin: 40px 0;
    justify-content: start;
    align-items: stretch;
}
.patient-box-col {
    width: 50%;
    padding: 20px 40px;
}
.patient-box-col.img{
width: 40%;
}
.patient-box-col.title {
    width: 60%;
    color: #3eaf7c;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.patient-box-col.title > div{
flex: auto;
}

.patient-img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.patient-img:before {
    content: "";
    background-color: #2e3192;
    position: absolute;
    left: -10px;
    top: -10px;
    width: 90%;
    height: 90%;
    z-index: 0;
    border-radius: 10px;
}
.patient-img:after {
    content: "";
    background-color: #3eaf7c;
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 90%;
    height: 90%;
    z-index: 0;
    border-radius: 10px;
}
.patient-imgscale {
    padding-top: 71.15%;
    width: 100%;
    z-index: 1 ;
}
.patient-imgscale-ratio{
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
.patient-img img{
width: 100%;
height: 100%;
object-fit: contain;
border-radius: 10px;
overflow: hidden;
}
.btn-info {
    background-color: #ebebeb;
    border-radius: 10px;
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
}

@media screen and (max-width:768px) {
.patient-box-col {
    padding: 20px;
}
}

@media screen and (max-width:767px) and (orientation:portrait)  {
    .patient-box-row {
        flex-direction: column;
        row-gap: 30px;
    }
.patient-box-col.img,
.patient-box-col.title{
width: 100%;
padding: 0;
}
}