@font-face {
    font-family: 'myb';
    src: url(../fonts/myb.ttf)
}

@font-face {
    font-family: 'myr';
    src: url(../fonts/myr.ttf)
}

@media only screen and (max-width: 480px) {
    #sp-header {
    height: 86px !important;}
    
    .article-list .article .article-intro-image{margin-top:60px !important; padding-top:4px !important;}
    .rssocial-icons {
        display: none;
    }
    .logo-image {
        width: 220px !important;
        margin-right: 55px !important;
    }
    .rssocial-icons ul {
        padding-top: 0px !important;
    }
    .article-details .article-header h1,
    .article-details .article-header h2 {
        font-size: 22px !important;
        line-height: 35px !important;
    }
    .col-lg-12 .article-details {
        padding: 6px 13px !important;
    }
    .form-control{
        font-size: 12px !important;
    }
    #sp-bottom .sp-module ul > li > a {
        padding: 13px 0px !important;
        line-height:34px !important;
    }
    .sp-slider .sp-item .sp-background {
        background-size: 127% !important;
        background-repeat: no-repeat;
        top: 44px;
    }
    .readalso h3 {
        color: #00C1D4 !important;
    }
    .readalso {
        padding: 22px 0px !important;
    }
    .pager {
        margin: 2rem 0 42px 0 !important;
    }

/* SLIDESHOW CSS*/

.sp-slider-content-align-left, .sp-slider-image-align-left {
    padding-top: 70px !important;
}    
    .tags {
    margin:10px 0 !important;
}

.article-details .article-header h1,
.article-details .article-header h2 {
    padding-top: 80px !important;
}
.tags > li a{margin:4px !important;}

}

/* End mobile CSS*/

html {
    --scrollbarBG: rgba(199, 199, 199, 0.38);
    --thumbBG: #00C1D4;
}

body::-webkit-scrollbar {
    width: 11px;
}

body {
    scrollbar-width: thin;
    scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}

body::-webkit-scrollbar-track {
    background: var(--scrollbarBG);
}


/* ------------------------- menu mobile ---------------------------*/
.offcanvas-menu .offcanvas-inner .sp-module ul > li a, .offcanvas-menu .offcanvas-inner .sp-module ul > li span{
    padding: 10px 18px; !important;}

.offcanvas-menu .offcanvas-inner .sp-module ul > li.menu-parent > a > .menu-toggler:after, .offcanvas-menu .offcanvas-inner .sp-module ul > li.menu-parent > .menu-separator > .menu-toggler:after {
    right: 16px;
}
.offcanvas-menu .offcanvas-inner .sp-module ul > li ul li {
    background-color: #eff0f0;
}
/* -------------------------End menu mobile ---------------------------*/

body.rtl.offcanvs-position-left .body-wrapper {
    right: 0 !important;
    overflow: hidden !important;
    position: initial !important;
}

.offcanvas-menu .offcanvas-inner .sp-module ul > li a, .offcanvas-menu .offcanvas-inner .sp-module ul > li span{
    border-bottom:none !important;
    
}
.offcanvas-menu .offcanvas-inner .sp-module ul > li{
    border-bottom: 1px solid rgba(166, 167, 179, 0.5) !important;
}

}


/*menu*/
/* .offcanvas-menu .offcanvas-inner .sp-module ul > li.menu-parent > a > .menu-toggler:after, .offcanvas-menu .offcanvas-inner .sp-module ul > li.menu-parent > .menu-separator > .menu-toggler:after {

    right: 16px;}

body.rtl .close-offcanvas {
    top: 33px;
}

.offcanvas-menu .offcanvas-inner .sp-module ul>li a,
.offcanvas-menu .offcanvas-inner .sp-module ul>li span {
    padding-left: 33px !important;
    padding-right: 44px !important;
}
*/


body::-webkit-scrollbar-thumb {
    background-color: var(--thumbBG);
    border-radius: 3px;
    border: 3px solid var(--scrollbarBG);
}

.col-lg-12 .article-details {
    padding: 0 200px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'myb' !important;
}

p,
body {
    font-family: 'myr'!important;
}

.sp-slider-content-align-left, .sp-slider-image-align-left {
    padding-top: 180px ;
}

.article-info span.reading-time-wrap {
    display: none;
}

.view-category .container .blog {
    padding-right: 20px
}

.readalso h3 {
    color: #00C1D4;
}

.readalso {
    padding: 0px 15%;
}

.pager {
    margin: 2rem 0 0px 0;
}

.logo-image {
    width: 220px !important
}

#sp-main-body {
    padding: 110px 0px 90px 99px
}

#sp-bottom {
    padding: 50px 0 50px
}

