/*
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: Kadence Theme is a lightweight yet full featured WordPress theme for creating beautiful fast loading and accessible websites, easier than ever. It features an easy to use drag and drop header and footer builder to build any type of header in minutes. It features a full library of gorgeous starter templates that are easy to modify with our intelligent global font and color controls. With extensive integration with the most popular 3rd party plugins, you can quickly build impressive ecommerce websites, course websites, business websites, and more.
Tags: translation-ready,two-columns,right-sidebar,left-sidebar,footer-widgets,blog,custom-logo,custom-background,custom-menu,rtl-language-support,editor-style,threaded-comments,custom-colors,featured-images,wide-blocks,full-width-template,theme-options,e-commerce
Version: 1.1.40.1687101935
Updated: 2023-06-18 18:25:35

*/

.wrap {
    margin: 0px !important;
}

.owl-carousel .item {

    text-align: center;
}

#personal {
    padding: 5vw 7vw;
}

#update-btn {
    padding: 7px 34px;
    margin-top: 20px !important;
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: white;
}

.custom-login-form {
    max-width: 520px;
    margin: 24px auto;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 16px 0 rgba(17, 17, 26, .05), 0 8px 32px 0 rgba(17, 17, 26, .05);
    border: 0;
    padding: 30px;
    margin-top: 3vh !important;
    margin-bottom: 7vh !important;
    text-align: right
}

.custom-login-form label {
    font-weight: bold;
    color: #55A630;
    margin-bottom: 7px;
}

.custom-login-form [type=submit],
.custom-login-form input {
    width: 100%;
}

.custom-login-form h3 {
    font-size: 16px;
    text-align: center;
}

/* تغليف الحقل مع الأيقونة */
.input-icon-wrapper {
    position: relative;
    margin-bottom: 20px;
}

/* الحقول نفسها */
.input-icon-wrapper input[type="text"],
.input-icon-wrapper input[type="password"] {
    width: 100%;
    padding-right: 50px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    direction: rtl;
    box-sizing: border-box;
}

/* الأيقونات داخل الحقول */
.input-icon-wrapper .input-icon {
    position: absolute;
    top: 70%;
    right: 12px;
    transform: translateY(-50%);
    pointer-events: none;
}

.input-icon-wrapper .input-icon img {
    width: 20px;
    height: 20px;
}

#dashboardTabs,
.list-group {
    padding-right: 0px;
}

.new-post-btn {
    background-color: #007f5f !important;
}

/* Table styling */
.table {
    width: 100%;
    margin: 20px auto;
    border-collapse: collapse;
    direction: rtl;
    /* Ensures right-to-left alignment */
    text-align: right;
}

/* Header styles */
.table th {
    background-color: #EFEFEF !important;
    color: #1E1E1E !important;
    text-align: right;
    padding: 12px;
    border: 0px !important;
}

/* Cell styles */
.table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
}

/* Badge styles */
.badge {
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 5px;
}

/* Buttons */
.btn-warning {
    font-weight: bold;
    padding: 6px 12px;
}

.btn-success {
    display: block;
    width: fit-content;
    margin: 20px auto;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    background: #28a745;
    color: white;
    text-align: center;
    transition: background 0.3s ease;
}

.btn-success:hover {
    background: #218838;
}

.post-update {
    padding: 0px 20px;
}

