@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');



* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Inter', serif;
    text-decoration: none;
    list-style: none;
}


p{
    font-size: 16px;
}

body {
    background-color: #fcfcfc;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #083248;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
}

#scrollToTopBtn:hover {
    background-color: #1b4962;
}

#scrollToTopBtn i {
    font-size: 1.5rem;
    font-weight: 700;
}

/*                         Header                         */

.navbar-default {
    background-color: #fff;
}

.navbar {
    margin-bottom: 0;
}

.navbar-brand {
    width: 250px;
    height: auto;
    padding: 0 15px;
}

.navbar-brand-logo img {
    max-height: 100%;
    width: 180px;
    height: auto;
    object-fit: cover;
}

.container-fluid:nth-of-type(2) {
    display: flex;
    align-items: center;
    padding: 10px 80px;
}

.search-container {
    position: relative;
}

.container-fluid > .row{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
  
.container-fluid .search-input {
    padding-left: 30px;
    border: none;
}
  
#search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #8C0E0F; 
    pointer-events: none;
}


#nav-menu{
    width: 100%;
}

#main-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    padding-left: 100px;
}
  
#main-navigation > li.menu-item-20 {
    margin-left: auto;
    background-color:#8C0E0F;
    color: white;
    border-radius: 32px;
}

#main-navigation > li a{
    color: #000;
    font-size: 18px;
}

#main-navigation > li.menu-item-20 a{
    color: white;
}

    


.nav li a {
    font-size: 16px;
    color: #000000;
}

.form-control {
    height: 40px;
    border-radius: 16px;
}

.action-btns{
    display: flex;
}

.btn-default {
    color: #fff;
    background-color: #8C0E0F;
    padding: 8px 12px;
    border-radius: 4px;
}

.btn {
    padding: 8px 12px;
}

.btn-primary .file{
    display: none;
}

.btn-primary {
    background-color: #083248;
    border: none;
}

#pdf-btn{
    background-color: #FFFFFF;
    color: #8C0E0F;
    border-radius: 0;
    border-left: 2px solid #000000;

}


/*                Main       */

.hero-section {
    display: flex;
    min-height: 400px;
}

.homepage-image-section{
    width: 50%;
    background-image: url(https://bettaopen.com/journals/public/journals/1/hero_image.png);
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    padding: 60px 80px;
    background-position: center;
}

.hero-title{
    font-size: min(max(1.5rem, 3vw), 6rem);
    line-height: min(max(1.6rem, 3vw), 4.25rem);
    letter-spacing: -0.5px;
}

.hero-summary{
    font-size: 18px;
    padding-top: 10px;
}

#myCarousel{
    width: 50%;
}


.home-media {
    width: 50%;
    padding: 32px;
    background: #083248;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-category {
    font-size: 12px;
    font-weight: 300;
    text-transform: uppercase;
}

.home-media a {
    font-size: 20px;
    font-weight: 700;
    text-decoration: underline;
}


.carousel {
    background: #083248;
    color: white;
}

#item-content{
    padding:60px 80px;
}

#item-heading{
    line-height: 42px;
}

#item-heading a{
    color:#ffffff;
    font-size: 4rem;
    padding-bottom: 10px;
    line-height: 24px;
}

.meta p{
    font-size: 16px;
}





.container {
    width: 100%;
    padding: 0;
}

.col-md-8 {
    width: 100%;
    margin-bottom: 50px;
    /* display: flex;
    gap: 2rem; */
}

.col-xs-12 {
    padding: 0;
}

.journal-description {
    width: 80%;
    margin: 0 auto;
    font-size: 20px;
    line-height: 42px;
    display: none;
}

.additional_content {
    width: 100%;
}

.cmp_announcements {
    width: 80%;
    margin: 0 auto;
}

.current_issue {
    padding-left: 80px;
    padding-bottom: 50px;
}

.article-header {
    width: 25%;
}

.current_issue_title{
    font-size: 16px;
}

