/* ===================== */
/* COMMOM CSS */
body{
    background: #f1f1f1;
    font-family: sans-serif,arial,Helvetica;
}

a,
a:hover,
a:focus{
    text-decoration: none;
    outline: none;
}
.btn:focus,
button:focus{
    outline: none;
}

ul{
    margin:0;
    padding:0;
    list-style:none;
}

h2.page-heading{
  margin: 5px 0 30px;
  padding: 0 5px 10px;
  border-bottom: 2px solid #333;
}

/* ===================== */

/* ===================== */
/* ADMIN Panel CSS START */
/* ===================== */

#wrapper-admin{
    padding: 100px 0 0;
}

img.logo{
    width: 100%;
    height: auto;
    display: block;
}

#header-admin{
    background-color: #1E90FF;
    padding: 15px 0;
}

#header-admin .admin-logout{
    margin: 10px 0;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

#header-admin .admin-logout:hover{
    text-decoration: underline;
}

#admin-menubar{
    background-color: #fff;
}
#admin-menubar .admin-menu{
    font-size: 0;
}
#admin-menubar .admin-menu li{
    display: inline-block;
    margin: 0 5px 0 0;
}
#admin-menubar .admin-menu li a{
    color: #1E90FF;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 7px 15px;
    display: block;
    transition: all 0.3s;
}

#admin-menubar .admin-menu li a:hover{
    color: #fff;
    background-color: #1E90FF;
}

#admin-content{
    padding: 20px 0;
    min-height: 750px;
}

#admin-content .admin-heading{
    font-size: 35px;
    margin: 0 0 15px;
}

#admin-content .add-new{
    color: #fff;
    background-color: #1E90FF;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    padding: 7px 10px;
    /* margin: 0 0 20px; */
    display: block;
    transition: all 0.3s;
}
#admin-content .add-new:hover{
    text-shadow: 0 0 3px #000;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

#admin-content .content-table{
    border: 1px solid #000;
    width: 100%;
    margin: 0 0 20px;
}

#admin-content .content-table thead{
    color: #fff;
    background-color: #333;
}

#admin-content .content-table th{
    padding: 10px;
    border: 1px solid #fff;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
}

#admin-content .content-table tbody{
    color: #333;
}

#admin-content .content-table tbody tr{
    background-color: #e7e7e7;
}
#admin-content .content-table tbody tr:nth-child(even){
    background-color: transparent;
}
#admin-content .content-table tbody td{
    padding: 10px;
    border: 1px solid #fff;
    text-align: center;

}

#admin-content .content-table tbody td:nth-child(2){
    text-align: left;
}

#admin-content .admin-pagination{
    margin: 0;
}
#admin-content .admin-pagination li a{
    display: block;
}

.id,
.edit,
.delete{
    text-align:center;
}

form{
    background: #fff;
    padding: 25px;
    box-shadow:0 1px 3px rgba(0, 0, 0, 0.13);
}

/* ===================== */
/* ADMIN Panel CSS END */
/* ===================== */

/* ===================== */
/* FrontEnd CSS START */
/* ===================== */

/* Header Styling */
#header{
    background: #1e90ff;
    text-align: center;
    padding: 15px;
}

#logo{
    display: inline-block;
    width: 65%;
}

#logo img{
    width: 100%;
}
/* Custom styles for the desktop navbar */
@media (min-width: 992px) {
    #menu-bar {
        display: flex;
        justify-content: center;
        background-color: black; /* Adjust background color */
        border-bottom: 1px solid #e9ecef; /* Optional border */
    }

    #menu-bar .menu {
        display: flex;
        justify-content: center;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    #menu-bar .menu li {
        display: inline; /* Ensures the text is on a single line */
        white-space: nowrap; /* Prevents the text from wrapping to the next line */
        margin: 0 0px; /* Adjust spacing as needed */
    }

    #menu-bar .menu li a {
        text-decoration: none;
        color: white; /* Adjust link color */
        font-weight: bold; /* Optional: Make links bold */
    }

    #menu-bar .menu li a.active {
        color: white; /* Highlight color for active link */
    }
}

/* Hide the desktop menu on smaller screens */
@media (max-width: 991px) {
    #menu-bar {
        display: none;
    }
}

/* Hide sidebar on category pages */
.category-page #sidebar {
    display: none;
}

/* Menubar Styling */
#menu-bar{
    background: #333;
    text-align: center;
}

#menu-bar .menu > li{
    display: inline-block;
}

