
a {
  display: inline;
  margin: 0;
  padding: 0;
}* 
{
    box-sizing: border-box;
  }

  body {
    /*margin: 20px;*/
    font-family: 'Open Sans', sans-serif, Arial;
    
  }
  
  
/* For sidebar setting*/  
  .container {
  display: flex;
  justify-content: space-between; /* Space between content and sidebar */
  padding: 5px;
}

/* Main content takes up more space */
.main-content {
  flex: 3; /* Take up 3 parts of the available width */
  margin-left: 5px;
}

/* Right sidebar */
.right-sidebar {
  flex: 1; /* Take up 1 part of the available width */
  background-color: #f1f1f1;
  padding: 5px;
  margin-left: 5px;
  border-radius: 5px;
}

.right-sidebar ul {
  list-style: none;
  padding: 0;
}

.right-sidebar ul li {
  margin-bottom: 10px;
}

.right-sidebar ul li a {
  text-decoration: none;
  color: #3498db;
  font-weight: bold;
}

.right-sidebar ul li a:hover {
  color: #1abc9c;
}

/* Make the sidebar responsive */
@media screen and (max-width: 1024px) {
  .container {
    flex-direction: column; /* Stack content and sidebar vertically */
  }

  .right-sidebar {
    margin-left: 0;
    margin-top: 20px;
  }
}

/* Sidebar setting ends herer*/


header {
  height: 200px; /* Set the desired height */
  line-height: 50px; /* Adjust vertical alignment for content */
}


/* Base styles for mobile-first design */
.row.content {
    margin-left: 5px;
    margin-right: 5px;
    font-size: 16px; /* Adjust the base font size for mobile */
}

/* Styles for tablets and medium screens */
@media screen and (min-width: 768px) {
    .row.content {
        margin-left: 5px;
        margin-right: 5px;
        font-size: 18px; /* Increase the font size for larger screens */
    }
}





/* Styles for desktops and large screens 
@media screen and (min-width: 1024px) {
    .row.content {
        margin-left: 50px;
        margin-right: 150px;
    }
}
*/

  .topnav .search-container input[type=text] {
    width: 100%; /* Set the width of the search input to be 100% */
    padding: 6px;
    margin-top: 8px;
    margin-right: 16px;
    font-size: 17px;
    border: 1px solid #ccc;
  }

  .topnav .search-container button {
    float: right;
    padding: 6px 10px;
    margin-top: 8px;
    margin-right: 16px;
    background: #ddd;
    font-size: 17px;
    border: none;
    cursor: pointer;
  }

  .topnav .search-container button:hover {
    background: #ccc;
  }

  
    .topnav a,
    .topnav input[type=text],
    .topnav .search-container button {
      float: none;
      display: block;
      text-align: left;
      width: 100%;
      margin: 0;
      padding: 14px;
    }

    .topnav input[type=text] {
      border: 1px solid #ccc;
    }
  }

  /* Set height of the grid so .sidenav can be 100% (adjust as needed) */
  .row.content {
    height: 550px;
  }




  /* Set gray background color and 100% height */
  .sidenav {
    background-color: #f1f1f1;
    height: 100%;
  }

 
  .navbar-inverse {
    background-color: #ffffff; /* New background color for the dashboard section */
    border-color: #134F5C; /* Border color of the navbar */
  }

  .navbar-inverse .navbar-nav > li > a {
    color: #134F5C; /* Set text color to white */
    font-size: 16px;
  }

  .navbar-inverse .navbar-nav > li.active > a {
    background-color: #134F5C; /* Highlight the active section with a different color */
    color: white;
  }
  
  /* Change icon bar (hamburger menu) color */
.navbar-inverse .navbar-toggle .icon-bar {
    background-color: green; /* Green */
}

/* Change "ELY ZARK RESEARCH" text color */
.navbar-brand span {
    color: green !important;
    font-weight: bold;
    Font-family: Lato;
    font-weight: bold;}
  
  /* Container for each search result */
.search-result {
  border: 1px solid #ddd; /* Light border around each result */
  padding: 15px; /* Space inside the container */
  margin-bottom: 10px; /* Space between each result */
  border-radius: 5px; /* Rounded corners */
  background-color: #f9f9f9; /* Light background for better readability */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Slight shadow for depth */
}

/* Styling the title */
.search-result h3 {
  margin: 0;
  font-size: 20px;
  color: #1abc9c; /* Highlight color for titles */
}

/* Styling the description text */
.search-result p {
  margin: 5px 0 0 0;
  color: #555; /* Dark gray text for the description */
  font-size: 16px;
}  
  
  .navbar-brand span {
    font-family: Lato, sans-serif; /* Replace 'YourFontFamily' with the desired font */
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
}

.navbar-inverse .navbar-nav > li > a {
    font-family: Lato, sans-serif; /* Replace 'YourFontFamily' with the desired font */
    font-size: 16px;
    color: white;
}

  
.footer {
  background-color: #2c3e50;  /* Dark blue-gray color */
  color: #ecf0f1;  /* Light gray for text */
  padding: 30px 0;
  text-align: center;
}

.footer-title h2 {
  font-size: 2em;  /* Larger font size for the main title */
  font-weight: 700;
  text-transform: uppercase;  /* Make text uppercase */
  letter-spacing: 3px;
  color: tomato;  /* Orange color for emphasis */
  margin-bottom: 15px;
  border-bottom: 3px solid #3498db;  /* Thick blue border underneath */
  display: inline-block;
  padding-bottom: 10px;
}

.footer-title .subtitle {
  font-size: 0.8em;  /* Smaller size for subtitle */
  font-weight: 500;  /* Slightly less bold for contrast */
  text-transform: capitalize;  /* Only the first letters are capitalized */
  color: #ecf0f1;  /* Lighter color to differentiate */
  font-style: italic;
  padding: 15px;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: #e9967a;  /* Link color */
  margin: 0 15px;
  text-decoration: none;
 /* font-weight: bold;*/
}

.footer-links a:hover {
  color: #3498db;  /* Light blue on hover */
}

.footer-social {
  margin: 15px 0;
}

.footer-social a {
  color: #ecf0f1;  /* Light gray for icons */
  margin: 0 10px;
  font-size: 1.5em;
  text-decoration: none;
}

.footer-social a:hover {
  color: #3498db;  /* Light blue on hover */
}

.footer-info {
  margin-top: 15px;
  font-size: 0.9em;
}


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

@media screen and (min-width: 768px) {
    .responsive-img {
        max-width: 60%;  /* Adjust image size for tablets */
    }
}

@media screen and (min-width: 1024px) {
    .responsive-img {
        max-width: 40%;  /* Adjust image size for desktops */
    }
}

.rect-box {
  padding: 20px;
  background-color: white; /* Background for the text area */
  border-left: 5px solid #FF8C00; /* Color the left side (dark orange) */
  border-right: 5px solid #FF8C00; /* Color the right side (dark orange) */
  border-radius: 10px; /* A little border radius */
  margin: 10px;
}

.message-success {
  color: green;
  font-weight: bold;
  font-size: 3.5em;
  margin-bottom: 1em;
}

.message-error {
  color: red;
  font-weight: bold;
  font-size: 3.5em;
  margin-bottom: 1em;
}