.page-header h2, .page-heading h2 {
    margin: 1px 0 1px;
    font-size: 5rem;
    font-weight: 600;
    border: none;
}

.page-header small{
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-left: 30px;
}


.article-header {
    font-size: 5rem;
    font-weight: 600;
}

.article-btns{
    display: flex;
    gap: 10px;
}

.article-abstract{
    display: none;
}

.inline_html_galley_download{
    display: none;
}

.metric-box{
    display: flex;
}

.metric-box > div{
    padding: 20px;
    background-color: #d63637;
    color: #fff;
}

.metric-box >  div:nth-of-type(2){
    padding: 20px;
    background-color: #8C0E0F;
    color: #fff;
}

.date-published{
    padding: 10px 20px;
}

.keywords{
    display: flex;
    padding: 10px;
}

.count{
    font-size: 18px;
}

.announcements {
    display: none;
}

.row1 {
    margin-left: 0;
    margin-right: 0;
}

.boxi {
    display: none;
}

.manifesto-section {
    margin: 0 auto;
}

.manifesto-section-container {
    background-image: url("https://submission.bettaopen.org/public/journals/1/Frame 2784 (2).png");
    background-size: cover;
    background-position: center;
    color: #000000;
    padding: 20px 0px 0 90px;
}

.manifesto-contents{
    width: 50%;
}



.manifesto-contents .colored {
    color: #8C0E0F;
    font-weight: 500;
    margin: 0;
    padding-top: 10px;
    font-size: 25px;
}

.normal{
    font-size: 16px;
    margin: 0;
}

.media-heading a:hover {
    color: #8C0E0F;
}

/* .manifesto-contents,
.metrics {
    font-size: 2rem;
} */

.metrics-container {
    background: #8C0E0F;
    color: white;
    padding: 50px 100px;
}

.metrics-container h1 {
    font-size: 5rem;
}


.metrics img {
    width: 40px;
    height: 40px;
    font-size: 18px;
    margin-right: 10px;
}

.page_issue {
    width: 100%;
}

.issues-breadcrumbs {
    background-color: #8C0E0F;
    height: 200px;
    display: flex;
    padding-left: 130px;
}

.issues-ol {
    align-self: center;
    font-size: 32px;
    background-color: transparent;
}

#issues-grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    padding: 40px 120px;
}

#issueImage {
    max-width: 350px;
}

#articleImages {
    display: none;
}

.issue-title-header small {
    font-size: 42px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-top: 50px;
}

.metric-content {
    display: flex;
    justify-content: space-between;
    background: #8C0E0F;
    padding-top: 20px;
}

#current_boxissues {
    max-width: 100%;
}


.article-more-details {
    padding-left: 40px;
}

.article-publication-header {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.article-publication-header h1 {
    font-size: 2rem;
}

.rectangles{
    width: 80%;
}

.rectangles img {
    width: 100%;
}

/* Current Issue Section */

.issue-toc {
    display: flex;
    justify-content: space-between;
    padding-right: 120px;
}

.issue-details {
    display: block;
}

.current-issue-img {
    max-width: 100%;
}

.boxissues {
    display: flex;
    flex-direction: column;
}

.authors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-size: 13px;
}


.author{
    white-space: nowrap;
}

.issue-heading {
    max-width: 250px;
}

.sections {
    padding-left: 20px;
}

.section {
    background-color: white;
}

.article-image,
.media-object {
    width: 400px;
    height: 200px;
    object-fit: cover;
    max-width: 100%;
}

.cover{
    width:100% ;
}
.media-body {
    width: 100%;
    padding: 20px;
}

.editors-section{
    background-color: #8C0E0F;
}

.editors-section h2{
    margin: 1px 0 1px;
    font-size: 5rem;
    font-weight: 600;
    border: none;
    color: #FFFFFF;
}

.editors-sec-container{
    padding: 50px 80px;
}



.editors-section-content{
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
}

.editors-section .media-body{
    padding: 0 20px;
}

