/*
 General
 -------------------------------------------------------------- */

@font-face {
    font-family: "Al Jazeera Arabic";
    font-weight: bold;
    src: url("../fonts/aljazeera-arabic/Al-Jazeera-Arabic-Bold.eot");
    src: url("../fonts/aljazeera-arabic/Al-Jazeera-Arabic-Bold.eot?#iefix") format("embedded-opentype"),
        url("../fonts/aljazeera-arabic/Al-Jazeera-Arabic-Bold.woff2") format("woff2"),
        url("../fonts/aljazeera-arabic/Al-Jazeera-Arabic-Bold.woff") format("woff"),
        url("../fonts/aljazeera-arabic/Al-Jazeera-Arabic-Bold.ttf") format("truetype")
}

@font-face {
    font-family: "Al Jazeera Arabic";
    font-weight: normal;
    src: url("../fonts/aljazeera-arabic/Al-Jazeera-Arabic-Regular.eot");
    src: url("../fonts/aljazeera-arabic/Al-Jazeera-Arabic-Regular.eot?#iefix") format("embedded-opentype"),
        url("../fonts/aljazeera-arabic/Al-Jazeera-Arabic-Regular.woff2") format("woff2"),
        url("../fonts/aljazeera-arabic/Al-Jazeera-Arabic-Regular.woff") format("woff"),
        url("../fonts/aljazeera-arabic/Al-Jazeera-Arabic-Regular.ttf") format("truetype")
}

:root {
    /* --font-family: "Open Sans", sans-serif; */
    --font-family: "PT Serif", serif;
}

html[dir="rtl"] {
    --font-family: "Al Jazeera Arabic", sans-serif;
}

body {
    font-size: 0.9375rem;
    -webkit-font-smoothing: antialiased;
    font-family: var(--font-family);
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.5;
    font-family: var(--font-family);
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

a,
.btn-link {
    text-decoration: none !important;
}

nav ul {
    margin: 0;
    padding: 0;
}

nav li {
    list-style: none;
}

:root {
    --bs-primary-rgb: 3, 26, 70;
    --bg-highlight-1: #fff0e1;
    --bs-danger-rgb: 25, 135, 84;
    --sc-heading-color: #212529;
    --magadir-surface-bg-1: #f5f5f5;
}

.nav-pills {
    --bs-nav-pills-link-active-color: #fff;
    --bs-nav-pills-link-active-bg: #00519b;
    --bs-nav-link-color: #000000;
}

.btn-primary {
    --bs-btn-bg: #091a47;
    --bs-btn-border-color: #091a47;

    --bs-btn-hover-bg: #030f2f;
    --bs-btn-hover-border-color: #091a47;
}

.btn-outline-warning {
    --bs-btn-color: var(--secondary-color);
    --bs-btn-border-color: var(--secondary-color);
}

.btn-warning {
    --bs-btn-bg: var(--secondary-color);
    --bs-btn-border-color: var(--secondary-color);
}

.btn-danger {
    --bs-btn-bg: #c70d06;
    --bs-btn-border-color: #c70d06;
}

.magadir-header {
    --bs-link-color: #fff;
    --bs-link-hover-color: #ffb615;
}

.magadir-header .navbar {
    --bs-navbar-color: #fff;
    --bs-navbar-hover-color: #ffb615;
}

@media (max-width: 767px) {
    .magadir-header.mobile {
        display: block;
    }
    .magadir-header.desktop {
        display: none;
    }
}
@media (min-width: 768px) {
    .magadir-header.mobile {
        display: none;
    }
    .magadir-header.desktop {
        display: block;
    }
}

#searchModalf {
    margin-bottom: 3px;
}

.magadir-sidenavbar {
    --bs-offcanvas-bg: #00519b;
    --bs-offcanvas-color: #fff;
    --bs-border-color: #ccc;
    --bs-offcanvas-width: 280px;
}

.magadir-sidenavbar .navbar-nav {
    --bs-navbar-color: #fff;
    --bs-navbar-hover-color: #2bcd82;
}

.has-border-dashed {
    --bs-border-color: #ababab;
}

