/*
 Theme Name: astra Child
 Template: astra
 Author: Sameer Alhdal
 Version: 1.0.0
*/


@import url("../astra/style.css"); /* في حالة بعض القوالب القديمة */

body{
    transition: 0.5s;

}

.big__search__form .search__type__drop {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    height: auto;
    color: #fff;
}
.big__search__form input[type="text"] {
    width: 440px;
    color: var(--ast-global-color-1);
    outline: 0px;
    padding: 15px 45px 15px 90px;
    border-radius: 1.5rem;
    height: 50px;
    border-radius: 1.5rem;
    font-weight: 800;
    border: 0;

}

.ast-blog-layout-5-grid .blog-layout-5, .ast-related-post-content {
    display: flex;
    flex-wrap: nowrap;
    vertical-align: middle;
}

@media (max-width: 544px) {
    .ast-separate-container .ast-article-post {
        width: 100%;
    }
}

.main-header-menu > .menu-item > .menu-link {
    border-radius: 1.5rem;
    font-weight: 600;
}



.big__search__form > i {
    color: #000;
}

.ast-pagination {
    padding-right: 0;
    padding-left: 0;
}

.big__search__form > i {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 6;
    bottom: 0px;
    display: flex;
    align-items: center;
    font-size: 16px;
    opacity: 0.5;
    padding: 0px 18px;
    color: #abb8c3;
}

.search__type__drop {
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: center;
    color: #fff;
    gap: 5px;
    border-radius: 1.5rem;
    padding: 7px 20px;
    background: var(--ast-global-color-0);
}

form.big__search__form {
    position: relative;
}


.posted-on {
    z-index: 1;
    position: absolute;
    left: 0;
    bottom: 0;
    margin: 25px 15px;
    padding: 10pxz;
}



.post-content.ast-width-md-6 ,.ast-separate-container .ast-blog-layout-5-grid .post-content, .entry-header.related-entry-header {
    position: relative;
}
.fa-classic, .fa-light, .fa-regular, .fa-solid, .fa-thin, .fal, .far, .fas, .fat {
    font-family: "Font Awesome 6 Pro";
}


.fa-light, .fal {
    font-weight: 300;
}


nav.breadcrumb-trail.breadcrumbs {
    padding: 1rem;
    background: #ffeb3b73;
    border-radius: 0.5rem;
    border: 2px solid #FFEB3B;
    margin-top: 1rem;
}

.main-header-menu > .menu-item > .menu-link {
    height: 3rem;
    margin: 0.3rem;
    border-radius: 1rem;
    background: var(--ast-global-color-6);
}

.ast-separate-container.ast-desktop .ast-blog-layout-4-grid .ast-row {
    margin-top: 2rem;
}

.main-header-menu > .menu-item > .menu-link:hover {
}

@media (max-width: 921px) {


	.ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-html-2 {
        width: 100%;
    }
    
    	.big__search__form input[type="text"] {
        width: 100%;
    }
    	.ast-header-html.inner-link-style- {
        width: 100%;
    }
	
}

.ast-related-post-content {
    background: var( --ast-global-color-secondary,--ast-global-color-5 );
}


.post-page-numbers.current .page-link, .ast-pagination .page-numbers.current {
    color: #fff;
    font-size: 18px;
	font-weight:800;
    border-radius: 0.5rem;
	background-color: var(--ast-global-color-1);
}

.ast-pagination .page-numbers {
    color: var(--ast-global-color-1) ;
    font-size: 18px;
	font-weight:800;
    border-radius: 0.5rem;
    background: #ffffff;
}

.post-page-numbers, .page-numbers {
    margin: 0.3rem;
}



.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item:hover > .menu-link, .ast-builder-menu-mobile .main-navigation .inline-on-mobile .menu-item:hover > .ast-menu-toggle {
    color: #fff;
    background: var(--ast-global-color-1);
    border-radius: 1.5rem;
	border: 2px solid var(--ast-global-color-1) !important;
}

.site .ast-single-related-posts-container {
    border-radius: 15px;
}


