:root {
    --my-color: #f8f8f8;

    --ripple-ani-duration: 5s;
}
/* header */
.header-layout5 .logo-shape {
    width: 25%;
}
.fa-play-rtl:before {
    transform: rotate(180deg);
    display: inline-block;
}
.event-card .box-img .badge {
    right: -1px;
}
.text-righ {
    text-align: right !important;
}

.accordion-card .accordion-button:after {
    padding-left: 10px !important;
}
.custom-tab {
    color: #198754;
    font-weight: 500;
    border: 1px solid transparent;
    border-radius: 0.5rem 0.5rem 0 0;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.custom-tab:hover {
    background-color: #e8f5e9;
    border-color: #198754;
}

.custom-tab.active {
    background-color: #198754;
    color: white;
    font-weight: bold;
    border-color: #198754 #198754 white;
}

.tab-content {
    height: 86%;
}
.blog-img.position-relative {
    position: relative;
}

.custom-center-play-btn {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 10;
}
.arrow-icon-custom {
    transition: margin-left 0.3s ease;
    transition-delay: 0.5s;
    margin-right: 6px;
    font-size: 1rem;
}

.load-more-btn:hover .arrow-icon-custom {
    margin-right: 12px;
    transition-delay: 0.3s;
}
.background-image_privet {
    background-image: url(assets/img/bg/testimonial_shape.png);
}

.pr-0 {
    padding-right: 0 !important;
}
.bg-color-whi {
    background-color: #f8f9fa !important;
}

.border-s1 {
    border: 1px solid #dee2e6 !important;
}
.m-s1 {
    margin-right: 0.7rem;
}
.me-20 {
    margin-right: 20px !important;
}
.hero-style6 .hero-title {
    margin: 10px 0 25px 10px;
}
.hero-style6 .hero-text {
    margin: 10px 0 25px 10px;
}
/* التابات */

.tabs-section .nav-tabs {
    border-bottom: 2px solid var(--theme-color2);
    justify-content: center;
    gap: 5rem;
    flex-wrap: wrap;
}
.tabs-section .nav-link:hover {
    background-color: #e2dcdc;
}

.tabs-section .nav-link {
    background-color: #f8f9fa;
    color: #444;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.tabs-section .nav-link.active {
    background-color: var(--theme-color2);
    color: var(--title-color);
    border-color: var(--theme-color2);
}

.tabs-section .tab-content {
    margin-top: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    font-size: 17px;
    line-height: 1.7;
    color: #333;
}

@media (max-width: 576px) {
    .tabs-section .nav-tabs {
        gap: 10px;
    }

    .tabs-section .nav-link {
        padding: 8px 15px;
        font-size: 14px;
    }

    .tabs-section .tab-content {
        padding: 15px;
    }
}
.tabs-section .nav-link.active {
    background-color: var(--theme-color2) !important;
    color: var(--my-color);
    border-color: var(--theme-color2);
    position: relative;
    z-index: 1;
}

.tabs-section .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 115%;
    height: 3px;
    background-color: var(--theme-color2);
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
    z-index: -1;
}
.gap_20px ul {
    gap: 20px;
}

.audio-inside-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;

    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.spical {
    background-color: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-top: 23px;
}

.nav-tabs .nav-link {
    margin-bottom: 0;
}
/* blog */
.new_pad {
    padding: 10px 12px;
}
.cousrse-card .tags {
    line-height: 1.7;
    font-size: 16px;
}
/* fatawa */
.back_whit {
    background: #f8f9fa !important;
}
.back_white {
    background: #fff;
}
.widget {
    padding: 30px;
    height: 100%;
}

.accordion-card {
    border: none;
}

.count_span {
    border: 1px solid #999;
    margin-right: 7px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 7px;
    margin-bottom: 13px;
    padding-top: 3px;
}