.magadir-footer {
    --bs-border-color: #2bcd82;
}

.magadir-footer .nav {
    --bs-nav-link-color: #fff;
    --bs-link-hover-color: #ffb615;
}

.magadir-surface-bg-1 {
    background-color: var(--magadir-surface-bg-1);
}

@media (min-width:1400px) {

    .container,
    .container-lg {
        max-width: 1180px;
    }
}

.ratio-50 .ratio-16x9 {
    --bs-aspect-ratio: 50% !important;
}

.text-align-justify {
    text-align: justify;
}

.custom-fs-15 {
    font-size: 15px;
}

.magadir-section-highlight-1 {
    position: relative;
    padding: 24px;
    --bs-border-width: 10px;
    --bs-border-color: var(--secondary-color);
}

.magadir-section-highlight-1:before,
.magadir-section-highlight-1:after {
    content: "";
    width: 200px;
    height: 10px;
    background: var(--bs-body-bg);
    position: absolute;
    top: -10px;
    inset-inline-start: 50px;
}

.magadir-section-highlight-1:after {
    top: auto;
    bottom: -10px;
}

.magadir-editorial.magadir-section-highlight-1:before,
.magadir-editorial.magadir-section-highlight-1:after {
    width: 100px;
    inset-inline-start: 30px;
    background: #d3e7ff6b;
}

.magadir-editorial.magadir-section-highlight-1:after {
    inset-inline-start: auto;
    inset-inline-end: 30px;

}

.magadir-section-highlight-1 .heading {
    position: absolute;
    top: 0;
    width: 200px;
    height: 10px;
    background: var(--bs-body-bg);
    top: -10px;
    inset-inline-start: 50px;
    text-align: center;
    margin: 0;
    line-height: 0.5;
}

.magadir-section-highlight-2 {
    position: relative;
    background: var(--secondary-color-lighter);
}

.modal-ads-dialog {
    width: auto;
    min-width: min-content;
    max-width: max-content;
    margin: 1.75rem auto;
}

/* .navbar-nav.nav-divider .nav-item+.nav-item:before,
.nav.nav-divider .nav-item+.nav-item:before {
    content: "|";
    color: #1c3f58;
    padding-inline-end: 0;
    padding-inline-start: 0;
    --bs-text-opacity: 1;
    color: #fff;
    opacity: .2;
} */

.dropdown-toggle-icon-none .dropdown-toggle:after,
.dropdown-toggle-icon-none .dropdown-toggle::before {
    display: none;
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: '';
}

.clearfix:after {
    clear: both;
}

.fw-semi-bold {
    font-weight: 500 !important;
}

.ea-pf-icon {
    max-width: 28%;
}