#astra-footer-menu > .menu-item > .menu-link {
    margin: 0px 3px;
    border-radius: 15px;
}

input[type="text"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type=reset]:focus, input[type="tel"]:focus, input[type="date"]:focus, select:focus, textarea:focus {
    border-color: var(--ast-global-color-1);
    box-shadow: none;
    outline: none;
    color: var(--ast-global-color-1);
    border: 1px solid var(--ast-global-color-1);
}
.ast-hfb-header .ast-builder-menu-mobile .main-navigation .menu-item .sub-menu .menu-link, .ast-hfb-header .ast-builder-menu-mobile .main-navigation .menu-item .menu-link, .ast-hfb-header .ast-builder-menu-mobile .main-navigation .menu-item .sub-menu .menu-link, .ast-hfb-header .ast-builder-menu-mobile .main-navigation .menu-item .menu-link, .ast-hfb-header .ast-mobile-header-content .ast-builder-menu-mobile .main-navigation .menu-item .sub-menu .menu-link, .ast-hfb-header .ast-mobile-header-content .ast-builder-menu-mobile .main-navigation .menu-item .menu-link, .ast-hfb-header .ast-mobile-popup-content .ast-builder-menu-mobile .main-navigation .menu-item .sub-menu .menu-link, .ast-hfb-header .ast-mobile-popup-content .ast-builder-menu-mobile .main-navigation .menu-item .menu-link {
    border: 0px;
    border-color: none;

    border-style: solid;
    border-radius: 1.5rem;
	font-weight: 900;
	margin: 5px 0;
	background-color: var(--ast-global-color-4);
}

.ast-builder-menu-1 .main-header-menu, .ast-builder-menu-1 .main-header-menu {
    background-color: transparent;
    background-image: none;
}


.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item:hover > .menu-link, .ast-builder-menu-mobile .main-navigation .inline-on-mobile .menu-item:hover > .ast-menu-toggle, .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-item > .menu-link, .ast-builder-menu-mobile .main-navigation .inline-on-mobile .menu-item.current-menu-item > .ast-menu-toggle, .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-ancestor > .menu-link, .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-ancestor > .ast-menu-toggle {
    color: #fff;
    border-radius: 1.5rem;
    border: 2px solid var(--ast-global-color-1) !important;
	background: var(--ast-global-color-1) !important;
}

.ast-builder-menu .main-navigation>ul {
    align-self: center;
    justify-content: center;
}


.ast-header-break-point .main-navigation .stack-on-mobile li {
    
    width: calc(97%/2);
    text-align: center;
    flex-direction: row;
	
}

.ast-header-break-point .main-navigation .stack-on-mobile {
    display: block;
}

.ast-hfb-header .ast-builder-menu-mobile .main-navigation .main-header-menu, .ast-hfb-header .ast-builder-menu-mobile .main-navigation .main-header-menu, .ast-hfb-header .ast-mobile-header-content .ast-builder-menu-mobile .main-navigation .main-header-menu, .ast-hfb-header .ast-mobile-popup-content .ast-builder-menu-mobile .main-navigation .main-header-menu {
    margin: 0;
}
/* لكل عنصر */
.ast-header-break-point .main-navigation .stack-on-mobile li {
    text-align: center;
    flex-direction: row; /* إذا كنت تستخدم flex داخل li */
    width: 100%; /* يتوسع مع العمود */
	    margin: 0px;

}

.ast-hfb-header .ast-builder-menu-mobile .main-navigation .main-header-menu, .ast-hfb-header .ast-builder-menu-mobile .main-navigation .main-header-menu, .ast-hfb-header .ast-mobile-header-content .ast-builder-menu-mobile .main-navigation .main-header-menu, .ast-hfb-header .ast-mobile-popup-content .ast-builder-menu-mobile .main-navigation .main-header-menu {
    margin: 0;
    padding: 10px;
}