/* References section */
.references-title {
    font-size: 20px;
    font-weight: bold;
    margin-top: 30px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

.references-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.references-list li {
    margin-bottom: 5px;
    font-size: 16px;
    color: #333;
}

.post-form {}

.post-cancel {
    border-radius: 3px !important;
    padding: 7px 30px !important;
}

.alert.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.custom-reset-form {
    width: 45% !important;
    margin: 50px 0px;
    background: #fff;
    box-shadow: 0 4px 16px 0 rgba(17, 17, 26, .05), 0 8px 32px 0 rgba(17, 17, 26, .05);
    padding: 30px;
    margin-top: 50px !important;
}

.custom-new-password-form {
    width: 45% !important;
    margin: 50px 0px;
    background: #fff;
    box-shadow: 0 4px 16px 0 rgba(17, 17, 26, .05), 0 8px 32px 0 rgba(17, 17, 26, .05);
    padding: 30px;
    margin-top: 50px !important;
}

/* Dashboard CMS Start*/
.writer-dashboard {
    display: flex;
    min-height: 100vh;
    direction: rtl;
}

.sidebar {
    width: 260px;
    background-color: #FFFFFF;
    color: #1E1E1E;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 4px 0px 24px -17px rgba(0, 0, 0, 0.75) inset;
    -webkit-box-shadow: 4px 0px 24px -17px rgba(0, 0, 0, 0.75) inset;
    -moz-box-shadow: 4px 0px 24px -17px rgba(0, 0, 0, 0.75) inset;
}

.sidebar img.logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.sidebar a span {
    margin-left: 5px;
}

.sidebar a {
    color: #1E1E1E;
    text-decoration: none;
    padding: 7px 10px;
    width: 100%;
    text-align: right;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.sidebar .active {
    background-color: #55A630;
    color: white;
}

.sidebar .active:hover {
    color: white;
}

.dashboard-content {
    flex: 1;
    padding: 30px;
    background-color: white;
    height: 100vh;
    overflow: scroll;
}

.nav-tabs {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    justify-content: start;
}

.nav-tabs .nav-link.active {
    background-color: #004d26;
    color: white;
}

/* تغيير ألوان البادجات */
.badge.bg-success {
    background-color: #55A630 !important;
    /* أخضر داكن */
}

.badge.bg-warning {
    background-color: #D0B54B !important;
    /* أصفر */
    color: #000 !important;
}

.badge.bg-secondary {
    background-color: #BDBDBD !important;
    /* رمادي فاتح */
    color: #000 !important;
}

.badge.bg-info {
    background-color: #81D4FA !important;
    /* أزرق فاتح */
    color: #000 !important;
}

.badge.bg-danger {
    background-color: #EF5350 !important;
    /* أحمر */
}

/* ألوان الأزرار */
.btn-warning {
    background-color: #F9A825 !important;
    border: none;
}

.btn-info {
    background-color: #007F5F !important;
    color: white !important;
    border: none !important;
}

.btn-success {
    background-color: #43A047 !important;
    border: none;
}

.btn-primary {
    background-color: #1976D2 !important;
    border: none;
}

.nav-link img {
    filter: grayscale(100%) brightness(0);
    transition: 0.3s ease;
}

.nav-link.active img {
    filter: none;
}

#header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* تحسين المظهر العام */
.table thead.table-dark {
    background-color: #EFEFEF;
    color: #1E1E1E;
    border: 1px solid #EFEFEF !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: white !important;
}

.dashboard-content h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
}

.dashboard-content label {
    font-weight: 500;
    margin-top: 15px;
    margin-bottom: 5px;
    display: block;
    color: #192C27;
}

.dashboard-content input[type="text"],
.dashboard-content input[type="file"],
.dashboard-content select,
.dashboard-content textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #F9F9F9;
    font-size: 16px;
}

.dashboard-content .wp-editor-wrap {
    min-height: 200px;
}

.page-buttons {
    display: flex;
    gap: 20px;
}

.page-buttons .btn-primary {
    background-color: #55A630 !important;
    border: none;
    padding: 7px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 0px;
}

.page-buttons .btn-secondary {
    background-color: #D0B54B !important;
    border: none;
    padding: 7px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 0px;
    color: white;
}

.upload-box {
    border: 2px dashed #ccc;
    background-color: #fafafa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    font-size: 15px;
    color: #555;
}

.logout-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    width: 200px;
}

.logout-btn a {
    background-color: #C72F2F;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    font-family: 'Changa', sans-serif;
    width: 100%;
    display: block;
    text-align: center;
}

.row-icon {
    display: table-cell;
}

.logout-btn a:hover {
    color: white !important;
    background-color: black;
}

.add-new-post-btn {
    width: 100%;
    padding: 10px 10px;
    background-color: #fbfbfb;
    border-radius: 10px;
    margin-bottom: 10px;
}
.top-header
{
    display: flex;
    justify-content: space-between;
}
.back-btn {

}
.back-btn a {
    padding: 7px 20px;
    background-color: #D0B54B;
    color: white;
    font-style: normal;
    text-decoration: none;
    border-radius: 8px;
}

