/* The basics for all .css codes */

@font-face {
  font-family: Arial;
}

html {
  height: auto;
  background-color: #fefefe;
  margin: 0;
  padding: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font: normal 100% Arial, Helvetica, sans-serif;
  line-height: 1.6;
  margin: 0;
  margin: 20px;
  padding: 0;
  color: #ffffff;
  background-color: #ffffff;
}

/* HTML5 elements as block */
article,
aside,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
}

/* For all paragraphs */
p {
  padding: 0 0 10px 0;
  color: #000000;
  line-height: 1.7em;
  font-size: 110%;
}

/* For all headers  */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'News Cycle', Arial, sans-serif;
  margin-bottom: 10px;
  color: #000000;
  letter-spacing: -1px;

}

h2 {
  font: bold 165% 'News Cycle', Arial, sans-serif;
}

h3 {
  font: bold 130% 'News Cycle', Arial, sans-serif;
}

h4 {
  margin: 0;
  padding: 0;
  font: normal 150% 'News Cycle', Arial, sans-serif;
  color: #000000;
  line-height: 1.5em;
  list-style-type: square;
}

h5,
h6 {
  margin: 0;
  padding: 0;
  font: normal 150% 'News Cycle', Arial, sans-serif;
  color: #000000;
  line-height: 1.5em;
}

h5,
h6 {
  font: normal 95% 'News Cycle', Arial, sans-serif;
  color: #888;
  padding-bottom: 15px;
}


a,
a:hover {
  color: #FFF;
  background: transparent;
  outline: none;
  text-decoration: underline;
}

/* ul is unordered lists and ol is ordered lists */

ul {
  margin: 2px 0 22px 30px;
  line-height: 1.7em;
  font-style: normal;
  font-size: 110%;
  list-style-type: square;
  /* Changes the bullet to squares */
  margin-left: 20px;
  /* Adds a left margin for better indentation */
}

ul li {
  font-size: 20px;
  /* Adjust the font size of list items */
  color: #000000;
  /* Change the color of the list items */
}

ol {
  margin: 8px 0 22px 20px;
}

ol li {
  margin: 0 0 11px 0;
}

/* For all parts of the html website */
#main,
header,
#banner,
#menubar,
#site_content,
footer,
#content_grey,
nav {
  margin-left: auto;
  margin-right: auto;
}

main {
  max-width: 1600px;
  /* Set a fixed width for larger screens */
  margin: 0 auto;
  /* Center the content */
  background-color: #ffffff;
  /* Add background color for blank space */
  padding: 0 20px;
  /* Optional padding for side space */
  background: #ffffff;
}

header {
  text-align: center;
  background-color: white;

}

/* For the banner at the top of the webpage */
.banner-container {
  width: auto;
  /* Full page width */
  display: flex;

  justify-content: center;
  background-color: #ffffff;
  border: 2px solid #0077c3;
  height: 450px;
  /* Set a fixed height for the banner container */
}

.banner-img {
  width: 100%;
  /* Change the width to make the banner smaller */
  height: auto;
  /* Ensure it scales proportionally */
}

#banner {
  text-align: center;
  background-color: rgb(255, 255, 255)
}

/* Close banner CSS */



/* Navigation Bar underneath banner */
.navbar {
  overflow: hidden;
  background-color: #0077c3;
  display: flex;

  flex-wrap: wrap;
  justify-content: space-around;
  padding: 4px 4px;
}

/* Links inside the navbar */
.navbar a {
  float: left;
  font-size: 16px;
  font: bold 120% Arial, Helvetica, sans-serif;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 16px;
  font: bold 120% Arial, Helvetica, sans-serif;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  /* Important for vertical align on mobile phones */
  margin: 0;
  /* Important for vertical align on mobile phones */
}

