/* First, import the Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Then, update your CSS to use Poppins */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #B7DEE8;
	color: #000;
    background-repeat: repeat; 
    background-size: auto; 
}

/* You might want to specify different weights for different elements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600; /* Semi-bold */
    margin-top: 0px;
    margin-bottom: 0px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

p, ul, ol, .btn, input, textarea, select {
    font-family: 'Poppins', sans-serif;
    font-weight: 400; /* Regular */
}

/* Update specific elements if needed */
.navbar-brand, .nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500; /* Medium */
}

.navbar-default .nav>li>a, .header_view .nav>li>a {
    color: #080808;
}

.footer {
    font-family: 'Poppins', sans-serif;
}

.article-abstract {
    text-align: justify;
}

/* Adjust the main content container if needed */
.pkp_structure_content.container {
    background-color: rgba(255, 255, 255, 0.5);
    position: relative;
    top: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
}

.panel, .pkp_block {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin-bottom: 20px;
}

.panel-default>.panel-heading, .pkp_block .title {
    color: #ffffff;
    background-color: rgba(94, 72, 121);
    border-color: #ecf0f1;
    font-size: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 5px 5px 0 0;
}

.panel-body, .pkp_block .content {
    padding: 15px;
}

.btn-default, .pkp_block.block_make_submission a {
    display: inline-block;
    color: #000;
    background-color: #F1F0FF;
    border-color: #e3e2f7;
    padding: 5px 10px;
    font-size: 16px;
    font-family: helvetica, serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-default:hover, .pkp_block.block_make_submission a:hover {
    background-color: #5F497A;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.list-group-item, .pkp_block ul li {
    background-color: #B7DEE8;
    color: #5F497A;
    border: none;
    margin-bottom: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    color: #000;
    background-color: #F1F0FF;
    border-color: #e3e2f7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #5F497A;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

a {
    color: #5F497A;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.media-heading>a {
    color: #2b2929;
}

h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small, h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .small, .h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small {
    font-weight: 400;
    line-height: 1;
    color: #325765;
}

/* FOOTER */
footer.footer {
    background-color: #5F497A !important;
    color: #fff !important;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-right: 20px;
}

.footer-logo {
    max-width: 350px;
    height: auto;
    margin-bottom: 10px;
}

.footer-journal-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-contact-info {
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact-info p {
    margin: 0;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-left, .footer-right {
        width: 100%;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 0;
        margin-bottom: 20px;
    }
}

/* Make the logo responsive and display at 100% size */
.navbar-brand-logo {
    float: none;
    display: block;
    text-align: center;
    padding: 0;
    margin: 0 auto;
	
}

.navbar-brand-logo img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}


/* Adjust logo size for different screen sizes */
@media (max-width: 768px) {
    .navbar-brand-logo img {
        max-width: 100%; /* Adjust this value as needed for smaller screens */
		padding: 5px 0
    }
}

@media (max-width: 480px) {
    .navbar-brand-logo img {
        max-width: 60%; /* Adjust this value as needed for very small screens */
    }
}

/* Center the main navigation */
#nav-menu .navbar-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

#nav-menu .navbar-nav > li {
    float: none;
    display: inline-block;
}

/* Ensure the navbar doesn't collapse on larger screens */
@media (min-width: 768px) {
    .navbar-collapse.collapse {
        display: flex !important;
        justify-content: center;
    }
}

/* Adjust for mobile screens */
@media (max-width: 767px) {
    #nav-menu .navbar-nav {
        margin: 0;
        text-align: center;
    }
    
    #nav-menu .navbar-nav > li {
        display: block;
    }
}


#nav-menu .navbar-nav {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly more opaque background */
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	margin-top: 20px;
	margin-bottom: -20px;
}

/* Style for dropdown menus */
#nav-menu .dropdown-menu {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#nav-menu .dropdown-menu > li > a {
    color: #333;
    padding: 8px 20px;
}