.header-social-inner-wrap.element-social-inner-wrap.social-show-label-true.ast-social-color-type-custom.ast-social-stack-none.ast-social-element-style-filled {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.header-social-inner-wrap.element-social-inner-wrap.social-show-label-false.ast-social-color-type-custom.ast-social-stack-none.ast-social-element-style-filled {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    margin: 5px;
}


h1.entry-title {
    background-color: var(--ast-global-color-0);
    padding: 1rem 0.8rem;
    color: #fff;
    text-align: center;
    font-size: 22px !important;
    border-radius: 1.0rem;
}

.ast-separate-container header.entry-header:not(.related-entry-header) > *:first-child.post-thumb {
    padding: 1rem;
    padding-bottom: 0;
}

.entry-header .post-thumb-img-content.post-thumb img {
    border: 2px solid var(--ast-global-color-0);
}

header.entry-header:not(.related-entry-header) .post-thumb img, .ast-single-post-featured-section.post-thumb img {
    border-radius: 2rem;
}

.ast-separate-container .ast-article-single:not(.ast-related-post), .ast-separate-container .error-404, .ast-separate-container .no-results, .single.ast-separate-container .site-main .ast-author-meta, .ast-separate-container .related-posts-title-wrapper, .ast-separate-container .comments-count-wrapper, .ast-box-layout.ast-plain-container .site-content, .ast-padded-layout.ast-plain-container .site-content, .ast-separate-container .ast-archive-description, .ast-separate-container .comments-area {
    background-color: var(--ast-global-color-4);
    background-image: none;
    border-radius: 1rem;
}

.ast-blog-featured-section {
    margin-bottom: 0;
}

.entry-title a, .entry-header .ast-related-post-title a {
    font-size: 15px !important;
    text-align: center;
}


.post-has-thumb + .entry-header, .post-has-thumb + .entry-content {
    margin: 0;
    margin-top: 1em;
}


.ast-blog-layout-4-grid .ast-article-post {
    width: 25%;
    margin-bottom: 2em;
    border-bottom: 0;
    background-color: transparent;
}


p.ast-terms-link {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    padding: 15px 10px;
    background: #45b45f;
    border-radius: 3rem !important;
}

p.ast-terms-link a {
    color: var(--ast-global-color-0);
    font-size: 20px !important;
    padding: 0.5rem 1rem !important;
    border-radius: 1.5rem !important;
    background: #fff;
    margin: 0.3rem;
    border: 2px solid #fff;
}

button:focus, .menu-toggle:hover, button:hover, .ast-button:hover, .ast-custom-button:hover .button:hover, .ast-custom-button:hover, input[type=reset]:hover, input[type=reset]:focus, input#submit:hover, input#submit:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus, form[CLASS*="wp-block-search__"].wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button:hover, form[CLASS*="wp-block-search__"].wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button:focus, body .wp-block-file .wp-block-file__button:hover, body .wp-block-file .wp-block-file__button:focus {
    color: #ffffff;
    background-color: var(--ast-global-color-1);
    border: 2px solid;
}




.ast-separate-container #primary {
    padding: 1em 0;
    margin: 0;
    border: 0;
}

.editor-styles-wrapper, .entry-content
.big__search__form .search__type__drop {
	font-weight: 800;
}


@media (max-width: 544px) {
    .footer-widget-area[data-section="section-footer-menu"] .astra-footer-mobile-vertical-menu {
        display: flex
;
        justify-content: center;
        justify-items: stretch;
        width: auto;
        flex-wrap: wrap;
    }
}
.menu-toggle-close span.ahfb-svg-iconset.ast-inline-flex.svg-baseline {
    padding: 1rem;
    background-color: var(--ast-global-color-1);
    color: #fff;
    border-radius: 1rem;
    margin-left: 0.5rem;
}


.ast-row .blog-layout-4 .post-content, .blog-layout-4 .post-thumb, .ast-related-post-featured-section.post-has-thumb {
    padding: 5px !important;
    width: auto;
}


@media (max-width: 921px) {
    .ast-blog-layout-4-grid .ast-article-post {
        width: 100% !important;
    }
}


.ast-row .blog-layout-4 .post-content, .blog-layout-4 .post-thumb, .ast-related-post-featured-section.post-has-thumb {
    padding: 0 15px;
    padding-top: 1rem;
}