/* vedios */
.card {
    border-radius: 1.1rem;
}
.border_red1 img {
    border-radius: 1.6rem;
    padding: 14px;
}
.blog-img {
    height: 60%;
    overflow: hidden;
    position: relative;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* lecture */
.audio-play-wrapp {
    margin: unset;
    background-color: transparent;
}
.audio-play-wrapp audio {
    border: unset;
    width: 100%;
    height: 45%;
}
.background_color {
    background: #f8f9fa !important;
}

.audio-play-wrapp {
    margin: unset;

    background-color: transparent;
}
.audio-play-wrapp {
    padding: 5px 32px;
}

.flex_mine {
    display: flex;
}
.widget_categories ul li {
    margin-bottom: 10px;
}
.custom-hero-height {
    max-height: 570px;
}
.hero-style6 .th-btn {
    padding: 15px 25px;
}
.audio-play-wrapp .button-wrapp .th-btn {
    padding: 12px 15px;
}
.cousrse-card {
    border-radius: 16px;
}
.footer-top .th-btn {
    padding: 16px 26px;
}
.widget .th-social a {
    margin-left: 5px;
}
.th-header .th-btn {
    padding: 14px 20px;
}
.header-logo {
    margin-right: 20px;
}
.cousrse-card {
    padding: 15px;
}
.tow_height {
    height: 230px !important;
    border-radius: 15px;
}
.pbuttom {
    padding-bottom: 70px !important;
}
.space,
.space-bottom {
    padding-bottom: 80px;
}
.padding_top {
    padding-top: 80px;
}
th-btn {
    padding: 15px 17px !important;
}
.pb_80 {
    padding-bottom: 70px;
}
.h2,
h2 {
    font-size: 35px;
}
.btn_font_size {
    font-size: 17px;
}
.a_font_size {
    font-size: 21px;
}
.header-layout5 .header-top a,
.header-layout5 .header-top li,
.header-layout5 .header-top p,
.header-layout5 .header-top span,
.header-layout5 .header-top i {
    color: var(--my-color);
}

.th-btn .btn-text::before {
    color: var(--my-color);
}
.th-btn {
    color: var(--my-color);
}
.preloader .th-btn {
    color: var(--my-color);
}
.footer-widget.widget_meta a::before,
.footer-widget.widget_pages a::before,
.footer-widget.widget_archive a::before,
.footer-widget.widget_categories a::before,
.footer-widget.widget_nav_menu a::before {
    content: unset;
    position: unset;
    right: unset;
    top: unset;
    width: unset;
}
.widget .th-social a {
    color: var(--my-color);
}
.header-layout5 .header-links li:not(:last-child)::before {
    width: 0;
}
@media (max-width: 1500px) {
    .h1,
    h1 {
        font-size: 53px;
    }
}
@media (max-width: 768px) {
    .header-layout5 .logo-shape {
        width: 75%;
    }
    .logo_img img {
        max-width: 230px;
    }
    .hero-style6 {
        padding: 40px 0px 40px 0;
    }
    .container {
        max-width: 100%;
        padding: 0 15px;
        margin: 0;
    }
    .header-layout5 .th-menu-toggle {
        float: left;
    }
    .audio-play-wrapp .button-wrapp .th-btn:not(:last-child) {
        margin: unset;
    }
    .hero-style6 .hero-text {
        margin: auto auto 30px auto;
    }
    .th-menu-toggle {
        width: 50px;
        height: 46px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .header-layout5 .logo-shape {
        width: 85%;
    }
    .logo_img img {
        height: 75px;
    }
    .container {
        max-width: 100%;
        padding: 0 15px;
        margin: 0;
    }
    .header-layout5 .th-menu-toggle {
        float: left;
    }
    .hero-style6 {
        padding: 60px 0px 60px 0;
    }
}

@media (min-width: 992px) and (max-width: 1299px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
        margin: 0;
    }
}
.heightt img {
    height: auto;
}
.th-btn1 {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    padding: 12px 15px !important;
}
body,
html {
    overflow-x: hidden;
}

@media (min-width: 1200px) {
    .hero-style6 {
        padding: 100px 30px 100px 0;
    }
    /* vedio */
    .vedio_heigh img {
        height: 560px;
    }
    .vedio_heigh {
        height: 560px;
    }
}
@media (max-width: 1200px) {
    .gap_mine {
        gap: 30px;
    }
}
@media (min-width: 992px) and (max-width: 1410px) {
    .tabs-section .nav-tabs {
        gap: 1rem;
    }
}
/* نبذه عن الشيخ */
.blog-grid.style2 .blog-img {
    min-width: 40%;
}
.blog-grid.style2 .box-title {
    font-size: 30px;
    margin: 10px 0 30px 10px;
    font-weight: 800;
}
.blog-grid.style2 h6 {
    color: var(--theme-color2);
}
.blog-grid.style2 .box-text {
    margin: 10px 0 50px 10px;
}
.blog-grid {
    background-color: transparent;
}
@media (max-width: 1399px) {
    .blog-grid.style2 .blog-img {
        height: unset;
    }
}
.blog-grid.style2 .blog-img {
    height: 420px;
}
@media (max-width: 1399px) {
    .blog-grid.style2 {
        display: flex;
    }
}

@media (max-width: 991px) {
    .blog-grid.style2 {
        display: block;
    }
}
.blog-grid .box-content {
    z-index: 0 !important;
    position: relative;
}
/* footer */
.footer-widget .widget_title {
    margin: -0.11em 0 0 0;
}
p {
    margin: 0 0 0 0;
}
.widget .th-social a {
    --icon-size: 34px;
    font-size: 19px;
}
.widget .th-social a {
    padding: 2px;
}
.footer-widget {
    margin-bottom: 5px;
}
footer .email a {
    margin-right: -22px;
}
.widget_title::before {
    content: "";
    position: unset;
    right: unset;
    bottom: -unset;
    width: unset;
    height: unset;
    padding-bottom: unset;
    background-image: unset;
    background-repeat: no-repeat;
    background-size: unset;
}
.widget_title {
    font-size: 26px;
    z-index: 1;
}
/* books */
.team-box .box-img img {
    width: 100%;
    max-height: 370px;
    object-fit: fill;
}
.team-box .box-content {
    padding: 15px;
}
.box-title2 {
    font-size: 18px;
}
.cousrse-card2 {
    padding: 15px;
    height: 430px;
}
.cousrse-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}
.cousrse-card .tags {
    margin-bottom: 30px;
}
/* =-------------------------- */
.service-box2 .box-content .service-btn .simple-btn {
    color: var(--smoke-color);
}
.service-box2 {
    min-height: 425px;
}
.service-box2 .box-img img {
    height: 425px;
}
/* الخط */
.section-head.title-header-line {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
}

