.article-bubble.read {
    opacity: 0.7;
}
#jlist img
{
  height: 90px;
  width: 728px;
  border: 0;

}
#favoritesBubble {
height: 165px;
width: 165px;

}
 #warning {
 color: red;
}

.news-header {
    text-align: center; /* Center align the text */
    margin-top: 20px; /* Add some space above the NEWS section */
    margin-bottom: 40px; /* Add some space below the NEWS section */
    //background-color: rgb(244, 244, 244, 0.9);
    background-color: rgb(0,51,103,0.9);

}

.news-header h2 {
    font-size: 2em; /* Large text for the heading */
    //color: #333; /* Adjust the color as per your design */
    font-weight: bold;
    color: white;
}

.news-header h3 {
    font-size: 1.5em; /* Large text for the heading */
    //color: #333; /* Adjust the color as per your design */
    //font-weight: bold;
    color: white;
}


.hub-section {
    padding: 20px;
    //background-color: rgb(244, 244, 244, 0.9);
    background-color: rgb(0,51,103,0.9);
    //background-color: rgb(40,51,152,0.9);
    text-align: center;
    margin-bottom: 200px;
    color: white;

}

.ad-section {

    padding: 20px;
    //background-color: rgb(244, 244, 244, 0.9);
    background-color: rgb(0,51,103,0.9);
    //background-color: rgb(40,51,152,0.9);
    text-align: center;
    margin-top: -200px;
    color: white;

}

.blog-section {
    padding: 20px;
    //background-color: rgb(244, 244, 244, 0.9);
    background-color: rgb(0,51,103,0.9);
    //background-color: rgb(40,51,152,0.9);
    text-align: center;
    margin-bottom: 20px;
    color: white;

}

.blog-section h5 {
margin-top: 0px;
//text-decoration: underline;
border-bottom: 1px solid #ddd;
}

.hub-section h2 {
    margin-bottom: 10px;
    //color: #333;
    border-bottom: 1px solid #ddd;
}

.hub-section p {
    margin-bottom: 20px;
    //color: #666;
}

.hub-items {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.hub-item {
    padding: 10px 15px;
    background-color: #007bff; /* Example button color */
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.hub-item:hover {
    background-color: #0056b3; /* Darker shade for hover effect */
}



#importModal h2{
    padding: 20px; /* Adjust the padding value as needed */
}

#importModal {
    overflow: hidden;

}
#rssfeedlable {text-align: center;}

/* Expanded Article and Feed Edit Styles */
.feed-edit-container {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    max-width: 80%;
    max-height: 80%;
    overflow-y: auto;
    margin: 0 auto;
    //margin-bottom: 100px;
    margin-top: -150px;
}

/* Feedback Container Styles */
.feedback-container {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    max-width: 80%;
    max-height: 80%;
    overflow-y: auto;
    margin: 0 auto;
    //margin-bottom: 100px;
    margin-top: -150px;
    text-align: center;
}

.feedback-container h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
    color: #333;
}

.feedback-container p {
    color: #666;
    line-height: 1.4;
    display: inline-block;
    margin-right: 10px;
}


/* Copy Button Styles */
#copyButton {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #5cb85c;
    color: white;
    cursor: pointer;
}

#copyButton:hover {
    background-color: #4cae4c;
}

/* Consistent Input and Button Styles */
.feed-edit-container input[type="text"], .expanded-article input[type="text"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.feed-edit-container button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #5cb85c;
    color: white;
    cursor: pointer;
}

.feed-edit-container button:hover, .expanded-article button:hover {
    background-color: #4cae4c;
}

/* Typography Consistency */
.feed-edit-container h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
    color: #333;
}

.feed-edit-container p {
    color: #666;
    line-height: 1.4;
}

/* Layout and Spacing */
.feed-edit-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-height: 500px; /* Adjust as needed */
    overflow-y: auto;
    max-width: 60%;
    overflow-x: hidden;
}

/* Add styles for the feed icon */
.feed-icon {
    height: 120px;
    width: auto;
    vertical-align: middle;
    zoom: 90%;

}