#nav-menu .dropdown-menu > li > a:hover,
#nav-menu .dropdown-menu > li > a:focus {
    background-color: rgba(0, 0, 0, 0.1);
}


/* Ensure the banner image doesn't overlap the menu */
.container-fluid .img-responsive {
    margin-top: -20px; /* Adjust this value as needed */
    position: relative;
    z-index: 1; /* Lower z-index than the menu */
}

#nav-menu .navbar-nav > li {
    float: none;
    display: inline-block;
    margin: 0 10px;
}

#nav-menu .navbar-nav > li > a {
    color: #5A4646;
    font-weight: 500;
    transition: all 0.3s ease;
}

#nav-menu .navbar-nav > li > a:hover,
#nav-menu .navbar-nav > li > a:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* Adjust logo and site title */
.navbar-header {
    text-align: center;
    float: none;
    margin-bottom: 20px;
}

.navbar-brand {
    float: none;
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #nav-menu .navbar-nav {
        padding: 5px 10px;
    }

    #nav-menu .navbar-nav > li {
        margin: 0 5px;
    }
}

@media (max-width: 480px) {
    #nav-menu .navbar-nav {
        flex-direction: column;
    }

    #nav-menu .navbar-nav > li {
        margin: 5px 0;
    }
}

/* Style for the wide banner image */
.navbar .img-responsive {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 0px;
}


/* Adjust the main content position */
.pkp_structure_content.container {
    margin-top: 30px;
}

/* Style for the wide banner image */
.wide-banner {
    padding: 0;
    margin-bottom: 30px;
}

.wide-banner .img-responsive {
    width: 100%;
}

/* Adjust the main content position */
.pkp_structure_content.container {
    margin-top: 30px;
}

/* Ensure the header and banner are not overlapping */
#headerNavigationContainer {
    position: relative;
    z-index: 1000;
    background-color: #D54449 !important;
	margin-bottom: 0; /* Add this line to remove any bottom margin */
}

.breadcrumb {
    background-color: transparent;
    border-bottom: 2px solid #82110B;
    border-radius: 0px;
}

.breadcrumb>li>a {
	color: #2c3e50
}

.breadcrumb>li+li:before {
    padding: 0 5px;
    color: #2c3e50;
    content: "/\00a0";
}



body:not(.pkp_page_index) .pkp_structure_content.container {
    padding-top: 30px; /* Adjust this value as needed */
}

/* Current Issue Overlay */
.current-issue-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: 100%;
    text-align: center;
}

.current_issue_title {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    display: inline-block;
    margin-bottom: 20px;
    border-radius: 5px;
}

.current-issue-cover {
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

/* Hover effect for current issue cover */
.current-issue-cover:hover {
    transform: scale(1.05); /* Slight zoom effect */
    filter: brightness(1.1); /* Slight brightness increase */
    cursor: pointer; /* Change cursor to indicate interactivity */
}

/* Hide current issue overlay on smaller screens */
@media (max-width: 768px) {
    .current-issue-overlay {
        display: none;
    }
}



/* Ensure the banner image is responsive */
@media (max-width: 768px) {
    .wide-banner-image {
        display: auto;
    }
}

.full-width-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}




/* Responsive adjustments */
@media (max-width: 768px) {
    .full-width-banner {
        margin-top: 0; /* Remove any top margin on mobile */
    }
}

/* Copyright bar styles */
.copyright-bar {
    background-color: #5F497A;
    padding: 10px 0;
    text-align: center;
    border-top: 1px solid #5F497A;
}

.copyright-bar small {
    font-size: 8px;
    color: #5F497A;
}

.copyright-bar a {
    color: #5F497A;
    text-decoration: none;
}

.copyright-bar a:hover {
    text-decoration: none;
}

.banner-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh; /* Use viewport height to ensure full coverage */
    overflow: hidden;
    z-index: 1; /* Place it behind the header */
}