.body-innerwrapper:after {
    content: "";
    position: absolute;
    top: 70px;
    left: 0;
    right: 0px;
    height: 550px;
    background: linear-gradient(180deg, #DAE1E7 0%, #fff 100%);
    z-index: -1;
}


/*Menu main & sub*/

.sp-megamenu-parent .sp-dropdown li.sp-menu-item {
    background-color: rgba(240, 240, 240, 0.8);
    padding-right: 6px;
    margin: 2px;
    line-height: 34px;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item:hover {
    border-right: solid #EE2375 5px;
    transition: 0.7s;
}

.radius {
    border-radius: 10px
}

#sp-main-body {
    padding: 110px 0px 90px 90px
}


/*search compnent */

.form-check-inline .form-check-input {
    margin-left: 9px;
}

input[type=checkbox], input[type=radio] {
    margin-left: 7px;
}

/*Menu main & sub*/

.article-list.articles-leading .article a .article-intro-image > img {
    border-radius: 0 9px 9px 0
}

.blog .items-row .item .newsberg-article-content .newsberg-article-introtext > p {}

.article-list.articles-leading .article .article-body .article-header > h2 {
    line-height: 26px;
}

.article-list .article .article-introtext > p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.article-list .article .article-header h2 a {
    font-size: 22px;
    line-height: 36px
}

.article-details .article-header h1 {
    font-size: 28px;
    line-height: 46px
}

.article-list .article .article-header h1 a,
.article-list .article .article-header h2 a {
    font-size: 22px;
    line-height: 36px
}

.article-list .article:hover .article-intro-image > img {
    filter: contrast(112.2%);
}

.left-radious {
    border-radius: 0px 9px 9px 0px;
}

.right-radious {
    border-radius: 9px 0px 0px 9px;
}

.scrollable-element {
    scrollbar-color: #00C1D4;
}

.fortune-article-list .sppb-addon-article .sppb-article-img-wrap img {
    border-radius: 0px 7px 7px 0px;
    padding-left: 10px;
}

.fortune-article-list .sppb-addon-article {
    padding: 20px 10px 20px 20px;
}

.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.active:hover > a {
    font-family: 'myr';
}

.newss .acym_module_form input[type="email"]:not(.form-control) {
    padding: 12px 20px 12px 20px;
    border-radius: 0px;
    background-color: #414850;
    color: rgba(131, 131, 131, 1.00);
    direction: rtl;
    text-align: left;
}

.newss .acym_module_form .btn.btn-primary {
    border-radius: 0px;
    padding: 16px 30px 16px 30px;
    margin-right: 0px !important;
}

.acym_introtext {
    font-size: 14px !important;
    padding-bottom: 12px;
    text-align: right;
    color: #a2a2a2;
}

.article-details .article-info {
    padding-right: 30px;
}

#sp-top-bar {
    display: none;
}

#sp-header {
    padding-bottom: 44px;
    background-color: #fff !important;
    background: #fff !important;
}

.body-innerwrapper {
    padding-top: 0px;
}

.sp-page-title {
    padding-top: 55px;
}

.article-details .article-header h1,
.article-details .article-header h2 {
    padding-top: 70px;
    padding-bottom: 30px;
    width: 100%;
}

.fortune-feature-article .sppb-addon-article .sppb-article-info-wrap h3 a {
    font-size: 20px;
}

#sp-left .sp-module ul > li, #sp-right .sp-module ul > li {
    margin: 8px 6px;
    border-bottom: #ccc dotted 1px;
}

#sp-left .sp-module ul > li, #sp-right .sp-module ul > li:hover {
    background-color:#e4e2e2;
}
#sp-left .sp-module, #sp-right .sp-module {
    padding: 22px 0;}

#sppb-addon-1606122520751 .sp-slider.dot-controller-line .sp-dots ul li {
    color: rgba(255, 255, 255, 0.28);
}

#sp-bottom {
    line-height: 12px;
}

.sppb-form-group label,
.form-group label {
    font-size: 17px;
}

.view-article #sp-right,
.view-article #sp-left {
    display: initial !important;
}

.article-details #sp-right,
.article-details #sp-left {
    display: initial !important;
}

.input-group>.input-group-append>.btn,
.input-group > .form-control:not(:last-child) {
    height: 44px;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 33px;
    border-radius: 0px;
}

select.form-control:not([multiple]),
select:not(.form-control):not([multiple]),
select.inputbox:not([multiple]) {
    padding: 7px;
    margin-top: 20px;
    border-radius: 0px;
}

.list-group-item-action a {
    font-size: 18px;
}

.article-list.articles-leading .article p {
    display: none;
    padding: 16px
}

span.published {
    display: block;
}