.nav-icon {
    height: 120px;
    width: auto;
    vertical-align: middle;
    zoom: 90%;
}

/* Reset some basic elements */
body, h1, h2, h3, p, ul, li, a, button, input, label {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
    //zoom: 80%;


}

body {
    //background-color: rgb(217, 217, 217);
    z-index: 5;
    //background-image: url('images/bg2.jpg');
    background-size: 100%;

    /* Other existing styles... */
}


.no-scroll {
    overflow: hidden;
    height: 100%;
}

/* Navigation Menu Styles */
.navbar {
    color: white;
    padding: 10px 0;
    text-align: center;
    border-top: 2px solid #ddd;

}

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

.nav-item {
    position: relative;
    margin-right: 20px;

}

.nav-item:last-child {
    margin-right: 0;
}

.nav-link .na-link{
    color: white;
    padding: 10px 15px;
    display: block;
}

.dropdown {
    display: none;
    position: absolute;
    background-color: #333;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    left: 20%;
    right: 20%;
}

.dropdown li {
    padding-left: 10px;
    padding-right: 10px;
}

.dropdown li a, .dropdown li button {
    color: white;
    padding: 10px 10px;
    display: block;
    background: none;
    border: none;
}

.nav-item:hover .dropdown,
.nav-item .dropdown.show-dropdown {
    display: block;
}

/* Container Styles */
.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}

/* Input and Button Styles */
#textInput {
    width: calc(100% - 120px);
    padding: 10px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#saveButton, #sendButton {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #5cb85c;
    color: white;
    cursor: pointer;
}

#saveButton:hover, #sendButton:hover, #saveButton:focus, #sendButton:focus {
    background-color: #4cae4c;
}

/* URL List Container Styles */
#urlListContainer div {
    margin-bottom: 10px;
}

#urlListContainer label {
    margin-left: 5px;
}

/* Articles Container Styles */
#articlesContainer {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    z-index: 0;
    gap: 5%;
    row-gap: 100px;
    zoom: 90%;
}

/* Article Bubble Styles */
.article-bubble {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-size: 100% 100%;
    cursor: pointer;
    position: relative;
}

.article-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
    transition: transform 0.3s ease;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    border: 5px solid white;
}

/* Text Box for Article Title */
.article-title-box {
    position: absolute;
    bottom: -15%;
    left: 0;
    right: 0;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    //color: #333;
    //color: red;
    color: blue;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    //display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid rgba(221, 221, 221, 0.7);
    z-index: 2;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    //line-height: 1.0em; /* Adjust line height as needed */
    //max-height: 3.0em;
    //height: calc(3.4em + 20px);
    //box-sizing: border-box;

}




/* Expanded Article Styles */
.expanded-article {
    text-align: center;
    padding: 10px;
    padding-bottom: 0px;
    background-color: white;
    zoom: 90%;

}

.expanded-article h3 {
    //margin-top: -10px;
    margin-bottom: 10px;
    padding: 5px;

    border: 2px solid #000000;
    background-color: rgba(211, 221, 245, 0.9);
    border-radius: 5px;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.25);
    width: 100%;

}

.expanded-article p {
    margin-bottom: 20px;
    border: 2px solid #000000;
    background-color: rgb(245,245,211);
    margin-top: 20px;
    border-radius: 5px;
    max-height: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.0em;
    white-space: wrap;
    padding: 5px;


}

.expanded-article img {
    max-width: 100%;
    height: 400px;;
    width: 80%;
    display: block;
    margin-top: 10px;
    margin: 0 auto;
    border: 2px solid #000000;
    //margin-bottom: 20px;
    border-radius: 5px;
}


.expanded-article a {
    padding: 5px;
    border: 2px solid #000000;
    background-color: rgb(101, 235, 95);
    border-radius: 5px;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.25);
    //margin-top: 10px;

}

.expanded-article-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(217, 217, 217, 0.9);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 11; /* Above other content */
}

.expanded-article-container {
    background-color: white;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    max-width: 80%;
    max-height: 80%;
    overflow-y: auto; /* Enable scrolling for long articles */
    border: 2px solid #000000;
    width:100%;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    //overflow: auto;
    background-color: rgb(217, 217, 217, 0.9);

}