/* Add a red background color to navbar links on hover */
.navbar a:hover,
.dropdown:hover .dropbtn {
  background-color: #035e97;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Highlight the current page link */
/* Style for regular active links */
.navbar a.active {
  background-color: #035e97;
  /* Slightly darker shade for current page */
  color: white;
  /* Ensure text remains visible */
}

/* Style for active dropdown buttons */
.dropdown .dropbtn.active {
  background-color: #035e97;
  /* Slightly darker shade for current page */
  color: white;
  /* Ensure text remains visible */
}

/*End of Navigation Bar CSS*/



/* Secondary Header Textbox */
.secondary-header {
  background-color: #ffffff;
  /* Light grey background */
  color: #333;
  /* Dark text color for readability */
  text-align: center;
  /* Center the text */
  margin: 0 auto;
  /* Center the textbox horizontally */
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 25px;
  padding-right: 25px;




}

.secondary-header h1 {
  font: bold 300% 'News Cycle', Arial, sans-serif;
  margin: 0;
  /* Remove default margins */
}




#welcome {
  width: 880px;
  float: left;
  height: 100px;
  margin: 0 auto;
  text-align: center;
  padding: 0;
  background: transparent;
}

#welcome h2 {
  font: normal 500% 'News Cycle', Arial, sans-serif;
  letter-spacing: -2px;
  /*text-shadow: 1px 1px #000;*/
  color: #000000;
}

#site_content {
  display: flex;
  justify-content: flex-start;
  padding-top: 5px;
  flex-direction: row-reverse;
  /*width: 100%;
  overflow: hidden;
  margin-top: 20px; 
  margin-bottom: 30px; /* How big you want the footer to be  */
  background-color: #ffffff;
  border-radius: 0 0 0 0;
  min-height: 100vh;
  /* Ensure the content area takes full height */
  max-height: 100%;
  max-width: 1600px;
  flex-grow: 1;
}

#content {
  flex: 1 1 70%;
  /* Content takes up 70% width of the container */
  padding-right: 20px;
  /* Adds some space between the content and sidebar */
}


#site_content_instruments {
  width: 940px;
  overflow: hidden;
  margin: 15px 0;
  background: #ffffff;
  border-radius: 0 0 7px 7px;
}

#content_instruments {
  width: 940px;
  margin: 0;
  float: left;
}

.sidebar_container {
  flex: 0 1 20%;
  /* Sidebar takes up 28% width of the container */
  min-width: 250px;
  /* Ensures the sidebar doesn't get too narrow */
  padding: 0 15px;
  border: 2px solid #007F3E;
  order: 3;
  background-color: #ffffff;
  margin-bottom: 10px;

  margin-left: 20px;
  /* Adds space between the content and sidebar */
  /* Adds space between the content and sidebar */
  /*float: right;
  margin: 0px 10px 0 0;
  padding-bottom: 50px;
  min-height: 100vh;
  padding: 0;
  border: 2px solid #007F3E;
  background-color: #ffffff;
  */
}

.sidebar {

  padding-left: 10px;
  padding-right: 10px;
  background-color: #ffffffec;
  align-items: center;
}

/*float: left;
  text-align: center;
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 823px;
  background-color: #ffffffec;*/


.sidebar_item {
  width: 100%;
  /*width: 250px;8*/
}

.sidebar-divider {
  border: none;
  border-top: 2px solid #007F3E;
  /* Adjust color as needed */
  margin: 10px 10px;
}

.sidebar h2 {
  padding: 5px 0 0;
  font: bold 200% 'News Cycle', Arial, sans-serif;
  height: 30px;
  justify-content: center;
  text-align: center;
  color: #002442;

}

.sidebar h3 {
  color: #000000;
  padding: 5px 5px;
  margin-bottom: 45px;
  text-align: center;
  font: bold 180% 'News Cycle', Arial, sans-serif;
  height: 20px;
}

/* Styles for the bullet point in <h4> headers */
.sidebar_item h4 {
  position: relative;
  text-align: left;
  padding-top: 20px;
  font: bold 140%;
  font-weight: bold;
  padding-left: 18px;
  margin-top: 40spx;
  /* Adds space for the bullet */
}

.sidebar_item h4::before {
  content: "•";
  /* Adds the bullet point */
  position: absolute;
  left: 0;
  color: green;
  /* Adjust the color as desired */
  font-size: 1.6em;
  /* Adjust bullet size if needed */
}