.btn-circle-icon {
    width: var(--btn-circle-icon-wh, 35px);
    height: var(--btn-circle-icon-wh, 35px);
    line-height: var(--btn-circle-icon-wh, 35px);
    padding: 0px !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.x-small {
    font-size: 12px;
}

.fw-900 {
    font-weight: 900 !important;
}

.img-no-gaps {
    margin-inline-end: -12px !important;
    margin-inline-start: -12px !important;
}

@media (min-width: 768px) {
    .magadir-sidebar-col {
        max-width: 324px;
    }

    .magadir-mainbar-col {
        width: calc(100% - 324px);
    }
}

.twitter-tweet-rendered {
    margin: auto;
}

.wp-block-embed__wrapper {
    text-align: center;
}

.cat-text-danger .meta-category {
    color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important;
    font-weight: bold !important;
}

/* Social Networks */
.plat-has-color .bg-facebook {
    background-color: #3c5898;
    color: #fff;
}

.plat-has-color .bg-twitter {
    background-color: #1ea1f2;
    color: #fff;
}

.plat-has-color .bg-reddit {
    background-color: #ff4500;
    color: #fff;
}

.plat-has-color .bg-pinterest {
    background-color: #bd071c;
    color: #fff;
}

.plat-has-color .bg-email {
    background-color: #888888;
    color: #fff;
}

.plat-has-color .bg-linkedin {
    background-color: #0377b6;
    color: #fff;
}

.plat-has-color .bg-instagram {
    background-color: #0377b6;
    color: #fff;
}

.plat-has-color .bg-instagram {
    background-color: #3f709b;
    color: #fff;
}

.plat-has-color .bg-youtube {
    background-color: #e52f28;
    color: #fff;
}

.plat-has-color .bg-soundcloud {
    background-color: #ffb268;
    color: #fff;
}

.plat-has-color .bg-dribbble {
    background-color: #eb4c89;
    color: #fff;
}

.plat-has-color .bg-whatsapp {
    background-color: #4aed68;
    color: #fff;
}

.dropdown-sharing,
.dropdown-comment-filter {
    width: 350px;
}

.border-top-dashed {
    border-top: 1px dashed;
}

.border-bottom-dashed {
    border-bottom: 1px dashed;
}

.border-top-dashed,
.border-bottom-dashed {
    border-color: rgba(var(--bs-body-rgb), var(--text-high-emphasis));
}

.border-color-reset {
    border-color: inherit !important;
}

.border-dashed-2 {
    border-top-width: 2px !important;
}

.breadcrumb a {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(var(--bs-secondary-rgb), var(--bs-text-opacity)) !important;
}

.magadir-highlighted-box {
    background: var(--highlighted-box-bg) !important;
    color: var(--highlighted-box-color) !important;
}

.mw-50 {
    max-width: 50%;
}

.magadir-ads-970x250 {
    width: 970px;
    height: 250px;
    overflow: hidden;
}

.magadir-ads-728x90 {
    width: 728px;
    height: 90px;
    overflow: hidden;
}

.magadir-ads-300x250 {
    width: 300px;
    height: 250px;
    overflow: hidden;
}

.magadir-ads-300x600 {
    width: 300px;
    height: 600px;
    overflow: hidden;
}

.magadir-ads-320x50 {
    width: 320px;
    height: 50px;
    overflow: hidden;
}

.no-prespace {
    width: auto !important;
    height: auto !important;
}

.boxed-warpper {
    max-width: 1000px;
    margin: auto;
}

.has-divider:before {
    content: '';
    width: 50px;
    border-top: 2px solid;
    border-color: rgba(var(--bs-primary-rgb), 1);
    inset-inline-start: 0;
    position: absolute;
    z-index: 12;
    bottom: 0;
    inset-inline-end: var(--left);
}

.has-divider:after {
    content: '';
    width: 100%;
    border-top: 2px solid;
    border-color: rgba(var(--bs-secondary-rgb), 0.5);
    inset-inline-start: 0;
    position: absolute;
    bottom: 0;
}

.fs-10px {
    font-size: 10px;
}

.m-container {
    max-width: 980px !important;
}

.avatar {
    height: 3.5rem;
    width: 3.5rem;
    position: relative;
    display: inline-block !important;
}

.avatar-img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

/* 
Section heading
-------------------------------------------------------------- */
.magadir-section-heading-1 {
    --sc-heading-color: #00519b;
    --bs-link-color: #00519b;
}

.magadir-section-heading-1:before {
    background-color: var(--secondary-color);
    background-size: 2px 1px;
    content: "";
    width: 100%;
    height: 1px;
    display: block;
    position: absolute;
    bottom: 0;
    opacity: .5;
}

.magadir-section-heading-1:after {
    position: absolute;
    content: "";
    display: block;
    height: 3px;
    bottom: -1px;
    width: 120px;
    background-color: var(--secondary-color);
}

.magadir-section-heading-2 {
    --sc-heading-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important;
    --bs-link-color: #fff;
    --bs-link-hover-color: #fff;
}

.magadir-section-heading-2 .heading-title {
    display: inline-block;
    position: relative;
    padding: 1px 8px;
    border-radius: 5px;
    font-size: 15px;
    background: var(--secondary-color);

}

.magadir-section-heading-2 .heading-title>*:before,
.magadir-section-heading-2 .heading-title>*:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    inset-inline-end: 100%;
    width: 2000px;
    height: 2px;
    --bs-bg-opacity: 1;
    background-color: var(--secondary-color);
}