.sp-module ul > li > a{ line-height:34px !important;}
#sp-bottom .sp-module ul > li > a {
    font-size: 14px;
    padding: 4px 0px;
    line-height:34px !important;
}


/*serach*/

.search img {
    height: 33px;
    padding-top: 12px;
}


/*social media*/

.rssocial-icons ul {
    padding-top: 550% !important;
}


/*menu*/


/*---------------------------------------------------------------------*/



/*--------------------------------------------------------------------*/


/*left bad color solve*/


select:not(.form-control):not([multiple]),
select.inputbox:not([multiple]),
select:not([multiple]) {
    -webkit-appearance: none;
    padding: 10px 20px 10px 20px;
    background-position: 1% 15px;
    background-size: 14px;
    border-radius: 3px;
}

.convertforms.cf-success .cf-response {
    background-color: #00C1D4;
}

.sp-scroll-up {
    background: rgba(0, 193, 212, 0.60);
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
    top: 55px !important;
    border: none;
}

.owl-carousel .owl-stage-outer {
    position: initial;
}

.sppb-addon-accordion .sppb-panel .sppb-panel-title {
    font-weight: bold;
    font-size: 16px;
    line-height: 23px;
}

.sppb-addon-accordion .sppb-panel .sppb-panel-heading {
    padding: 20px;
}

.fa-chevron-right:before {
    color: #00C1D4;
    font-size: 12px;
}

.fa-angle-right:before {
    display: none;
}

.sppb-panel-info>.sppb-panel-heading {
    background: #f7f7f7 !important;
    color: #00C1D4;
}

.tags {
    margin:30px 0;
}

/* =========================================================
   Human Access - News / Blog Article List Cards
   Add this at the very end of Custom CSS
========================================================= */

.view-category .article-list .article,
.article-list.articles-leading .article {
    background: #ffffff !important;
    border: 1px solid rgba(0, 193, 212, 0.16) !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    margin-bottom: 30px !important;
    box-shadow: 0 8px 24px rgba(24, 102, 127, 0.07) !important;
    transition: box-shadow 0.30s ease, border-color 0.30s ease, transform 0.30s ease !important;
}

.view-category .article-list .article:hover,
.article-list.articles-leading .article:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(0, 193, 212, 0.38) !important;
    box-shadow: 0 16px 38px rgba(24, 102, 127, 0.13) !important;
}

/* Image */
.view-category .article-list .article .article-intro-image,
.article-list.articles-leading .article .article-intro-image {
    margin-top: 0 !important;
    padding-top: 0 !important;
    overflow: hidden !important;
    background: #f6fafb !important;
}

.view-category .article-list .article .article-intro-image img,
.article-list.articles-leading .article .article-intro-image img {
    width: 100% !important;
    display: block !important;
    border-radius: 0 !important;
    transition: transform 0.40s ease, filter 0.40s ease !important;
  margin-bottom: 20px
}

.view-category .article-list .article:hover .article-intro-image img,
.article-list.articles-leading .article:hover .article-intro-image img {
    transform: scale(1.045) !important;
    filter: brightness(0.97) contrast(108%) !important;
}

/* Content Area */
.view-category .article-list .article .article-body,
.article-list.articles-leading .article .article-body {
    padding: 22px 24px 24px !important;
    text-align: right !important;
    direction: rtl !important;
}

/* Meta Info */
.view-category .article-list .article .article-info,
.article-list.articles-leading .article .article-info {
    margin-bottom: 10px !important;
    color: #69757D !important;
    font-size: 13px !important;
}

.view-category .article-list .article .article-info span,
.article-list.articles-leading .article .article-info span {
    color: #69757D !important;
    font-size: 13px !important;
}

/* Category Badge */
.view-category .article-list .article .category-name,
.article-list.articles-leading .article .category-name {
    display: inline-block !important;
    margin-left: 8px !important;
}