.sidebar h5 {
  color: #006e0d;
  text-shadow: 0.5px 0.5px #0091ff;
  padding: 5px 5px;
  text-align: center;
  margin-bottom: 20px;

  font: bold 155% 'News Cycle', Arial, sans-serif;
  height: 30px;
}

.sidebar h6 {
  /* For the holidays */
  color: #0091ff;
  text-shadow: 0.5px 0.5px #00076e;
  padding: 5px 5px;
  text-align: center;
  margin-bottom: 20px;

  font: bold 155% 'News Cycle', Arial, sans-serif;
  height: 30px;
}


.sidebar li {
  padding: 5px;
  padding-top: 55px;
  margin-bottom: 5px;
}

.feature_slideshow-container {
  position: relative;
  max-width: 100%;
  margin-bottom: 1rem;
  overflow: hidden;
}

.feature_slide {
  display: none;
  position: relative;
}

.feature_slide-image {
  width: 100%;
  height: 350px;
  /* Smaller height */
  object-fit: cover;
  /* Crop to fill container */
  border-radius: 8px;
}

.feature_caption {
  position: absolute;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 0.5rem;
  width: 100%;
  font-size: 0.9rem;
  text-align: center;
}

.feature_prev,
.feature_next {
  position: absolute;
  top: 50%;
  font-size: 2rem;
  padding: 0 0.5rem;
  color: white;
  cursor: pointer;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  transform: translateY(-50%);
}

.feature_prev {
  left: 10px;
}

.feature_next {
  right: 10px;
}



.content_item h1 {
  padding: 5px 5px 5px 5px;
  padding-bottom: 25px;
  font: bold 250% 'News Cycle', Arial, sans-serif;
  height: 30px;
  /* text-shadow: 1px 1px #000;*/
  color: #000000;
  text-align: center;
}

#content {
  width: 78%;
  /* Adjusted to give space for the sidebar */
  margin: 0 0 20px 20px;
  height: auto;
  float: left;
}

.content_container p {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 20px;

  /*
  padding: 5px  5px 5px 5px;
  padding-bottom: 15px;
  font: bold 175% 'News Cycle', Arial, sans-serif;
  height: 30px;
 */
}

footer {
  width: 100%;
  margin-top: 200px;
  max-width: 1600px;
  background: #007F3E;
  /* Dark green background */
  color: white;
  text-align: center;
  padding: 10px 0;
  position: relative;
  bottom: 0;
}

.footer-container {
  max-width: 1600px;
  /* Controls width */
  margin: 0 auto;
  /* Center-aligns the footer */
  margin-bottom: 0;

}

.footer-links {
  margin-bottom: 10px;
  /* Space between links and copyright */
}

.footer-links a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  font-size: 20px;
}

.footer-links a:hover {
  text-decoration: underline;
  /* Hover effect */
}

footer p {
  font-size: 18px;
  margin-top: 10px;
}


.button_small a {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  color: #FFF;
  justify-content: center;
  align-items: center;
  background-color: #007F3E;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.button_small a:hover {
  background-color: #005F2E;
  /* Darker green on hover */
}


.tabs-container {
  display: flex;
  flex-direction: column;
  width: 50%;
  /* Adjust width of tabs container */
  background-color: #f4f4f4;
  padding: 10px;
  border: 1px solid #ddd;
  /* Add border around the tab container */
}

.tab {
  position: relative;
  margin-bottom: 10px;
  cursor: pointer;
}

.tab h3 {
  margin: 0;
  padding: 10px;
  background-color: #eaeaea;
  border: 1px solid #ccc;
}

.tab-content {
  display: none;
  /* Hide content initially */
  padding: 10px;
  background-color: #fafafa;
  border-top: 1px solid #ccc;
}

.tab:hover .tab-content {
  display: block;
  /* Show content when hovering over the tab */
}

/* Featured Content */