.modal-content {
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    text-align: center;
    background-color: white;
    border-radius: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


@media screen and (max-width: 767px) {
    body, .container, .hub-section, .news-header, .feed-edit-container, .feedback-container {
        /* Adjust styles for mobile phones */
        padding: 5px;
        text-align: center;
        overflow-x: hidden;
    }
    #jlist img
    {
      height: 90px;
      width: 364px;
      border: 0;
      overflow-x: hidden;

    }
    .hub-items, .feed-edit-container, .feedback-container {
        flex-direction: column;
    }
kpp
    .nav-list {
        flex-direction: column;
    }

    .hub-item, .feed-edit-container button {
        width: 100%;
        margin-bottom: 10px; /* Space between elements */
    }


    .article-title-box {
        font-size: 1.2em; /* larger titl
*/

        //line-height: 1.2em
        //padding-bottom: 15px;
}


.nav-icon, .feed-icon {
    height: 90px;
    width: auto;
}



.expanded-article img{height: 200px;}

.expanded-article p {
        font-size: 1.1em;
}

/* Additional mobile-specific styles */
}



/* Media Query for Larger Screens */
@media screen and (min-width: 1092px) {
    body {
        font-size: 18px; /* larger base font size */
        zoom:90%;
    }

    .container {
        max-width: 1200px;
        zoom:80%;
    }

    .article-title-box {
        font-size: 1.1rem; /* larger title */
        padding-bottom: 12px;
        max-height: 50px;
    }

    /* Add more desktop-specific styles here*/

    .expanded-article {
        zoom: 80%;

    }

    .expanded-article p {
            font-size: 1.2em;
            max-height: 108px;

    }

    .expanded-article-container {

        max-width: 60%;
        max-height: 90%;
        width:100%;
        //zoom: 90%;
    }
}
@media screen and (min-width: 1440px) {
    body {
        font-size: 18px; /* larger base font size */
        zoom:90%;
    }

    .container {
        max-width: 1200px;
        zoom:80%;
    }

    .article-title-box {
        font-size: 1.1rem; /* larger title */
        padding-bottom: 12px;
        max-height: 50px;
    }

    /* Add more desktop-specific styles here*/

    .expanded-article {
        zoom: 80%;

    }

    .expanded-article p {
            font-size: 1.2em;
            max-height: 108px;

    }

    .expanded-article-container {

        max-width: 50%;
        max-height: 100%;
        width:100%;
        //zoom: 90%;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Article Overlay Styles */
.article-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.article-details {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.close-article-bubble {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}

.close-article-bubble img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.article-date {
    font-style: italic;
    margin-top: 10px;
}

.article-controls {
    display: flex;
    //justify-content: space-between;
    //margin-bottom: 100px;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    //padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 0px;
    //margin-bottom: -10px;
}

.article-controls img {
height: 40px;
width: 40px;
border: none;
outline: none;

}

.hide-article-button, .favorite-article-button {
    cursor: pointer;
    //padding: 5px 10px;
    border: none;
    //border-radius: 5px;
    //background-color: #f0f0f0;
    /* Add more styles as needed */
}

.article-bubble.favorite img {
    border: 5px solid yellow; /* Style for favorite articles */
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 0px;
    margin-bottom: -10px;

   // margin-left: 50%;


}

.read-more-link {
    //margin-top: 100px;
    /* Additional styling */
    margin-right: 20px;
    //padding-right: 10px;

}

.favorite-article-button img {
height: 40px;
width: 40px;
border: none;
outline: none;
padding: none;
margin: none;

}

.favorite-article-button {
border: none;
outline: none;
padding: none;
margin: none;
//margin-bottom: -20px;
//margin-bottom: 50px;


}

.site-footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 40px;
    marin-bottom: 0;
    /* Remove 'position: absolute' if present */
}
//#expandedArticleContainer {
    //display: flex;
    //justify-content: center;
   // align-items: center;
  //  height: 100vh;
//}