.menu > li > a{
    padding: 10px 20px;
    display: block;
    text-transform: uppercase;
    color: #fff;
    font-size: 15px;
    font-weight:600;
    transition:all 0.5s ease 0s;
}

#menu-bar .menu > li > a:hover,
#menu-bar .menu > li > a.active{
    color:#fff;
    background:#1e90ff;
}

/* Main Content Styling */
#main-content{
    padding: 30px 0;
    min-height: 750px;
}

#main-content .post-container{
    background-color: #fff;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
}

#main-content .post-content{
    border-bottom: 1px solid #d1d1d1;
    padding: 0 0 30px;
    margin-bottom:30px;
}

#main-content .post-content img{
  width: 100%;
}

#main-content .post-content .post-img{
  border: 3px solid #e7e7e7;
  display: block;
  height: 145px;
  overflow: hidden;
  transition: border .3s;
}
#main-content .post-content .post-img:hover{
  border: 3px solid #1e90ff;
}
#main-content .post-content .inner-content{
    /* border: 1px solid #000; */
}

#main-content .post-content h3{
    font-size: 21px;
    line-height: 28px;
    font-weight: 600;
    margin: 0 0 7px;

}
#main-content .post-content h3 a{
    color: #1e90ff;
    transition:all 0.3s;
}
#main-content .post-content h3 a:hover{
    color:#333;
}

#main-content .post-content .post-information span{
    color: #606060;
    font-size: 12px;
    text-transform: capitalize;
    margin: 0 5px 5px 0;
    display: inline-block;
}

#main-content .post-content .post-information i{
    color: #1e90ff;
    margin-right: 1px;
}

#main-content .post-content .post-information a{
    color: #606060;
    text-decoration: none;
}

#main-content .post-content .post-information a:hover{
    color: #333;
    text-decoration: none;
}

#main-content .post-content p,
#main-content .single-post p{
    color: #666;
    font-size: 14px;
    letter-spacing: 0.5px;
    margin:0 0 10px;
}

#main-content .post-content a.read-more{
    color: #fff;
    background-color: #1E90FF;
    font-size: 12px;
    text-transform: capitalize;
    padding: 3px 8px;
    border-radius: 2px;
    transition: all 0.3s;
}

#main-content .post-content a.read-more:hover{
    color: #fff;
    background-color: #333;
}

#main-content .single-post{
    border: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

#main-content .single-post h3{
    color: #1e90ff;
}

#main-content .single-post .post-information{
    margin: 0 0 10px;
}
#main-content .single-post p{
    text-align: justify;
}

#main-content .single-post img.single-feature-image{
    width: 70%;
    margin: 0 auto 20px;
    display: block;
    border: 3px solid #e7e7e7;
}

/* Pagination  Styling */
.pagination {
    display: block;
    text-align: center;
    margin: 0;
}

.pagination li {
    display:inline-block;
    margin: 0 5px 0 0;
}

.pagination li a{
    border: none;
    background: #1e90ff;
    color: #fff;
}

.pagination li a:hover,
.pagination > li > a:focus{
    color:#fff;
    background:#333;
}

.page_links {
    background-color: #ccc;
    font-family: arial, verdana;
    font-size: 12px;
    text-decoration: none;
    border:1px solid #000;
    padding: 6px;
    margin: 3px;
}

#page_a_link{
    font-size: 12px;
    border:1px #000000 solid;
    color:#000;
    background-color: #cccccc;
    padding: 6px;
    margin: 3px;
    text-decoration: none;
}

i.fa{
    color:#222;
}

/* Sidebar Styling */
#sidebar h4{
    color: #1A1A1A;
    font-size: 17px;
    line-height: 27px;
    font-weight:600;
    text-transform: uppercase;
    padding: 0 0 0 5px;
    margin: 0 0 21px;
    border-left: 3px solid #1e90ff;
}

#sidebar .search-box-container{
    background-color: #fff;
    padding: 20px;
    margin: 0 0 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
}

#sidebar .search-post{
    padding: 0;
}
#sidebar .search-post input{
    color: #606060;
}
#sidebar .search-post input:focus{
    box-shadow: none;
    border-color: #999;
}

#sidebar .search-post .btn{
    font-weight: 600;
    text-transform: uppercase;
    padding: 6px 8px;
    background-color: #1E90FF;
    border-color: #1E90FF;
    outline: none;
}

#sidebar .search-post .btn:hover,
#sidebar .search-post .btn:focus{
    text-shadow: 0 0 3px #333;
}