.main-content {
  flex: 1;
  display: flex;
  /* Align items in a row */
  height: 100vh;
  margin: 0;
  gap: 20px;
  flex-direction: row;
  justify-content: space-between;
}

/* For the Featured Box */
/* Right Section (Icons + Additional Content) */
.right-section {

  order: 2;
  max-width: 50%;
  /* Prevent it from growing too wide */
  margin-top: 50px;
}


.feature-wrapper {
  flex: 0 1 20%;
  /* Sidebar takes up 28% width of the container */
  /* Takes 2/3 of available space */
  padding-right: 15px;
  /* Add space between content and sidebar */
  display: flex;
  flex-direction: column;


}

.feature-content-wrapper {
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
  max-width: 600px;
  /* Ensures it doesn't exceed 60% of the width */
}


.feature_title {
  margin-bottom: 8px;
  /* Space between the title and container */
  max-width: 650px;
  margin-top: 25px;
}

.feature_date {
  font-size: 14px;
  /* Set an appropriate font size */
  color: #555;
  /* Set the text color to grey */
  font-style: italic;
  /* Optional: Italicize the text for distinction */
  display: block;
  /* Ensure it appears on a new line */
  margin: 5px 0;
  /* Add some space around the date */
}

.feature_container {
  display: flex;
  order: 1;
  flex: 0 10 100%;
  /* Sidebar takes up 28% width of the container */
  flex-direction: column;
  max-width: 650px;
  max-height: 180%;
  border: 2px solid green;
  /* Green border only around the content */

}

.feature_image {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  /* Space below the image */
}

.feature_content {
  padding: 10px;
}

.feature_content h2 {

  font: bold 160% 'News Cycle', Arial, sans-serif;
  text-align: center;
}

.feature_content a {
  color: #000096;
  /* Add color to the link */
  text-decoration: none;
  text-align: center;
  display: inline-block;
  margin-right: 15px;
  /* Space between links */
  margin-bottom: 10px;
  /* Space below each link */
}


.feature_content p {
  padding-top: 5px;
  font-size: 100%;
}


.feature_content a:hover {
  text-decoration: underline;
}

.read_more:hover {
  color: #007F3E;
  /* Green on hover */
}


/* Icon container styling */
.icon-container {
  display: flex;
  /* Flexbox for a horizontal row */
  justify-content: center;
  /* Center icons horizontally */
  align-items: flex-start;
  /* Align icons at the top */
  gap: 50px;
  /* Space between icons */
  margin-top: 10px;
  /* Adjust to move the entire container up or down */
  width: 100%;
  /* Ensure it takes full width in the right section */
}

/* Individual icon and text container */
.icon-box {
  text-align: center;
  /* Center the icon and text */
}

/* Style for icons */
.icon-link {
  color: #0077c3;
  /* Default icon color */
  font-size: 48px;
  /* Icon size */
  text-decoration: none;
  /* Remove underline on link */
  transition: transform 0.2s, color 0.2s;
  /* Smooth hover effect */
}

/* Hover effect for icons */
.icon-link:hover {
  color: #035e97;
  /* Change color on hover */
  transform: scale(1.2);
  /* Slightly enlarge on hover */
}

/* Style for labels under the icons */
.icon-label {
  display: block;
  /* Force text to appear on a new line */
  font-size: 14px;
  /* Label font size */
  color: #333;
  /* Label color */
  margin-top: 8px;
  /* Space between the icon and label */
  font-weight: bold;
  /* Make the text bold */
}

/* Slideshow container */
.slideshow-container {
  position: relative;
  max-width: 600px;
  margin: auto;
  overflow: hidden;
  margin-top: 50px;
}

/* Each slide */
.slide {
  display: none;
  position: relative;
  text-align: center;
}

/* Slide image */
.slide-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  /* Ensures the image maintains aspect ratio and fills the box */
}

/* Caption */
.caption {
  position: absolute;
  bottom: 2px;
  /* Position at the bottom of the slide */
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
  font-size: 18px;
  /* Adjust size as needed */
  padding: 5px;
  background: rgba(0, 0, 0, 0.5);
  /* Semi-transparent background */
  box-sizing: border-box;
}