.back-btn a:hover {
    background-color: #55A630;
    color: white;
}
.list-items {
    width: 100%;
    padding: 10px 10px;
    background-color: #fbfbfb;
    border-radius: 10px;
}

.add-new-post-btn a {
    background-color: #D0B54B;
    color: white;
}

.add-new-post-btn a:hover {
    background-color: #55A630;
    color: white;
}

.post-section {
    display: flex;
    flex-direction: column;
    background: #f9f9f996;
    border-radius: 8px;
    margin-bottom: 15px;
}
.post-section h4
{
   background-color: #55A630;
    color: white!important;
    padding: 10px;
}
.post-row {
    display: flex;
    justify-content: flex-start;
    padding: 8px;
    border-bottom: 1px dashed #ccc;

}

.post-row:last-child {
    border-bottom: none;
}

.post-row strong {
    width: 30%;
    color: #333;
}

.post-section h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
    font-weight: bold !important;
}

.post-section p {
    margin: 5px 0;
    font-size: 16px;
}

.image-preview img {
    max-width: 300px;
    height: auto;
    border: 1px solid #ccc;
    padding: 5px;
    background: white;
}

/* Dashboard CMS End*/
#writerTabs {
    padding-right: 0px;
}

.text-center {
    vertical-align: middle;
}

.more-btn a {
    text-decoration: underline;
    color: #C72F2F;
}

#others-posts {
    margin-bottom: 30px;
}

#load-more-posts {
    background-color: #007f5f;
    border-color: #007f5f;
}

.diff-box del {
    background: #ffd6d6;
    color: #a00;
    padding: 2px 4px;
    border-radius: 3px;
}

.diff-box ins {
    background: #d6ffd6;
    color: #060;
    padding: 2px 4px;
    border-radius: 3px;
}

#revisionTabs {
    padding-right: 0px !important;
}

.conainter-text {
    height: 100%;
}

body[lang="ar"] {
    font-family: 'Noto Kufi Arabic' !important;
    font-weight: 400;
    /* Ensure the correct font weight is applied */
}

.arabic-text {
    font-family: 'Noto Kufi Arabic' !important;
    font-weight: 400;
    /* Ensure the correct font weight is applied */
}

/* Example: Targeting specific paragraphs */
p[lang="ar"] {
    font-family: 'Noto Kufi Arabic' !important;
    font-weight: 400;
    /* Ensure the correct font weight is applied */
    font-size: 30px;
    line-height: 125%;
    letter-spacing: 0%;
    text-align: right;
}

/* Example: Targeting specific headings */
h1[lang="ar"],
h2[lang="ar"],
h3[lang="ar"],
h4[lang="ar"],
h5[lang="ar"],
h6[lang="ar"] {
    font-family: 'Noto Kufi Arabic' !important;
    font-weight: 400;
    /* Ensure the correct font weight is applied */
}
body[lang="ar"] {
  font-family: 'Noto Kufi Arabic'!important;
  font-weight: 400; /* Ensure the correct font weight is applied */
}

.arabic-text {
  font-family: 'Noto Kufi Arabic'!important;
  font-weight: 400; /* Ensure the correct font weight is applied */
}

/* Example: Targeting specific paragraphs */
p[lang="ar"] {
  font-family: 'Noto Kufi Arabic'!important;
  font-weight: 400; /* Ensure the correct font weight is applied */
  font-size: 30px;
  line-height: 125%;
  letter-spacing: 0%;
  text-align: right;
}
h1, h2, h3, h4, h5, h6, p, a, body
{
	font-family: 'Noto Kufi Arabic'!important;
}
/* Example: Targeting specific headings */
h1[lang="ar"], h2[lang="ar"], h3[lang="ar"], h4[lang="ar"], h5[lang="ar"], h6[lang="ar"] {
  font-family: 'Noto Kufi Arabic'!important;
  font-weight: 400; /* Ensure the correct font weight is applied */
}
@media (max-width: 768px) {
    .drawer-header {
        background-color: white;
    }

    .drawer-content {
        background-color: white;
    }

}

@media (max-width: 768px) {
    .mobile-drawer-logo {
        text-align: center;
        padding: 15px 0 10px;
    }

    .mobile-drawer-logo img {
        max-width: 120px;
        height: auto;
    }

    .drawer-content .site-header-item:first-child {
        position: absolute;
        top: -20px;
    }
}