#sidebar .search-post i.fa{
    font-size: 16px;
    color: #999999;
    line-height: 40px;
    float:right;
}

#sidebar .recent-post-container{
    padding: 20px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
}

#sidebar .recent-post{
    border-bottom: 1px solid #e7e7e7;
    padding: 0 0 15px;
    margin: 0 0 15px;
}

#sidebar .recent-post:last-child{
    margin: 0;
    padding: 0;
    border: none;
}

#sidebar .recent-post .post-img{
  display: inline-block;
  width: 33%;
  border: 3px solid rgba(0,0,0,0.3);
  vertical-align: top;
  transition: border .3s;
}

#sidebar .recent-post .post-img:hover{
  border: 3px solid #1e90ff;
}

#sidebar .recent-post .post-img img{
    width: 100%;
}

#sidebar .recent-post .post-content{
    width: 65%;
    display: inline-block;
    border: none;
    padding: 0 0 0 7px;
    margin: 0;
}

#sidebar .recent-post h5{
    font-size: 14px;
    line-height: 20px;
    margin: 0 0 5px;
}
#sidebar .recent-post h5 a{
    color: #1E90FF;
}

#sidebar .recent-post span{
    color: #666;
    font-size: 11px;
    display: inline-block;
    margin: 0 5px 10px 0;
}

#sidebar .recent-post span a{
    color: #666;
}
#sidebar .recent-post span i{
    color: #1E90FF;
}

#sidebar .recent-post a.read-more{
    color: #666;
    background-color: rgba(0,0,0,0.09);
    width: 65px;
    font-size: 11px;
    text-align: center;
    padding: 0;
    display: block;
    transition: all 0.3s;
}

#sidebar .recent-post a.read-more:hover{
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

/* Footer Styling */
#footer{
    color: #fff;
    padding:15px 0;
    text-align:center;
    background-color:#1e90ff;
}

#footer  a{
    color:#fff;
}

#footer  span  a:hover{
    text-decoration: underline;
}

/* ===================== */
/* FrontEnd CSS END */
/* ===================== */
body {
    font-family: Arial, sans-serif;
}
#main-content {
    padding: 20px;
}
.post-container {
    margin-bottom: 20px;
}
.post-content {
    margin-bottom: 20px;
}
.post-img img {
    width: 100%;
    height: auto;
}
.inner-content {
    padding: 10px;
}
.description-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.description {
    margin: 0;
}
.read-more {
  display: inline; /* Ensures the text is on a single line */
white-space: nowrap; /* Prevents the text from wrapping to the next line */
    margin-left: 10px; /* Adjust as needed */
    text-decoration: none;
    color: #007bff; /* Adjust color as needed */
    font-weight: bold;
}
.read-more:hover {
    text-decoration: none;
}
.post-information {
    margin-bottom: 10px;
}
.post-information span {
    margin-right: 10px;
}
.pagination {
    list-style-type: none;
    padding: 0;
    margin: 20px auto; /* Center the pagination horizontally */
    text-align: center; /* Center text inside the pagination */
    width: fit-content; /* Adjust the width to fit the content */
}

.pagination li {
    display: inline;
    margin-right: 5px;
}

.pagination a {
    text-decoration: none;
    padding: 5px 10px;
    color: #007bff; /* Adjust color as needed */
    border: 1px solid #ddd;
    border-radius: 3px;
}

.pagination a.active {
    background-color: #007bff;
    color: #fff;
}

.pagination a:hover {
    background-color: #ddd;
}
/* Adjusting the search box and button padding */
.search-post .input-group {
    margin-bottom: 10px; /* Adjust space below the search box */
}

.search-post .form-control {
    padding: 8px; /* Adjust padding inside the search input */
    margin-right: 0; /* Ensure no extra margin on the right */
}

.search-post .input-group-btn .btn {
    padding: 8px 15px; /* Adjust padding inside the search button */
    font-size: 14px; /* Adjust font size if needed */
}