.section-head.title-header-line > .widget_title {
    order: 0;
    margin: 0;
    white-space: nowrap;
}

.section-head.title-header-line::after {
    content: "";
    order: 1;
    flex: 1 1 auto;
    min-width: 40px;
    height: 1.6px;
    background: var(--theme-color2);
    align-self: center;
    margin-inline: 8px;
    z-index: 1;
}

.section-head.title-header-line > .btn-group {
    order: 2;
    margin: 0;
}

/* الخط2 */

h3.widget_title.title-header-noline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    white-space: nowrap;
    font-weight: 600;
}

h3.widget_title.title-header-noline::after {
    content: "";
    flex: 1 1 auto;
    min-width: 30px;
    height: 1.6px;
    background: var(--theme-color2);
    border-radius: 2px;
    margin-inline-start: 12px;
    align-self: center;
}

@media (max-width: 576px) {
    h3.widget_title.title-header-noline::after {
        min-width: 18px;
        margin-inline-start: 8px;
    }
}
.th-btn {
    padding: 12px 14px;
}
.my-animation {
    background-image: url("/frontand/assets/img/bg/teach_bg.png");
    background-repeat: repeat-x;
    background-size: cover;
    background-position: 100% 0;
    animation: islamic 40s linear infinite;
}

@keyframes islamic {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 330px 0;
    }
}

@-webkit-keyframes islamic {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 330px 0;
    }
}
.theme_overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e8e5d9;
    opacity: 0.91;
    z-index: 0;
}
/* الدرر السنيه */
.styled-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.styled-list li {
    position: relative;
    padding: 10px 0;
    border-bottom: 1px solid var(--theme-color2);
    transition: all 0.3s ease;
}

.styled-list li:last-child {
    border-bottom: none;
}

