/*
Theme Name: flatsome-child
Description: Day la child theme flatsome
Author: Hau
Template: flatsome
Version: 3.20.4
*/

.font-playball {
    font-family: 'Playball', cursive;
}

.font-rouge-script {
    font-family: 'Rouge Script', cursive;
}

/* Home */

.service-row .col {
    padding-bottom: 0;
}

.service-row .icon-box-text p {
    margin-bottom: 0;
}

.section-title b {
    display: none;
}

.section-title {
    font-size: 32px;
    margin-bottom: 0;
    border: none !important;
}

.section-title.section-title-center {
    justify-content: center;
}

.section-title span {
    border: none !important;
}

.case-row .box {
    border-radius: 4px;
    overflow: hidden;
}

.doctor-row .col-inner {
    height: 100%;
}

.doctor-item {
    border-radius: 165px;
    box-shadow: 0px 5px 20.7px -3px #00000040;
    padding: 40px;
    padding-bottom: 80px;
    height: 100%;
    background-color: #fff;
}

.doctor-item .icon-box-img {
    height: 220px !important;
    width: 220px !important;
    overflow: hidden;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    padding: 10px;
}

.doctor-item .icon-box-text h5:first-child {
    font-family: 'Rouge Script', cursive;
    text-transform: none !important;
    font-size: 24px;
    font-weight: 400;
    color: #000;
}

.doctor-item .doctor-text {
    text-align: justify;
    font-size: 13px !important;
}

.doctor-section {
    position: relative;
}

.doctor-section::before {
    height: 270px;
    width: 100%;
    content: "";
    position: absolute;
    top: 0;
    background: #F3F3F3;
    z-index: 0;
}

.news-img {
    position: relative;
}

.news-img .img-news-1 {
    z-index: 0;
}

.news-img .img-news-2 {
    position: absolute;
    top: 140px;
    right: 0px;
    z-index: 1;
}

.line-right-btn,
.line-left-btn {
    position: relative;
}

.line-right-btn::after {
    position: absolute;
    content: "";
    top: 50%;
    left: 100%;
    height: 1px;
    width: 700px;
    background: linear-gradient(270deg, rgba(217, 217, 217, 0.00) 0%, var(--primary-color) 100%);
}

.line-left-btn::after {
    position: absolute;
    content: "";
    top: 50%;
    right: 100%;
    height: 1px;
    width: 700px;
    background: linear-gradient(90deg, rgba(217, 217, 217, 0.00) 0%, var(--primary-color) 100%);
}

.gallery-row .box-image img {
    object-fit: contain !important;
    width: auto;
    height: 100%;
    max-height: 150px;
}

.text-justify {
    text-align: justify;
}

.align-center {
    align-items: center;
}

.text-white,
.text-white * {
    color: #fff !important;
}

.mb-0,
.mb-0 * {
    margin-bottom: 0 !important;
}

.img-border-primary img {
    border: 1px solid var(--primary-color);
}

.mt-auto {
    margin-top: auto;
}

.border-primary {
    border: 1px solid var(--primary-color);
}

.radius-sm {
    border-radius: 4px;
}

.bg-primary {
    background-color: var(--primary-color);
}

.p-10 {
    padding: 10px;
}

.justify-content-center {
    justify-content: center;
}

.bg-black {
    background: #000;
}

.text-medium {
    font-weight: 500;
}

.text-semibold {
    font-weight: 600;
}

.custom-box-item {
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.custom-box-item .box-image {
    overflow: hidden;
    background-color: #000;
}

.custom-box-item .box-image img {
    transition: transform 0.5s ease;
}

.custom-box-item .box-text {
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 65px
}

.custom-box-item:hover .box-image img {
    transform: scale(1.08);
}

.gallery-row .gallery-col .box-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

img {
    border-radius: 8px;
}

@media (max-width: 768px) {
    .news-img .img-news-2 {
        bottom: -70px;
        top: auto;
    }

    .section-title {
        font-size: 24px;
    }
}