/* Additional styles for better layout control */
.search-box-container {
    margin-bottom: 20px; /* Adjust space below the search box container */
}
@font-face {
    font-family: 'Jameel Noori Nastaleeq';
    src: url('fonts/JameelNooriNastaleeq.ttf') format('truetype');
}
body {
    font-family: Arial, sans-serif;
}
#main-content {
    padding: 20px;
}
.post-container {
    margin-bottom: 20px;
}
.post-content {
    margin-bottom: 20px;
}
.post-img img {
    width: 100%;
    height: auto;
}
.inner-content {
    padding: 10px;
}
.description-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.description {
    margin: 0;
    flex: 1;
}
.read-more {
    text-decoration: none;
    color: #007bff; /* Adjust color as needed */
    font-weight: bold;
    margin-left: 10px; /* Adjust as needed */
}
.read-more:hover {
    text-decoration: none;
}
.urdu-font {
    font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif; /* Choose suitable Urdu fonts */
    font-size: 48px; /* Increase the size as needed */
    font-weight: bold; /* Make the text bold */
    text-align: right; /* Align text to the right */
    direction: rtl; /* Set text direction to right-to-left */
    line-height: 2.3; /* Adjust this value as needed */

}

.post-information {
    margin-bottom: 10px;
}
.post-information span {
    margin-right: 10px;
}
.pagination {
list-style-type: none;
padding: 0;
margin: 20px auto; /* Center the pagination container */
display: flex;
justify-content: center; /* Center pagination items */
}

.pagination li {
display: inline;
margin: 0 5px;
}

.pagination a {
text-decoration: none;
padding: 5px 10px;
color: #007bff; /* Adjust color as needed */
border: 1px solid #ddd;
border-radius: 3px;
}

.pagination a.active {
background-color: #007bff;
color: #fff;
}

.pagination a:hover {
background-color: #ddd;
}
.read-more {
    display: inline-block;
    width: 75px;
    text-align: center;
    line-height: 18px; /* Adjust based on your desired button height */
    background-color: #007bff; /* Change background color as needed */
    color: white; /* Change text color as needed */
    text-decoration: none;
    border-radius: 5px; /* Optional: rounded corners */
}

.read-more:hover {
    background-color: #0056b3; /* Change hover background color as needed */
}

.dutch-font {
    font-family: 'Arial', sans-serif; /* You can change to a more suitable Dutch font */
    font-size: 18px; /* Adjust the size as needed */
    text-align: left; /* Align text to the left */
    direction: ltr; /* Set text direction to left-to-right */
}
.danish-font {
    font-family: 'Arial', sans-serif; /* You can change to a more suitable Danish font */
    font-size: 18px; /* Adjust the size as needed */
    text-align: left; /* Align text to the left */
    direction: ltr; /* Set text direction to left-to-right */
}
.language-links {
    margin-bottom: 10px; /* Reduced margin */
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Align items to the start */
}
.language-links a:hover {
text-decoration: none;
color:white;
}
.language-links a {
    margin: 5px; /* Space around each button */
    text-decoration: none;
    color: #ffffff; /* Text color white */
    padding: 5px 10px; /* Padding for buttons */
    border-radius: 5px; /* Rounded corners */
    font-size: 14px; /* Font size */
    display: inline-block; /* Ensure buttons are inline */
    text-align: center; /* Center text within buttons */
}
.language-links a.dutch {
    background-color: #007bff; /* Primary color */
}
.language-links a.english {
    background-color: #6c757d; /* Secondary color */
}
.language-links a.german {
    background-color: #17a2b8; /* Info color */
}
.language-links a.swedish {
    background-color: #ffc107; /* Warning color */
    color: #000; /* Text color black */
}
.language-links a.norwegian {
    background-color: #28a745; /* Success color */
}
.language-links a.french {
    background-color: #dc3545; /* Danger color */
}
.language-links a.italian {
    background-color: #20c997; /* Teal color */
}
.language-links a.danish {
    background-color: #343a40; /* Dark color */
}
.language-links a.urdu {
    background-color: #1F3E95; /* Purple color */
    color: #fff; /* Text color white */
    
}
.language-links a.active {
    font-weight: bold;
}
/* Media query for tablets and mobile devices */
@media (max-width: 768px) {
    .language-links a {
        margin: 5px; /* Maintain space between buttons */
        flex: 1 0 auto; /* Allow buttons to wrap and grow */
    }
}
.recent-post {
    margin-bottom: 20px; /* Space between recent posts */
}

.post-content {
    padding-top: 10px; /* Space above the content */
}

.post-content span {
    display: block;
    margin-bottom: 5px; /* Space between category and date */
}

.post-content .read-more {
    display: block;
    margin-top: 10px; /* Space above the read more button */
    text-align: right; /* Optional: Align the button to the right */
    color: #007bff; /* Link color */
    text-decoration: none; /* Remove underline from the link */
}