.editors-section .media-body h3 a{
    color: #000000;
    font-family: 500;
}

.page_article {
    width: fit-content;
    padding: 50px;
}

#articleContainer {
    display: flex;
    justify-content: space-between;
}

.main-article-container {
    width: 70%;
    display: flex;
    flex-direction: column;
    margin:0 50px;
}

#listings {
    display: flex;
}

aside {
    width: 30%;
}


.cmp_breadcrumbs{
    padding-left: 50px;
}



.article-sidebar {
    width: fit-content;
    padding: 0;
}

#label {
    color: #000000;
}

aside .article-more-details {
    padding-left: 0;
}

.article-title {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.article-references{
    display: none;
}


/*    Editorial Board          */

.editorial-board-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.editor-header {
    background-color: #8C0E0F;
    color: white;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.editor-header h1 {
    font-size: 48px;
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.editor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.editor-card {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.editor-card:hover {
    transform: translateY(-5px);
}

.editor-card h3 {
    color: #083248;
    margin-bottom: 0.5rem;
    font-size: 24px;
}

.editor-role {
    color: #000000;
    font-size: 18px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.editor-affiliation {
    font-size: 18px;
    color: #666;
}

.section-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 2rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    header h1 {
        font-size: 2rem;
    }

    .editor-grid {
        grid-template-columns: 1fr;
    }
}



/*      For Authors Page    */


    .for-authors-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 8rem 4rem;
        font-size: 18px;
    }

    .for-authors-container p{
        font-size: 18px;
    }

    .for-authors-header {
        background-color: #8C0E0F;
        color: white;
        font-size: 48px;
        padding: 2rem 0;
        margin-bottom: 2rem;
    }

    .nav-tabs {
        display: flex;
        border-bottom: 2px solid #f5f5f5;
        margin-bottom: 2rem;
        gap: 1rem;
    }

    .nav-tab {
        padding: 1rem 2rem;
        color: var(--text-color);
        text-decoration: none;
        border-bottom: 2px solid transparent;
        margin-bottom: -2px;
    }

    .nav-tab.active {
        border-bottom: 2px solid #083248;
        color: var(--accent-color);
    }

    .section {
        margin-bottom: 3rem;
        padding-bottom: 2rem;
        border-bottom: 1px solid #083248;
    }

    .for-authors-header h1 {
        font-size: 48px;
        margin-bottom: 1rem;
        font-weight: 600;
    }

    .for-authors-container h2 {
        font-size: 32px;
        color: var(--primary-color);
        margin-bottom: 1.5rem;
        font-weight: 500;
    }

    .for-authors-container h3 {
        font-size: 32px;
        color: var(--secondary-color);
        margin: 1.5rem 0 1rem 0;
        font-weight: 500;
    }

    .quick-links {
        background-color: var(--light-bg);
        padding: 1.5rem;
        border-radius: 4px;
        margin-bottom: 2rem;
    }

    .quick-links h3 {
        margin-top: 0;
    }

    .quick-links ul {
        list-style: none;
        padding: 0;
    }

    .quick-links li {
        margin-bottom: 0.5rem;
        color: #083248;
        font-weight: 500;
    }

    .quick-links a {
        color: #083248;
        text-decoration: none;
    }

    .key-points {
        background-color: #f8f9fa;
        padding: 1.5rem;
        border-left: 4px solid #083248;
        margin: 1rem 0;
    }

    .submission-button {
        display: inline-block;
        background-color: #8C0E0F;
        color: white;
        padding: 0.8rem 1.5rem;
        text-decoration: none;
        border-radius: 4px;
        font-weight: 500;
    }

    table {
        width: 100%;
        border-collapse: collapse;
        margin: 1rem 0;
    }

    th, td {
        padding: 0.8rem;
        border: 1px solid;
        text-align: left;
    }

    th {
        background-color: var(--light-bg);
    }




/*         Login Page, Register Page and Submission Page      */

.page_login,
.page_register,
.page_submissions,
.page_about {
    width: 80%;
    margin: 0 auto;
    padding-top: 50px;
}

.pkp_form {
    border: 1px solid #083248;
    padding: 20px;
    border-radius: 16px;
    background: white;
}



.page h2{
    display: none;
}

/* Container for all boxes */
.login-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem; /* Larger gap for better spacing */
    max-width: 1000px; /* Maximum width for larger screens */
    justify-content: center;
    margin: 0 auto;
    padding: 2rem;
}

.login-boxes a{
    font-size: 32px;
    text-decoration: none;
    color: #000000;
}

/* Individual box styling */
.box {
    flex: 0 0 calc(50% - 1rem); /* Subtracting half of the gap */
    min-height: 200px; /* Fixed height for boxes */
    background-color: white;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hover effect */
.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        width: 90%;
        gap: 1rem;
    }
    
    .box {
        flex: 0 0 100%; /* Full width on mobile */
        min-height: 150px; /* Smaller height on mobile */
    }
}








/*             FOOTER           */

footer[role="contentinfo"] {
    padding: 0;
}

.col-md-2 {
    display: none;
}

.col-md-10 {
    width: 100%;
    margin: 0;
}

footer .top-container {
    background-color: #083248;
    font-size: 16px;
    padding: 40px 0;
    background-image:url(https://submission.bettaopen.org/public/journals/1/footertop.png);
    background-position:left top;
    background-repeat: repeat-x;
    color: #fff;
    padding-top: 100px;

}


.footer-widgets {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
    gap: 4rem;
}

.footer-widgets a{
    color: white;
}

.footer-widget {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.social-icons img{
    width: 40px;
}

#mc_embed_signup_scroll {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mc-field-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#mc_embed_signup_scroll input {
    width: 300px;
    height: 50px;
    border-radius: 32px;
    padding: 1rem;
}

#mc-embedded-subscribe {
    background: #8C0E0F;
    border: none;
    color: white;
    border-radius: 32px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}



/*                Screen Responsiveness        */

@media (max-width:1024px) {
    .hero-section {
        height: 250px;
    }

    .home-img {
        width: 100%;
    }

    #myCarousel {
        width: 50%;
        padding: 10px;
    }

    .carousel-heading a {
        font-size: min(max(1.5rem, 3vw), 2rem);
        line-height: min(max(1.6rem, 3vw), 2.25rem);
    }

    .article-header{
        width: 65%;
    }

    #item-content{
        padding: 0 50px;
    }

    .meta p {
        font-size: 1.1rem;
        line-height: 1.4rem;
    }

    .current_issue {
        padding-left: 50px;
    }


    .issue-toc {
        flex-direction: column-reverse;
        gap: 50px;
        align-items: normal;
        padding-right: 50px;
    }

    .row1 {
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        background-color: #eee;
    }

    .manifesto-section-container {
        padding: 20px 50px;
    }

    .manifesto-section {
        padding: 0;
    }
}