.ast-separate-container .ast-article-post {
    width: 49%;
}

.ast-blog-layout-5-grid .ast-blog-featured-section {
    height: 120px;
    width: 120px;
}

.ast-article-post .post-thumb-img-content , .ast-related-posts-inner-section .post-thumb-img-content{
    overflow: hidden;
    padding: 10px;
    width: 120px;
    height: 120px;
}

.ast-blog-layout-5-grid .ast-blog-featured-section {
    margin-bottom: 0;
}
.ast-blog-layout-5-grid .ast-article-post {
    margin-bottom: 1rem;
}

.ast-blog-layout-5-grid .ast-article-post ,.ast-related-posts-inner-section {
    border: 2px solid transparent;
    transition: 0.5s;
}

@media (max-width: 544px) {
    .ast-separate-container .ast-article-post {
        width: 100%;
    }
}

.ast-blog-layout-5-grid .ast-article-post:hover ,.ast-related-posts-inner-section:hover {
    border: 2px solid var(--ast-global-color-0);
    background: var( --ast-global-color-secondary,--ast-global-color-5 );
}

.ast-blog-layout-5-grid .ast-article-post, .ast-blog-layout-5-grid .ast-article-post:hover , .ast-related-post-content ,.ast-related-posts-inner-section:hover {
    border-radius: 1rem;
}

.post-content>.cat-links, .post-content>.read-more, .post-content>.tags-links {
    display: block;
    margin-bottom: 0.5em;
    font-weight: var(--ast-blog-meta-weight, "");
}

