﻿/*استایل اضافه شده برای صفحه اول*/
.team-card__social__list {
    background-color: transparent !important;
}

.custom-service-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

    .custom-service-list li {
        padding: 10px 15px;
        border-bottom: 1px solid #ddd;
        font-size: 14px;
        width: 100%;
    }

        .custom-service-list li:last-child {
            border-bottom: none;
        }

        .custom-service-list li span {
            font-style: italic;
        }




.video-icon {
    font-size: 48px;
    color: #D18548;
    cursor: pointer;
    margin-right: 10px;
    vertical-align: middle;
}

hr {
    margin: 6px 0 !important;
}

/* استایل برای پس‌زمینه مودال */
.modal {
    display: none; /* مودال پیش‌فرض مخفی باشد */
    position: fixed; /* برای ثابت کردن مودال */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* پس‌زمینه شفاف */
    z-index: 1000; /* بالاترین لایه */
    overflow: hidden; /* جلوگیری از اسکرول */
}

/* محتوای مودال */
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* مرکز کردن محتوا */
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: fit-content; /* تطبیق اندازه با محتوا */
    text-align: center;
}

.close {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f44336;
    color: #fff;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

    .close:hover {
        background-color: #d32f2f;
        transform: scale(1.1);
    }

    .close:active {
        transform: scale(0.9);
    }


@media (max-width: 768px) {
    .mobile, .about-two__contentcol__printed {
        display: block !important;
    }

    .video-icon {
        display: none;
    }
}


@media (min-width: 769px) {
    .mobile, .about-two__contentcol__printed {
        display: none;
    }
}

@media (min-width: 769px) {
    .about-two__contentcol__printed {
        display: block;
    }
}

@media (max-width: 768px) {
    .about-two__contentcol__printed, .about-two__contentcol__btnwrap {
        display: none;
    }
}

@media (max-width: 768px) {
    .about-two__imagecol__imagesmall {
        top: 353px;
		visibility: hidden;
    }

    .main-slider-one__bg {
        background-repeat: no-repeat;
        background-position: inherit !important;
        background-size: cover !important;
    }
}

.linephoto {
    object-fit: cover;
    object-position: center center;
    border-radius: 15px;
    padding: 3px;
    height: 500px;
}

.p_AboutMe {
    text-align: justify;
}

.sampleimg {
    height: 500px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    padding: 10px;
}

.mystyle {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    left: 38px;
    bottom: 24px;
    background-color: var(--wallpi-base, #d18548);
    border: 1px solid var(--wallpi-base, #d18548);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wallpi-white, #fff);
}
.personoimg {
    object-fit: cover;
    object-position: center center;
}

/*پایان اضافه شده برای صفحه اول*/
/* برای عکس جزئیات خبر*/
.newsimg {
    height: 460px !important;
    object-fit: cover;
    object-position: center center;
    max-width: 100%;
    border-radius: 40px;
}