@media (max-width:820px) {

    .hero-section {
        height: 250px;
    }

    .home-img {
        height: 100%;
        object-fit: cover;
    }

    #myCarousel {
        width: 50%;
        padding: 10px;
    }

    #item-content{
        padding: 0 50px;
    }

    .carousel-heading a {
        font-size: min(max(1.5rem, 3vw), 2rem);
        line-height: min(max(1.6rem, 3vw), 2.25rem);
    }

    .meta p {
        font-size: 1.1rem;
        line-height: 1.4rem;
    }

    .navbar-form {
        display: none;
    }

    .article-publication-header {
        font-size: 1.5rem;
        padding-left: 20px;
    }

    .page-heading h2{
        padding: 20px;
    }

    .rectangles{
        width: 100%;
    }

    .article-header {
        width: 60%;
    }

    .article-publication-header h1 {
        font-size: 18px;
        margin: 0;
    }

    .manifesto-contents{
        width: 59%;
    }

    .manifesto-section-container{
        padding: 20px;
    }

    .issue-toc {
        display: flex;
        flex-direction: column-reverse;
        padding: 10px;
    }

    .issue-details {
        text-align: center;
    }

    .row1 {
        background-color: #eee;
        padding: 20px 0;
    }

    .row1 .thumbnail {
        background: #eee;
        border: none;
    }

    .sections {
        width: 100%;
        flex-direction: column;
        padding: 0 20px;
    }

    .editors-sec-container{
        padding: 20px;
    }

    .editors-section-content{
        flex-direction: column;
    }

    .editors-section-content .boxissues{
        flex-direction: column;
    }

    .boxissues {
        flex-direction: row;
        max-width: 100%;
    }

    .issue-heading {
        max-width: 100%;
    }

    .current_issue {
        padding: 20px 0;
    }

    #articleContainer {
        flex-direction: column-reverse;
    }

    .main-article-container {
        width: 100%;
    }

    aside {
        width: 100%;
    }


    .metrics img {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-right: 10px;
    }

    .journal-description,
    .cmp_announcements,
    .page_article {
        width: 100%;
        padding: 0 20px;
    }

    .footer-widgets {
        flex-direction: column;
    }

    .newsletter-feed form label {
        align-self: center;
    }

    .newsletter-feed form div {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .newsletter-feed form input {
        width: 100%;
    }

    #mc_embed_signup_scroll {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

}