.ast-separate-container .site-main>.ast-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ast-separate-container .post-navigation {
    border-top: 0;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.site .ast-single-related-posts-container {
    padding-left: 0;
    padding-right: 0;
}

.ast-related-posts-inner-section {
    border-radius: 1rem;
}

.ast-related-posts-wrapper {
    display: grid;
    grid-column-gap: 15px;
    grid-row-gap: 15px;
}

.ast-related-posts-title-section {
    padding: 15px;
    background: #fff;
    margin-bottom: 20px;
    font-weight: 600;
    border-radius: 1rem;
}

.single .nav-links .nav-previous, .single .nav-links .nav-next {
    border-radius: 1rem;
    color: var(--ast-global-color-2);
    background: #fff;
    padding: 20px 10px;
    margin: 5px;
}

.ast-separate-container .ast-blog-layout-5-grid .post-content , .entry-header.related-entry-header {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    padding-top: 1rem !important;
    padding-bottom: 0 !important;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
}

.entry-meta.ast-related-cat-style--none.ast-related-tag-style--none {
    margin-right: 0;
    margin-bottom: 30px;
}

.ast-blog-layout-5-grid .ast-blog-featured-section {
    height: 120px;
}

textarea:focus, .wp-block-search__input:focus, [data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-minimal:focus, .ast-mobile-popup-drawer.active .menu-toggle-close:focus, #ast-scroll-top:focus, #coupon_code:focus, #ast-coupon-code:focus {
    border-style: none;
    border-color: inherit;
    border-width: thin;
}

.archive .entry-title, .blog .entry-title, .search .entry-title, .ast-related-post-content .entry-header .ast-related-post-title, .ast-related-post-content .entry-header .ast-related-post-title {
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.archive .ast-article-post .ast-article-inner:hover, .blog .ast-article-post .ast-article-inner:hover , .ast-post-format-.blog-layout-4.ast-article-inner:hover{
    overflow: hidden;
    border-radius: 1.5rem;
    top: -20px;
}



.ast-header-break-point .main-navigation .stack-on-mobile li {
    text-align: center;
    flex-direction: row;
    width: 100%;
    display: block;
}

.ast-header-break-point .main-navigation .stack-on-mobile li ul.sub-menu {
    background: #3d3d3d !important;
    padding: 1rem;
    border-radius: 1rem;
}

.ast-related-post-content .entry-meta, .ast-related-post-content .entry-meta * {
    font-size: 12px;
    line-height: 1.6em;
}


.ast-blog-single-element.ast-taxonomy-container a {
    font-size: 12px;
    font-size: 0.875rem;
    color: #fff;
}

.ast-taxonomy-container.cat-links.default a {
    background: var(--ast-global-color-0);
    padding: 4px 16px;
    border-radius: 1.5rem;
}


.post-has-thumb + .entry-header, .post-has-thumb + .entry-content {
    margin: 0;
}

.ast-related-post-content .entry-meta * {
    font-size: 13px;
    margin: 15px auto;
}

h3.ast-related-post-title.entry-title a {
    font-size: 16px !important;
    font-weight: bold !important;
}

span.ast-taxonomy-container.cat-links.default a {
    color: #ffffff;
}

.ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle {
        top: 0;
        border: 0px solid;
    }

.ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle:focus {
    top: 0;
    border: 0px solid #ffffff;
    color: #fff;
    top: 7px;
}

.ast-pagination .page-numbers, not .page-numbers.next, not .page-numbers.prev {
    display: none;
}

@media (max-width: 544px) {
    .ast-pagination .next:focus, .ast-pagination .prev:focus {
        width: -webkit-fill-available !important;
        color: var(--ast-bg-style-guide);
    }
}
.page-numbers.next, .page-numbers.prev {
    background: var(--ast-global-color-0);
    color: var(--ast-global-color-4);
}

.page-numbers.next:hover, .page-numbers.prev:hover {
    background: var(--ast-global-color-4);
    color: var(--ast-global-color-0);
}

.ast-desktop .ast-builder-menu-1 .menu-item .sub-menu:last-child > .menu-item > .menu-link, .ast-header-break-point .main-navigation ul .menu-item .menu-link {
    border-bottom-width: 0;
    border-radius: 10px;
    font-weight: 600;
}

.sub-menu .menu-item {
    margin: 5px;
}





.main-header-menu > .menu-item > .menu-link {
    border-radius: 1.5rem !important;
    font-weight: 600;
}


.ast-pagination {
    padding-right: 0;
    padding-left: 0;
    padding-top: 0;
}

.ast-pagination .prev.page-numbers, .ast-pagination .next.page-numbers {
    display: block;
}


.big__search__form input[type="text"] {
	border: 1px solid;
}

.ast-hfb-header .ast-builder-menu-mobile .main-navigation .menu-item .sub-menu .menu-link, .ast-hfb-header .ast-builder-menu-mobile .main-navigation .menu-item .menu-link, .ast-hfb-header .ast-builder-menu-mobile .main-navigation .menu-item .sub-menu .menu-link, .ast-hfb-header .ast-builder-menu-mobile .maain-navigation .menu-item .menu-link, .ast-hfb-header .ast-mobile-header-content .ast-builder-menu-mobile .main-navigation .menu-item .sub-menu .menu-link, .ast-hfb-header .ast-mobile-header-content .ast-builder-menu-mobile .main-navigation .menu-item .menu-link, .ast-hfb-header .ast-mobile-popup-content .ast-builder-menu-mobile .main-navigation .menu-item .sub-menu .menu-link, .ast-hfb-header .ast-mobile-popup-content .ast-builder-menu-mobile .main-navigation .menu-item .menu-link {
    border: 0px;
    border-color: none;
    border-style: solid;
    border-radius: 1.5rem;
    font-weight: 900;
    margin: 5px 0;
    background-color: transparent;
    text-align: justify;
}

.ast-header-break-point .main-navigation .stack-on-mobile li ul.sub-menu {
    background: transparent !important;
    padding: 1rem;
    border-radius: 1rem;
}


.ast-blog-layout-4-grid .ast-article-inner .wp-post-image, .attachment-large.size-large.wp-post-image {
    border: 3px solid #ababab9c;
    border-radius: 0.5rem;
    margin-bottom: 0.3rem;
    height: 100%;
}

.ast-article-post:hover .post-thumb-img-content img {
    transform: none;
}

.ast-blog-layout-4-grid .ast-article-post {
    width: 33%;
}

.ast-builder-menu .main-navigation>ul {
    align-self: center;
    justify-content: center;
    background-color: var(--ast-global-color-8) !important;
}