.magadir-section-heading-2 .heading-title>*:before {
    inset-inline-start: 100%;
}

/* 
Card Style
-------------------------------------------------------------- */
.card {
    border: none;
    background: none;
    border-radius: 0;
}

.block-with-overlay-card,
.card.category-card {
    --text-meduim-emphasis: 0.74;
    --bs-body-rgb: 255, 255, 255;
}

.card.stacked.variant-1 .card-body,
.card[class*="horizontal"] .card-body {
    padding: 0;
}


.card .card-img-overlay {
    z-index: 2;
}

.nav.nav-divider .nav-item {
    display: inline-block;
    vertical-align: middle;
}

.card-badge a,
.badge-group a {
    pointer-events: auto;
    text-decoration: none;
}

.card.stacked.variant-1 .card-img-container,
.card-badge,
.card-meta,
.card-icon,
.card.card-author .card-img-container {
    margin-bottom: 1rem;
}

.card-badge:last-child,
.card-meta:last-child,
.card-meta-author:last-child,
.card-title:last-child,
.card-icon:last-child {
    margin-bottom: 0px !important;
}

.card.overlay:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    bottom: 0;
    inset-inline-end: 0;
    inset-inline-start: 0;
    z-index: 1;
    background: var(--ea-card-overlay);
    border-radius: var(--card-border-radius);
}

.card-icon {
    display: block;
    font-size: 1.75rem;
}

.card.category-posts-card .card-body {
    min-height: 88px;
}

.card.category-posts-card:last-child {
    border-bottom: none !important;
    padding-bottom: 0px !important;
}

.card.category-posts-card:first-child {
    padding-top: 0px !important;
}

.card.has-border-dashed {
    padding: 16px 0;
    border-bottom: 1px dashed;
    border-color: var(--bs-border-color);
}

.col:last-child .card.has-border-dashed {
    padding-bottom: 0px !important;
    border-bottom: none;
}

.col:first-child>.card.has-border-dashed {
    padding-top: 0px !important;
}

.has-custom-border-dashed {
    padding-top: 1rem !important;
    border-top: 1px dashed;
    border-color: var(--bs-border-color);
}

/* 
Pagination
-------------------------------------------------------------- */

button.load-more-no-more,
button.load-more-loading {
    display: none;
}

/* 
Archives Template
-------------------------------------------------------------- */

/* 
404 Template
-------------------------------------------------------------- */
.magadir-404-template h1 {
    font-size: 105px;
    line-height: initial;
}

.magadir-404-template a {
    text-transform: uppercase;
    color: inherit;
    font-weight: bold;
}

/* 
Single Template
-------------------------------------------------------------- */

.wp-caption {
    max-width: 100%;
}

figcaption,
.wp-caption-text,
.wp-block-image figcaption {
    margin-top: 12px;
    font-size: 14px !important;
    --bs-text-opacity: 1;
    color: rgba(var(--bs-secondary-rgb), var(--bs-text-opacity)) !important;
}

.alignleft {
    float: left;
    margin-top: 6px;
    margin-inline-start: 24px !important;
    margin-bottom: 6px !important;
    margin-inline-end: 0;
}

.alignright {
    float: right;
    margin-top: 6px;
    margin-inline-start: 0;
    margin-bottom: 6px !important;
    margin-inline-end: 24px !important;
}

blockquote {
    background: #F5F5F5;
    margin: 20px 0;
    padding-inline-end: 1.5rem;
    border-inline-end: 5px solid;
    border-color: inherit;
}

blockquote p {
    font-size: 2rem;
    margin-bottom: 0;
}

blockquote cite {
    display: block;
    font-size: 80%;
    color: #6c757d;
}

blockquote cite::before {
    content: "\2014 \00A0";
}

.magadir-post-content p {
    line-height: 35px;
    text-align: justify;
    font-size: 18px;
}

/* Comments */
.comments-content {
    line-height: 35px;
    text-align: justify;
    font-size: 18px;
}

/* 
Newsletter
-------------------------------------------------------------- */