@media (max-width:768px) {

    .container-fluid:nth-of-type(2){
        padding: 0 20px;
    }

    #main-navigation {
        flex-direction: column; /* Stack links vertically */
        align-items: flex-start; /* Align links to the left */
        gap: 1rem;
        padding-left: 0;
    }
    
    #main-navigation > li.menu-item-20 {
    margin-left: 10px; /* Remove margin for "Submissions" */
    
    }

}


@media (max-width: 480px) {


    .navbar-header {
        width: -webkit-fill-available;
    }

    #nav-menu {
        position: absolute;
        top: 100px;
        width: 100%;
        background-color: rgb(255, 255, 255);
        z-index: 999;
    }

    .navbar-brand-logo img {
        width: 120px;
    }

    .hero-section {
        flex-direction: column;
    }

    .homepage-image-section{
        padding: 40px;
        text-align: center;
        width: 100%;
    }

    .hero-title{
        font-size: 32px;
        line-height: 32px;
    }


    #myCarousel {
        width: auto;
    }

    #item-heading a{
        font-size: 32px;
    }

    #item-content{
        padding: 0 50px;
    }

    .current_issue {
        margin-top: 250px;
    }

    .article-publication-header h1 {
        font-size: 14px;
        text-align: left;
    }

    .rectangles{
        display: none;
    }

    .boxissues {
        flex-direction: column;
    }

    .sections{
        padding: 0;
    }

    .issue-toc{
        padding: 10px;
    }

    .page-heading h2, .editors-sec-container h2{
        padding-left: 20px;
        font-size:3rem ;
        padding: 20px;
    }

    .page-header small{
        padding-left: 10px;
    }

    .article-image {
        max-width: 100vw;
    }
    

    .row1 {
        width: 100%;
    }

    .issue-heading {
        font-size: min(max(1.125rem, 3vw), 1.25rem);
    }

   
    .manifesto-section {
        padding: 20px;
    }

    .normal{
        font-size: 14px;
    }

    .manifesto-contents{
        width: 100%;
    }

    .manifesto-section-container {
        width: 100%;
        padding: 0;
        background-image: none;
    }

    .metrics-container h1,
    .article-header {
        /* text-align: center; */
        font-size: 4rem;
    }

    .metric-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .metrics {
        font-size: 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 2rem;
    }

    .editors-sec-container{
        padding: 20px 0;
    }

    .editors-section-content{
        flex-direction: column;
        padding: 10px;
        gap: 10px;
    }

    /* .page-header small{
        padding-left: 50px;
    } */

    .social-icons img{
        width: 20px;
    }
}