.view-category .article-list .article .category-name a,
.article-list.articles-leading .article .category-name a {
    display: inline-block !important;
    padding: 4px 12px !important;
    border-radius: 50px !important;
    background: rgba(0, 193, 212, 0.12) !important;
    color: #008FA0 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.view-category .article-list .article:hover .category-name a,
.article-list.articles-leading .article:hover .category-name a {
    background: #00C1D4 !important;
    color: #ffffff !important;
}

/* Title */
.view-category .article-list .article .article-header h1,
.view-category .article-list .article .article-header h2,
.article-list.articles-leading .article .article-header h1,
.article-list.articles-leading .article .article-header h2 {
    margin: 0 !important;
    padding: 0 !important;
}

.view-category .article-list .article .article-header h1 a,
.view-category .article-list .article .article-header h2 a,
.article-list.articles-leading .article .article-header h1 a,
.article-list.articles-leading .article .article-header h2 a {
    color: #263238 !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.25s ease !important;
}

.view-category .article-list .article:hover .article-header h1 a,
.view-category .article-list .article:hover .article-header h2 a,
.article-list.articles-leading .article:hover .article-header h1 a,
.article-list.articles-leading .article:hover .article-header h2 a {
    color: #00C1D4 !important;
}

/* Hide reading time if present */
.view-category .article-list .article .reading-time-wrap,
.article-list.articles-leading .article .reading-time-wrap {
    display: none !important;
}


/* Mobile */
@media only screen and (max-width: 480px) {
    .view-category .article-list .article,
    .article-list.articles-leading .article {
        border-radius: 15px !important;
        margin-bottom: 22px !important;
    }

    .view-category .article-list .article .article-intro-image,
    .article-list.articles-leading .article .article-intro-image {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .view-category .article-list .article .article-body,
    .article-list.articles-leading .article .article-body {
        padding: 17px 16px 19px !important;
    }

    .view-category .article-list .article .article-header h1 a,
    .view-category .article-list .article .article-header h2 a,
    .article-list.articles-leading .article .article-header h1 a,
    .article-list.articles-leading .article .article-header h2 a {
        font-size: 18px !important;
        line-height: 1.25 !important;
    }

    .view-category .article-list .article .article-info,
    .article-list.articles-leading .article .article-info {
        font-size: 12px !important;
    }
}

/* Remove unwanted gap under article images */
/* Human Access - Fix article image bottom gap */
.article-list .article .article-intro-image {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
}

.article-list .article .article-intro-image img,
.article-list .article .article-featured-video img,
.article-list .article .article-featured-audio img,
.article-list .article .article-feature-gallery img {
    margin-bottom: 0 !important;
    display: block !important;
    width: 100% !important;
    border-radius: 0 !important;
}
.article-list .article .article-intro-image .img {
    margin-bottom: 0px !important;
}

/* Mobile only - Category and Article details */
@media only screen and (max-width: 480px) {

    .view-category .container .blog {
        padding-right: 0 !important;
        margin-top: 90px !important;
    }

    .article-details .article-header h1,
    .article-details .article-header h2 {
        padding-top: 10px !important;
        font-size: 16px !important;
        line-height: 27px !important;
    }

    .article-details .article-info {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 20px !important;
        margin: 0 !important;
        border-bottom: 1px solid #edf2f7 !important;
        padding-bottom: 6px !important;
    }

    .col-lg-12 .article-details {
        margin: 70px 10px 0px 0px !important
    }

    .article-details h1 {
        margin-bottom: .1rem !important;
    }
  .article-details .article-info {
    padding-right: 0px !important;
}
.article-details .article-info {
    margin: 0 0 0 0 !important;
}
}
.article-details .article-full-image img {
    width: 1111px;
}

/* Human Access Page Loader */
html.ha-loader-active,
html.ha-loader-active body {
    overflow: hidden;
}

/* الطبقة الشفافة */
html.ha-loader-active::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    background: rgba(0, 193, 212, 0.14);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    pointer-events: none;
}

/* الشعار الدائري */
html.ha-loader-active::after {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 74px;
    height: 74px;
    transform: translate(-50%, -50%);
    z-index: 2147483002;
    border-radius: 50%;
    background-color: #ffffff;
    background-image: url("https://humanaccess.org/a/images/banners/favicon.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow: 0 12px 35px rgba(0, 105, 116, 0.22);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    pointer-events: none;
}

/* دائرة اللودينق حول الشعار */
html.ha-loader-active body::after {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 112px;
    height: 112px;
    margin-top: -56px;
    margin-left: -56px;
    z-index: 2147483001;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.85);
    border-top-color: #00C1D4;
    border-inline-end-color: rgba(0, 193, 212, 0.45);
    animation: haLoaderSpin 0.85s linear infinite;
    box-shadow: 0 14px 45px rgba(0, 105, 116, 0.16);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    pointer-events: none;
}

/* إخفاء اللودينق */
html.ha-loader-hiding::before,
html.ha-loader-hiding::after,
html.ha-loader-hiding body::after {
    opacity: 0;
    visibility: hidden;
}

@keyframes haLoaderSpin {
    to {
        transform: rotate(360deg);
    }
}

/* احترام إعدادات تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
    html.ha-loader-active body::after {
        animation: none;
    }
}

/* تصغير بسيط للجوال */
@media (max-width: 480px) {
    html.ha-loader-active::after {
        width: 64px;
        height: 64px;
    }

    html.ha-loader-active body::after {
        width: 98px;
        height: 98px;
        margin-top: -49px;
        margin-left: -49px;
    }
}