/* 
Sidebar widgets
-------------------------------------------------------------- */
/*General*/
.magadir-sidebar-widget:last-child {
    border-bottom: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.magadir-sidebar,
.magadir-economy-sidebar {
    will-change: min-height;
}

.inner-wrapper-sticky {
    transform: translate(0, 0);
    /* For browsers don't support translate3d. */
    transform: translate3d(0, 0, 0);
    will-change: position, transform;
}

/* Wordpress default widget */

/* 
 Footer
-------------------------------------------------------------- */


/* 
Custom
-------------------------------------------------------------- */
.magadir-customloop-1 .g-4 {
    --bs-gutter-y: 0 !important;
}

.magadir-customloop-1 .col:nth-child(5) .card.has-border-dashed {
    border-bottom: none;
    padding-bottom: 0px !important;
}

.magadir-customloop-1 .col:nth-child(2) .card.has-border-dashed {
    padding-top: 0px !important;
}

.custom-post-2 .col:nth-child(2) .card {
    flex-direction: row;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-inline-start: calc(var(--bs-gutter-x) * -.5);
    margin-inline-end: calc(var(--bs-gutter-x) * -.5);
}

.custom-post-2 .col:nth-child(2) .card .card-img-container,
.custom-post-2 .col:nth-child(2) .card .card-body {
    flex: 0 0 auto;
    width: 50%;
}

.custom-post-2 .col:nth-child(2) .card>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-inline-start: calc(var(--bs-gutter-x) * .5);
    padding-inline-end: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
}

/* 
Dark mode
-------------------------------------------------------------- */
/* 
 * Dark mode switch button 
 *
 */
.magadir-mode-switch .btn {
    width: 20px;
    height: 20px;
    padding: 0 !important;
    border-radius: 50%;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.magadir-light-mode {
    background: #091a47 !important;
    color: #091a47 !important;
    pointer-events: none;
}

body.dark-mode .magadir-light-mode {
    background: transparent !important;
    color: inherit !important;
    pointer-events: auto;
}

.magadir-dark-mode {
    background: transparent !important;
    color: inherit !important;
    pointer-events: auto;
}

body.dark-mode .magadir-dark-mode {
    background: #000 !important;
    color: #000 !important;
    pointer-events: none;
}

/* 
 * Dark mode colors override
 *
 */

.dark-mode {
    --bs-body-bg-rgb: 33, 37, 41;
    --bs-body-color: #ffffff;
    --bs-body-bg: #212529;
    --bs-secondary-rgb: 255, 255, 255;
    --bg-highlight-1: 33, 37, 41;
    --bs-primary-rgb: 0, 0, 0;
    --bs-danger-rgb: 25, 135, 84;
    --sc-heading-color: #ffffff;
    --magadir-surface-bg-1: #212529;
}

.dark-mode .modal {
    --bs-modal-bg: #212529;
}

.dark-mode .btn-danger {
    --bs-btn-bg: #f3425f;
    --bs-btn-border-color: #f3425f;
}

.dark-mode .text-secondary {
    --bs-text-opacity: .8;
}

.dark-mode .text-primary {
    --bs-text-opacity: 1;
    color: #c8e6c9 !important;
}

.dark-mode .magadir-section-heading-1:before {
    background-color: #fff;
}

.dark-mode .magadir-section-heading-1:after {
    background-color: #fff;
}

.dark-mode .magadir-section-heading-1 {
    --bs-link-color: #fff;
}

/* 
 * Animation
 *
 */
.pulse {
    position: relative;
    animation: animate-pulse 3s linear infinite
}

@keyframes animate-pulse {
    0% {
        box-shadow: 0 0 0 0 rgb(255, 109, 74, 0.7), 0 0 0 0 rgb(255, 109, 74, 0.7)
    }

    40% {
        box-shadow: 0 0 0 10px rgb(255, 109, 74, 0), 0 0 0 0 rgb(255, 109, 74, 0.7)
    }

    80% {
        box-shadow: 0 0 0 10px rgb(255, 109, 74, 0), 0 0 0 8px rgb(255, 109, 74, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgb(255, 109, 74, 0), 0 0 0 8px rgb(255, 109, 74, 0)
    }
}