.styled-list li a {
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.styled-list li i {
    font-size: 0.9rem;
    color: var(--theme-color2);
}
/* ايقونة المسجد */
.widget_nav_menu a:hover::before,
.widget_meta a:hover::before,
.widget_pages a:hover::before,
.widget_archive a:hover::before,
.widget_categories a:hover::before,
.wp-block-categories a:hover::before {
    content: url("data:image/svg+xml,%3Csvg width='14' height='16' viewBox='0 0 14 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.1477 13.4833H9.96276C9.67357 11.8054 9.62704 10.0838 8.62503 9.10117C7.64345 8.1387 6.3597 7.84087 5.508 7.06186V6.69724C5.58603 6.65989 5.64043 6.5808 5.64043 6.48869C5.64043 6.39653 5.58603 6.31744 5.508 6.28005V6.12508C5.52834 6.10176 5.54109 6.07164 5.54109 6.03831C5.54109 5.96517 5.40866 5.58789 5.40866 5.58789C5.40866 5.58789 5.27618 5.96517 5.27618 6.03831C5.27618 6.07168 5.28893 6.10186 5.30932 6.12512V6.28005C5.23124 6.3174 5.17684 6.39653 5.17684 6.48869C5.17684 6.58085 5.23129 6.65989 5.30932 6.69728V7.06186C4.45762 7.84087 3.17383 8.1387 2.19229 9.10122C1.19024 10.0839 1.14365 11.8054 0.854511 13.4833H0.669505L0.351562 14.3046H10.4657L10.1477 13.4833ZM2.1858 13.4502H1.82667V12.9335H2.1858V13.4502ZM3.31988 13.4502H2.9608V12.9335H3.31988V13.4502ZM4.45401 13.4502H4.09492V12.9335H4.45401V13.4502ZM5.58823 13.4502H5.22905V12.9335H5.58823V13.4502ZM6.72231 13.4502H6.36313V12.9335H6.72231V13.4502ZM7.85634 13.4502H7.49725V12.9335H7.85634V13.4502ZM8.99051 13.4502H8.63133V12.9335H8.99051V13.4502Z' fill='%23938447'/%3E%3Cpath d='M12.8704 10.3193V9.92781L12.4427 9.55469L11.8963 10.0317L11.3498 9.55473L10.923 9.9273V10.3193H10.2275V11.6175H10.7301V14.7278H0V15.9995H10.7302H10.8197H13.0631V11.6175H13.5659V10.3193L12.8704 10.3193ZM12.3659 14.5203H11.4275V13.2482H11.5573V12.7476L11.8967 12.414L12.2361 12.7476V13.2482H12.3659L12.3659 14.5203Z' fill='%23938447'/%3E%3Cpath d='M11.3487 8.48247L10.9219 8.85499V9.66432L11.3487 9.29175L11.8952 9.76873L12.4415 9.29175L12.8692 9.66491V8.8555L12.4416 8.48242L11.8952 8.95936L11.3487 8.48247Z' fill='%23938447'/%3E%3Cpath d='M10.6289 7.31255L10.9238 8.22994V8.5909L11.3506 8.21838L11.8971 8.69527L12.4434 8.21842L12.8711 8.5915V8.22971L13.166 7.31255H12.8711V3.61961L13.166 2.70245H12.3826V1.90258C12.3826 1.66875 12.217 1.4736 11.9968 1.42775V1.10935C12.0748 1.072 12.1293 0.992914 12.1293 0.900846C12.1293 0.808686 12.0748 0.7296 11.9968 0.692206V0.537189C12.0172 0.51392 12.03 0.483749 12.03 0.450377C12.03 0.377234 11.8975 0 11.8975 0C11.8975 0 11.765 0.37728 11.765 0.450377C11.765 0.483794 11.7778 0.51392 11.7981 0.537189V0.692251C11.7201 0.7296 11.6657 0.808686 11.6657 0.900846C11.6657 0.99296 11.7201 1.072 11.7981 1.10935V1.42775C11.5779 1.4736 11.4124 1.66871 11.4124 1.90258V2.70245H10.6289L10.9238 3.61984V7.3125H10.6289V7.31255ZM11.6319 4.12846H11.7053V3.84512L11.8975 3.65627L12.0895 3.84512V4.12846H12.163V4.84855H11.6318V4.12846H11.6319ZM11.6319 5.8373H11.7053V5.5541L11.8975 5.36517L12.0895 5.5541V5.8373H12.163V6.55739H11.6318V5.8373H11.6319Z' fill='%23938447'/%3E%3C/svg%3E%0A");
}
.new_efect {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px 20px 10px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.new_efect:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
/* ------------------------------------------------ */

.lesson-count {
    padding: 0 10px;
    background-color: #443a31;
    border-radius: 10px;
    color: #fff !important;
    margin-left: 10px;
}
.breadcumb-menu li::after {
    position: unset;
}
.blog-single-img {
    height: 450px !important;
}
.footer-widget .recent-post .post-title1 {
    color: var(--white-color);
    font-size: 18px;
    font-weight: 600;
}
.recent-post .post-title1 {
    font-weight: 700;
    font-size: 16px;
    line-height: 26px;
    margin-left: 10px;
    text-transform: capitalize;
}
.widget1 {
    margin-bottom: 56px;
    position: relative;
    border-radius: 30px;
}
.widget_title1 {
    position: relative;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0.02em;
    font-family: var(--title-font);
    color: var(--title-color);
    line-height: 1em;
    margin: -0.12em 0 53px 0;
}
.media-body1 {
    -webkit-box-flex: 1;

    flex: 1;
    line-height: 4;
}
.recent-post .recent-post-meta1 {
    margin-bottom: 5px;
}
.recent-post .recent-post-meta1 a {
    text-transform: capitalize;
    font-weight: 500;
    font-size: 16px;
    color: var(--theme-color);
}
.recent-post .media-img1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
}
.media-img1 img:not([draggable]),
embed,
object,
video {
    max-width: 100%;
    height: auto;
}
.media-img1 img {
    border: none;
    max-width: 100%;
}
.product-big-img .img img {
    width: 70%;
    height: 100%;
    object-fit: fill;
}
.product-big-img {
    background-color: transparent;
}
.lh-6 {
    line-height: 6;
}