.post-content .read-more:hover {
    text-decoration: none; /* Underline on hover for better visibility */
}
footer {
    padding: 20px;
    background-color: #1E90FF; /* Updated background color */
    color: white;
}

.footer-content {
    display: flex;
    justify-content: center; /* Center all content */
    align-items: center; /* Center-align items vertically */
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; /* Wrap items on small screens */
    position: relative; /* Enable absolute positioning for .powered-by */
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.footer-links ul {
    padding: 0;
    margin: 0;
    text-align: center;
}

.footer-links li {
    display: inline;
    margin-right: 15px;
    text-align: center;
}

.footer-links a {
    color: white; /* Ensure the color remains as it is */
    text-decoration: none;
    text-align: center;
}

.powered-by {
    font-family: 'Lobster', cursive;
    font-size: 26px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: absolute; /* Position absolute to keep it on the right */
    right: 20px; /* Align to the right edge */
}

/* Responsive styling */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* Stack items vertically on small screens */
        align-items: center; /* Center-align items horizontally */
    }

    .powered-by {
        position: static; /* Reset position */
        margin-top: 10px; /* Space between links and 'Powered by' text on small screens */
    }
}
.post-container {
    margin-bottom: 20px;
}

.post-img {
    max-width: 100%; /* Ensure image doesn't exceed container width */
    height: auto; /* Maintain aspect ratio */
}

.description-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.short-description {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Adjust number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    margin-bottom: 0;
    flex: 1;
}

.read-more {
    font-size: 0.9rem;
    white-space: nowrap;
}

.pagination {
    justify-content: center;
    margin-top: 20px;
}

.post-information {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Align post details to the right of the image for screen sizes 1400px to 576px */
@media (max-width: 1400px) and (min-width: 480px) {
    .post-content .row {
        display: flex;
        flex-wrap: nowrap;
    }

    .post-content .col-md-8 {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .post-content .col-md-4 {
        flex: 1;
        max-width: 30%;
    }

    .post-content .col-md-8 {
        flex: 2;
        max-width: 70%;
    }
}
.post-container {
    margin-bottom: 20px;
}

.post-img {
    max-width: 100%; /* Ensure image doesn't exceed container width */
    height: auto; /* Maintain aspect ratio */
}

.description-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.short-description {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Adjust number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    margin-bottom: 0;
    flex: 1;
}

.read-more {
    font-size: 0.9rem;
    white-space: nowrap;
}

.pagination {
    justify-content: center;
    margin-top: 20px;
}

.post-information {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Align post details to the right of the image for screen sizes 1400px to 576px */
@media (max-width: 1400px) and (min-width: 480px) {
    .post-content .row {
        display: flex;
        flex-wrap: nowrap;
    }

    .post-content .col-md-8 {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .post-content .col-md-4 {
        flex: 1;
        max-width: 30%;
    }

    .post-content .col-md-8 {
        flex: 2;
        max-width: 70%;
    }
}
#header {
    display: none;
}
.navbar {
    background-color: #1E90FF;
}
.navbar-brand img {
    max-height: 50px; /* Adjust as needed */
}
@media (min-width: 992px) {
    #header {
        display: block;
    }
}
.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}
.navbar-dark .navbar-nav .nav-link:hover {
    color: #ccc;
}
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff; /* Ensure active links are also white */
}
/* Hide the "More" dropdown in the mobile menu */
@media (max-width: 991.98px) {
    .more-dropdown {
        display: none !important;
    }
}
/* Custom style for dropdown menu */
.dropdown-menu-custom .dropdown-item {
color: black !important; /* Sets the text color to black */
}

.dropdown-menu-custom .dropdown-item:hover {
background-color: #f8f9fa; /* Optional: change the background color on hover */
}
.navbar-nav .nav-link {
color: white !important;
}
.post-container {
    margin-bottom: 20px;
}

.post-img {
    max-width: 100%;
    height: auto;
}

.description-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.short-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    margin-bottom: 0;
    flex: 1;
}

.read-more {
    font-size: 0.9rem;
    white-space: nowrap;
}

.pagination {
    justify-content: center;
    margin-top: 20px;
}

.post-information {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

@media (max-width: 1400px) and (min-width: 480px) {
    .post-content .row {
        display: flex;
        flex-wrap: nowrap;
    }

    .post-content .col-md-8 {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .post-content .col-md-4 {
        flex: 1;
        max-width: 30%;
    }

    .post-content .col-md-8 {
        flex: 2;
        max-width: 70%;
    }
}