/* Transparent Header Styles */
.transparent-header {
    background-color: transparent !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: none;
}

#headerNavigationContainer.transparent-header .navbar-nav {
    background-color: rgba(95, 73, 122, 0.8);
    border-radius: 20px;
    padding: 5px 15px;
}

#headerNavigationContainer.transparent-header .navbar-nav > li > a {
    color: #fff;
}



/* Adjust main content to account for absolute header */
.pkp_structure_content.container {
    margin-top: 80px; /* Adjust this value as needed */
    position: relative;
    z-index: 2;
}

/* Remove any conflicting background styles */
#headerNavigationContainer {
    background: none !important;
}

.transparent-header {
    background-color: transparent !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: none;
}

#headerNavigationContainer.transparent-header .navbar-nav {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 5px 15px;
}

#headerNavigationContainer.transparent-header .navbar-nav > li > a {
    color: #333;
}



.block_myeskills_recent_articles .content {
    padding: 10px;
}

.block_myeskills_recent_articles ul.recent_articles {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.block_myeskills_recent_articles .recent_article_item {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.block_myeskills_recent_articles .cover_image {
    width: 60px;
    height: 60px;
    margin-right: 10px;
    overflow: hidden;
    border-radius: 50%; /* This makes the frame circular */
}

.block_myeskills_recent_articles .cover_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* This ensures the image itself is also circular */
}

.block_myeskills_recent_articles .article_details {
    flex: 1;
}

.block_myeskills_recent_articles h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    line-height: 1.3;
}

.block_myeskills_recent_articles .article_summary {
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
}

/* Article More Details Link Styles */
.article-more-details a {
    color: #333;
    background-color: rgba(214, 160, 79, 0.1); /* Using the theme's gold color with transparency */
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 2px 0;
    border: 1px solid rgba(214, 160, 79, 0.2);
}

.article-more-details a:hover {
    background-color: rgba(170, 30, 40, 0.1); /* Using the theme's red color with transparency */
    color: #aa1e28;
    border-color: rgba(170, 30, 40, 0.2);
    text-shadow: none;
    transform: translateY(-1px);
}

/* Dark mode styles */
body.dark-mode .article-more-details a {
    color: #f4f4f4;
    background-color: rgba(214, 160, 79, 0.2);
    border-color: rgba(214, 160, 79, 0.3);
}

body.dark-mode .article-more-details a:hover {
    background-color: rgba(170, 30, 40, 0.2);
    color: #fff;
    border-color: rgba(170, 30, 40, 0.3);
}

/* Style specifically for citation links */
.article-more-details .how-to-cite a {
    background-color: rgba(170, 30, 40, 0.1);
    border-color: rgba(170, 30, 40, 0.2);
}