/* Navigation buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
}

/* Position of navigation buttons */
.prev {
  left: 10px;
}

.next {
  right: 10px;
}



/* Container for slideshow and text box */
.content-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin: 20px;
}

/* Slideshow */
.slideshow {
  width: 80%;
  /* Adjust based on your preference */
  margin-bottom: 20px;
  border: 2px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
}

/* Slide image styles */
.slide-image {
  width: 100%;
  height: 400px;
  /* Keep consistent with earlier settings */
  object-fit: cover;
}


/* Opportunitews Box */
.opps-box {
  width: 100%;
  background-color: #f4f4f4;
  border: 1px solid #005F2E;
  border-radius: 0;
  margin-bottom: 40px;
  text-align: center;
  margin-top: 20px;
  /* Space between the slideshow and opportunitews */
}

.opps-box a {
  color: #006400;
  /* Add color to the link */
  text-decoration: none;
}

.opps-box a:hover {
  text-decoration: underline;
}

.opps-box ul {
  list-style: none;
  /* Removes bullets */
  padding: 0;
  /* Removes padding from the list */
  margin: 0;
  /* Removes margin from the list */
}

.opps-box ul li {
  margin: 10px 0;
  /* Adds space between list items */
}

.opps-box ul li a {
  text-decoration: none;
  /* Removes underline from links */
  color: #005F2E;
  /* Sets the text color */
}

.opps-box ul li a:hover {
  text-decoration: underline;
  /* Adds underline on hover */
}

/* ABOUT TAB  */
/* Media Query for screens larger than 1200px */
/* Media Query for screens larger than 1200px */
@media screen and (min-width: 1600px) {
  body {
    background-color: #f0f0f0;
    /* Example: Change background color */
  }

  #main {
    max-width: 1600px;
    /* Ensure the content doesn’t exceed 1200px */
    margin: 0 auto;
  }

  .navbar {
    padding: 5px;
    /* Increase padding in the navbar */
  }

  .content-container {
    flex-direction: row;
    /* Adjust content layout to a row for larger screens */
    gap: 30px;
    /* Add more space between items */
  }

  .sidebar_container {
    flex: 0 1 15%;
    /* Sidebar takes up 25% width on larger screens */
  }

  .main-content {
    flex-direction: row;
    /* Display items in a row */
  }

  .feature-wrapper {
    flex: 2;
    max-width: 80%;
    /* Allow more space for content */
  }

  .feature-content-wrapper {
    max-width: 70%;
    /* Adjust width for feature content */
    max-height: 100%;
  }

  .right-section {
    flex: 1;
    max-width: 50%;
    /* Make the right section smaller */
  }

  .icon-container {
    gap: 30px;
    /* Add more space between icons */
  }

  .footer-container {
    max-width: 1600px;
    /* Center the footer */
    margin: 0 auto;
  }

  .content {
    max-height: auto;
  }
}

@media (max-width: 768px) {
  body {
    background-color: #f0f0f0;
    /* Example: Change background color */
  }

  #main {
    max-width: 768px;
    /* Ensure the content doesn’t exceed 1200px */
    margin: 0 auto;
  }

  .navbar {
    padding: 5px;
    /* Increase padding in the navbar */
  }

  .sidebar_container,
  .feature_container {
    min-height: auto;
    height: auto;
  }



  .content-container {
    flex-direction: row;
    /* Adjust content layout to a row for larger screens */
    gap: 30px;
    /* Add more space between items */
  }


  .main-content {
    flex-direction: row;
    /* Display items in a row */
  }


  .feature-content-wrapper {
    max-width: 70%;
    /* Adjust width for feature content */
  }

  .right-section {
    flex: 1;
    max-width: 50%;
    /* Make the right section smaller */
  }

  .icon-container {
    gap: 30px;
    /* Add more space between icons */
  }

  .footer-container {
    max-width: 768px;
    /* Center the footer */
    margin: 0 auto;
  }

  .content {
    max-height: auto;
  }

  .site_content {
    max-height: auto;
  }

}