.article-more-details .how-to-cite a:hover {
    background-color: rgba(214, 160, 79, 0.1);
    border-color: rgba(214, 160, 79, 0.2);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    /* Reset the navbar collapse behavior */
    .navbar-collapse {
        display: none !important;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
        padding: 0;
        margin: 0;
    }

    .navbar-collapse.in {
        display: block !important;
    }

    /* Style for the toggle button */
    .navbar-toggle {
        display: block;
        position: absolute;
        top: 10px;
        right: 15px;
        background-color: transparent;
        border: 1px solid rgba(255, 255, 255, 0.7);
        border-radius: 4px;
        margin: 0;
        padding: 9px 10px;
        z-index: 1100;
    }

    .navbar-toggle .icon-bar {
        display: block;
        width: 22px;
        height: 2px;
        background-color: #fff;
        border-radius: 1px;
        margin: 4px 0;
        transition: all 0.3s;
    }

    /* Animated hamburger icon */
    .navbar-toggle.collapsed .icon-bar:nth-child(1) {
        transform: rotate(0);
    }

    .navbar-toggle.collapsed .icon-bar:nth-child(2) {
        opacity: 1;
    }

    .navbar-toggle.collapsed .icon-bar:nth-child(3) {
        transform: rotate(0);
    }

    .navbar-toggle:not(.collapsed) .icon-bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar-toggle:not(.collapsed) .icon-bar:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle:not(.collapsed) .icon-bar:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    /* Mobile menu container */
    #nav-menu {
        width: 100%;
        margin: 0;
        padding: 0;
        background-color: #FF4A32;
    }

    /* Reset the navigation styles for mobile */
    #nav-menu .navbar-nav {
        float: none !important;
        margin: 0;
        background-color: rgba(255, 255, 255, 0.95);
        padding: 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        border-radius: 0;
        max-height: 80vh;
        overflow-y: auto;
    }

    #nav-menu .navbar-nav > li {
        float: none;
        display: block;
        margin: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    #nav-menu .navbar-nav > li > a {
        padding: 15px 20px;
        color: #333;
        font-size: 16px;
        text-align: left;
    }

    /* Dropdown menu styles */
    #nav-menu .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 0;
    }

    #nav-menu .dropdown-menu > li > a {
        padding: 12px 30px;
        color: #333;
        font-size: 14px;
    }

    /* Active and hover states */
    #nav-menu .navbar-nav > li > a:hover,
    #nav-menu .navbar-nav > li > a:focus,
    #nav-menu .dropdown-menu > li > a:hover,
    #nav-menu .dropdown-menu > li > a:focus {
        background-color: rgba(255, 74, 50, 0.1);
        color: #FF4A32;
    }

    /* Fix for dropdown toggle on mobile */
    .dropdown-toggle::after {
        display: inline-block;
        float: right;
        margin-top: 8px;
    }

    /* Ensure proper spacing for the logo */
    .navbar-brand-logo {
        margin: 10px auto;
        padding: 0 50px;
    }

    /* Adjust the top user navigation */
    #navigationUser {
        margin-right: 50px;
    }
}

/* Additional dark mode support for mobile menu */
[data-theme="dark"] #nav-menu .navbar-nav {
    background-color: rgba(44, 62, 80, 0.95);
}

[data-theme="dark"] #nav-menu .navbar-nav > li > a,
[data-theme="dark"] #nav-menu .dropdown-menu > li > a {
    color: #e0e0e0;
}

[data-theme="dark"] #nav-menu .dropdown-menu {
    background-color: rgba(44, 62, 80, 0.98);
}

[data-theme="dark"] #nav-menu .navbar-nav > li > a:hover,
[data-theme="dark"] #nav-menu .navbar-nav > li > a:focus,
[data-theme="dark"] #nav-menu .dropdown-menu > li > a:hover,
[data-theme="dark"] #nav-menu .dropdown-menu > li > a:focus {
    background-color: rgba(255, 74, 50, 0.2);
    color: #5F497A;
}

/* Increase font size for navbar brand and site name */
.navbar-default .navbar-brand,
.header_view .navbar-brand {
    font-size: 40px;  /* Increased from default */
    font-weight: 600;  /* Make it slightly bolder */
    line-height: 1.2;  /* Improve line height for better readability */
    padding: 15px 0;   /* Adjust padding to accommodate larger font */
	color: #5F497A;
}

.site-name {
    font-size: 40px;  /* Even larger for site name */
    font-weight: 700;  /* Make it bold */
    margin: 15px 0;    /* Add some vertical spacing */
}

/* Ensure proper responsive scaling */
@media (max-width: 768px) {
    .navbar-default .navbar-brand,
    .header_view .navbar-brand {
        font-size: 34px;  /* Slightly smaller on tablets */
    }
    
    .site-name {
        font-size: 34px;  /* Slightly smaller on tablets */
    }
}

@media (max-width: 480px) {
    .navbar-default .navbar-brand,
    .header_view .navbar-brand {
        font-size: 34px;  /* Further reduced size on mobile */
    }
    
    .site-name {
        font-size: 34px;  /* Further reduced size on mobile */
    }
}